:root{color:#17273a;font-synthesis:none;background:#f6f7f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 10% 0,#fff8d6 0,#0000 28%),#f6f7f2;min-width:320px;margin:0}button{font:inherit}.app{min-height:100vh;padding-bottom:90px}.topbar{color:#fff;background:#10293d;justify-content:space-between;align-items:center;height:78px;padding:0 max(24px,50vw - 590px);display:flex;box-shadow:0 4px 20px #10293d22}.brand{color:#fff;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;font-size:22px;font-weight:900;display:flex}.duck-logo{background:#ffd84d;border-radius:14px;place-items:center;width:42px;height:42px;display:grid}.profile-chip{align-items:center;gap:10px;display:flex}.profile-chip span:last-child{flex-direction:column;display:flex}.profile-chip small{opacity:.65;font-size:11px}.avatar{color:#10293d;background:#4ec7b2;border-radius:50%;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.avatar-riley{background:#ffadad}.avatar-grace{background:#b9a7ff}.avatar-taylor{background:#93d8ff}.avatar-michael{background:#ffd84d}main{max-width:1180px;margin:auto;padding:0 24px}.hero{color:#fff;background:#173c54;border-radius:26px;justify-content:space-between;align-items:center;margin:34px 0 46px;padding:42px 48px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 44px #173c5425}.hero:after{content:"🦆";opacity:.08;font-size:145px;position:absolute;bottom:-42px;right:255px;transform:rotate(-12deg)}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-2px;margin-bottom:14px;font-size:clamp(34px,5vw,56px);line-height:1}h2{letter-spacing:-.8px;font-size:27px}.hero p:last-child,.page-header>p:last-child{color:#c2d4de;margin:0}.eyebrow{letter-spacing:1.8px;color:#da0;margin-bottom:10px;font-size:11px;font-weight:900}.balance-card{color:#10293d;z-index:1;background:#ffd84d;border-radius:22px;flex-direction:column;min-width:210px;padding:24px 28px;display:flex;box-shadow:inset 0 0 0 1px #fff7}.balance-card>span,.balance-card small{text-transform:uppercase;letter-spacing:1px;font-size:12px;font-weight:800}.balance-card strong{font-size:54px;line-height:1.1}.balance-card strong b{margin-right:5px;font-size:26px}.section-heading{justify-content:space-between;align-items:end;margin:32px 0 18px;display:flex}.section-heading h2{margin:0}.text-button{color:#177d70;cursor:pointer;background:0 0;border:0;font-weight:800}.card-grid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}.chore-card,.reward-card,.admin-panel{background:#fff;border:1px solid #e2e5dd;border-radius:20px;padding:22px;box-shadow:0 8px 24px #1d34490a}.card-top{justify-content:space-between;align-items:start;display:flex}.card-icon{background:#f4f3e8;border-radius:13px;place-items:center;width:50px;height:50px;font-size:28px;display:grid}.buck-pill{background:#fff7ca;border:1px solid #f2dd7b;border-radius:99px;padding:7px 10px;font-size:13px;font-weight:900}.chore-card h3,.reward-card h3{margin:18px 0 8px}.chore-card p{color:#657180;min-height:42px;font-size:14px;line-height:1.5}.chore-card button,.reward-card button{color:#fff;cursor:pointer;background:#173c54;border:0;border-radius:12px;width:100%;padding:11px 14px;font-weight:800}.chore-card button:disabled,.reward-card button:disabled{color:#64706d;cursor:default;background:#dfe4df}.price{color:#177d70;font-size:20px;font-weight:900}.split-section{grid-template-columns:1.5fr 1fr;gap:26px;margin-top:28px;display:grid}.transaction-list,.family-card{background:#fff;border:1px solid #e2e5dd;border-radius:20px;overflow:hidden}.transaction,.family-row{border-bottom:1px solid #eef0ea;align-items:center;gap:12px;padding:15px 18px;display:flex}.transaction:last-child,.family-row:last-child{border:0}.transaction>span:nth-child(2){flex-direction:column;flex:1;display:flex}.transaction small{color:#87909a;margin-top:2px}.transaction-icon{border-radius:11px;place-items:center;width:36px;height:36px;font-weight:900;display:grid}.earned{color:#167360;background:#dff6ec}.spent{color:#a85e12;background:#fff0df}.positive{color:#167360}.negative{color:#a85e12}.family-card{padding:22px}.family-card h2{margin-bottom:13px}.family-row{padding:10px 0}.family-row>span:nth-child(2){flex:1;font-weight:750}.page-header{color:#fff;background:#173c54;border-radius:25px;margin:34px 0;padding:38px 42px}.page-header h1{font-size:45px}.reward-card{text-align:center}.reward-card .card-icon{margin:auto}.admin-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.admin-panel span{color:#177d70;font-size:44px;font-weight:900}.admin-panel button{color:#173c54;background:0 0;border:0;padding:0;font-weight:800}nav{z-index:10;background:#10293d;border-radius:18px;padding:7px;display:flex;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 12px 32px #10293d44}nav button{color:#adbac3;cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:4px;min-width:82px;padding:9px 12px;font-size:11px;font-weight:800;display:flex}nav button span{font-size:18px}nav button.active{color:#10293d;background:#ffd84d}.loading{text-align:center;color:#173c54;place-content:center;gap:12px;min-height:100vh;display:grid}.loading span{font-size:64px}.notice{z-index:20;color:#fff;border:0;border-radius:12px;padding:12px 16px;font-weight:750;position:fixed;top:88px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #10293d33}.notice.ok{background:#177d70}.notice.error{background:#a53c33}.notice span{margin-left:20px}.status-label{text-align:center;color:#47625d;background:#edf3f1;border-radius:10px;padding:10px;font-size:13px;font-weight:750;display:block}.empty{color:#71807d;background:#fff;border:1px solid #e2e5dd;border-radius:18px;padding:28px}.empty-inline{color:#71807d}.approval-grid,.management-grid{grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;display:grid}.form-grid{grid-template-columns:repeat(2,1fr);gap:18px;margin-bottom:18px;display:grid}.admin-section{background:#fff;border:1px solid #e2e5dd;border-radius:20px;padding:22px;box-shadow:0 8px 24px #1d34490a}.admin-section h2{font-size:21px}.admin-section h2 span{background:#ffd84d;border-radius:99px;place-items:center;min-width:29px;height:29px;font-size:13px;display:inline-grid}.admin-section label{flex-direction:column;gap:6px;margin:12px 0;font-size:12px;font-weight:850;display:flex}.admin-section input,.admin-section select{color:#17273a;background:#fff;border:1px solid #ccd4ce;border-radius:10px;padding:11px}.admin-section>button,.approval-row button,.manage-row button{color:#fff;cursor:pointer;background:#173c54;border:0;border-radius:10px;padding:10px 13px;font-weight:800}.secondary{color:#30483f!important;background:#e9eeeb!important}.field-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.approval-row,.manage-row{border-top:1px solid #edf0eb;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;display:flex}.approval-row>span,.manage-row>span{flex-direction:column;display:flex}.approval-row small,.manage-row small{color:#7a8580;margin-top:3px}.approval-row>div{gap:6px;display:flex}.login-page{background:radial-gradient(circle at top,#fff8cc,#f2f6fb 62%);place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{background:#fff;border-radius:24px;gap:16px;width:min(420px,100%);padding:34px;display:grid;box-shadow:0 18px 60px #172b4d24}.login-card h1,.login-card p{margin:0}.login-card label{color:#10293d;gap:6px;font-weight:700;display:grid}.login-card input{width:100%;font:inherit;border:1px solid #cdd6e4;border-radius:12px;padding:12px 14px}.login-card button{color:#fff;font:inherit;background:#10293d;border:0;border-radius:12px;padding:13px;font-weight:800}.login-duck{font-size:48px}.login-error{color:#a22;font-weight:700}@media (width<=780px){.topbar{padding:0 18px}.profile-chip small{display:none}main{padding:0 14px}.hero{flex-direction:column;align-items:start;gap:25px;margin-top:18px;padding:28px}.balance-card{width:100%}.card-grid,.split-section,.admin-grid,.approval-grid,.form-grid,.management-grid{grid-template-columns:1fr}.page-header{padding:28px}.page-header h1{font-size:38px}nav{justify-content:space-around;width:calc(100% - 18px);bottom:8px}nav button{flex:1;min-width:0}.section-heading{align-items:center}.notice{width:calc(100% - 28px);top:84px}}.catalog-manager{min-width:0}.management-help{color:#6a7785;font-size:13px;line-height:1.45}.manage-item+.manage-item{border-top:1px solid #e7ebef}.manage-row{flex-wrap:wrap;gap:12px}.manage-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px;display:flex}.manage-actions button,.editor-actions button{width:auto}.danger{color:#fff!important;background:#a52b2b!important;border-color:#a52b2b!important}.danger.secondary{color:#a52b2b!important;background:#fff!important}.catalog-editor{background:#f6f8fa;border:1px solid #dce3e9;border-radius:14px;gap:12px;margin:0 0 16px;padding:16px;display:grid}.catalog-editor h3{margin:0}.catalog-editor label{gap:6px;font-size:13px;font-weight:800;display:grid}.catalog-editor input,.catalog-editor select{width:100%;font:inherit;background:#fff;border:1px solid #c8d2dc;border-radius:10px;padding:10px}.catalog-editor .checkbox-label{align-items:center;gap:9px;display:flex}.catalog-editor .checkbox-label input{width:auto}.editor-actions{flex-wrap:wrap;gap:8px;display:flex}@media (width<=780px){.manage-row{align-items:flex-start}.manage-row>span{width:100%}.manage-actions{justify-content:flex-start;width:100%}.manage-actions button{flex:1;min-width:88px}.catalog-editor .field-row{grid-template-columns:1fr}}
