:root{color-scheme:light;--bg:#f5f8f6;--paper:#fff;--ink:#173d39;--muted:#56716c;--mint:#dff1e9;--accent:#166e61;--line:#dce7e1;font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.55}a{color:inherit}svg{width:24px;height:24px;flex-shrink:0}button,input{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border:0;border-radius:12px;padding:12px 20px;background:var(--accent);color:white;font-weight:650;cursor:pointer;text-decoration:none}button:hover,.button:hover{background:#105b50}.secondary{background:var(--mint);color:var(--ink)}.secondary:hover{background:#cbe7da}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #287fbe;outline-offset:4px}.skip{position:absolute;left:12px;top:-80px;background:white;padding:12px;z-index:20}.skip:focus{top:12px}.topbar{height:86px;padding:0 max(24px,calc((100vw - 1000px)/2));border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#f5f8f6}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-weight:750;letter-spacing:-.5px}.brand svg{width:32px;height:32px;color:var(--accent)}.profile-actions{display:flex;align-items:center;gap:16px}.admin-link{font-size:.85rem;text-decoration:none;min-height:44px;display:flex;align-items:center}.profile-menu{position:relative}.profile-menu summary{list-style:none;border-radius:50%;width:44px;height:44px;background:var(--mint);display:flex;align-items:center;justify-content:center;font-weight:700;cursor:pointer}.profile-menu summary::-webkit-details-marker{display:none}.profile-popover{position:absolute;right:0;top:54px;width:210px;padding:20px;border-radius:16px;background:white;box-shadow:0 8px 35px #13372b20;z-index:10;border:1px solid var(--line)}.profile-popover a{display:block;padding:12px 0}.text-button{background:transparent;color:var(--ink);padding:10px 0}.text-button:hover{background:transparent;text-decoration:underline}main{max-width:1000px;margin:auto;padding:38px 24px 130px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:.7rem;font-weight:750;color:var(--accent);margin:0 0 8px}h1{font-size:2.25rem;line-height:1.15;letter-spacing:-1.4px;font-weight:650;margin:0 0 14px}h2{font-size:1.1rem;line-height:1.35;letter-spacing:-.3px;margin:0}p{margin:12px 0}.subtitle{color:var(--muted);font-size:1rem}.today-line{display:flex;justify-content:space-between;margin:28px 0 16px;font-size:.76rem;color:var(--muted)}.overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.overview-card{display:block;border:1px solid var(--line);background:var(--paper);border-radius:22px;padding:24px;text-decoration:none;min-width:0}.overview-card:hover{border-color:#90baac}.card-heading{display:flex;gap:12px;align-items:center}.icon-tile{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:var(--mint);border-radius:13px;color:var(--accent)}.arrow{margin-left:auto;color:var(--muted)}.arrow svg{width:18px}.overview-card>p{font-size:.9rem;color:var(--muted);margin:18px 0}.module-status{display:inline-block;background:#eef3f0;color:#52665d;border-radius:7px;padding:5px 9px;font-size:.69rem;font-weight:600}.trophy-card{background:#e8f2ed}.trophy-card .icon-tile{background:#d4e8dd}.trophy-stats{margin:18px 0 0}.trophy-stats div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #d2e3d9;font-size:.77rem}.trophy-stats dd{margin:0;color:var(--muted);text-align:right}.page-footnote{font-size:.75rem;color:var(--muted);text-align:center;margin:26px auto}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:5;display:flex;justify-content:center;background:#fff;border-top:1px solid var(--line);padding:8px 12px calc(8px + env(safe-area-inset-bottom))}.bottom-nav a{width:150px;min-width:0;min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;color:var(--muted);font-size:.7rem;border-radius:13px}.bottom-nav a[aria-current]{color:var(--accent);background:#e6f3ed;font-weight:700}.panel{background:white;border:1px solid var(--line);border-radius:22px;padding:24px;margin:20px 0}.narrow{max-width:600px}label{display:flex;flex-direction:column;font-size:.87rem;gap:7px;margin:18px 0;font-weight:550}input{width:100%;min-width:0;border:1px solid #b5ccc2;background:#fcfefd;border-radius:10px;min-height:49px;padding:10px 12px;color:var(--ink)}.check{display:flex;flex-direction:row;align-items:center;gap:10px}.check input{width:21px;min-height:21px;height:21px;accent-color:var(--accent)}fieldset{border:1px solid var(--line);border-radius:12px;margin:24px 0;padding:16px}legend{font-weight:700;padding:0 8px}.small{font-size:.78rem}.muted{color:var(--muted)}.auth-main{max-width:470px;padding-top:65px}.auth-brand{display:flex;align-items:center;gap:10px;font-weight:700;color:var(--accent);margin-bottom:45px}.auth-brand svg{width:34px;height:34px}.auth-main h1{font-size:2.35rem}.auth-form button{width:100%;margin-top:12px}.auth-footer{display:flex;align-items:center;justify-content:center;font-size:.75rem;gap:8px;color:var(--muted)}.auth-footer svg{width:16px}.notice{border:1px solid #c5ad63;border-radius:12px;background:#fff8de;padding:16px;margin:22px 0}.scope-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}.scope-tabs a{min-height:44px;display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:12px;padding:9px 16px;text-decoration:none;font-size:.85rem}.scope-tabs a[aria-current]{background:var(--mint);border-color:#99c3b3}.scope-label{font-size:.82rem;color:var(--muted);margin-top:18px}.empty-state{text-align:center;padding:48px 24px}.large-icon{display:inline-flex;background:var(--mint);border-radius:20px;padding:20px;margin-bottom:20px}.large-icon svg{width:36px;height:36px}.empty-state p{color:var(--muted);font-size:.9rem;max-width:440px;margin:16px auto}.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.account-grid .panel{margin:0}.update-bar{position:fixed;bottom:95px;left:20px;right:20px;max-width:650px;margin:auto;z-index:8;background:#173d39;color:white;padding:16px;border-radius:16px;box-shadow:0 8px 30px #13372b30}.update-bar button{margin-top:8px;background:white;color:var(--ink)}[hidden]{display:none!important}.sync-status:empty{display:none}.sync-status{position:fixed;bottom:85px;left:20px;right:20px;font-size:.78rem;text-align:center;padding:10px;background:#fff8de;border-radius:10px;z-index:7}@media(max-width:640px){.topbar{height:72px;padding:0 20px}.brand{font-size:.92rem}.brand svg{width:27px}.profile-actions{gap:12px}.admin-link{font-size:.73rem}main{padding:28px 20px 118px}h1{font-size:2rem}.overview-grid,.account-grid{grid-template-columns:1fr;gap:14px}.overview-card{padding:20px;border-radius:19px}.overview-card>p{margin:14px 0}.today-line{margin-top:24px}.bottom-nav{padding-left:8px;padding-right:8px}.bottom-nav a{flex:1;font-size:.64rem}.bottom-nav svg{width:22px;height:22px}.auth-main{padding-top:40px}.auth-main h1{font-size:2.1rem}.auth-brand{margin-bottom:34px}.panel{padding:20px}.trophy-stats div{font-size:.74rem}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media print{.topbar,.bottom-nav,.update-bar,.sync-status{display:none}main{padding:0}.overview-card{break-inside:avoid}}
/* Module 02: reuse foundation colours, cards and navigation. */
select,textarea{font:inherit;max-width:100%;min-width:0;width:100%;border:1px solid #b5ccc2;background:#fcfefd;color:var(--ink);border-radius:10px;padding:12px;min-height:49px}textarea{resize:vertical}select:focus-visible,textarea:focus-visible{outline:3px solid #287fbe;outline-offset:3px}h1,h2,h3,p,a,td{overflow-wrap:anywhere}h3{font-size:1rem;margin:0 0 8px}.module-links{display:flex;flex-wrap:wrap;gap:8px 20px;border-bottom:1px solid var(--line);padding-bottom:16px}.module-links a,.module-more{font-size:.85rem;display:inline-flex;align-items:center;min-height:44px}.list-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:22px 0}.list-actions .scope-tabs{margin:0}.search-form{display:flex;gap:12px;align-items:end;margin-bottom:20px}.search-form label{flex:1;margin:0}.entry-list{display:grid;grid-template-columns:1fr 1fr;gap:16px}.entry-card{display:block;padding:22px;border:1px solid var(--line);background:white;border-radius:18px;text-decoration:none;min-width:0}.entry-card:hover{border-color:#7ba997}.entry-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:14px;font-size:.8rem}.type-badge{display:inline-block;font-size:.74rem;font-weight:650;border-radius:7px;padding:4px 9px}.type-badge.todo{color:#236c62;background:#e4f3ed}.type-badge.exam{color:#535298;background:#efedfa}.entry-card h2{font-size:1.14rem}.entry-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.learning{display:inline-block;font-size:.78rem;font-weight:650;padding:4px 8px;border-radius:7px}.learning.red{color:#a13333;background:#fff0ed}.learning.yellow{color:#755405;background:#fff4ce}.learning.green{color:#1a6552;background:#def4e9}.overdue{border-color:#d78e88!important;background:#fff8f6}.overdue .warning-text,.overdue .entry-top>span:last-child{color:#a22e26}.warning-text{font-size:.8rem;color:#876419}.button-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:20px}.button-row form{margin:0}.danger-outline{border:1px solid #c88782;background:white;color:#9b342b}.danger-outline:hover{background:#ffede9}.form-panel{max-width:680px}.detail-date{font-size:1.3rem;font-weight:650}.hint{display:block;padding:14px 10px;border-bottom:1px solid var(--line);text-decoration:none;border-radius:8px;margin-top:10px}.hint span{display:block;font-size:.78rem;margin-top:4px;color:var(--muted)}.hint.overdue span:last-child{color:#a22e26}.hint strong{font-size:.92rem}.file-row{display:flex;flex-direction:column;gap:3px;margin:12px 0}.file-row a{min-height:44px;display:flex;align-items:center}.document-card{border:1px solid var(--line);padding:20px;border-radius:16px;background:white;margin:12px 0;min-width:0}.document-card>a{display:inline-flex;align-items:center;min-height:44px}.filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}.filter-grid label{margin:0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;background:white;font-size:.87rem}th,td{text-align:left;padding:14px 12px;border-bottom:1px solid var(--line);vertical-align:top}th{background:#e8f2ed;font-size:.78rem}summary{cursor:pointer;min-height:44px;padding:10px 0}input[type=file]{font-size:.8rem;padding:10px 6px}.note-text{white-space:normal}.print-sheet{margin-bottom:24px}.print-sheet table{table-layout:fixed}.print-sheet th:first-child{width:25%}.print-sheet th:nth-child(2){width:27%}
@media(max-width:640px){.entry-list{grid-template-columns:1fr}.search-form{align-items:stretch;flex-direction:column}.search-form button{align-self:flex-start}.entry-card{padding:18px}.filter-grid{grid-template-columns:1fr}.button-row>*{max-width:100%}.panel fieldset{padding:12px}.table-wrap table{min-width:520px}h1{letter-spacing:-.8px}.document-card{padding:16px}.print-sheet table{font-size:.73rem}.print-sheet td,.print-sheet th{padding:10px 5px}}
@media print{@page{size:A4;margin:16mm}.no-print,.module-links,.scope-tabs,.skip,body>header,body>nav{display:none!important}body{background:white;color:#172d29;font-size:11pt}main{max-width:none;margin:0;padding:0}.print-sheet h1{font-size:24pt}.print-sheet table{font-size:11pt;table-layout:fixed}.print-sheet th,.print-sheet td{padding:10px 8px}thead{display:table-header-group}tr,.document-card{break-inside:avoid}.print-sheet .eyebrow{color:#333}a{color:inherit;text-decoration:none}}
.module-menu{margin:4px 0 14px;border-bottom:1px solid var(--line);font-size:.85rem}.module-menu summary{font-weight:600}.module-menu .module-links{border:0}.list-search{margin:0 0 16px;font-size:.85rem}.list-search .search-form{margin-top:10px}.list-actions{margin:16px 0}.page-heading+.scope-tabs{margin-top:18px}@media print{.module-menu,.list-search{display:none!important}}
/* Module 03: chores and shared shopping; no scores or rankings. */
.chore-home-warning{background:#fff1ed;border:1px solid #dba59c;border-left:4px solid #b74c3f;color:#8a3026}.chore-home-warning:hover{background:#fbe7e1}
.chore-home-person{border-bottom:1px solid var(--line);padding:12px 0}.chore-home-person>strong{display:block;font-size:.88rem;margin-bottom:4px}.chore-home-task{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;min-height:44px;text-decoration:none;font-size:.8rem;overflow-wrap:anywhere}.chore-home-task:hover{text-decoration:underline}.chore-home-task>span:last-child{flex-shrink:0;color:var(--muted);font-size:.75rem}.chore-home-task>span:first-child{min-width:0}
.chores-tabs{margin-bottom:22px}.chores-section{margin:30px 0}.chores-section>h2{margin-bottom:16px}.chores-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.chores-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.chores-own-grid{grid-template-columns:1fr}.chore-card{min-width:0;border:1px solid var(--line);background:#fff;border-radius:18px;padding:22px;margin:0}.chores-section>.chore-card{margin:14px 0}.chore-card-own{background:#e9f5ee;border-color:#9ac4af}.chore-card h3{font-size:1.15rem;margin:14px 0 9px}.chore-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.chore-status{display:inline-flex;align-items:center;min-height:29px;border:1px solid transparent;border-radius:8px;padding:3px 8px;font-size:.74rem;font-weight:650;white-space:nowrap}.chore-status-open{background:#f1f4f2;color:#536a5f;border-color:#dce5df}.chore-status-done{background:#dcefe3;color:#205a43}.chore-status-suspended{background:#f1f0f7;color:#625c76}.chore-description{font-size:.88rem;line-height:1.65}.chore-done-by{color:#296249}.chore-correct-link{display:inline-flex;align-items:center;min-height:44px;font-size:.79rem}.chores-empty{padding:22px;margin:0;border:1px dashed #bfd1c7;border-radius:16px;font-size:.9rem;color:var(--muted)}.chores-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.chore-person{border:1px solid var(--line);border-radius:16px;padding:18px;background:#fff;min-width:0}.chore-person-heading{display:flex;align-items:center;gap:9px}.chore-person-heading h3{margin:0;font-size:.94rem}.chore-initial{display:grid;place-items:center;flex:0 0 30px;height:30px;border-radius:50%;font-size:.75rem;font-weight:700;background:#e8f2ec;color:#32644d}.chore-person-task{font-size:.82rem;margin:15px 0 9px}.chores-warnings{border:1px solid #dba59c;border-left:5px solid #b74c3f;border-radius:16px;background:#fff1ed;padding:20px;margin:22px 0;color:#8a3026}.chores-warnings h2{font-size:1rem}.chores-warnings p{font-size:.87rem;margin:14px 0 0}.chores-warnings span{display:block;margin-top:4px}.chores-feedback{padding:13px 16px;background:#e1f2e8;border:1px solid #aecdbb;border-radius:12px;color:#245a42;font-size:.85rem}.chores-week-list{display:grid;gap:10px}.chore-day{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff;min-width:0}.chore-day>h3{font-size:.9rem;margin:0 0 12px}.chore-day>h3>span{font-weight:400;color:var(--muted);margin-left:7px;font-size:.77rem}.chore-day-today{border-color:#88b49b}.chore-day-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.83rem;padding:6px 0}.chore-day>.chore-card{margin:12px 0 0}.chore-plan-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;font-size:.87rem}.chore-plan-facts dt{color:var(--muted);font-size:.75rem;margin-bottom:6px}.chore-plan-facts dd{margin:0;overflow-wrap:anywhere}.chore-remove{margin-top:15px}.chore-remove>summary{font-size:.8rem}.chores-week-nav{margin-bottom:18px}.shopping-items{list-style:none;padding:0;margin:16px 0 0}.shopping-items li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:14px 0;border-bottom:1px solid var(--line)}.shopping-items li>span:first-child{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}.shopping-items li>.small{flex:1 1 140px;overflow-wrap:anywhere}.shopping-items li>a{display:inline-flex;align-items:center;min-height:44px;font-size:.85rem}.shopping-items li:last-child{border-bottom:0}.shopping-items li>span{max-width:100%}
@media(max-width:800px){.chores-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.chores-grid{grid-template-columns:1fr}.chore-card{padding:18px}.chore-person{padding:14px}.chore-person-heading{gap:7px}.chore-person-heading h3{font-size:.84rem}.chore-initial{flex-basis:25px;height:25px}.chore-day{padding:14px}.chore-day>.chore-card{padding:14px}.chore-day-summary{align-items:flex-start;flex-wrap:wrap}.chore-plan-facts{grid-template-columns:1fr}.shopping-items li>span:first-child{flex-basis:100%}.chores-section-heading{align-items:flex-start}.chores-section-heading .module-more{font-size:.78rem}.chores-section{margin:26px 0}.list-actions>.button-row{margin-top:0}}
@media print{.chore-card,.chore-person,.chore-day{break-inside:avoid}.chore-card .button-row,.chores-week-nav,.chore-remove{display:none}.chores-family-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* 04: calm, readable stars; numeric scores remain the accessible source of truth. */
.motivation-ranking{list-style:none;padding:0;margin:18px 0}.motivation-ranking li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.motivation-ranking li:last-child{border:0}.motivation-ranking strong{white-space:nowrap;font-variant-numeric:tabular-nums}.motivation-rank{color:var(--muted);font-size:.85rem}.motivation-star,.motivation-points{color:#796019}.motivation-prize{background:#eaf4ee;border-radius:12px;padding:16px;margin:16px 0;overflow-wrap:anywhere}.motivation-prize p{margin:6px 0 0}.motivation-jobs{display:grid;gap:14px}.motivation-job{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff;overflow-wrap:anywhere}.motivation-job h3{margin:0 0 8px}.motivation-job p{margin:6px 0}.motivation-job-action{display:flex;flex-direction:column;gap:12px;align-items:flex-end;justify-content:center}.motivation-job-action form{margin:0}.motivation-completions{list-style:none;padding:0}.motivation-completions>li{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.motivation-completions>li>div{min-width:0}.motivation-completions p{margin:6px 0}.motivation-completions form{margin:0}.motivation-completions details{max-width:100%}.motivation-history{display:flex;flex-direction:column;gap:7px;border-top:1px solid var(--line);padding:18px 0;overflow-wrap:anywhere}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.section-heading h2{margin:0}.motivation-points{font-size:1rem;white-space:nowrap}
@media(max-width:640px){.motivation-job{grid-template-columns:1fr;gap:12px;padding:16px}.motivation-job-action{flex-direction:row;justify-content:space-between;align-items:center;flex-wrap:wrap}.motivation-completions>li{flex-direction:column}.motivation-ranking li{gap:6px;grid-template-columns:22px minmax(0,1fr) auto}.motivation-ranking .small{font-size:.7rem}.motivation-ranking strong{font-size:.86rem}.motivation-completions details{width:100%}}

/* 05: personal hobby lists; no home-page provider or additional client storage. */
.hobby-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.hobby-events,.hobby-packs,.hobby-files{list-style:none;margin:0;padding:0}
.hobby-events li{padding:18px 0;border-bottom:1px solid var(--line,#dce7e1)}
.hobby-events li:last-child{border-bottom:0}
.hobby-event-title{font-size:1.13rem;font-weight:650;text-decoration:none;color:#215849}
.hobby-events p{margin:8px 0}
.hobby-open{color:#78501a;background:#fff5de;padding:10px 12px;border-radius:10px}
.hobby-cancelled{border-left:3px solid #a26464;padding-left:14px!important}
.hobby-cancelled .status-label{color:#833737;font-weight:600}
.hobby-tile{padding:15px 0;border-bottom:1px solid #dce7e1}
.hobby-tile:last-child{border-bottom:0}
.hobby-packs li{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid #dce7e1}
.hobby-packs li>span{flex:1;min-width:130px}
.hobby-packs li>details{width:100%}
.hobby-packs form{margin:0}
.hobby-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hobby-filter{display:flex;flex-wrap:wrap;gap:14px;align-items:end}
.hobby-filter label{flex:1;min-width:150px}
.hobby-text{white-space:pre-wrap}
.hobby-files li{padding:12px 0}
.hobby-goal{padding:10px 0}
.hobby-goal a,.hobby-files a{color:#215849}
.hobby-events,.hobby-tile,.hobby-packs,.hobby-files,.hobby-text,.hobby-goal{overflow-wrap:anywhere}
.hobby-page details{margin:14px 0}
.hobby-page summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:600}
@media(max-width:480px){.hobby-fields{grid-template-columns:1fr}.hobby-actions .button{flex:1 1 auto}.hobby-packs li>form{flex:0 0 auto}}

.hobby-page h1{font-size:clamp(1.6rem,7vw,2.25rem);hyphens:auto}

/* 06: keep all five labels intact on 320 px screens; touch areas remain >=44 px. */
@media(max-width:360px){.bottom-nav{padding-left:4px;padding-right:4px}.bottom-nav a{font-size:10px;white-space:nowrap;overflow-wrap:normal}}

/* FN Familie light refresh 2026-09-17: cream surfaces, forest navigation. */
@media screen {
:root{color-scheme:light;--bg:#f5f2e9;--paper:#ffffff;--ink:#173d32;--muted:#52675b;--mint:#e6eee4;--accent:#776024;--line:#cbd6c8}
body{background:var(--bg)}
.topbar,.bottom-nav{background:#073c2b;color:#fff5df;border-color:#6b774a}
.topbar{height:90px}.brand{gap:12px;color:#fff5df}.brand-logo{width:52px;height:52px;object-fit:contain;border-radius:12px;flex-shrink:0}
.page-heading{padding:4px 0 18px;border-bottom:1px solid var(--line);margin-bottom:24px}
.panel,.overview-card,.entry-card,.document-card,.chore-card,.chore-person,.chore-day,.profile-popover,table,.scope-tabs a{background:var(--paper);color:var(--ink);border-color:var(--line)}
.overview-card,.entry-card,.panel,.chore-card{box-shadow:0 5px 18px #173d320c}
.overview-card:hover,.entry-card:hover{border-color:#8a9e87;background:#f4f7ef}
.trophy-card{background:#f5ecd5;border-color:#c7b379}
.chore-card-own,.chore-day-today{background:#e9f0e4;border-color:#8fa586}
.icon-tile,.large-icon,.chore-initial{background:#e3ebdb;color:#31543b}
.profile-menu summary{background:#285c43;color:#fff0c6}
button,.button{background:#e2be67;color:#142c20}button:hover,.button:hover{background:#eed18b}
.secondary,.scope-tabs a[aria-current]{background:#e3ebdb;color:#234934;border:1px solid #93aa87}
.bottom-nav a[aria-current]{background:#315c3f;color:#ffdc8c;border-color:#bba362}
.bottom-nav a[aria-current]{box-shadow:inset 0 3px #e2be67}.bottom-nav a{color:#bfd0bd}
.secondary:hover{background:#d3e1ca}.text-button,.text-button:hover{background:transparent;color:var(--ink)}
input,select,textarea{background:#fffef9;color:var(--ink);border-color:#899e86}input::placeholder,textarea::placeholder{color:#60715f;opacity:1}
input[type=checkbox],input[type=radio]{accent-color:#315c3f}
th{background:#e3ebdb;color:#234934}.hint{background:#f0f4e9;padding:16px;margin-top:12px}.hint span{color:var(--muted)}
.notice,.sync-status{background:#fff2ce;color:#695017;border-color:#c6aa60}
.overdue,.chore-home-warning,.chores-warnings{background:#fff0e9;color:#843c2d;border-color:#cc8b78}
.overdue:hover{background:#ffe8dd}
.overdue .warning-text,.overdue .entry-top>span:last-child,.hint.overdue span:last-child{color:#843c2d}.warning-text{color:#765719}
.chore-home-warning:hover{background:#ffe8dd}.chore-home-warning span{color:#843c2d}
.chore-done-by{color:#2e6640}.chores-feedback{background:#e1f0df;color:#285334;border-color:#81a677}
.danger-outline{background:#fff3ed;color:#843c2d;border:1px solid #bd8b7b}.danger-outline:hover{background:#ffe4d7}
.skip,.update-bar{background:#1b513c;color:#fff5df}.update-bar button{background:#e2be67;color:#142c20}
.module-status{background:#e6eee2;color:#485f48}.trophy-stats div{border-color:#d6c79e}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:#876a23}
.topbar :focus-visible,.bottom-nav :focus-visible,.update-bar :focus-visible{outline-color:#ffe296}
.auth-main:before{content:'';display:block;width:104px;height:104px;background:url('/assets/fn-192.png') center/contain no-repeat;margin:0 auto 24px;border-radius:20px}
@media(max-width:640px){.topbar{padding:0 16px;height:80px}.brand-logo{width:44px;height:44px}.brand{font-size:.92rem}.profile-actions{gap:10px}.page-heading{margin-bottom:20px}.bottom-nav a{min-height:60px}.panel,.chore-card{border-radius:18px}}
}
@media screen{.motivation-job{background:#fff;color:var(--ink)}.motivation-prize{background:#f5ecd5;color:var(--ink)}.motivation-points{color:#776024}.hobby-open{background:#fff2ce;color:#695017}}

@media screen{.trophy-card .icon-tile{background:#e8d8ad;color:#65501b}.motivation-star{color:#776024}}
