/* Dark theme. GENERATED by scripts/build_dark_css.py from style.css, notify.css, accounts.css, tools.css plus scripts/dark_manual.css.
   Do not edit by hand: change the light styles or dark_manual.css and re-run the script. */
@media screen{
/* from style.css */
html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible,html[data-theme="dark"] textarea:focus-visible,html[data-theme="dark"] summary:focus-visible{outline:3px solid #353165}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{border:1px solid #3d4148;background:#141821}
html[data-theme="dark"] .button{color:#ffffff}
html[data-theme="dark"] .button.ghost{border-color:#3d4148}
html[data-theme="dark"] .button.ghost:hover{background:#21222b}
html[data-theme="dark"] .button.light{background:#141821;border-color:#232834}
html[data-theme="dark"] .skip{background:#141821}
html[data-theme="dark"] .brand-icon{color:#ffffff}
html[data-theme="dark"] .header nav{color:#c5c7cd}
html[data-theme="dark"] .avatar{background:#1f1b32;color:#a29fd0}
html[data-theme="dark"] .hero-visual{background:#141821;border:1px solid #3c3f46;box-shadow:0 25px 70px #00000035}
html[data-theme="dark"] .blueprint{background-color:#292824;background-image:linear-gradient(#ffffff0c 1px,transparent 1px),linear-gradient(90deg,#ffffff0c 1px,transparent 1px)}
html[data-theme="dark"] .room span{color:#949daa}
html[data-theme="dark"] .furniture{border:1px solid #50555d;background:#2f333b}
html[data-theme="dark"] .island{border-color:#625142}
html[data-theme="dark"] .measure{color:#a1a7b6}
html[data-theme="dark"] .floating-note{background:#141821;box-shadow:0 12px 30px #00000035}
html[data-theme="dark"] .mini-timeline{color:#9da0aa}
html[data-theme="dark"] .mini-timeline span{color:#aeb3bf}
html[data-theme="dark"] .mini-timeline i{background:#242338}
html[data-theme="dark"] .mini-timeline div:nth-child(3) i{background:#2c333c}
html[data-theme="dark"] .subline .wrap{color:#9ea1aa}
html[data-theme="dark"] .feature{background:#141821}
html[data-theme="dark"] .feature-icon{border:1px solid #393946;background:#1c1a28}
html[data-theme="dark"] .dark-section{color:#ffffff}
html[data-theme="dark"] .dark-section .eyebrow{color:#dcbaa6}
html[data-theme="dark"] .dark-section p:not(.eyebrow){color:#b4bac6}
html[data-theme="dark"] .badge{background:#1e1c2e;color:#a6a4cb}
html[data-theme="dark"] .badge.amber{background:#3d2f1b;color:#e1d2be}
html[data-theme="dark"] .badge.dark{color:#bfc6d5}
html[data-theme="dark"] .project-types a{background:#141821}
html[data-theme="dark"] .project-types a:hover{border-color:#34304c}
html[data-theme="dark"] .type-number{color:#aaa7b8}
html[data-theme="dark"] footer{background:#23262d}
html[data-theme="dark"] footer p{color:#9da1ab}
html[data-theme="dark"] .footer-links{color:#bdc0c7}
html[data-theme="dark"] .panel,html[data-theme="dark"] .form-card{background:#141821}
html[data-theme="dark"] .notice{background:#1a1d2d;border:1px solid #2f334b}
html[data-theme="dark"] .notice p{color:#979cab}
html[data-theme="dark"] .notice.amber{background:#312516;border-color:#4d402d}
html[data-theme="dark"] .notice.amber strong{color:#d9cbbe}
html[data-theme="dark"] .notice.amber p{color:#ad9f90}
html[data-theme="dark"] .step-circle{background:#1e1c2d;color:#a6a4cc}
html[data-theme="dark"] .sidebar{color:#ffffff}
html[data-theme="dark"] .sidebar-back{color:#b5bbca}
html[data-theme="dark"] .sidebar-label{color:#a6acbb}
html[data-theme="dark"] .sidebar p{color:#a6acbb}
html[data-theme="dark"] .workspace-nav button{color:#b5bbca}
html[data-theme="dark"] .workspace-nav button.active{color:#ffffff}
html[data-theme="dark"] .workspace-nav button span{color:#a0a8b8}
html[data-theme="dark"] .sidebar-bottom a{color:#dcbda7}
html[data-theme="dark"] .tip-card{background:#20202d}
html[data-theme="dark"] .tip-card .eyebrow{color:#9a97b1}
html[data-theme="dark"] .tip-card p{color:#9fa0ac}
html[data-theme="dark"] .tip-line{color:#9d9eab}
html[data-theme="dark"] .tip-line span{color:#b2a4cb}
html[data-theme="dark"] .search-results{background:#141821;box-shadow:0 12px 30px #00000065}
html[data-theme="dark"] .search-results button{border-bottom:1px solid #313339}
html[data-theme="dark"] .search-results button:hover,html[data-theme="dark"] .search-results button:focus{background:#1e1d2d}
html[data-theme="dark"] .location-selected{background:#202128;color:#9da1ad}
html[data-theme="dark"] .stat{background:#141821}
html[data-theme="dark"] .next-task{background:#352418;border:1px solid #4f3b2d}
html[data-theme="dark"] .next-task .eyebrow{color:#ccb3a4}
html[data-theme="dark"] .next-task p{color:#b39c8b}
html[data-theme="dark"] .compact-list li .number{color:#b3b3bf}
html[data-theme="dark"] .warning-list p{background:#2e271c;color:#ccc5bb}
html[data-theme="dark"] .budget-bar{background:#23242b}
html[data-theme="dark"] th{color:#a4a8b1}
html[data-theme="dark"] td{border-bottom:1px solid #31353c}
html[data-theme="dark"] .icon-button{background:#202128;color:#9ca1ac}
html[data-theme="dark"] .gantt-track{background:#202128}
html[data-theme="dark"] .task-note{color:#abaeb6}
html[data-theme="dark"] .purchase-card{background:#141821}
html[data-theme="dark"] .purchase-meta{background:#1c1c27}
html[data-theme="dark"] .source-link{color:#a7a4cb}
html[data-theme="dark"] .scenario-intro{background:#211e2d}
html[data-theme="dark"] .price-card{background:#141821}
html[data-theme="dark"] .price-card.featured{border:2px solid #322d53;background:#18132b}
html[data-theme="dark"] .price-card ul li:before{color:#9b96bf}
html[data-theme="dark"] .region-chip{background:#202128}
html[data-theme="dark"] .sticky-card>a:not(.button){color:#9c98ba}
html[data-theme="dark"] .ad-slot small{color:#a7abb4}
html[data-theme="dark"] #toast{color:#ffffff;box-shadow:0 15px 40px #0000007d}
html[data-theme="dark"] dialog{box-shadow:0 25px 100px #00000099}
html[data-theme="dark"] dialog code{background:#211e2b}
html[data-theme="dark"] .close-modal{color:#a7aab5}
html[data-theme="dark"] .error-text{color:#d5a39a!important}
@media(max-width:850px){html[data-theme="dark"] .header nav{background:#141821}}
html[data-theme="dark"] .desk-tabs button{color:#bec1c8}
html[data-theme="dark"] .desk-tabs button.active{background:#1c1834;color:#a39ad5}
html[data-theme="dark"] .desk .field input,html[data-theme="dark"] .desk .field select,html[data-theme="dark"] .desk .field textarea{border:1px solid #3c404c;background:#141821;color:#dcdfe8}
html[data-theme="dark"] .desk-warning{border-left:3px solid #6b5238}
html[data-theme="dark"] .desk-record .hash{color:#9da2ad}
html[data-theme="dark"] .empty-copy{color:#9da1ac}
html[data-theme="dark"] .quote-inclusions .warn{background:#3b2e1b;color:#e1d0bf}
html[data-theme="dark"] .compact-form{border-bottom:1px solid #363941}
html[data-theme="dark"] .launch-row{border-bottom:1px solid #393d44}
html[data-theme="dark"] .badge.pass{background:#24352e;color:#c9e8dc}
html[data-theme="dark"] .badge.blocked{background:#392a1a;color:#e1cebe}
html[data-theme="dark"] .source-row{border-bottom:1px solid #393d44}
@media (prefers-reduced-motion:no-preference){html[data-theme="dark"] .feature:hover,html[data-theme="dark"] .review-card:hover,html[data-theme="dark"] .directory-item:hover,html[data-theme="dark"] .guide-card:hover,html[data-theme="dark"] .price-card:hover,html[data-theme="dark"] .plan-card:hover,html[data-theme="dark"] .permit-card:hover,html[data-theme="dark"] .purchase-card:hover,html[data-theme="dark"] .stat:hover{box-shadow:0 18px 40px #0000003a}
html[data-theme="dark"] .button:hover{box-shadow:0 10px 24px #0000005c}}
html[data-theme="dark"] .unlock-panel{background:linear-gradient(135deg,#141821,#2e1f15)}
html[data-theme="dark"] .kind-chip{background:#141821;color:#c8cbd0}
html[data-theme="dark"] .kind-chip:hover{border-color:#322e4e;box-shadow:0 6px 16px #00000029}
html[data-theme="dark"] .kind-chip.active{color:#ffffff;box-shadow:0 8px 20px #00000085}
html[data-theme="dark"] .unit-toggle{background:#222329}
html[data-theme="dark"] .unit-toggle button.active{background:#141821;box-shadow:0 2px 8px #0000003a}
html[data-theme="dark"] .preview-card{background:#141821;border:1px solid #3c3f46;box-shadow:0 25px 70px #00000035}
html[data-theme="dark"] .preview-canvas{background-color:#292824;background-image:linear-gradient(#ffffff0c 1px,transparent 1px),linear-gradient(90deg,#ffffff0c 1px,transparent 1px)}
html[data-theme="dark"] #preview .dim line{stroke:#a0a4af}
html[data-theme="dark"] #preview .dim text{fill:#c2c4ca}
html[data-theme="dark"] .total-card{color:#ffffff}
html[data-theme="dark"] .total-card span{color:#b5bbca}
html[data-theme="dark"] .total-card small{color:#b5bbca}
html[data-theme="dark"] .total-card label{color:#b5bbca}
html[data-theme="dark"] .currency-pick select{color:#ffffff}
html[data-theme="dark"] .typical{color:#e1d2be;background:#3d2f1b}
html[data-theme="dark"] .typical.yours{color:#c8dccf;background:#253429}
html[data-theme="dark"] .place-row .button.active{background:#1f1b32;border-color:#322e4e;color:#a4a1cf}
html[data-theme="dark"] .cheapest-callout{border:1px solid #4f3b2d}
html[data-theme="dark"] .cheapest-callout span{color:#ccb3a4}
html[data-theme="dark"] .cheapest-callout em{color:#b39c8b}
html[data-theme="dark"] .radar-card{background:#141821}
html[data-theme="dark"] #radar{background:radial-gradient(circle,#1a1828,#141821 70%)}
html[data-theme="dark"] #radar .compass{fill:#aeb1bd}
html[data-theme="dark"] .store{background:#141821}
html[data-theme="dark"] .store:hover,html[data-theme="dark"] .store.hl{border-color:#322e4e;box-shadow:0 12px 30px #00000049}
html[data-theme="dark"] .store.is-cheapest{border:2px solid #5a412e;background:linear-gradient(135deg,#141821,#2d2014)}
html[data-theme="dark"] .store-rank{background:#1e1c2d;color:#a6a4cc}
html[data-theme="dark"] .store.is-cheapest .store-rank{color:#ffffff}
html[data-theme="dark"] .store .hours{color:#a8acb6}
html[data-theme="dark"] .store-price .report{color:#b596a0}
html[data-theme="dark"] .loading-row,html[data-theme="dark"] .empty-row{background:#141821}
html[data-theme="dark"] .spinner{border:2px solid #373551}
html[data-theme="dark"] .tool-card{background:#141821}
html[data-theme="dark"] .tool-card:hover{box-shadow:0 22px 50px #0000004d}
html[data-theme="dark"] .tool-card.dark{color:#ffffff}
html[data-theme="dark"] .tool-card.dark p{color:#b4bac6}
html[data-theme="dark"] .tool-card.dark .eyebrow{color:#dcbaa6}
html[data-theme="dark"] .keep-visible{background:#312516;border:1px solid #4d402d;box-shadow:0 10px 26px #0000003a}
html[data-theme="dark"] .keep-visible .eyebrow{color:#d9cbbe}
html[data-theme="dark"] .keep-visible ul{color:#d2cac2}
html[data-theme="dark"] .verify-banner{background:#312516;border-top:1px solid #4d402d;border-bottom:1px solid #4d402d;color:#dacfc3}
html[data-theme="dark"] .verify-banner .text-link{color:#dcc3b7}
html[data-theme="dark"] .badge.verified{background:#253429;color:#c8dccf}
html[data-theme="dark"] .forgot-link a{color:#9898d8}
html[data-theme="dark"] .theme-toggle:hover{border-color:#322e4e}
html[data-theme="dark"] .theme-switch{color:#bdc0c7}
html[data-theme="dark"] .theme-switch button.active{color:#ffffff}
html[data-theme="dark"][data-theme="dark"] .theme-switch{color:#b1b6c2}
html[data-theme="dark"][data-theme="dark"] .theme-switch button.active{background:#23262f;border-color:#303440;color:#e4e7ed}
html[data-theme="dark"] .crumbs span[aria-hidden]{color:#b8bac3}
html[data-theme="dark"] .fact{background:#141821;color:#c8cbd0}
html[data-theme="dark"] .chips a{background:#211e2d;color:#a5a2cd}
html[data-theme="dark"] .chips a:hover{background:#262338}
html[data-theme="dark"] .rule{background:#141821}
html[data-theme="dark"] .rule p{color:#c7c9d0}
html[data-theme="dark"] .rule .rule-when{color:#bec1c7;background:#1d1f26}
html[data-theme="dark"] .rule .rule-source{color:#a7a4cb}
html[data-theme="dark"] .outcome.req{background:#351f1b;color:#d9bcb8}
html[data-theme="dark"] .outcome.exempt{background:#253429;color:#c8dccf}
html[data-theme="dark"] .outcome.check{background:#3d2f1b;color:#e1d2be}
html[data-theme="dark"] .place-links a{background:#141821}
html[data-theme="dark"] .place-links a:hover{border-color:#34304c}
html[data-theme="dark"] .country-block h3{color:#c8cbd0}
html[data-theme="dark"] .source-list{color:#c7c9d0}
html[data-theme="dark"] .seq-list li:before{background:#1e1c2d;color:#a6a4cc}
html[data-theme="dark"] .q-list{color:#c7c9d0}
html[data-theme="dark"] .answer-first{background:#1c182b;border-left:4px solid #353165}
html[data-theme="dark"] a.fact:hover{border-color:#34304c}
html[data-theme="dark"] .option-list{color:#c7c9d0}
/* from accounts.css */
html[data-theme="dark"] .security-box .badge.verified{background:#253429;color:#c8dccf}
html[data-theme="dark"] .device.current{border-color:#322e4e}
html[data-theme="dark"] #twofa-panel .ok-line{color:#c8dccf}
/* from tools.css */
html[data-theme="dark"] .check-del:hover{color:#d49e9b}
html[data-theme="dark"] .photo-filter button.active{box-shadow:0 2px 8px #0000003a}
html[data-theme="dark"] .photo-card:hover{box-shadow:0 14px 30px #00000049}
html[data-theme="dark"] .photo-stage{background:#141821e6;color:#dbdfe8}
html[data-theme="dark"] .photo-stage.after{background:#253429;color:#c8dccf}
html[data-theme="dark"] .photo-stage.during{background:#3d2f1b;color:#e1d2be}
html[data-theme="dark"] .photo-actions .text-link{color:#d49e9b}
html[data-theme="dark"] .compare-handle{background:#141821;box-shadow:0 0 0 1px #00000085}
html[data-theme="dark"] .compare-handle:after{background:#141821;color:#dbdfe8;box-shadow:0 4px 14px #00000085}
html[data-theme="dark"] .compare-tag{background:#000000aa;color:#ffffff}
html[data-theme="dark"] .photo-lightbox{color:#ffffff}
html[data-theme="dark"] .lightbox-bar small{color:#bfc6d5}
html[data-theme="dark"] .lightbox-bar .button.ghost{color:#ffffff;border-color:#ffffff26}
html[data-theme="dark"] .lightbox-bar .button.ghost:hover{background:#ffffff0c}
html[data-theme="dark"] .lightbox-close{color:#ffffff}
html[data-theme="dark"] .cost-range-bar .low{background:#2c333c}
html[data-theme="dark"] .band-chip.active{box-shadow:0 8px 20px #0000005c}
}
/* hand-written */
html[data-theme="dark"]{color-scheme:dark;--ink:#e6e9f2;--muted:#a2aabc;--paper:#0c1017;--white:#151a25;--line:#262e3f;--accent:#ef9a6c;--accent-dark:#f4b089;--soft:#2a1f19;--violet:#9d9cf4;--nav:#1c2436;--shadow:0 12px 36px #00000059}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] ::selection{background:#3d3f7a;color:#fff}
/* Primary buttons become light so they stand out on dark surfaces. */
html[data-theme="dark"] .button:not(.ghost):not(.light):not(.danger){background:#e9ecf5;border-color:#e9ecf5;color:#0f1420}
html[data-theme="dark"] .button:not(.ghost):not(.light):not(.danger):hover{background:#ffffff;border-color:#ffffff}
html[data-theme="dark"] .button.light{background:#232b3d;border-color:#2f394f;color:var(--ink)}
html[data-theme="dark"] .button.danger{background:#b8463f;border-color:#b8463f;color:#fff}
html[data-theme="dark"] .button.ghost{color:var(--ink);border-color:#323b50}
html[data-theme="dark"] .button.ghost:hover{background:#1e2533}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#0f141e;border-color:#2c3446;color:var(--ink)}
html[data-theme="dark"] input:focus,html[data-theme="dark"] select:focus,html[data-theme="dark"] textarea:focus{border-color:var(--violet)}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#6f7891}
html[data-theme="dark"] dialog{background:var(--white);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] #toast{background:#232c42;border:1px solid #34405c;color:#fff}
html[data-theme="dark"] .header nav a{color:#b9c0d1}
html[data-theme="dark"] .header nav a:hover{color:#fff}
html[data-theme="dark"] .brand-icon{background:#232c42}
html[data-theme="dark"] .sidebar,html[data-theme="dark"] .dark-section,html[data-theme="dark"] .total-card{background:#121826}
html[data-theme="dark"] footer{background:#10141d}
html[data-theme="dark"] code{background:#1d2333;color:#e6e9f2}
html[data-theme="dark"] a:focus-visible,html[data-theme="dark"] button:focus-visible,html[data-theme="dark"] input:focus-visible,html[data-theme="dark"] select:focus-visible,html[data-theme="dark"] textarea:focus-visible,html[data-theme="dark"] summary:focus-visible{outline-color:#a9a7ff}
/* Designer: keep the drawing's real material colours; give the canvas a dark blueprint grid. */
html[data-theme="dark"] .preview-canvas{background-color:#121722;background-image:linear-gradient(#ffffff0a 1px,transparent 1px),linear-gradient(90deg,#ffffff0a 1px,transparent 1px)}
html[data-theme="dark"] #preview .dim text{fill:#c3c9d8}
html[data-theme="dark"] #preview .dim line{stroke:#7f889c}
/* Store finder radar */
html[data-theme="dark"] #radar{background:radial-gradient(circle,#1a2030,#121722 70%)}
html[data-theme="dark"] #radar .ring{stroke:#323a52}
html[data-theme="dark"] #radar .axis{stroke:#232a3b}
html[data-theme="dark"] #radar .pin circle{stroke:#121722}
html[data-theme="dark"] #radar .me,html[data-theme="dark"] #radar .me-pulse{fill:#e9ecf5}
/* Ad slots and embedded third-party frames stay light (they render their own colours). */
html[data-theme="dark"] .ad-slot{color-scheme:light}
/* Theme switch */
html[data-theme="dark"] .theme-toggle{border-color:#323b50;color:var(--ink)}
/* Selected states that use the navy fill in light mode become light pills in dark mode. */
html[data-theme="dark"] .kind-chip.active{background:#e9ecf5;border-color:#e9ecf5;color:#0f1420;box-shadow:none}
html[data-theme="dark"] .tool-card.dark{background:#1a2132;border-color:#2a3348}

