:root{--kh-client-bg:#f6f5f0;--kh-client-surface:#fff;--kh-client-text:#163d34;--kh-client-muted:#4f6b61;--kh-client-line:#768d80;--kh-theme-control-bg:#f3f8f4;--kh-theme-control-text:#12483d;--kh-theme-control-line:#9ab2a6}
.kh-client-brand{display:inline-flex!important;flex-direction:row;align-items:center;gap:8px;color:#006b58;text-decoration:none;flex-shrink:0;line-height:1.3}
.kh-client-brand img{display:block;width:46px;height:46px;object-fit:contain;border-radius:12px;background:#fff}
.kh-client-brand>span{display:flex;flex-direction:column;gap:2px}.kh-client-brand small{font-size:11px;font-weight:600}.kh-client-brand strong{font-size:25px;font-weight:850}
.kh-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 10px;border:1px solid var(--kh-theme-control-line);border-radius:12px;background:var(--kh-theme-control-bg);color:var(--kh-theme-control-text);font:inherit;font-size:12px;cursor:pointer;flex-shrink:0}.kh-theme-toggle svg{width:20px;height:20px}.kh-theme-floating{position:fixed;inset-inline-end:14px;top:14px;z-index:90}
.kh-theme-toggle:focus-visible{outline:3px solid #c89c49;outline-offset:3px}
.kh-request-card{border:1px solid #768d80}
.kh-access{max-width:620px;margin:0 auto 24px}.kh-access-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}.kh-access-tabs a[aria-current=page]{background:#006b58;color:#fff}.kh-access fieldset{margin:18px 0 0;padding:16px;border:1px solid #a1b7ab;border-radius:14px;min-width:0}.kh-access fieldset:disabled{opacity:.55}.kh-access .kh-field input{width:100%;min-width:0;min-height:46px}.kh-password-help{font-size:13px;line-height:1.9;color:var(--kh-client-muted)}
.kh-consent{border:1px solid #9eb4a6;border-radius:14px;padding:12px;margin:20px 0;background:#f2f7f3}.kh-consent .kh-check{margin:0 0 12px}.kh-consent-links{display:inline-block;margin:8px;font-size:12px}.kh-consent-links a{text-decoration:underline;text-underline-offset:3px}
.kh-legal-dialog{width:min(780px,calc(100% - 24px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #8da99b;border-radius:20px;background:var(--kh-client-surface);color:var(--kh-client-text);box-shadow:0 24px 80px #001c164d;overflow:hidden;direction:rtl}
.kh-legal-dialog[open]{display:flex;flex-direction:column}.kh-legal-dialog::backdrop{background:#071d16a6;backdrop-filter:blur(3px)}.kh-legal-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;border-bottom:1px solid #a1b7ab}.kh-legal-dialog h2{font-size:19px;margin:0}.kh-legal-copy{padding:10px 24px;overflow:auto;overscroll-behavior:contain;line-height:2;font-size:14px}.kh-legal-copy p{color:inherit}.kh-legal-copy h2{margin:20px 0 14px}.kh-legal-decision{display:flex;flex-direction:column;gap:12px;padding:16px 20px;border-top:1px solid #a1b7ab;background:var(--kh-client-surface);font-size:13px;flex-shrink:0}.kh-legal-decision input{width:20px;height:20px;vertical-align:middle;accent-color:#006b58}.kh-legal-decision button{align-self:flex-end}.kh-legal-copy:focus-visible{outline:2px solid #c89c49;outline-offset:-3px}
.kh-client-footer {
 background: #e8f0ea;
 border-block-start: 1px solid #8aa393;
 padding: 28px clamp(16px, 4vw, 36px) max(28px, env(safe-area-inset-bottom));
 color: #164b3c;
}
.kh-client-footer > div {
 display: grid;
 grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(140px, auto);
 align-items: start;
 gap: 20px 28px;
 max-width: 1180px;
 margin-inline: auto;
}
.kh-footer-identity, .kh-client-footer nav { min-width: 0; }
.kh-footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.kh-footer-identity p { margin: 10px 0 0; font-size: .85rem; overflow-wrap: anywhere; }
.kh-client-footer nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.kh-client-footer nav a, .kh-footer-brand .kh-instagram {
 min-height: 44px;
 display: inline-flex;
 align-items: center;
 gap: 7px;
 color: inherit;
 overflow-wrap: anywhere;
}
.kh-client-footer nav a { text-decoration: underline; text-underline-offset: 4px; }
.kh-client-footer :is(.kh-footer-menu, .kh-footer-menu .sub-menu) { list-style: none; margin: 0; padding: 0; }
.kh-client-footer .kh-footer-menu {
 grid-column: 1 / -1;
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 4px 16px;
}
.kh-client-footer .kh-footer-menu .sub-menu { padding-inline-start: 10px; }
.kh-enamad-space {
 border: 1px dashed #7e9a87;
 border-radius: 12px;
 padding: 12px 16px;
 text-align: center;
 overflow-wrap: anywhere;
}
.kh-enamad-space small { display: block; font-size: .75rem; margin-block-start: 3px; }
.kh-client-footer .kh-pwa-site-entry {
 grid-column: 1 / -1;
 margin: 0;
 max-width: none;
 border: 1px solid var(--kh-client-line);
 border-radius: 12px;
}
.kh-pwa-shell .kh-client-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
@media (max-width: 760px) {
 .kh-client-footer > div { grid-template-columns: minmax(0, 1fr); gap: 16px; }
 .kh-footer-brand { justify-content: space-between; }
 .kh-client-footer .kh-enamad-space { text-align: start; }
}
.kh-public-page{max-width:900px;margin:auto;line-height:2;overflow-wrap:anywhere}.kh-public-page p{color:inherit}.kh-article-item{padding:18px 0;border-bottom:1px solid #9cb1a3}.kh-password-settings{max-width:700px;margin:24px auto}.kh-password-settings input{max-width:100%}.kh-slide-unavailable .kh-slide-copy h2{display:inline-block;padding:10px 22px;background:#e8ede7e8;border:1px solid #789284;border-radius:14px;font-size:clamp(24px,4vw,36px)}
html[data-kh-theme=dark]{color-scheme:dark;--kh-client-bg:#0d1915;--kh-client-surface:#172b23;--kh-client-text:#e5f1ea;--kh-client-muted:#b1c9bd;--kh-client-line:#67937d;--kh-theme-control-bg:#244534;--kh-theme-control-text:var(--kh-client-text);--kh-theme-control-line:#709b82;--kh-ink:#e5f1ea;--kh-muted:#b1c9bd;--kh-green:#69c8a9;--kh-line:#507561;--kh-glass-ink:#daf0e4;--kh-glass-surface:#172b23;--kh-glass-line:#507561}
html[data-kh-theme=dark] body,html[data-kh-theme=dark] .design-main,html[data-kh-theme=dark] .kh-app,html[data-kh-theme=dark].kh-pwa-shell{background:var(--kh-client-bg);color:var(--kh-client-text)}
html[data-kh-theme=dark] :is(.design-header,.heritage-header,.design-footer,.kh-client-footer,.kh-pwa-toolbar,.kh-context-bar){background:#15271f;color:#e5f1ea;border-color:#507561}
html[data-kh-theme=dark] :is(.kh-panel,.kh-request-card,.khp-card,.kh-checkout-summary,.kh-profile-panel,.kh-account-sidebar,.kh-inbox-desk,.kh-chat-pane,.kh-thread-list,.khp-table-wrap,.kh-finance-table tr,.kh-category-preview,.kh-pay-summary,.khi-sheet){background:var(--kh-client-surface);color:var(--kh-client-text);border-color:#67937d}
html[data-kh-theme=dark] :is(.kh-panel,.kh-request-card,.kh-inbox-desk,.kh-account-shell,.kh-checkout-shell,.khp) :is(h1,h2,h3,p,strong,dt,dd,label,small){color:inherit}
html[data-kh-theme=dark] :is(.kh-app,.khp,.kh-legal-dialog) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#10241b;color:#e5f1ea;border-color:#709b82}
html[data-kh-theme=dark] :is(input,textarea)::placeholder{color:#abc6b5;opacity:1}
html[data-kh-theme=dark] :is(.kh-app,.kh-pwa-shell) .kh-btn,html[data-kh-theme=dark] .kh-inbox-tabs a{background:#244534;color:#e5f1ea;border-color:#709b82;box-shadow:none}
html[data-kh-theme=dark] :is(.kh-app,.kh-pwa-shell) .kh-btn.primary,html[data-kh-theme=dark] .kh-pay-continue,html[data-kh-theme=dark] .khi-payment #place_order{background:linear-gradient(165deg,#006e57,#004c3b);color:#fff;border-color:#5da78c}
html[data-kh-theme=dark] :is(.kh-app,.kh-pwa-shell) .kh-btn:disabled{background:#293e32;color:#afc3b6!important;border-color:#617b68;box-shadow:none}
html[data-kh-theme=dark] :is(.kh-consent,.kh-request-card-payment,.kh-request-card-chip,.kh-account-phone,.kh-badge,.kh-category-link,.kh-inbox-item,.kh-test,.design-test,.kh-alert){background:#254131;color:#e5f1ea;border-color:#67937d}
html[data-kh-theme=dark] :is(.kh-category-link[aria-current=page],.kh-inbox-tabs a[aria-current=page]){background:#30654c;color:#fff;border-color:#a1c5ae}
html[data-kh-theme=dark] :is(.heritage-account-menu[open] nav,.kh-pwa-menu[open] nav,.kh-pwa-dock){background:rgba(20,42,30,.97);color:#e5f1ea;border-color:#709b82}
html[data-kh-theme=dark] :is(.heritage-account-menu nav a,.kh-pwa-menu nav a,.kh-pwa-dock a,.design-navigation a,.design-mobile-menu nav a,.kh-client-brand){color:#e5f1ea}
html[data-kh-theme=dark] :is(.design-mobile-menu nav,.kh-messages,#kh-chat-form,.kh-inbox-tools input,.kh-inbox-search){background:#10241b;color:#e5f1ea;border-color:#709b82}
html[data-kh-theme=dark] :is(.kh-bubble,.khp-conversation .kh-bubble){background:#2c4234;color:#eef6f1}html[data-kh-theme=dark] :is(.kh-bubble.mine,.khp-conversation .kh-bubble.mine){background:#185540;color:#f0fff7}
html[data-kh-theme=dark] .kh-slide-inner::after{background:linear-gradient(270deg,#0d201bf2 0%,#0d201bca 32%,#0d201b00 70%)}html[data-kh-theme=dark] .kh-slide-copy :is(h1,h2,p){color:#effaf3}html[data-kh-theme=dark] .kh-slide-secondary{color:#c6efd9}
html[data-kh-theme=dark] .kh-slide-unavailable .kh-slide-copy h2{background:#183d2fe8;border-color:#87ae96}
html[data-kh-theme=dark] :is(.kh-demand-total,.kh-account-nav a,.kh-screen-symbol,.kh-account-avatar,.kh-category-icon){background:#244534;color:#e5f1ea;border-color:#709b82}
html[data-kh-theme=dark] :is(.kh-demand-table th,.kh-demand-table td,.kh-finance-table th,.kh-finance-table td,.khi-table th,.khi-table td){background:#172b23;color:#e5f1ea;border-color:#67937d}
html[data-kh-theme=dark] .kh-theme-toggle{background:#234e39;color:#fff;border-color:#87ae96}
@media(max-width:760px){.kh-theme-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.kh-client-brand img{width:38px;height:38px}.kh-client-brand strong{font-size:21px}.kh-client-brand small{font-size:10px}.kh-pwa-toolbar .kh-client-brand{gap:5px}.kh-pwa-toolbar-actions{gap:5px}.kh-pwa-toolbar{gap:6px;padding-inline:0}.kh-legal-dialog header,.kh-legal-decision{padding:12px}.kh-legal-copy{padding:8px 16px}.kh-access-tabs .kh-btn{padding:10px;font-size:12px}.kh-legal-dialog h2{font-size:16px}}
@media(max-width:740px){html[data-kh-theme=dark] .kh-slide-inner::after{background:linear-gradient(0deg,#0d201b 2%,#0d201bf5 24%,#0d201bce 43%,#0d201b00 72%)}}
@media print{html[data-kh-theme=dark]{color-scheme:light}.kh-client-footer,.kh-theme-toggle,.kh-legal-dialog{display:none!important}html[data-kh-theme=dark] .khi-sheet{background:#fff;color:#152d24}}
.kh-legal-decision button:disabled{background:#e8ece9;color:#52665c!important;border-color:#94aa9c;box-shadow:none;cursor:not-allowed;opacity:1}
html[data-kh-theme=dark] .kh-legal-decision button:disabled{background:#293e32;color:#afc3b6!important;border-color:#617b68}
html[data-kh-theme=dark] :is(.kh-account-nav a:hover,.heritage-account-menu nav a:hover,.kh-pwa-menu nav a:hover){background:#30654c;color:#fff}
html[data-kh-theme=dark] .kh-favorite[aria-pressed=true]{background:#51401b;color:#ffe29b;border-color:#c89c49}
html[data-kh-theme=dark] .kh-request-card :is(.kh-request-card-title,.kh-request-card-icon){color:#e5f1ea}
.kh-app .kh-request-card,.kh-request-card{border-color:#768d80}
html[data-kh-theme=dark] :is(.kh-account-shell,.kh-checkout-shell){--kh-ink:#e5f1ea;--kh-muted:#b1c9bd;--kh-green:#69c8a9;--kh-line:#507561;color:#e5f1ea}
html[data-kh-theme=dark] .kh-request-card-heading h3 a{color:#e5f1ea}
html[data-kh-theme=dark] :is(.kh-request-card-kind,.kh-request-card-demo,.kh-screen-description,.kh-account-phone>span,.kh-account-phone>small,.kh-panel-label,.kh-checkout-term>span,.kh-checkout-shell .kh-help){color:#b1c9bd}
html[data-kh-theme=dark] :is(.kh-request-card-symbol,.kh-request-card-facts>div,.kh-request-card .kh-request-card-open,.kh-optional){background:#244534;color:#e5f1ea;border-color:#709b82}
html[data-kh-theme=dark] :is(.kh-profile-fields input,.kh-profile-fields select,.kh-coupon-input input){background:#10241b!important;color:#e5f1ea;border-color:#709b82!important}
html[data-kh-theme=dark] :is(.kh-account-shell .kh-panel,.kh-checkout-shell .kh-panel,.kh-payment-summary){background:#172b23;border-color:#67937d;color:#e5f1ea}
html[data-kh-theme=dark] :is(.kh-payment-totals dt,.kh-payment-totals dd,.kh-profile-fields .kh-field>span){color:#e5f1ea}
html[data-kh-theme=dark] .kh-screen-heading p{color:#b1c9bd!important}
html[data-kh-theme=dark] .kh-quote-message[data-state=success]{color:#a7e7b5!important}html[data-kh-theme=dark] .kh-quote-message[data-state=error]{color:#ffbfa5!important}
html[data-kh-theme=dark] :is(.kh-invoice,.khi-header,.khi-parties>section,.khi-payment,.khi-notes,.khi-totals,.khi-details){background:#172b23;color:#e5f1ea;border-color:#67937d}
html[data-kh-theme=dark] .kh-invoice :is(h1,h2,h3,p,strong,b,td,th,span){color:inherit}
@media print{html[data-kh-theme=dark] :is(.kh-invoice,.khi-header,.khi-parties>section,.khi-payment,.khi-notes,.khi-totals,.khi-details,.khi-table td,.khi-table th){background:#fff;color:#152d24;border-color:#999}}
@media(max-width:760px){.kh-theme-toggle.kh-theme-in-menu{width:100%;justify-content:flex-start}.kh-theme-toggle.kh-theme-in-menu span{position:static;width:auto;height:auto;overflow:visible;clip-path:none}}
html[data-kh-theme=dark] .kh-client-brand :is(strong,small){color:#e5f1ea}
html[data-kh-theme=dark] :is(.kh-back-link,.kh-account-logout){color:#c6efd9!important}
html[data-kh-theme=dark] .kh-legal-dialog .kh-btn{background:#244534;color:#e5f1ea;border-color:#709b82}
html[data-kh-theme=dark] .kh-legal-dialog .kh-btn.primary{background:#006b58;color:#fff;border-color:#709b82}
html[data-kh-theme=dark] .kh-legal-dialog .kh-btn:disabled{background:#293e32;color:#afc3b6!important;border-color:#617b68;box-shadow:none}
html[data-kh-theme=dark] .kh-pwa-site-entry{background:#172b23;color:#e5f1ea;border-color:#67937d}
html[data-kh-theme=dark] .kh-pwa-site-entry :is(p,strong,small){color:#e5f1ea}
html[data-kh-theme=dark] .kh-pwa-site-entry .kh-btn{background:#244534;color:#e5f1ea;border-color:#709b82}

/* Stateful controls own both foreground and surface; generic button rules must not split them. */
.kh-app .kh-access-tabs a.kh-btn[aria-current=page]{background:#006b58;color:#fff;border-color:#006b58}
html[data-kh-theme=dark] .kh-app .kh-access-tabs a.kh-btn[aria-current=page]{background:#30654c;color:#fff;border-color:#a1c5ae}
html[data-kh-theme=dark] .kh-account-nav>a{color:#e5f1ea!important}
html[data-kh-theme=dark] .kh-coupon-input .kh-btn{background:#244534;color:#e5f1ea!important;border-color:#709b82}
html[data-kh-theme=dark] .heritage-account-menu nav a[aria-current=page]{background:#30654c;color:#fff}
html[data-kh-theme=dark] .kh-btn.kh-favorite{background:#244534!important;color:#d4e5da!important;border-color:#709b82!important}
html[data-kh-theme=dark] .kh-btn.kh-favorite:is(.is-saved,[aria-pressed=true]){background:#51401b!important;color:#ffe29b!important;border-color:#c89c49!important}
@media(hover:hover) and (pointer:fine){
 .kh-app .kh-access-tabs a.kh-btn[aria-current=page]:hover{background:#005744;color:#fff}
 html[data-kh-theme=dark] .kh-app .kh-access-tabs a.kh-btn[aria-current=page]:hover{background:#28563f;color:#fff}
}
html[data-kh-theme=dark] :is(.kh-detail .kh-btn,.khi-controls .kh-btn){background:#244534;color:#e5f1ea;border-color:#709b82}
html[data-kh-theme=dark] :is(.kh-detail .kh-btn.primary,.heritage-design .design-button){background:#006b58;color:#fff;border-color:#709b82}
html[data-kh-theme=dark] .heritage-account-menu nav a.kh-menu-logout{color:#ffbaa7}
.kh-legal-dialog .kh-legal-decision .kh-btn:disabled{background:#e8ece9;color:#52665c!important;border-color:#94aa9c;box-shadow:none;opacity:1}
html[data-kh-theme=dark] .kh-legal-dialog .kh-legal-decision .kh-btn:disabled{background:#293e32;color:#afc3b6!important;border-color:#617b68}
@media(hover:hover) and (pointer:fine){
 html[data-kh-theme=dark] :is(.kh-app,.kh-detail,.kh-pwa-shell,.khi-controls) .kh-btn:not(:disabled):not([aria-disabled=true]):hover{background:#30543f;color:#e5f1ea;border-color:#a1c5ae}
 html[data-kh-theme=dark] :is(.kh-app,.kh-detail,.kh-pwa-shell) .kh-btn.primary:not(:disabled):not([aria-disabled=true]):hover{background:linear-gradient(165deg,#006b58,#004c3e);color:#fff}
}
html[data-kh-theme=dark] .kh-app .kh-btn[aria-pressed=true]:not(.primary):not(.kh-favorite){background:#30654c;color:#fff;border-color:#a1c5ae}
html[data-kh-theme=dark] .heritage-account-menu nav a.kh-menu-logout:hover{background:#3e302b;color:#ffe0d6}

.kh-theme-toggle{inline-size:44px;padding:0;flex:0 0 44px}
.kh-client-footer .kh-instagram{inline-size:44px;flex:0 0 44px;justify-content:center;border:1px solid currentColor;border-radius:12px}
.kh-instagram svg{width:24px;height:24px}
.kh-app .kh-request-card-kind,.kh-request-card-kind{font-weight:750}
.design-footer a[hidden],.heritage-footer a[hidden]{display:none!important}

.heritage-header .kh-guest-account-link {
 display:inline-flex;align-items:center;justify-content:center;gap:7px;
 min-width:44px;min-height:44px;flex-shrink:0;white-space:nowrap;
}
.heritage-header .kh-guest-account-link svg {width:20px;height:20px}
html[data-kh-theme=dark] .heritage-header .kh-guest-account-link {color:#e5f1ea}
@media(max-width:760px){
 .heritage-header .kh-guest-account-link span {display:none}
}

.kh-client-footer .kh-footer-copyright {
 grid-column: 1 / -1;
 padding-block-start: 12px;
 border-block-start: 1px solid var(--kh-client-line);
 color: var(--kh-client-muted);
 overflow-wrap: anywhere;
}

.khd-more-results {margin-block-start:16px}
.khd-more-results > summary {cursor:pointer}
.khd-more-results > .design-requests {margin-block-start:16px}

.kh-app .kh-login-remember{display:flex;align-items:center;gap:8px;width:fit-content;min-height:44px;margin-block:0 10px;cursor:pointer}
.kh-app .kh-login-remember input{margin:0;accent-color:#006b58}

.kh-pwa-theme-choice{display:grid;gap:4px;padding:8px 10px;font-size:13px}
.kh-pwa-theme-choice select{width:100%;min-height:44px;padding:4px 8px;border:1px solid var(--kh-theme-control-line);border-radius:8px;background:var(--kh-theme-control-bg);color:var(--kh-theme-control-text);font:inherit}
html[data-kh-theme=dark] .kh-request-card img{filter:brightness(.92)}

@media screen {
 html[data-kh-theme=dark] {
  --kh-client-field: #10241b;
  --kh-client-raised: #244534;
  --kh-client-accent: #87dabc;
  --kh-client-warm-surface: #3a3221;
  --kh-client-warm-text: #f0d7a1;
 }
 html[data-kh-theme=dark] :is(
  .kh-carousel, .kh-car-discovery .kh-empty, .kh-app .kh-empty,
  .kh-notice-row button, .kh-inbox-item, .khp-card, .kh-enamad-space
 ) {
  background: var(--kh-client-surface);
  color: var(--kh-client-text);
  border-color: var(--kh-client-line);
 }
 html[data-kh-theme=dark] :is(
  .kh-car-filters input[type=search], .kh-car-filters select, .kh-condition-value,
  .kh-specs > div, .khp-field input, .khp-field select, .kh-chat-files label
 ) {
  background: var(--kh-client-field);
  color: var(--kh-client-text);
  border-color: var(--kh-client-line);
 }
 html[data-kh-theme=dark] :is(
  .kh-account-verified, .kh-account-nav-icon, .kh-request-card-condition.kh-condition-new,
  .kh-category-nav .kh-category-link.is-muted .kh-category-icon, .kh-notice-row.is-unread button,
  .kh-demand .kh-demand-bar, .kh-carousel-controls .kh-carousel-pause span,
  .kh-pwa-dock a[aria-current=page] .kh-pwa-tab-icon, .kh-pwa-filters summary, .kh-pwa-filters summary span
 ) {
  background: var(--kh-client-raised);
  color: var(--kh-client-text);
  border-color: var(--kh-client-line);
 }
 html[data-kh-theme=dark] .kh-request-card-condition.kh-condition-used {
  background: #253e47;
  color: #b6dbea;
  border-color: #779ca6;
 }
 html[data-kh-theme=dark] .kh-category-nav .kh-category-link.is-muted {
  background: var(--kh-client-surface);
  color: var(--kh-client-muted);
  border-color: var(--kh-client-line);
 }
 html[data-kh-theme=dark] .kh-category-nav .kh-category-link.is-muted[aria-current=page] {
  background: var(--kh-client-raised);
  color: var(--kh-client-text);
 }
 html[data-kh-theme=dark] :is(
  .kh-section-title :is(h1,h2), .kh-mine-row h3, .kh-category-preview :is(h2,legend),
  .kh-car-discovery .kh-field > span, .kh-detail h1
 ) { color: var(--kh-client-text); }
 html[data-kh-theme=dark] :is(
  .kh-section-title p, .kh-expiry, .kh-demand-label, .kh-notice-row small,
  .kh-category-nav .kh-category-link small, .kh-filter-meta, .kh-help, .kh-footer-identity p,
  .kh-enamad-space small, .kh-pwa-site-entry p span, .kh-demand-total > span,
  .kh-demand-table tbody td:nth-child(3) > span:first-child
 ) { color: var(--kh-client-muted); }
 html[data-kh-theme=dark] :is(
  .kh-car-filters .kh-reset-filters, .kh-notice-row button span, .kh-event-link,
  .heritage-header .heritage-mobile-cta, .kh-demand .kh-demand-table a
 ) { color: var(--kh-client-accent); }
 html[data-kh-theme=dark] .kh-demand .kh-demand-bar > span { background: var(--kh-client-accent); }
 html[data-kh-theme=dark] .kh-category-nav .kh-category-current { background: var(--kh-client-accent); }
 html[data-kh-theme=dark] .kh-mobile-login {
  background: var(--kh-client-raised);
  color: var(--kh-client-text) !important;
  border-color: var(--kh-client-line);
 }
 html[data-kh-theme=dark] .kh-pwa-toolbar-actions :is(.kh-event-link, .kh-pwa-menu summary),
 html[data-kh-theme=dark] .kh-context-action .kh-event-link {
  background: var(--kh-client-raised);
  color: var(--kh-client-text);
  border-color: var(--kh-client-line);
 }
 html[data-kh-theme=dark] .kh-pwa-toolbar-actions :is(.kh-event-link:hover, .kh-pwa-menu summary:hover, .kh-pwa-menu[open] summary) {
  background: #30543f;
  border-color: #a1c5ae;
 }
 html[data-kh-theme=dark] .kh-glass-button.kh-glass-button-light {
  background: var(--kh-client-raised);
  color: var(--kh-client-text) !important;
  border-color: var(--kh-client-line);
 }
 html[data-kh-theme=dark] .kh-glass-button.kh-glass-button-light:hover { background: #30543f; }
 html[data-kh-theme=dark] .kh-slide-copy { color: var(--kh-client-text); }

 html[data-kh-theme=dark] .kh-invoice :is(.khi-lines, .khi-lines thead, .khi-lines tr, .khi-footer),
 html[data-kh-theme=dark] .khi-payment ul.payment_methods > li {
  background: var(--kh-client-surface);
  color: var(--kh-client-text);
  border-color: var(--kh-client-line);
 }
 html[data-kh-theme=dark] .khi-lines :is(th,td) { border-bottom-color: var(--kh-line) !important; }
 html[data-kh-theme=dark] .kh-invoice :is(.khi-brand, .khi-parties h3, .khi-meta b, .khi-lines th, .khi-lines td) { color: var(--kh-client-text); }
 html[data-kh-theme=dark] .khi-parties h3 { color: var(--kh-client-muted) !important; }
 html[data-kh-theme=dark] :is(.khi-meta span, .khi-parties dt, .khi-totals dt, .khi-notes p, .khi-payment .woocommerce-privacy-policy-text) {
  color: var(--kh-client-muted);
 }
 html[data-kh-theme=dark] .kh-invoice :is(.khi-status, .khi-demo) {
  background: var(--kh-client-warm-surface);
  color: var(--kh-client-warm-text);
  border-color: #9c8050;
 }
 html[data-kh-theme=dark] .kh-invoice .khi-status.is-paid {
  background: var(--kh-client-raised);
  color: var(--kh-client-accent);
  border-color: var(--kh-client-line);
 }
 html[data-kh-theme=dark] .khi-totals .khi-grand :is(dt,dd) { color: #fff; }
 html[data-kh-theme=dark] .khi-payment #payment div.payment_box {
  background: var(--kh-client-raised) !important;
  color: var(--kh-client-text) !important;
 }
 html[data-kh-theme=dark] .khi-payment #payment div.payment_box::before { border-bottom-color: var(--kh-client-raised) !important; }
 html[data-kh-theme=dark] .khi-lines td::before { color: var(--kh-client-muted); }
}

@media (max-width: 370px) {
 .kh-pwa-toolbar-actions .kh-mobile-login { min-width: 44px; }
 .kh-pwa-toolbar-actions .kh-mobile-login span { display: none; }
}
