:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#292a31;background:#fffaf5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;font-optical-sizing:auto;font-weight:400;--ink:#292a31;--muted:#888894;--line:#eee9e3;--paper:#fffaf5;--white:#fff;--purple:#9471c9;--green:#31a66a}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:3px solid #9b83d6;outline-offset:2px}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:258px;background:#fff;border-right:1px solid var(--line);padding:28px 18px 18px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 34px}.brand-mark{width:39px;height:39px;border-radius:13px;background:#f2eafa;color:#8663bc;display:grid;place-items:center;font:900 24px ui-rounded,system-ui,sans-serif}.brand-mark span{color:#ed9d66}.brand strong{display:block;font:900 22px ui-rounded,system-ui,sans-serif;letter-spacing:-.8px}.brand small{display:block;color:#9995a0;font-size:10px;margin-top:1px}.family-label,.nav-label{font-size:10px;font-weight:700;letter-spacing:1.25px;color:#aaa5ad;padding:0 10px 10px}.child-list{display:grid;gap:4px;margin-bottom:28px}.child-switch,.add-child,.nav-item{border:0;background:transparent;display:flex;align-items:center;gap:11px;width:100%;padding:10px;border-radius:11px;color:#65636c;text-align:left;font-size:13px;font-weight:600}.child-switch.selected,.nav-item.active{background:#f4effa;color:#7654ac}.avatar{width:29px;height:29px;border-radius:10px;background:#f7f0e8;display:grid;place-items:center;font-size:17px}.active-dot{margin-left:auto;width:6px;height:6px;background:#8f6bc2;border-radius:50%}.add-child{color:#8e72b8;font-size:12px;padding-left:16px}.nav-list{display:grid;gap:5px}.nav-item{padding:12px}.nav-item svg{color:#9993a0}.nav-item.active svg{color:#8c68bd}.sidebar-bottom{margin-top:auto}.privacy-note{display:flex;gap:10px;padding:13px 10px;background:#f2f8f3;border-radius:12px;color:#46835c;font-size:11px;font-weight:700;line-height:1.5;margin-bottom:15px}.privacy-note small{color:#78927e;font-size:9px;font-weight:400}.account{border-top:1px solid var(--line);margin-top:14px;padding:17px 4px 0;display:flex;align-items:center;gap:10px}.account-avatar{width:33px;height:33px;border-radius:50%;background:#e9e1f5;display:grid;place-items:center;color:#7654ac;font-weight:800}.account strong,.account small{display:block}.account strong{font-size:11px}.account small{font-size:9px;color:#999}.account>svg{margin-left:auto;color:#aaa}.main{margin-left:258px;min-height:100vh}.topbar{height:72px;background:#ffffffd1;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;position:sticky;top:0;z-index:3;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.breadcrumbs{font-size:12px;color:#9b98a0}.breadcrumbs span{padding:0 9px;color:#d2cbd4}.breadcrumbs strong{color:#4b4851}.top-actions{display:flex;align-items:center;gap:16px}.mode-toggle,.icon-button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 12px;color:#6e6578;display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700}.icon-button{padding:9px;position:relative}.notification i{position:absolute;width:6px;height:6px;border-radius:50%;background:#ee9d6b;right:7px;top:6px}.content{max-width:1220px;margin:0 auto;padding:43px 42px 24px}.welcome-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:29px}.eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#a38bbd;margin-bottom:10px}.welcome-row h1{font:800 clamp(25px,3vw,34px) ui-rounded,system-ui,sans-serif;letter-spacing:-1px;margin:0 0 7px}.welcome-row p,.section-heading p{font-size:12px;color:#99949e;margin:0}.primary-button{border:0;background:#8968b7;color:#fff;padding:12px 17px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:700;box-shadow:0 5px 13px #8968b726}.primary-button:disabled{opacity:.45;cursor:not-allowed}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:38px}.stat-card{border-radius:16px;padding:17px 18px;min-height:132px;display:flex;flex-direction:column;align-items:flex-start}.stat-peach{background:#fff0e5}.stat-lilac{background:#f1ebfa}.stat-mint{background:#eaf6ed}.stat-blue{background:#eaf2fb}.stat-icon{width:29px;height:29px;border-radius:9px;background:#ffffffa8;display:grid;place-items:center;margin-bottom:11px;color:#8b6db3}.stat-card>span{font-size:10px;color:#77717d}.stat-card strong{font:800 25px ui-rounded,system-ui,sans-serif;margin-top:1px}.stat-card small{font-size:9px;color:#96909a}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.section-heading h2{font:800 20px ui-rounded,system-ui,sans-serif;margin:0 0 3px}.cup-count{font-size:10px;color:#938c99;background:#fff;border:1px solid var(--line);border-radius:20px;padding:6px 10px}.cup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cup-card{background:#fff;border:1px solid #eee9e4;border-radius:17px;padding:16px;box-shadow:0 4px 16px #40352a05;min-width:0}.cup-card-top{display:flex;justify-content:space-between;align-items:center}.cup-kicker{font-size:9px;letter-spacing:1px;color:#aaa2ae;font-weight:800}.dots-button{border:0;background:transparent;color:#aaa;font-weight:800;letter-spacing:2px}.cup-visual{height:108px;margin:10px 0 13px;border-radius:13px;background:color-mix(in srgb,var(--cup-colour) 10%,white);display:flex;align-items:flex-end;justify-content:center;overflow:hidden;position:relative}.cup-visual:after{content:"";position:absolute;bottom:0;width:82%;height:13px;border:3px solid color-mix(in srgb,var(--cup-colour) 55%,white);border-top:0;border-radius:0 0 13px 13px}.sticks{height:90px;width:80%;display:flex;align-items:flex-end;justify-content:center;gap:5px;padding-bottom:12px;flex-wrap:wrap;overflow:hidden}.stick{height:50px;width:8px;border-radius:4px 4px 2px 2px;transform:rotate(-7deg);box-shadow:inset 1px 0 1px #ffffff80}.stick:nth-child(3n){height:61px;transform:rotate(6deg)}.stick:nth-child(4n){height:42px;transform:rotate(-12deg)}.empty-cup-label{font-size:10px;color:#aaa;align-self:center}.cup-title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.cup-title-row h3{font:800 14px ui-rounded,system-ui,sans-serif;margin:0 0 2px}.cup-title-row span{font-size:9px;color:#999}.cup-total{font:800 21px ui-rounded,system-ui;color:#4c4851;white-space:nowrap}.cup-total small{font:500 10px ui-sans-serif;color:#aaa}.progress-track{height:6px;border-radius:10px;background:#f1eef0;overflow:hidden;margin:12px 0 9px}.progress-track span{height:100%;display:block;border-radius:10px}.reward-line{display:flex;align-items:center;gap:6px;color:#999;font-size:9px}.reward-line svg{color:#b18cce}.reward-line strong{margin-left:auto;color:#716a77}.cup-actions{border-top:1px solid #f2eef0;margin-top:13px;padding-top:11px;display:flex;justify-content:space-between;align-items:center}.colour-picker{display:flex;gap:6px}.colour-picker button,.modal-colours button{width:21px;height:21px;border:2px solid white;outline:1px solid #e9e4e9;border-radius:50%;padding:0}.remove-stick{background:#fff;border:1px solid #eee7eb;border-radius:8px;padding:6px 9px;font-size:9px;color:#8c727c;font-weight:700}.toast{position:fixed;right:25px;bottom:18px;background:#fff;border:1px solid var(--line);box-shadow:0 5px 25px #33253b0d;padding:10px 14px;border-radius:11px;font-size:10px;color:#817b86;z-index:2}.toast-dot{display:inline-block;width:6px;height:6px;background:#68b786;border-radius:50%;margin-right:8px}footer{text-align:center;color:#b0aab2;font-size:10px;padding:42px 0 5px}footer span{color:#d69e70;margin-left:5px}.empty-state,.simple-panel{background:#fff;border:1px dashed #e8dfe9;border-radius:17px;padding:42px 20px;text-align:center}.empty-illustration{font-size:40px}.empty-state h3,.simple-panel h2{font:800 18px ui-rounded,system-ui;margin:10px 0 5px}.empty-state p,.simple-panel p{font-size:11px;color:#999;max-width:390px;margin:0 auto 18px;line-height:1.6}.simple-panel{border-style:solid;padding:55px 20px}.panel-icon{margin:auto;width:48px;height:48px;border-radius:15px;background:#f2eafa;color:#8b69b8;display:grid;place-items:center}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#29202c66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:10;display:grid;place-items:center;padding:18px}.modal{position:relative;width:min(100%,410px);background:#fff;border-radius:20px;padding:29px;box-shadow:0 20px 70px #1c102b33}.modal-close{position:absolute;right:17px;top:17px}.modal-emoji{font-size:34px}.modal h2{font:800 23px ui-rounded,system-ui;margin:10px 0 4px}.modal p{font-size:11px;color:#999;margin:0 0 22px}.modal label{display:block;font-size:11px;font-weight:700;color:#5d5762;margin:14px 0}.modal input{display:block;width:100%;border:1px solid #e8e2e9;border-radius:10px;padding:12px;margin-top:7px;font-size:12px}.modal-colours{display:flex;gap:12px;margin-top:12px}.modal-colours button{width:29px;height:29px}.modal-colours button.chosen{outline:2px solid #6c4d9d;outline-offset:3px}.full-button{width:100%;margin-top:12px}.menu-toggle,.mobile-close,.scrim{display:none}.child-mode .sidebar{border-right:4px solid #f4dca5}.child-mode .welcome-row h1{color:#7954a7}.child-mode .cup-card{border:2px solid #eee4fa}.child-mode .cup-visual{height:126px}@media(max-width:1100px){.cup-grid,.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:34px 28px}.topbar{padding:0 28px}}@media(max-width:700px){.sidebar{transform:translate(-105%);transition:transform .25s ease;width:280px;box-shadow:10px 0 35px #251b2b12}.sidebar.sidebar-open{transform:translate(0)}.scrim{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#241d2c55;border:0;z-index:4}.mobile-close{display:flex;margin-left:auto}.main{margin-left:0}.topbar{height:61px;padding:0 16px}.menu-toggle{display:flex}.breadcrumbs{margin-right:auto;margin-left:12px}.top-actions{gap:9px}.mode-toggle{padding:8px;font-size:0}.mode-toggle svg{width:17px;height:17px}.content{padding:28px 16px 22px}.welcome-row{align-items:flex-start;flex-direction:column;margin-bottom:22px}.welcome-row .primary-button{align-self:stretch}.welcome-row h1{font-size:27px}.stats-grid{gap:9px;margin-bottom:29px}.stat-card{min-height:119px;padding:13px}.cup-grid{grid-template-columns:1fr}.cup-card{padding:16px}.cup-visual{height:120px}.section-heading h2{font-size:18px}.toast{left:16px;right:16px;bottom:12px;text-align:center}.account{margin-bottom:8px}}@media(min-width:701px)and (max-width:900px){.sidebar{width:220px}.main{margin-left:220px}.cup-grid{grid-template-columns:1fr}.content{padding:30px 22px}}.archive-cup{font-size:10px;letter-spacing:0;color:#a27676;border:1px solid #f0e4e4;border-radius:8px;padding:5px 9px;background:snow}.archived-section{margin-top:28px}.archived-heading{margin-bottom:10px}.archived-list{display:grid;gap:8px}.archived-cup{display:flex;align-items:center;gap:11px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}.archived-cup-icon{width:34px;height:34px;border-radius:10px;background:#f5f0f7;display:grid;place-items:center}.archived-cup-info{display:grid;gap:3px;min-width:0}.archived-cup-info strong{font-size:12px}.archived-cup-info small{font-size:10px;color:#999}.restore-cup,.secondary-button{border:1px solid #e9e2ec;background:#fff;border-radius:9px;padding:8px 12px;color:#7654ac;font-size:10px;font-weight:700}.restore-cup{margin-left:auto}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.child-row{display:flex;align-items:center;gap:3px}.child-row .child-switch{flex:1;min-width:0}.remove-child{width:25px;height:25px;flex:0 0 25px;border:0;border-radius:8px;background:#fff3f1;color:#b87575;font-size:18px;line-height:1}.remove-child:hover{background:#fbe2df}.avatar-picker{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:10px 0 16px}.avatar-picker button{aspect-ratio:1;border:1px solid #eee7ef;border-radius:11px;background:#faf8fb;font-size:22px;display:grid;place-items:center;padding:0}.avatar-picker button.chosen{background:#f1eafa;border:2px solid #8968b7;box-shadow:0 0 0 2px #8968b722}.danger-button{background:#b85d5d}.family-empty{margin-top:8px}.family-empty .empty-illustration{font-size:46px}@media(max-width:700px){.sidebar{z-index:50;height:100dvh;max-height:100dvh;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;pointer-events:auto}.sidebar.sidebar-open{visibility:visible;pointer-events:auto}.scrim{z-index:40;touch-action:manipulation}.sidebar button{position:relative;z-index:1;pointer-events:auto;touch-action:manipulation}}.update-banner{position:sticky;top:0;z-index:100;display:flex;align-items:center;justify-content:center;gap:14px;padding:10px 14px;background:#f1eafa;border-bottom:1px solid #e3d7f0;color:#62458e;font-size:13px;font-weight:650}.update-banner button{display:inline-flex;align-items:center;gap:6px;border:0;border-radius:9px;padding:8px 12px;background:#7654ac;color:#fff;font:inherit;font-size:12px;font-weight:750;cursor:pointer}.update-banner button:active{transform:scale(.98)}
