@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap');
:root{--green:#315b46;--sage:#eaf0e8;--ink:#283e32;--muted:#8a928b;--line:#eceee8;--bg:#f8f9f5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans','Noto Sans SC',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button{border:0;background:none;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #b5cb99;outline-offset:3px}svg{vertical-align:middle}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#fff;border-right:1px solid var(--line);padding:36px 23px;display:flex;flex-direction:column;z-index:3}.brand{display:flex;gap:11px;align-items:center;padding:0 12px}.brand-icon{background:var(--green);color:#fff;border-radius:12px;padding:9px}.brand strong{font-size:24px;letter-spacing:3px}.brand small{display:block;color:var(--muted);font-size:10px;letter-spacing:2px;margin-top:4px}.home-select{margin:36px 0 25px;background:#f7f8f4;border:1px solid var(--line);border-radius:11px;padding:14px;display:flex;align-items:center;gap:10px}.home-select small{display:block;color:var(--muted);margin-top:5px;font-size:10px}.nav-label{font-size:10px;color:#a5aba4;padding:8px 14px;letter-spacing:2px}nav button{width:100%;display:flex;align-items:center;gap:13px;padding:14px;margin:5px 0;border-radius:9px;text-align:left;color:#7a837c}nav button.active{background:var(--sage);color:var(--green);font-weight:600}nav button:hover{background:#f2f5ef}.nav-num{margin-left:auto;font-size:11px;background:#fff;padding:1px 6px;border-radius:5px}.sidebar-bottom{margin-top:auto}.little-note{background:#f8f8f1;border-radius:12px;padding:18px;font-size:12px;line-height:1.9;margin-bottom:23px}.little-note b{display:block;margin:7px 0}.little-note p{color:#8e9385;margin:0;font-size:11px}.profile{display:flex;align-items:center;gap:10px;padding:10px}.avatar{border-radius:50%;width:33px;height:33px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;background:#edd9ba;border:3px solid white;flex-shrink:0}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.main{margin-left:232px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 43px;border-bottom:1px solid var(--line);background:#fff9}.breadcrumb{color:#939b93;font-size:12px}.breadcrumb span{color:#46594b;margin-left:12px}.top-right{display:flex;gap:21px;align-items:center;font-size:12px;color:#8b948c}.icon-btn{position:relative;padding:8px}.dot{position:absolute;width:5px;height:5px;background:#d79b6a;border-radius:50%;right:7px;top:7px}.content{max-width:1400px;margin:auto;padding:33px 43px 23px}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}h1{font-size:27px;font-weight:600;letter-spacing:-.8px;margin:0 0 8px}.subtitle{color:var(--muted);font-size:12px;margin:0}.primary{background:var(--green);color:white;padding:12px 19px;border-radius:8px;display:inline-flex;align-items:center;gap:8px;font-size:12px}.primary:hover{background:#224633}.secondary{border:1px solid #dce3d9;border-radius:7px;padding:9px 13px;font-size:12px;background:#fff}.hero{background:#eaf0e4;position:relative;min-height:200px;border-radius:15px;overflow:hidden;display:flex;align-items:center;padding:28px 33px;margin-bottom:23px}.hero-copy{position:relative;z-index:1;max-width:60%}.eyebrow{font-size:10px;letter-spacing:2px;color:#7c9475;margin-bottom:12px}.hero h2{font-size:24px;line-height:1.5;font-weight:500;margin:0 0 10px}.hero p{color:#7f8d78;font-size:12px;line-height:1.8;margin:0 0 18px}.household{display:flex;align-items:center;color:#778674;font-size:11px;gap:9px}.avatar-stack{display:flex;padding-left:5px}.avatar-stack .avatar{margin-left:-5px;width:27px;height:27px;font-size:10px;border-color:#eaf0e4}.room-art{position:absolute;right:1%;bottom:0;width:40%;height:200px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:26px}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:19px 20px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#7f897f;font-size:12px}.stat-icon{padding:7px;border-radius:8px;background:#f3f6ee;color:#7c9679}.stat:nth-child(2) .stat-icon{background:#fcf1e5;color:#c89e6c}.stat:nth-child(3) .stat-icon{background:#eaf1f7;color:#7b99af}.stat:nth-child(4) .stat-icon{background:#f1ecf6;color:#9c8cab}.stat strong{font-size:29px;font-weight:500;display:block;margin:6px 0 7px;letter-spacing:-1px}.stat strong small{font-size:12px;margin-left:4px;color:#929b91;font-weight:400;letter-spacing:0}.stat-foot{color:#9da39a;font-size:10px}.stat-foot em{font-style:normal;color:#658568}.dashboard-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:23px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.panel h2{font-size:15px;margin:0;font-weight:600}.text-link{color:#959e92;font-size:11px}.text-link:hover{color:var(--green)}.tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin-bottom:4px}.tabs button{padding:0 0 12px;color:#9ba298;font-size:11px;border-bottom:2px solid transparent}.tabs .selected{color:var(--green);border-color:var(--green)}.bill{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #f0f1ed}.bill:last-child{border:0;padding-bottom:2px}.tile-icon{background:#f3f3ed;border-radius:10px;width:41px;height:41px;display:grid;place-items:center;color:#8c9a7d;flex-shrink:0}.bill:nth-child(2n) .tile-icon{background:#eef3f6;color:#819fa7}.bill-info{flex:1;min-width:0}.bill-info b{display:block;font-size:12px;font-weight:500;margin-bottom:5px}.bill-info small{color:#9ba299;font-size:10px}.bill-money{text-align:right}.bill-money b{font-size:14px;font-weight:500;display:block;margin-bottom:5px}.badge{font-size:9px;padding:3px 7px;border-radius:4px;background:#f8eddf;color:#bd935e;white-space:nowrap}.badge.done{background:#edf3e9;color:#729268}.bill button{padding:8px 0 8px 8px;color:#939d91}.week{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-bottom:20px}.day{text-align:center;font-size:10px;color:#a0a698;border-radius:9px;padding:9px 0}.day strong{display:block;font-size:13px;font-weight:500;margin-top:8px;color:#64725f}.day.today{background:var(--green);color:#c4d3c2}.day.today strong{color:white}.chore{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:14px 0}.check{width:19px;height:19px;border:1px solid #d9dfd3;border-radius:6px;display:grid;place-items:center;flex-shrink:0;font-size:12px;padding:0}.check.checked{background:#e7efdf;color:#6b8b58;border-color:#e7efdf}.chore-info{flex:1}.chore-info b{font-weight:400;font-size:12px}.chore-info small{display:block;color:#9ea598;font-size:10px;margin-top:5px}.struck{text-decoration:line-through;color:#a3ac9c}.chore .avatar{width:27px;height:27px;font-size:10px}.hint{padding:10px 13px;border-radius:7px;background:#f6f7f2;font-size:10px;color:#8b977e;line-height:1.7}.item-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.supply{border:1px solid var(--line);border-radius:10px;padding:14px;position:relative}.supply-emoji{font-size:27px;margin:4px 0 13px}.supply b{font-size:11px;font-weight:500}.supply small{display:block;color:#a0a599;font-size:9px;margin:7px 0 12px}.supply button{font-size:10px;border-radius:5px;background:#eef3e7;color:#6e8660;padding:6px 9px;width:100%}.supply.low button{background:#fbefdf;color:#b39467}.supply .badge{position:absolute;right:9px;top:10px;font-size:8px}.agreement-preview{background:#f8f8f2;padding:17px 19px;border-radius:10px}.agreement-preview h3{font-size:13px;margin:0 0 11px;font-weight:500}.agreement-preview p{font-size:11px;color:#959c8c;line-height:1.9;margin:0 0 15px}.agreement-meta{display:flex;justify-content:space-between;align-items:center}.footer{display:flex;justify-content:space-between;color:#b2b7ac;font-size:10px;margin-top:24px}.full-list{display:grid;gap:18px}.module-summary{padding:22px;background:var(--sage);border-radius:12px;margin-bottom:22px;line-height:1.9;color:#677d60}.module-summary strong{color:var(--green)}.rules{display:grid;grid-template-columns:1fr 1fr;gap:20px}.rule h3{font-size:16px}.rule p{line-height:1.9;color:#899282}.rule footer{display:flex;justify-content:space-between;align-items:center;margin-top:25px}.empty{padding:40px;text-align:center;color:#9ba394}.notification{border-bottom:1px solid var(--line);padding:15px 0;font-size:13px;line-height:1.9}dialog{border:1px solid var(--line);border-radius:17px;padding:28px;width:min(480px,calc(100% - 32px));color:var(--ink);box-shadow:0 25px 100px #213c3320}dialog::backdrop{background:#243a3245;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.dialog-head h2{margin:0;font-size:20px}.form-field{display:block;margin:16px 0;font-size:12px}.form-field input,.form-field select,.form-field textarea{display:block;width:100%;border:1px solid #dfe5da;background:#fafbf8;color:var(--ink);padding:11px;border-radius:7px;margin-top:8px;outline-color:#9dbb91}.form-field textarea{min-height:100px;resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.split-options{display:flex;gap:15px;font-size:12px;flex-wrap:wrap}.split-options input{accent-color:var(--green)}.split-preview{background:var(--sage);padding:13px;margin-top:17px;border-radius:8px;font-size:12px;line-height:1.8}.details{line-height:2;font-size:13px}.detail-row{display:flex;justify-content:space-between;padding:9px 0;border-bottom:1px solid var(--line)}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:var(--green);color:#fff;border-radius:9px;padding:13px 23px;opacity:0;pointer-events:none;transition:.2s;z-index:10;font-size:13px}#toast.show{opacity:1;transform:translate(-50%,0)}.mobile-brand{display:none}@media(min-width:1500px){.content{padding-top:40px}.hero{min-height:230px}.room-art{height:230px}.panel{padding:27px}}@media(max-width:1100px){.sidebar{width:195px;padding:30px 16px}.main{margin-left:195px}.topbar{padding:0 25px}.content{padding:28px 25px}.stat{padding:16px 14px}.dashboard-grid{gap:16px}.panel{padding:18px}.hero{padding:25px}.hero h2{font-size:21px}.top-right>span{display:none}}@media(max-width:800px){.sidebar{width:75px;padding:25px 10px}.brand{padding:0;justify-content:center}.brand>div:last-child,.home-select,.nav-label,nav button span,.sidebar-bottom{display:none}nav{margin-top:35px}nav button{justify-content:center;padding:15px}.main{margin-left:75px}.dashboard-grid{grid-template-columns:1fr}.hero-copy{max-width:65%}.room-art{width:43%;opacity:.8}.stats{gap:10px}.stat strong{font-size:23px}.stat-top{font-size:10px}.stat-icon{display:none}.rules{grid-template-columns:1fr}}@media(max-width:540px){.sidebar{inset:auto 0 0;width:100%;height:67px;padding:3px 7px;border-top:1px solid var(--line);border-right:0}.brand{display:none}nav{display:flex;margin:0;justify-content:space-around}nav button{flex-direction:column;gap:4px;padding:7px 4px;margin:0;border-radius:7px;font-size:9px;width:20%}nav button span:not(.nav-num){display:block}nav button svg{width:19px;height:19px}.main{margin-left:0;padding-bottom:67px}.topbar{height:61px;padding:0 20px}.content{padding:25px 18px 20px}.page-head{align-items:flex-start}h1{font-size:23px}.subtitle{font-size:10px}.primary{padding:10px 13px;font-size:11px}.hero{min-height:190px;padding:21px}.hero h2{font-size:19px}.hero p{font-size:10px}.hero-copy{max-width:76%}.room-art{width:50%;right:-8%;opacity:.45}.eyebrow{font-size:8px}.household{font-size:9px}.stats{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:18px}.stat{padding:15px}.stat-icon{display:block}.stat strong{font-size:25px}.stat-top{font-size:11px}.item-grid{gap:7px}.supply{padding:11px}.footer{font-size:8px;gap:10px}.panel{padding:18px}.top-right{gap:8px}.rules{gap:13px}}@media(prefers-reduced-motion:no-preference){.content{animation:appear .4s ease-out}@keyframes appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
