/* One visual system for the planner; no record format or sharing changes. */
/* Günce always uses its daytime palette, independent of the device theme. */
:root {font-size:16px}
body[data-section] {--base:#f5f7f8;--card:#fff;--ink:#233a32;--muted:#5b6c65;--line:#e0e8e4;--green:#286c54;--paper-tint:#edf5f0;--radius:16px;--side:#fff;background:var(--base);color:var(--ink)}
body[data-section] :is(input,textarea,select) {font-size:1rem;min-height:44px;border-radius:10px}
body[data-section] :is(input:not([type=checkbox]):not([type=radio]),textarea,select) {background-color:var(--card);color:var(--ink);border-color:var(--line)}
body[data-section] :is(h2,h3,.recordbody strong,.calcell b,.weeknav,.period-nav,.sl-card strong,.sl-list-header h2) {font-family:var(--sans);font-variant-numeric:tabular-nums}
body[data-section] :is(.panelhead h2,.day-list h2,.sl-list-header h2,.hh-toolbar h2,.nc-card h2) {font:650 1.125rem/1.35 var(--sans);letter-spacing:-.02em}
body[data-section] :is(.chapter.journal-chapter,.hh-cover,.nc-header,.public-title) {padding:12px 0 20px;margin-bottom:16px;background:transparent;border:0;border-radius:0;box-shadow:none;min-height:0;gap:12px}
body[data-section] :is(.chapter.journal-chapter,.hh-cover,.nc-header,.public-title) :is(h1,h2) {font-size:1.875rem;line-height:1.2;color:var(--ink)}
body[data-section] :is(.chapter.journal-chapter,.hh-cover,.public-title) p {font-size:.9375rem;color:var(--muted);margin:8px 0 0}
body[data-section] .chapter .category-pin,body[data-section] .hh-cover .category-pin {background:transparent;border:0;box-shadow:none}
body[data-section] #main {width:100%;max-width:1440px;padding:28px 32px 20px}
body[data-section] #bar {background:var(--card);border-bottom:1px solid var(--line)}
body[data-section] .panel,body[data-section] .hh-panel,body[data-section] .nc-card {border:1px solid var(--line);border-radius:var(--radius);background:var(--card);padding:20px;margin-bottom:16px;box-shadow:none}
body[data-section] .panel .panel {border:0;padding:12px 0;border-radius:0}
body[data-section] .panelhead,body[data-section] .day-list>header {padding-bottom:14px;margin-bottom:12px;gap:12px;align-items:center}
body[data-section] .btn,body[data-section] .smallbtn,body[data-section] .day-add,body[data-section] .iconbtn {min-height:44px;font:600 .875rem/1.3 var(--sans);border-radius:10px;box-shadow:none;gap:7px}
body[data-section] .iconbtn {min-width:44px;display:inline-flex;align-items:center;justify-content:center}
body[data-section] :is(.glyph-edit,.glyph-trash) {border-color:transparent;background:transparent}
body[data-section] .glyph-trash {color:#a13b40}
body[data-section] :is(.btn.solid,.day-add) {background:var(--green);color:#fff;border-color:var(--green)}
body[data-section] .section-toolbar {margin:0 0 20px;padding:0;background:transparent;border:0;box-shadow:none}
body[data-section] .section-tabs {gap:6px;overflow:visible;background:var(--paper-tint);padding:5px;border:1px solid var(--line);border-radius:12px}
body[data-section] .section-tabs .section-tab {min-height:44px;padding:9px 10px;border:1px solid transparent;background:transparent;color:var(--muted);font-size:.875rem}
body[data-section] .section-tabs .section-tab[aria-current=page] {background:var(--card);color:var(--green);border-color:var(--line);font-weight:700}
body[data-section] .section-tab[aria-current] .icon {color:inherit}
body[data-section] :is(.record,.day-task,.hh-row,.sl-item-row) {padding-block:14px;border-color:var(--line);gap:12px}
body[data-section] :is(.recordbody strong,.day-task strong,.hh-row strong) {font-size:1rem;line-height:1.4}
body[data-section] :is(.recordbody small,.record-scope,.task-clock,.sl-copy small,.hh-row small,.nc-time) {font-size:.8125rem;color:var(--muted);line-height:1.45}
body[data-section] :is(.tick,.hh-check) {min-width:28px;min-height:28px;border-radius:8px;position:relative}
body[data-section] :is(.tick,.hh-check)::after {content:'';position:absolute;inset:-8px}
body[data-section] :is(.tick.on,.hh-check[aria-pressed=true]) {background:var(--green);color:#fff;border-color:var(--green)}
body[data-section] .home-dates {padding:0;background:transparent;border:0;border-radius:0;margin-bottom:24px}
body[data-section] .diary-cover {padding:0;background:transparent;border:0;border-radius:0}
body[data-section] .diary-cover .weekline {align-items:center;gap:12px}
body[data-section] .diary-cover h1 {font-size:2rem;color:var(--ink)}
body[data-section] .home-date-link {font:500 .9375rem/1.4 var(--sans);color:var(--muted)}
body[data-section] .diary-cover .weeklydays {margin-top:18px;padding:8px;background:var(--card);border:1px solid var(--line);border-radius:14px;gap:6px}
body[data-section] .diary-cover .dateday {min-height:62px;border:1px solid transparent;border-radius:10px;color:var(--ink);padding:7px 0}
body[data-section] .diary-cover .dateday.picked {background:var(--green);color:#fff;border-color:var(--green);box-shadow:none}
body[data-section] .diary-cover .dateday.picked :is(span,b,i) {color:#fff}
body[data-section] .diary-cover .dateday.isnow:not(.picked) {border-color:var(--green)}
.home-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
.home-main,.home-support {min-width:0}
body[data-section] .home-diary .day-lists {margin:0;gap:20px}
body[data-section] .home-diary .undated-card {padding:8px 0 16px;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0}
body[data-section] .home-support .home-shortcuts {margin:0 0 16px}
body[data-section] .home-support .shortcut-grid {grid-template-columns:1fr}
body[data-section] .home-support .shortcut-card {padding:16px;min-height:72px}
body[data-section] .home-support .local-day {margin-top:0}
body[data-section] .home-support .local-brief {flex-wrap:wrap;gap:8px}
body[data-section] .day-empty {padding:16px 0;color:var(--muted);font-size:.9375rem}
body[data-section] .calendar-tools {margin:16px 0 0}
.calendar-month-layout {display:grid;gap:20px;align-items:start}
body[data-section] .calendar-month {margin:0;padding:20px}
body[data-section] .calendar-month>.panelhead {margin:0 0 14px;padding:0;border:0;justify-content:space-between}
body[data-section] .month-jump {margin:0;border-top:1px solid var(--line);padding-top:12px}
body[data-section] .month-jump summary {min-height:44px;align-content:center;color:var(--muted);font-size:.875rem}
body[data-section] .calgrid {border:1px solid var(--line);border-radius:12px;overflow:hidden;gap:1px;background:var(--line)}
body[data-section] .calgrid>span {background:var(--paper-tint);padding:10px 0;color:var(--muted);font-size:.8125rem}
body[data-section] .calcell {min-height:90px;border:0;border-radius:0;background:var(--card);color:var(--ink);padding:10px;box-shadow:none}
body[data-section] .calcell.weekend {background:#f2f5ed}
body[data-section] .calcell.outside {color:#738177;background:#eef1ec}
body[data-section] .calcell b {font:650 1rem/1.3 var(--sans);color:inherit}
body[data-section] .calcell.today:not(.pick) b {text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:2px}
body[data-section] .calcell.pick,body[data-section] .calcell.pick.weekend {background:var(--green);color:#fff;outline:0}
body[data-section] .calcell.pick :is(b,small,span,.icon) {color:#fff}
body[data-section] .cal-preview {font-size:.75rem;margin-top:8px;max-width:100%;color:var(--muted)}
body[data-section] .weekarrow {background:var(--paper-tint);color:var(--green);border:0}
body[data-section] .calendar-agenda {margin:0;min-width:0}
body[data-section] .period-nav,body[data-section] .weektools {border:1px solid var(--line);border-radius:12px;background:var(--card);gap:0;padding:2px}
body[data-section] .period-nav :is(button,.period-month),body[data-section] .weektools button {border:0;box-shadow:none;min-height:40px;background:transparent}
body[data-section] .period-nav strong,body[data-section] .weeknav strong {font:650 .875rem/1.3 var(--sans);color:var(--ink)}
body[data-section] .ws-directory {gap:16px}
body[data-section] .ws-directory .panel {margin:0;border-radius:14px;padding:20px 64px 20px 20px}
body[data-section] .ws-notebook .bubble {width:40px;height:40px;border-radius:12px;background:var(--paper-tint);color:var(--green)}
body[data-section] .ws-notebook strong {font-size:1rem}
body[data-section] .ws-notebook small {font-size:.875rem;line-height:1.55}
body[data-section] .ws-directory .category-pin {border:0}
.family-members-strip {display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:0 0 20px}
.family-member-chip {display:flex;align-items:center;gap:7px;font-size:.875rem;color:var(--ink)}
.member-avatar {width:32px;height:32px;border-radius:50%;background:var(--paper-tint);color:var(--green);border:1px solid var(--line);display:inline-grid;place-items:center;font:650 .875rem var(--sans);flex:none}
.family-onboarding {display:flex;flex-wrap:wrap;gap:16px;padding:16px 0;color:var(--muted);font-size:.875rem}
.family-onboarding span {display:inline-flex;align-items:center;gap:8px}
body[data-section] .hh-row-actions {flex:none;gap:2px}
body[data-section] .hh-person-glyph {border-radius:50%;background:var(--paper-tint);color:var(--green)}
body[data-section] .sl-card {border-radius:12px;padding:16px;border:1px solid var(--line);border-left-width:1px;background:var(--card)}
body[data-section] .sl-card strong {font:650 1rem/1.4 var(--sans)}
body[data-section] .sl-icon {border-radius:10px;background:var(--paper-tint);color:var(--green)}
body[data-section] .sl-item-row .recordbody {min-width:0}
body[data-section] .sl-grip {min-width:36px;min-height:44px}
body[data-section] .dish-card {border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:none;background:var(--card)}
body[data-section] .dish-card img {aspect-ratio:4/3;width:100%;object-fit:cover}
body[data-section] .dish-card h3 {font:650 1.125rem/1.35 var(--sans)}
body[data-section] :is(.recipefilters,.recipe-filters,.meal-filters,.filtertabs) {flex-wrap:wrap;overflow:visible;gap:8px}
body[data-section] :is(.weight-chart,.exercise-chart,.walking-chart,.spendchart) {border-radius:14px;background:var(--card);color:var(--ink)}
body[data-section] :is(.weight-summary,.exercise-summary,.record-highlight) {border:1px solid var(--line);border-radius:12px;background:var(--paper-tint)}
body[data-section] .category-track {height:8px;border-radius:8px;overflow:hidden;background:var(--paper-tint)}
body[data-section] .meet-cover {border-radius:20px;overflow:hidden;background:var(--paper-tint);border:1px solid var(--line)}
body[data-section] .meet-cover-copy {padding:32px}
body[data-section] .meet-cover h1 {font-size:2.25rem;line-height:1.15}
body[data-section] .meet-cover p {font-size:1rem;line-height:1.7}
body[data-section] .meet-feature {border:0;border-top:1px solid var(--line);border-radius:0;padding:20px 0;background:transparent}
body[data-section] .meet-example {border-radius:16px}
.product-previews {display:grid;grid-template-columns:1fr 1fr;gap:20px}
.product-previews figure {margin:0;border:1px solid var(--line);background:var(--card);border-radius:16px;overflow:hidden}
.product-previews img {width:100%;height:auto;display:block}
.product-previews figcaption {padding:14px 18px;font-size:.875rem;color:var(--muted)}
body[data-section] .nc-page {max-width:none;color:var(--ink);--nc-paper:var(--card);--nc-ink:var(--ink);--nc-secondary:var(--muted);--nc-rule:var(--line);--nc-wash:var(--paper-tint);--nc-accent:var(--green);--nc-on-accent:#fff}
body[data-section] .nc-tabs {margin-bottom:4px}
body[data-section] .nc-row {border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;padding:16px 0}
.diagnostic-list {list-style:none;padding:0;margin:0}
.diagnostic-list li {display:flex;gap:12px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--line)}
.diagnostic-list li>div {flex:1;min-width:0}
.diagnostic-list strong {display:block;font-size:1rem}
.diagnostic-list p {font-size:.875rem;color:var(--muted);margin:4px 0 0}
.diagnostic-icon {display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--paper-tint);color:var(--green);flex:none}
.diagnostic-icon.warn {color:#8b551a;background:#fbefda}
.diagnostic-note {font-size:.875rem;color:var(--muted);line-height:1.6}
.share-banner {display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;border:1px solid var(--line);background:var(--paper-tint);border-radius:14px;padding:16px;margin-bottom:20px}
.share-banner strong {display:block}.share-banner p {margin:4px 0;color:var(--muted);font-size:.875rem}
.share-draft {white-space:pre-wrap;overflow-wrap:anywhere;max-height:35vh;overflow:auto;padding:16px;border:1px solid var(--line);border-radius:12px;font-size:1rem;background:var(--base)}
.share-summary {display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
body[data-section] :is(.empty,.nc-empty) {background:transparent;border:0;text-align:start;padding:20px 0;color:var(--muted)}
body[data-section] .emptyfolio {display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:var(--paper-tint);color:var(--green)}
body[data-section] .empty p {max-width:42ch;font-size:.9375rem}
body[data-section] #foot {font-size:.8125rem;color:var(--muted)}
body[data-section] .page-actions {margin-top:24px;padding:12px 0;border-color:var(--line)}
body[data-section] :is(button,a,input,textarea,select,summary):focus-visible {outline:3px solid #ad7838;outline-offset:3px}
@media(min-width:1200px){.home-layout{grid-template-columns:minmax(0,1fr) 300px}.calendar-month-layout{grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr)}.home-support{position:sticky;top:86px}}
@media(max-width:850px){body[data-section] #main{padding:20px 16px}body[data-section] .diary-cover h1{font-size:1.75rem}body[data-section] .section-tabs .section-tab{font-size:.875rem}body[data-section] .calendar-month{padding:14px}.product-previews{grid-template-columns:1fr}body[data-section] #mobile-nav{background:var(--card);border-top:1px solid var(--line)}body[data-section] #mobile-nav .mobile-destination{color:var(--muted);min-height:52px}body[data-section] #mobile-nav .mobile-destination[aria-current=page]{color:var(--green);background:var(--paper-tint);border-radius:12px}}
@media(max-width:600px){body[data-section] .diary-cover .weekline{flex-wrap:wrap}body[data-section] .diary-cover .weektools{margin-left:auto}body[data-section] .diary-cover .weeklydays{gap:2px;padding:5px}body[data-section] .diary-cover .dateday{min-height:58px}body[data-section] .calcell{min-height:64px;padding:7px 4px}body[data-section] .cal-preview{font-size:.6875rem}body[data-section] .calendar-month .panelhead{flex-wrap:wrap}body[data-section] .calcell b{font-size:.9375rem}body[data-section] :is(.chapter.journal-chapter,.hh-cover,.nc-header){padding:4px 0 16px}body[data-section] .meet-cover-copy{padding:20px}body[data-section] .meet-cover h1{font-size:1.75rem}body[data-section] .ws-directory{grid-template-columns:1fr}body[data-section] .hh-row-actions{gap:0}.diagnostic-list li{flex-wrap:wrap}.diagnostic-list li>.btn{margin-left:44px}.family-members-strip{gap:10px}body[data-section] .home-diary .day-lists{gap:16px}}

@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.home-layout,.calendar-month-layout{display:block}.home-support,.share-banner,.diagnostic-list button{display:none}body[data-section] #main{max-width:none;padding:0}.calendar-agenda{break-before:auto}body[data-section] .calcell.pick,body[data-section] .calcell.pick b{background:white!important;color:black!important}}

body[data-section] .home-diary .diary-cover{padding:0;border:0;background:transparent}
body[data-section] .diary-cover :is(.home-date-link,.dateday span){color:var(--muted)}
body[data-section] .home-shortcuts :is(h2,header a),body[data-section] .shopping-banner :is(strong,small,.shopping-arrow){color:var(--ink)}
body[data-section] .shopping-banner{background:var(--card);border-color:var(--line);box-shadow:none}
body[data-section] .shopping-symbol{background:var(--paper-tint);color:var(--green)}
body[data-section] .home-diary :is(.task-clock,.record-scope,.subtask-progress){color:var(--muted)}
body[data-section] .subtask-check{color:var(--ink)}
body[data-section] .subtask-check:hover{background:var(--paper-tint)}
body[data-section] .home-diary .undated-card{background:transparent;border:0;border-top:1px solid var(--line);padding-top:20px}
body[data-section] .weektools button{color:var(--ink)}
body[data-section] #main :is(.btn,.smallbtn,.iconbtn),body[data-section] #modal :is(.btn,.smallbtn,.iconbtn){background:var(--card);color:var(--ink);border-color:var(--line)}
body[data-section] #main .btn.solid,body[data-section] #modal .btn.solid{background:var(--green);border-color:var(--green);color:#fff}
body[data-section] #main :is(.glyph-edit,.glyph-trash){background:transparent;border-color:transparent}
body[data-section] #main .glyph-trash{color:#a13b40}
body[data-section] #main .category-pin{color:var(--muted)}
body[data-section] #main .calcell{min-height:76px}
body[data-section] #main .cal-preview{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
body[data-section] #main .calendar-agenda .record{flex-wrap:wrap;gap:10px}
body[data-section] #main .calendar-agenda .recordbody{flex:1;min-width:120px}
body[data-section] #main .subtask-progress b{background:var(--paper-tint);color:var(--ink)}
body[data-section] #main .dish-visual{height:auto;aspect-ratio:4/3}
body[data-section] #main .dish-visual img{height:100%;width:100%;object-fit:cover}
body[data-section] #main .dish-copy{padding:18px}

/* Shared daytime design: clear surfaces, one control family, restrained depth. */
body[data-section] {font-size:1rem;line-height:1.5;--shadow-card:0 2px 3px #183c2b02,0 8px 24px #183c2b04}
body[data-section] .icon {stroke-width:1.8}
body[data-section] #main :is(h1,h2,h3) {font-family:var(--sans)}
body[data-section] #main h1 {font-weight:700;letter-spacing:-.04em}
body[data-section] #main .meal-filter {border-color:var(--line);background:#fff;color:var(--muted);border-radius:10px;font-size:.875rem}
body[data-section] #main .meal-filter[aria-pressed=true] {background:var(--green);border-color:var(--green);color:#fff}
body[data-section] #sidebar {background:#fff;border-right:1px solid var(--line);color:var(--ink);box-shadow:none}
body[data-section] #sidebar .navcover {background:var(--paper-tint);background-image:none;border-bottom:1px solid var(--line);height:auto;min-height:102px}
body[data-section] #sidebar .navcover::after {display:none}
body[data-section] #sidebar .brand {position:relative;padding:25px 20px;background:transparent;z-index:1}
body[data-section] #sidebar .brand img {width:40px;height:40px;border-radius:12px;box-shadow:none}
body[data-section] #sidebar .brand b {font:700 2rem/1 var(--sans);letter-spacing:-1.5px;color:var(--ink);text-shadow:none}
body[data-section] #sidebar .brand b .brandpoint {color:var(--green)}
body[data-section] #sidebar .brand small {color:var(--muted);font-size:.625rem;letter-spacing:.1em}
body[data-section] #sidebar nav {padding:18px 12px;scrollbar-color:#b8c9bf transparent}
body[data-section] #sidebar .navlink {font-size:.9375rem;font-weight:550;color:#4d6257;min-height:46px;border:1px solid transparent;border-radius:11px;padding:8px 10px;gap:10px;box-shadow:none}
body[data-section] #sidebar .navicon {background:transparent;color:inherit;border:0;box-shadow:none;width:30px;height:30px}
body[data-section] #sidebar .navlink .icon {width:20px;height:20px;color:inherit}
body[data-section] #sidebar .navlink:hover {background:#f5f8f6;color:var(--green)}
body[data-section] #sidebar .navlink.active {background:#eaf4ee;border-color:#d5e8dd;color:#205b44;font-weight:700}
body[data-section] #sidebar .navlink.active::before {display:none}
body[data-section] #sidebar .navlink.active::after {display:none}
body[data-section] #sidebar .navlink.active .navicon {background:#d6eadd;color:#286c54;border-radius:8px}
body[data-section] #sidebar :is(.navhead,.localtag) {color:var(--muted);background:transparent;text-shadow:none}
body[data-section] #sidebar .navhead {font-size:.75rem;letter-spacing:.04em}
body[data-section] #sidebar .localtag {font-size:.75rem;border-color:var(--line)}
body[data-section] #sidebar .localtag i {background:#459169;box-shadow:0 0 0 3px #edf5ef}
body[data-section] #sidebar .navfoot {border-color:var(--line)}
body[data-section] #sidebar .navclose {color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:10px}
body[data-section] #bar {height:68px;min-height:68px;padding-inline:28px;background:#ffffffed;backdrop-filter:blur(12px)}
body[data-section] .crumb {font-size:.875rem;color:var(--muted)}
body[data-section] .searchbar {min-height:40px;border-radius:10px;border:1px solid var(--line);background:#f7f9f8;font-size:.8125rem}
body[data-section] .avatar {width:40px;height:40px;background:var(--paper-tint);border:1px solid var(--line)}
body[data-section] #main :is(.panel,.hh-panel,.nc-card,.up-day) {box-shadow:var(--shadow-card)}
body[data-section] #main :is(.chapter-symbol,.hh-cover-icon) {display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#e6f1eb;color:var(--green);border:1px solid #d6e7dc;flex:none;opacity:1}
body[data-section] #main .chapter-symbol {order:-1;position:static;transform:none}
body[data-section] #main .chapter-symbol .icon {width:26px;height:26px}
body[data-section] #main .chaptertext {flex:1;min-width:0}
body[data-section] #main .chapter.journal-chapter {display:flex;align-items:center;gap:14px}
body[data-section] #main .chaptertext h1 {letter-spacing:-.04em;font-weight:700}
body[data-section] #main :is(.chapter.journal-chapter,.hh-cover,.nc-header) p {max-width:64ch;font-size:.9375rem}
body[data-section] #main :is(.panelhead,.day-list>header,.hh-toolbar) {border-bottom:1px solid #edf1ee}
.gv-section-heading {display:flex;align-items:center;gap:10px;min-width:0}
.gv-heading-icon {display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:11px;background:var(--paper-tint);color:var(--green)}
body[data-section] #main .btn,body[data-section] #modal .btn {border-radius:10px;font-weight:650;transition:background .15s,border-color .15s,box-shadow .15s}
body[data-section] #main :is(.btn,.smallbtn,.iconbtn):hover,body[data-section] #modal :is(.btn,.iconbtn):hover {background:#f0f6f2;border-color:#b9d4c5}
body[data-section] #main .btn.solid:hover,body[data-section] #modal .btn.solid:hover {background:#20573f;border-color:#20573f;color:white;box-shadow:0 3px 10px #20573f18}
body[data-section] #main :is(.glyph-edit,.glyph-trash),body[data-section] #modal :is(.glyph-edit,.glyph-trash) {background:#f4f7f5;border:1px solid transparent;color:#537166;border-radius:11px}
body[data-section] #main .glyph-trash,body[data-section] #modal .glyph-trash {color:#a44347;background:#fcf4f3}
body[data-section] #main .glyph-trash:hover,body[data-section] #modal .glyph-trash:hover {color:#8e3035;background:#fae9e8;border-color:#e8b7b7}
body[data-section] :is(input,textarea,select):focus {border-color:#639f84;box-shadow:0 0 0 3px #3e8b6910}
body[data-section] #main .section-tabs {border:1px solid var(--line);background:#eaf0ed;border-radius:12px;padding:4px}
body[data-section] #main .section-tabs .section-tab {color:#4b6256;border-radius:9px;font-weight:600}
body[data-section] #main .section-tabs .section-tab[aria-current=page] {border-color:#d9e6de;box-shadow:0 2px 5px #17362508;color:#205b44;background:#fff}
body[data-section] #main .section-tabs .section-tab .icon {width:18px;height:18px}
body[data-section] #main .home-dates {padding:18px 20px;background:linear-gradient(115deg,#fff 40%,#edf5f0);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-card)}
body[data-section] #main .diary-cover h1 {font-family:var(--sans);font-weight:700;letter-spacing:-.045em}
body[data-section] #main .diary-cover p {margin-top:6px}
body[data-section] #main .diary-cover .weeklydays {background:#ffffffb5;border-color:#e1eae5;box-shadow:none;border-radius:12px}
body[data-section] #main .diary-cover .dateday {font-variant-numeric:tabular-nums;border-radius:9px;transition:background .15s}
body[data-section] #main .diary-cover .dateday b {font-family:var(--sans);font-size:1.375rem;letter-spacing:-.04em}
body[data-section] #main .diary-cover .dateday span {font-size:.8125rem}
body[data-section] #main .diary-cover .dateday.picked {background:#286c54;color:#fff;box-shadow:0 3px 7px #286c5420}
body[data-section] #main .diary-cover .dateday:not(.picked):hover {background:#eaf4ee}
body[data-section] #main :is(.weektools,.period-nav,.hh-week) {background:#fff;border:1px solid var(--line);border-radius:12px;padding:3px;gap:2px;box-shadow:0 1px 3px #183c2b04}
body[data-section] #main :is(.weektools,.period-nav,.hh-week) .iconbtn {border:0;background:transparent;color:var(--green);border-radius:8px}
body[data-section] #main .weektools .smallbtn {font-weight:650;min-width:70px;border-inline:1px solid var(--line);border-radius:0}
body[data-section] #main .up-item {background:#fff;border-color:#e3ebe6;box-shadow:none}
body[data-section] #main .up-item:hover {border-color:#bdd5c7;box-shadow:0 3px 9px #183c2b05}
body[data-section] #main .up-grip {color:#82968a;width:28px;min-width:28px}
body[data-section] #main .up-grip:hover {background:var(--paper-tint);border-radius:8px;color:var(--green)}
body[data-section] #main .up-task-line>.iconbtn {color:#567467;background:transparent;border-color:transparent}
body[data-section] #main .up-meta {font-size:.8125rem;color:var(--muted)}
body[data-section] #main .up-completed,body[data-section] #main .up-undated details {border-top:1px solid #edf1ee}
body[data-section] #main :is(.up-completed>summary,.up-undated details>summary) {font-weight:600;font-size:.875rem}
body[data-section] #main .up-completed>summary::after,body[data-section] #main .up-undated details>summary::after {content:'+';margin-left:auto;font-size:1.125rem}
body[data-section] #main .up-completed[open]>summary::after,body[data-section] #main .up-undated details[open]>summary::after {content:'−'}
body[data-section] #main .home-diary .undated-card {border:1px solid var(--line);border-radius:var(--radius);background:#fafdfe;padding:14px}
body[data-section] #main .up-day.is-today {border-color:#7bad93;box-shadow:inset 0 3px #2d7758,var(--shadow-card)}
body[data-section] #main .up-day>header {border-bottom:1px solid #e7eee9}
body[data-section] #main .up-day-open time>b {font-family:var(--sans);font-weight:650;color:#2c624b}
body[data-section] #main .calgrid {background:#e3eae6;border-color:#e3eae6}
body[data-section] #main .calcell {position:relative;transition:background .12s}
body[data-section] #main .calcell.today:not(.pick) b {display:inline-grid;place-items:center;border-radius:50%;background:#e1f0e7;min-width:28px;min-height:28px;color:#246045;text-decoration:none}
body[data-section] #main .calcell.pick {background:#e8f3ec;color:#205b44;box-shadow:inset 0 0 0 2px #558e70}
body[data-section] #main .calcell.pick :is(b,small,span,.icon) {color:#205b44}
body[data-section] #main .calcell.outside {background:#f7f9f8;color:#7e8a84}
body[data-section] #main .calcell.weekend:not(.pick) {background:#f2f7f4}
body[data-section] #main .family-members-strip {gap:8px;padding-block:0 14px}
body[data-section] #main .family-member-chip {padding:5px 12px 5px 5px;border-radius:28px;border:1px solid var(--line);background:#fff;font-weight:550}
body[data-section] #main .hh-cover {gap:14px;align-items:center}
body[data-section] #main .hh-cover h1 {font-family:var(--sans);font-weight:700;letter-spacing:-.04em}
body[data-section] #main .hh-row {border-bottom:1px solid #edf1ee;border-radius:8px}
body[data-section] #main .hh-row:hover {background:#f8fbf9}
body[data-section] #main .ws-family-task-list {display:grid;gap:8px}
body[data-section] #main .ws-family-task {padding:12px;border:1px solid #e2ebe5;border-radius:12px;background:#fff;gap:12px}
body[data-section] #main .ws-family-task:hover {border-color:#bcd5c7;background:#fbfdfb}
body[data-section] #main .ws-family-task-title {color:var(--ink);font-size:1rem}
body[data-section] #main .ws-family-assignee {display:inline-flex;align-items:center;gap:6px;background:#edf5f0;border:1px solid #dce9e1;border-radius:24px;padding:4px 9px;font-size:.8125rem;color:#3d6550}
body[data-section] #main .ws-family-assignee .profile-avatar {width:24px;height:24px;min-width:24px;font-size:.75rem}
body[data-section] #main .ws-family-task-meta {font-size:.8125rem;color:var(--muted);margin-top:4px}
body[data-section] #main .ws-family-check {border-radius:8px;border-color:#9cb4a5}
body[data-section] #main .ws-family-check[aria-checked=true] {background:var(--green);border-color:var(--green);color:#fff}
body[data-section] #main .hh-check {background:#fff;border-color:#a0b4a8}
body[data-section] #main .hh-privacy {font-size:.875rem;background:#edf5f0;border-radius:12px;padding:12px 14px;line-height:1.5}
body[data-section] #main :is(.sl-card,.shortcut-card) {box-shadow:var(--shadow-card);transition:border-color .15s,box-shadow .15s}
body[data-section] #main :is(.sl-card,.shortcut-card):hover {border-color:#a9c8b6;box-shadow:0 5px 14px #204b3210}
body[data-section] #main .sl-icon {background:#e9f3ed;color:#286c54}
body[data-section] #main .sl-grip {background:#f0f5f2;color:#658775;border-radius:9px}
body[data-section] #main .sl-lifted {background:#edf7f0;outline:2px solid #6ba586;outline-offset:-2px;box-shadow:0 5px 16px #285c4218}
body[data-section] #main :is(.sl-drop-before::before,.sl-drop-after::after) {height:4px;background:#3e946c;box-shadow:0 0 0 2px #f1faf4}
body[data-section] .sl-drag-badge {border:1px solid #78ab91;padding:10px 14px;border-radius:12px;background:#245e47;font-size:.875rem;box-shadow:0 8px 24px #183f3233}
body[data-section] #main .dish-card {box-shadow:var(--shadow-card);transition:box-shadow .18s,border-color .18s}
body[data-section] #main .dish-card:hover {border-color:#b8cebf;box-shadow:0 8px 22px #213f2c12}
body[data-section] #main .dish-visual {background:#edf2ef;overflow:hidden}
body[data-section] #main .dish-visual img {transition:transform .3s}
@media(hover:hover){body[data-section] #main .dish-card:hover img{transform:scale(1.025)}}
body[data-section] #main .dish-copy {gap:9px}
body[data-section] #main .dish-open {font-weight:700;letter-spacing:-.015em;color:#233a32}
body[data-section] #main .dish-actions {border-top:1px solid var(--line);gap:8px}
body[data-section] #main :is(.wt-summary,.walk-totals>div,.expense-summary) {background:linear-gradient(120deg,#f0f7f3,#fff);border:1px solid #dcebe1;color:var(--ink);box-shadow:var(--shadow-card)}
body[data-section] #main :is(.wt-chart,.spendchart,.walk-chart) {background:#fff;border:1px solid var(--line);border-radius:14px}
body[data-section] #main .wt-latest strong {color:#246247;font-family:var(--sans);font-weight:650;letter-spacing:-.05em}
body[data-section] #main .wt-inspector {background:#f3f8f5;border-radius:10px;padding:12px;gap:12px}
body[data-section] #main .wt-readout strong {font-size:1.125rem;color:#235a44}
.gv-chart {height:240px;position:relative;min-width:0;max-width:100%}
.gv-enhanced .wt-svg {display:none}
.gv-spending-visual {position:relative;width:100%;max-width:300px;margin:18px auto 24px}
.gv-spending-visual .gv-chart {height:210px}
.gv-donut-center {position:absolute;inset:35% 15%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;pointer-events:none}
.gv-donut-center span {font-size:.8125rem;color:var(--muted)}
.gv-donut-center strong {font:650 clamp(1rem,2vw,1.5rem)/1.3 var(--sans);letter-spacing:-.035em;overflow-wrap:anywhere}
.gv-tooltip {position:fixed;z-index:10001;max-width:min(280px,calc(100vw - 24px));padding:8px 12px;border:1px solid #496b5a;border-radius:9px;background:#233f32;color:#fff;font:500 .8125rem/1.5 var(--sans);box-shadow:0 5px 18px #1b382a22;pointer-events:none;overflow-wrap:anywhere;top:0;left:0}
body[data-section] #main .spendchart li {padding-block:10px}
body[data-section] #main .category-track {height:7px}
body[data-section] #main .wt-chart-title {font-family:var(--sans);font-weight:650;font-size:1.125rem}
body[data-section] #main .walk-chart h3 {font-size:1.125rem;font-weight:650}
body[data-section] #main .walk-track {background:#f1f6f3;border-radius:6px}
body[data-section] #main .walk-track>i:not(.walk-gap) {background:#5c9c7a;border-radius:5px 5px 0 0}
body[data-section] #main .walk-bar[aria-pressed=true] {background:#eaf4ed;border-color:#6ca383;border-radius:8px}
body[data-section] #main .wt-gap-note {font-size:.8125rem;line-height:1.5}
body[data-section] #main .empty {align-items:center;gap:14px}
body[data-section] #main .emptyfolio {width:48px;height:48px;border:1px solid #dcebe1;border-radius:15px;background:linear-gradient(140deg,#e5f2e9,#f6faf7)}
body[data-section] #main .empty strong {font-size:1rem}
body[data-section] #main .meet-cover {background:linear-gradient(120deg,#eef6f0,#fff);box-shadow:var(--shadow-card)}
body[data-section] #main .meet-feature {border:1px solid var(--line);border-radius:14px;padding:18px;background:#fff}
body[data-section] #main .nc-row {padding-inline:10px;border-radius:10px}
body[data-section] #main .nc-row:hover {background:#f3f8f5}
body[data-section] #main .page-actions {border-top:1px solid var(--line);opacity:1}
body[data-section] #main .page-actions .btn {background:transparent;color:var(--muted);border-color:transparent}
@media(max-width:850px){
  body[data-section] #bar{height:60px;min-height:60px;padding-inline:16px}
  body[data-section] #main{padding:16px}
  body[data-section] #sidebar .navlink{min-height:48px}
  body[data-section] #mobile-nav{background:#fffffffa;backdrop-filter:blur(14px);box-shadow:0 -3px 18px #25493407;padding-top:7px}
  body[data-section] #mobile-nav .mobile-destination{border-radius:12px;min-height:52px;gap:4px}
  body[data-section] #mobile-nav .mobile-destination .icon{width:21px;height:21px}
  body[data-section] #mobile-nav .mobile-destination[aria-current=page]{background:#eaf4ee;color:#245f46}
}
@media(max-width:600px){
  body[data-section] #main .home-dates{padding:14px 12px;border-radius:14px}
  body[data-section] #main .diary-cover .weekline{gap:10px}
  body[data-section] #main .diary-cover .weekline>div:first-child{flex:1 1 100%}
  body[data-section] #main .diary-cover .weektools{margin-left:0}
  body[data-section] #main .diary-cover .dateday span{font-size:.75rem}
  body[data-section] #main .diary-cover .dateday b{font-size:1.25rem}
  body[data-section] #main :is(.chapter-symbol,.hh-cover-icon){width:42px;height:42px;border-radius:12px}
  body[data-section] #main .day-list>header{flex-wrap:wrap}
  body[data-section] #main .day-list-actions{margin-left:auto;gap:4px}
  body[data-section] #main .gv-heading-icon{width:32px;height:32px;border-radius:9px}
  body[data-section] #main .section-tabs .section-tab{font-size:.875rem}
  .gv-chart{height:210px}
  body[data-section] #main .hh-cover p{font-size:.875rem}
  body[data-section] #main .family-member-chip{font-size:.875rem}
  body[data-section] #main .wt-inspector{flex-wrap:wrap}
  body[data-section] #modal{margin:auto 0 0;width:100%;max-width:100%;max-height:88dvh;border-radius:20px 20px 0 0;padding:20px 18px calc(18px + env(safe-area-inset-bottom));border-bottom:0;box-shadow:0 -8px 40px #183c2b1c}
  body[data-section] #modal .dialoghead{position:sticky;top:-20px;background:#fff;padding-block:10px;border-bottom:1px solid var(--line);z-index:1}
}
@media(prefers-reduced-motion:reduce){body[data-section] *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.gv-tooltip{display:none}.gv-chart{max-height:200px}.gv-donut-center{color:#222}body[data-section] #main .home-dates{background:white;box-shadow:none}}
body[data-section] #main .dish-meta{font-size:.8125rem;color:var(--muted)}
body[data-section] #main .dish-open{font-family:var(--sans);font-size:1.125rem;color:var(--ink)}
body[data-section] #main .dish-actions{padding-top:14px}
body[data-section] #main .dish-actions .btn{min-height:44px}
body[data-section] #main .share-setup p{max-width:68ch;color:var(--muted);font-size:.9375rem;line-height:1.6}

@media(max-width:600px){body[data-section] #main .calcell{min-height:60px}body[data-section] #main .calendar-agenda .record{flex-wrap:nowrap}}
body[data-section] #bar :is(.mobile-brand,.menubtn,.crumb,.searchbar){color:var(--ink)}
body[data-section] .nc-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:600px){body[data-section] #main{padding-bottom:88px}body[data-section] #main .diary-cover .weekline{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}body[data-section] #main .diary-cover .weekline>div:first-child{display:contents}body[data-section] #main .diary-cover h1{grid-column:1;grid-row:1;font-size:1.5rem}body[data-section] #main .diary-cover .weekline p{grid-column:1/-1;grid-row:2;margin:0}body[data-section] #main .diary-cover .weektools{grid-column:2;grid-row:1;margin:0}body[data-section] #main .home-date-link{font-size:.875rem}body[data-section] .nc-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}}
body[data-section] #main :is(.undated-move,.day-task .undated-move){color:var(--muted)}
body[data-section] #main .calendar-month>.panelhead h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body[data-section] #main .calendar-month>.panelhead{justify-content:flex-end}
body[data-section] #main .dish-card{display:flex;flex-direction:column}
body[data-section] #main .dish-copy{display:flex;flex-direction:column;flex:1;gap:8px}
body[data-section] #main .dish-copy h3{flex:1;margin:0}
body[data-section] #main .dish-actions{margin-top:auto}
body[data-section] #main .dish-actions .btn{width:100%;justify-content:center}
@media(max-width:600px){body[data-section] #main .calgrid{grid-template-columns:repeat(7,minmax(0,1fr))}body[data-section] #main .calgrid>.weekarrow,body[data-section] #main .calgrid>span:first-child{display:none}body[data-section] #main .category-pin span{display:none}body[data-section] #main .category-pin{width:44px;height:44px;flex:none;padding:10px}body[data-section] #main .dish-open{font-size:1rem}body[data-section] #main .dish-copy{padding:13px}}
@media(max-width:600px){body[data-section] .section-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-section=calendar] .section-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-section] .section-tab{word-break:normal;overflow-wrap:normal;hyphens:none}}
body[data-section] #bar .searchbar{background:var(--paper-tint);border-color:var(--line)}
body[data-section] #main :is(.sl-copy strong,.sl-name,.sl-list-header h2){color:var(--ink)}
body[data-section] #main .expense-summary{background:var(--paper-tint);color:var(--ink);border-color:var(--green)}
body[data-section] #main .day-local :is(summary,[data-brief=prayer]){color:var(--ink)}
body[data-section] #main .day-local .local-place{color:var(--muted)}
body[data-section] .nc-tabs:has(a){grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-section] .calendar-agenda .record>.task-time{margin-left:38px;flex-basis:auto;color:var(--ink);background:var(--paper-tint);min-height:36px}
@media(min-width:1200px){body[data-section] .calendar-agenda .record>.recordbody{flex-basis:calc(100% - 48px)}}
