/* Gezins-OS black: shared surfaces, existing family colours remain recognisable. */
html[data-theme=black] .quick-conversation .conversation-confirm-actions [data-save]{background:#173b2a!important;color:#a6f69b!important;border-color:#69b976!important;box-shadow:inset 0 0 0 1px #a6f69b0a,0 0 12px #75db870d}
html[data-theme=black] .quick-conversation .conversation-confirm-actions [data-revise]{background:#30251c!important;color:#ffbc80!important;border-color:#a97749!important;box-shadow:inset 0 0 0 1px #ffbc8008}
html[data-theme=black] .quick-conversation .conversation-confirm-actions [data-save]:focus-visible{outline-color:#a6f69b}
html[data-theme=black] .quick-conversation .conversation-confirm-actions [data-revise]:focus-visible{outline-color:#ffbc80}
html[data-theme=black] .quick-conversation .conversation-sound input{accent-color:#a6f69b}
.theme-settings{padding:18px 20px;margin-bottom:20px}.theme-settings h2{font-size:18px;margin:0 0 5px}.theme-settings>p{font-size:13px;color:#68786d;margin:0 0 16px}
.theme-choices{display:flex;gap:10px}.theme-choices>button{flex:1;display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:10px;border:1px solid #d8e1d9;border-radius:12px;background:#f6f8f3;color:#345446;font-size:14px}
.theme-choices>button[aria-pressed=true]{border-color:#285347;box-shadow:0 0 0 1px #285347;background:#e8f0e9}
.theme-swatch{width:23px;height:23px;border-radius:50%;border:1px solid #9ca99f;display:block;flex:none}.theme-swatch-light{background:#fafcf8}.theme-swatch-black{background:#080b0d}.theme-swatch-system{background:linear-gradient(90deg,#fafcf8 50%,#080b0d 50%)}
html[data-theme=black]{--black-bg:#080b0d;--black-panel:#121819;--black-raised:#192122;--black-line:#2c3836;--black-text:#edf2ef;--black-muted:#a6b5ad;--black-accent:#9bd5ba;--go-colorPrimary:#36765d;--go-colorText:#edf2ef;--go-colorTextSecondary:#a6b5ad;--go-colorBorder:#2c3836;--go-colorBgContainer:#121819;--go-colorBgLayout:#192122;--go-boxShadowSecondary:0 18px 60px #0008;background:var(--black-bg);color-scheme:dark}
html[data-theme=black] body{background:var(--black-bg)!important;color:var(--black-text)!important}
html[data-theme=black] :is(main,#app,.settings-page,.settings-chapter){background-color:transparent;color:var(--black-text)}
html[data-theme=black] :is(aside,nav,.sticky-people-dock,.family-sticky-bar){background-color:#0c1112!important;border-color:var(--black-line)!important}
html[data-theme=black] :is(.panel,.stat,.capture,.task-card,.information-folder-card,.school-card,.school-message,.information-search-answer,.settings-items>.panel,.information-search-answers,.shopping-bar){background:var(--black-panel)!important;border-color:var(--black-line)!important;box-shadow:0 6px 24px #0003;color:var(--black-text)}
html[data-theme=black] :is(.panel-head,.row,.inbox-item,fieldset,.settings-items,.settings-chapter){border-color:var(--black-line)!important}
html[data-theme=black] :is(h1,h2,h3,h4,strong,.task-open,.task-note){color:var(--black-text)}
html[data-theme=black] :is(label,small,footer,.eyebrow,.settings-intro,.dynamic-time-axis,.dynamic-navigation>[data-dynamic-week],.theme-settings>p,.item-top-switch>small){color:var(--black-muted)!important}
html[data-theme=black] :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#0c1213!important;color:var(--black-text)!important;border-color:#34413e!important}
html[data-theme=black] :is(input,textarea)::placeholder{color:#83958a;opacity:1}
html[data-theme=black] :is(button,.button){color:var(--black-text)}
html[data-theme=black] :is(button,.button):not([style]):not(.primary):not([data-owner]):not(.appointment-chip):not(.month-date-button):not(.reminder-bell):not(.check):not(.task-open):not(.agenda-person-change){background-color:var(--black-raised);border-color:var(--black-line)}
html[data-theme=black] :is(button.primary,.primary,.task-complete-label){background:#327358!important;color:#fff!important;border-color:#43856a!important}
html[data-theme=black] :is(a,.task-document-chip,.task-website){color:var(--black-accent)}
html[data-theme=black] :is(.task-document-chip,.task-website,.information-read-options,.item-top-switch,.task-source-change,.theme-choices>button){background:var(--black-raised)!important;border-color:var(--black-line)!important;color:var(--black-text)!important}
html[data-theme=black] .theme-choices>button[aria-pressed=true]{background:#1c3b2e!important;border-color:#78bf9e!important;box-shadow:0 0 0 1px #78bf9e}
html[data-theme=black] nav button.active{background:#254c3b!important;color:#effaf3!important}
html[data-theme=black] :is(dialog,dialog.go-dialog){background:var(--black-panel)!important;color:var(--black-text)!important;border-color:var(--black-line)!important;box-shadow:0 20px 90px #000b}
html[data-theme=black] dialog::backdrop{background:#0009}
html[data-theme=black] body dialog :is(.appointment-heading-card,.task-detail-header,.school-detail-heading,.appointment-description,.appointment-extra-notice,.extra-info-text,.task-source-panel,.reminder-alert-item,.reminder-alert-heading,.go-dialog-heading){background:var(--black-raised)!important;color:var(--black-text)!important;border-color:var(--black-line)!important}
html[data-theme=black] body dialog :is(.appointment-header-tools button,.go-dialog-heading>button,.appointment-actions>:is(a,button),.reminder-alert-close){background:#202c29!important;border-color:#3a4a43!important;color:#cee6d8!important}
html[data-theme=black] body .appointment-tabs{border-color:var(--black-line)}
html[data-theme=black] body .appointment-tabs>[role=tab]{background:transparent!important;color:var(--black-muted)!important}
html[data-theme=black] body .appointment-tabs>[aria-selected=true]{background:#203b30!important;color:#d1efdf!important;border-bottom-color:#91cdae!important}
html[data-theme=black] :is(.dialog-actions,.detail-delete-footer,.go-dialog-heading,.task-detail-notes,[data-subtasks]){border-color:var(--black-line)!important}
html[data-theme=black] .detail-delete-footer button{color:#f1a6a6!important;background:#321f23!important;border-color:#62373c!important}
html[data-theme=black] :is(.appointment-actions .reminder-control>button.reminder-set,button.reminder-bell){background:#252b16!important;color:#d5e879!important;border-color:#626f35!important}
html[data-theme=black] .appointment-actions .reminder-control>time{color:#d5e879!important}
html[data-theme=black] :is(.month-grid,.month-day,.dynamic-day-column,.dynamic-period,.dynamic-time-axis>[data-period],.agenda-mode-switch,.month-date-button){background-color:#0e1516!important;border-color:#2b3632!important;color:var(--black-text)}
html[data-theme=black] :is(.dynamic-day-heading,.dynamic-relative-label,.dynamic-navigation button){color:#c4d5cb}
html[data-theme=black] :is(.dynamic-day-column.is-selected,.month-day.today){background:#11251d!important;box-shadow:inset 0 0 0 1px #47755e}
html[data-theme=black] .dynamic-day-column.is-selected .dynamic-period{background:#11251d!important}
html[data-theme=black] .dynamic-day-column.is-selected :is(.month-date-button,.dynamic-day-heading){background:#24513e!important;color:#f2fff6!important}
html[data-theme=black] :is(.appointment-chip,.agenda-person-change){color:#17372b!important}
html[data-theme=black] #people button[data-owner]{color:#17372b!important}
html[data-theme=black] :is(.appointment-chip,.agenda-person-change) :is(strong,small,span){color:inherit!important}
html[data-theme=black] #people button[data-owner] :is(strong,small,span){color:inherit!important}
html[data-theme=black] #people button[data-owner=all],html[data-theme=black] #people button[data-owner=gezin]{background:#254936!important;color:#d9f3e3!important}
html[data-theme=black] :is(.waste-day-pmd,.waste-day-pmd .dynamic-period){background:#2b2318!important}
html[data-theme=black] :is(.waste-day-gft,.waste-day-gft .dynamic-period){background:#192b1c!important}
html[data-theme=black] :is(.waste-day-rest,.waste-day-rest .dynamic-period){background:#23282d!important}
html[data-theme=black] .dynamic-day-column.vacation-panorama-day{background:#131d20!important}
html[data-theme=black] .dynamic-day-column.vacation-panorama-day:before{opacity:.45}
html[data-theme=black] .dynamic-day-column.vacation-panorama-day .vacation-day-chip{background:#342824!important;color:#f0c8b7!important;border-top-color:#9e7562!important}
html[data-theme=black] .check{background:#101a17!important;border-color:#5b7365!important;color:#bfe1cc!important}
html[data-theme=black] :is(.settings-tabs,.school-children,.agenda-scopes,.information-filter-chips) button[aria-selected=true],html[data-theme=black] :is(.school-children,.information-filter-chips) button[aria-pressed=true]{background:#254c3b!important;color:#e6f9ed!important;border-color:#5c8d70!important}
html[data-theme=black] .school-date{background:#26392e!important;color:#cce5d4!important}
html[data-theme=black] .android-update-notice{background:#142d29!important;color:#d6f1e5!important;border-color:#365b4f!important}
html[data-theme=black] .android-startup-cover{background:#080b0d!important;color:#e3eee7}
html[data-theme=black] .pdf-original,html[data-theme=black] .school-pdf{background:#1b2723!important;color:#c4e8d2!important;border-color:#385246!important}
html[data-theme=black] :focus-visible{outline-color:#a1d3b6}
html[data-theme=black] :is(.day-sticky-note,.sticky-note-popup,.news-sticky-card){color:#2a3929!important}
html[data-theme=black] :is(.day-sticky-note,.sticky-note-popup,.news-sticky-card) :is(strong,small,span,p,h2,h3,button){color:#2a3929!important}
html[data-theme=black] .sticky-people{background:#080b0df5!important;border-color:#2c3836!important}
html[data-theme=black] .dynamic-day-column.is-today .dynamic-period{background:#11251d!important}
html[data-theme=black] :is(.dynamic-time-axis,.dynamic-relative-label,.month-weekdays,.month-date-button){color:#bdccc3!important}
html[data-theme=black] .theme-settings{background:#121819!important;border-color:#2c3836!important}
html[data-theme=black] body #app :is(.family-settings-inline,.family-member-card,.family-member-form,.family-member-panel,.family-subpanel,.family-tab-content){background:var(--black-panel)!important;border-color:var(--black-line)!important;color:var(--black-text)!important}
html[data-theme=black] :is(.settings-tabs button,.family-help,summary,.family-settings-dialog p,.family-age-advice,.family-settings-dialog small){color:#b8cec1!important}
html[data-theme=black] body .settings-tabs button[aria-selected=true]{background:#254c3b!important;color:#e6f9ed!important}
html[data-theme=black] :is(.calendar-view-button,.agenda-switch,.calendar-mode-button,.google-calendar-button){background:#1c2822!important;border-color:#3c5146!important;color:#b5d9c3!important}
html[data-theme=black] .task-detail-dialog .task-source-panel{background:transparent!important}
html[data-theme=black] body #app .settings-items{background:transparent!important}

html[data-theme=black] body dialog :is(.appointment-for,.google-place-picker,.google-linked-place,.appointment-location,.agenda-people,.agenda-people>div,.together-shortcut,.appointment-photo-preview){background:#1b2822!important;color:#d3e6da!important;border-color:#35483c!important}
html[data-theme=black] body dialog.appointment-dialog .appointment-when :is(strong,span){color:#c8e7d4!important}
html[data-theme=black] body dialog.appointment-dialog .appointment-for :is(small,span){color:#c8dbcf!important}
html[data-theme=black] .calendar-toggle{background:#1c2822!important;color:#bed9c9!important;border-color:#35483c!important}

/* Small theme previews use the same three surfaces as the app itself. */
.theme-choices{gap:10px}
.theme-choices>button{position:relative;display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;gap:9px;padding:10px 10px 12px;background:#fff;border-radius:14px;min-width:0;box-shadow:0 2px 8px #183c2510}
.theme-choices>button[aria-pressed=true]{background:#edf5ee;border-color:#4b8065;box-shadow:0 0 0 1px #4b8065}
.theme-choice-name{font-size:13px;font-weight:600;line-height:1.3;text-align:left}
.theme-preview{height:47px;display:block;position:relative;overflow:hidden;border-radius:8px;border:1px solid #d5dfd7;background:#f7f9f5;padding:8px;box-sizing:border-box}
.theme-preview-top{display:flex;gap:4px}.theme-preview-top i{display:block;width:7px;height:4px;border-radius:2px;background:#f3ad68}.theme-preview-top i:nth-child(2){background:#ec8eaf}.theme-preview-top i:nth-child(3){background:#a997dd}
.theme-preview-card{display:block;height:10px;border-radius:3px;background:#dbe5dc;margin-top:6px}
.theme-preview-line{display:block;width:55%;height:3px;background:#c0d0c3;margin-top:4px;border-radius:2px}
.theme-preview-black{background:#080b0d;border-color:#2c3836}.theme-preview-black .theme-preview-card{background:#1b2923}.theme-preview-black .theme-preview-line{background:#50665a}
.theme-preview-system{background:linear-gradient(90deg,#f7f9f5 50%,#080b0d 50%);border-color:#66796a}.theme-preview-system .theme-preview-card{background:linear-gradient(90deg,#dbe5dc 50%,#1b2923 50%)}.theme-preview-system .theme-preview-line{background:linear-gradient(90deg,#c0d0c3 50%,#50665a 50%)}
.theme-choice-tick{position:absolute;bottom:10px;right:8px;width:17px;height:17px;display:grid;place-items:center;color:#326c50;visibility:hidden}.theme-choice-tick svg{width:16px;height:16px;display:block}
.theme-choices>button[aria-pressed=true] .theme-choice-tick{visibility:visible}
html[data-theme=black] .theme-choices>button{background:#151f1b!important;border-color:#35443b!important;box-shadow:none}
html[data-theme=black] .theme-choices>button[aria-pressed=true]{background:#1c3629!important;border-color:#86b99c!important;box-shadow:0 0 0 1px #86b99c}
html[data-theme=black] .theme-choice-tick{color:#b4e3c7}
/* Refined surface hierarchy: subtle raised edges instead of light blocks. */
html[data-theme=black]{--black-panel:#141c1e;--black-raised:#1c2728;--black-line:#35433e;--go-colorBgContainer:#141c1e;--go-colorBgLayout:#1c2728;--go-colorBorder:#35433e}
html[data-theme=black] body :is(.panel,.stat,.capture,.task-card,.information-folder-card,.school-card,.school-message,.information-search-answer){box-shadow:var(--go-shadowCard)!important}
html[data-theme=black] body dialog{box-shadow:inset 0 1px 0 #ffffff08,0 24px 80px #000b!important}
html[data-theme=black] body :is(.settings-items details,.privacy-beta-settings details,.help-center-tools details,.sound-settings details,.holiday-rhythm-periods,.web-app-install,.shared-agenda-poll){background:var(--black-raised)!important;border-color:var(--black-line)!important;color:var(--black-text)!important}
html[data-theme=black] body #app :is(p,time):not(.positive):not(.negative){color:#b0c2b7!important}
html[data-theme=black] body #app :is(.passkey-account-tools>button,.connection-status){color:#b7e4ca!important;background:#203b2d!important;border-color:#42684e!important}
html[data-theme=black] .trusted-device-icon{background:#263a32!important;color:#c4ead5!important}
html[data-theme=black] body #app .rhythm-variant-picker button{background:#1c2c25!important;border-color:#3b5446!important;color:#c7e6d2!important}
html[data-theme=black] body #app .rhythm-variant-mark{color:#b9d9c6!important}
html[data-theme=black] body button[style]:not([style*="background"]):not([style*="--"]){background-color:#21302a;color:#d9e9df}
html[data-theme=black] body .shopping-quick-dialog :is(.quick-action-choice,.quick-shopping-card){background:#1c2824!important;border-color:#3b4d43!important;color:#dfede4!important;box-shadow:inset 0 1px 0 #ffffff05,0 4px 12px #0003!important}
html[data-theme=black] body .shopping-quick-dialog .quick-action-icon{background:#2a4234!important;color:#b5ddc5!important}
html[data-theme=black] body .shopping-quick-dialog .quick-vacation-choice{background-color:#1c2924!important;background-blend-mode:soft-light;border-color:#41574a!important}
html[data-theme=black] body .shopping-quick-dialog :is(small,.quick-action-intro,.quick-shopping-week){color:#b2c6b9!important}
html[data-theme=black] body .weekly-update-tabs{background:var(--black-panel)!important;border-bottom:1px solid #35463d;padding:4px 0 10px;gap:7px}
html[data-theme=black] body .weekly-update-tabs button{background:#1c2924!important;color:#b4c8bb!important;border:1px solid #35473c!important;box-shadow:none!important;border-radius:10px}
html[data-theme=black] body .weekly-update-tabs button[aria-selected=true]{background:#2b523d!important;color:#ecfff2!important;border-color:#6a9c7c!important}
html[data-theme=black] body .whats-new-dialog .whats-new-row{background:transparent!important;border-color:#35463d!important;color:#e7f0eb!important}
html[data-theme=black] body .whats-new-dialog .news-feature-card{background:#1d2c25!important;border:1px solid #3a5142!important;border-radius:15px!important;box-shadow:inset 0 1px 0 #ffffff06,0 5px 16px #0004!important}
html[data-theme=black] body .whats-new-dialog .whats-new-row:hover{background:#22362b!important}
html[data-theme=black] body .whats-new-dialog .news-feature-icon{background:#2d4435!important;color:#bddfc9!important}
html[data-theme=black] body .whats-new-dialog .whats-new-copy small{color:#b4c8bb!important;font-weight:400;line-height:1.5}
html[data-theme=black] body .whats-new-dialog .news-sticky-card{background:#fff2b8!important;border-color:#d2bd73!important}
html[data-theme=black] body .whats-new-dialog .news-sticky-card :is(strong,small,span){color:#4b4226!important}
html[data-theme=black] body .whats-new-dialog .news-sticky-card .news-feature-icon{background:#fff8d7!important;color:#75643c!important}
/* Calendar grid, including the entire waste-day column. */
html[data-theme=black] body .dynamic-period{border-color:#40564a!important;background:#0f1718!important}
html[data-theme=black] body .dynamic-time-axis>[data-period]{border-color:#40564a!important}
html[data-theme=black] body .dynamic-day-heading{border-bottom:1px solid #4a6253}
html[data-theme=black] body .month-day{border-color:#40564a!important}
html[data-theme=black] body .waste-day-pmd{--waste-surface:#271f15;--waste-head:#47321d;--waste-edge:#987247;--waste-ink:#f2d0a3}
html[data-theme=black] body .waste-day-gft{--waste-surface:#13251b;--waste-head:#214830;--waste-edge:#527b5b;--waste-ink:#d0ebd2}
html[data-theme=black] body .waste-day-rest{--waste-surface:#20262b;--waste-head:#34424a;--waste-edge:#71848e;--waste-ink:#dce6ed}
html[data-theme=black] body .waste-day-papier{--waste-surface:#142332;--waste-head:#22425d;--waste-edge:#4f7c9e;--waste-ink:#cfe6f7}
html[data-theme=black] body :is(.waste-day-pmd,.waste-day-gft,.waste-day-rest,.waste-day-papier){background:var(--waste-surface)!important;box-shadow:inset 1px 0 var(--waste-edge),inset -1px 0 var(--waste-edge)}
html[data-theme=black] body :is(.waste-day-pmd,.waste-day-gft,.waste-day-rest,.waste-day-papier) .dynamic-period{background:var(--waste-surface)!important;border-color:color-mix(in srgb,var(--waste-edge) 65%,#17211d)!important}
html[data-theme=black] body :is(.waste-day-pmd,.waste-day-gft,.waste-day-rest,.waste-day-papier) .dynamic-day-heading{background:var(--waste-head)!important;border-color:var(--waste-edge)!important;box-shadow:inset 0 1px 0 #ffffff09}
html[data-theme=black] body :is(.waste-day-pmd,.waste-day-gft,.waste-day-rest,.waste-day-papier) .special-day-label.waste-day-badge{background:color-mix(in srgb,var(--waste-head) 85%,#000)!important;border:1px solid var(--waste-edge)!important;border-left:3px solid var(--waste-edge)!important;color:var(--waste-ink)!important;box-shadow:inset 0 1px 0 #ffffff08!important;border-radius:7px;padding:5px}
html[data-theme=black] body :is(.waste-day-pmd,.waste-day-gft,.waste-day-rest,.waste-day-papier) .special-day-label.waste-day-badge span{color:var(--waste-ink)!important}
html[data-theme=black] body .dynamic-day-column.is-selected .dynamic-period{box-shadow:inset 1px 0 #61967766,inset -1px 0 #61967766}
/* Utility buttons: same outline, same icon size, no oversized eye. */
html body main>header :is(.agenda-header-filter,.calendar-rhythm-info,.compact-help){box-sizing:border-box;display:inline-grid;place-items:center;width:36px;min-width:36px;height:36px;min-height:36px;padding:0;border-radius:11px;line-height:1;border:1px solid #d9e2da;font-size:19px}
html body main>header .agenda-header-filter>svg{display:block;width:20px;height:20px;margin:0;stroke-width:1.65}
html[data-theme=black] body main>header :is(.agenda-header-filter,.calendar-rhythm-info,.compact-help){background:#192722!important;border-color:#3c5043!important;color:#c5dcce!important;box-shadow:inset 0 1px 0 #ffffff04}
html[data-theme=black] body :is(.agenda-view-toggle,.agenda-picker-toggle,[data-agenda-calendar]){background:#1b2b23!important;color:#c3dfcd!important;border-color:#3c5143!important}

html[data-theme=black] body :is(.dynamic-date-picker,.month-navigation-compact #agendaJump.month-date-jump){background:#1b2b23!important;color:#c3dfcd!important;border:1px solid #3c5143}html[data-theme=black] .month-date-jump svg{color:#c3dfcd}

/* Quiet green phosphor accent: confined to waste markers, never the whole page. */
html[data-theme=black] body .waste-day-gft{--waste-edge:#68ad76;--waste-ink:#d2f0d7}
html[data-theme=black] body .waste-day-gft .special-day-label.waste-day-badge{border-color:#659e70!important;border-left-color:#8ad598!important;box-shadow:inset 0 1px 0 #b8f9c315,0 0 9px #65c77c16!important;text-shadow:none}
html[data-theme=black] body .waste-day-gft .dynamic-day-heading{box-shadow:inset 0 1px 0 #9ddfaf25,inset 0 -1px 0 #70b78540}
html[data-theme=black] .family-settings-inline button:not([style]):not([role=switch]){background:#1c2a25;color:#d0e7d8;border-color:#40594b}

/* Even doorgeven uses the same quiet green surfaces, including the top strip. */
html[data-theme=black] body .personal-today{--where-ink:#c9e5d1;background:#14251c!important;color:#d5e9db!important;border-color:#3b6348!important}
html[data-theme=black] body .personal-today.has-away{background:#193423!important;box-shadow:inset 3px 0 #76b689,0 2px 10px #0003}
html[data-theme=black] body .personal-today :is(summary,strong,.where-line,.where-reported,.where-status-body,p,small){color:#cce4d4!important}
html[data-theme=black] body .personal-today .where-status>summary i:after{border-color:#8ec69e!important}
html[data-theme=black] body :is(.where-status-body button,.where-quick-add,.where-planned){background:#223c2c!important;color:#cfe9d7!important;border-color:#4c7057!important}
html[data-theme=black] body .where-editor.personal-today{background:var(--black-panel)!important;border:1px solid #3b5143!important;box-shadow:0 24px 80px #0009,inset 0 1px 0 #ffffff08}
html[data-theme=black] body .where-editor .where-add[open]{background:transparent!important;color:var(--black-text)!important;border:0;box-shadow:none}
html[data-theme=black] body .where-editor .sticky-start-choice{background:#203327!important;border-color:#41624b!important;color:#cbe7d4!important}
html[data-theme=black] body .where-planned-summary{background:#1e3025!important;color:#c6dece!important;border:1px solid #3b5845;border-radius:10px;padding:10px}
html[data-theme=black] body .weekly-update-return{color:#a4b7ab!important}

html[data-theme=black] body .typed-clock{background:#0c1213!important;color:#b9d3c3!important;border-color:#40544a!important}html[data-theme=black] body .typed-clock input{background:transparent!important;box-shadow:none!important}
html[data-theme=black] body .family-settings-people button{background:#1b2b23!important;color:#d0e7d8!important;border:1px solid #40594b!important;box-shadow:inset 3px 0 var(--member-color)}html[data-theme=black] body .family-settings-people button[aria-pressed=true]{background:#244232!important;border-color:#7ba78b!important}

/* Waste colour wins over the generic green selection state. */
html[data-theme=black] body .waste-day-pmd{--waste-surface:#281c12;--waste-head:#482c15;--waste-edge:#d18a42;--waste-ink:#ffdaab}
html[data-theme=black] body .dynamic-day-column:is(.waste-day-pmd,.waste-day-gft,.waste-day-rest,.waste-day-papier):is(.is-selected,.is-today) .dynamic-period{background:var(--waste-surface)!important;box-shadow:inset 1px 0 var(--waste-edge),inset -1px 0 var(--waste-edge)}
html[data-theme=black] body .dynamic-day-column:is(.waste-day-pmd,.waste-day-gft,.waste-day-rest,.waste-day-papier) :is(.dynamic-day-heading,.month-date-button){background:var(--waste-head)!important;color:var(--waste-ink)!important}
html[data-theme=black] body .dynamic-day-column.waste-day-pmd .special-day-label.waste-day-badge{border-color:#db974d!important;border-left-color:#ffb45e!important;box-shadow:inset 0 1px 0 #ffc87b1c,0 0 10px #ed94251c!important}
html[data-theme=black] body .dynamic-day-column:is(.waste-day-pmd,.waste-day-gft,.waste-day-rest,.waste-day-papier) .dynamic-day-add{background:var(--waste-surface)!important;color:var(--waste-ink)!important;border-color:var(--waste-edge)!important}

/* Screen layout / eye menu: no light nested panels on the dark sheet. */
html[data-theme=black] body dialog.screen-layout-dialog[open]{background:#141c1e!important;border:1px solid #40554a!important;color:#e8f1ec!important;box-shadow:0 16px 50px #0009}
html[data-theme=black] body .screen-layout-dialog .screen-layout-head{background:#141c1e!important;border-color:#3a4e42!important}
html[data-theme=black] body .screen-layout-dialog .screen-layout-group{background:#18251f!important;border-color:#3a5142!important}
html[data-theme=black] body .screen-layout-dialog .calendar-layer-row{background:transparent!important;color:#c4d7ca!important;border-color:#354a3d!important}
html[data-theme=black] body .screen-layout-dialog .calendar-layer-row[aria-checked=true]{color:#edf8f0!important}
html[data-theme=black] body .screen-layout-dialog .calendar-layer-eye{background:#293c30!important;color:#b7d5c0!important}
html[data-theme=black] body .screen-layout-dialog [aria-checked=false] .calendar-layer-eye{background:#1d2923!important;color:#83998b!important}
html[data-theme=black] body .screen-layout-dialog :is(.screen-layout-peek,.screen-layout-presets button,.screen-layout-tabs button){background:#1d3025!important;color:#bfd9c9!important;border:1px solid #3b5647!important}
html[data-theme=black] body .screen-layout-dialog .screen-layout-tabs [aria-selected=true]{background:#2b503b!important;color:#effff4!important;border-color:#79a48a!important}
html[data-theme=black] body .screen-layout-dialog :is(.calendar-layers-note,.dialog-app-release){color:#afc2b5!important}
html[data-theme=black] body .screen-layout-dialog .screen-layout-children{background:#142019!important;border-color:#354a3d!important}

/* Proposals keep a quiet warm hint without light cards in a dark dialog. */
html[data-theme=black] body .tentative-dialog .tentative-row{background:#23291f!important;border-color:#596048!important;box-shadow:inset 0 1px 0 #ffffff06}
html[data-theme=black] body .tentative-dialog .tentative-row>.tentative-open{background:transparent!important;color:#e3ebdf!important}
html[data-theme=black] body .tentative-dialog .tentative-title{color:#e3ebdf!important}
html[data-theme=black] body :is(.tentative-date,.tentative-description){color:#b7c2ab!important}
html[data-theme=black] body .tentative-dialog .tentative-open-hint{color:#a7d1b7!important}
html[data-theme=black] body .tentative-dialog input[role=switch]{background:#57665b!important}
html[data-theme=black] body .tentative-dialog input[role=switch]:checked{background:#428167!important}
html[data-theme=black] body .tentative-dialog .tentative-row>.tentative-remove{background:transparent!important;color:#d9a8a0!important}
html[data-theme=black] body .tentative-dialog .dialog-head>button{background:#26372e!important;color:#d1e6d7!important}
html[data-theme=black] body .tentative-notice{background:#23291f!important;border-color:#64684b!important;color:#dbe5d2!important}
html[data-theme=black] body .tentative-notice :is(.tentative-open,.tentative-launch){background:transparent!important;color:#dbe5d2!important}

/* Shared form surfaces: editors and nested disclosure panels follow one theme. */
html[data-theme=black] body :is(#app,dialog) details{background:#1a2922!important;color:#d0e2d6!important;border-color:#405648!important}
html[data-theme=black] body :is(#app,dialog) details>summary{color:#c4dece!important}
html[data-theme=black] body dialog :is(.agenda-icon-picker,.appointment-related,.appointment-option-card,.rhythm-date-switch,.appointment-time-options>label){background:#1a2922!important;border-color:#405648!important;color:#ccdfd2!important}
html[data-theme=black] body dialog :is(.agenda-icon-picker legend,.agenda-people legend,.appointment-related strong){color:#dbece1!important}
html[data-theme=black] body dialog .agenda-icon-picker>div>label{background:#23352b!important;border-color:#415c4a!important;color:#d1e3d7!important}
html[data-theme=black] body dialog .agenda-icon-picker>div>label:has(input:checked){background:#31543e!important;border-color:#89b697!important}
html[data-theme=black] body dialog .agenda-people>div>label{background:#22362a!important;color:#cce0d2!important;border-color:#48624f!important}
html[data-theme=black] body dialog .agenda-people>div>label:has(input:checked){background:var(--person-color)!important;color:#21362b!important;border-color:#99bba5!important}
html[data-theme=black] body dialog .agenda-people>div>label span{color:inherit!important}
html[data-theme=black] body dialog .appointment-input-actions button{background:#22342a!important;color:#b8d8c5!important;border-color:#435c4d!important}
html[data-theme=black] body dialog .appointment-input-actions button[aria-pressed=true]{background:#365d45!important;color:#effff3!important}
html[data-theme=black] body dialog :is(.appointment-extra-panel,.appointment-option-card,.rhythm-date-switch) :is(p,small,summary,span){color:#b9d0c1!important}
html[data-theme=black] body dialog :is(.attachment-source-tabs,.attachment-tabs,.attachment-mode-tabs){background:#1c2c24!important;border-color:#405648!important}
html[data-theme=black] body .task-more{background:#23382b!important;color:#cae5d3!important;border-color:#48654f!important}
/* Chip depth stays restrained; family colours remain intact. */
html[data-theme=black] body .appointment-chip{box-shadow:var(--go-shadowChip);text-shadow:0 1px 0 #ffffff12}
html[data-theme=black] body :is(.task-document-chip,.task-website,.family-settings-people button){box-shadow:inset 0 1px 0 #ffffff0a,0 2px 5px #0004;text-shadow:0 1px 1px #0004}
html[data-theme=black] body dialog details>summary{background:transparent!important}html[data-theme=black] body dialog :is(.tentative-toggle,.attachment-picker-actions label,.settings-popup-trigger,.call-appointment-toggle){background:#22372a!important;color:#c5dfce!important;border-color:#496651!important}html[data-theme=black] body dialog .attachment-composer label{background-color:#22372a!important;color:#c5dfce!important}
html[data-theme=black] body .system-status-panel li[data-status=ok]>span:first-child{background:#143021!important;color:#7bef9d!important;border:1px solid #4b9864;border-radius:50%;box-shadow:0 0 9px #61e68b18,inset 0 1px 0 #b2ffc312;text-shadow:0 0 4px #70ef9b40}html[data-theme=black] body .system-status-panel[data-status=ok]>h3{color:#bcf0cc!important}html[data-theme=black] body .system-status-panel li[data-status=ok]>small{color:#9bc9aa!important}
html[data-theme=black] body .task-card-options>summary{background:#24392c!important;color:#cae4d2!important;border-color:#49634f!important}html[data-theme=black] body .task-card-options>div{background:#1b2b23!important;border-color:#435c4b!important;box-shadow:0 10px 25px #0008}html[data-theme=black] body .task-card .owner{background:#25392a!important;color:#bdddbe!important}html[data-theme=black] body .task-card-options>div>button{background:transparent!important;color:#d5e8dc!important}

/* Welcome / question-mark tour uses the same dark surfaces as the app. */
html[data-theme=black] body .first-start-preview :is(.tour-example,.tour-current-feature,.tour-person,.tour-work-normal,.tour-work-change,.tour-task,.tour-return,.tour-eye-example,.tour-shopping-entry,.tour-shopping-receipt,.tour-vacation-example,.tour-safe-files,.tour-teen-setting,.tour-teen-agenda,.tour-homework-demo,.tour-homework-subject,.tour-settings-menu>span){background:#1b2d23!important;color:#d1e7d9!important;border-color:#45634e!important;box-shadow:inset 0 1px 0 #ffffff07}
html[data-theme=black] body .first-start-preview .tour-example :is(strong,b,span){color:inherit!important}
html[data-theme=black] body .first-start-preview :is(p,.tour-note,.tour-eyebrow,.tour-example small){color:#b4cbbd!important}
html[data-theme=black] body .first-start-preview .first-start-navigation{background:#141c1e!important;border-color:#3b5143!important}
html[data-theme=black] body .first-start-preview .tour-progress>span{background:#354b3d!important}html[data-theme=black] body .first-start-preview .tour-progress>.is-current{background:#8ac9a1!important}
.tour-current-feature{display:grid;gap:10px;padding:18px;border-radius:14px;text-align:left}
html[data-theme=black] body .first-start-preview .tour-example{animation:none!important}

/* Nested tour highlights must not inherit the light demo palette. */
html[data-theme=black] body .first-start-preview .tour-teen-setting b{background:#294b36!important;color:#d8f2e1!important;border:1px solid #537c60}
html[data-theme=black] body .first-start-preview .tour-event{background:#30293f!important;color:#e6dcf5!important;border-left-color:#b497dc!important}
html[data-theme=black] body .first-start-preview .tour-shopping-entry span{background:#294b36!important;color:#d8f2e1!important}
html[data-theme=black] body .first-start-preview .tour-important-homework{background:#49331e!important;color:#ffddb4!important;border:1px solid #8f6537}
html[data-theme=black] body .first-start-preview .tour-task>b{background:#2d3e2c!important;color:#d1e9c4!important;border-color:#6b8a5b!important}
html[data-theme=black] body .family-age-advice{background:#203429!important;border:1px solid #42624c;color:#c8e2d0!important}html[data-theme=black] body dialog .dialog-actions{background:var(--black-panel)!important}

/* Night holiday landscape remains visible behind transparent timetable cells. */
html[data-theme=black] body .dynamic-day-column.vacation-panorama-day{background:#111d22!important}
html[data-theme=black] body .dynamic-day-column.vacation-panorama-day:before{background-image:var(--vacation-dark-scene-image)!important;opacity:.92!important}
html[data-theme=black] body .dynamic-day-column.vacation-panorama-day>.dynamic-period,html[data-theme=black] body .dynamic-day-column.vacation-panorama-day:is(.is-selected,.is-today)>.dynamic-period{background:transparent!important}
html[data-theme=black] body .dynamic-day-column.vacation-panorama-day .vacation-day-chip{background:#433027!important;color:#f2d5c3!important;border-top-color:#ba927b!important}
html[data-theme=black] body .dynamic-day-column.vacation-panorama-day .vacation-day-chip :is(span,small){color:#f2d5c3!important}

/* Explicit chip ink prevents muted metadata from washing out family-colour chips. */
html[data-theme=black] body #app .appointment-chip{--chip-ink:#17372b;color:var(--chip-ink)!important}
html[data-theme=black] body #app .appointment-chip :is(strong,small,span){color:var(--chip-ink)!important}
html[data-theme=black] body #app .appointment-chip.vacation-day-chip{--chip-ink:#f2d5c3}
/* Today's week rhythms: tinted dark rows, clear text, familiar family badges. */
html[data-theme=black] body .dynamic-appointment-line{background:color-mix(in srgb,var(--appointment-color) 12%,#14221b)!important;border-color:#405349!important}
html[data-theme=black] body .dynamic-appointment-bar{background:color-mix(in srgb,var(--appointment-color) 12%,#14221b)!important;color:#e2eee6!important;border-color:#3c5143!important;box-shadow:inset 3px 0 color-mix(in srgb,var(--appointment-color) 70%,#6c9b7a)}
html[data-theme=black] body .dynamic-appointment-bar :is(time,.upcoming-title){color:#d5e5dc!important}
html[data-theme=black] body .dynamic-appointment-bar .upcoming-people-label{color:#17372b!important}
html[data-theme=black] body .dynamic-appointment-line>a{background:#1c3024!important;color:#a8d2b9!important;border-color:#405849!important}
html[data-theme=black] body .dynamic-appointment-bar .upcoming-arrows{color:#85a992!important;opacity:.65}
html[data-theme=black] body .upcoming-row{background:#1c2f24!important;color:#d7ebdf!important;border-color:#3f5a47!important}
/* Guide illustrations retain their paper / amber identities. */
html[data-theme=black] body .first-start-preview .tour-paper-note{background:#eedc8d!important;color:#443b22!important;border:0}
html[data-theme=black] body .first-start-preview .tour-paper-note :is(strong,small,span){color:#443b22!important}
html[data-theme=black] body .first-start-preview .tour-reminder-bell{background:#252b16!important;color:#d5e879!important;border-color:#626f35!important;box-shadow:0 3px 12px #00000020}
html[data-theme=black] body .first-start-preview .tour-reminder-demo small{color:#e3c786!important}
html[data-theme=black] body .tour-return-hint{background:#192d22;color:#d0e9d9;border-color:#5b8769}
html[data-theme=black] body .screen-layout-dialog .screen-layout-peek{background:#142c36!important;color:#8edcf4!important;border-color:#538aa0!important;box-shadow:0 0 8px #64c9ed12}
html[data-theme=black] body .screen-layout-dialog .screen-layout-presets .screen-layout-peek{background:#142c36!important;color:#8edcf4!important;border-color:#538aa0!important;box-shadow:0 0 8px #64c9ed12}html[data-theme=black] body .screen-layout-dialog .week-rhythms-top-choice>span{color:#d3e6da!important}html[data-theme=black] body .screen-layout-dialog .screen-layout-more{background:transparent!important;border:0!important;padding:0!important;margin:0 0 8px!important}

html[data-theme=black] .reminder-alert-icon{background:#252b16;color:#d5e879;border:1px solid #626f35}
html[data-theme=black] body button.reminder-bell:focus-visible{outline-color:#d5e879}

html[data-theme=black] .quick-conversation .conversation-listening{color:#a6f69b}

html[data-theme=black] body .vacation-week-preview{background:var(--go-colorBgContainer)!important;border-color:var(--go-colorBorder)!important;box-shadow:0 6px 18px #0003}
html[data-theme=black] body .vacation-week-preview h3{color:var(--go-colorText)!important}
html[data-theme=black] body .vacation-week-preview>p{color:var(--go-colorTextSecondary)!important}
html[data-theme=black] body .vacation-preview-week{background-color:#111f1c!important;background-image:var(--vacation-dark-scene-image)!important;border-color:var(--go-colorBorder)!important}
html[data-theme=black] body .vacation-preview-day{border-color:#72978c33!important;color:#dceae3!important}
html[data-theme=black] body .vacation-preview-day[data-active=false]{background:#12201ee8!important;color:#92aaa0!important}
html[data-theme=black] body .vacation-preview-day[data-active=true]>.vacation-preview-band{background:#365145b8!important;border-color:#8bab96!important;color:#f1f6ed!important}

html[data-theme=black] body .shopping-quick-dialog .quick-menu-feedback{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--go-colorTextSecondary)!important}

html[data-theme=black] body .screen-edit-bar>button,html[data-theme=black] body .screen-layout-default{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--go-colorTextSecondary)!important}
html[data-theme=black] body .screen-part-card{background:var(--go-colorBgContainer)!important;color:var(--go-colorText)!important;border-color:var(--go-colorBorder)!important}
html[data-theme=black] body .screen-part-card[aria-pressed=true]{background:var(--go-colorBgLayout)!important;border-color:var(--go-colorPrimary)!important}
html[data-theme=black] body .screen-block-tools>button{background:var(--go-colorBgContainer)!important;color:var(--go-colorText)!important;border-color:var(--go-colorBorder)!important}

html[data-theme=black]{--go-shadowCard:inset 0 1px 0 #ffffff08,0 3px 8px #0005,0 9px 24px #0005;--go-shadowChip:inset 0 1px 0 #ffffff20,inset 0 0 0 1px #ffffff15,0 3px 7px #0008;}
