@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&display=swap');
:root{font-family:Nunito,system-ui,sans-serif;color:#492a42;background:#fff7fb;font-synthesis:none;text-rendering:optimizeLegibility;--pink:#f18ab7;--deep:#af4f8b;--yellow:#ffd86b;--mint:#b5e7d0;--lav:#d8cdf9;--ink:#492a42;--muted:#927c8d;--paper:#fff;--line:#f0dfeb;--shadow:0 12px 35px #8e4d7410}*{box-sizing:border-box}body{margin:0;min-width:320px;background:radial-gradient(ellipse at 10% -10%,#ffe4f0 0,transparent 38%),radial-gradient(ellipse at 100% 10%,#fff0cb 0,transparent 30%),#fff9fc}.app-shell{max-width:1120px;min-height:100vh;margin:auto;padding:0 26px 100px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #f7e8f0}.brand{display:flex;gap:11px;align-items:center;color:inherit;text-decoration:none}.brand-candy{display:grid;place-items:center;width:45px;height:45px;border-radius:16px;background:#ffe3ef;font-size:25px;box-shadow:inset 0 -3px #f8c8df}.brand b,.brand small{display:block}.brand b{font-size:18px;letter-spacing:-.5px}.brand small{font-size:11px;color:var(--muted);font-weight:700}.top-actions{display:flex;align-items:center;gap:12px}.sync-pill{font-size:12px;color:#4d9c78;background:#e5f7ee;padding:8px 12px;border-radius:99px;font-weight:800;display:flex;align-items:center;gap:7px}.sync-pill i{width:7px;height:7px;background:#57bc87;border-radius:100%}.sync-pill.local{color:#a17235;background:#fff3d5}.sync-pill.local i{background:#e6aa45}.avatar{border:0;width:39px;height:39px;border-radius:50%;background:linear-gradient(145deg,#ffc8df,#d8c9ff);color:#613859;font-weight:900;font-size:16px}.hero{padding:32px 0 22px;display:flex;align-items:end;justify-content:space-between;gap:18px}.eyebrow{font-size:12px;color:var(--deep);font-weight:900;letter-spacing:.07em;text-transform:uppercase}.hero h1{font-size:clamp(28px,4vw,43px);letter-spacing:-1.4px;line-height:1.05;margin:7px 0}.hero p{color:var(--muted);font-weight:700;margin:8px 0 0}.hero-emoji{font-size:50px;filter:drop-shadow(0 5px 4px #d493b540)}.button{border:0;border-radius:15px;padding:13px 18px;font:800 14px Nunito;cursor:pointer;transition:.18s transform,.18s filter}.button:hover{transform:translateY(-2px);filter:brightness(1.02)}.button.primary{background:linear-gradient(135deg,#f79bc1,#e576a9);color:white;box-shadow:0 6px 14px #e67ba637}.button.soft{background:#fff0f7;color:#a94d81}.button.mint{background:#e6f8ef;color:#3c9b70}.button.small{padding:9px 13px;border-radius:12px;font-size:12px}.cards{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:15px}.card{background:#fff;border:1px solid #f7eaf1;border-radius:23px;padding:20px;box-shadow:var(--shadow);position:relative;overflow:hidden}.card-label{color:var(--muted);font-size:12px;font-weight:800;display:flex;align-items:center;gap:7px}.card-value{font-size:29px;letter-spacing:-1px;font-weight:900;margin:13px 0 3px;line-height:1.05}.card-note{font-size:12px;color:var(--muted);font-weight:700}.card-main{background:linear-gradient(140deg,#fff,#fff0f6)}.card-main:after{content:'🍓';position:absolute;right:15px;bottom:-8px;font-size:52px;opacity:.25;transform:rotate(-18deg)}.card-yellow{background:linear-gradient(140deg,#fff,#fff8df)}.card-mint{background:linear-gradient(140deg,#fff,#eaf9f1)}.section-head{display:flex;align-items:center;justify-content:space-between;margin:30px 2px 13px}.section-head h2{font-size:19px;margin:0;letter-spacing:-.4px}.section-head p{margin:3px 0 0;color:var(--muted);font-size:12px;font-weight:700}.split-card{display:grid;grid-template-columns:1fr 1fr;gap:12px}.person-card{background:white;border:1px solid var(--line);border-radius:20px;padding:16px;display:flex;align-items:center;gap:12px}.person-bubble{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;font-size:23px;background:#f9e2ef}.person-card:nth-child(2) .person-bubble{background:#e9e2fc}.person-card b{display:block}.person-card small{color:var(--muted);font-weight:700}.person-amount{margin-left:auto;font-weight:900;font-size:17px}.list{display:grid;gap:9px}.row{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #f6eaf1;border-radius:17px;padding:13px 15px}.row-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#fff2d8;font-size:21px;flex:none}.row-title{font-weight:900}.row-sub{font-size:12px;color:var(--muted);font-weight:700;margin-top:2px}.row-right{margin-left:auto;text-align:right;font-weight:900}.row-right small{display:block;color:var(--muted);font-size:11px;font-weight:700}.row-actions{display:flex;gap:6px;margin-left:8px}.icon-button{border:0;background:#fff1f7;color:#9c4d7d;border-radius:10px;width:31px;height:31px;font-weight:900;cursor:pointer}.empty{padding:25px;text-align:center;background:#fff;border:1px dashed #edc9dc;border-radius:18px;color:var(--muted);font-weight:700}.empty b{display:block;color:var(--ink);font-size:16px;margin-bottom:4px}.bottom-nav{position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);width:min(640px,100%);padding:10px 15px max(11px,env(safe-area-inset-bottom));background:#ffffffef;backdrop-filter:blur(14px);border:1px solid #f4e4ed;border-bottom:0;border-radius:22px 22px 0 0;display:flex;justify-content:space-around;box-shadow:0 -7px 25px #7b315410}.nav-item{border:0;background:transparent;color:#9c8698;font:800 11px Nunito;display:grid;justify-items:center;gap:4px;min-width:62px;cursor:pointer}.nav-item span{font-size:20px}.nav-item.active{color:#bd5792}.page-head{padding:28px 0 17px;display:flex;align-items:center;justify-content:space-between}.page-head h1{margin:4px 0;font-size:30px;letter-spacing:-1px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:grid;gap:5px}.field.wide{grid-column:1/-1}.field label{font-size:12px;font-weight:900;color:#74556b}.field input,.field select{width:100%;height:45px;padding:0 12px;border:1px solid #eadbe5;border-radius:12px;background:#fff;color:var(--ink);font:700 14px Nunito;outline:none}.field input:focus,.field select:focus{border-color:#e48ab5;box-shadow:0 0 0 3px #fbe8f1}.modal-backdrop{position:fixed;z-index:10;inset:0;background:#3f263b66;display:grid;place-items:center;padding:16px}.modal{background:#fffafd;width:min(540px,100%);max-height:min(90vh,850px);overflow:auto;border-radius:25px;padding:22px;box-shadow:0 25px 70px #2b102d45}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.modal-head h2{margin:0;font-size:21px}.close{width:34px;height:34px;border:0;border-radius:50%;background:#faeaf2;font-size:20px;color:#895575}.product-list{display:grid;gap:8px}.product{display:grid;grid-template-columns:1fr 95px 115px 34px;gap:7px;align-items:center}.product input,.product select{min-width:0;height:40px;border:1px solid #eadbe5;border-radius:10px;padding:0 9px;font:700 12px Nunito;color:var(--ink);background:white}.product-total{font-size:12px;color:var(--muted);font-weight:800}.sumline{display:flex;justify-content:space-between;padding:12px 2px;font-weight:900}.modal-footer{display:flex;gap:9px;margin-top:18px}.modal-footer .button{flex:1}.toast{position:fixed;z-index:20;left:50%;bottom:94px;transform:translateX(-50%);background:#492a42;color:#fff;padding:12px 17px;border-radius:99px;font-size:13px;font-weight:800;box-shadow:var(--shadow);max-width:90vw}.setup{max-width:760px;margin:60px auto;background:#fff;border:1px solid var(--line);border-radius:28px;padding:clamp(23px,5vw,45px);box-shadow:var(--shadow)}.setup h1{font-size:34px;letter-spacing:-1px;margin:9px 0}.setup p{color:var(--muted);font-weight:700;line-height:1.6}.setup-box{padding:17px;background:#fff7e2;border-radius:16px;color:#765934;font-size:13px;line-height:1.6;font-weight:700;overflow-wrap:anywhere}.auth-box{max-width:460px;margin:7vh auto;background:white;padding:28px;border-radius:25px;border:1px solid var(--line);box-shadow:var(--shadow)}.auth-box h1{margin:5px 0}.auth-box p{color:var(--muted);font-weight:700}.tabs{display:flex;background:#fff0f7;padding:4px;border-radius:13px;margin:18px 0}.tabs button{flex:1;border:0;background:transparent;padding:10px;border-radius:10px;color:#977185;font:800 13px Nunito}.tabs button.active{background:#fff;color:#a84d80;box-shadow:0 2px 8px #8e4d7414}.notice{padding:12px 14px;background:#fff3d5;border-radius:14px;color:#896129;font-size:12px;line-height:1.5;font-weight:800}.activity-filters{display:flex;gap:8px;margin:0 0 13px;flex-wrap:wrap}.activity-filters button{background:white;border:1px solid var(--line);border-radius:99px;padding:8px 13px;color:#8f7185;font:800 12px Nunito}.activity-filters button.active{background:#fae6f0;color:#ad4d82;border-color:#f6d5e5}.detail{padding:16px;background:#fff5f9;border-radius:15px;margin:10px 0}.detail div{display:flex;justify-content:space-between;padding:4px 0;font-size:13px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.muted{color:var(--muted)}@media(max-width:700px){.app-shell{padding:0 16px 105px}.topbar{height:68px}.hero{padding:27px 0 19px}.hero .button{position:fixed;z-index:6;right:17px;bottom:87px;border-radius:50%;width:57px;height:57px;padding:0;font-size:0;box-shadow:0 9px 20px #e67ba65c}.hero .button:after{content:'＋';font-size:29px}.hero-emoji{font-size:38px}.cards{grid-template-columns:1fr 1fr;gap:9px}.card{padding:16px;border-radius:19px}.card-main{grid-column:1/-1}.card-value{font-size:25px}.split-card{gap:8px}.person-card{padding:12px;gap:8px}.person-bubble{width:37px;height:37px;font-size:19px;border-radius:13px}.person-amount{font-size:14px}.person-card small{font-size:11px}.section-head{margin-top:25px}.form-grid{grid-template-columns:1fr 1fr}.product{grid-template-columns:1fr 78px 94px 30px;gap:5px}.product input,.product select{font-size:11px;padding:0 6px}.row-actions{gap:4px;margin-left:3px}.row{padding:11px 10px}.row-icon{width:38px;height:38px}.settings-grid{grid-template-columns:1fr}.top-actions{gap:7px}.sync-pill{font-size:10px;padding:7px 9px}}@media(max-width:390px){.product{grid-template-columns:minmax(90px,1fr) 68px 82px 27px}.product-total{display:none}.nav-item{min-width:55px}.person-card{display:grid;grid-template-columns:35px 1fr}.person-amount{grid-column:2;margin-left:0}}
