*{box-sizing:border-box} :root{--pink:#ff6b8b;--pink-dark:#f43f5e;--pink-soft:#fff0f3;--blush:#fff5f7;--card:#fff;--ink:#0f172a;--muted:#94a3b8;--line:#f4dce2;--green:#10b981;--green-soft:#e9fbf3;--orange:#f59e0b;--orange-soft:#fff7df;--shadow:0 18px 45px rgba(201,101,123,.12);font-family:'Kanit',sans-serif;color:var(--ink);font-synthesis:none} body{margin:0;background:var(--blush);color:var(--ink);min-width:320px}button,input,select{font:inherit}button{cursor:pointer;border:0}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(255,107,139,.22);outline-offset:2px}.app-shell{min-height:100vh;background:radial-gradient(circle at 92% 0%,rgba(255,205,215,.42),transparent 28rem),var(--blush)}
.topbar{height:76px;border-bottom:1px solid rgba(244,220,226,.85);background:rgba(255,255,255,.82);backdrop-filter:blur(18px);display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1240px)/2));position:sticky;top:0;z-index:20}.topbar-brand,.topbar-actions,.profile-switcher,.topbar-brand>div{display:flex;align-items:center}.topbar-brand{gap:12px}.topbar-brand>div:last-child{display:grid;line-height:1.1}.topbar-brand strong{font-size:19px;letter-spacing:-.02em}.topbar-brand span{font-size:11px;color:var(--muted);margin-top:4px}.brand-mark{width:38px;height:38px;border-radius:14px;display:grid;place-items:center;background:var(--pink);color:#fff;box-shadow:0 8px 18px rgba(255,107,139,.27);font-size:21px;transform:rotate(-5deg)}.brand-mark.large{width:62px;height:62px;border-radius:22px;font-size:34px;margin-bottom:27px}.topbar-actions{gap:16px}.profile-switcher{gap:8px;background:transparent;color:var(--ink);font-size:14px;padding:6px 9px;border-radius:12px}.profile-switcher:hover{background:var(--pink-soft)}.mini-avatar,.avatar{display:grid;place-items:center;border-radius:50%;font-weight:600}.mini-avatar{width:30px;height:30px;color:#fff;background:linear-gradient(145deg,#ff94a9,#f43f5e);font-size:14px}.switch-chevron{font-size:18px;color:var(--muted);margin-left:3px}.topbar-divider{height:24px;width:1px;background:var(--line)}.logout-button{background:none;color:#64748b;font-size:13px;padding:8px 0}.logout-button:hover{color:var(--pink-dark)}.logout-button span{font-size:18px;vertical-align:-1px;margin-right:4px}
.app-main{width:min(1240px,calc(100% - 64px));margin:0 auto;padding:56px 0 72px}.welcome-row{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}.eyebrow,.summary-kicker,.aside-kicker{font-size:11px;letter-spacing:.16em;color:var(--pink-dark);font-weight:600;margin:0 0 9px}.welcome-row h1,.profile-intro h1{font-size:42px;letter-spacing:-.045em;line-height:1.08;margin:0;font-weight:500}.welcome-row h1 em,.profile-intro h1 em{font-style:normal;color:var(--pink-dark)}.welcome-copy{margin:12px 0 0;color:#64748b;font-weight:300}.date-stamp{display:flex;align-items:center;gap:10px;padding:10px 15px;border:1px solid var(--line);background:rgba(255,255,255,.7);border-radius:15px}.date-icon{width:31px;height:31px;border-radius:11px;display:grid;place-items:center;background:var(--pink-soft);color:var(--pink-dark);font-size:20px}.date-stamp div{display:grid;line-height:1.1}.date-stamp small{font-size:11px;color:var(--muted)}.date-stamp strong{font-size:13px;margin-top:4px;font-weight:500}
.action-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-bottom:24px}.action-tile{min-height:82px;display:flex;align-items:center;text-align:left;gap:12px;padding:16px 18px;border-radius:18px;background:#fff;border:1px solid transparent;box-shadow:0 9px 24px rgba(166,86,105,.06);transition:.2s ease}.action-tile:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.action-tile.active{border-color:var(--pink);background:var(--pink-soft)}.tile-icon{width:41px;height:41px;border-radius:13px;display:grid;place-items:center;font-size:21px;font-weight:500}.budget-tile .tile-icon{color:var(--pink-dark);background:#ffe8ed}.receipt-tile .tile-icon{color:#7950a8;background:#f2ebff}.history-tile .tile-icon{color:#128c68;background:#e4faf2}.action-tile>span:nth-child(2){display:grid;gap:2px;line-height:1.15}.action-tile small{font-size:11px;color:var(--muted)}.action-tile strong{font-size:15px;font-weight:500}.tile-arrow{font-size:20px;color:var(--muted);margin-left:auto}.dashboard-summary{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:23px 27px;border-radius:22px;background:linear-gradient(105deg,#fff 0%,#fff 53%,#fff5f7 100%);border:1px solid var(--line);margin-bottom:22px;overflow:hidden;position:relative}.dashboard-summary:after{content:'';position:absolute;width:180px;height:180px;border-radius:50%;background:rgba(255,107,139,.08);right:8%;top:-122px}.summary-copy{display:grid;gap:4px;position:relative;z-index:1}.summary-copy strong{font-size:18px;font-weight:500}.summary-copy>span:last-child{font-size:12px;color:var(--muted);font-weight:300}.summary-metrics{display:flex;gap:30px;position:relative;z-index:1}.metric{display:grid;gap:2px;min-width:112px}.metric-label{font-size:12px;color:#64748b}.metric strong{font-size:21px;font-weight:500;letter-spacing:-.03em}.metric small{font-size:11px;color:var(--muted)}.highlight-metric strong{color:var(--pink-dark)}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.panel-surface{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 8px 30px rgba(166,86,105,.04)}.shopping-panel{padding:20px}.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:24px}.search-wrap{height:43px;flex:1;max-width:450px;background:#fbfbfc;border:1px solid #edf0f3;border-radius:13px;display:flex;align-items:center;padding:0 12px;gap:8px}.search-icon{font-size:24px;color:var(--pink);line-height:1;transform:rotate(-15deg)}.search-wrap input{border:0;background:transparent;outline:0;min-width:0;flex:1;color:var(--ink);font-size:14px}.search-wrap input::placeholder{color:var(--muted)}.search-wrap kbd{font-family:inherit;color:#b1b7c1;background:#fff;border:1px solid #e8ebef;border-radius:6px;font-size:10px;padding:2px 6px}.primary-button,.secondary-button{min-height:43px;padding:0 17px;border-radius:12px;font-size:13px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s ease}.primary-button{background:var(--pink);color:#fff;box-shadow:0 8px 18px rgba(255,107,139,.2)}.primary-button:hover{background:var(--pink-dark);transform:translateY(-1px)}.secondary-button{background:#fff;color:var(--pink-dark);border:1px solid #ffc4cf}.secondary-button:hover{background:var(--pink-soft)}.add-button{white-space:nowrap}.add-button span{font-size:18px;font-weight:300}.status-section{margin-bottom:28px}.status-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.status-title-wrap{display:flex;align-items:center;gap:10px}.status-pip{width:30px;height:30px;border-radius:10px;display:grid;place-items:center;font-size:17px}.purchased-section .status-pip{background:var(--green-soft);color:var(--green)}.pending-section .status-pip{background:var(--orange-soft);color:var(--orange)}.status-title-wrap h2{font-size:17px;font-weight:500;margin:0}.status-title-wrap h2 span{font-size:12px;font-weight:400;color:var(--muted);margin-left:4px}.status-title-wrap p{font-size:11px;color:var(--muted);margin:2px 0 0;font-weight:300}.status-heading>strong{font-size:16px;font-weight:500}.purchased-section .status-heading>strong{color:var(--green)}.pending-section .status-heading>strong{color:#d58c00}.category-groups{display:grid;gap:15px}.category-group{border:1px solid #f0e9eb;border-radius:16px;padding:13px 14px 4px}.category-heading{display:flex;align-items:center;gap:7px;color:#475569;font-size:13px}.category-heading>span:first-child{font-size:16px}.category-heading strong{font-weight:500}.category-line{height:1px;background:#f1ebed;flex:1;margin-left:4px}.category-heading small{color:var(--muted);font-size:11px}.item-list{display:grid}.item-card{padding:15px 2px;border-bottom:1px solid #f5eff1}.item-list .item-card:last-child{border-bottom:0}.item-main-row{display:flex;align-items:center;gap:11px}.check-control{width:22px;height:22px;position:relative;display:block;flex:none}.check-control input{position:absolute;opacity:0;width:100%;height:100%;margin:0;z-index:2;cursor:pointer}.custom-check{width:21px;height:21px;border:1.5px solid #edc2cc;border-radius:7px;display:grid;place-items:center;color:#fff;font-size:13px;line-height:1;transition:.18s}.check-control input:checked+.custom-check{background:var(--green);border-color:var(--green);box-shadow:0 4px 9px rgba(16,185,129,.2)}.item-emoji{width:31px;height:31px;border-radius:10px;background:#fff8f8;display:grid;place-items:center;font-size:18px;flex:none}.item-title{min-width:0;flex:1}.item-title h3{font-size:14px;margin:0;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-title p{font-size:11px;color:var(--muted);margin:3px 0 0;font-weight:300}.item-title i{font-style:normal;color:#e5b7c1;margin:0 3px}.item-checked .item-title h3{text-decoration:line-through;color:#64748b}.delete-button{color:#c5a8ae;font-size:20px;opacity:.55}.delete-button:hover{color:var(--pink-dark);opacity:1}.item-edit-row{display:flex;align-items:end;gap:9px;padding:14px 0 1px 54px}.item-edit-row label{display:grid;gap:5px;font-size:10px;color:var(--muted);font-weight:300}.input-with-suffix{display:flex;height:33px;border:1px solid #ebd9de;border-radius:8px;background:#fff;align-items:center}.compact-input{border:0;background:transparent;color:var(--ink);width:65px;padding:0 8px;outline:0;font-size:13px;font-weight:500}.compact-input:focus{background:#fff8fa}.input-with-suffix em{font-style:normal;font-size:10px;color:var(--muted);padding-right:8px;white-space:nowrap}.price-input .compact-input{width:70px}.multiply{color:#d6aab5;font-size:16px;padding-bottom:7px}.item-total{margin-left:auto;text-align:right;padding-bottom:3px;display:grid;gap:2px}.item-total small{font-size:10px;color:var(--muted)}.item-total strong{font-size:16px;font-weight:500;color:var(--pink-dark);white-space:nowrap}.item-checked .item-total strong{color:var(--green)}.status-empty,.empty-list{text-align:center;padding:20px;color:var(--muted);font-size:12px;font-weight:300}.empty-list{padding:58px 24px}.empty-icon{width:45px;height:45px;border-radius:16px;background:var(--pink-soft);display:grid;place-items:center;color:var(--pink);font-size:24px;margin:0 auto 12px}.empty-list h3,.history-empty h3{color:var(--ink);font-size:16px;margin:0 0 4px;font-weight:500}.empty-list p,.history-empty p{margin:0}
.insight-column{display:grid;gap:17px}.budget-card{padding:20px}.aside-card-heading{display:flex;justify-content:space-between;align-items:start}.aside-card-heading h2{font-size:18px;font-weight:500;margin:0}.budget-ring{width:43px;height:43px;border:5px solid #ffe4e9;border-right-color:var(--pink);border-radius:50%;display:grid;place-items:center;color:var(--pink-dark);font-size:13px;line-height:1}.budget-ring small{font-size:9px;margin-left:1px}.budget-numbers{display:flex;justify-content:space-between;gap:8px;margin-top:27px;color:var(--muted);font-size:11px}.budget-numbers strong{display:block;color:var(--ink);font-size:15px;font-weight:500;margin-top:3px}.budget-numbers span:last-child{text-align:right}.progress-track{height:8px;background:#fff0f3;border-radius:10px;margin:12px 0 10px;overflow:hidden}.progress-track span{height:100%;display:block;border-radius:10px;background:linear-gradient(90deg,var(--pink),#ff9bae);transition:width .25s ease}.budget-footer{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.budget-footer strong{font-size:14px;font-weight:500}.budget-footer.positive strong{color:var(--green)}.budget-footer.negative strong{color:var(--pink-dark)}.text-button{background:none;padding:16px 0 0;color:var(--pink-dark);font-size:12px}.text-button span{font-size:17px;margin-left:5px}.tip-card{background:#132033;color:#fff;border-radius:22px;min-height:208px;padding:23px;position:relative;overflow:hidden}.tip-card:after{content:'♡';position:absolute;font-family:Arial;right:-2px;bottom:-30px;font-size:160px;color:rgba(255,255,255,.05);line-height:1}.tip-card .aside-kicker{color:#ff9caf;margin-bottom:17px}.tip-card h3{font-size:22px;line-height:1.15;font-weight:400;margin:0 0 13px;position:relative;z-index:1}.tip-card h3 em{font-style:normal;color:#ff9caf}.tip-card p:last-child{font-size:11px;line-height:1.7;color:#bdc7d6;font-weight:300;max-width:210px;position:relative;z-index:1}.tip-spark{position:absolute;right:22px;top:20px;color:#ffb9c6;font-size:21px}
.modal-backdrop{position:fixed;inset:0;background:rgba(15,23,42,.38);backdrop-filter:blur(8px);z-index:50;display:grid;place-items:center;padding:18px}.modal-card{width:min(100%,500px);max-height:calc(100vh - 36px);overflow:auto;background:#fff;border-radius:24px;padding:31px;position:relative;box-shadow:0 25px 80px rgba(15,23,42,.24);animation:modal-in .22s ease}.compact-modal{width:min(100%,410px)}@keyframes modal-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}.modal-close{position:absolute;right:18px;top:15px;width:30px;height:30px;border-radius:10px;background:#fff5f7;color:#b58b94;font-size:21px;line-height:1}.modal-close:hover{background:#ffe5ea;color:var(--pink-dark)}.modal-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;font-size:25px;margin-bottom:17px}.soft-icon{color:var(--pink-dark);background:var(--pink-soft)}.budget-modal-icon{color:#fff;background:linear-gradient(145deg,#ff9caf,#f43f5e)}.add-modal-icon{color:var(--pink-dark);background:#fff0dd}.modal-card h2{font-size:25px;line-height:1.1;font-weight:500;margin:0 0 8px}.modal-description{color:var(--muted);font-size:13px;font-weight:300;margin:0 0 24px;line-height:1.6}.form-label{font-size:12px;color:#475569;display:block;margin:15px 0 7px}.form-input{width:100%;height:45px;border:1px solid #ebd9de;background:#fff;color:var(--ink);border-radius:11px;padding:0 13px;outline:0;font-size:13px}.form-input::placeholder{color:var(--muted)}.form-input:focus{border-color:var(--pink);box-shadow:0 0 0 4px rgba(255,107,139,.1)}.pin-input{text-align:center;letter-spacing:.5em;font-size:19px}.full-button{width:100%;margin-top:22px}.form-error{color:var(--pink-dark);background:#fff1f3;border-radius:9px;font-size:12px;padding:9px 11px;margin:12px 0 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-money{position:relative}.form-money .form-input{padding-right:48px}.form-money span{position:absolute;right:13px;top:12px;color:var(--muted);font-size:12px}.modal-preview{display:flex;justify-content:space-between;align-items:center;background:var(--pink-soft);padding:13px 15px;border-radius:12px;margin-top:19px;color:#64748b;font-size:12px}.modal-preview strong{color:var(--pink-dark);font-size:16px;font-weight:500}.receipt-modal{width:min(100%,430px);padding:28px 25px}.receipt-modal-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:15px}.receipt-modal-header h2{margin:0}.receipt-seal{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--pink-soft);color:var(--pink-dark);font-size:21px}.receipt-paper{background:#fffdfa;border:1px solid #f2e8e6;box-shadow:0 8px 20px rgba(114,91,72,.08);padding:22px 19px;position:relative;clip-path:polygon(0 0,100% 0,100% 98%,96% 100%,92% 98%,88% 100%,84% 98%,80% 100%,76% 98%,72% 100%,68% 98%,64% 100%,60% 98%,56% 100%,52% 98%,48% 100%,44% 98%,40% 100%,36% 98%,32% 100%,28% 98%,24% 100%,20% 98%,16% 100%,12% 98%,8% 100%,4% 98%,0 100%)}.receipt-paper-top,.receipt-line,.receipt-summary-line,.receipt-total-line{display:flex;justify-content:space-between;gap:15px}.receipt-paper-top{font-size:10px;letter-spacing:.08em;color:var(--muted)}.receipt-logo{text-align:center;color:var(--pink);font-size:28px;line-height:1;margin:15px 0 4px}.receipt-paper h3{text-align:center;font-size:18px;font-weight:500;margin:0}.receipt-profile{text-align:center;color:var(--muted);font-size:11px;margin:3px 0 18px}.receipt-dashes{border-top:1px dashed #efc9d0;margin:15px 0}.receipt-line{margin:11px 0;align-items:start}.receipt-line span{display:grid;min-width:0}.receipt-line span strong{font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.receipt-line span small{font-size:10px;color:var(--muted);margin-top:2px}.receipt-line>strong{font-size:12px;white-space:nowrap}.receipt-summary-line{font-size:11px;color:#64748b;margin:7px 0}.discount-line{color:var(--green)}.receipt-total-line{border-top:1.5px solid var(--pink);margin-top:15px;padding-top:12px;font-size:16px}.receipt-total-line strong{color:var(--pink-dark);font-weight:600}.receipt-thankyou{text-align:center;color:var(--muted);font-size:11px;margin-top:22px;padding-bottom:8px}.receipt-thankyou span{color:var(--pink)}.receipt-actions{display:grid;gap:9px}.receipt-actions .full-button{margin-top:14px}.receipt-empty{text-align:center;border:1px dashed #f0cad1;border-radius:15px;padding:32px 20px;margin:15px 0 3px}.receipt-empty span{font-size:32px}.receipt-empty h3{font-size:16px;margin:8px 0 4px}.receipt-empty p{color:var(--muted);font-weight:300;font-size:12px;line-height:1.5;margin:0}
.history-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px}.history-main{padding:24px}.history-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:21px;border-bottom:1px solid #f2e6e9}.history-heading h2{font-size:22px;font-weight:500;margin:0}.history-total{color:var(--pink-dark);background:var(--pink-soft);font-size:12px;border-radius:20px;padding:6px 12px}.history-day{padding-top:21px}.day-heading{display:flex;justify-content:space-between;color:var(--muted);font-size:11px;margin-bottom:9px}.history-receipt{width:100%;display:flex;align-items:center;gap:13px;text-align:left;background:#fff;padding:12px 8px;border-radius:13px;border:1px solid transparent;margin-bottom:7px;transition:.2s}.history-receipt:hover{border-color:#ffd0d8;background:#fffafb;transform:translateX(2px)}.receipt-date-badge{width:45px;height:45px;border-radius:13px;background:#fff0f3;color:var(--pink-dark);display:grid;place-items:center;text-align:center;font-size:11px;line-height:1.1}.history-receipt-copy{display:grid;gap:3px;flex:1;min-width:0}.history-receipt-copy strong{font-size:13px;font-weight:500}.history-receipt-copy small,.history-receipt-total small{font-size:10px;color:var(--muted)}.history-receipt-total{text-align:right;display:grid;gap:3px}.history-receipt-total strong{font-size:14px;font-weight:500}.history-receipt-total small{color:var(--green)}.history-empty{text-align:center;padding:75px 20px;color:var(--muted);font-weight:300;font-size:12px}.history-empty .primary-button{margin-top:18px}.archive-card{background:linear-gradient(160deg,#ffeff3,#fff);border-radius:22px;padding:24px;min-height:190px;border:1px solid #ffdce3}.archive-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#fff;color:var(--pink-dark);font-size:22px;margin-bottom:21px}.archive-card strong{font-size:21px;line-height:1.1;font-weight:500;display:block}.archive-card p{color:#8e7680;font-size:12px;font-weight:300;line-height:1.6}
.profile-screen{min-height:100vh;position:relative;overflow:hidden;background:radial-gradient(circle at 12% 13%,rgba(255,217,224,.55),transparent 24rem),linear-gradient(125deg,#fff7f8 0%,#fff 57%,#fff0f3 100%);display:grid;place-items:center;padding:50px 30px}.profile-layout{width:min(1110px,100%);display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:center;position:relative;z-index:1}.profile-intro{padding:15px 0 30px}.profile-intro .eyebrow{color:var(--pink-dark)}.profile-intro h1{font-size:62px;line-height:1.03}.intro-copy{max-width:330px;color:#768396;line-height:1.75;font-weight:300;margin:23px 0 27px}.intro-note{display:flex;align-items:center;gap:8px;color:#a59aa0;font-size:11px}.note-dot{width:7px;height:7px;background:var(--green);border-radius:50%;box-shadow:0 0 0 5px rgba(16,185,129,.1)}.profile-picker{background:rgba(255,255,255,.72);border:1px solid rgba(239,203,211,.9);border-radius:28px;padding:29px 31px;box-shadow:var(--shadow)}.picker-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.picker-heading h2{font-size:26px;font-weight:500;margin:0}.profile-count{font-size:11px;color:var(--muted);background:#fff5f7;padding:7px 10px;border-radius:20px}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.profile-card{min-height:172px;padding:23px 15px 17px;border:1px solid #f0e2e5;background:#fff;border-radius:19px;display:flex;align-items:center;flex-direction:column;position:relative;transition:.22s;box-shadow:0 6px 20px rgba(166,86,105,.04);color:var(--ink)}.profile-card:hover{transform:translateY(-4px);border-color:#ffc3ce;box-shadow:var(--shadow)}.profile-card strong{font-size:16px;font-weight:500;margin-top:12px}.profile-card small{font-size:10px;color:var(--muted);font-weight:300;margin-top:4px}.avatar{width:66px;height:66px;font-size:29px;color:#fff;box-shadow:0 9px 18px rgba(255,107,139,.18)}.avatar-rose{background:linear-gradient(145deg,#ffa0b3,#f43f5e)}.avatar-lilac{background:linear-gradient(145deg,#cab1f2,#8d65cf)}.avatar-peach{background:linear-gradient(145deg,#ffc68f,#ed8c50)}.avatar-mint{background:linear-gradient(145deg,#7fe0c0,#20a77f)}.card-arrow{position:absolute;right:14px;top:13px;color:#c6acb3;font-size:18px}.add-profile-card{border:1.5px dashed #f2b8c3;background:rgba(255,250,251,.5);color:var(--pink-dark);justify-content:center}.add-profile-icon{font-size:34px;font-weight:300;line-height:1;margin-bottom:3px}.add-profile-card span:nth-child(2){font-size:16px;font-weight:500}.add-profile-card small{color:#c98d98}.picker-footnote{text-align:center;color:#b19aa1;font-size:11px;margin:20px 0 0}.picker-footnote span{color:var(--pink);font-size:16px;vertical-align:-2px}.profile-orbit{position:absolute;border-radius:50%;border:1px solid rgba(255,146,165,.16)}.orbit-one{width:540px;height:540px;left:-310px;bottom:-280px}.orbit-two{width:420px;height:420px;right:-200px;top:-230px}
@media(max-width:1000px){.content-layout,.history-layout{grid-template-columns:1fr}.insight-column,.history-side{grid-template-columns:1fr 1fr;display:grid}.tip-card{min-height:190px}.app-main{padding-top:40px}.profile-layout{gap:45px}.profile-intro h1{font-size:52px}}@media(max-width:720px){.topbar{height:66px;padding:0 18px}.topbar-brand span,.logout-button{display:none}.topbar-actions{gap:7px}.topbar-divider{display:none}.profile-switcher{font-size:12px}.app-main{width:min(100% - 30px,620px);padding:34px 0 50px}.welcome-row{align-items:start;margin-bottom:23px}.welcome-row h1{font-size:32px}.welcome-copy{font-size:12px}.date-stamp{padding:7px 9px}.date-stamp strong{font-size:11px}.date-stamp small{font-size:9px}.date-icon{width:26px;height:26px;font-size:16px}.action-row{gap:8px}.action-tile{min-height:70px;padding:10px 9px;gap:7px;border-radius:14px}.tile-icon{width:31px;height:31px;border-radius:9px;font-size:17px}.action-tile small{font-size:9px}.action-tile strong{font-size:11px}.tile-arrow{display:none}.dashboard-summary{display:block;padding:19px}.summary-copy{margin-bottom:18px}.summary-copy strong{font-size:16px}.summary-metrics{gap:10px;justify-content:space-between}.metric{min-width:0}.metric strong{font-size:15px}.metric-label,.metric small{font-size:9px}.shopping-panel{padding:15px;border-radius:18px}.list-toolbar{align-items:stretch;flex-direction:column;gap:9px;margin-bottom:17px}.search-wrap{max-width:none}.add-button{width:100%}.item-edit-row{padding-left:43px;gap:5px}.compact-input{width:55px}.price-input .compact-input{width:58px}.input-with-suffix em{padding-right:5px}.item-total strong{font-size:14px}.insight-column,.history-side{grid-template-columns:1fr}.tip-card{min-height:165px}.profile-screen{padding:30px 16px}.profile-layout{display:block;width:min(440px,100%)}.profile-intro{padding:10px 8px 36px}.profile-intro .brand-mark.large{width:52px;height:52px;font-size:28px;margin-bottom:19px}.profile-intro h1{font-size:46px}.intro-copy{font-size:12px;margin:17px 0}.profile-picker{padding:22px 17px;border-radius:22px}.picker-heading h2{font-size:22px}.profile-card{min-height:145px}.avatar{width:56px;height:56px;font-size:24px}.modal-card{padding:25px 20px;border-radius:20px}.form-grid{gap:8px}}@media(max-width:420px){.welcome-row{display:block}.date-stamp{display:inline-flex;margin-top:14px}.action-tile{min-height:68px}.action-tile>span:nth-child(2){min-width:0}.action-tile strong{white-space:nowrap;font-size:10px}.profile-grid{gap:8px}.profile-card{padding-left:8px;padding-right:8px}.profile-card strong{font-size:14px}.item-edit-row{flex-wrap:wrap}.item-total{margin-left:43px;min-width:100px}.multiply{display:none}.receipt-modal{padding:24px 16px}}

/* In-app numeric keypad and direct list navigation */
.action-row{grid-template-columns:repeat(4,minmax(0,1fr))}.list-tile .tile-icon{color:#5574a6;background:#eef4ff}.numeric-keypad{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);width:min(360px,calc(100vw - 28px));padding:14px;background:rgba(255,255,255,.97);border:1px solid #f0ccd4;border-radius:22px;box-shadow:0 18px 50px rgba(15,23,42,.22);z-index:45;backdrop-filter:blur(16px);animation:keypad-in .2s ease}.keypad-heading{display:flex;align-items:center;justify-content:space-between;margin:0 2px 11px}.keypad-heading span{display:grid;gap:1px}.keypad-heading small{font-size:10px;color:var(--muted)}.keypad-heading strong{font-size:14px;font-weight:500;color:var(--ink)}.keypad-heading button{background:var(--pink-soft);color:var(--pink-dark);border-radius:9px;padding:7px 11px;font-size:11px}.keypad-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.keypad-grid button{height:43px;border-radius:11px;background:#fff8fa;border:1px solid #f4dce2;color:var(--ink);font-size:18px;font-weight:500;transition:.15s}.keypad-grid button:hover,.keypad-grid button:active{background:var(--pink);border-color:var(--pink);color:#fff;transform:scale(.98)}@keyframes keypad-in{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}
@media(max-width:720px){.action-row{grid-template-columns:repeat(2,minmax(0,1fr))}.numeric-keypad{bottom:10px}.keypad-grid button{height:46px}}

.keypad-input{cursor:pointer;caret-color:transparent}
@media(max-width:720px){
  html,body{overflow-x:hidden}
  .app-main{width:calc(100% - 24px);padding:27px 0 88px}
  .welcome-row{margin-bottom:18px}
  .welcome-row h1{font-size:31px;letter-spacing:-.04em}
  .welcome-copy{line-height:1.55;max-width:240px}
  .action-row{gap:8px;margin-bottom:16px}
  .action-tile{min-height:68px;padding:10px 11px}
  .action-tile strong{font-size:11px}
  .dashboard-summary{padding:17px 16px;margin-bottom:16px;border-radius:18px}
  .summary-copy{margin-bottom:15px}
  .summary-copy strong{font-size:15px}
  .summary-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .metric{padding-right:7px;border-right:1px solid #f3e3e7}
  .metric:last-child{border-right:0;padding-right:0}
  .metric strong{font-size:14px;white-space:nowrap}
  .metric-label,.metric small{font-size:9px;white-space:nowrap}
  .shopping-panel{padding:13px;border-radius:18px}
  .status-heading>strong{font-size:14px}
  .item-card{padding-top:13px}
  .item-edit-row{padding-top:11px}
  .numeric-keypad{width:min(350px,calc(100vw - 22px));padding:12px;bottom:8px}
}

.receipt-options{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 13px}.receipt-toggle{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid var(--line);border-radius:10px;background:#fff8fa;color:var(--ink);font-size:12px;cursor:pointer}.receipt-toggle input{accent-color:var(--pink);width:15px;height:15px}.receipt-rate{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#64748b}.receipt-rate-select{border:1px solid var(--line);border-radius:9px;padding:7px 9px;background:#fff;color:var(--ink);font-size:12px}.tax-line{color:#5574a6}.receipt-paper .tax-line strong{color:#5574a6}
@media(max-width:720px){.receipt-options{gap:6px}.receipt-toggle{padding:7px 9px;font-size:11px}.receipt-rate{font-size:11px}}

/* Smooth, in-app confirmation instead of browser-native confirm */
.modal-backdrop{animation:backdrop-in .18s ease-out both;will-change:opacity}.modal-card{animation:modal-in .24s cubic-bezier(.22,.8,.24,1) both;will-change:transform,opacity}.delete-modal{max-width:420px;text-align:center}.delete-modal .modal-close{z-index:2}.delete-modal-icon{background:#fff0f1;color:#f43f5e;font-size:23px}.delete-item-preview{display:flex;align-items:center;gap:12px;text-align:left;padding:13px 14px;margin:19px 0;border:1px solid #f4dce2;border-radius:15px;background:#fff8fa}.delete-item-preview>span{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#fff;color:#f43f5e;font-size:20px}.delete-item-preview div{display:grid;gap:2px}.delete-item-preview strong{font-size:14px}.delete-item-preview small{color:#94a3b8;font-size:11px}.delete-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.delete-actions button{min-height:45px;border-radius:12px;font-size:13px}.danger-button{background:#fff0f1;color:#e11d48;border:1px solid #ffcbd4;padding:11px 16px}.danger-button:hover{background:#f43f5e;color:#fff;border-color:#f43f5e}.delete-backdrop{background:rgba(15,23,42,.34)}
@keyframes backdrop-in{from{opacity:0}to{opacity:1}}@keyframes modal-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(prefers-reduced-motion:reduce){.modal-backdrop,.modal-card{animation:none}}

.receipt-toggle{align-items:flex-start}.receipt-toggle>span{display:grid;gap:1px;text-align:left}.receipt-toggle strong{font-size:12px;color:var(--ink)}.receipt-toggle small{font-size:10px;color:#94a3b8}.tax-toggle{background:#fff7df;border-color:#f6d98b}.tax-toggle input{accent-color:#f59e0b}.receipt-detail-actions{display:grid;gap:8px}.receipt-detail-actions .danger-button{width:100%}.history-month{margin-top:22px}.month-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;margin-bottom:10px;border-radius:13px;background:linear-gradient(90deg,#fff0f3,#fff);border:1px solid #f4dce2;color:var(--pink-dark)}.month-heading strong{font-size:15px}.month-heading span{font-size:11px;color:#94a3b8}.history-month:first-of-type{margin-top:15px}

.unified-list-section{padding-top:6px}.unified-list-heading{display:flex;align-items:center;justify-content:space-between;padding:3px 2px 13px;border-bottom:1px solid #f4dce2;margin-bottom:2px}.unified-list-heading>div{display:flex;align-items:center;gap:10px}.unified-list-heading h2{font-size:16px;margin:0}.unified-list-heading h2 span{font-size:11px;color:#94a3b8;font-weight:400;margin-left:3px}.unified-list-heading p{font-size:10px;color:#94a3b8;margin:2px 0 0}.unified-list-heading>strong{font-size:12px;color:#10b981}.unified-list-heading .status-pip{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#eef8f4;color:#10b981;font-size:16px}.unified-item-list{display:grid;gap:0}.unified-item-list .item-card{border-radius:0;border-left:0;border-right:0;box-shadow:none}.unified-item-list .item-card:first-child{border-top:0}.unified-item-list .item-card:last-child{border-bottom:0}
@media(max-width:720px){.unified-list-section{padding-top:2px}.unified-list-heading{padding:2px 1px 10px}.unified-list-heading h2{font-size:14px}.unified-list-heading p{font-size:9px}.unified-item-list .item-card{padding:11px 0}.unified-item-list .item-edit-row{padding-top:8px}.unified-item-list .item-title p{font-size:10px}.unified-item-list .item-total strong{font-size:13px}.insight-column .tip-card{display:none}.content-layout{gap:14px}.shopping-panel{padding-bottom:9px}}

/* Keep the custom keypad clickable above budget/add-item dialogs. */
.numeric-keypad{z-index:70}
@media(max-width:720px){
  .modal-backdrop{align-items:flex-start;overflow-y:auto;padding:12px 12px calc(20px + env(safe-area-inset-bottom));height:100dvh}
  .modal-card{max-height:calc(100dvh - 24px);margin:0 auto;overflow-y:auto;overscroll-behavior:contain}
  .modal-card input:not(.keypad-input),.modal-card select{scroll-margin-top:22px;scroll-margin-bottom:180px}
  .numeric-keypad{bottom:calc(8px + env(safe-area-inset-bottom));z-index:70}
}
