:root{--text:#0f172a;--muted:#64748b;--line:#dbe4ee;--shadow:0 10px 30px #0f172a14;--card:#ffffffeb}*{box-sizing:border-box}body{color:var(--text);background:linear-gradient(#e0f2fe,#fff,#f1f5f9);min-height:100vh;margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,sans-serif}button,input{font:inherit}button{color:#fff;cursor:pointer;background:#111827;border:0;border-radius:16px;justify-content:center;align-items:center;gap:8px;min-height:46px;padding:11px 16px;font-weight:700;display:inline-flex}button.secondary{color:var(--text);border:1px solid var(--line);background:#fff}button.success{background:#16a34a}button.small{min-height:38px;padding:8px 12px;font-size:.92rem}button:active{transform:translateY(1px)}input{border:1px solid var(--line);background:#fff;border-radius:14px;width:100%;min-height:46px;padding:10px 14px}a{color:#0369a1;font-weight:700}h1,h2,h3,p{margin:0}h1{letter-spacing:-.04em;font-size:clamp(2rem,4vw,3.1rem);line-height:1.05}h2{font-size:1.6rem}h3{font-size:1.24rem}.page{min-height:100vh;padding:18px}.shell{gap:18px;max-width:1180px;margin:0 auto;display:grid}.card{background:var(--card);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #ffffffb3;border-radius:28px;overflow:hidden}.card-content{padding:22px}.stack{gap:16px;display:grid}.header-row,.split-row,.button-row,.stat-head,.mission-head,.subhead{align-items:center;gap:12px;display:flex}.header-row,.split-row,.mission-head{justify-content:space-between}.header-row,.button-row{flex-wrap:wrap}.eyebrow{color:#0369a1;align-items:center;gap:8px;margin-bottom:10px;font-weight:700;display:inline-flex}.reward-eyebrow{color:#7c2d12}.hero-copy,.muted{color:var(--muted)}.hero-copy{max-width:760px;margin-top:10px;font-size:1.05rem}.badge{color:#334155;white-space:nowrap;background:#eef2ff;border-radius:999px;align-items:center;gap:7px;width:fit-content;padding:7px 11px;font-size:.9rem;font-weight:800;display:inline-flex}.badge.outline{border:1px solid var(--line);background:#fff}.badge.gold{color:#78350f;background:#fef3c7}.badge.selected-badge{color:#14532d;background:#dcfce7}.task-grid,.long-grid,.mission-grid,.stats-grid,.reward-grid{gap:16px;display:grid}.task-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.long-grid,.mission-grid,.reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.top-grid{grid-template-columns:1.55fr 1fr;gap:16px;display:grid}.stats-grid,.stats-grid.four-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.task-tile{border:1px solid var(--line);background:#fff;border-radius:22px;align-items:flex-start;gap:12px;min-height:88px;padding:16px;display:flex;box-shadow:0 4px 14px #0f172a0a}.task-tile.done{background:#ecfdf5;border-color:#bbf7d0}.task-title{font-size:1.08rem;font-weight:800;line-height:1.3}.task-tile.done .task-title{color:var(--muted);text-decoration:line-through}.task-note{color:var(--muted);margin-top:6px;font-size:.94rem}.task-body{flex:1}.weekly-chore-tile{gap:14px;min-height:150px;display:grid}.weekly-chore-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.week-box-row{grid-template-columns:repeat(7,1fr);gap:7px;display:grid}.day-box-wrap{color:var(--muted);justify-items:center;gap:6px;font-size:.78rem;font-weight:800;display:grid}.day-box{appearance:none;background:#fff;border:2px solid #cbd5e1;border-radius:9px;width:30px;height:30px;min-height:30px;padding:0}.day-box:checked{background:#22c55e;border-color:#16a34a;box-shadow:inset 0 0 0 5px #fff}.check{accent-color:#16a34a;width:26px;height:26px;margin-top:2px}.small-check{width:22px;height:22px}.icon-btn{color:#475569;border:1px solid var(--line);background:#f8fafc;border-radius:999px;width:40px;min-width:40px;height:40px;padding:0}.add-row,.volunteer-form{border:2px dashed var(--line);background:#ffffffb8;border-radius:22px;grid-template-columns:1fr auto;gap:12px;padding:14px;display:grid}.add-row.with-note{grid-template-columns:1fr 1fr auto}.volunteer-form.expanded{grid-template-columns:1fr .7fr 1fr 1fr}.volunteer-form.expanded input:nth-child(5),.volunteer-form.expanded input:nth-child(6){grid-column:span 2}.volunteer-form.expanded button{grid-column:1/-1}.stat{border-radius:22px;gap:10px;padding:18px;display:grid}.slate{background:#f8fafc}.violet{background:#f5f3ff}.amber{background:#fffbeb}.sky{background:#f0f9ff}.big-number{font-size:2rem;font-weight:900;line-height:1}.progress{background:#dbeafe;border-radius:999px;height:10px;overflow:hidden}.progress span{background:linear-gradient(90deg,#38bdf8,#6366f1);border-radius:999px;height:100%;display:block}.bonus-stat{background:#f0fdf4}.bonus-list{gap:8px;display:grid}.bonus-item{border:1px solid var(--line);background:#fff;border-radius:16px;justify-content:space-between;align-items:center;gap:8px;padding:10px;display:flex}.bonus-item label{align-items:center;gap:8px;display:flex}.bonus-item span{gap:2px;display:grid}.bonus-item em{color:var(--muted);font-size:.84rem;font-style:normal}.bonus-item.earned{background:#ecfdf5;border-color:#86efac}.bonus-add{gap:8px;display:grid}.volunteer-log{gap:10px;max-height:360px;padding-right:4px;display:grid;overflow:auto}.log-item{border:1px solid var(--line);background:#fff;border-radius:16px;grid-template-columns:1fr auto;align-items:center;gap:10px;padding:12px 14px;display:grid}.log-item p{color:var(--muted);align-items:center;gap:6px;margin-top:4px;font-size:.92rem;display:flex}.volunteer-entry{grid-template-columns:1fr auto}.volunteer-entry .submitted-check,.volunteer-entry .icon-btn{justify-self:end}.submitted-check{color:#475569;align-items:center;gap:7px;font-weight:800;display:inline-flex}.submitted-check input{accent-color:#16a34a;width:20px;height:20px;min-height:20px}.volunteer-entry.submitted{background:#f0fdf4;border-color:#86efac}.small-copy{font-size:.9rem}.reward-card{border:2px solid #fbbf2459}.reward-choice{border:1px solid var(--line);background:#fff;border-radius:24px;grid-template-columns:190px 1fr;gap:16px;padding:14px;display:grid}.reward-choice.selected{border-color:#22c55e;box-shadow:0 0 0 5px #22c55e14}.reward-image{background:#fff7ed;border:1px solid #fed7aa;border-radius:20px;place-items:center;min-height:190px;display:grid;overflow:hidden}.reward-image img{object-fit:cover;width:100%;height:100%}.reward-placeholder{color:#9a3412;text-align:center;place-items:center;gap:8px;padding:22px;font-weight:800;display:grid}.reward-link,.selected-reward-banner{align-items:center;gap:8px;display:inline-flex}.selected-reward-banner{color:#14532d;background:#ecfdf5;border:1px solid #bbf7d0;border-radius:18px;padding:12px 14px;font-weight:700}.reward-add{width:fit-content}.tabs{gap:16px;display:grid}.tab-bar{background:#e2e8f0;border-radius:18px;grid-template-columns:1fr 1fr;gap:6px;padding:6px;display:grid}.tab-bar button{color:var(--text);background:0 0;border-radius:14px}.tab-bar button.active{box-shadow:var(--shadow);background:#fff}.mission-summary{margin-bottom:16px}.badge-row{flex-wrap:wrap;gap:10px;display:flex}.mission-card{border:2px solid #0000}.mission-card.selected{box-shadow:0 0 0 5px #22c55e14, var(--shadow);border-color:#22c55e}.mission-topbar{background:linear-gradient(90deg,#38bdf8,#8b5cf6,#10b981);height:8px}.mission-content{gap:14px;display:grid}.mission-head p{color:var(--muted);margin-top:6px}.mission-head h3{margin-top:10px}.mission-icon{color:#0369a1;background:#e0f2fe;border-radius:18px;place-items:center;width:54px;min-width:54px;height:54px;display:grid}.subcard,.steps-card{border-radius:22px;gap:12px;padding:16px;display:grid}.subcard{background:#f8fafc}.steps-card{background:#ecfdf5}.video-player{background:#111827;border-radius:18px;width:100%;max-height:260px}.step-list{gap:10px;display:grid}.step-item{background:#fff;border-radius:16px;align-items:center;gap:12px;padding:12px 14px;display:flex}.step-item.done span{color:var(--muted);text-decoration:line-through}@media (width<=1100px){.top-grid,.task-grid,.stats-grid,.long-grid,.mission-grid,.reward-grid{grid-template-columns:1fr 1fr}.reward-choice{grid-template-columns:1fr}.volunteer-form.expanded{grid-template-columns:1fr 1fr}.volunteer-form.expanded input:nth-child(5),.volunteer-form.expanded input:nth-child(6),.volunteer-form.expanded button{grid-column:span 2}}@media (width<=720px){.page{padding:14px}.card-content{padding:18px}.top-grid,.task-grid,.stats-grid,.long-grid,.mission-grid,.reward-grid,.add-row,.add-row.with-note,.volunteer-form.expanded,.log-item{grid-template-columns:1fr}.volunteer-form.expanded input:nth-child(5),.volunteer-form.expanded input:nth-child(6),.volunteer-form.expanded button{grid-column:auto}.button-row{width:100%}.button-row button{flex:1}.week-box-row{gap:5px}.day-box{width:28px;height:28px;min-height:28px}}
