/* ScourJet hosted edition (scourjet.com, "ScourJet by Ujeebu"): the Ujeebu theme layer.
   Loaded only when the edition is hosted (app/Config/hosted.json), after sj.css, and scoped to
   html[data-edition="hosted"], so the self-hosted edition keeps its neutral look untouched.
   Tokens from the Ujeebu brand guidelines v1, section 7 (source: the site's ujeebu-v3.css).
   Accent is rationed: .btn.primary (one per view) and the focus ring only. The ScourJet
   wordmark stays as it is; "by Ujeebu" uses a placeholder mark until the logo files arrive. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/geist-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html[data-edition="hosted"] {
  /* Ujeebu palette */
  --uj-ink: #0B0F19;
  --uj-ink2: #1F2937;
  --uj-muted: #6B7280;
  --uj-line: #E5E7EB;
  --uj-line2: #F3F4F6;
  --uj-paper: #FAFAF7;
  --uj-surface: #FFFFFF;
  --uj-accent: #C2410C;
  --uj-accent2: #9A3412;
  --uj-accent-soft: #FFF4ED;
  --uj-accent-ink: #9A3412;
  --uj-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --uj-mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  --uj-r-sm: 8px;
  --uj-r-md: 10px;
  --uj-r-lg: 14px;
  --uj-r-xl: 16px;
  --uj-shadow-card: 0 1px 2px rgba(15, 23, 42, .04);
  --uj-shadow-pop: 0 12px 40px rgba(15, 23, 42, .10), 0 2px 8px rgba(15, 23, 42, .06);

  /* sj.css tokens, re-pointed */
  --page: var(--uj-paper);
  --paper: var(--uj-surface);
  --ink: var(--uj-ink);
  --ink-2: var(--uj-ink2);
  --grey: var(--uj-muted);
  --grey-ink: #4B5563;   /* quiet text that still reads on a tint (7:1 on white) */
  --grey-2: var(--uj-line);
  --grey-3: var(--uj-line2);
  --grid: var(--uj-line);
  --hdr: #F9FAFB;
  --font: var(--uj-sans);
  --b: 1px solid var(--uj-line);
  --lip: var(--uj-shadow-card);
  --lip-s: var(--uj-shadow-card);
  --r: var(--uj-r-xl);
}

/* Type */
/* Inter's tabular figures also widen the hyphen ("6 - digit"), so they apply to numbers only, not body text. */
html[data-edition="hosted"] body { font-family: var(--uj-sans); font-variant-numeric: normal; letter-spacing: -.005em; }
html[data-edition="hosted"] :is(.n, .grid td, .grid th, .acct-num, .big-num, .acct-by, .acct-inv td, .limit) { font-variant-numeric: tabular-nums; }
/* Geist Mono for numbers that line up in tables and for codes; display numbers stay Inter with tabular figures. */
html[data-edition="hosted"] .mono { font-family: var(--uj-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
/* Details, Log: the engine's lines are codes, in Geist Mono. */
html[data-edition="hosted"] .log { font-family: var(--uj-mono); font-size: 11.5px; letter-spacing: 0; border-radius: var(--uj-r-md); border-color: var(--uj-line); }
html[data-edition="hosted"] .log .ljson { border-radius: var(--uj-r-sm); border-color: var(--uj-line); }
html[data-edition="hosted"] :is(.big-num, .acct-num) .mono,
html[data-edition="hosted"] .credits,
html[data-edition="hosted"] .acct-bal { font-family: var(--uj-sans); font-variant-numeric: tabular-nums; }
html[data-edition="hosted"] h1, html[data-edition="hosted"] h2, html[data-edition="hosted"] h3 { letter-spacing: -.02em; }

/* Focus: the accent ring on buttons, links and other controls. Text fields show no ring at all
   (operator, Nov 16): a bordered field's border turns ink, and a borderless field inside a box
   (the New search card, the row and credit limits, the column tags) relies on its text caret, so
   the box itself does not change. */
html[data-edition="hosted"] :is(button, input, textarea, select, a, [tabindex]):focus-visible { outline: 2px solid var(--uj-accent); outline-offset: 2px; }
html[data-edition="hosted"] :is(textarea, select, input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="submit"], [type="button"], [type="reset"], [type="color"], [type="image"])):is(:focus, :focus-visible) { outline: none; box-shadow: none; border-color: var(--uj-ink); }
html[data-edition="hosted"] :is(.composer textarea, .limit input, .tags-input, .pal input):is(:focus, :focus-visible) { outline: none; box-shadow: none; }
html[data-edition="hosted"] :is(.composer, .pal, .tags-box, .limit):focus-within { outline: none; box-shadow: none; }

/* Buttons: ink by default, outline for ghost, accent for the one primary action */
html[data-edition="hosted"] .btn { border: 1px solid var(--uj-ink); border-radius: var(--uj-r-md); font-weight: 600; }
html[data-edition="hosted"] .btn:hover { background: var(--uj-ink2); }
html[data-edition="hosted"] .btn.ghost { border-color: var(--uj-line); background: var(--uj-surface); color: var(--uj-ink); }
html[data-edition="hosted"] .btn.ghost:hover { border-color: var(--uj-muted); background: var(--uj-surface); }
html[data-edition="hosted"] .btn.primary { background: var(--uj-accent); border-color: var(--uj-accent); color: #fff; }
html[data-edition="hosted"] .btn.primary:hover { background: var(--uj-accent2); border-color: var(--uj-accent2); }
/* A destructive confirm (Delete, Start over): red, white text 4.8:1 */
html[data-edition="hosted"] .btn.danger { background: #DC2626; border-color: #DC2626; color: #fff; }
html[data-edition="hosted"] .btn.danger:hover { background: #B91C1C; border-color: #B91C1C; }
html[data-edition="hosted"] .btn.wide { width: 100%; justify-content: center; padding-top: 11px; padding-bottom: 11px; }
html[data-edition="hosted"] .outline { border: 1px solid var(--uj-line); border-radius: var(--uj-r-md); background: var(--uj-surface); }
html[data-edition="hosted"] .circ { border: 1px solid var(--uj-line); background: var(--uj-surface); }

/* Surfaces: hairline borders, soft shadows, no lip */
html[data-edition="hosted"] :is(.card, .wb, .sheet, .pal, .idea, .strip) { border: 1px solid var(--uj-line); }
html[data-edition="hosted"] :is(.menu, .sheet, .pal, .modal) { box-shadow: var(--uj-shadow-pop); border: 1px solid var(--uj-line); border-radius: var(--uj-r-lg); }
html[data-edition="hosted"] .idea:hover { transform: none; box-shadow: var(--uj-shadow-pop); }
/* Home: the New search box is the hero, raised on a soft long shadow; the headline in Inter 600. */
html[data-edition="hosted"] .home .composer { box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 28px 64px -28px rgba(15, 23, 42, .22); }
html[data-edition="hosted"] .home .hero h1 { font-weight: 600; }
html[data-edition="hosted"] .home .idea:hover { background: var(--uj-surface); }
html[data-edition="hosted"] .strip { border-radius: var(--uj-r-lg); background: var(--uj-accent-soft); color: var(--uj-ink); border-color: #FED7AA; box-shadow: none; }
html[data-edition="hosted"] .strip.done, html[data-edition="hosted"] .strip.stop { background: var(--uj-surface); border-color: var(--uj-line); }
html[data-edition="hosted"] .field input, html[data-edition="hosted"] .field textarea, html[data-edition="hosted"] .field select { border-radius: var(--uj-r-sm); border-color: var(--uj-line); }
html[data-edition="hosted"] .field [aria-invalid="true"] { border-color: #DC2626; border-width: 1px; }

/* Top bar: hairline under it, the lockup */
html[data-edition="hosted"] .top { background: var(--uj-surface); border-bottom: 1px solid var(--uj-line); padding-top: 12px; padding-bottom: 12px; }
html[data-edition="hosted"] .by-uj.lockup { gap: 6px; margin-left: 4px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--uj-muted); }
/* Ujeebu's own logo (img/ujeebu-logo.png) in the lockup; its mark alone (img/ujeebu-mark.png, used as a mask so it takes the text colour) inside buttons. */
html[data-edition="hosted"] .by-uj.lockup .uj-logo { display: block; height: 14px; width: auto; opacity: .78; }
html[data-edition="hosted"] .uj-mark { display: inline-block; width: 15px; height: 15px; flex: none; background: currentColor; -webkit-mask: url(../img/ujeebu-mark.png) center / contain no-repeat; mask: url(../img/ujeebu-mark.png) center / contain no-repeat; }
html[data-edition="hosted"] .btn .uj-mark { width: 17px; height: 17px; }

/* Account menu */
html[data-edition="hosted"] .acct-id { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 6px; }
html[data-edition="hosted"] .acct-id b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-edition="hosted"] .acct-bal { font-size: 12.5px; color: var(--uj-muted); }
html[data-edition="hosted"] .menu-btn { color: var(--uj-ink); }
html[data-edition="hosted"] .verify-bar { margin: 0; border-radius: 0; border-left: 0; border-right: 0; justify-content: center; }

/* Focused pages: sign-in, sign-up, verify, waitlist, onboarding */
html[data-edition="hosted"] body.auth { min-height: 100vh; display: flex; flex-direction: column; background: var(--uj-paper); }
.auth-top { display: flex; align-items: center; gap: 28px; padding: 22px 28px; }
.auth-main { flex: 1; display: flex; justify-content: center; align-items: flex-start; padding: 4vh 16px 48px; }
.auth-card { width: 100%; max-width: 440px; background: var(--uj-surface); border: 1px solid var(--uj-line); border-radius: var(--uj-r-xl); box-shadow: var(--uj-shadow-card); padding: 32px 32px 26px; display: flex; flex-direction: column; gap: 14px; }
.auth-card h1 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 600; color: var(--uj-ink); }
.auth-card .lead { margin: 0; color: var(--uj-ink2); font-size: 15px; line-height: 1.55; }
.auth-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.auth-form .field > span:first-child { font-size: 13px; color: var(--uj-ink2); }
.auth-form .field input { font-size: 15px; padding: 10px 12px; }
.auth-card .or { display: flex; align-items: center; gap: 12px; margin: 2px 0; color: var(--uj-muted); font-size: 12.5px; }
.auth-card .or::before, .auth-card .or::after { content: ""; flex: 1; border-top: 1px solid var(--uj-line); }
.auth-card .alt { margin: 4px 0 0; font-size: 13.5px; color: var(--uj-ink2); }
.auth-card a:not(.btn) { color: var(--uj-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--uj-muted); }
.auth-card a:not(.btn):hover { text-decoration-color: currentColor; }
.textbtn.link { display: inline; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.consents { border: 0; padding: 0; margin: 2px 0 0; display: flex; flex-direction: column; gap: 8px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--uj-ink2); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--uj-ink); }
.disclose { margin: 4px 0 0; padding: 12px 14px; border-radius: var(--uj-r-md); background: var(--uj-line2); color: var(--uj-ink2); font-size: 13px; line-height: 1.55; }
.dev-note { margin: 0; padding: 8px 12px; border-radius: var(--uj-r-sm); border: 1px dashed var(--uj-muted); color: var(--uj-ink2); font-size: 12.5px; }
.dev-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dev-actions form { margin: 0; }
.auth-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; padding: 18px 16px 26px; color: var(--uj-muted); font-size: 12.5px; }
.auth-foot a { color: var(--uj-muted); text-underline-offset: 3px; }
/* Help (/help): the sign-in pages' card, centred in the app's shell too */
.help-card p { margin: 0; }
.view.help-page { align-items: center; padding-top: 4vh; }
/* Legal pages (/terms, /privacy, /cookies, /imprint) and the usage policy (/policy): one card at a reading width, a small date line, a
   short contents list on long pages, an anchor that shows on a heading's hover; on a phone a table's rows stack into blocks,
   each headed by its first cell, the others labelled by their column */
.view.legal { align-items: center; }
.legal-text { width: 100%; max-width: 780px; padding: 36px 44px 40px; color: var(--uj-ink2); font-size: 15px; line-height: 1.65; }
.legal-text h1 { margin: 0 0 24px; font-size: 30px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; color: var(--uj-ink); }
.legal-text h2 { margin: 34px 0 10px; font-size: 19px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; color: var(--uj-ink); scroll-margin-top: 16px; }
.legal-text h3 { margin: 24px 0 8px; font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--uj-ink); scroll-margin-top: 16px; }
.legal-text p, .legal-text ul, .legal-text ol { margin: 0 0 12px; }
.legal-text ul, .legal-text ol { padding-left: 22px; }
.legal-text li + li { margin-top: 5px; }
.legal-text strong { color: var(--uj-ink); font-weight: 600; }
.legal-text code { font: 13px/1.4 var(--uj-mono); padding: 1px 5px; border-radius: 5px; background: var(--uj-line2); color: var(--uj-ink); overflow-wrap: anywhere; }
.legal-text a:not(.legal-anchor) { color: var(--uj-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--uj-muted); }
.legal-text a:not(.legal-anchor):hover { text-decoration-color: currentColor; }
.legal-text hr { margin: 28px 0; border: 0; border-top: 1px solid var(--uj-line); }
.legal-text .legal-updated { margin: -18px 0 26px; font-size: 13px; color: var(--uj-muted); }
.legal-anchor { margin-left: 4px; color: var(--uj-muted); font-weight: 400; text-decoration: none; opacity: 0; transition: opacity .12s; }
.legal-text :is(h2, h3):hover .legal-anchor { opacity: 1; }
.legal-toc { margin: 0 0 28px; padding: 14px 18px 12px; border: 1px solid var(--uj-line); border-radius: var(--uj-r-md); background: var(--uj-paper); font-size: 13.5px; line-height: 1.45; }
.legal-text .legal-toc-title { margin: 0 0 6px; font-size: 12px; font-weight: 600; color: var(--uj-muted); }
.legal-text .legal-toc ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.legal-text .legal-toc li { margin: 0; padding: 3px 0; break-inside: avoid; }
.legal-toc a:not(.legal-anchor) { text-decoration: none; }
.legal-toc a:not(.legal-anchor):hover { text-decoration: underline; }
.legal-table { margin: 4px 0 16px; overflow-x: auto; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.legal-table th, .legal-table td { padding: 9px 12px 9px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--uj-line); }
.legal-table thead th { font-size: 12.5px; font-weight: 600; color: var(--uj-muted); border-bottom-color: var(--uj-ink); }
@media (max-width: 640px) {
  .legal-text { padding: 26px 20px 28px; font-size: 14.5px; }
  .legal-text h1 { font-size: 26px; }
  .legal-text h2 { font-size: 17.5px; margin-top: 28px; }
  .legal-text .legal-toc ul { columns: 1; }
  .legal-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .legal-table table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { padding: 10px 0; border-bottom: 1px solid var(--uj-line); }
  .legal-table td { padding: 0; border: 0; }
  .legal-table td + td { margin-top: 6px; }
  .legal-table td + td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--uj-muted); }
  .legal-table td:first-child { font-weight: 600; color: var(--uj-ink); }   /* the row's name heads its block */
  .legal-table td:empty { display: none; }
  .legal-text .legal-toc li { padding: 2px 0; }
}

/* Onboarding steps: a real sequence, so it is numbered */
.steps { display: flex; align-items: center; gap: 12px; }
.steps-bar { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; flex: 1; }
.steps-bar li { flex: 1; height: 3px; border-radius: 2px; background: var(--uj-line); }
.steps-bar li.on { background: var(--uj-ink); }
.steps-n { font-size: 12px; color: var(--uj-muted); white-space: nowrap; }
.three { margin: 4px 0; padding: 0; list-style: none; counter-reset: three; display: flex; flex-direction: column; gap: 12px; }
.three li { counter-increment: three; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--uj-ink); }
.three li::before { content: counter(three); font: 500 13px/1.9 var(--uj-mono); color: var(--uj-muted); }
.big-num { margin: 2px 0 0; display: flex; align-items: baseline; gap: 10px; font-size: 16px; color: var(--uj-ink2); }
.big-num .mono { font-size: 54px; line-height: 1; font-weight: 500; letter-spacing: -.03em; color: var(--uj-ink); }
.first-search { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.first-search textarea { width: 100%; border: 1px solid var(--uj-line); border-radius: var(--uj-r-md); padding: 12px 14px; font-size: 16px; line-height: 1.45; resize: vertical; background: var(--uj-surface); }
.examples { display: flex; flex-direction: column; gap: 8px; }
.example { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 12px; text-align: left; border: 1px solid var(--uj-line); border-radius: var(--uj-r-md); background: var(--uj-surface); }
.example:hover { border-color: var(--uj-muted); }
.example b { font-weight: 600; font-size: 14px; }
.example small { color: var(--uj-muted); font-size: 12.5px; }
.prompt-quote { margin: 0; padding: 12px 14px; border-left: 3px solid var(--uj-ink); background: var(--uj-line2); border-radius: 0 var(--uj-r-sm) var(--uj-r-sm) 0; font-size: 15px; }
.step-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 0; }
.step-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--uj-line); font-size: 13px; }
.step-foot form { margin: 0; }
.step-foot .textbtn { color: var(--uj-muted); font-weight: 500; }

/* Billing and usage */
.acct { gap: 16px; }
.acct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }   /* balance, top up, this month: one row */
@media (max-width: 1100px) { .acct-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acct-card { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.acct-card h3 { margin: 0; font-size: 14px; font-weight: 600; color: var(--uj-ink2); }
.acct-num { margin: 0; display: flex; align-items: baseline; gap: 8px; color: var(--uj-ink2); }
.acct-num .mono { font-size: 34px; font-weight: 500; color: var(--uj-ink); letter-spacing: -.02em; }
.acct-act { margin: 6px 0 0; }
.acct-by { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.acct-by li { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px solid var(--uj-line2); }
.acct-inv { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.acct-inv th { text-align: left; font-weight: 600; color: var(--uj-muted); font-size: 12.5px; padding: 6px 8px; border-bottom: 1px solid var(--uj-line); }
.acct-inv td { padding: 9px 8px; border-bottom: 1px solid var(--uj-line2); }
.acct-inv .r { text-align: right; }

/* API keys: the form, the new key shown once, the list (a table that stacks into one card per key on a phone) */
.keyform { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.keyform .fset label { align-items: flex-start; }
.keyform .fset label > span { display: flex; flex-direction: column; gap: 1px; }
.keyform .fset .hint { font-size: 12.5px; }
.keyform .field .hint { margin-top: 2px; }
.keyform .keyexp { max-width: 200px; }
.keyamounts { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.keyacts { display: flex; gap: 10px; flex-wrap: wrap; }
.keynew { max-width: 760px; }
.keyshow { display: flex; gap: 8px; align-items: stretch; }
.keyshow input { flex: 1; min-width: 0; font-family: var(--uj-mono); font-size: 13.5px; padding: 9px 12px; border: 1px solid var(--uj-line); border-radius: var(--uj-r-sm); background: var(--uj-line2); color: var(--uj-ink); }
.keylist th[scope="row"] { font-weight: 600; font-size: 13.5px; color: var(--uj-ink); text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--uj-line2); }
.keylist td.mono { font-family: var(--uj-mono); font-size: 12.5px; white-space: nowrap; }
.keylist td small.hint { display: block; }
.keylist tr.off :is(th, td) { color: var(--uj-muted); }
.keyrowacts { text-align: right; white-space: nowrap; }
.keyrowacts form { display: inline-block; margin: 0 0 0 6px; }
.keys .acct-card > .hint:last-child { margin-top: 4px; }

@media (max-width: 820px) {
  .acct-grid { grid-template-columns: 1fr; }
  .keylist thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .keylist, .keylist tbody, .keylist tr, .keylist th[scope="row"], .keylist td { display: block; width: 100%; }
  .keylist tr { padding: 10px 0; border-bottom: 1px solid var(--uj-line); }
  .keylist th[scope="row"] { padding: 0 0 6px; border: 0; font-size: 14.5px; }
  .keylist td { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border: 0; text-align: right; }
  .keylist td::before { content: attr(data-label); color: var(--uj-muted); font: 400 12.5px var(--uj-sans); text-align: left; flex: none; }
  .keylist td > span { display: flex; flex-direction: column; align-items: flex-end; }
  .keylist td.keyrowacts { justify-content: flex-start; gap: 8px; padding-top: 8px; }
  .keylist td.keyrowacts::before { content: none; }
  .keyrowacts form { margin: 0; }
  .keyshow { flex-direction: column; }
  .keyshow input { font-size: 12px; padding: 9px 8px; }   /* the whole key in view on a phone */
}
@media (max-width: 480px) {
  .auth-top { padding: 16px; }
  .auth-card { padding: 24px 18px 20px; }
  .big-num .mono { font-size: 44px; }
}

/* Verification code: six digits, wide spacing */
.auth-form .field input.code-input { font-size: 24px; letter-spacing: .35em; padding: 10px 14px; text-align: center; }
.acct-act { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.acct-act .field { width: 100%; max-width: 280px; }

/* The public pages' shell (hosted: the home page, /about, /why-scourjet, /agents; Layouts/landing.lyt.php). The home
   page's design (2026-11-28, "one sentence in"): ink is navy, the paper warm white, and three marks read a request the same
   way everywhere: blue for what to find, green for what every row is checked against, a dotted line for a column (the
   home page's own styles: landing.css). Orange stays the one action colour. Buttons are pills; the header stays at the
   top, its links folding into a menu below 961 px. */
html[data-edition="hosted"] body.lp {
  --lb-paper: #FAFAF7; --lb-surface: #FFFFFF; --lb-navy: #141B2B; --lb-ink2: #2B3447; --lb-muted: #5D6577; --lb-faint: #868E9C;
  --lb-line: #E3E5EA; --lb-line2: #EFF0F2; --lb-mist: #E9EFF7; --lb-find: #C9D8EC; --lb-find-ink: #2F4F7A; --lb-sage: #E4EFE7;
  --lb-check: #C6E0CD; --lb-check-ink: #1F5634; --lb-wrap: 1344px; --lb-gut: 32px;
  background: var(--lb-paper); color: var(--lb-navy); min-height: 100vh; display: flex; flex-direction: column;
}
.lp-top { position: sticky; top: 0; z-index: 30; background: rgba(250, 250, 247, .92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); }
.lp-top-in { display: flex; align-items: center; gap: 28px; height: 72px; max-width: var(--lb-wrap); margin: 0 auto; padding: 0 var(--lb-gut); }
.lp-top .logo { flex: none; color: var(--lb-navy); }
.lp-nav { display: flex; gap: 2px; margin: 0 auto; }
.lp-nav a { padding: 8px 12px; border-radius: 99px; font-size: 14.5px; font-weight: 500; color: var(--lb-ink2); text-decoration: none; white-space: nowrap; }
.lp-nav a:hover { background: var(--lb-mist); color: var(--lb-navy); }
.lp-nav a[aria-current="page"] { color: var(--lb-navy); font-weight: 600; }
.lp-act { display: flex; align-items: center; gap: 6px; flex: none; }
.lp-signin { padding: 8px 12px; border-radius: 99px; font-size: 14.5px; font-weight: 500; color: var(--lb-navy); text-decoration: none; white-space: nowrap; }
.lp-signin:hover { background: var(--lb-mist); }
html[data-edition="hosted"] .lp-act .lp-top-go { margin-left: 6px; }
/* The menu on a narrow screen: a native <details> (lp-menu.js closes it on Escape and on a click beside it). */
.lp-menu { display: none; position: relative; }
.lp-menu-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 99px; border: 1px solid var(--lb-line); background: var(--lb-surface); color: var(--lb-navy); cursor: pointer; list-style: none; }
.lp-menu-btn::-webkit-details-marker { display: none; }
.lp-menu-btn:hover, .lp-menu[open] > .lp-menu-btn { border-color: var(--lb-faint); }
.lp-menu-btn svg { width: 18px; height: 18px; }
.lp-menu-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; display: flex; flex-direction: column; min-width: 244px; padding: 8px; background: var(--lb-surface); border: 1px solid var(--lb-line); border-radius: 14px; box-shadow: 0 14px 40px rgba(20, 27, 43, .14), 0 2px 8px rgba(20, 27, 43, .06); }
.lp-menu-pop a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 9px; font-size: 15.5px; font-weight: 500; color: var(--lb-ink2); text-decoration: none; }
.lp-menu-pop a:not(.btn):hover { background: var(--lb-mist); color: var(--lb-navy); }
.lp-menu-pop a[aria-current="page"] { color: var(--lb-navy); font-weight: 600; }
.lp-menu-pop hr { width: auto; margin: 6px 4px; border: 0; border-top: 1px solid var(--lb-line); }
html[data-edition="hosted"] .lp-menu-pop .btn { width: 100%; margin-top: 6px; }
/* Buttons on the public pages: pills, the action orange, the others outlined in ink. */
html[data-edition="hosted"] body.lp .btn { justify-content: center; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--lb-navy); border-radius: 999px; background: transparent; color: var(--lb-navy); font-size: 15px; line-height: 1; text-decoration: none; }
html[data-edition="hosted"] body.lp .btn:hover { background: var(--lb-navy); color: #fff; }
html[data-edition="hosted"] body.lp .btn.primary { background: var(--uj-accent); border-color: var(--uj-accent); color: #fff; }
html[data-edition="hosted"] body.lp .btn.primary:hover { background: var(--uj-accent2); border-color: var(--uj-accent2); }
html[data-edition="hosted"] body.lp .btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.lp-more { font-size: 14.5px; line-height: 1.6; color: var(--uj-ink2); }
.lp-more a { color: var(--uj-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--uj-muted); }
.lp-more a:hover { text-decoration-color: currentColor; }
.lp-main { flex: 1; width: 100%; max-width: var(--lb-wrap, 1344px); margin: 0 auto; padding: 28px var(--lb-gut, 32px) 56px; display: flex; flex-direction: column; gap: 64px; min-width: 0; }
.lp-main:focus { outline: none; }
.lp-main h2 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 600; letter-spacing: -.02em; }
.lp-main h3 { margin: 0; font-size: 16px; font-weight: 600; }
.lp-main p { margin: 0; }

.lp-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; padding-top: 12px; }
.lp-hero h1 { margin: 0; font-size: 56px; line-height: 1.02; letter-spacing: -.04em; font-weight: 500; text-wrap: balance; max-width: 17ch; }
.lp-side { display: flex; flex-direction: column; gap: 18px; padding-bottom: 6px; }
.lp-side > p:first-child { font-size: 15.5px; line-height: 1.55; color: var(--uj-ink2); max-width: 40ch; }
.lp-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-cta .btn { padding: 11px 18px; font-size: 14px; }
.lp-trial { font-size: 13px; color: var(--uj-muted); }

/* The worked example: the request, then the workbook's own grid */
.lp-example { margin: 0; background: var(--uj-surface); border: 1px solid var(--uj-line); border-radius: var(--uj-r-xl); box-shadow: var(--uj-shadow-card); overflow: hidden; min-width: 0; }
.lp-ex-head { padding: 20px 22px 14px; display: flex; flex-direction: column; gap: 4px; }
.lp-ex-label { font-size: 12.5px; color: var(--uj-muted); }
.lp-ex-req { font-size: 21px; line-height: 1.3; letter-spacing: -.015em; font-weight: 500; max-width: 60ch; }
.lp-ex-bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding: 0 22px 14px; font-size: 13px; color: var(--uj-ink2); }
.lp-ex-count b { font-size: 18px; font-weight: 600; color: var(--uj-ink); }
.lp-sheet { position: relative; overflow-x: auto; border-top: 1px solid var(--uj-line); }   /* relative: the screen-reader-only text inside stays in the scroll box */
.lp-sheet:focus-visible { outline: 2px solid var(--uj-accent); outline-offset: -2px; }
.lp-grid { table-layout: auto; min-width: 760px; }
.lp-grid thead th { position: static; }
.lp-grid td { cursor: default; height: 36px; }
.lp-grid td a { color: inherit; text-decoration: none; }
.lp-grid td a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-grid td.src { font-size: 12px; color: var(--uj-muted); font-variant-numeric: normal; }
.lp-grid td.mono { font-family: var(--uj-mono); font-size: 12.5px; }
.lp-grid tr.cut td.rh { font-size: 10.5px; }
/* The row numbers' column fits its "cut" label in any language (French "écartée", Spanish "descartada"). */
.lp-grid th.rh, .lp-grid td.rh { width: auto; min-width: 40px; }
.lp-grid tr.cut td.rh { padding: 0 6px; white-space: nowrap; }
.lp-why { padding: 10px 22px; font-size: 13px; line-height: 1.5; color: var(--uj-ink2); background: var(--uj-line2); border-top: 1px solid var(--uj-line); }
.lp-example figcaption { padding: 12px 22px 16px; font-size: 12.5px; line-height: 1.55; color: var(--uj-muted); border-top: 1px solid var(--uj-line); max-width: 110ch; }

/* How it works: a real sequence, so it is numbered */
.lp-how { display: flex; flex-direction: column; gap: 22px; }
.lp-steps { margin: 0; padding: 0; list-style: none; counter-reset: lp; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.lp-steps li { counter-increment: lp; display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid var(--uj-ink); }
.lp-steps li::before { content: counter(lp); font: 500 13px/1 var(--uj-mono); color: var(--uj-muted); }
.lp-steps p { font-size: 14.5px; line-height: 1.6; color: var(--uj-ink2); max-width: 46ch; }

.lp-acct { display: flex; flex-direction: column; gap: 18px; }

/* /agents: its prose, table, lists and the curl example in the hosted look; the example scrolls in its own box, so the
   page never does on a phone (review 5). */
.lp-doc p, .lp-doc li { font-size: 14.5px; line-height: 1.6; color: var(--uj-ink2); max-width: 72ch; }
.lp-doc ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.lp-doc a:not(.btn) { color: var(--uj-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--uj-muted); }
.lp-doc a:not(.btn):hover { text-decoration-color: currentColor; }
.lp-doc pre { margin: 0; max-width: 100%; overflow-x: auto; padding: 14px 16px; background: var(--uj-line2); border: 1px solid var(--uj-line);
  border-radius: var(--uj-r-xl, 12px); font: 12.5px/1.55 var(--uj-mono); color: var(--uj-ink); }
.lp-doc pre:focus-visible { outline: 2px solid var(--uj-accent); outline-offset: 2px; }
.lp-doc table { width: 100%; max-width: 980px; border-collapse: collapse; font-size: 14px; }
.lp-doc th, .lp-doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--uj-line); line-height: 1.55; }
.lp-doc thead th { font-size: 12.5px; font-weight: 600; color: var(--uj-muted); border-bottom: 1px solid var(--uj-ink); }
.lp-doc tbody th { font-weight: 600; color: var(--uj-ink); white-space: nowrap; }
.lp-doc td { color: var(--uj-ink2); }
@media (max-width: 640px) { .lp-doc th, .lp-doc td { padding: 8px 6px; } .lp-doc tbody th { white-space: normal; } }
.lp-acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; max-width: 980px; }
.lp-acct-grid p { font-size: 14.5px; line-height: 1.6; color: var(--uj-ink2); }

/* /why-scourjet, on the landing page's grid: the hero (a small label over the heading, the way in on the right), the
   comparison in a card the width of the page (the ScourJet column in ink, the chat column quieter; on a phone each line
   stacks into one block, its two answers labelled), then blocks with a hairline on top (two side by side, the uses three
   across with the examples as the sixth, the questions two across), and the way in again at the end. */
.why-lead { display: flex; flex-direction: column; gap: 14px; }
.why-kicker { font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--uj-muted); }
.why { gap: 24px; }
.why-head { display: flex; flex-direction: column; gap: 10px; }
.why p, .why li { font-size: 14.5px; line-height: 1.6; color: var(--uj-ink2); }
.why-head p { max-width: 72ch; }
.why ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.why a:not(.btn) { color: var(--uj-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--uj-muted); }
.why a:not(.btn):hover { text-decoration-color: currentColor; }
.why-card { background: var(--uj-surface); border: 1px solid var(--uj-line); border-radius: var(--uj-r-xl); box-shadow: var(--uj-shadow-card); overflow: hidden; }
.why-vs { width: 100%; border-collapse: collapse; font-size: 14.5px; table-layout: fixed; }
.why-vs th, .why-vs td { text-align: left; vertical-align: top; padding: 16px 22px; line-height: 1.55; border-top: 1px solid var(--uj-line); }
.why-vs thead th { border-top: 0; padding-top: 14px; padding-bottom: 12px; font-size: 12.5px; font-weight: 600; color: var(--uj-muted); background: var(--uj-line2); }
.why-vs thead th:first-child { width: 19%; }
.why-vs thead th:nth-child(2) { width: 36%; }
.why-vs thead th.why-us { color: var(--uj-ink); }
.why-vs tbody th { font-weight: 600; color: var(--uj-ink); }
.why-vs td { color: var(--uj-muted); }
.why-vs td.why-us { color: var(--uj-ink); }
.why-note { font-size: 13.5px; }
.why-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.why-cols > div, .why-grid > li, .why-faq > div { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid var(--uj-ink); min-width: 0; }
.why ul.why-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.why-grid > li > p { max-width: 46ch; }
.why-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.why-faq > div { border-top-color: var(--uj-line); }
.why-faq p { max-width: 68ch; }
.why-end { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; padding: 32px 0 0; border-top: 1px solid var(--uj-ink); }
.why-end > div:first-child { display: flex; flex-direction: column; gap: 10px; }
.why-end > div:first-child p { font-size: 15.5px; line-height: 1.55; color: var(--uj-ink2); }
@media (max-width: 960px) {
  .why ul.why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-faq, .why-cols, .why-end { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .why ul.why-grid { grid-template-columns: 1fr; }
  .why-vs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .why-vs, .why-vs tbody, .why-vs tr, .why-vs th, .why-vs td { display: block; width: 100%; }
  .why-vs tr { padding: 16px; border-top: 1px solid var(--uj-line); }
  .why-vs tbody tr:first-child { border-top: 0; }
  .why-vs th, .why-vs td { padding: 0; border: 0; }
  .why-vs tbody th { padding-bottom: 8px; }
  .why-vs td + td { margin-top: 10px; }
  .why-vs td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--uj-muted); }
}

/* The public pages' footer: who makes ScourJet, the legal and help links, the language switch. */
.lp-foot { border-top: 1.5px solid var(--lb-navy, #141B2B); }
.lp-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; max-width: var(--lb-wrap, 1344px); margin: 0 auto; padding: 24px var(--lb-gut, 32px) 32px; font-size: 14px; color: var(--lb-muted, #5D6577); }
.lp-made { margin-right: auto; display: flex; align-items: center; gap: 10px; }
.lp-made svg { width: 20px; height: 20px; flex: none; }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.lp-foot a { display: inline-flex; align-items: center; min-height: 32px; color: var(--lb-ink2, #2B3447); text-decoration: none; }
.lp-foot a:hover { color: var(--lb-navy, #141B2B); text-decoration: underline; text-underline-offset: 3px; }
.lp-made a { min-height: 0; text-decoration: underline; text-decoration-color: var(--lb-faint, #868E9C); text-underline-offset: 3px; }
.lp-foot .lang-switch { align-items: center; gap: 0 14px; padding-left: 20px; border-left: 1px solid var(--lb-line, #E3E5EA); }
.lp-foot .lang-switch [aria-current] { color: var(--lb-navy, #141B2B); }
/* The language switch in a public page's footer (lang_switch.elm.php): each language in itself, the page's own marked. */
.lang-switch { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.lang-switch [aria-current] { color: var(--uj-ink); font-weight: 600; }
/* The language control in a public page's header (lang_pick.elm.php): a small outlined button, a globe and the page's
   language in short, that opens the languages in a short list under it, right-aligned, the page's own ticked. A native
   <details>; lang-pick.js closes it on Escape and on a click beside it. Before Sign in on the landing pages, at the right
   of the sign-in pages' and the examples' headers. */
.lang-pick { position: relative; flex: none; }
.auth-top .lang-pick, .pub-top .lang-pick { margin-left: auto; }
.lp-top .lang-pick-btn { min-height: 38px; padding: 0 12px; border-radius: 99px; }
.lang-pick-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--uj-line); border-radius: var(--uj-r-md);
  background: var(--uj-surface); color: var(--uj-ink); font-size: 13px; font-weight: 600; line-height: 1.5; letter-spacing: .02em; cursor: pointer;
  list-style: none; user-select: none; -webkit-user-select: none; }
.lang-pick-btn::-webkit-details-marker { display: none; }
.lang-pick-btn:hover, .lang-pick[open] > .lang-pick-btn { border-color: var(--uj-muted); }
.lang-pick-btn:focus-visible { outline: 2px solid var(--uj-accent); outline-offset: 2px; }
.lang-pick-btn svg { width: 15px; height: 15px; flex: none; color: var(--uj-ink2); }
.lang-pick-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; min-width: 168px; margin: 0; padding: 6px; list-style: none;
  background: var(--uj-surface); border: 1px solid var(--uj-line); border-radius: var(--uj-r-lg); box-shadow: var(--uj-shadow-pop); }
.lang-pick-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: var(--uj-r-sm);
  color: var(--uj-ink); font-size: 14px; font-weight: 500; text-decoration: none; }
.lang-pick-menu a:hover { background: var(--uj-line2); }
.lang-pick-menu a[aria-current] { font-weight: 600; }
.lang-pick-menu a:focus-visible { outline-offset: -2px; }
.lang-pick-menu svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 820px) { .lang-pick-btn, .lang-pick-menu a { min-height: 40px; } }   /* touch targets, as the buttons (sj.css) */
/* The public pages' header and footer on a narrower screen: below 1201 px the lockup goes and the links narrow, below
   1024 px (French names the links in longer words) the links, Sign in and the action fold into the menu beside the
   language control; on a phone 16 px gutters. */
@media (max-width: 1200px) {
  .lp-top-in { gap: 20px; }   /* French names the links in longer words: at 1024 px they and the action fit beside the logo */
  .lp-top .logo .by-uj { display: none; }
  .lp-nav a { padding: 8px 9px; font-size: 14px; }
}
@media (max-width: 1023px) {
  .lp-nav, .lp-signin, html[data-edition="hosted"] .lp-act .lp-top-go { display: none; }
  .lp-menu { display: block; }
  .lp-act { margin-left: auto; }
}
@media (max-width: 960px) { html[data-edition="hosted"] body.lp { --lb-gut: 20px; } }
@media (max-width: 720px) {
  html[data-edition="hosted"] body.lp { --lb-gut: 16px; }
  .lp-top-in { height: 62px; gap: 10px; }
  .lp-top .logo { min-height: 44px; }
  .lp-top .lang-pick-btn { min-height: 42px; }
  .lp-foot-in { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lp-foot-links { gap: 0 18px; }
  .lp-foot a { min-height: 40px; }
  .lp-made a { min-height: 0; }
  .lp-foot .lang-switch { padding-left: 0; border-left: 0; }
}

@media (max-width: 960px) {
  .lp-hero { grid-template-columns: 1fr; align-items: start; }
  .lp-hero h1 { font-size: 44px; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-acct-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .lp-main { padding: 12px 16px 44px; gap: 48px; }
  .lp-hero h1 { font-size: 34px; letter-spacing: -.035em; }
  .lp-ex-head { padding: 16px 16px 12px; }
  .lp-ex-req { font-size: 18px; }
  .lp-ex-bar { padding: 0 16px 12px; }
  .lp-why { padding: 10px 16px; }
  .lp-example figcaption { padding: 12px 16px 14px; }
  .lp-main h2 { font-size: 24px; }
}

/* Beta, said quietly in the brand, after the wordmark and its lockup: a small ink outline, no accent
   colour. Below 481 px the lockup is left out (the bar has the menu, the bell and the account to
   hold) and the tag goes under the wordmark, in no extra width: in the app's bar there (the running
   searches, New search, the bell and the account beside it), on the sign-in pages below 381 px. */
.beta-tag { flex: none; margin-left: 6px; padding: 0 5px; border: 1px solid var(--uj-ink2, #55565c); border-radius: 5px;
  font-size: 10.5px; font-weight: 600; line-height: 15px; letter-spacing: .04em; color: var(--uj-ink2, #55565c); white-space: nowrap; user-select: none; }
@media (max-width: 480px) {
  .logo .by-uj { display: none; }
  .top .logo { display: grid; grid-template-columns: auto auto; column-gap: 8px; row-gap: 1px; align-items: center; }
  .top .logo .logo-mark { grid-row: 1 / span 2; }
  .top .logo .logo-wm { margin-top: -5px; margin-bottom: -3px; }   /* its letters, not the space around them, over the tag */
  .top .logo .beta-tag { margin-left: 0; justify-self: start; font-size: 9px; line-height: 11px; padding: 0 4px; letter-spacing: .05em; }
}
@media (max-width: 380px) {
  .auth-top .logo { display: grid; grid-template-columns: auto auto; column-gap: 8px; row-gap: 1px; align-items: center; }
  .auth-top .logo .logo-mark { grid-row: 1 / span 2; }
  .auth-top .logo .logo-wm { margin-top: -5px; margin-bottom: -3px; }
  .logo .beta-tag { margin-left: 0; justify-self: start; font-size: 9px; line-height: 11px; padding: 0 4px; letter-spacing: .05em; }
}
/* On the narrowest phones the public pages' header keeps the tag beside the wordmark: only the language control and the
   menu sit beside it. */
@media (max-width: 380px) { .lp-top .logo .beta-tag { margin-left: 2px; } }
/* The balance: a quiet pill, Ujeebu's soft line colour. */
html[data-edition="hosted"] .tr > .credits { background: var(--uj-line2); color: var(--uj-ink2); }
html[data-edition="hosted"] .tr > .credits:hover { background: var(--uj-line); color: var(--uj-ink); }
html[data-edition="hosted"] .nav a:hover { background: var(--uj-line2); color: var(--uj-ink); }
html[data-edition="hosted"] .nav a[aria-current="page"] { color: var(--uj-ink); }
html[data-edition="hosted"] .nav a[aria-current="page"]::after { background: var(--uj-ink); }

/* One accent action per view in the workbook: the strip's action (Export CSV, Go ahead, Retry,
   Top up) is the primary; the header's Export menu is the outlined secondary next to Details. */
html[data-edition="hosted"] #wb-export > .btn { background: var(--uj-surface); color: var(--uj-ink); border-color: var(--uj-line); }
html[data-edition="hosted"] #wb-export > .btn:hover { border-color: var(--uj-muted); background: var(--uj-surface); }
html[data-edition="hosted"] .strip .btn.primary { border-color: var(--uj-accent); }
