/* The site's look: colour settings shared by every page, and the light look
   of the new home page on the rest of the site (flag `site_look`, from
   9 Nov 2026; plan "Doksa: the light look on every page").

   - The colour settings (--look-*) are the new home page's, light under
     :root and dark under html.dark. home-simple.css reads them, so the home
     page and the rest of the site cannot drift apart.
   - The frame (background, menu, footer) follows the theme for real on the
     home and product pages (body:has(.hs-page)) and on every page that has
     opted in (body.site-look: the flag is on and the page's template fills
     the `site_look` block in base.html).
   - Opted-in pages were written for a navy background. In the light theme
     the rules at the end turn the text and translucent panels that were
     made for navy into ink on a white sheet, everywhere except inside a
     solid dark or coloured surface (a dark card, a gold button), which
     keeps its own colours.
   - Gold (Oliver, 9 Nov 2026): the Doksa gold is #B8860B, on the logo and
     on gold lines everywhere. Gold text on a light background is the deeper
     #8a6408, since #B8860B reaches only 3:1 there; on a dark background it
     stays #B8860B. The bright yellow #FFD700 is never used on a light
     background. */

:root {
  --look-bg: #f5f7fa;
  --look-sheet: #ffffff;
  --look-ink: #152257;           /* headings and the words that matter */
  --look-text: #3a4566;          /* reading text */
  --look-muted: #5c6684;         /* captions and meta */
  --look-line: rgba(21, 34, 87, 0.14);
  --look-gold: #8a6408;          /* gold text and links */
  --look-gold-line: #b8860b;     /* gold lines in drawings */
  --look-gold-rule: rgba(138, 100, 8, 0.42);
  --look-gold-fill: #e6b84a;     /* the button */
  --look-gold-fill-hover: #f0c75f;
  --look-gold-mark: rgba(230, 184, 74, 0.32);  /* marked words, coded passages */
  --look-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --look-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
}
html.dark {
  --look-bg: #0c1430;
  --look-sheet: #111b42;
  --look-ink: #eef0f5;
  --look-text: #c3c9d8;
  --look-muted: #9aa3ba;
  --look-line: rgba(238, 240, 245, 0.13);
  --look-gold: #dcae45;
  --look-gold-line: #dcae45;
  --look-gold-rule: rgba(220, 174, 69, 0.5);
  --look-gold-mark: rgba(220, 174, 69, 0.3);
}

/* ---------- the frame: background, menu, footer ----------
   The background marks are left out: the D in the middle and the corner
   traces ran into the text. */
:is(body.site-look, body:has(.hs-page)) {
  background: var(--look-bg);
  color: var(--look-text);
}
:is(body.site-look, body:has(.hs-page)) #topImagesGroup,
:is(body.site-look, body:has(.hs-page)) #bottomImagesGroup { display: none; }
:is(body.site-look, body:has(.hs-page)) > nav {
  background-color: var(--look-bg);
  background-color: color-mix(in srgb, var(--look-bg) 90%, transparent);
  border-bottom: 1px solid var(--look-line);
}
:is(body.site-look, body:has(.hs-page)) > nav a:not(.text-red-400),
:is(body.site-look, body:has(.hs-page)) > nav button,
:is(body.site-look, body:has(.hs-page)) #mobileMenu a:not(.text-red-400),
:is(body.site-look, body:has(.hs-page)) #mobileMenu button { color: var(--look-ink); }
:is(body.site-look, body:has(.hs-page)) > nav a.nav-link.active,
:is(body.site-look, body:has(.hs-page)) > nav a:hover,
:is(body.site-look, body:has(.hs-page)) #mobileMenu a:hover { color: var(--look-gold); }
:is(body.site-look, body:has(.hs-page)) #mobileMenu { background: var(--look-sheet); border: 1px solid var(--look-line); }
:is(body.site-look, body:has(.hs-page)) #mobileMenu hr { border-color: var(--look-line); }
:is(body.site-look, body:has(.hs-page)) #mobileMenu p { color: var(--look-muted); }
/* The account menu is a solid sheet like the theme menu (11 Nov 2026,
   Oliver: it stayed a see-through black panel on the light pages, and the
   page's gold button showed through it). */
:is(body.site-look, body:has(.hs-page)) #userMenuDropdown {
  background: var(--look-sheet);
  border: 1px solid var(--look-line);
  box-shadow: 0 8px 24px rgba(10, 15, 26, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
:is(body.site-look, body:has(.hs-page)) #userMenuDropdown a:not(.text-red-400),
:is(body.site-look, body:has(.hs-page)) #userMenuDropdown button { color: var(--look-ink); }
:is(body.site-look, body:has(.hs-page)) #userMenuDropdown :is(a:not(.text-red-400), button):hover { background-color: var(--look-gold-mark); }
:is(body.site-look, body:has(.hs-page)) #userMenuDropdown .text-gray-400 { color: var(--look-muted); }
:is(body.site-look, body:has(.hs-page)) #userMenuDropdown .text-brand-gold { color: var(--look-gold); }
:is(body.site-look, body:has(.hs-page)) #userMenuDropdown :is(.border-b, .border-t) { border-color: var(--look-line); }
html:not(.dark) :is(body.site-look, body:has(.hs-page)) #userMenuDropdown .text-red-400 { color: #b91c1c; }
:is(body.site-look, body:has(.hs-page)) > footer {
  background: var(--look-bg);
  border-top: 1px solid var(--look-line);
}
:is(body.site-look, body:has(.hs-page)) > footer a { color: var(--look-gold); }
:is(body.site-look, body:has(.hs-page)) > footer a:hover { color: var(--look-ink); }
:is(body.site-look, body:has(.hs-page)) > footer span,
:is(body.site-look, body:has(.hs-page)) > footer p { color: var(--look-muted); }
/* The wordmark is the logo: Doksa gold in both themes, like the D. */
:is(body.site-look, body:has(.hs-page)) > nav .text-brand-dark-gold { color: #b8860b; }

/* ---------- type ----------
   Schibsted Grotesk is Doksa's voice; Newsreader is the sources' (quotes,
   paper titles, the research question), used where a page marks them. */
body.site-look,
body.site-look :is(.font-sans, button, input, select, textarea) { font-family: var(--look-sans); }
body.site-look { -webkit-font-smoothing: antialiased; }
/* :where() keeps these weaker than a page's own heading styles (the home
   page's headings set their own spacing). */
:where(body.site-look main) :is(h1, h2, h3) { letter-spacing: -0.01em; }
:where(body.site-look main) :is(h1, h2, h3).font-bold { font-weight: 600; }
body.site-look .look-serif { font-family: var(--look-serif); }

/* The focus ring: Doksa gold rather than the purple one the accessibility
   script adds to every page, and only for the keyboard, not after a click. */
body.site-look *:focus { outline-color: #b8860b; }
body.site-look *:focus:not(:focus-visible) { outline: none; }

/* ---------- the theme choice (Light, Dark, Same as my device) ---------- */
.theme-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60;
  min-width: 15rem; padding: 6px;
  background: var(--look-sheet); color: var(--look-ink);
  border: 1px solid var(--look-line); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(10, 15, 26, 0.18);
}
.theme-menu[hidden] { display: none; }
nav .theme-menu button,
.theme-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border-radius: 6px; text-align: left;
  font-size: 15px; color: var(--look-ink); background: transparent;
}
.theme-menu button:hover,
.theme-menu button:focus-visible { background: var(--look-gold-mark); outline: none; }
.theme-menu button i { width: 1.1em; text-align: center; color: var(--look-gold); }
.theme-menu button .theme-check { margin-left: auto; visibility: hidden; color: var(--look-gold); }
.theme-menu button[aria-checked="true"] .theme-check { visibility: visible; }
.theme-choices { display: flex; gap: 6px; flex-wrap: wrap; }
.theme-choices button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 6px; font-size: 14px;
  border: 1px solid rgba(184, 134, 11, 0.4); background: transparent;
}
.theme-choices button[aria-checked="true"] { border-color: #b8860b; background: rgba(184, 134, 11, 0.18); }

/* ---------- light theme: pages written for navy ----------
   Everything below applies only in the light theme, inside the page body of
   an opted-in page, and never inside a solid dark or coloured surface,
   which keeps the colours it was written with. */
html:not(.dark) body.site-look main .modern-card {
  background: var(--look-sheet);
  border-color: var(--look-line);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html:not(.dark) body.site-look main .modern-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--look-gold-rule);
}
html:not(.dark) body.site-look main :is(
  .bg-white\/5, .bg-white\/10, .bg-white\/20,
  .bg-black\/20, .bg-black\/30, .bg-black\/40, .bg-black\/50,
  .bg-gray-800\/30, .bg-gray-800\/50, .bg-gray-900\/50, .bg-gray-900\/80
):not(main :is(.bg-black, .bg-gray-900, .bg-gray-800, .bg-gray-700, .bg-brand-navy, .fields-dark, .keep-dark) *) {
  background-color: var(--look-sheet);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
html:not(.dark) body.site-look main :is(.hover\:bg-white\/5, .hover\:bg-white\/10, .hover\:bg-white\/20):hover {
  background-color: rgba(21, 34, 87, 0.04);
}
html:not(.dark) body.site-look main :is(
  .border-white\/10, .border-white\/20, .border-gray-600, .border-gray-700, .border-gray-800
):not(main :is(.bg-black, .bg-gray-900, .bg-gray-800, .bg-gray-700, .bg-brand-navy, .fields-dark, .keep-dark) *) {
  border-color: var(--look-line);
}

/* Text written for navy. A solid dark or coloured surface keeps its text. */
html:not(.dark) body.site-look main :is(.text-white, .text-gray-50, .text-gray-100):not(main :is(
  .bg-black, .bg-gray-900, .bg-gray-800, .bg-gray-700, .bg-brand-navy, .fields-dark, .keep-dark,
  .bg-brand-dark-gold, .bg-brand-gold, [class*="bg-gradient-to"],
  .bg-blue-500, .bg-blue-600, .bg-blue-700, .bg-green-500, .bg-green-600, .bg-green-700,
  .bg-red-500, .bg-red-600, .bg-red-700, .bg-indigo-500, .bg-indigo-600, .bg-purple-500,
  .bg-purple-600, .bg-yellow-500, .bg-amber-500, .bg-emerald-500, .bg-emerald-600
) *):not(main :is(
  .bg-black, .bg-gray-900, .bg-gray-800, .bg-gray-700, .bg-brand-navy,
  .bg-brand-dark-gold, .bg-brand-gold, [class*="bg-gradient-to"],
  .bg-blue-500, .bg-blue-600, .bg-blue-700, .bg-green-500, .bg-green-600, .bg-green-700,
  .bg-red-500, .bg-red-600, .bg-red-700, .bg-indigo-500, .bg-indigo-600, .bg-purple-500,
  .bg-purple-600, .bg-yellow-500, .bg-amber-500, .bg-emerald-500, .bg-emerald-600
)) {
  color: var(--look-ink);
}
html:not(.dark) body.site-look main :is(.text-gray-200, .text-gray-300):not(main :is(
  .bg-black, .bg-gray-900, .bg-gray-800, .bg-gray-700, .bg-brand-navy, .fields-dark, .keep-dark
) *) {
  color: var(--look-text);
}
html:not(.dark) body.site-look main .text-gray-400:not(main :is(
  .bg-black, .bg-gray-900, .bg-gray-800, .bg-gray-700, .bg-brand-navy, .fields-dark, .keep-dark
) *) {
  color: var(--look-muted);
}
html:not(.dark) body.site-look main :is(.text-brand-dark-gold, .text-brand-gold, .text-yellow-300, .text-yellow-400):not(main :is(
  .bg-black, .bg-gray-900, .bg-gray-800, .bg-gray-700, .bg-brand-navy, .fields-dark, .keep-dark
) *) {
  color: var(--look-gold);
}
html:not(.dark) body.site-look main :is(.hover\:text-brand-gold, .hover\:text-white, .hover\:text-gray-200):hover {
  color: var(--look-ink);
}
/* Accent colours made for navy, one step darker on white. */
html:not(.dark) body.site-look main :is(.text-green-300, .text-green-400):not(main :is(.bg-black, .bg-gray-900, .bg-gray-800, .bg-brand-navy, .keep-dark) *) { color: #15803d; }
html:not(.dark) body.site-look main :is(.text-blue-300, .text-blue-400):not(main :is(.bg-black, .bg-gray-900, .bg-gray-800, .bg-brand-navy, .keep-dark) *) { color: #1d4ed8; }
html:not(.dark) body.site-look main :is(.text-purple-300, .text-purple-400):not(main :is(.bg-black, .bg-gray-900, .bg-gray-800, .bg-brand-navy, .keep-dark) *) { color: #7e22ce; }
html:not(.dark) body.site-look main :is(.text-red-300, .text-red-400):not(main :is(.bg-black, .bg-gray-900, .bg-gray-800, .bg-brand-navy, .keep-dark) *) { color: #b91c1c; }
/* A gold gradient line ends in Doksa gold, not bright yellow. */
html:not(.dark) body.site-look main .to-brand-gold { --tw-gradient-to: #b8860b var(--tw-gradient-to-position); }

/* ---------- dark theme ----------
   Grey panels made for a charcoal page become the navy of the home page:
   a panel is the navy sheet, a box inside one is the page's deeper navy. */
html.dark body.site-look main .dark\:bg-gray-800 { background-color: var(--look-sheet); }
html.dark body.site-look main .dark\:bg-gray-900 { background-color: var(--look-bg); }
html.dark body.site-look main :is(.dark\:border-gray-600, .dark\:border-gray-700) { border-color: var(--look-line); }
/* Gold text on navy is the home page's gold, not the bright yellow. */
html.dark body.site-look main :is(.text-brand-gold, .text-yellow-300, .text-yellow-400) { color: var(--look-gold); }
/* Grey-500 captions reach only 3:1 on the navy; the muted colour reads. */
html.dark body.site-look main .text-gray-500:not(main :is(.bg-white, .bg-gray-50, .bg-gray-100, .fields-light):not([class*="dark:bg-"]) *) { color: var(--look-muted); }

/* ---------- page by page ---------- */

/* Pricing: the cards are white sheets on the light page; the popular plan
   stands out by its gold ring and badge. */
html:not(.dark) body.site-look .pricing-card {
  background-image: none;
  background-color: var(--look-sheet);
  border-color: var(--look-line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* ring-brand-dark-gold was never built into output.css, so the ring fell
   back to the browser's blue. */
body.site-look .ring-brand-dark-gold { --tw-ring-color: #b8860b; }

/* Privacy Policy and Terms: the quick navigation was a blue panel with blue
   links; every page is Doksa gold. */
body.site-look #legal-document-app :is(.bg-blue-50, .dark\:bg-blue-900\/20) {
  background-color: var(--look-sheet);
  border: 1px solid var(--look-line);
}
body.site-look #legal-document-app :is(.text-blue-600, .dark\:text-blue-400) { color: var(--look-gold); }
html.dark body.site-look #legal-document-app :is(.text-blue-600, .dark\:text-blue-400) { color: #b8860b; }

/* FAQ: the icon before each question and before Quick Navigation said
   nothing the words did not (Oliver, 9 Nov 2026). */
body.site-look #legal-document-app :is(section > button > h2, .modern-card > h2) > i:first-child { display: none; }

/* About: each service shows a small copy of its page's drawing (styles in
   home-simple.css), and the audiences and the data facts are words without
   boxes or icons, like the three points on the home page (Oliver, 9 Nov
   2026: the icons looked too basic). */
body.site-look .about-figure { margin: 0 0 28px 0; }
body.site-look .about-figure-caption { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--look-muted); }
body.site-look .about-more { margin-top: 16px; }
body.site-look .about-audience { font-size: 20px; line-height: 1.45; color: var(--look-ink); text-wrap: balance; }
body.site-look .look-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; row-gap: 32px; }
body.site-look .look-points dt { font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--look-ink); }
body.site-look .look-points dd { margin: 8px 0 0 0; font-size: 15.5px; line-height: 1.55; color: var(--look-text); }
@media (max-width: 767px) {
  body.site-look .look-points { grid-template-columns: minmax(0, 1fr); }
}

/* The 404 and 500 pages (css/error_pages.css) take their colours from
   --err-* settings; in the light theme they become the light look's. */
html:not(.dark) body.site-look .err-page {
  --err-gold: var(--look-gold);
  --err-gold-bright: var(--look-gold);
  --err-text: var(--look-text);
  --err-muted: var(--look-muted);
  --err-line: var(--look-line);
  --err-panel: var(--look-sheet);
}
html:not(.dark) body.site-look .err-page .err-btn-ghost { border-color: var(--look-line); color: var(--look-ink); }
html:not(.dark) body.site-look .err-page .err-btn-ghost:hover { border-color: var(--look-gold); }
body.site-look .err-page .err-btn-primary { background: var(--look-gold-fill); border-color: var(--look-gold-fill); color: #16120a; }
body.site-look .err-page .err-btn-primary:hover { background: var(--look-gold-fill-hover); }
html:not(.dark) body.site-look .err-page .err-links li + li { border-top-color: var(--look-line); }
html:not(.dark) body.site-look .err-page .err-link-title { color: var(--look-ink); }
html:not(.dark) body.site-look .err-page .err-lead { opacity: 1; }
html.dark body.site-look .err-page { --err-panel: var(--look-sheet); }

/* ---------- sign-in and account pages (step 3, 9 Nov 2026) ---------- */

/* Panels. The sign-in pages' glass panels and the cards that were dark in
   both themes (class look-card, which those templates use in place of
   bg-gray-800 while the flag is on) are the home page's sheet. */
body.site-look main :is(.auth-container, .auth-form-container, .look-card) {
  background: var(--look-sheet);
  border: 1px solid var(--look-line);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* The word on a divider line sits on the sheet. */
body.site-look main :is(.auth-container, .auth-form-container, .look-card) div.relative.flex.justify-center.text-sm > span {
  background: var(--look-sheet);
  color: var(--look-muted);
}
/* Cards with a drop shadow lie flat, edged with a line, like the pricing
   cards. (Not the pricing cards themselves or the legal pages' sections,
   which step 2 left as they were.) */
body.site-look main :is(.shadow, .shadow-md, .shadow-lg, .shadow-xl, .shadow-2xl):is(.bg-white, .dark\:bg-gray-800):not(.pricing-card):not(#legal-document-app *) {
  box-shadow: none;
  border: 1px solid var(--look-line);
}
/* A field inside a former dark card follows the theme: its bg-gray-700
   class would otherwise keep it dark in the light theme. */
html:not(.dark) body.site-look .look-card :is(input, select, textarea) {
  --field-bg: #ffffff;
  --field-text: #111827;
  --field-placeholder: #6b7280;
  --field-bg-off: #f3f4f6;
  --field-text-off: #4b5563;
  --field-border: #d1d5db;
}
/* The sign-up and reset cards were pulled 4rem up (-mt-16) and slid under
   the menu when taller than the window. */
body.site-look main .min-h-screen.\-mt-16 { margin-top: 0; }

/* No stock icons as decoration (Oliver, 9 Nov 2026): the large icon above
   each title goes; the title says what the page is. */
body.site-look main :is(.look-deco, .auth-icon-container, .particle) { display: none; }

/* Nothing moves by itself when the page opens: animation only answers
   what the reader does. */
body.site-look main :is(
  .animate-fade-in, .auth-form-container, .success-message, .security-info,
  .auth-button, .additional-options, .auto-redirect-notice, .warning-message,
  .session-info, .quick-actions, .rate-limit-message, .countdown-container,
  .help-section, #countdown, .shield-icon, .success-check
) { animation: none; }
body.site-look main .success-icon svg { animation: none; stroke-dashoffset: 0; }
body.site-look main .btn-glow::before { display: none; }
body.site-look main :is(.btn-glow, .auth-button, .auth-button:hover) { box-shadow: none; }

/* Floating labels on the sign-in and sign-up fields: dark gold on the
   sheet (sign-up's were the bright yellow on black, with a glow). */
body.site-look :is(
  .floating-input:focus + i + .floating-label,
  .floating-input:not(:placeholder-shown) + i + .floating-label,
  .floating-input:focus ~ .floating-label,
  .floating-input:not(:placeholder-shown) ~ .floating-label,
  .auth-input:focus + i + .floating-label,
  .auth-input:not(:placeholder-shown) + i + .floating-label,
  .auth-input:focus + i + button + .floating-label,
  .auth-input:not(:placeholder-shown) + i + button + .floating-label
) {
  color: var(--look-gold);
  background: var(--look-sheet);
  text-shadow: none;
}
/* The track of the password strength bar. */
html:not(.dark) body.site-look .password-strength .bg-white\/10 { background-color: rgba(21, 34, 87, 0.1) !important; }

/* The sign-in error box (white text on a red tint, written for navy). */
html:not(.dark) body.site-look .login-error-box {
  background-color: #fcf0f0 !important;
  border-color: #e59a9a !important;
}
html:not(.dark) body.site-look :is(.login-error-item, .login-error-text) { color: #7f1d1d !important; }
html:not(.dark) body.site-look .login-error-icon { color: #b91c1c !important; }

/* Buttons. One gold button leads; the account pages' indigo and blue
   buttons become it. Other actions are outlined. */
body.site-look main :is(a, button):is(.bg-indigo-600, .bg-blue-600, .bg-slate-700),
body.site-look main :is(a, button)[class*="from-emerald-500"] {
  background-image: none;
  background-color: #b8860b;
  color: #16120a;
}
body.site-look main :is(a, button):is(.bg-indigo-600, .bg-blue-600):hover,
body.site-look main :is(a, button)[class*="from-emerald-500"]:hover { background-color: var(--look-gold-fill); }
body.site-look main .bg-slate-700:is(a, button),
body.site-look main :is(a, button):is(.bg-gray-600, .bg-gray-700, .bg-gray-200, .bg-yellow-500) {
  background-color: transparent;
  border: 1px solid var(--look-line);
  color: var(--look-ink);
}
body.site-look main :is(a, button):is(.bg-gray-600, .bg-gray-700, .bg-gray-200, .bg-yellow-500, .bg-slate-700):hover {
  background-color: rgba(21, 34, 87, 0.05);
  border-color: var(--look-gold-rule);
}
html.dark body.site-look main :is(a, button):is(.bg-gray-600, .bg-gray-700, .bg-gray-200, .bg-yellow-500, .bg-slate-700):hover {
  background-color: rgba(238, 240, 245, 0.06);
}
/* White words on a gold button read at 3:1; they are near-black, like the
   other gold buttons. */
body.site-look main [class*="from-brand-dark-gold"].text-white { color: #16120a; }
/* The bright yellow is not a light-theme colour, not even on hover. */
html:not(.dark) body.site-look main :is(.hover\:bg-brand-gold, .hover\:from-brand-gold, .hover\:from-brand-metallic-gold):hover {
  background-image: none;
  background-color: var(--look-gold-fill);
}
/* Numbered steps. */
body.site-look main .rounded-full:is(.bg-blue-500, .bg-indigo-600) { background-color: #b8860b; color: #16120a; }

/* Links and figures in indigo or blue are Doksa gold. */
body.site-look main :is(.text-indigo-600, .dark\:text-indigo-400, a.text-blue-600, a.dark\:text-blue-400) { color: var(--look-gold); }
body.site-look main :is(.hover\:text-indigo-800, .dark\:hover\:text-indigo-300, a.hover\:text-blue-800, a.dark\:hover\:text-blue-300):hover { color: var(--look-ink); }

/* Notes. A note that only informs (blue, indigo or purple) is a quiet
   panel in both themes: the page's background colour, a line round it,
   reading text, gold for its icon. */
body.site-look main :is(
  .bg-blue-50, .bg-blue-500\/10, .bg-blue-500\/20, .bg-blue-900\/20, .bg-purple-900\/20,
  [class*="from-blue-900\/20"], [class*="from-blue-500\/10"]
):not(.rounded-full),
html.dark body.site-look main :is(.dark\:bg-blue-900\/20) {
  background-image: none;
  background-color: var(--look-bg);
  border-color: var(--look-line);
}
html body.site-look main :is(
  .bg-blue-50, .bg-blue-500\/10, .bg-blue-500\/20, .bg-blue-900\/20, .bg-purple-900\/20,
  .dark\:bg-blue-900\/20, [class*="from-blue-900\/20"], [class*="from-blue-500\/10"]
):not(.rounded-full) :is(
  .text-blue-100, .text-blue-200, .text-blue-700, .text-blue-800, .text-blue-900, .text-purple-200,
  .dark\:text-blue-100, .dark\:text-blue-200, .dark\:text-blue-300
) { color: var(--look-text); }
html body.site-look main :is(
  .bg-blue-50, .bg-blue-500\/10, .bg-blue-500\/20, .bg-blue-900\/20, .bg-purple-900\/20,
  .dark\:bg-blue-900\/20, [class*="from-blue-900\/20"], [class*="from-blue-500\/10"]
):not(.rounded-full) :is(h2, h3, h4, strong, .font-medium, .font-semibold):is(.text-blue-200, .text-blue-300, .text-blue-800, .text-blue-900, .dark\:text-blue-200, .dark\:text-blue-300),
body.site-look main :is([class*="from-blue-900\/20"], [class*="from-blue-500\/10"]) :is(.text-white, .text-gray-100) { color: var(--look-ink); }
html body.site-look main :is(
  .bg-blue-50, .bg-blue-500\/10, .bg-blue-500\/20, .bg-blue-900\/20, .bg-purple-900\/20,
  .dark\:bg-blue-900\/20, [class*="from-blue-900\/20"], [class*="from-blue-500\/10"]
):not(.rounded-full) :is(i, svg):is(.text-blue-400, .text-blue-600, .text-purple-400, .dark\:text-blue-400) { color: var(--look-gold); }

/* Warnings, successes and errors keep their colour. Written for navy,
   their pale text vanished on white: in the light theme a warning is pale
   gold with dark text, a success pale green, an error pale red. The solid
   green-900 and red-900 are the project page's messages, whose pale text
   the rule below turned dark on dark green (12 Nov 2026). */
html:not(.dark) body.site-look main :is(.bg-yellow-500\/10, .bg-yellow-500\/20, .bg-amber-500\/20, .bg-amber-900\/30, .bg-orange-500\/20):not(.rounded-full) {
  background-color: #fbf5e4;
  border-color: rgba(138, 100, 8, 0.35);
}
html:not(.dark) body.site-look main :is(.bg-green-500\/10, .bg-green-500\/20, .bg-green-900\/20, .bg-green-900, .bg-emerald-500\/20):not(.rounded-full) {
  background-color: #eef7f1;
  border-color: rgba(22, 101, 52, 0.3);
}
html:not(.dark) body.site-look main :is(.bg-red-500\/10, .bg-red-500\/20, .bg-red-900\/20, .bg-red-900\/30, .bg-red-900):not(.rounded-full) {
  background-color: #fcf0f0;
  border-color: rgba(185, 28, 28, 0.3);
}
html:not(.dark) body.site-look main :is(
  .text-yellow-100, .text-yellow-200, .text-amber-200\/80, .text-amber-200\/90, .text-orange-200,
  .text-green-100, .text-green-200, .text-red-100, .text-red-200, .text-blue-100, .text-blue-200, .text-purple-200
):not(main :is(.bg-black, .bg-gray-900, .bg-gray-800, .bg-gray-700, .bg-brand-navy, .fields-dark, .keep-dark) *) {
  color: var(--look-text);
}
html:not(.dark) body.site-look main :is(.text-yellow-500, .text-amber-300, .text-amber-400, .text-orange-300, .text-orange-400):not(main :is(.bg-black, .bg-gray-900, .bg-gray-800, .bg-brand-navy, .keep-dark) *) { color: var(--look-gold); }
html:not(.dark) body.site-look main :is(.text-emerald-300, .text-emerald-400):not(main :is(.bg-black, .bg-gray-900, .bg-gray-800, .bg-brand-navy, .keep-dark) *) { color: #166534; }

/* Slate, used by the waitlist and the beta pages, reads like grey. */
body.site-look main .text-slate-300 { color: var(--look-text); }
body.site-look main :is(.text-slate-400, .text-slate-500) { color: var(--look-muted); }
body.site-look main :is(.hover\:text-slate-400, .hover\:text-amber-400):hover { color: var(--look-gold); }

/* Dark theme: the account pages' inner grey boxes and table heads are the
   page's deeper navy; grey-500 captions are the muted colour. */
html.dark body.site-look main .dark\:bg-gray-700:not(#legal-document-app *) { background-color: var(--look-bg); }
html.dark body.site-look main :is(.dark\:hover\:bg-gray-600, .dark\:hover\:bg-gray-700):hover { background-color: rgba(238, 240, 245, 0.06); }
html.dark body.site-look main .dark\:text-gray-500 { color: var(--look-muted); }

/* Second look, page by page. */

/* The sign-in and reset labels sat in the field's top corner, over its
   icon: base.html's general .floating-label rule comes later and won.
   They start where the typing starts, and float up from there. */
body.site-look .floating-input ~ .floating-label { left: 3rem; top: 50%; }
/* On a phone "Confirm your password" ran under the show-password eye:
   a label in a field with that button stops before it. */
body.site-look :is(.auth-input, .floating-input) ~ button ~ .floating-label { max-width: calc(100% - 6rem); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* On a phone the first and last name fields stand one above the other,
   so their labels fit on one line. */
@media (max-width: 480px) {
  body.site-look main .auth-form-container .grid.grid-cols-2 { grid-template-columns: 1fr; }
  body.site-look main :is(.auth-container, .auth-form-container) { padding: 1.5rem 1.25rem; }
}

/* The Google button of the sign-up pages: outlined, like the others. */
body.site-look main :is(.auth-container, .auth-form-container) a.bg-white.text-gray-800 {
  background-color: transparent;
  border: 1px solid var(--look-line);
  color: var(--look-ink);
}
body.site-look main :is(.auth-container, .auth-form-container) a.bg-white.text-gray-800:hover { border-color: var(--look-gold-rule); }

/* The reset pages' three step bars: the bars still to come are faint
   lines on the sheet, not white on white. */
html:not(.dark) body.site-look main .step-indicator .step:not(.active):not(.completed) { background: rgba(21, 34, 87, 0.12); }

/* Logout: the red of the button was never built. */
body.site-look main button[class*="from-red-600"] { background-image: none; background-color: #dc2626; color: #ffffff; }
body.site-look main button[class*="from-red-600"]:hover { background-color: #b91c1c; }

/* Tick boxes in Doksa gold, at their own size: on phones a general rule
   for touch targets stretched them to 48px squares; the words beside them
   (their label) take the tap as well. */
body.site-look main input:is([type="checkbox"], [type="radio"]) { accent-color: #b8860b; }
@media (max-width: 768px) {
  body.site-look main input:is([type="checkbox"], [type="radio"]) { min-width: 0; min-height: 0; width: 1.125rem; height: 1.125rem; }
}

/* Colours these pages ask for that output.css (8 Oct 2026 build) never
   built: without them a note had no tint and a light grey border, a bright
   line in the dark theme. The light theme's notes (above) win over these. */
body.site-look main .bg-amber-900\/30 { background-color: rgba(120, 53, 15, 0.3); }
body.site-look main .bg-amber-500\/20 { background-color: rgba(245, 158, 11, 0.2); }
body.site-look main .bg-yellow-500\/10 { background-color: rgba(234, 179, 8, 0.1); }
body.site-look main .bg-red-900\/20 { background-color: rgba(127, 29, 29, 0.2); }
body.site-look main .bg-red-500\/10 { background-color: rgba(239, 68, 68, 0.1); }
body.site-look main .bg-green-500\/10 { background-color: rgba(34, 197, 94, 0.1); }
body.site-look main .bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2); }
body.site-look main .bg-brand-dark-gold\/10 { background-color: rgba(184, 134, 11, 0.1); }
body.site-look main :is(.border-amber-600\/50, .border-brand-dark-gold\/30) { border-color: rgba(184, 134, 11, 0.45); }
body.site-look main .border-yellow-500\/30:not(#legal-document-app *):not(#legal-document-app) { border-color: rgba(234, 179, 8, 0.3); }
body.site-look main :is(.border-red-700\/50, .border-red-500\/50) { border-color: rgba(220, 38, 38, 0.5); }
body.site-look main .border-red-500\/30 { border-color: rgba(239, 68, 68, 0.3); }
body.site-look main :is(.border-green-700\/50, .border-green-500\/50, .border-emerald-500\/50) { border-color: rgba(34, 197, 94, 0.45); }
body.site-look main .border-green-500\/30 { border-color: rgba(34, 197, 94, 0.3); }
body.site-look main :is(.border-blue-700\/50, .border-blue-700\/30, .border-purple-700\/50, .border-slate-600, .border-slate-700, .border-white\/30, .border-orange-200, .border-red-200) { border-color: var(--look-line); }
html.dark body.site-look main :is(.text-amber-300, .text-amber-400) { color: var(--look-gold); }
html.dark body.site-look main :is(.text-amber-200\/80, .text-amber-200\/90) { color: #ecd9a6; }
html.dark body.site-look main .text-red-200 { color: #fecaca; }
html.dark body.site-look main :is(.text-emerald-300, .text-emerald-400) { color: #6ee7b7; }

/* Fields drawn with .modern-input (the Google sign-up step) had a white
   edge at 10%, invisible on the light sheet, and a yellow glow on focus. */
body.site-look main .modern-input { border-color: var(--field-border); }
body.site-look main .modern-input:focus { border-color: #b8860b; box-shadow: none; }

/* After deactivating: the blue banner is a quiet sheet like the notes. */
body.site-look main :is(.bg-blue-100, .dark\:bg-blue-900\/30):is(.border-2) {
  background-color: var(--look-sheet);
  border-color: var(--look-gold-rule);
}
html body.site-look main :is(.bg-blue-100, .dark\:bg-blue-900\/30):is(.border-2) :is(h1, h2) { color: var(--look-ink); }
html body.site-look main :is(.bg-blue-100, .dark\:bg-blue-900\/30):is(.border-2) p { color: var(--look-text); }
html body.site-look main :is(svg, i):is(.text-blue-500, .text-blue-600, .dark\:text-blue-400) { color: var(--look-gold); }

/* ---------- dashboard, project page and start pages (step 4, 9 Nov 2026) ---------- */

/* Nothing slides in while the reader scrolls. */
body.site-look main .reveal { opacity: 1; transform: none; transition: none; }

/* Cards lie flat: no lift and no glow on hover, only the edge turns gold. */
body.site-look main .modern-card:hover,
body.site-look main .modern-card.cursor-pointer:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--look-gold-rule);
}

/* Status of an analysis: a quiet label, the colour in the word, no glow.
   Done is green and failed is red, because they mean something; running
   is the page's own ink, waiting is gold. */
body.site-look main .badge-modern { background-image: none; box-shadow: none; border: 1px solid var(--look-line); }
body.site-look main .badge-modern:hover { transform: none; }
body.site-look main .status-dot { animation: none; box-shadow: none; width: 8px; height: 8px; }
body.site-look main .status-dot-success { background: #16a34a; }
body.site-look main .status-dot-processing { background: var(--look-gold-line); }
body.site-look main .status-dot-error { background: #dc2626; }
body.site-look main .status-dot-warning { background: #b8860b; }
html:not(.dark) body.site-look main .badge-modern.badge-success { background-color: #eef7f1; color: #166534; border-color: rgba(22, 101, 52, 0.22); }
html:not(.dark) body.site-look main .badge-modern.badge-info { background-color: var(--look-bg); color: var(--look-ink); }
html:not(.dark) body.site-look main .badge-modern.badge-error { background-color: #fcf0f0; color: #991b1b; border-color: rgba(153, 27, 27, 0.22); }
html:not(.dark) body.site-look main .badge-modern.badge-warning { background-color: #fbf5e4; color: #7a5605; border-color: var(--look-gold-rule); }
html.dark body.site-look main .badge-modern.badge-success { background-color: rgba(34, 197, 94, 0.12); color: #86efac; border-color: rgba(134, 239, 172, 0.25); }
html.dark body.site-look main .badge-modern.badge-info { background-color: rgba(238, 240, 245, 0.06); color: var(--look-ink); }
html.dark body.site-look main .badge-modern.badge-error { background-color: rgba(239, 68, 68, 0.14); color: #fca5a5; border-color: rgba(252, 165, 165, 0.25); }
html.dark body.site-look main .badge-modern.badge-warning { background-color: rgba(220, 174, 69, 0.14); color: var(--look-gold); border-color: var(--look-gold-rule); }

/* Progress: a Doksa gold line on a faint track, without shine or glow. */
body.site-look main .progress-modern { background: var(--look-line); }
body.site-look main .progress-modern-fill { background: var(--look-gold-line); animation: none; box-shadow: none; }

/* A chosen tab or period is navy (white on navy in the dark theme), so the
   one gold button of the view stays the gold one. */
body.site-look main .look-tabs button:is(.bg-brand-dark-gold, .bg-purple-600, .bg-blue-600, .bg-green-600) {
  background-color: var(--look-ink);
  color: var(--look-sheet);
  border: 1px solid var(--look-ink);
  box-shadow: none;
}
body.site-look main .look-tabs button.bg-gray-700:hover { border-color: var(--look-gold-rule); }

/* Empty states say it in words; the large icon goes. */
body.site-look main .empty-state-icon { display: none; }

/* Dashboard: the four figures in ink, credits in gold (no purple, blue or
   green). Their icons are decoration and go (look-deco). */
body.site-look #dashboard-app .modern-card .text-3xl:is(.text-white, .text-green-400, .text-purple-400) { color: var(--look-ink); }
body.site-look #dashboard-app .modern-card .text-3xl.text-brand-gold { color: var(--look-gold); }

/* Dashboard: projects. A project is a quiet box on the panel, its folder
   and chips Doksa gold. */
body.site-look #dashboard-app .project-rows > li { border-top-color: var(--look-line); }
body.site-look #dashboard-app .project-card h3 { color: var(--look-ink); }
/* Buy credits and New project: outlined, like every second button (slop check D2) */
body.site-look #dashboard-app .dash-outline { background: transparent; border: 1px solid var(--look-line); color: var(--look-ink); }
body.site-look #dashboard-app .dash-outline:hover { border-color: var(--look-gold-rule); }
body.site-look :is(#dashboard-app, #project-app) :is(.project-card h3 i, .fa-folder) { color: var(--look-gold); }
body.site-look main .project-chip { color: var(--look-gold); background: transparent; border-color: var(--look-gold-rule); }

/* Dashboard: each analysis. Its kind is said in words under its name, the
   coding summary is a quiet box, and the counts are words, not colours. */
/* On a phone a long name pushed the status past the card's edge, and the
   chart's title was squeezed beside its day buttons. */
body.site-look #dashboard-app .flex.items-start.justify-between:has(> .badge-modern) { flex-wrap: wrap; gap: 0.5rem 0.75rem; }
body.site-look #dashboard-app .badge-modern { flex-shrink: 0; }
body.site-look #dashboard-app .flex.items-center.justify-between:has(> .look-tabs) { flex-wrap: wrap; gap: 0.75rem; }
body.site-look #dashboard-app .look-summary { background: var(--look-bg); border-color: var(--look-line); }
body.site-look #dashboard-app .look-summary :is(.text-purple-300, .text-green-300, .text-blue-300) { color: var(--look-text); }
body.site-look #dashboard-app .look-summary span > i { color: var(--look-gold); }
body.site-look #dashboard-app .look-summary .border-gray-700 { border-color: var(--look-line); }
body.site-look #dashboard-app .look-summary .rounded-full.bg-green-600\/30 { background-color: var(--look-gold-mark); color: var(--look-ink); }
body.site-look #dashboard-app .look-summary .rounded-full.bg-gray-700 { background-color: transparent; border: 1px solid var(--look-line); color: var(--look-muted); }
/* A running analysis links to its progress: an outlined button, since it
   asks nothing of the reader. A failed one's Retry is the gold button. */
body.site-look #dashboard-app .modern-card a.bg-blue-600 {
  background-color: transparent;
  border: 1px solid var(--look-line);
  color: var(--look-ink);
}
body.site-look #dashboard-app .modern-card a.bg-blue-600:hover { background-color: transparent; border-color: var(--look-gold-rule); }
body.site-look #dashboard-app .modern-card button.bg-red-600 { background-color: #b8860b; color: #16120a; }
body.site-look #dashboard-app .modern-card button.bg-red-600:hover { background-color: var(--look-gold-fill); }
/* The delete button turns red on hover, as before. */
body.site-look #dashboard-app .modern-card button.hover\:bg-red-600:hover { background-color: #dc2626; border-color: #dc2626; color: #ffffff; }
/* The download menu is a sheet, its file icons gold. */
body.site-look #dashboard-app .look-menu { background: var(--look-sheet); border-color: var(--look-line); box-shadow: 0 8px 24px rgba(10, 15, 26, 0.16); }
body.site-look #dashboard-app .look-menu button { color: var(--look-ink); }
body.site-look #dashboard-app .look-menu button:hover { background-color: var(--look-gold-mark); }
body.site-look #dashboard-app .look-menu button i { color: var(--look-gold); }
/* The study's text, and when it is deleted. */
body.site-look #dashboard-app .text-keep { border-color: var(--look-line); }
body.site-look #dashboard-app .text-keep-line { color: var(--look-text); }
body.site-look #dashboard-app .text-keep-line i { color: var(--look-muted); }
body.site-look #dashboard-app .text-keep.is-soon { border-color: var(--look-gold-rule); }
body.site-look #dashboard-app .text-keep.is-soon .text-keep-line i { color: var(--look-gold); }
body.site-look #dashboard-app :is(.text-keep-button, .text-keep-link) { color: var(--look-gold); }
body.site-look #dashboard-app .text-keep-button { border-color: var(--look-gold-rule); }
body.site-look #dashboard-app .text-keep-button:hover { background: var(--look-gold-mark); }

/* A form in a window (new project) is the sheet; its fields follow the
   theme. */
body.site-look main .look-dialog { background: var(--look-sheet); border: 1px solid var(--look-line); }
body.site-look main .look-dialog :is(h3, .text-white) { color: var(--look-ink); }
body.site-look main .look-dialog :is(p, label, .text-gray-200, .text-gray-300) { color: var(--look-text); }
body.site-look main .look-dialog .text-red-300 { color: #b91c1c; }
html.dark body.site-look main .look-dialog .text-red-300 { color: #fca5a5; }
body.site-look main .project-input,
body.site-look #create-task-app :is(#lit-task-name, #lit-prompt, #output-language-select, .doksa-custom-fields__input) {
  --field-bg: var(--look-sheet);
  --field-text: var(--look-ink);
  --field-placeholder: var(--look-muted);
  --field-bg-off: var(--look-bg);
  --field-text-off: var(--look-muted);
  --field-border: var(--look-line);
  border-color: var(--field-border);
}
body.site-look main .project-input:focus,
body.site-look #create-task-app :is(#lit-task-name, #lit-prompt, #output-language-select, .doksa-custom-fields__input):focus { border-color: #b8860b; }

/* Project page: its own classes were drawn for the charcoal page. */
body.site-look #project-app :is(.project-row, .project-entry, .project-next-step) { border-top-color: var(--look-line); }
body.site-look #project-app .project-list { border-bottom-color: var(--look-line); }
body.site-look #project-app .project-field-label { color: var(--look-muted); }
body.site-look #project-app .project-link:hover { color: var(--look-gold); }
body.site-look #project-app .project-material-choice { border-color: var(--look-line); }
body.site-look #project-app .project-material-option { background: var(--look-bg); border-color: var(--look-line); }
body.site-look #project-app .project-material-option:hover { border-color: var(--look-gold-rule); }
body.site-look #project-app .project-sample-text { color: var(--look-text); }
body.site-look #project-app :is(.project-sample-note, .project-sample-speaker) { color: var(--look-muted); }
body.site-look #project-app .project-sample-note { border-left-color: var(--look-gold-rule); }
body.site-look #project-app .project-sample-note.is-code { color: var(--look-gold); }
body.site-look #project-app .project-sample-mark { background: var(--look-gold-mark); color: var(--look-ink); }
html:not(.dark) body.site-look #project-app .project-sample-note.is-relevant { color: #166534; }
/* A status in a row: an outlined word. */
html:not(.dark) body.site-look #project-app .project-row .badge-success { background: transparent; color: #166534; border-color: rgba(22, 101, 52, 0.4); }
html:not(.dark) body.site-look #project-app .project-row .badge-error { background: transparent; color: #991b1b; border-color: rgba(153, 27, 27, 0.4); }
body.site-look #project-app .project-row .badge-info { background: transparent; color: var(--look-gold); border-color: var(--look-gold-rule); }
/* Next steps under a row. */
body.site-look #project-app :is(.project-steps-toggle, .project-next-btn) { border-color: var(--look-line); color: var(--look-ink); }
body.site-look #project-app :is(.project-steps-toggle, .project-next-btn):hover,
body.site-look #project-app .project-steps-toggle[aria-expanded="true"] { border-color: var(--look-gold-rule); color: var(--look-gold); }
body.site-look #project-app :is(.project-steps-toggle, .project-next-btn):focus-visible { outline-color: #b8860b; }
body.site-look #project-app :is(.project-steps-note, .project-next-price, .project-next-wait) { color: var(--look-muted); }
body.site-look #project-app .project-next-title { color: var(--look-ink); }
body.site-look #project-app .project-next-body { color: var(--look-text); }
html:not(.dark) body.site-look #project-app .project-next-problem { color: #b91c1c; }
/* Where this project stands (stage 4, flag project_overview) */
body.site-look #project-app :is(.project-overview-row, .project-overview-steps, .project-overview-note) { border-top-color: var(--look-line); }
body.site-look #project-app .project-overview-since { color: var(--look-text); }
body.site-look #project-app .project-overview-since-label { color: var(--look-ink); }
body.site-look #project-app :is(.project-overview-heading, .project-overview-of, .project-overview-note) { color: var(--look-muted); }
body.site-look #project-app .project-overview-lines { color: var(--look-text); }
body.site-look #project-app .project-overview-figure { color: var(--look-ink); text-decoration-color: var(--look-gold-rule); }
body.site-look #project-app .project-overview-figure:hover { color: var(--look-gold); text-decoration-color: currentColor; }
body.site-look #project-app .project-overview-figure:focus-visible { outline-color: #b8860b; }
/* Delete project: grey, red on hover, as before. */
body.site-look #project-app .project-delete-btn { background: transparent; border: 1px solid var(--look-line); color: var(--look-ink); }
body.site-look #project-app .project-delete-btn:hover { background: #dc2626; border-color: #dc2626; color: #ffffff; }

/* Task list (/tasks/): the status chips were light in both themes, and
   running was blue. */
html:not(.dark) body.site-look main .bg-blue-100.text-blue-800 { background-color: var(--look-bg); color: var(--look-ink); }
html.dark body.site-look main .bg-blue-100.text-blue-800 { background-color: rgba(238, 240, 245, 0.06); color: var(--look-ink); }
html.dark body.site-look main .bg-green-100.text-green-800 { background-color: rgba(34, 197, 94, 0.12); color: #86efac; }
html.dark body.site-look main .bg-red-100.text-red-800 { background-color: rgba(239, 68, 68, 0.14); color: #fca5a5; }
html.dark body.site-look main .bg-green-50.text-green-700 { background-color: rgba(34, 197, 94, 0.12); color: #86efac; }
html.dark body.site-look main #jobList button.text-gray-600 { color: var(--look-muted); }
/* On a phone a long name stretched the status into a tall block. */
body.site-look main #jobList .flex.justify-between { gap: 0.75rem; align-items: flex-start; }
body.site-look main #jobList .flex.justify-between > span.rounded { flex-shrink: 0; }

/* Literature start page (create_task_vue.html, the page served while flag
   start_page_look is on; the old look is not restyled and goes once that
   flag reaches everyone). Its lit-* classes were drawn for the navy page. */
body.site-look #create-task-app .step-indicator.active { background: #b8860b; color: #16120a; }
body.site-look #create-task-app .step-indicator.completed { background: var(--look-ink); color: var(--look-sheet); }
body.site-look #create-task-app .step-indicator.pending { background: transparent; border-color: var(--look-line); color: var(--look-muted); }
body.site-look #create-task-app .step-line.bg-green-500 { background: var(--look-ink); }
body.site-look #create-task-app .step-line.bg-gray-300 { background: var(--look-line); }
body.site-look #create-task-app :is(.lit-panel, .doksa-custom-fields, .lit-modal) { background: var(--look-sheet); border-color: var(--look-line); }
body.site-look #create-task-app :is(.lit-panel__title, .lit-label, .lit-option__title, .lit-note strong, .lit-modal__list strong,
  .doksa-custom-fields__toggle, .doksa-custom-fields__label-text, .lit-files-confirm) { color: var(--look-ink); }
body.site-look #create-task-app :is(.lit-option__meta, .lit-note, .lit-modal__list li, .doksa-custom-fields__intro,
  .doksa-custom-fields__tradeoff, .lit-mode-line, .lit-files-more, .lit-upload-status) { color: var(--look-text); }
body.site-look #create-task-app :is(.lit-label__aside, .lit-hint, .lit-option__text, .doksa-custom-fields__optional,
  .doksa-custom-fields__toggle-hint, .doksa-custom-fields__hint, .doksa-custom-fields__tradeoff-detail) { color: var(--look-muted); }
body.site-look #create-task-app :is(.lit-divider, .lit-mode-line, .doksa-custom-fields__toggle.is-open) { border-color: var(--look-line); }
/* A choice: a sheet with an edge; the chosen one has a gold edge and a
   filled mark. The type icons were decoration and go. */
body.site-look #create-task-app .lit-option { background: var(--look-sheet); border-color: var(--look-line); }
body.site-look #create-task-app .lit-option:hover { border-color: var(--look-gold-rule); }
body.site-look #create-task-app .lit-option.is-selected { border-color: #b8860b; background: var(--look-sheet); }
body.site-look #create-task-app .lit-option__mark { border-color: rgba(21, 34, 87, 0.35); }
html.dark body.site-look #create-task-app .lit-option__mark { border-color: rgba(238, 240, 245, 0.4); }
body.site-look #create-task-app .lit-option.is-selected .lit-option__mark { border-color: #b8860b; background: radial-gradient(circle, #b8860b 0 4px, transparent 5px); }
body.site-look #create-task-app .lit-option__icon { display: none; }
/* Buttons: gold leads, the rest are outlined; no bright yellow on hover. */
body.site-look #create-task-app .lit-btn--primary { background: #b8860b; color: #16120a; }
body.site-look #create-task-app .lit-btn--primary:hover:not(:disabled) { background: var(--look-gold-fill); }
body.site-look #create-task-app .lit-btn--secondary { background: transparent; border: 1px solid var(--look-line); color: var(--look-ink); }
body.site-look #create-task-app .lit-btn--secondary:hover:not(:disabled) { background: transparent; border-color: var(--look-gold-rule); }
body.site-look #create-task-app .lit-btn:disabled { background: var(--look-bg); border: 1px solid var(--look-line); color: var(--look-muted); }
body.site-look #create-task-app .lit-btn--remove { border-color: rgba(220, 38, 38, 0.55); }
html:not(.dark) body.site-look #create-task-app :is(.lit-btn--remove, .lit-file-error, .doksa-custom-fields__required, .lit-note--warning .lit-note__title) { color: #b91c1c; }
/* Notes, files and the optional columns: quiet boxes on the sheet. */
body.site-look #create-task-app :is(.lit-note, .doksa-custom-fields__tradeoff) { background: var(--look-bg); border-left-color: #b8860b; }
body.site-look #create-task-app .lit-note--warning { border-left-color: #dc2626; }
body.site-look #create-task-app :is(.doksa-custom-fields__row, .lit-file-row) { background: var(--look-bg); border-color: var(--look-line); }
body.site-look #create-task-app .lit-file-row.is-failed { border-color: rgba(220, 38, 38, 0.55); }
body.site-look #create-task-app .doksa-custom-fields__toggle:hover { background: var(--look-bg); }
body.site-look #create-task-app .doksa-custom-fields__input { border-color: var(--field-border); }
body.site-look #create-task-app .doksa-custom-fields__input:focus { border-color: #b8860b; box-shadow: none; }
body.site-look #create-task-app .doksa-custom-fields__remove { background: transparent; border: 1px solid var(--look-line); color: var(--look-muted); }
body.site-look #create-task-app .doksa-custom-fields__remove:hover { color: var(--look-ink); border-color: var(--look-gold-rule); }
body.site-look #create-task-app .doksa-custom-fields__add { border-color: var(--look-line); color: var(--look-ink); }
body.site-look #create-task-app .doksa-custom-fields__add:hover:not(:disabled) { border-color: #b8860b; color: var(--look-ink); }
body.site-look #create-task-app .lit-files-more:hover { color: var(--look-ink); }
body.site-look #create-task-app .file-upload-zone { border-color: rgba(21, 34, 87, 0.25); background: var(--look-bg); }
html.dark body.site-look #create-task-app .file-upload-zone { border-color: rgba(238, 240, 245, 0.25); }
body.site-look #create-task-app .file-upload-zone.dragover { border-color: #b8860b; background: rgba(184, 134, 11, 0.07); }
body.site-look #create-task-app .lit-upload-bar { background: var(--look-line); }
body.site-look #create-task-app .lit-upload-bar__done { background: var(--look-gold-line); }
body.site-look #create-task-app .project-start-note { border-color: var(--look-gold-rule); background: rgba(184, 134, 11, 0.06); }
/* Its upload step sets text colours inline, made for navy; the look
   classes beside them carry the look's colours instead. */
body.site-look .look-ink { color: var(--look-ink) !important; }
body.site-look .look-text { color: var(--look-text) !important; }
body.site-look .look-muted { color: var(--look-muted) !important; }
body.site-look .look-figure { color: var(--look-gold) !important; }
html:not(.dark) body.site-look .look-remove { color: #b91c1c !important; }

/* The skip links shown on keyboard focus: ink, not purple. */
body.site-look .skip-link { background: var(--look-ink); color: var(--look-sheet); }

/* The privacy note (CookieConsent.js) sits outside main on every page: a
   sheet with a gold line, a gold Accept button and an outlined No thanks.
   It appears without sliding in; nothing moves unless the reader acts. */
body.site-look .look-cookie-pop { transition: none; }
/* Its place, width and spacing classes (bottom-6, w-[calc(...)], mb-5,
   py-2.5) were never built, so it sat squeezed over the menu. */
body.site-look .look-cookie-pop { top: auto; bottom: 1.5rem; width: calc(100% - 2rem); }
body.site-look .look-cookie .mb-5 { margin-bottom: 1.25rem; }
body.site-look .look-cookie button { padding: 0.625rem 1rem; }
body.site-look .look-cookie { background: var(--look-sheet); border-color: var(--look-line); border-radius: 12px; box-shadow: 0 12px 32px rgba(10, 18, 48, 0.18); }
body.site-look .look-cookie > .h-1 { background: var(--look-gold-line); height: 2px; }
body.site-look .look-cookie .look-deco { display: none; }
body.site-look .look-cookie h3 { color: var(--look-ink); }
body.site-look .look-cookie p { color: var(--look-text); }
body.site-look .look-cookie .bg-gray-50 { background: var(--look-bg); color: var(--look-muted); }
body.site-look .look-cookie .bg-gray-50 strong { color: var(--look-ink); }
body.site-look .look-cookie .fa-check { color: var(--look-gold); }
body.site-look .look-cookie button { border-radius: 8px; }
body.site-look .look-cookie button.bg-brand-gold { background: #b8860b; color: #16120a; }
body.site-look .look-cookie button.bg-brand-gold:hover { background: var(--look-gold-fill); }
body.site-look .look-cookie button.bg-gray-100 { background: transparent; border: 1px solid var(--look-line); color: var(--look-ink); }
body.site-look .look-cookie button.bg-gray-100:hover { border-color: var(--look-gold-rule); background: transparent; }
body.site-look .look-cookie a { color: var(--look-muted); }
body.site-look .look-cookie a:hover { color: var(--look-gold); }

/* Coding start page (QualitativeAdvancedApp.js): every page is Doksa gold,
   so its blue, indigo and purple accents become gold, and its blue and
   purple notes quiet boxes. */
body.site-look #qualitative-app :is(.text-blue-600, .text-blue-700, .text-indigo-400, .text-indigo-500, .text-indigo-700,
  .text-purple-600, .text-purple-700, .dark\:text-blue-300, .dark\:text-blue-400, .dark\:text-purple-400) { color: var(--look-gold); }
body.site-look #qualitative-app :is(.bg-purple-50, .dark\:bg-purple-900\/20, .bg-blue-100, .dark\:bg-blue-900\/30) { background-color: var(--look-bg); }
body.site-look #qualitative-app :is(.border-purple-500, .border-purple-300, .dark\:border-purple-600) { border-color: var(--look-gold-rule); }
body.site-look #qualitative-app :is(.border-indigo-100, .border-indigo-200, .dark\:border-indigo-700, .dark\:border-indigo-900\/30, .border-blue-200, .dark\:border-blue-800) { border-color: var(--look-line); }
body.site-look #qualitative-app :is(.hover\:bg-purple-50, .hover\:bg-purple-100, .dark\:hover\:bg-purple-900\/20, .dark\:hover\:bg-purple-900\/30):hover { background-color: rgba(184, 134, 11, 0.07); }
body.site-look #qualitative-app :is(.focus\:ring-indigo-500, .focus\:ring-blue-500):focus { --tw-ring-color: #b8860b; }
/* Navy marks are invisible on the navy sheet; they are ink. */
body.site-look #qualitative-app .text-brand-navy { color: var(--look-ink); }
/* The large icon on each approach and method card was decoration; the
   name says it. The tick on the chosen card sits on its corner. */
body.site-look #qualitative-app .flex.justify-center.mb-3:has(> i.w-10.h-10) { display: none; }
body.site-look #qualitative-app .absolute.-top-2.-right-2 { top: -0.5rem; right: -0.5rem; left: auto; }
/* Cards lie flat. */
body.site-look #qualitative-app :is(.hover\:shadow-md, .hover\:shadow-lg):hover { box-shadow: none; }
/* Its panels (upload, estimate, progress, after the analysis) are sheets,
   and its blue buttons Doksa gold. */
body.site-look #qualitative-app .card { background: var(--look-sheet); border: 1px solid var(--look-line); box-shadow: none; }
body.site-look #qualitative-app .btn-primary { background: #b8860b; color: #16120a; }
body.site-look #qualitative-app .btn-primary:hover { background: var(--look-gold-fill); transform: none; box-shadow: none; }
/* White on dark gold read at 3:1 and the hover turned bright yellow; the
   gold buttons take dark text, and a button that cannot be used yet is a
   quiet outline rather than faded gold. */
body.site-look #qualitative-app button.bg-brand-dark-gold { background-color: #b8860b; border-color: #b8860b; color: #16120a; }
body.site-look #qualitative-app button.bg-brand-dark-gold:hover:not(:disabled) { background-color: var(--look-gold-fill); }
body.site-look #qualitative-app button.bg-brand-dark-gold:disabled { background-color: var(--look-bg); border: 1px solid var(--look-line); color: var(--look-muted); opacity: 1; }

/* ---------- analysis and results pages (step 5, 10 Nov 2026) ---------- */

/* Pieces every results page shares (dashboard-shared.css): the answer at
   the top, the dossier card and its reminder, the gold button. They were
   ivory and yellow cards on navy, with a colour per kind of document;
   with the look they are sheets with a gold line, and every kind of
   document is Doksa gold. */
body.site-look .doksa-hero { background: var(--look-sheet); border: 1px solid var(--look-line); border-left: 3px solid var(--look-gold-line); box-shadow: none; }
body.site-look .doksa-hero--muted { border-left-color: var(--look-muted); }
body.site-look .doksa-hero--answer { border-left: 1px solid var(--look-line); }
body.site-look :is(.doksa-hero__heading, .doksa-hero__subheading, .doksa-hero__text) { color: var(--look-ink); }
body.site-look .doksa-hero__note { color: var(--look-text); }
body.site-look .doksa-hero__plate { display: none; }
body.site-look .doksa-hero__tag { color: var(--look-gold); }
body.site-look .doksa-hero--muted .doksa-hero__tag { color: var(--look-muted); }
body.site-look :is(.doksa-hero__subject, .doksa-hero__copy, .doksa-hero__supporting-list li, .doksa-hero__competing, .doksa-hero__score strong) { color: var(--look-ink); }
body.site-look :is(.doksa-hero__subject-context, .doksa-hero__attribution, .doksa-hero__score-source,
  .doksa-hero__supporting-label, .doksa-hero__supporting-note, .doksa-hero__supporting-list li::before) { color: var(--look-muted); }
body.site-look .doksa-hero__score { background: transparent; color: var(--look-text); border-color: var(--look-line); }
/* Waiting is said in words; the dots no longer pulse. */
body.site-look .doksa-hero__pending-dots { display: none; }
body.site-look .doksa-hero__competing { background: var(--look-bg); border-left-color: var(--look-gold-rule); }
body.site-look .doksa-hero__competing i { color: var(--look-gold); }
html:not(.dark) body.site-look .doksa-hero__confidence { background: var(--look-bg); color: var(--look-text); border-color: var(--look-line); }
html:not(.dark) body.site-look .doksa-hero__confidence--high { background: #eef7f1; color: #166534; border-color: rgba(22, 101, 52, 0.22); }
html:not(.dark) body.site-look .doksa-hero__confidence--moderate { background: #fbf5e4; color: #7a5605; border-color: var(--look-gold-rule); }
html:not(.dark) body.site-look .doksa-hero__confidence--low { background: #fcf0f0; color: #991b1b; border-color: rgba(153, 27, 27, 0.22); }
html.dark body.site-look .doksa-hero__confidence--moderate { background: rgba(220, 174, 69, 0.14); color: var(--look-gold); border-color: var(--look-gold-rule); }

body.site-look .doksa-dossier { background: var(--look-sheet); border: 1px solid var(--look-line); border-top: 2px solid var(--look-gold-line); box-shadow: none; }
/* The yellow foil line, the grid fading into the card and the wax seal
   were decoration; the small sheet with its rows stays, since it shows the
   Excel file the card offers. It no longer tilts. */
body.site-look .doksa-dossier::before,
body.site-look .doksa-dossier::after,
body.site-look .doksa-dossier__seal { display: none; }
body.site-look .doksa-dossier__cover,
body.site-look .doksa-dossier:hover .doksa-dossier__cover { transform: none; transition: none; }
body.site-look .doksa-dossier__cover-page { background: var(--look-bg); border-color: var(--look-line); box-shadow: none; }
body.site-look .doksa-dossier__cover-cell { background: var(--look-line); }
body.site-look .doksa-dossier__cover-cell--header { background: var(--look-gold-rule); }
body.site-look :is(.doksa-dossier__tag, .doksa-dossier__breakdown-label) { color: var(--look-gold); }
body.site-look :is(.doksa-dossier__title, .doksa-dossier__lead strong) { color: var(--look-ink); }
body.site-look :is(.doksa-dossier__lead, .doksa-dossier__breakdown, .doksa-dossier__secondary) { color: var(--look-text); }
body.site-look .doksa-dossier__secondary:hover { color: var(--look-gold); }
body.site-look .doksa-dossier__number { font-family: var(--look-sans); font-weight: 600; font-feature-settings: normal; color: var(--look-ink); }
/* The reminder after a while on the page: a sheet that appears without
   sliding in. */
/* The gold button: Doksa gold, near-black words, no lift. The navy
   second button is an outline. */
body.site-look .action-button { background: #b8860b; color: #16120a; box-shadow: none; }
body.site-look .action-button:hover { background: var(--look-gold-fill); color: #16120a; transform: none; box-shadow: none; }
body.site-look .action-button.secondary { background: transparent; color: var(--look-ink); border: 1px solid var(--look-line); }
body.site-look .action-button.secondary:hover { background: transparent; color: var(--look-ink); border-color: var(--look-gold-rule); }

/* The public examples (public-example.css): the header and the list of
   sources were drawn for navy. */
body.site-look .example-cta { background: #b8860b; color: #16120a !important; }
body.site-look .example-cta:hover { background: var(--look-gold-fill); }
body.site-look .example-alt { color: var(--look-ink); }
body.site-look .example-alt:hover { color: var(--look-gold); }
body.site-look .example-intro { color: var(--look-text); }
body.site-look .example-intro a { color: var(--look-ink); }
body.site-look .example-intro a:hover { color: var(--look-gold); }
body.site-look .example-question { color: var(--look-ink); }
body.site-look .example-documents { background: var(--look-sheet); border-color: var(--look-line); color: var(--look-text); }
body.site-look .example-documents h2 { color: var(--look-ink); }
body.site-look .example-documents a:not(.example-cta) { color: var(--look-gold); }
body.site-look :is(.example-source, .publish-example) { color: var(--look-muted); }

/* Next steps under a finished analysis (_literature_next_steps.html,
   _next_steps.html). */
body.site-look .next-steps h2 { color: var(--look-ink); }
body.site-look .next-steps-intro { color: var(--look-text); }
body.site-look .next-step { background: var(--look-sheet); border-color: var(--look-line); }
body.site-look .next-step h3 { color: var(--look-ink); }
body.site-look .next-step p { color: var(--look-text); }
body.site-look .next-step .next-step-price { color: var(--look-gold); }
body.site-look .next-step .next-step-go { background: transparent; color: var(--look-gold); border: 1px solid var(--look-gold-line); }
body.site-look .next-step .next-step-go:hover { background: rgba(184, 134, 11, 0.08); }

/* Literature dashboard (visualization_dashboard.html; the public literature
   example is the same page). The charts read the look's colours from
   chart-theme.js (DoksaViz.useLook) and are drawn again when the theme
   changes; exports stay on a white sheet. */
body.site-look .chart-card { background: var(--look-sheet); border-color: var(--look-line); box-shadow: none; }
body.site-look .chart-card:hover { box-shadow: none; transform: none; border-color: var(--look-gold-rule); }
body.site-look .chart-card h3 { color: var(--look-ink); }
body.site-look :is(.chart-subtitle, .sankey-themes p, .viz-tile-detail, .viz-share-count, .viz-list-count) { color: var(--look-text); }
body.site-look :is(.viz-tile-label, .viz-tile-note, .viz-topic-note, .chart-error) { color: var(--look-muted); }
body.site-look :is(.viz-tile-value, .viz-share-name, .viz-list-name) { color: var(--look-ink); }
body.site-look :is(.viz-share-row, .viz-list-row) { border-bottom-color: var(--look-line); }
body.site-look :is(.viz-topic-table thead th, .viz-topic-table tbody th) { color: var(--look-ink); }
body.site-look :is(.viz-topic-table thead th:first-child, .viz-topic-table thead th span) { color: var(--look-muted); }
body.site-look .viz-topic-table tr.is-other th { color: var(--look-text); }
body.site-look .viz-topic-table td.is-empty { background: #f5f7fa; color: var(--look-muted); }
html.dark body.site-look .viz-topic-table td.is-empty { background: #172150; }
body.site-look .chart-card [data-expand-chart],
body.site-look .chart-card [data-export-chart] { color: var(--look-muted) !important; }
body.site-look .chart-card [data-expand-chart]:hover,
body.site-look .chart-card [data-export-chart]:hover { color: var(--look-ink) !important; }
body.site-look .skeleton { background: var(--look-line); animation: none; }
/* An empty card says so in words; its large icon goes. */
body.site-look .chart-card .chart-canvas .text-center > i.text-4xl,
body.site-look .chart-error > i { display: none; }
body.site-look .chart-error .retry-btn { color: var(--look-gold) !important; }
/* The figures: sheets with the words in ink. Their icons were decoration. */
body.site-look .finding-card { background: var(--look-sheet); border-color: var(--look-line); }
body.site-look .finding-card:hover { border-color: var(--look-gold-rule); }
body.site-look .relevance-change { color: var(--look-gold); }
body.site-look .finding-title { color: var(--look-ink); }
body.site-look .finding-detail { color: var(--look-text); }
body.site-look :is(.btn-export, a.btn-export) { background: #b8860b; color: #16120a; box-shadow: none; }
body.site-look .btn-export:hover { background: var(--look-gold-fill); box-shadow: none; }
body.site-look .btn-secondary { background: transparent; color: var(--look-ink); border-color: var(--look-line); }
body.site-look .btn-secondary:hover { background: transparent; border-color: var(--look-gold-rule); }
/* The gap analysis: a sheet with a gold line; headings and lines inside. */
body.site-look .doksa-gap-analysis { background: var(--look-sheet); border: 1px solid var(--look-line); border-top: 2px solid var(--look-gold-line); color: var(--look-text); box-shadow: none; }
body.site-look .doksa-gap-body__section-title { font-family: var(--look-sans); color: var(--look-ink); }
body.site-look .doksa-gap-analysis__title { font-family: var(--look-sans); color: var(--look-ink); }
body.site-look .doksa-gap-analysis__meta { color: var(--look-text); }
body.site-look .doksa-gap-analysis__pending-title { color: var(--look-ink); }
body.site-look .doksa-gap-analysis__pending-note { color: var(--look-text); }
body.site-look .doksa-gap-body__synthesis { color: var(--look-ink); }
body.site-look .doksa-gap-body__gap { border-top-color: var(--look-line); }
body.site-look .doksa-gap-body__gap-title { color: var(--look-ink); }
body.site-look :is(.doksa-gap-body__gap-desc, .doksa-gap-body__gap-meta, .doksa-gap-body__list li) { color: var(--look-text); }
body.site-look .doksa-gap-body__list li { border-bottom-color: var(--look-line); }
body.site-look .doksa-gap-body__list li::before { background: var(--look-gold-line); }
/* The papers behind a bar (drill-down) and the enlarged chart: sheets in
   both themes, the header without its charcoal gradient. */
body.site-look .drilldown-panel { background: var(--look-sheet); box-shadow: -8px 0 24px rgba(10, 18, 48, 0.18); }
body.site-look .drilldown-header { background: var(--look-sheet); border-bottom: 2px solid var(--look-gold-line); color: var(--look-ink); }
body.site-look .drilldown-header :is(.text-white\/80, #closeDrilldownBtn) { color: var(--look-muted); }
body.site-look .drilldown-header #closeDrilldownBtn:hover { color: var(--look-ink); }
body.site-look .drilldown-header .bg-white\/20 { background: var(--look-bg); border: 1px solid var(--look-line); color: var(--look-text); }
body.site-look .paper-card { background: var(--look-bg); border-left-color: var(--look-gold-line); }
body.site-look .paper-card:hover { transform: none; box-shadow: none; }
body.site-look :is(.drilldown-panel, #chart-modal) .text-gray-900 { color: var(--look-ink); }
body.site-look :is(.drilldown-panel, #chart-modal) :is(.text-gray-600, .text-gray-700) { color: var(--look-text); }
body.site-look :is(.drilldown-panel, #chart-modal) :is(.text-gray-400, .text-gray-500) { color: var(--look-muted); }
body.site-look .drilldown-panel .bg-blue-50 { background: var(--look-sheet); border-left-color: var(--look-gold-rule); }
body.site-look .drilldown-panel .text-blue-700 { color: var(--look-gold); }
body.site-look .loading-spinner { border-color: var(--look-line); border-top-color: var(--look-gold-line); }
body.site-look #chart-modal { background: rgba(10, 18, 48, 0.55); }
body.site-look #chart-modal > .relative { background: var(--look-sheet); border: 1px solid var(--look-line); box-shadow: 0 16px 40px rgba(10, 18, 48, 0.25); }
body.site-look #chart-modal .text-gray-800 { color: var(--look-ink); }

/* The analysis page while it runs and when it is done (job_detail_new_look
   .html, served while flag start_page_look is on; the old look is left as
   it is). Its jd-* classes were one set of colours for navy. */
body.site-look .jd :is(.jd-title, .jd-heading, .jd-step__title, .jd-done__line, .jd-progress-head span:last-child) { color: var(--look-ink); }
body.site-look .jd :is(.jd-text, .jd-note, .jd-progress-head span:first-child, .jd-table td, .jd-table td.jd-num) { color: var(--look-text); }
body.site-look .jd :is(.jd-small, .jd-table th) { color: var(--look-muted); }
body.site-look .jd .jd-panel { background: var(--look-sheet); border-color: var(--look-line); }
body.site-look .jd :is(.jd-section, .jd-table th, .jd-table td) { border-color: var(--look-line); }
body.site-look .jd .jd-note { background: var(--look-bg); border-color: var(--look-line); }
body.site-look .jd .jd-note:not(.jd-note--warning) { border-left-color: var(--look-line); }
body.site-look .jd .jd-note--warning { border-left-color: #dc2626; }
body.site-look .jd :is(.jd-note a, .jd-link) { color: var(--look-ink); }
body.site-look .jd :is(.jd-note a, .jd-link):hover { color: var(--look-gold); }
html:not(.dark) body.site-look .jd .jd-error { color: #b91c1c; }
body.site-look .jd .jd-icon-btn { border-color: var(--look-line); color: var(--look-muted); }
body.site-look .jd .jd-icon-btn:hover { color: #ffffff; background: #dc2626; border-color: #dc2626; }
body.site-look .jd .jd-track { background: var(--look-line); }
body.site-look .jd .jd-fill { background: var(--look-gold-line); }
body.site-look .jd .jd-step .spinner { color: var(--look-gold-line); }
body.site-look .jd .jd-btn--primary { background: #b8860b; color: #16120a; }
body.site-look .jd .jd-btn--primary:hover { background: var(--look-gold-fill); color: #16120a; }
body.site-look .jd .jd-btn--secondary { background: transparent; color: var(--look-ink); border: 1px solid var(--look-line); }
body.site-look .jd .jd-btn--secondary:hover { background: transparent; color: var(--look-ink); border-color: var(--look-gold-rule); }
html:not(.dark) body.site-look .jd .jd-btn--danger { color: #b91c1c; border-color: rgba(185, 28, 28, 0.55); }
body.site-look .jd :is(.jd-btn, .jd-icon-btn):focus-visible { outline-color: #b8860b; }

/* Codebook drafted from a literature analysis (literature_codebook.html). */
body.site-look .codebook-page .back-link { color: var(--look-muted); }
body.site-look .codebook-page .back-link:hover { color: var(--look-gold); }
body.site-look .codebook-page h1 { color: var(--look-ink); }
body.site-look :is(.codebook-analysis, .codebook-intro) { color: var(--look-text); }
body.site-look .codebook-panel { background: var(--look-sheet); border-color: var(--look-line); color: var(--look-text); }
body.site-look .codebook-panel :is(h2, label.field-label) { color: var(--look-ink); }
body.site-look :is(.codebook-panel p.note, .codebook-state, .codebook-table th, .codebook-table td.papers .own) { color: var(--look-muted); }
body.site-look .codebook-table td.papers { color: var(--look-text); }
body.site-look :is(.codebook-table th, .codebook-table td) { border-color: var(--look-line); }
html:not(.dark) body.site-look .codebook-panel .problem { color: #b91c1c; }
body.site-look .codebook-link-button { color: var(--look-gold); }
body.site-look .codebook-link-button.quiet { color: var(--look-muted); }
body.site-look .codebook-link-button:disabled { color: var(--look-muted); }
body.site-look .codebook-button { background: #b8860b; color: #16120a; }
body.site-look .codebook-button:hover { background: var(--look-gold-fill); color: #16120a; }
body.site-look .codebook-button:disabled { background: var(--look-bg); border: 1px solid var(--look-line); color: var(--look-muted); }
body.site-look :is(.codebook-field, .codebook-select) {
  --field-bg: var(--look-sheet);
  --field-text: var(--look-ink);
  --field-placeholder: var(--look-muted);
  --field-border: var(--look-line);
  border-color: var(--field-border);
}
body.site-look :is(.codebook-field, .codebook-select):focus { border-color: #b8860b; }

/* Results for the other document types (diverse/base.html and its four
   dashboards, dashboard-shared.css). Each kind had its own colour (teal,
   navy, purple); with the look every kind is Doksa gold, the dark figure
   cards are sheets, and the charts take the look's colours
   (diverse/base.html, doksaChartLook). */
body.site-look .diverse-dashboard:is(.doc-type-resume, .doc-type-business, .doc-type-news, .doc-type-legal) { border-left: 0; }
body.site-look .diverse-dashboard h1.text-brand-dark-gold { color: var(--look-ink); }
body.site-look .diverse-dashboard .animate-on-load { opacity: 1; animation: none; }
body.site-look .summary-card { background: var(--look-sheet); border: 1px solid var(--look-line); border-top: 2px solid var(--look-gold-line); color: var(--look-ink); box-shadow: none; }
body.site-look .summary-card:hover { transform: none; box-shadow: none; }
body.site-look .summary-card::before { display: none; }
body.site-look .summary-card-value { color: var(--look-ink); }
body.site-look .summary-card-label { color: var(--look-muted); }
body.site-look .summary-card :is(.text-white, .text-gray-100, .text-gray-200, .text-gray-300, .text-yellow-200) { color: var(--look-text); }
body.site-look :is(.dashboard-section, .dashboard-card, .chart-container, .chart-wrapper, .modal-panel) { background: var(--look-sheet); border: 1px solid var(--look-line); box-shadow: none; }
body.site-look :is(.dashboard-card, .chart-wrapper):hover { box-shadow: none; transform: none; }
body.site-look :is(.section-header, .dashboard-card-header, .modal-header, .modal-footer) { background: transparent; border-color: var(--look-line); }
body.site-look :is(.section-title, .dashboard-card-title, .chart-title, .modal-title) { color: var(--look-ink); }
/* The icon before each section's title was decoration. */
body.site-look :is(.section-title, .dashboard-card-title) > i:first-child { display: none; }
body.site-look .modal-body { background: transparent; color: var(--look-text); }
body.site-look :is(.modal-close, .toast-close) { color: var(--look-muted); }
body.site-look .data-table th { background: var(--look-bg); color: var(--look-ink); border-bottom: 1px solid var(--look-line); }
body.site-look .data-table td { color: var(--look-text); border-bottom-color: var(--look-line); }
body.site-look .data-table tr:hover { background: transparent; }
body.site-look .data-table tr:hover td { background: rgba(184, 134, 11, 0.05); }
body.site-look .item-list li { color: var(--look-text); border-bottom-color: var(--look-line); }
body.site-look .filters-container { background: var(--look-bg); }
body.site-look .filter-input {
  --field-bg: var(--look-sheet);
  --field-text: var(--look-ink);
  --field-placeholder: var(--look-muted);
  --field-border: var(--look-line);
  border-color: var(--field-border);
}
body.site-look .filter-input:focus { border-color: #b8860b; }
body.site-look .empty-state { color: var(--look-muted); }
body.site-look .empty-state i { display: none; }
/* Chips, score bars and ranks: Doksa gold for every kind; the score is a
   gold bar with its number, not green, amber and red. */
body.site-look .doksa-chip { --chip-fill-start: transparent; --chip-fill-end: transparent; --chip-ink: var(--look-ink); --chip-stroke: var(--look-gold-rule); --chip-count-ink: var(--look-gold); box-shadow: none; }
body.site-look .doksa-chip__count { background: transparent; }
body.site-look .doksa-score-bar { background: var(--look-line); }
body.site-look .doksa-score-bar__fill { background: var(--look-gold-line) !important; }
body.site-look .doksa-score-bar__score { color: var(--look-text); }
body.site-look .doksa-ranked-title { color: var(--look-ink); }
body.site-look .doksa-ranked-row:hover { background: rgba(184, 134, 11, 0.07); }
body.site-look .doksa-rank-badge { box-shadow: none; }
body.site-look .doksa-shortlist-banner { background: var(--look-sheet); border-color: var(--look-gold-rule); box-shadow: none; }
body.site-look :is(.doksa-shortlist-banner__label, .doksa-shortlist-banner__label strong) { color: var(--look-ink); }
body.site-look .doksa-shortlist-banner__label i { color: var(--look-gold); }
body.site-look .doksa-shortlist-banner__hint { color: var(--look-muted); }
/* Badges: the status words keep green and red, the rest are quiet. */
html:not(.dark) body.site-look :is(.badge, .badge-enhanced).badge-info { background: var(--look-bg); color: var(--look-ink); }
html:not(.dark) body.site-look :is(.badge, .badge-enhanced).badge-warning { background: #fbf5e4; color: #7a5605; }
html.dark body.site-look :is(.badge, .badge-enhanced).badge-info { background: rgba(238, 240, 245, 0.06); color: var(--look-ink); }
html.dark body.site-look :is(.badge, .badge-enhanced).badge-success { background: rgba(34, 197, 94, 0.12); color: #86efac; }
html.dark body.site-look :is(.badge, .badge-enhanced).badge-warning { background: rgba(220, 174, 69, 0.14); color: var(--look-gold); }
html.dark body.site-look :is(.badge, .badge-enhanced).badge-danger { background: rgba(239, 68, 68, 0.14); color: #fca5a5; }
/* Their accent words and icons in blue, indigo, purple, teal or amber are
   Doksa gold; links are gold. */
body.site-look .diverse-dashboard :is(.text-blue-500, .text-blue-600, .text-indigo-500, .text-purple-500, .text-purple-600,
  .text-emerald-500, .text-amber-500, .text-amber-600, .text-yellow-500) { color: var(--look-gold); }
body.site-look .diverse-dashboard :is(.hover\:text-blue-800, .hover\:text-amber-400):hover { color: var(--look-ink); }
body.site-look .diverse-dashboard :is(.border-blue-500, .border-blue-400, .border-purple-500, .border-green-500) { border-color: var(--look-gold-rule); }
body.site-look .diverse-dashboard :is(.bg-blue-50, .dark\:bg-blue-900\/20, .bg-amber-50, .dark\:bg-amber-900\/20) { background: var(--look-bg); }
body.site-look .diverse-dashboard :is(.text-blue-900, .dark\:text-blue-200, .text-amber-900, .dark\:text-amber-200) { color: var(--look-ink); }
body.site-look .diverse-dashboard :is(.text-amber-700, .dark\:text-amber-300) { color: var(--look-gold); }
body.site-look .diverse-dashboard :is(.border-amber-400, .dark\:border-amber-400, .dark\:border-amber-500) { border-color: var(--look-gold-rule); }
/* The panels written as white cards with a dark: grey twin: the dark
   theme's charcoal becomes the navy of the look. */
html.dark body.site-look .diverse-dashboard :is(.text-gray-900, .text-gray-800, .dark\:text-gray-100, .dark\:text-gray-200) { color: var(--look-ink); }
html.dark body.site-look .diverse-dashboard :is(.dark\:text-gray-300, .text-gray-700) { color: var(--look-text); }
html.dark body.site-look .diverse-dashboard :is(.dark\:text-gray-400, .text-gray-600) { color: var(--look-muted); }
html:not(.dark) body.site-look .diverse-dashboard :is(.text-gray-900, .text-gray-800) { color: var(--look-ink); }
html:not(.dark) body.site-look .diverse-dashboard :is(.text-gray-700, .text-gray-600) { color: var(--look-text); }
html:not(.dark) body.site-look .diverse-dashboard :is(.text-gray-500, .text-gray-400) { color: var(--look-muted); }
body.site-look .diverse-dashboard .bg-gray-50 { background: var(--look-bg); }
html.dark body.site-look .diverse-dashboard .dark\:border-gray-700 { border-color: var(--look-line); }
/* The round export button and the notices. */
body.site-look .fab-export { background: #b8860b; color: #16120a; box-shadow: none; }
body.site-look .fab-export:hover { background: var(--look-gold-fill); transform: none; }
body.site-look .toast { background: var(--look-sheet); border: 1px solid var(--look-line); box-shadow: 0 12px 32px rgba(10, 18, 48, 0.18); }
body.site-look .toast-title { color: var(--look-ink); }
body.site-look .toast-message { color: var(--look-text); }
/* A count is a quiet outlined number, not a green or blue pill. */
body.site-look .badge-enhanced { box-shadow: none; }
body.site-look .look-count { background: transparent !important; border: 1px solid var(--look-line); color: var(--look-text) !important; }
/* The CV detail window's three figures sit on tinted tiles set inline. */
body.site-look .look-stat { background: var(--look-bg) !important; border: 1px solid var(--look-line); }
/* Tags (skills, topics, people, clauses, KPIs, source tiers) are quiet
   outlined words; the sentiment and status words keep their colours. */
body.site-look .diverse-dashboard .badge:is(.badge-info, .badge-success):not(.badge-enhanced) { background: transparent; border: 1px solid var(--look-line); color: var(--look-ink); box-shadow: none; }
/* The icon before each heading was decoration. */
body.site-look .diverse-dashboard :is(h2, h3, h4, h5) > i.fas:first-child { display: none; }
/* Clear sits beside the filters as an outlined button. */
body.site-look .look-quiet-button { background: transparent !important; color: var(--look-ink); border: 1px solid var(--look-line); }
body.site-look .look-quiet-button:hover { background: transparent !important; color: var(--look-ink); border-color: var(--look-gold-rule); }

/* ---------- coding results (qualitative_results.html, step 5) ----------
   The page paints itself through its own settings (--doksa-*); inside the
   page the look sets them to its own, then puts each grey of the dark
   theme on the navy of the look. Text is ink, lines are gold #b8860b. */
body.site-look .results-page {
  --doksa-gold: var(--look-gold);
  --doksa-gold-light: var(--look-gold);
  --doksa-gold-bg: rgba(184, 134, 11, 0.07);
  --doksa-navy: var(--look-ink);
  --doksa-gray-light: var(--look-bg);
  --doksa-gray-medium: var(--look-muted);
  --doksa-gray-dark: var(--look-text);
}
body.site-look .results-header h1 { color: var(--look-ink); font-family: var(--look-sans); }
body.site-look .research-question { color: var(--look-ink); }
body.site-look .research-approach { color: var(--look-text); }
body.site-look .results-answer { background: var(--look-sheet); border-color: var(--look-line); }
body.site-look .results-answer-title { color: var(--look-gold); font-family: var(--look-sans); }
body.site-look .results-answer-text { color: var(--look-ink); }
body.site-look .back-link { color: var(--look-muted); }
body.site-look :is(.stat-card, .cycle-section, .export-menu, .card-modal,
  .dendrogram-section, .analysis-overview-section, .concept-card, .flow-stats-bar) {
  background: var(--look-sheet); border-color: var(--look-line); box-shadow: none;
}
body.site-look .stat-card:hover { border-color: var(--look-gold-rule); box-shadow: none; }
body.site-look :is(.stat-number, .flow-stat-number) { color: var(--look-ink); font-family: var(--look-sans); }
body.site-look :is(.category-evidence, .proposition-evidence, .flow-stat,
  .filter-bar, .overview-header, .dendrogram-header, .concept-explanations, .dendrogram-legend) {
  background: var(--look-bg); border-color: var(--look-line);
}
/* Codes and patterns are rows under a heading (slop check, 15 Nov 2026). */
body.site-look :is(.code-card, .pattern-card) { background: transparent; border-top-color: var(--look-line); }
body.site-look :is(.code-card, .pattern-card):hover { background: rgba(184, 134, 11, 0.06); }
body.site-look :is(.pattern-group-header, .code-pattern) { color: var(--look-ink); }
body.site-look .code-pattern { color: var(--look-muted); }
body.site-look :is(.search-box, .filter-select) {
  --field-bg: var(--look-sheet);
  --field-text: var(--look-ink);
  --field-placeholder: var(--look-muted);
  background: var(--look-sheet); border-color: var(--look-line);
}
body.site-look .sankey-section { background: var(--look-sheet); border-color: var(--look-line); }
body.site-look .sankey-hint { color: var(--look-muted); }
body.site-look :is(.sankey-legend, .proposition-body, .concept-explanations, .overview-header, .dendrogram-header) { border-color: var(--look-line); }
/* Titles and names in ink, explanations in the look's text colours. */
body.site-look :is(.cycle-header, .code-name, .pattern-group-name, .category-title, .proposition-title, .theory-name,
  .overview-title, .dendrogram-title, .concept-content h4, .card-modal-title, .summary-narrative strong, .standalone-note strong) {
  color: var(--look-ink);
}
body.site-look :is(.code-description, .category-explanation, .proposition-explanation, .rq-response-content p, .saturation-content p,
  .limitation-item, .summary-narrative, .convergence-content p, .disclaimer-text, .card-modal-section p, .flow-stat-label,
  .legend-item, .emergence-insight) {
  color: var(--look-text);
}
body.site-look :is(.code-evidence, .evidence-quote, .evidence-source, .integration-label, .integration-explanation, .standalone-note,
  .concept-content p, .overview-description, .flow-stat-cycle, .legend-title, .cycle-count, .pattern-group-count, .code-run-mark) {
  color: var(--look-muted);
}
body.site-look .pattern-group-count { background: transparent; }
body.site-look .code-run-mark { border-color: var(--look-line); }
body.site-look .cycle-header:hover { background: rgba(184, 134, 11, 0.05); }
body.site-look .cycle-section.is-open { border-color: var(--look-gold-rule); }
body.site-look .cycle-section.is-open .cycle-header { background: transparent; border-bottom-color: var(--look-line); }
/* The coloured squares before the cycle names and in the explanations, and
   the icon before the page title, were decoration. */
body.site-look :is(.cycle-icon, .concept-icon) { display: none; }
body.site-look .results-header h1 > i, body.site-look .results-header h1 > svg { display: none; }
body.site-look .pattern-name { color: var(--look-ink) !important; }
/* The interview and speaker beside a quote: quiet outlined labels. */
body.site-look :is(.doc-badge, .speaker-badge) { background: transparent !important; border: 1px solid var(--look-line); color: var(--look-text); }
/* Method names and tags: quiet, in gold text. */
body.site-look :is(.supporting-code-tag, .method-badge) { background: transparent; border: 1px solid var(--look-gold-rule); color: var(--look-gold); }
body.site-look .code-method { background: transparent; color: var(--look-muted); }
body.site-look .method-badge:is(.method-invivo, .method-descriptive, .method-process, .method-values) { background: transparent; border-color: var(--look-gold-rule); color: var(--look-gold); }
body.site-look .coding-method-badge { background: transparent; border: 1px solid var(--look-line); color: var(--look-ink); }
/* Third cycle: rows and headings, no edges or discs (slop check, 15 Nov 2026). */
body.site-look :is(.category-number, .proposition-number) { background: transparent; border: 0; color: var(--look-muted); }
body.site-look :is(.category-item, .proposition-item, .theory-section + .theory-section) { border-top-color: var(--look-line); }
body.site-look :is(.category-item, .proposition-item):hover { background: rgba(184, 134, 11, 0.06); }
body.site-look .evidence-quote::before { background: var(--look-gold-line); }
body.site-look .evidence-text { background: var(--look-bg); border-left-color: var(--look-gold-line); color: var(--look-text); }
body.site-look .evidence-text.literature-contra { border-left-color: #b91c1c; }
body.site-look .card-modal-section p.evidence-from { color: var(--look-muted); }
body.site-look .card-modal-section h4 { color: var(--look-gold); }
body.site-look .card-modal-section a.literature-all { color: var(--look-gold); }
body.site-look .card-modal-overlay { background: rgba(10, 18, 48, 0.55); }
body.site-look .card-modal { border: 1px solid var(--look-line); box-shadow: 0 16px 40px rgba(10, 18, 48, 0.25); }
body.site-look .card-modal-close:hover { background: var(--look-bg); color: var(--look-ink); }
/* The sections of the framework: one sheet each with a gold line, not
   green, blue, amber, red and indigo washes. */
body.site-look :is(.research-question-section, .saturation-section, .limitations-section, .metrics-section, .analysis-summary-section,
  .emergence-section, .convergence-section) {
  background: none;
}
body.site-look .disclaimer-section { background: var(--look-bg); }
body.site-look .limitation-item::before { background: var(--look-gold-line); }
body.site-look .integration-bar-container { background: var(--look-line); }
body.site-look .integration-bar { background: var(--look-gold-line); }
body.site-look .emergence-bar-fill.new-codes, body.site-look .legend-dot.new { background: var(--look-gold-line); }
body.site-look .emergence-bar-fill.reused-codes, body.site-look .legend-dot.reused { background: var(--look-gold-rule); }
body.site-look .emergence-bars { border-bottom-color: var(--look-line); }
body.site-look .emergence-insight { background: none; }
body.site-look .batching-info-banner { background: var(--look-bg); border-color: var(--look-line); color: var(--look-text); }
body.site-look .batching-text strong { color: var(--look-ink); }
body.site-look .standalone-note { background: none; }
/* The export button: one gold button, dark text. */
body.site-look .export-btn { background: #b8860b; color: #16120a; }
body.site-look .export-btn:hover { background: var(--look-gold-fill); color: #16120a; }
body.site-look .export-menu a { color: var(--look-text); }
body.site-look .export-menu a:hover { background: rgba(184, 134, 11, 0.08); }
/* Inline colours in the header carry these classes. */
body.site-look .look-pill { background: transparent !important; border: 1px solid var(--look-line); color: var(--look-ink) !important; }
body.site-look .look-key { background: var(--look-bg) !important; color: var(--look-ink) !important; }
body.site-look .look-panel { background: var(--look-bg) !important; color: var(--look-text) !important; }
body.site-look .results-header h1 > :is(i, svg) { display: none !important; }
/* Keep the text (_keep_text.html), under a finished study. */
body.site-look .keep-text { background: var(--look-sheet); border-color: var(--look-line); }
body.site-look .keep-text h2 { color: var(--look-ink); font-family: var(--look-sans); }
body.site-look .keep-text p { color: var(--look-text); }
body.site-look .keep-text .keep-text-note { color: var(--look-muted); }
body.site-look .keep-text a { color: var(--look-gold); }
body.site-look .keep-text button.keep-text-on { background: transparent; color: var(--look-gold); border: 1px solid var(--look-gold-line); }
body.site-look .keep-text button.keep-text-on:hover { background: rgba(184, 134, 11, 0.08); }
body.site-look .keep-text button.keep-text-off { background: transparent; border: 1px solid var(--look-line); color: var(--look-ink); }
body.site-look .keep-text button.keep-text-off:hover { background: transparent; border-color: var(--look-gold-rule); }
/* The public pages' buttons (slop check, 15 Nov 2026): the home page's
   button everywhere, one solid gold, no gradient, no glow, never faded.
   A second action next to it is outlined. */
body.site-look .look-primary {
  background: var(--look-gold-fill) !important; background-image: none !important;
  color: #16120a !important; border: 1px solid transparent; box-shadow: none !important;
  transform: none !important; opacity: 1 !important; text-shadow: none;
}
body.site-look .look-primary:hover:not(:disabled) { background: var(--look-gold-fill-hover) !important; }
body.site-look .look-secondary {
  background: transparent !important; background-image: none !important;
  color: var(--look-gold) !important; border: 1px solid var(--look-gold-rule) !important;
  box-shadow: none !important; transform: none !important; opacity: 1 !important;
}
body.site-look .look-secondary:hover:not(:disabled) { background: var(--look-gold-mark) !important; }

/* A gold button where the markup paints one green or blue. */
body.site-look .look-gold-button { background: #b8860b !important; color: #16120a !important; }
body.site-look .look-gold-button:hover { background: var(--look-gold-fill) !important; }
body.site-look .look-gold-button { box-shadow: none !important; transform: none !important; }

/* ---------- coding study in progress (qualitative_review.html) ---------- */
body.site-look #cycleProgressApp { font-family: var(--look-sans); }
/* One solid gold line and bar, no shimmer or pulse running by themselves;
   the Doksa spinner stays, it says the work goes on. */
body.site-look #cycleProgressApp .bg-gradient-to-r.from-brand-dark-gold { background: var(--look-gold-line) !important; }
body.site-look #cycleProgressApp .progress-bar-shimmer::after { display: none; }
body.site-look #cycleProgressApp .cycle-active-pulse { animation: none; }
body.site-look #cycleProgressApp .bg-brand-dark-gold { background-color: var(--look-gold-line); }
body.site-look #cycleProgressApp :is(.text-amber-600, .dark\:text-amber-500) { color: var(--look-gold); }
/* The notice: a sheet with a gold line, in ink. */
body.site-look #cycleProgressApp .bg-amber-50 { background: var(--look-sheet); border: 1px solid var(--look-line); border-left: 3px solid var(--look-gold-line); }
body.site-look #cycleProgressApp :is(.text-amber-800, .dark\:text-amber-200) { color: var(--look-ink); }
body.site-look #cycleProgressApp :is(.text-amber-700, .dark\:text-amber-300) { color: var(--look-text); }
body.site-look #cycleProgressApp :is(.bg-gray-200, .dark\:bg-gray-700):not(.toggle-switch) { background-color: var(--look-line); }
/* A step circle to come is the line colour laid on the sheet, so it is
   solid: see-through, it let the track show through it (12 Nov 2026). */
body.site-look #cycleProgressApp .cycle-node:is(.bg-gray-200, .dark\:bg-gray-700) {
  background-color: var(--look-sheet);
  background-image: linear-gradient(var(--look-line), var(--look-line));
}
body.site-look #cycleProgressApp .toggle-switch { background: var(--look-line); }
body.site-look #cycleProgressApp .toggle-switch.active { background: #b8860b; }
body.site-look #cycleProgressApp .toggle-switch::after { box-shadow: none; border: 1px solid var(--look-line); }
body.site-look #cycleProgressApp .bg-brand-dark-gold.text-white { color: #16120a; }

/* ---------- a coding study's own page (qualitative_job_detail.html) ---------- */
body.site-look #job-detail-app :is(h2, h3) > i.fas:first-child { display: none; }
body.site-look #job-detail-app :is(.border-blue-500, .border-purple-500, .border-green-500, .border-orange-500) { border-color: var(--look-gold-rule); }
body.site-look #job-detail-app :is(.text-blue-300, .text-blue-400) { color: var(--look-gold); }
body.site-look #job-detail-app :is(.bg-gray-50, .dark\:bg-gray-700) { background: var(--look-bg); }
body.site-look #job-detail-app .fa-file-pdf { color: var(--look-muted); }
body.site-look #job-detail-app .progress-modern-fill { background: var(--look-gold-line); }
body.site-look #job-detail-app .look-quiet-button:hover { color: #b91c1c; }
html.dark body.site-look #job-detail-app .look-quiet-button:hover { color: #fca5a5; }
body.site-look #job-detail-app .download-ready { animation: none; }
body.site-look #job-detail-app .modern-card { background: var(--look-sheet); border: 1px solid var(--look-line); box-shadow: none; margin-bottom: 1.5rem; }
html.dark body.site-look #job-detail-app .text-gray-700 { color: var(--look-muted); }
/* The spinner (base.html) turns in Doksa gold, never bright yellow. */
body.site-look .spinner-modern { background: conic-gradient(from 90deg at 50% 50%, transparent 0%, #b8860b 100%); }

/* ---------- compare groups (qualitative_compare.html) ---------- */
body.site-look .compare-page h1 { color: var(--look-ink); font-family: var(--look-sans); }
body.site-look .compare-page .back-link { color: var(--look-muted); }
body.site-look .compare-study { color: var(--look-ink); }
body.site-look .compare-intro { color: var(--look-text); }
body.site-look .compare-panel { background: var(--look-sheet); border-color: var(--look-line); color: var(--look-text); }
body.site-look .compare-panel h2 { color: var(--look-ink); }
body.site-look .compare-panel p.note { color: var(--look-muted); }
body.site-look .compare-choices :is(a, span) { border-color: var(--look-gold-rule); }
/* The chosen view is navy like the dashboard's chosen tab, so it does not
   read as the page's gold button (slop check, 15 Nov 2026). */
body.site-look .compare-choices a { color: var(--look-ink); border-color: var(--look-line); }
body.site-look .compare-choices a:hover { border-color: var(--look-gold-rule); background: transparent; }
body.site-look .compare-choices a.compare-edit { color: var(--look-gold); border-color: transparent; }
body.site-look .compare-choices span { background: var(--look-ink); border-color: var(--look-ink); color: var(--look-sheet); }
body.site-look :is(.compare-edit, .quotes-toggle, .details-form .actions a) { color: var(--look-gold); }
body.site-look :is(.compare-table, .details-form) :is(th, td) { border-color: var(--look-line); }
body.site-look :is(.compare-table thead th, .details-form th) { color: var(--look-muted); }
body.site-look .compare-table th.row-name { color: var(--look-ink); }
body.site-look .compare-table td.count span { color: var(--look-muted); }
/* the two darkest shades take the reading colour, so the small line stays legible */
body.site-look .compare-table td.count:is(.shade-3, .shade-4) span { color: var(--look-text); }
body.site-look .compare-table tr.quotes-row td { background: var(--look-bg); }
body.site-look .compare-table tr.quotes-row blockquote { border-left-color: var(--look-gold-line); }
body.site-look .compare-table tr.quotes-row cite { color: var(--look-muted); }
html.dark body.site-look .compare-table td.shade-1 { background: rgba(220, 174, 69, 0.07); }
html.dark body.site-look .compare-table td.shade-2 { background: rgba(220, 174, 69, 0.14); }
html.dark body.site-look .compare-table td.shade-3 { background: rgba(220, 174, 69, 0.22); }
html.dark body.site-look .compare-table td.shade-4 { background: rgba(220, 174, 69, 0.32); }
body.site-look .details-form input {
  --field-bg: var(--look-sheet);
  --field-text: var(--look-ink);
  --field-placeholder: var(--look-muted);
  --field-border: var(--look-line);
  border-color: var(--field-border);
}
body.site-look .details-form button { background: #b8860b; color: #16120a; }
body.site-look .details-form button:hover { background: var(--look-gold-fill); }

/* ---------- patterns checked against the papers (qualitative_literature_check.html) ---------- */
body.site-look .lc-back { color: var(--look-muted); }
body.site-look .lc-back:hover { color: var(--look-gold); }
body.site-look .lc-title { color: var(--look-ink); font-family: var(--look-sans); }
body.site-look .lc-study { color: var(--look-muted); }
body.site-look .lc-intro { color: var(--look-text); }
html:not(.dark) body.site-look .lc > .lc-problem { color: #b91c1c; }
body.site-look .lc-sheet {
  --ink: var(--look-ink); --text: var(--look-text); --muted: var(--look-muted); --faint: var(--look-muted); --rule: var(--look-line);
  --gold: var(--look-gold-line); --gold-ink: var(--look-gold); --btn-border: var(--look-line);
  background: var(--look-sheet); border-color: var(--look-line); box-shadow: none;
}
body.site-look .lc-btn--primary { color: #16120a; }
body.site-look .lc-btn--primary:hover { background: var(--look-gold-fill); border-color: var(--look-gold-fill); color: #16120a; }
