:root[data-theme="dark"]{color-scheme:dark;--paper:#101a1a;--panel:#182626;--ink:#edf3ed;--muted:#b2c1bc;--line:#3b504b;--accent:#ff9c7b;--green:#94cfb4;--soft:#253a33}
:root[data-theme="dark"] :is(.sidebar,.topbar,.trip-switch,.offline-card,.nav-item:hover,.icon-button:hover,.hotel-coordinate-search,.map-kind,.button.ivory,.source-entry,.search-place-card,.point-cover-help){background-color:var(--panel);color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] :is(input,select,textarea){color:var(--ink);background-color:#14221f;border-color:var(--line)}
:root[data-theme="dark"] :is(.nav-item,.breadcrumb,.section-heading .eyebrow,.nav-label,.connection,.profile small,.trip-switch small,.page-heading .eyebrow){color:var(--muted)}
:root[data-theme="dark"] :is(.nav-item.active,.map-kind.is-active,.pill.active,.tag,.date-badge,.day-tab.active){background:#294638;color:#c5f1d9;border-color:#659e7f}
:root[data-theme="dark"] :is(.notice,.preview-banner,.info-card,.flavors-guide-button,.top-choice.is-active,.top-rank-badge){background:#3c3523;color:#f5dfaf;border-color:#796b43}
:root[data-theme="dark"] :is(.button.primary,.app-update-notice .button.primary){background:#ff9c7b;color:#281b16}
:root[data-theme="dark"] .button.primary:hover{background:#ffb398}
:root[data-theme="dark"] :is(.button.outline,.profile,.search-box,.map-kind,.member-row){border-color:var(--line)}
:root[data-theme="dark"] :is(.map-label,.map-credit,.map-sequence){background:#182626ed;color:var(--ink)}
:root[data-theme="dark"] :is(.research-rating,.research-position){background:#234332;color:#c0efd1}
:root[data-theme="dark"] .michelin-badge{background:#502f34;color:#ffd2d7}
:root[data-theme="dark"] :is(.app-update-notice,.modal-reading-actions){background:var(--panel);color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] .form-error{color:#ffb6a8}
:root[data-theme="dark"] ::placeholder{color:#a7b9ae;opacity:1}
:root[data-theme="dark"] dialog::backdrop{background:#000a}
:root[data-theme="dark"] .button.small{color:var(--ink)}
.theme-toggle{flex-shrink:0}
@media print{:root[data-theme="dark"]{color-scheme:light;--paper:#fff;--panel:#fff;--ink:#243a35;--muted:#59645f;--line:#d4d9d4;--accent:#b43f25;--green:#30594d;--soft:#eef0e8}.theme-toggle{display:none}}
