.theme-options{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:18px}.theme-options>span{color:var(--dim);font-size:.84rem;margin-right:4px}.theme-choice{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid var(--line);border-radius:7px;font-size:.86rem}.theme-choice[aria-pressed=true]{border-color:var(--purple);background:var(--inset)}.theme-choice i{width:12px;height:12px;border-radius:50%;background:#23251f;border:1px solid #858779}.theme-choice[data-value=light] i{background:#efe1ab;border-color:#897945}.account-options{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.account-links{display:flex;justify-content:space-between;gap:10px}.account-links button{color:var(--dim);font-size:.85rem}.cloud-signin{margin-left:auto;margin-right:12px}.cloud-warning{color:#e1b488}.cloud-warning i{background:#e1b488}.score-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.score-card,.score-empty{padding:22px}.score-lead{border-color:#7c8f65}.score-name{display:flex;align-items:center;gap:12px}.score-name .avatar{font-size:.85rem;font-weight:650}.score-name h2{font-size:1.25rem;overflow-wrap:anywhere}.score-name p,.score-wait,.score-empty p{font-size:.86rem;color:var(--dim)}.score-name p{margin-top:3px}.score-tag{margin-left:auto;border-radius:5px;padding:5px 7px;color:var(--tone,#cee4ab);background:var(--inset);font-size:.71rem}.score-empty .primary{margin-top:13px}.score-metrics{margin:18px 0 0}.score-metrics>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-top:1px solid var(--line)}.score-metrics dt{display:flex;gap:8px;align-items:center;color:var(--dim);font-size:.9rem}.score-metrics dd{margin:0;font-variant-numeric:tabular-nums;font-weight:620}
:root[data-theme=light]{color-scheme:light;--bg:#f7f5ee;--sidebar:#fffcf4;--panel:#fffefa;--inset:#f1ebda;--line:#dcd3bd;--ink:#24221d;--dim:#655e51;--faint:#756e60;--lime:#f1dfa0;--purple:#8c6b30;--panel-surface:linear-gradient(150deg,#fffefa,#f9f4e7);--hairlight:inset 0 1px 0 #fff;--tone:#725921}
[data-theme=light] .app{background:radial-gradient(ellipse 110% 580px at 70% 0%,#f5edce,transparent 75%)}
[data-theme=light] aside,[data-theme=light] .workspace>header{background:#fffaf0;border-color:var(--line)}
[data-theme=light] aside:before,[data-theme=light] .workspace>header:before{opacity:.2}
[data-theme=light] .brand-mark{color:#856829}
[data-theme=light] .navlink,[data-theme=light] .export-link,[data-theme=light] .profile>.icon,[data-theme=light] .crumb strong,[data-theme=light] .dateline,[data-theme=light] .save-state,[data-theme=light] .week-toolbar>span,[data-theme=light] .axis,[data-theme=light] .metric-label,[data-theme=light] .add-inline{color:var(--dim)}
[data-theme=light] .navlink.active,[data-theme=light] .navlink:hover{color:#30281a;background:#f1e6c1;border-color:#d8c691;box-shadow:none}
[data-theme=light] .navlink.active:before,[data-theme=light] .save-state i{background:#99782e}
[data-theme=light] .primary{color:#291f12;background:#f0db92;border-color:#cab36b;box-shadow:0 1px 1px #947b3426}
[data-theme=light] .secondary,[data-theme=light] .icon-btn,[data-theme=light] .small-action,[data-theme=light] .select-wrap select,[data-theme=light] .count,[data-theme=light] .stage-button{background:#f5efde;color:#3e3727;border-color:#ded2b4;box-shadow:none}
[data-theme=light] .progress-card{background:linear-gradient(106deg,#f9e8ac,#ead393);color:#272219;border-color:#d8c180}
[data-theme=light] .progress-caption,[data-theme=light] .hero-change{color:#5e4d2c}
[data-theme=light] .board-col,[data-theme=light] .board-card,[data-theme=light] .diary-metric,[data-theme=light] .pick-item,[data-theme=light] dialog,[data-theme=light] .import-count,[data-theme=light] .field input,[data-theme=light] .field select,[data-theme=light] .field textarea,[data-theme=light] .journal-switch input{background:#fffdf6;color:var(--ink);border-color:var(--line)}
[data-theme=light] .filter{background:#fbf7ec;color:var(--dim);border-color:var(--line)}
[data-theme=light] .filter.selected,[data-theme=light] .cal-day.chosen,[data-theme=light] .choice-row input:checked+span{background:#f2e6b9;color:#3c3020;border-color:#b99c5e}
[data-theme=light] .cal-day,[data-theme=light] .week-date>b,[data-theme=light] .rh-day,[data-theme=light] .week-head>span.today,[data-theme=light] .week-date.today>b{color:var(--ink)}
[data-theme=light] .mark.done,[data-theme=light] .task-check[aria-pressed=true]{color:#3a2e17;background:#ead48c;border-color:#ad8c43}
[data-theme=light] .mark,[data-theme=light] .task-check{border-color:#9a8b6d}
[data-theme=light] .mark.future{border-color:#bdb096}
[data-theme=light] .habit-row,[data-theme=light] .task-line,[data-theme=light] .week-head,[data-theme=light] .rh-legend,[data-theme=light] .entry-note{border-color:var(--line)}
[data-theme=light] .mark-cell.is-today{background:#f1e3b741}
[data-theme=light] .habit-icon,[data-theme=light] .tag,[data-theme=light] .avatar{background:#eee2bc;color:#5f4821;border-color:#d8c699}
[data-theme=light] .time,[data-theme=light] .entry-note,[data-theme=light] .form-note,[data-theme=light] .completed .task-body strong{color:var(--dim)}
[data-theme=light] .choice-row label>span{background:#f5eedb;color:var(--ink);border-color:#cfbfa0}
[data-theme=light] .choice-row.colors label>span{background:var(--tone);border-color:#fffdf6}
[data-theme=light] .form-error{color:#983c29}
[data-theme=light] .rh-level-0{background:#eee7d8}[data-theme=light] .rh-level-1{background:#f4e8bf}[data-theme=light] .rh-level-2{background:#e8d69b}[data-theme=light] .rh-level-3{background:#d6bc73}[data-theme=light] .rh-level-4{background:#ba9a4f}
[data-theme=light] .rh-future{background:repeating-linear-gradient(135deg,#fffaf0,#fffaf0 3px,#e8dfcb 3px,#e8dfcb 4px)}
[data-theme=light] .plot svg text{fill:#74654c}[data-theme=light] .plot svg>path[fill=none]{stroke:#9a7432}[data-theme=light] .plot svg>path[stroke-dasharray], [data-theme=light] .journal-track svg line{stroke:#e0d4b9}
[data-theme=light] .break-row b,[data-theme=light] .journal-bars i,[data-theme=light] .habit-dot{background:#b99851}
@media(max-width:760px){.score-grid{grid-template-columns:1fr}.score-card{padding:17px}.cloud-signin{margin-right:0}.cloud-signin+.save-state{display:none}}
[data-theme=light] .habit-name strong,[data-theme=light] .habit-name:hover strong,[data-theme=light] .task-body strong,[data-theme=light] .task-body:hover strong,[data-theme=light] .streak-item strong,[data-theme=light] .streak-item:hover strong,[data-theme=light] .agenda-habit strong,[data-theme=light] .journal-history-row{color:var(--ink)}
[data-theme=light] .habit-name small,[data-theme=light] .week-head,[data-theme=light] .mobile-brand>span,[data-theme=light] .field,[data-theme=light] .cal-weekday,[data-theme=light] .cal-key{color:var(--dim)}
[data-theme=light] .mark.done{background:transparent}
[data-theme=light] .mark.done::before{background:#eed893;border-color:#c5a864}
[data-theme=light] .mark.future::before{border-color:#ac9e83}
[data-theme=light] .week-toolbar .icon-btn,[data-theme=light] .icon-btn:not(:disabled):hover,[data-theme=light] .small-action:hover,[data-theme=light] .select-wrap select:hover,[data-theme=light] .secondary:hover{background-color:#f3e9cf;border-color:#d4c098;color:#443820}
[data-theme=light] .cal-day{background:#fbf7ed;border-color:var(--line)}
[data-theme=light] .cal-day.chosen{background:#f0dfa8;border-color:#c4ab6a}
[data-theme=light] .board-col.over{background:#f5edcf}
[data-theme=light] .sculpture{filter:sepia(.92) saturate(.78)}
[data-theme=light] .completed .task-body strong{color:var(--dim)}
[data-theme=light] .score-lead{border-color:#b59a58}
[data-theme=light] .cloud-warning{color:#8c4c23}
.score-details{margin-top:12px}.member-stats{display:grid;gap:12px}.member-table{display:grid;gap:0}.member-table>div{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));align-items:center;gap:7px;padding:8px 0;border-bottom:1px solid var(--line);font-size:.84rem}.member-table>div>span{color:var(--dim)}.member-table strong,.member-table b{text-align:right;overflow-wrap:anywhere}.member-stats h3{margin:4px 0 0;font-size:.93rem}.member-key,.member-axis{display:flex;justify-content:space-between;gap:10px;font-size:.78rem;color:var(--dim)}.member-key span{display:flex;align-items:center;gap:5px;overflow-wrap:anywhere}.member-key span:before{content:"";width:7px;height:7px;border-radius:50%;flex:0 0 7px;background:var(--lime)}.member-key span:nth-child(2):before{background:var(--purple)}.member-bars{height:100px;display:grid;grid-template-columns:repeat(30,minmax(0,1fr));gap:2px;border-bottom:1px solid var(--line);background:repeating-linear-gradient(to top,transparent 0 calc(25% - 1px),var(--line) calc(25% - 1px) 25%)}.member-bars>div{display:flex;gap:1px;align-items:end}.member-bars i{flex:1;background:var(--lime);border-radius:2px 2px 0 0}.member-bars i:nth-child(2){background:var(--purple)}[data-theme=light] .member-key span:first-child:before,[data-theme=light] .member-bars i:first-child{background:#c9a64c}
.brand>span{font-size:1.16rem;letter-spacing:-.04em;white-space:nowrap}.brand>span small{display:block;font-size:.75rem;letter-spacing:.09em;text-transform:uppercase;line-height:1.3;color:var(--dim)}
.header-actions{display:flex;align-items:center;gap:12px;margin-left:auto}.header-themes{margin:0;gap:3px;padding:3px;border:1px solid var(--line);border-radius:9px;background:var(--inset);flex-wrap:nowrap}.header-themes .theme-choice{padding:5px 8px;border-color:transparent;white-space:nowrap}.header-themes .theme-choice[aria-pressed=true]{background:var(--panel);border-color:var(--line);color:var(--ink)}.header-actions .cloud-signin{margin:0}
@media(max-width:760px){.header-actions{gap:6px}.header-actions .save-state{display:none}.header-themes .theme-choice{padding:5px 6px;font-size:.76rem}.header-themes .theme-choice i{display:none}.mobile-brand strong{font-size:.9rem;white-space:nowrap}.mobile-brand>span{display:none}.mobile-brand{gap:4px}}
@media(max-width:355px){.workspace>header{padding-inline:8px;gap:5px}.mobile-brand .brand-mark{display:none}}
.score-actions,.member-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.member-actions{justify-content:flex-end;margin-top:2px}
