/* Shared appearance controls. The light website keeps its original palette. */
.site-theme-picker {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-block-size: 38px;
  max-inline-size: 100%;
  padding: 0 11px;
  border: 1px solid #dbe2ed;
  border-radius: 9px;
  color: #52627a;
  background: #ffffffb8;
  font: 500 11px/1.4 "DM Sans", system-ui, sans-serif;
}
.site-theme-picker > svg { inline-size: 16px; block-size: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.site-theme-picker select { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; min-inline-size: 0; opacity: 0; cursor: pointer; font: 400 16px/1.5 system-ui, sans-serif; }
.site-theme-picker option { color: #24354e; background: #fff; }
.site-theme-picker:hover { background: #f6f9fd; border-color: #acbfdc; }
.site-theme-picker:focus-within { outline: 2px solid #759bd0; outline-offset: 3px; }
.site-theme-value, [data-site-theme-value] { white-space: nowrap; }
.site-theme-picker[data-theme-variant="header"] { min-inline-size: 38px; padding-inline: 10px; }
.site-theme-picker[data-theme-variant="header"] .site-theme-label,
.site-theme-picker[data-theme-variant="header"] :is(.site-theme-value,[data-site-theme-value]) { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-theme-picker[data-theme-variant="footer"] { min-inline-size: 126px; }
.site-theme-picker[data-theme-variant="footer"] .site-theme-value { color: #75859a; font-size: 10px; }
.site-appearance-controls, .site-footer-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

html[data-site-theme="dark"] {
  color-scheme: dark;
  --st-page: #0e1420;
  --st-surface: #141e2d;
  --st-raised: #192638;
  --st-hover: #213149;
  --st-line: #2b3b52;
  --st-text: #e7edf7;
  --st-muted: #a9b7cc;
  --st-subtle: #91a3bd;
  --st-accent: #a2c1ff;
}
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) {
  --bg: var(--st-page);
  --ink: var(--st-text);
  --ink-soft: var(--st-muted);
  --navy: var(--st-text);
  --line: var(--st-line);
  --glass: #141e2df2;
  --black: #8eaff8;
  color: var(--st-text);
  background: var(--st-page);
}
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) ::selection { color: #f1f6ff; background: #35558b; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :focus-visible { outline-color: #a2c1ff; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.features-section,.pricing-main,.help-main,.guides-main,.blog-main,.contact-main,.privacy-main) {
  color: var(--st-text);
  background: radial-gradient(ellipse 95% 320px at 35% 0, #19305270, transparent 85%), var(--st-page);
}
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(h1,h2,h3,h4,h5,h6,strong,b,summary,dt) { color: var(--st-text); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(p,li,dd,figcaption) { color: var(--st-muted); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(p,li,dd) :is(strong,b) { color: #d9e5f8; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(p,li,dd,figcaption) a { color: var(--st-accent); text-decoration-color: #506d97; }

/* Navigation and a quieter, dark optical-glass hero. */
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.dropdown-menu,.site-header[data-nav-open] .main-nav) { color: var(--st-text); border-color: #33465f; background: #141e2df5; box-shadow: 0 18px 45px -18px #0009; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.nav-link,.item-text small) { color: var(--st-muted); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.nav-link:hover,.nav-link[aria-current="page"],.nav-link[aria-expanded="true"],.item-text b) { color: #eff4ff; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.dropdown-item:hover,.main-nav .nav-link:hover) { background: #29405b60; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.item-icon,.nav-burger) { color: var(--st-accent); background: #203049; box-shadow: inset 0 0 0 1px #40536d66; }
/* The vendor shader refracts the backdrop on the host itself. These are tints,
   not an imitation bevel or a second blurred layer. */
html[data-site-theme="dark"] body.home:not(.workspace-page):not([data-password-required]) {
  --st-page: #080e17;
  --bg: #080e17;
  background: #080e17;
}
html[data-site-theme="dark"] body.home .hero { border-bottom-color: transparent; }
html[data-site-theme="dark"] body.home:not(.workspace-page):not([data-password-required]) .site-footer {
  border-top: 0;
  background: #080e17;
}
html[data-site-theme="dark"] body.home .sky {
  background: radial-gradient(ellipse at 18% 3%,#1c304833,transparent 62%),linear-gradient(180deg,#0a111c,#080e17 78%);
}
html[data-site-theme="dark"] body.home .sky .cloud { opacity: 0; }
html[data-site-theme="dark"] body.home .grid { opacity: .04; }
html[data-site-theme="dark"] body.home .hero-art {
  inset: 0 -3%;
  height: auto;
  background-image: url('/art/ploomu-dark-glass.webp');
  background-position: center 58%;
  background-size: cover;
  -webkit-mask-image: linear-gradient(180deg,transparent 0%,#000 18%,#000 70%,#000a 82%,transparent 93%);
  mask-image: linear-gradient(180deg,transparent 0%,#000 18%,#000 70%,#000a 82%,transparent 93%);
  filter: none;
  mix-blend-mode: normal;
  opacity: 1;
}
html[data-site-theme="dark"] #analyzer .article-box,
html[data-site-theme="dark"] #analyzer .article-box.has-liquid-glass {
  color: #e6edf7;
  border: 1px solid #d8e8ff2b;
  background: #101b2b26;
  box-shadow: 0 12px 32px #00000029;
}
html[data-site-theme="dark"] #analyzer .article-box:focus-within { border-color: #a3bde46b; box-shadow: 0 0 0 3px #7e9fc70d,0 12px 32px #00000029; }
html[data-site-theme="dark"] #analyzer .article-box::before { content: none; }
html[data-site-theme="dark"] #analyzer .glass-surface {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html[data-site-theme="dark"] #analyzer textarea { color: #e8eef7; caret-color: #b2caff; }
html[data-site-theme="dark"] #analyzer textarea::placeholder { color: #a5b3c8; opacity: 1; }
html[data-site-theme="dark"] #analyzer .analyze-btn { color: #fff; background: #547ce0; box-shadow: none; }
html[data-site-theme="dark"] #analyzer .analyze-btn:hover { background: #668beb; }
html[data-site-theme="dark"] body.home .hero-links .pill,
html[data-site-theme="dark"] body.home .hero-links .pill.has-liquid-glass {
  position: relative;
  color: #c6d3e6;
  border: 1px solid #d3e4ff21;
  background: #d3e4ff08;
  box-shadow: none;
}
html[data-site-theme="dark"] body.home .hero-links .pill:hover { color: #edf4ff; background: #d3e4ff10; border-color: #d3e4ff3d; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .liquid-glass-layer {
  z-index: 0;
  pointer-events: none;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html[data-site-theme="dark"] :is(#analyze-form,.hero-links .pill,.site-header .cta,.plan-header).has-liquid-glass > :not(.liquid-glass-layer):not(.glass-surface) { position: relative; z-index: 1; }

/* All document surfaces use the same low-contrast blue-grey elevation. */
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .feature-card,.mini-document,.mini-excerpt,.mini-explanation,.mini-summary,.analysis-window,
 .signal-workbench,.feature-revision-window,.help-search-shell,.help-empty,.guides-featured,
 .guides-support,.guide-toc,.blog-related,.blog-introduction,.contact-email-panel,
 .privacy-review,.privacy-summary,.privacy-facts,.privacy-editor-note,.privacy-callout,
 .refund-promise,.pricing-protection,.account-flow-card,.article-pane,.sample-banner
) { color: var(--st-text); border-color: var(--st-line); background: var(--st-surface); box-shadow: inset 0 1px 0 #afcaff08; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .feature-visual,.demo-topbar,.demo-insights,.demo-footer,.signal-controls,.feature-revision-topline,
 .feature-revision-edited,.feature-preferences-art figcaption,.help-contact,.blog-bottom,
 .contact-email-link,.privacy-document .refund-email-action,.guide-destination,.feature-extension-cta
) { color: var(--st-muted); border-color: #314763; background: linear-gradient(130deg,#1a2b42,#152338); box-shadow: inset 0 1px 0 #a4c2f810; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .mini-document,.mini-excerpt,.mini-explanation,.mini-summary,.demo-topbar,.demo-footer,
 .signal-controls,.feature-revision-topline,.feature-revision-columns>div,.feature-revision-edited,
 .audience-card,.audience-section,.signal-section,.guide-section,.guide-pagination,.blog-story,
 .blog-story-meta,.blog-editions,.blog-preview,.blog-points,.blog-toc-resources,.contact-reason,
 .contact-group,.contact-checklist,.privacy-data-row,.privacy-section,.privacy-summary-item,
 .privacy-sidebar-contact,.privacy-mobile-toc,.privacy-closing,.help-results-bar,.help-entry,
 .help-sidebar-contact,.plan-features,.faq-rows details,.faq-rows summary
) { border-color: var(--st-line); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .feature-eyebrow,.features-eyebrow,.help-eyebrow,.guides-eyebrow,.blog-eyebrow,.contact-eyebrow,
 .privacy-eyebrow,.feature-extension-label,.blog-introduction-label,.blog-preview-category,
 .blog-preview-meta,.blog-story-category,.blog-story-meta,.blog-story-footer,.privacy-meta,
 .privacy-section-heading>span,.privacy-summary-item>span,.privacy-toc-label,.footer-contact-label,
 .guide-pagination-label,.help-sidebar h2,.help-search-hint,.help-results-bar p,.plan-period,.pricing-note,
 .footer-disabled,.feature-number,.feature-list-label,.signal-reading-label,.mini-label,.demo-label
) { color: var(--st-subtle); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .help-topic-button,.help-topic-button>span:last-child,.privacy-toc a,.privacy-toc a>span:first-child,
 .blog-toc li a,.blog-toc li a>span:first-child,.guides-category,.guide-breadcrumb,.guide-meta,
 .guide-section-title,.privacy-placeholder,.privacy-data-row dt,.privacy-facts dt,.demo-document-meta,
 .demo-summary,.demo-confidence,.demo-reason,.signal-tab,.feature-language-list li
) { color: var(--st-muted); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .audience-analyzer-link,.feature-extension-link,.guide-destination,.help-reset,.contact-copy,
 .footer-invitation-cta,.auth-resend,.account-flow-mark,.feature-language-list li
) { color: #bbd3ff; border-color: #405b80; background: #20334d; box-shadow: none; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .audience-analyzer-link,.feature-extension-link,.guide-destination,.help-reset,.contact-copy,
 .contact-email-link,.privacy-document .refund-email-action,.footer-invitation-cta,.auth-resend
):hover { color: #eef5ff; border-color: #6286bc; background: #2a4262; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .guide-pagination-title,.blog-preview-title,.blog-related a,.blog-introduction-link,.blog-bottom a,
 .help-sidebar-contact a,.contact-email-link,.privacy-sidebar-contact a,.privacy-provider-links a,
 .privacy-closing a,.privacy-document a,.feature-extension-link,.audience-analyzer-link,.feature-extension-primary
) { color: var(--st-accent); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .help-topic-button[aria-pressed="true"],.help-topic-button:hover,.signal-tab[aria-selected="true"],
 .signal-tab:hover,.demo-passage,.demo-passage.is-active,.demo-passage:hover
) { color: #c5dbff; border-color: #496f9e; background: #274465; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.feature-visual,.feature-editorial-art,.blog-story-visual img) { border-color: var(--st-line); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.feature-editorial-art,.blog-story-visual img) { background: #192a40; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.mini-excerpt mark,.signal-excerpt mark,.feature-revision-columns mark) { color: #d3e4ff; background: #30517b; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .mini-lines i { background: #405878; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .demo-article-end,
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .blog-story-visual figcaption::before { background: #718baa; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .signal-tab[aria-selected="true"]::before { background: #8fb3f5; }

/* Fine-print and embedded analysis labels remain legible without flattening their hierarchy. */
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .mini-document-label,.mini-checklist span,.mini-summary-note,.example-caption,.demo-topbar-meta,
 .demo-sample-label,.demo-article-kicker,.demo-article-meta,.demo-passage-number,.demo-report-eyebrow,
 .demo-notes-title,.demo-notes-title span,.demo-reason-heading,.demo-reason-location,.demo-note-eyebrow,
 .audience-eyebrow,.audience-number,.audience-role>span,.audience-workflow,.signals-eyebrow,
 .signal-controls-label,.signal-tab-title,.signal-tab-subtitle,.signal-panel-topline,.signal-excerpt,
 .signals-context-note,.feature-extension-eyebrow,.feature-tool-list li>span,.feature-revision-topline>span:last-child,
 .contact-label,.contact-meta,.contact-reason-number,.contact-response-note,.guides-featured-label,
 .guides-card-number,.guides-card-meta,.guide-step-label,.guide-section-number
) { color: var(--st-muted); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .features-example-link,.demo-context-link,.demo-analyze-link,.audience-pricing-link,.signals-example-link,
 .feature-extension-text-link,.guide-breadcrumb a,.guides-card-link,.contact-link,.contact-direct-link
) { color: var(--st-accent); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(
 .demo-reason.is-active,.demo-reason.is-active .demo-reason-heading,
 .signal-tab[aria-selected="true"] .signal-tab-title,.demo-note-detail blockquote
) { color: #c8dcff; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .feature-extension-primary { color: #f3f7ff; background: #355f9f; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .feature-extension-primary:hover { background: #4774b8; }

/* Keep plan artwork intentional, with a dark blue quarterly panel rather than a white block. */
html[data-site-theme="dark"] body.pricing-page .plan-header { border-color: #8eb4e441; box-shadow: inset 0 1px 0 #c9dcff21,0 15px 40px -26px #000b; }
html[data-site-theme="dark"] body.pricing-page .pricing-card--quarterly .plan-header { color: #e8f0ff; background-color: #20334f; background-image: linear-gradient(120deg,#243c5eea 12%,#1b3457d9 64%,#304f7c91),url('/art/ploomu-smooth-glass.png'); }
html[data-site-theme="dark"] body.pricing-page .plan-price { color: #f0f5ff; }
html[data-site-theme="dark"] body.pricing-page .plan-period { color: #bdd0ed; }
html[data-site-theme="dark"] body.pricing-page .plan-saving { color: #cbe0ff; border-color: #7c9ec55e; background: #2c4667b8; }
html[data-site-theme="dark"] body.pricing-page .plan-features svg { stroke: #91b9fa; }
html[data-site-theme="dark"] body.pricing-page .pricing-card--monthly .plan-choose { color: #153866; background: #e6efff; border-color: #e6efff; }
html[data-site-theme="dark"] body.pricing-page .pricing-card--monthly .plan-choose:hover { background: #fff; }
html[data-site-theme="dark"] body.pricing-page .pricing-card--quarterly .plan-choose { color: #eaf3ff; background: #436fa8; border-color: #6a91c1; }
html[data-site-theme="dark"] body.pricing-page .faq-icon::before,
html[data-site-theme="dark"] body.pricing-page .faq-icon::after { background: #a2bde2; }

/* Forms, account access and recovery stay part of the same palette. */
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.auth-dialog,.auth-dialog.has-liquid-glass) { color: var(--st-text); border-color: #3b4f6a; background: #141e2d; box-shadow: 0 35px 100px #0009; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .auth-dialog::backdrop { background: #020812b8; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .auth-tabs { border-color: #344660; background: #101a29; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .auth-tabs button { color: #a7b9d3; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .auth-tabs button[aria-selected="true"] { color: #eff5ff; background: #2a405e; box-shadow: inset 0 1px 0 #afcaff18; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.auth-input,.account-flow-card input,.help-mobile-topics select) { color: #e2edff; border-color: #3b516e; background: #0f1b2b; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.auth-input,.account-flow-card input,.help-search input)::placeholder { color: #90a2bf; opacity: 1; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.auth-input,.account-flow-card input):focus { border-color: #8cafeb; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .help-search input { color: var(--st-text); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .help-search-shell:focus-within { border-color: #7298cf; box-shadow: 0 0 0 3px #84acff13; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.auth-close:hover,.help-search-clear:hover) { background: #29405e; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.auth-plan,.auth-agreement-note) { color: #bfd5f8; border-color: #40597b; background: #20334d; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.auth-feedback,.auth-policy-links,.account-flow-footer) { color: var(--st-muted); border-color: var(--st-line); }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.auth-feedback[data-kind="error"],.account-flow-status[data-kind="error"],.auth-email-error,.form-error) { color: #ffb3b6; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.auth-feedback[data-kind="success"],.account-flow-status[data-kind="success"]) { color: #a7d9bf; }
html[data-site-theme="dark"] body.auth-flow-page { background: radial-gradient(ellipse at 25% 5%,#243c6099,transparent 58%),var(--st-page); }
html[data-site-theme="dark"] body.auth-flow-page .account-flow-nav { border-color: var(--st-line); }

/* Footer and the two appearance controls share the same calm hierarchy. */
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .site-footer { color: var(--st-text); border-color: var(--st-line); background: #0c121d; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .footer-invitation { border-color: #2c415e; background: linear-gradient(110deg,#17243a,#172a45); box-shadow: inset 0 1px 0 #afcfff0a; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.footer-link,.footer-contact,.footer-bottom,.footer-bottom a) { color: #adbbd1; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.footer-link:hover,.footer-contact:hover,.footer-bottom a:hover) { color: #c8dcff; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) .footer-bottom { border-color: var(--st-line); }
html[data-site-theme="dark"] :is(.site-language,.site-theme-picker) { color: #b8c6da; border-color: #d3e4ff24; background: #d3e4ff06; box-shadow: none; }
html[data-site-theme="dark"] :is(.site-language,.site-theme-picker):hover { color: #e7eef9; border-color: #d3e4ff40; background: #d3e4ff0d; }
html[data-site-theme="dark"] :is(.site-language,.site-theme-picker):focus-within { outline-color: #a1c2ff; }
html[data-site-theme="dark"] :is(.site-language,.site-theme-picker) option { color: #e6efff; background: #18263a; }
html[data-site-theme="dark"] .site-theme-picker[data-theme-variant="footer"] .site-theme-value { color: #9bb0cd; }
html[data-site-theme="dark"] body:not(.workspace-page):not([data-password-required]) :is(.brand img,.footer-brand img,.auth-logo,.account-flow-nav>a:first-child img) { content: url('/brand/ploomu-logo-white.png'); }

@media (max-width: 900px) {
  .site-header .nav-actions { gap: 7px; }
  .site-theme-picker[data-theme-variant="header"] { min-inline-size: 34px; min-block-size: 34px; padding-inline: 8px; }
  .site-theme-picker[data-theme-variant="header"] > svg { inline-size: 16px; block-size: 16px; }
  .footer-bottom { gap: 14px; }
}
@media (max-width: 380px) {
  .site-header .nav-inner { grid-template-columns: minmax(0,1fr) auto; min-inline-size: 0; }
  .site-header .nav-actions { gap: 5px; min-inline-size: 0; }
  .site-header .cta { max-inline-size: 132px; padding-inline: 10px; font-size: 11px; }
  .site-header .brand img { max-inline-size: 76px; block-size: auto; }
  .site-theme-picker[data-theme-variant="header"] { min-inline-size: 32px; min-block-size: 34px; }
  .site-appearance-controls,.site-footer-controls { gap: 8px; }
  .footer-bottom :is(.site-language,.site-theme-picker) { min-inline-size: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-theme-picker { transition: none; }
}

/* Administration uses the same selected appearance, with its own compact layout. */
html[data-site-theme="dark"] body[data-password-required] {
  --ink: #e7edf7;
  --muted: #a4b4cd;
  --blue: #9cbeff;
  --line: #2e415b;
  --canvas: #0e1522;
  color: var(--ink);
  background: var(--canvas);
}
html[data-site-theme="dark"] body[data-password-required] .admin-sidebar { border-color: #2b3b52; background: #121e30; }
html[data-site-theme="dark"] body[data-password-required] :is(.sidebar-label,.eyebrow,.section-label) { color: #8ea7cb; }
html[data-site-theme="dark"] body[data-password-required] .admin-sidebar nav a { color: #b2c3dc; }
html[data-site-theme="dark"] body[data-password-required] .admin-sidebar nav a:hover { color: #e1edff; background: #1a2d47; }
html[data-site-theme="dark"] body[data-password-required] .admin-sidebar nav .active { color: #c7dcff; border-color: #3f5d86; background: #223956; }
html[data-site-theme="dark"] body[data-password-required] .sidebar-bottom { border-color: #2e415b; }
html[data-site-theme="dark"] body[data-password-required] :is(.sidebar-bottom>a,.sign-out,.text-button) { color: #abc5eb; }
html[data-site-theme="dark"] body[data-password-required] :is(.sidebar-bottom>a,.sign-out,.text-button):hover { color: #e4efff; }
html[data-site-theme="dark"] body[data-password-required] .avatar { color: #c3dbff; border-color: #45638a; background: #213957; }
html[data-site-theme="dark"] body[data-password-required] .admin-identity div>span { color: #9cb0cf; }
html[data-site-theme="dark"] body[data-password-required] :is(h1,h2,h3,strong) { color: #e6eefb; }
html[data-site-theme="dark"] body[data-password-required] .card { border-color: #2e415b; background: #152136; box-shadow: 0 10px 30px -22px #0009,inset 0 1px 0 #c7dcff08; }
html[data-site-theme="dark"] body[data-password-required] :is(input,select,.sidebar-bottom select) { color: #e0ebfc; border-color: #3a5275; background: #101b2d; }
html[data-site-theme="dark"] body[data-password-required] input::placeholder { color: #8b9fbd; opacity: 1; }
html[data-site-theme="dark"] body[data-password-required] :is(input,select):focus { border-color: #99bafa; box-shadow: 0 0 0 3px #87aaff19; }
html[data-site-theme="dark"] body[data-password-required] :is(label,.field-help,.key-state) { color: #a4bbda; }
html[data-site-theme="dark"] body[data-password-required] .toggle-row { border-color: #304562; }
html[data-site-theme="dark"] body[data-password-required] input[type="checkbox"] { background: #435570; }
html[data-site-theme="dark"] body[data-password-required] input[type="checkbox"]::before { background: #ecf3ff; box-shadow: 0 1px 3px #0006; }
html[data-site-theme="dark"] body[data-password-required] input[type="checkbox"]:checked { background: #658ee3; }
html[data-site-theme="dark"] body[data-password-required] .primary { color: #f2f7ff; border-color: #638fdf; background: #3d68b0; }
html[data-site-theme="dark"] body[data-password-required] .primary:hover:not(:disabled) { background: #4d7ccb; }
html[data-site-theme="dark"] body[data-password-required] .danger { color: #f0b7be; border-color: #765360; background: #342632; }
html[data-site-theme="dark"] body[data-password-required] .danger:hover:not(:disabled) { background: #46303e; }
html[data-site-theme="dark"] body[data-password-required] :is(.restricted-badge,.status-badge) { color: #aec8ed; border-color: #3a5274; background: #1e324d; }
html[data-site-theme="dark"] body[data-password-required] .status-badge[data-state="ready"] { color: #a3dbbe; border-color: #3d6658; background: #1b352f; }
html[data-site-theme="dark"] body[data-password-required] .status-badge[data-state="disabled"] { color: #b9bcd7; border-color: #4c4c69; background: #292b3e; }
html[data-site-theme="dark"] body[data-password-required] .status-badge[data-state="missing"],
html[data-site-theme="dark"] body[data-password-required] .server-note { color: #dec7a2; border-color: #6e5940; background: #322d27; }
html[data-site-theme="dark"] body[data-password-required] .setup-steps li::marker { color: #a6c6f7; }
html[data-site-theme="dark"] body[data-password-required] .form-feedback { color: #a9d7bf; }
html[data-site-theme="dark"] body[data-password-required] .form-feedback[data-error="true"] { color: #f6b3bd; }
html[data-site-theme="dark"] body[data-password-required] .global-feedback { color: #f0b8c2; border-color: #795363; background: #32232f; }
html[data-site-theme="dark"] body[data-password-required] .statistics>div { border-color: #304562; }
html[data-site-theme="dark"] body[data-password-required] .statistics span { color: #9fb3d2; }
html[data-site-theme="dark"] body[data-password-required] .statistics strong { color: #b2cefa; }
html[data-site-theme="dark"] body[data-password-required] :is(.admin-footer,.admin-footer a) { color: #94aacc; }
html[data-site-theme="dark"] body[data-password-required] .skip-link { color: #e6f0ff; background: #203754; }
html[data-site-theme="dark"] body[data-password-required] :focus-visible { outline-color: #a1c2ff; }
html[data-site-theme="dark"] body[data-password-required] .admin-brand img { content: url('/brand/ploomu-logo-white.png'); }

/* One navbar glass model in both themes; only its color channels change. */
html[data-site-theme] { --nav-glass-rgb:248,251,255; --nav-glass-edge:255,255,255; --nav-glass-ink:21,36,67; }
html[data-site-theme="dark"] { --nav-glass-rgb:8,14,23; --nav-glass-edge:220,235,255; --nav-glass-ink:228,236,248; }
html[data-site-theme] .site-header,
html[data-site-theme] .site-header[data-scrolled] { background: transparent; box-shadow:none; -webkit-backdrop-filter:none; backdrop-filter:none; }
html[data-site-theme] .site-header:not([data-scrolled]) .nav-inner { background:transparent; border-color:transparent; box-shadow:none; }
html[data-site-theme] .site-header[data-scrolled] .nav-inner {
  background:rgba(var(--nav-glass-rgb),.28);
  border-color:rgba(var(--nav-glass-edge),.24);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  backdrop-filter:blur(18px) saturate(145%);
  box-shadow:0 2px 9px #00000018,inset 0 1px 0 rgba(var(--nav-glass-edge),.07);
}
html[data-site-theme] .site-header :is(.cta,.site-language,.site-theme-picker) {
  color:rgb(var(--nav-glass-ink));
  background:rgba(var(--nav-glass-rgb),.12);
  border-color:rgba(var(--nav-glass-ink),.16);
  box-shadow:none;
}
html[data-site-theme] .site-header :is(.cta,.site-language,.site-theme-picker):hover {
  color:rgb(var(--nav-glass-ink));
  background:rgba(var(--nav-glass-rgb),.24);
  border-color:rgba(var(--nav-glass-ink),.24);
}
html[data-site-theme] .site-header .liquid-glass-layer { background:transparent; box-shadow:none; }
