﻿/* sv.css - Support Center design system (Mist theme).
   Concatenated from theme.css + layout.css + views.css + guided.css (solv3b-requestor handoff),
   plus document-flow overrides at the end so the .sv-root shell scrolls as a normal page
   instead of filling a fixed-height artboard. Served at /sv.css. */

/* JJ[Opus 5] 2026aug24: every line in this file ending in the marker comment "qs-legacy" is
   GENERATED - do not hand-edit it and do not hand-write new ones. qs_css_fallback.py runs on
   every service build (see Makefile.vc) and rewrites that whole layer: for each declaration
   whose value uses var(), it emits a duplicate with the var()s resolved against the default
   token set (.sv-root plus .sv-root.theme-mist, the stock install's theme) so that browsers
   without custom-property support - IE11 and older - still get a styled portal instead of a
   bare document. Modern browsers parse both and the authored var() declaration still wins, so
   themes and density are untouched. Edit the authored declarations normally; the generator
   strips its own lines first, so the layer re-derives itself and never drifts. */

/* ===================== theme.css ===================== */
/* theme.css â€” Theme + density tokens for the support prototype.
   Scoped to .sv-root so the design canvas chrome is unaffected.
   USWDS-inspired but original. */

/* JJ[Opus 5.5] 2026oct17: every custom property this sheet declares is named --qs-<token>
   (--qs-primary, --qs-sp-4, --qs-text-muted, --qs-font-serif, --qs-focus, ... the whole set). The qs- prefix
   is reserved for the product: an organisation's own CSS in the branding custom head block (emitted after
   this sheet's link) can declare variables of its own without colliding with these tokens or silently
   re-theming the portal. There are no unprefixed aliases. The theme-custom emitter (qs_branding.h) writes
   these names and the portal's inline style="" markup (qs_wgui_mvc_index.cpp, qs_webobjects.htm) reads them;
   agent.css is a separate sheet with its own unprefixed token set and is not loaded with this one. */

.sv-root {
  /* base palette (light, neutral) */
  --qs-bg: #f7f8f9;
  --qs-surface: #ffffff;
  --qs-surface-alt: #f0f1f3;
  --qs-border: #d6dadf;
  /* JJ[Opus 5] 2026sep14: item 1.6 - the input hairline was 2.61:1 on --qs-surface, under the
     3:1 WCAG 1.4.11 floor; #6f757c is the already-shipped --qs-text-faint (4.65:1), so no new
     grey enters the palette. */
  --qs-border-strong: #6f757c;
  --qs-text: #1b1b1b;
  --qs-text-muted: #4a4f55;
  --qs-text-faint: #6f757c;
  --qs-focus: #ffbe2e;
  --qs-link: var(--qs-primary);

  /* status tones */
  --qs-info-bg: #e7f4fb;     --qs-info-fg: #07578a;    --qs-info-bd: #99deea;
  --qs-warn-bg: #faf3d1;     --qs-warn-fg: #8a6914;    --qs-warn-bd: #e5c441;
  --qs-success-bg: #ecf3ec;  --qs-success-fg: #2c6936; --qs-success-bd: #70b18a;
  --qs-error-bg: #f8eeee;    --qs-error-fg: #b50909;   --qs-error-bd: #f3a5a5;
  --qs-muted-bg: #eef0f2;    --qs-muted-fg: #4a4f55;   --qs-muted-bd: #c9ced3;

  /* type */
  --qs-font-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --qs-font-serif: "Merriweather", "Iowan Old Style", Georgia, serif;
  --qs-font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* density (overridden per density class) */
  --qs-sp-1: 4px;
  --qs-sp-2: 8px;
  --qs-sp-3: 12px;
  --qs-sp-4: 16px;
  --qs-sp-5: 24px;
  --qs-sp-6: 32px;
  --qs-sp-7: 48px;
  --qs-sp-8: 64px;
  --qs-radius: 4px;
  --qs-control-h: 40px;
  --qs-tap: 44px;
  --qs-text-base: 16px;
  /* JJ[Opus 5] 2026sep14: item 1.7 - 14/12px carried exactly the strings that tell a requester
     what to do next (hints, validation, ticket meta, breadcrumbs); one token edit lifts ~85
     rules and they stay visibly secondary to the 16px body. */
  --qs-text-sm: 15px;
  --qs-text-xs: 13px;
  --qs-text-lg: 18px;
  --qs-text-xl: 22px;
  --qs-text-2xl: 28px;
  --qs-text-3xl: 36px;
  --qs-line-base: 1.55;

  background: #f2f5f8;/*qs-legacy*/
  background: var(--qs-bg);
  color: #1b1b1b;/*qs-legacy*/
  color: var(--qs-text);
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;/*qs-legacy*/
  font-family: var(--qs-font-sans);
  font-size: 16px;/*qs-legacy*/
  font-size: var(--qs-text-base);
  line-height: 1.55;/*qs-legacy*/
  line-height: var(--qs-line-base);
  -webkit-font-smoothing: antialiased;
}

/* â”€â”€ Themes â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-root.theme-classic {
  --qs-primary: #005ea2;        /* USWDS-style civic blue */
  --qs-primary-dark: #1a4480;
  --qs-primary-darker: #162e51;
  --qs-primary-light: #d9e8f6;
  --qs-primary-lighter: #eaf1f8;
  --qs-accent: #fa9441;
  --qs-band: #162e51;           /* dark band used for header */
  --qs-band-fg: #ffffff;
}
.sv-root.theme-forest {
  --qs-primary: #2e8540;
  --qs-primary-dark: #19410f;
  --qs-primary-darker: #11281a;
  --qs-primary-light: #e7f4e4;
  --qs-primary-lighter: #f1f8ee;
  --qs-accent: #e5a000;
  --qs-band: #11281a;
  --qs-band-fg: #ffffff;
}
.sv-root.theme-indigo {
  --qs-primary: #3f3f99;
  --qs-primary-dark: #2a2873;
  --qs-primary-darker: #1a1845;
  --qs-primary-light: #e6e6f3;
  --qs-primary-lighter: #f1f1f8;
  --qs-accent: #c05621;
  --qs-band: #1a1845;
  --qs-band-fg: #ffffff;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ LIGHT THEMES â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Cream â€” warm cream header, navy ink, soft rust accent. */
.sv-root.theme-cream {
  --qs-primary: #1a4480;
  --qs-primary-dark: #162e51;
  --qs-primary-darker: #0e1f3a;
  --qs-primary-light: #d9e8f6;
  --qs-primary-lighter: #eef4fb;
  --qs-accent: #c05621;
  --qs-band: #faf7ed;
  --qs-band-fg: #162e51;

  --qs-bg: #fbf9f3;
  --qs-surface: #ffffff;
  --qs-surface-alt: #f3eed7;
  --qs-border: #e7e0c6;
  /* JJ[Opus 5] 2026sep14: item 1.6 - cream input hairline 2.24:1 -> 4.66:1 on --qs-surface. */
  --qs-border-strong: #7d7458;
}

/* Paper â€” clean white, deep navy ink, single bold accent. Most "official". */
.sv-root.theme-paper {
  --qs-primary: #1a4480;
  --qs-primary-dark: #162e51;
  --qs-primary-darker: #0e1f3a;
  --qs-primary-light: #dae6f3;
  --qs-primary-lighter: #f0f4fa;
  --qs-accent: #b50909;
  --qs-band: #ffffff;
  --qs-band-fg: #162e51;

  --qs-bg: #f7f8fa;
  --qs-surface: #ffffff;
  --qs-surface-alt: #eef1f5;
  --qs-border: #d6dde6;
  /* JJ[Opus 5] 2026sep14: item 1.6 - paper input hairline 2.55:1 -> 4.61:1 on --qs-surface. */
  --qs-border-strong: #6b7685;
}

/* Mist â€” soft cool blue-gray, slate ink, teal accent. Calm, modern. */
.sv-root.theme-mist {
  --qs-primary: #2a5d8f;
  --qs-primary-dark: #1d4570;
  --qs-primary-darker: #122f4f;
  --qs-primary-light: #d5e3ef;
  --qs-primary-lighter: #ecf3f8;
  --qs-accent: #157a73;
  --qs-band: #eef3f7;
  --qs-band-fg: #122f4f;

  --qs-bg: #f2f5f8;
  --qs-surface: #ffffff;
  --qs-surface-alt: #e2ebf3;
  --qs-border: #cfd9e3;
  /* JJ[Opus 5] 2026sep14: item 1.6 - mist input hairline 2.84:1 -> 4.83:1 on --qs-surface. */
  --qs-border-strong: #68737f;
}

/* Sage â€” pale sage band, forest ink, warm gold accent. Welcoming. */
.sv-root.theme-sage {
  --qs-primary: #2c6936;
  --qs-primary-dark: #1a4422;
  --qs-primary-darker: #102a16;
  --qs-primary-light: #dde9d8;
  --qs-primary-lighter: #eff4ec;
  --qs-accent: #946100;
  --qs-band: #ecf0e4;
  --qs-band-fg: #1a4422;

  --qs-bg: #f5f7f0;
  --qs-surface: #ffffff;
  --qs-surface-alt: #e6ecd8;
  --qs-border: #d4dcc4;
  /* JJ[Opus 5] 2026sep14: item 1.6 - sage input hairline 3.01:1 -> 4.99:1 on --qs-surface. */
  --qs-border-strong: #6a7358;
}

/* Light-theme shared overrides â€” lighten the hero gradient and brand band
   border so each reads light-on-light consistently. Cream/paper/mist/sage
   all opt in via .theme--light (set on each). */
.sv-root.theme-cream,
.sv-root.theme-paper,
.sv-root.theme-mist,
.sv-root.theme-sage {
  /* No-op marker â€” selector chained below uses these names directly. */
}

/* Apply to all light themes via a shared list */
.sv-root.theme-cream .sv-hero,
.sv-root.theme-cream .sv-guided-hero,
.sv-root.theme-paper .sv-hero,
.sv-root.theme-paper .sv-guided-hero,
.sv-root.theme-mist  .sv-hero,
.sv-root.theme-mist  .sv-guided-hero,
.sv-root.theme-sage  .sv-hero,
.sv-root.theme-sage  .sv-guided-hero {
  background: linear-gradient(180deg, #eef3f7 0%, #e2ebf3 100%);/*qs-legacy*/
  background: linear-gradient(180deg, var(--qs-band) 0%, var(--qs-surface-alt) 100%);
  color: #122f4f;/*qs-legacy*/
  color: var(--qs-primary-darker);
  border-bottom: 1px solid #cfd9e3;/*qs-legacy*/
  border-bottom: 1px solid var(--qs-border);
}
.sv-root.theme-cream .sv-hero::before,
.sv-root.theme-cream .sv-guided-hero::before,
.sv-root.theme-paper .sv-hero::before,
.sv-root.theme-paper .sv-guided-hero::before,
.sv-root.theme-mist  .sv-hero::before,
.sv-root.theme-mist  .sv-guided-hero::before,
.sv-root.theme-sage  .sv-hero::before,
.sv-root.theme-sage  .sv-guided-hero::before {
  background-image: repeating-linear-gradient(135deg, rgba(15,30,55,.04) 0 1px, transparent 1px 24px);
}
.sv-root.theme-cream .sv-hero h1.sv-hero-h, .sv-root.theme-cream .sv-guided-h, .sv-root.theme-paper .sv-hero h1.sv-hero-h, .sv-root.theme-paper .sv-guided-h, .sv-root.theme-mist .sv-hero h1.sv-hero-h, .sv-root.theme-mist .sv-guided-h, .sv-root.theme-sage .sv-hero h1.sv-hero-h, .sv-root.theme-sage .sv-guided-h { color: #122f4f; }/*qs-legacy*/
.sv-root.theme-cream .sv-hero h1.sv-hero-h,
.sv-root.theme-cream .sv-guided-h,
.sv-root.theme-paper .sv-hero h1.sv-hero-h,
.sv-root.theme-paper .sv-guided-h,
.sv-root.theme-mist  .sv-hero h1.sv-hero-h,
.sv-root.theme-mist  .sv-guided-h,
.sv-root.theme-sage  .sv-hero h1.sv-hero-h,
.sv-root.theme-sage  .sv-guided-h { color: var(--qs-primary-darker); }
.sv-root.theme-cream .sv-hero-sub, .sv-root.theme-cream .sv-guided-sub, .sv-root.theme-paper .sv-hero-sub, .sv-root.theme-paper .sv-guided-sub, .sv-root.theme-mist .sv-hero-sub, .sv-root.theme-mist .sv-guided-sub, .sv-root.theme-sage .sv-hero-sub, .sv-root.theme-sage .sv-guided-sub { color: #4a4f55; }/*qs-legacy*/
.sv-root.theme-cream .sv-hero-sub,
.sv-root.theme-cream .sv-guided-sub,
.sv-root.theme-paper .sv-hero-sub,
.sv-root.theme-paper .sv-guided-sub,
.sv-root.theme-mist  .sv-hero-sub,
.sv-root.theme-mist  .sv-guided-sub,
.sv-root.theme-sage  .sv-hero-sub,
.sv-root.theme-sage  .sv-guided-sub { color: var(--qs-text-muted); }
.sv-root.theme-cream .sv-hero .sv-eyebrow, .sv-root.theme-cream .sv-guided-hero .sv-eyebrow, .sv-root.theme-paper .sv-hero .sv-eyebrow, .sv-root.theme-paper .sv-guided-hero .sv-eyebrow, .sv-root.theme-mist .sv-hero .sv-eyebrow, .sv-root.theme-mist .sv-guided-hero .sv-eyebrow, .sv-root.theme-sage .sv-hero .sv-eyebrow, .sv-root.theme-sage .sv-guided-hero .sv-eyebrow { color: #157a73; }/*qs-legacy*/
.sv-root.theme-cream .sv-hero .sv-eyebrow,
.sv-root.theme-cream .sv-guided-hero .sv-eyebrow,
.sv-root.theme-paper .sv-hero .sv-eyebrow,
.sv-root.theme-paper .sv-guided-hero .sv-eyebrow,
.sv-root.theme-mist  .sv-hero .sv-eyebrow,
.sv-root.theme-mist  .sv-guided-hero .sv-eyebrow,
.sv-root.theme-sage  .sv-hero .sv-eyebrow,
.sv-root.theme-sage  .sv-guided-hero .sv-eyebrow { color: var(--qs-accent); }
.sv-root.theme-cream .sv-hero-suggest, .sv-root.theme-paper .sv-hero-suggest, .sv-root.theme-mist .sv-hero-suggest, .sv-root.theme-sage .sv-hero-suggest { color: #4a4f55; }/*qs-legacy*/
.sv-root.theme-cream .sv-hero-suggest,
.sv-root.theme-paper .sv-hero-suggest,
.sv-root.theme-mist  .sv-hero-suggest,
.sv-root.theme-sage  .sv-hero-suggest { color: var(--qs-text-muted); }
.sv-root.theme-cream .sv-hero-suggest button,
.sv-root.theme-paper .sv-hero-suggest button,
.sv-root.theme-mist  .sv-hero-suggest button,
.sv-root.theme-sage  .sv-hero-suggest button {
  background: rgba(15,30,55,.06);
  color: #1d4570;/*qs-legacy*/
  color: var(--qs-primary-dark);
  border-color: rgba(15,30,55,.12);
}
.sv-root.theme-cream .sv-hero-suggest button:hover,
.sv-root.theme-paper .sv-hero-suggest button:hover,
.sv-root.theme-mist  .sv-hero-suggest button:hover,
.sv-root.theme-sage  .sv-hero-suggest button:hover {
  background: rgba(15,30,55,.12);
}
.sv-root.theme-cream .sv-hero-search,
.sv-root.theme-paper .sv-hero-search,
.sv-root.theme-mist  .sv-hero-search,
.sv-root.theme-sage  .sv-hero-search {
  box-shadow: 0 6px 24px rgba(15,30,55,.10);
}
/* Brand band on light themes â€” add a hairline so the boundary reads cleanly */
.sv-root.theme-cream .sv-brandband, .sv-root.theme-paper .sv-brandband, .sv-root.theme-mist .sv-brandband, .sv-root.theme-sage .sv-brandband { border-bottom: 1px solid #cfd9e3; }/*qs-legacy*/
.sv-root.theme-cream .sv-brandband,
.sv-root.theme-paper .sv-brandband,
.sv-root.theme-mist  .sv-brandband,
.sv-root.theme-sage  .sv-brandband { border-bottom: 1px solid var(--qs-border); }
/* Guided-hero noresult/fallback cards need to be readable on light hero */
.sv-root.theme-cream .sv-guided-input-wrap,
.sv-root.theme-paper .sv-guided-input-wrap,
.sv-root.theme-mist  .sv-guided-input-wrap,
.sv-root.theme-sage  .sv-guided-input-wrap {
  box-shadow: 0 6px 20px rgba(15,30,55,.10);
}

/* â”€â”€ Density â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-root.density-spacious {
  --qs-sp-1: 6px; --qs-sp-2: 10px; --qs-sp-3: 16px; --qs-sp-4: 20px;
  --qs-sp-5: 28px; --qs-sp-6: 40px; --qs-sp-7: 56px; --qs-sp-8: 80px;
  --qs-control-h: 48px;
  /* JJ[Opus 5] 2026sep14: item 1.7 - --qs-text-xs was omitted from this tier, so every micro-label
     stayed at the balanced size even with spacious switched on. */
  --qs-text-base: 17px; --qs-text-sm: 15px; --qs-text-xs: 14px; --qs-text-lg: 19px;
  --qs-text-xl: 24px; --qs-text-2xl: 32px; --qs-text-3xl: 44px;
  --qs-line-base: 1.6;
}
.sv-root.density-balanced { /* defaults already balanced */ }
.sv-root.density-dense {
  --qs-sp-1: 3px; --qs-sp-2: 6px; --qs-sp-3: 10px; --qs-sp-4: 12px;
  --qs-sp-5: 18px; --qs-sp-6: 24px; --qs-sp-7: 36px; --qs-sp-8: 48px;
  --qs-control-h: 36px;
  /* JJ[Opus 5] 2026sep14: item 1.7 - floor the compact tier at 12px so no density goes lower. */
  --qs-text-base: 15px; --qs-text-sm: 13px; --qs-text-xs: 12px;
  --qs-text-lg: 17px; --qs-text-xl: 20px; --qs-text-2xl: 26px; --qs-text-3xl: 32px;
  --qs-line-base: 1.5;
}

/* â”€â”€ Base elements â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-root *, .sv-root *::before, .sv-root *::after { box-sizing: border-box; }
.sv-root h1, .sv-root h2, .sv-root h3, .sv-root h4 {
  font-family: "Merriweather", "Iowan Old Style", Georgia, serif;/*qs-legacy*/
  font-family: var(--qs-font-serif); font-weight: 700; margin: 0;
  color: #1b1b1b;/*qs-legacy*/
  line-height: 1.2; color: var(--qs-text); letter-spacing: -0.005em;
}
.sv-root h1 { font-size: 36px; }/*qs-legacy*/
.sv-root h1 { font-size: var(--qs-text-3xl); }
.sv-root h2 { font-size: 28px; }/*qs-legacy*/
.sv-root h2 { font-size: var(--qs-text-2xl); }
.sv-root h3 { font-size: 22px; }/*qs-legacy*/
.sv-root h3 { font-size: var(--qs-text-xl); }
.sv-root h4 { font-size: 18px; }/*qs-legacy*/
.sv-root h4 { font-size: var(--qs-text-lg); }
.sv-root p  { margin: 0; }
.sv-root a { color: #2a5d8f; }/*qs-legacy*/
.sv-root a  { color: var(--qs-link); text-decoration: underline; text-underline-offset: 2px; }
.sv-root a:hover { text-decoration-thickness: 2px; }

/* Focus ring â€” USWDS pattern: thick yellow outline + offset */
/* JJ[Opus 5] 2026sep14: item 1.5 - amber alone measures 1.42-1.66:1 on the light themes and
   1.38:1 on the light hero, failing WCAG 1.4.11. Keep amber (it is what stays visible on the
   dark band themes) and pair it with a dark companion painted in the 2px offset gap, so one
   of the two strokes always clears 3:1 whatever the surface. */
.sv-root :focus-visible {
  outline: 3px solid #ffbe2e;/*qs-legacy*/
  outline: 3px solid var(--qs-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #1b1b1b;/*qs-legacy*/
  box-shadow: 0 0 0 5px var(--qs-text);
  border-radius: 2px;
}

/* â”€â”€ Buttons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-btn {
  gap: 8px;/*qs-legacy*/
  display: inline-flex; align-items: center; justify-content: center; gap: var(--qs-sp-2);
  min-height: 40px; padding: 0 16px;/*qs-legacy*/
  min-height: var(--qs-control-h); padding: 0 var(--qs-sp-4);
  font: inherit; font-weight: 600; font-size: var(--qs-text-base);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius); border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background .12s, color .12s, border-color .12s, box-shadow .12s;
}
.sv-btn { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
.sv-btn--primary { background: #2a5d8f; }/*qs-legacy*/
.sv-btn--primary  { background: var(--qs-primary); color: #fff; }
.sv-btn--primary:hover { background: #1d4570; }/*qs-legacy*/
.sv-btn--primary:hover  { background: var(--qs-primary-dark); }
.sv-btn--primary:active { background: #122f4f; }/*qs-legacy*/
.sv-btn--primary:active { background: var(--qs-primary-darker); }
.sv-btn--secondary {
  color: #2a5d8f;/*qs-legacy*/
  background: transparent; color: var(--qs-primary); border-color: currentColor;
}
.sv-btn--secondary:hover { background: #ecf3f8; color: #1d4570; }/*qs-legacy*/
.sv-btn--secondary:hover { background: var(--qs-primary-lighter); color: var(--qs-primary-dark); }
.sv-btn--ghost { color: #1b1b1b; padding: 0 12px; }/*qs-legacy*/
.sv-btn--ghost { background: transparent; color: var(--qs-text); padding: 0 var(--qs-sp-3); }
.sv-btn--ghost:hover { background: #e2ebf3; }/*qs-legacy*/
.sv-btn--ghost:hover { background: var(--qs-surface-alt); }
.sv-btn--big { font-size: 18px; padding: 0 24px; min-height: calc(40px + 8px); }/*qs-legacy*/
.sv-btn--big { font-size: var(--qs-text-lg); padding: 0 var(--qs-sp-5); min-height: calc(var(--qs-control-h) + 8px); }
/* JJ[Opus 5] 2026sep14: item 1.9 - opacity .55 composited the primary button to 2.61:1
   label-on-fill, so it did not even read clearly as disabled. The muted tokens give 7.23:1. */
.sv-btn[disabled] { background: #eef0f2; color: #4a4f55; border-color: #c9ced3; }/*qs-legacy*/
.sv-btn[disabled] { opacity: 1; background: var(--qs-muted-bg); color: var(--qs-muted-fg); border-color: var(--qs-muted-bd); cursor: not-allowed; }
/* JJ[Opus 5.5] 2026oct18: an <a class="sv-btn ..."> is also matched by ".sv-root a" (specificity 0,1,1), which outranks
   every single-class button rule above (0,1,0) - so the link colour, var(--qs-link) = var(--qs-primary) = the primary
   FILL, and the underline won: "Check its status" and "Submit a request" painted as blank, underlined fills in every
   theme, and the secondary/ghost anchors took the link colour. The anchor forms restate the button ink at 0,2,1.
   .sv-back had the same trap (permanently underlined). Literal #fff needs no legacy line; the generator adds the rest. */
.sv-root a.sv-btn { text-decoration: none; }
.sv-root a.sv-btn--primary { color: #fff; }
.sv-root a.sv-btn--secondary { color: #2a5d8f; }/*qs-legacy*/
.sv-root a.sv-btn--secondary { color: var(--qs-primary); }
.sv-root a.sv-btn--secondary:hover { color: #1d4570; }/*qs-legacy*/
.sv-root a.sv-btn--secondary:hover { color: var(--qs-primary-dark); }
.sv-root a.sv-btn--ghost { color: #1b1b1b; }/*qs-legacy*/
.sv-root a.sv-btn--ghost { color: var(--qs-text); }
.sv-root a.sv-back { text-decoration: none; }

/* â”€â”€ Form controls â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-field { margin-bottom: 16px; }/*qs-legacy*/
.sv-field { display: block; margin-bottom: var(--qs-sp-4); }
.sv-label { margin-bottom: 4px; font-size: 16px; }/*qs-legacy*/
.sv-label { display: block; font-weight: 600; margin-bottom: var(--qs-sp-1); font-size: var(--qs-text-base); }
.sv-hint { font-size: 15px; color: #4a4f55; margin-bottom: 8px; }/*qs-legacy*/
.sv-hint  { display: block; font-size: var(--qs-text-sm); color: var(--qs-text-muted); margin-bottom: var(--qs-sp-2); }
.sv-input, .sv-textarea, .sv-select {
  display: block; width: 100%;
  /* JJ[Opus 5] 2026sep14: item 1.6 - padding -1px pays for the 2px border below, so the
     rendered control height (and --qs-control-h) is exactly what it was. */
  min-height: 40px; padding: calc(8px - 1px) calc(12px - 1px);/*qs-legacy*/
  min-height: var(--qs-control-h); padding: calc(var(--qs-sp-2) - 1px) calc(var(--qs-sp-3) - 1px);
  font: inherit; font-size: var(--qs-text-base);
  background: #ffffff; color: #1b1b1b;/*qs-legacy*/
  background: var(--qs-surface); color: var(--qs-text);
  /* JJ[Opus 5] 2026sep14: item 1.6 - the field fill equals the card fill, so this hairline is
     the only "type here" signal; stroke width substitutes for contrast when contrast
     sensitivity has dropped, which extra darkness alone does not. */
  border: 2px solid #68737f; border-radius: 4px;/*qs-legacy*/
  border: 2px solid var(--qs-border-strong); border-radius: var(--qs-radius);
}
.sv-input, .sv-textarea, .sv-select { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
.sv-textarea { min-height: calc(40px * 3); padding: 12px; }/*qs-legacy*/
.sv-textarea { min-height: calc(var(--qs-control-h) * 3); padding: var(--qs-sp-3); }
.sv-input:hover, .sv-textarea:hover, .sv-select:hover { border-color: #1b1b1b; }/*qs-legacy*/
.sv-input:hover, .sv-textarea:hover, .sv-select:hover { border-color: var(--qs-text); }
.sv-input[aria-invalid="true"] { border-color: #b50909; }/*qs-legacy*/
.sv-input[aria-invalid="true"] { border-color: var(--qs-error-fg); }
/* JJ[Fable 5] 2026sep20 (review): the inset error stroke shared the focus ring's box-shadow property at equal specificity and
   LATER in the sheet, so a focused refused control lost the ring's dark 5px companion and kept only the amber outline
   (1.66:1 on white). The stroke now yields while the control has keyboard focus; the red border and the message stay. */
.sv-input[aria-invalid="true"]:not(:focus-visible) { box-shadow: inset 0 0 0 1px #b50909; }/*qs-legacy*/
.sv-input[aria-invalid="true"]:not(:focus-visible) { box-shadow: inset 0 0 0 1px var(--qs-error-fg); }
/* JJ[Opus 5] 2026sep14: item 1.9 - an error message is read under stress; it must not be the
   smallest text on the page. */
.sv-error-text { color: #b50909; font-size: 16px; margin-top: 4px; gap: 4px; }/*qs-legacy*/
.sv-error-text { color: var(--qs-error-fg); font-size: var(--qs-text-base); margin-top: var(--qs-sp-1); font-weight: 600; display:flex; align-items:center; gap:var(--qs-sp-1); }
.sv-required { color: #b50909; }/*qs-legacy*/
.sv-required { color: var(--qs-error-fg); }

/* JJ[Opus 5] 2026sep20: a11y item 2 / contract C4 (WCAG 3.3.1 Error Identification, 3.3.2 Labels
   or Instructions, 1.4.1 Use of Color). A refused request used to re-render the whole page with
   one generic sentence, an unchanged <title> and focus at the top of the document, so a screen
   reader was told nothing at all and had to tab every control guessing which one was refused.
   The renderer now emits, above the first field, a summary box (id=sv-errsummary, role="alert",
   tabindex="-1") listing each problem as an in-page link to the control at fault, and moves
   focus to it after render. These are that box's styles. Colour is never the only cue here: the
   problems are sentences, the box carries a heading, and each failing control gets a 2px error
   border IN ADDITION to its own message below it. */
.sv-errsummary {
  background: #f8eeee;/*qs-legacy*/
  background: var(--qs-error-bg);
  border: 2px solid #b50909;/*qs-legacy*/
  border: 2px solid var(--qs-error-fg);
  border-left-width: 6px;                 /* the stripe .sv-alert already uses for this role */
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  padding: 16px 24px;/*qs-legacy*/
  padding: var(--qs-sp-4) var(--qs-sp-5);
  margin: 0 0 24px;/*qs-legacy*/
  margin: 0 0 var(--qs-sp-5);
}
/* the standard ring, spelled out on :focus rather than left to the sheet's global
   ":focus-visible" rule: this box is focused PROGRAMMATICALLY (tabindex="-1" plus a script
   focus() call) and a programmatic focus does not match :focus-visible in Chrome or Firefox, so
   the reader who was just sent here would see no indication of where they landed. */
.sv-root .sv-errsummary:focus {
  outline: 3px solid #ffbe2e;/*qs-legacy*/
  outline: 3px solid var(--qs-focus);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #1b1b1b;/*qs-legacy*/
  box-shadow: 0 0 0 5px var(--qs-text);
}
/* 22px, not the 28px ".sv-root h2" would hand it: this heading only labels the list directly
   under it, and at 200-400% zoom an oversized "There is a problem" pushes the actual problems -
   the part the reader needs - off the screen. Serif face and weight stay as the h2 rule set. */
.sv-root .sv-errsummary-h { font-size: 22px; color: #1b1b1b; margin: 0 0 8px; }/*qs-legacy*/
.sv-root .sv-errsummary-h { font-size: var(--qs-text-xl); color: var(--qs-text); margin: 0 0 var(--qs-sp-2); }
.sv-root .sv-errsummary-list { padding-left: 24px; }/*qs-legacy*/
.sv-root .sv-errsummary-list { margin: 0; padding-left: var(--qs-sp-5); }
.sv-root .sv-errsummary-list li { margin-top: 4px; }/*qs-legacy*/
.sv-root .sv-errsummary-list li { margin-top: var(--qs-sp-1); }
/* >= 24px pointer target (WCAG 2.5.8) and underlined, so the jump-to-field links are not
   signalled by colour alone. Error ink on the error tint is 6.14:1 (#b50909 on #f8eeee) and
   those two tokens are theme-invariant, so the figure holds on every theme incl. theme-custom. */
.sv-root .sv-errsummary-list a {
  display: inline-block;
  min-height: 24px;
  padding: 2px 0;
  color: #b50909;/*qs-legacy*/
  color: var(--qs-error-fg);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sv-root .sv-errsummary-list a:hover { text-decoration-thickness: 2px; }
/* the per-field message is a <p> in the C4 markup, and ".sv-root p { margin: 0 }" (0,1,1) was
   beating .sv-error-text's own margin-top (0,1,0), which glued the message to the control it
   describes instead of grouping it with it. */
.sv-root p.sv-error-text { margin: 4px 0 0; }/*qs-legacy*/
.sv-root p.sv-error-text { margin: var(--qs-sp-1) 0 0; }
/* the two control types the design never gave an invalid state: .sv-input got one at the top of
   this section and .sv-select got a mirror later in the sheet, so a refused textarea or checkbox
   carried no visible mark at all while its neighbours did. The checkbox cue steps aside while
   the control is focused so it can never mask the focus ring. */
.sv-textarea[aria-invalid="true"] { border-color: #b50909; }/*qs-legacy*/
.sv-textarea[aria-invalid="true"] { border-color: var(--qs-error-fg); }
/* JJ[Fable 5] 2026sep20 (review): the inset error stroke shared the focus ring's box-shadow property at equal specificity and
   LATER in the sheet, so a focused refused control lost the ring's dark 5px companion and kept only the amber outline
   (1.66:1 on white). The stroke now yields while the control has keyboard focus; the red border and the message stay. */
.sv-textarea[aria-invalid="true"]:not(:focus-visible) { box-shadow: inset 0 0 0 1px #b50909; }/*qs-legacy*/
.sv-textarea[aria-invalid="true"]:not(:focus-visible) { box-shadow: inset 0 0 0 1px var(--qs-error-fg); }
.sv-checkrow input[aria-invalid="true"]:not(:focus-visible) { box-shadow: 0 0 0 2px #b50909; }/*qs-legacy*/
.sv-checkrow input[aria-invalid="true"]:not(:focus-visible) { box-shadow: 0 0 0 2px var(--qs-error-fg); }

/* â”€â”€ Cards / surfaces â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-card {
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  border: 1px solid #cfd9e3;/*qs-legacy*/
  border: 1px solid var(--qs-border);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
}
.sv-card--accent { border-left: 4px solid #2a5d8f; }/*qs-legacy*/
.sv-card--accent { border-left: 4px solid var(--qs-primary); }

/* â”€â”€ Status badges â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-badge {
  gap: 4px;/*qs-legacy*/
  display: inline-flex; align-items: center; gap: var(--qs-sp-1);
  padding: 2px 8px; font-size: 13px;/*qs-legacy*/
  padding: 2px var(--qs-sp-2); font-size: var(--qs-text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; border-radius: 2px;
  border: 1px solid; line-height: 1.4; white-space: nowrap;
}
.sv-badge--info { background: #e7f4fb; color: #07578a; border-color: #99deea; }/*qs-legacy*/
.sv-badge--info    { background: var(--qs-info-bg);    color: var(--qs-info-fg);    border-color: var(--qs-info-bd); }
.sv-badge--warn { background: #faf3d1; color: #8a6914; border-color: #e5c441; }/*qs-legacy*/
.sv-badge--warn    { background: var(--qs-warn-bg);    color: var(--qs-warn-fg);    border-color: var(--qs-warn-bd); }
.sv-badge--success { background: #ecf3ec; color: #2c6936; border-color: #70b18a; }/*qs-legacy*/
.sv-badge--success { background: var(--qs-success-bg); color: var(--qs-success-fg); border-color: var(--qs-success-bd); }
.sv-badge--muted { background: #eef0f2; color: #4a4f55; border-color: #c9ced3; }/*qs-legacy*/
.sv-badge--muted   { background: var(--qs-muted-bg);   color: var(--qs-muted-fg);   border-color: var(--qs-muted-bd); }

/* â”€â”€ Skip link / utilities â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-skip {
  left: 12px; top: 12px;/*qs-legacy*/
  position: absolute; left: var(--qs-sp-3); top: var(--qs-sp-3);
  background: #122f4f; padding: 8px 12px;/*qs-legacy*/
  background: var(--qs-primary-darker); color: #fff; padding: var(--qs-sp-2) var(--qs-sp-3);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius); font-weight: 600; z-index: 50; text-decoration: none;
  transform: translateY(calc(-100% - 24px));
  transition: transform .15s;
}
.sv-skip:focus { transform: translateY(0); }
/* JJ[Opus 5] 2026sep20: a11y item 1 (WCAG 1.4.3 Contrast Minimum). ".sv-root a" further up this
   sheet is BOTH more specific than .sv-skip (0,1,1 against 0,1,0) and later in source order, so
   it repainted the skip link in the generic mid-blue link colour on its own near-black chip and
   put the generic underline back: 1.98:1, measured live on the stock theme (#2a5d8f on #122f4f),
   against the 4.5:1 floor. This is the FIRST thing a keyboard or screen-magnifier user meets on
   a portal page and the only way past the header, so it has to be the most legible control on
   it. Same two declarations the block above already intended, raised to 0,2,1 so the white wins
   in every theme. White on each theme's --qs-primary-darker chip: classic #162e51 13.60:1, forest
   #11281a 15.65:1, indigo #1a1845 16.66:1, cream #0e1f3a 16.46:1, paper #0e1f3a 16.46:1, mist
   #122f4f 13.59:1, sage #102a16 15.39:1. */
.sv-root a.sv-skip,
.sv-root a.sv-skip:focus,
.sv-root a.sv-skip:hover { color: #fff; text-decoration: none; }
/* theme-custom is the one theme that cannot be verified ahead of time: its --qs-primary-darker is
   the administrator's brand hex mixed 40% toward black (qs_branding.h:102) with no luminance
   floor anywhere in that code, so a bright brand colour lands the chip UNDER AA against white -
   #ffcc00 derives #997a00 (4.09:1) and #7fd3f7 derives #4c7e94 (4.45:1). A fixed chip in the
   palette's own ink (#1b1b1b, 17.22:1) keeps the one control a keyboard user cannot do without
   readable whatever brand colour is configured. Nothing but the focused skip link is affected. */
.sv-root.theme-custom a.sv-skip { background: #1b1b1b; }
.sv-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sv-divider { background: #cfd9e3; margin: 16px 0; }/*qs-legacy*/
.sv-divider { height: 1px; background: var(--qs-border); margin: var(--qs-sp-4) 0; border: 0; }

/* â”€â”€ Layout helpers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-container { padding: 0 24px; }/*qs-legacy*/
.sv-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--qs-sp-5); }
.sv-stack > * + * { margin-top: 12px; }/*qs-legacy*/
.sv-stack > * + * { margin-top: var(--qs-sp-3); }
.sv-stack-lg > * + * { margin-top: 24px; }/*qs-legacy*/
.sv-stack-lg > * + * { margin-top: var(--qs-sp-5); }
.sv-row { gap: 12px; }/*qs-legacy*/
.sv-row { display: flex; gap: var(--qs-sp-3); align-items: center; flex-wrap: wrap; }
.sv-grid { gap: 16px; }/*qs-legacy*/
.sv-grid { display: grid; gap: var(--qs-sp-4); }


/* ===================== layout.css ===================== */
/* layout.css â€” Layout, header, footer, common patterns, dashboard
   Container queries make views adapt to artboard width (not viewport),
   so the same components work at mobile (390) and desktop (1240) sizes. */

/* Make the prototype fill its host (artboard or fullscreen) */
.sv-root {
  container-type: inline-size;
  container-name: sv;
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Main scroll area â€” only this scrolls inside the artboard */
.sv-main {
  flex: 1 1 auto;
  overflow-y: auto;
  outline: none;
}
/* JJ[Fable 5] 2026sep21 (review): <main id="sv-main"> takes tabindex="-1" now so the skip link really moves focus, and
   activating a skip link is a keypress - so the target matched .sv-root :focus-visible (0,2,0), which outranks the
   plain .sv-main outline:none above, and the whole page wore a 3px ring and a 5px band. No var(): no legacy twin. */
.sv-root #sv-main:focus, .sv-root #sv-main:focus-visible { outline: none; box-shadow: none; }

/* Tighter container at small widths */
@container sv (max-width: 720px) {
  .sv-container { padding: 0 12px; }/*qs-legacy*/
  .sv-container { padding: 0 var(--qs-sp-3); }
}

/* â”€â”€ Header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-topbanner {
  background: #e2ebf3;/*qs-legacy*/
  background: var(--qs-surface-alt);
  color: #4a4f55;/*qs-legacy*/
  color: var(--qs-text-muted);
  border-bottom: 1px solid #cfd9e3;/*qs-legacy*/
  border-bottom: 1px solid var(--qs-border);
  font-size: 13px;/*qs-legacy*/
  font-size: var(--qs-text-xs);
}
.sv-brandband {
  background: #eef3f7;/*qs-legacy*/
  background: var(--qs-band);
  color: #122f4f;/*qs-legacy*/
  color: var(--qs-band-fg);
}
.sv-brandrow {
  padding: 12px 0;/*qs-legacy*/
  padding: var(--qs-sp-3) 0;
  justify-content: space-between;
  flex-wrap: nowrap;
}
.sv-brand {
  gap: 12px;/*qs-legacy*/
  display: flex; align-items: center; gap: var(--qs-sp-3);
  text-decoration: none; color: inherit;
  min-width: 0;
}
.sv-root a.sv-brand, .sv-root a.sv-brand:hover { color: #122f4f; }/*qs-legacy*/
.sv-root a.sv-brand,
.sv-root a.sv-brand:hover { color: var(--qs-band-fg); text-decoration: none; }
.sv-brand:focus-visible { outline-offset: 4px; }
.sv-brandmark { display: flex; align-items: center; flex: 0 0 auto; }
.sv-brandmark:empty { display: none; } /* JJ[Fable 5] 2026sep15: a custom brand with no logo emits an empty span - no mark, no gap */
/* JJ[Opus 5] 2026sep15: the portal mark is an <img> from /brandlogo now (the stock product logo, or
   the admin's upload at the same URL) instead of a fixed 32px inline SVG, so .sv-brandmark no longer
   frames a 32px box - the image itself carries the size. Height = the two brand rows beside it:
     .sv-brand1 var(--qs-text-xl) 22px x 1.2 = 26.4px  +  .sv-brand2 var(--qs-text-sm) 15px x 1.2 = 18px
     = 44.4px -> 45px.
   The calc() repeats that arithmetic against the tokens so the mark follows the density tiers too
   (spacious 24/15 -> 46.8px, dense 20/13 -> 39.6px); the 45px literal in front of it is what an
   engine with no calc()/var() keeps. width:auto + object-fit:contain means an uploaded logo of any
   aspect ratio renders at that same height, capped by max-width rather than distorted. */
.sv-brandmark img.sv-brandimg {
  display: block; width: auto; max-width: 200px; object-fit: contain;
  aspect-ratio: auto 1 / 1; /* JJ[Fable 5] 2026sep15 (review): a square box is reserved until /brandlogo (no-cache, so revalidated every load) arrives - no header text jump; a loaded image keeps its own ratio */
  height: 45px; height: calc(var(--qs-text-xl) * 1.2 + var(--qs-text-sm) * 1.2);
}
.sv-brandmark img.sv-brandimg { height: calc(22px * 1.2 + 15px * 1.2); height: calc(var(--qs-text-xl) * 1.2 + var(--qs-text-sm) * 1.2); }/*qs-legacy*/
.sv-brandtext { display: flex; flex-direction: column; min-width: 0; }
.sv-brand1 { font-family: "Merriweather", "Iowan Old Style", Georgia, serif; font-size: 22px; }/*qs-legacy*/
.sv-brand1 { font-family: var(--qs-font-serif); font-weight: 700; font-size: var(--qs-text-xl); line-height: 1.2; }
.sv-brand2 { font-size: 15px; }/*qs-legacy*/
.sv-brand2 { font-size: var(--qs-text-sm); opacity: .85; line-height: 1.2; }
/* JJ[Opus 5.5] 2026oct09 (owner request, portal P1): the "Powered by QuerySolv" line (stock brand only - custom
   branding empties it) is the FIRST child of the footer bar now (QS_DEF_SV_CHROME_FOOTER), so it sits at the left
   end of the bottom row; it used to hug the brand block in the header row and was hidden below 720px. It takes
   the bar's own size (var(--qs-text-sm), set on .sv-footer-bar) and the same .85 opacity as .sv-footer-links, so the
   row reads as one line of text at one contrast (band-fg at .85 on the band: 7.9:1 on mist, about 10:1 on the
   dark bands); the old 13px/.75 was a header-row treatment. Visible at every width - the 720px footer query stacks
   the bar into a column and this stays first. */
.sv-powered { opacity: .85; white-space: nowrap; }
.sv-powered a { color: inherit; text-decoration: underline; }
.sv-home-btn { color: #122f4f; }/*qs-legacy*/
.sv-home-btn { color: var(--qs-band-fg); }
.sv-home-btn:hover { background: rgba(255,255,255,.12); }
.sv-mobilemenu {
  display: none;
  color: #122f4f;/*qs-legacy*/
  background: transparent; color: var(--qs-band-fg);
  border-radius: 4px;/*qs-legacy*/
  border: 2px solid transparent; border-radius: var(--qs-radius);
  min-width: 44px; min-height: 44px;/*qs-legacy*/
  min-width: var(--qs-tap); min-height: var(--qs-tap);
  align-items: center; justify-content: center; cursor: pointer;
}
.sv-mobilemenu:hover { background: rgba(255,255,255,.1); }

/* Nav band */
.sv-navband { background: #122f4f; }/*qs-legacy*/
.sv-navband { background: var(--qs-primary-darker); }
.sv-navlist {
  display: flex; gap: 0; padding: 0; margin: 0;
  list-style: none; flex-wrap: wrap;
}
.sv-navitem {
  display: flex; align-items: center;
  min-height: 44px; padding: 0 16px;/*qs-legacy*/
  min-height: var(--qs-tap); padding: 0 var(--qs-sp-4);
  background: transparent; border: 0; cursor: pointer;
  color: rgba(255,255,255,.92); font: inherit; font-size: var(--qs-text-base); font-weight: 500;
  border-bottom: 4px solid transparent; margin-bottom: -1px;
  transition: background .12s, border-color .12s, color .12s;
  white-space: nowrap;
}
.sv-navitem { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
.sv-navitem:hover { background: rgba(255,255,255,.08); color: #fff; }
.sv-navitem.is-active { border-bottom-color: #157a73; }/*qs-legacy*/
.sv-navitem.is-active { color: #fff; border-bottom-color: var(--qs-accent); background: rgba(255,255,255,.06); }

/* Mobile header behavior â€” kicks in for narrow artboards (container query) */
@container sv (max-width: 720px) {
  .sv-brand1 { font-size: 18px; }/*qs-legacy*/
  .sv-brand1 { font-size: var(--qs-text-lg); }
  .sv-brand2 { display: none; }
  /* JJ[Opus 5] 2026sep15: a narrow artboard hides .sv-brand2 and drops .sv-brand1 to var(--qs-text-lg),
     so the mark follows the one row that is left: 18px x 1.2 = 21.6px -> 22px. */
  .sv-brandmark img.sv-brandimg { height: 22px; height: calc(var(--qs-text-lg) * 1.2); }
  .sv-brandmark img.sv-brandimg { height: calc(18px * 1.2); height: calc(var(--qs-text-lg) * 1.2); }/*qs-legacy*/
  .sv-mobilemenu { display: flex; }
  .sv-navband {
    max-height: 0; overflow: hidden;
    transition: max-height .25s ease;
  }
  .sv-navband.is-open { max-height: 480px; }
  .sv-navlist { padding: 8px 0; }/*qs-legacy*/
  .sv-navlist { flex-direction: column; gap: 0; padding: var(--qs-sp-2) 0; }
  .sv-navitem {
    padding: 0 16px;/*qs-legacy*/
    width: 100%; padding: 0 var(--qs-sp-4);
    border-bottom: 0; border-left: 4px solid transparent;
  }
  .sv-navitem.is-active { border-left-color: #157a73; }/*qs-legacy*/
  .sv-navitem.is-active { border-bottom: 0; border-left-color: var(--qs-accent); }
}

/* â”€â”€ Footer â€” single compact bar â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-footer {
  background: #eef3f7;/*qs-legacy*/
  background: var(--qs-band);
  color: #122f4f;/*qs-legacy*/
  color: var(--qs-band-fg);
  margin-top: 48px;/*qs-legacy*/
  margin-top: var(--qs-sp-7);
  flex: 0 0 auto;
  border-top: 1px solid #cfd9e3;/*qs-legacy*/
  border-top: 1px solid var(--qs-border);
}
.sv-footer a { color: inherit; }
.sv-footer-bar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;/*qs-legacy*/
  gap: var(--qs-sp-3); flex-wrap: wrap;
  padding: 16px 24px;/*qs-legacy*/
  padding: var(--qs-sp-4) var(--qs-sp-5);
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm);
}
.sv-footer-links { gap: 16px; }/*qs-legacy*/
.sv-footer-links { display: inline-flex; gap: var(--qs-sp-4); align-items: center; opacity: .85; }
@container sv (max-width: 720px) {
  .sv-footer-bar { gap: 8px; padding: 16px 12px; }/*qs-legacy*/
  .sv-footer-bar { flex-direction: column; align-items: flex-start; gap: var(--qs-sp-2); padding: var(--qs-sp-4) var(--qs-sp-3); }
}

/* â”€â”€ Toast â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-toast {
  bottom: 24px;/*qs-legacy*/
  position: absolute; left: 50%; bottom: var(--qs-sp-5); transform: translateX(-50%);
  gap: 8px;/*qs-legacy*/
  display: flex; align-items: center; gap: var(--qs-sp-2);
  padding: 12px 16px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4);
  background: #1b1b1b;/*qs-legacy*/
  background: var(--qs-text);
  color: #fff;
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  z-index: 30;
  font-size: 15px;/*qs-legacy*/
  font-weight: 500; font-size: var(--qs-text-sm);
  max-width: calc(100% - 24px * 2);/*qs-legacy*/
  max-width: calc(100% - var(--qs-sp-5) * 2);
}
.sv-toast--success { background: #2c6936; }/*qs-legacy*/
.sv-toast--success { background: var(--qs-success-fg); }
.sv-toast--error { background: #b50909; }/*qs-legacy*/
.sv-toast--error   { background: var(--qs-error-fg); }

/* â”€â”€ Breadcrumb â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-breadcrumb { padding: 12px 0 8px; }/*qs-legacy*/
.sv-breadcrumb { padding: var(--qs-sp-3) 0 var(--qs-sp-2); }
.sv-breadcrumb ol {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; align-items: center;
  font-size: 15px; color: #4a4f55;/*qs-legacy*/
  font-size: var(--qs-text-sm); color: var(--qs-text-muted);
}
.sv-breadcrumb li + li::before {
  margin: 0 8px; color: #6f757c;/*qs-legacy*/
  content: "\203A"; margin: 0 var(--qs-sp-2); color: var(--qs-text-faint); /* JJ[Fable 5] 2026sep01: CSS escape for U+203A - the literal glyph here had been double-encoded (it rendered as three junk characters between the crumbs) and an escape is immune to any charset guess */
}
.sv-breadcrumb a { color: #4a4f55; }/*qs-legacy*/
.sv-breadcrumb a { color: var(--qs-text-muted); }
.sv-breadcrumb [aria-current="page"] { color: #1b1b1b; }/*qs-legacy*/
.sv-breadcrumb [aria-current="page"] { color: var(--qs-text); font-weight: 600; }

/* â”€â”€ Section heads / common â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-section-h {
  font-family: "Merriweather", "Iowan Old Style", Georgia, serif;/*qs-legacy*/
  font-family: var(--qs-font-serif);
  font-size: 22px;/*qs-legacy*/
  font-size: var(--qs-text-xl);
  margin: 0 0 12px;/*qs-legacy*/
  margin: 0 0 var(--qs-sp-3);
}
.sv-eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: .08em;
  font-size: 13px;/*qs-legacy*/
  font-size: var(--qs-text-xs); font-weight: 700;
  color: #1d4570;/*qs-legacy*/
  color: var(--qs-primary-dark);
  margin: 0 0 8px;/*qs-legacy*/
  margin: 0 0 var(--qs-sp-2);
}
.sv-muted-text { color: #4a4f55; }/*qs-legacy*/
.sv-muted-text { color: var(--qs-text-muted); }
.sv-link-btn {
  background: transparent; border: 0; cursor: pointer;
  color: #2a5d8f;/*qs-legacy*/
  color: var(--qs-primary); font: inherit; font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: underline; text-underline-offset: 2px;
  padding: 4px 0;
}
.sv-link-btn:hover { color: #1d4570; }/*qs-legacy*/
.sv-link-btn:hover { color: var(--qs-primary-dark); }
.sv-link-inline {
  background: transparent; border: 0; padding: 0;
  color: #2a5d8f;/*qs-legacy*/
  color: var(--qs-primary); font: inherit; font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.sv-link-inline:hover { color: #1d4570; }/*qs-legacy*/
.sv-link-inline:hover { color: var(--qs-primary-dark); }
.sv-flex-spacer { flex: 1 1 auto; }
.sv-section-head { margin-bottom: 12px; gap: 12px; }/*qs-legacy*/
.sv-section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--qs-sp-3); gap: var(--qs-sp-3); flex-wrap: wrap; }

/* Alerts */
.sv-alert {
  gap: 12px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-3); align-items: flex-start;
  padding: 12px 16px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  border-left: 6px solid;
  margin: 12px 0;/*qs-legacy*/
  margin: var(--qs-sp-3) 0;
}
.sv-alert > svg { flex: 0 0 auto; margin-top: 2px; }
.sv-alert--info { background: #e7f4fb; border-color: #07578a; color: #07578a; }/*qs-legacy*/
.sv-alert--info    { background: var(--qs-info-bg);    border-color: var(--qs-info-fg);    color: var(--qs-info-fg); }
.sv-alert--warn { background: #faf3d1; border-color: #8a6914; color: #8a6914; }/*qs-legacy*/
.sv-alert--warn    { background: var(--qs-warn-bg);    border-color: var(--qs-warn-fg);    color: var(--qs-warn-fg); }
.sv-alert--success { background: #ecf3ec; border-color: #2c6936; color: #2c6936; }/*qs-legacy*/
.sv-alert--success { background: var(--qs-success-bg); border-color: var(--qs-success-fg); color: var(--qs-success-fg); }
.sv-alert--error { background: #f8eeee; border-color: #b50909; color: #b50909; }/*qs-legacy*/
.sv-alert--error   { background: var(--qs-error-bg);   border-color: var(--qs-error-fg);   color: var(--qs-error-fg); }
.sv-alert p { color: #1b1b1b; font-size: 15px; }/*qs-legacy*/
.sv-alert p { margin: 4px 0 0; color: var(--qs-text); font-size: var(--qs-text-sm); }
.sv-alert > div { color: #1b1b1b; font-size: 16px; }/*qs-legacy*/
.sv-alert > div { color: var(--qs-text); font-size: var(--qs-text-base); }
.sv-alert > div > strong { color: inherit; }

/* Badge dots */
.sv-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block; background: currentColor;
}

/* Empty state */
.sv-empty { padding: 32px 24px; }/*qs-legacy*/
.sv-empty { padding: var(--qs-sp-6) var(--qs-sp-5); text-align: center; }
.sv-empty h3 { margin-bottom: 8px; }/*qs-legacy*/
.sv-empty h3 { margin-bottom: var(--qs-sp-2); }
.sv-empty p { margin-bottom: 12px; color: #4a4f55; }/*qs-legacy*/
.sv-empty p { margin-bottom: var(--qs-sp-3); color: var(--qs-text-muted); }

/* â”€â”€ Dashboard hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-hero {
  background: linear-gradient(180deg, #122f4f 0%, #1d4570 100%);/*qs-legacy*/
  background: linear-gradient(180deg, var(--qs-primary-darker) 0%, var(--qs-primary-dark) 100%);
  color: #fff;
  padding: 48px 0 48px;/*qs-legacy*/
  padding: var(--qs-sp-7) 0 var(--qs-sp-7);
  position: relative;
}
.sv-hero::before {
  /* subtle diagonal pattern */
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 24px);
  pointer-events: none;
}
.sv-hero .sv-eyebrow { color: #157a73; }/*qs-legacy*/
.sv-hero .sv-eyebrow { color: var(--qs-accent); }
.sv-hero h1.sv-hero-h {
  font-family: "Merriweather", "Iowan Old Style", Georgia, serif;/*qs-legacy*/
  font-family: var(--qs-font-serif);
  font-size: 36px;/*qs-legacy*/
  font-size: var(--qs-text-3xl); line-height: 1.1;
  max-width: 32ch;
  color: #fff;
  margin-bottom: 12px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-3);
  text-wrap: balance;
}
.sv-hero-sub {
  font-size: 18px;/*qs-legacy*/
  font-size: var(--qs-text-lg);
  max-width: 56ch;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-5);
}
.sv-hero-search {
  display: flex; max-width: 720px; gap: 0;
  border-radius: 4px;/*qs-legacy*/
  background: #fff; border-radius: var(--qs-radius);
  box-shadow: 0 4px 24px rgba(0,0,0,.2);
  align-items: stretch;
  border: 3px solid transparent;
  transition: border-color .12s;
}
/* JJ[Opus 5] 2026sep14: item 1.5 - amber is the ONLY focus signal on this wrapper and it reads
   1.38:1 against the light hero. The dark companion goes on OUTLINE here, not box-shadow: the
   wrapper already carries a drop shadow a box-shadow declaration would replace. */
.sv-hero-search:focus-within { border-color: #ffbe2e; outline: 2px solid #1b1b1b; }/*qs-legacy*/
.sv-hero-search:focus-within { border-color: var(--qs-focus); outline: 2px solid var(--qs-text); outline-offset: 0; }
.sv-hero-searchicon { padding-left: 12px; color: #4a4f55; }/*qs-legacy*/
.sv-hero-searchicon { display: flex; align-items: center; padding-left: var(--qs-sp-3); color: var(--qs-text-muted); }
.sv-hero-input {
  flex: 1 1 auto; min-width: 0;
  border: 0; outline: 0; background: transparent;
  color: #1b1b1b;/*qs-legacy*/
  font: inherit; font-size: var(--qs-text-base); color: var(--qs-text);
  padding: 12px; min-height: 44px;/*qs-legacy*/
  padding: var(--qs-sp-3); min-height: var(--qs-tap);
}
.sv-hero-input { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
/* JJ[Opus 5.5] 2026oct09 (owner request, portal P2 - "a box within a box"): the wrapper's :focus-within above is THE
   focus indicator for this search (3px amber border + 2px dark outline, the sep14 two-tone that clears 3:1 on every
   theme). The input's own `outline: 0` is (0,1,0) and loses to the global `.sv-root :focus-visible` (0,2,0) - and a
   text input matches :focus-visible however it is focused, click or Tab - so the input drew a second ring INSIDE the
   wrapper's. This (0,3,0) rule hands the indication to the wrapper alone. Only the input: the Search button still
   rings itself when it has focus. No var(): no legacy twin. Forced colours: see the last @media block. */
.sv-root .sv-hero-input:focus-visible { outline: none; box-shadow: none; }
.sv-hero-go { border-radius: 0 calc(4px - 2px) calc(4px - 2px) 0; }/*qs-legacy*/
.sv-hero-go { border-radius: 0 calc(var(--qs-radius) - 2px) calc(var(--qs-radius) - 2px) 0; }
.sv-hero-suggest {
  gap: 8px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-2); flex-wrap: wrap; align-items: center;
  margin-top: 12px; font-size: 15px;/*qs-legacy*/
  margin-top: var(--qs-sp-3); font-size: var(--qs-text-sm); color: rgba(255,255,255,.8);
}
.sv-hero-suggest button {
  background: rgba(255,255,255,.1);
  color: #fff; border: 1px solid rgba(255,255,255,.2);
  font: inherit; font-size: var(--qs-text-sm);
  padding: 4px 10px; border-radius: 99px; cursor: pointer;
}
.sv-hero-suggest button { font-size: 15px; font-size: var(--qs-text-sm); }/*qs-legacy*/
.sv-hero-suggest button:hover { background: rgba(255,255,255,.18); }

@container sv (max-width: 720px) {
  .sv-hero { padding: 24px 0; }/*qs-legacy*/
  .sv-hero { padding: var(--qs-sp-5) 0; }
  .sv-hero-h { font-size: 28px; }/*qs-legacy*/
  .sv-hero-h { font-size: var(--qs-text-2xl); }
  .sv-hero-sub { font-size: 16px; }/*qs-legacy*/
  .sv-hero-sub { font-size: var(--qs-text-base); }
  .sv-hero-search { flex-direction: column; align-items: stretch; }
  .sv-hero-go { border-radius: 0 0 4px 4px; }/*qs-legacy*/
  .sv-hero-go { border-radius: 0 0 var(--qs-radius) var(--qs-radius); width: 100%; }
}

/* â”€â”€ Dashboard actions â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-actions { padding: 32px 24px 48px; }/*qs-legacy*/
.sv-actions { padding: var(--qs-sp-6) var(--qs-sp-5) var(--qs-sp-7); }
.sv-action-grid {
  gap: 12px;/*qs-legacy*/
  display: grid; grid-template-columns: 1fr; gap: var(--qs-sp-3);
  max-width: 760px;
}
.sv-action {
  gap: 16px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-4);
  text-align: left;
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  border: 2px solid #cfd9e3;/*qs-legacy*/
  border: 2px solid var(--qs-border);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  padding: 16px 24px;/*qs-legacy*/
  padding: var(--qs-sp-4) var(--qs-sp-5);
  cursor: pointer; font: inherit; color: inherit;
  align-items: center;
  transition: border-color .12s, transform .12s, box-shadow .12s;
}
.sv-action:hover {
  border-color: #2a5d8f;/*qs-legacy*/
  border-color: var(--qs-primary);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  transform: translateY(-2px);
}
/* JJ[Fable 5] 2026sep15 (1.5, review fix): one box-shadow property per element - the hover lift above would
   otherwise REPLACE the dark focus companion while a card is hovered and keyboard-focused at once (pointer
   parked on it, Tab pressed), leaving amber alone at 1.66:1. Same trap .sv-cat.is-selected already restates. */
.sv-action:hover:focus-visible { box-shadow: 0 4px 16px rgba(0,0,0,.06), 0 0 0 5px #1b1b1b; }/*qs-legacy*/
.sv-action:hover:focus-visible { box-shadow: 0 4px 16px rgba(0,0,0,.06), 0 0 0 5px var(--qs-text); }
.sv-action--primary { border-color: #2a5d8f; background: #ecf3f8; }/*qs-legacy*/
.sv-action--primary { border-color: var(--qs-primary); background: var(--qs-primary-lighter); }
.sv-action--primary:hover { border-color: #1d4570; background: #d5e3ef; }/*qs-legacy*/
.sv-action--primary:hover { border-color: var(--qs-primary-dark); background: var(--qs-primary-light); }
.sv-action-icon {
  flex: 0 0 auto;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #2a5d8f;/*qs-legacy*/
  background: var(--qs-primary); color: #fff;
}
.sv-action-body { gap: 4px; }/*qs-legacy*/
.sv-action-body { display: flex; flex-direction: column; gap: var(--qs-sp-1); flex: 1 1 auto; min-width: 0; }
.sv-action-h { font-family: "Merriweather", "Iowan Old Style", Georgia, serif; font-size: 18px; }/*qs-legacy*/
.sv-action-h { font-family: var(--qs-font-serif); font-size: var(--qs-text-lg); font-weight: 700; }
.sv-action-p { color: #4a4f55; font-size: 15px; }/*qs-legacy*/
.sv-action-p { color: var(--qs-text-muted); font-size: var(--qs-text-sm); }
/* JJ[Opus 5.5] 2026oct09 (owner request, portal P3): the .sv-action-cta "Start ->" / "Check ->" words are gone from
   both home cards - the whole card is the link - and their rules with them; .sv-action-body (flex 1 1 auto) now
   takes the full width beside the icon. */

@container sv (max-width: 900px) {
  .sv-action-grid { grid-template-columns: 1fr; }
}
@container sv (max-width: 540px) {
  .sv-action { padding: 16px; }/*qs-legacy*/
  .sv-action { padding: var(--qs-sp-4); }
}

/* â”€â”€ Dashboard two-column â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-two-col {
  gap: 32px;/*qs-legacy*/
  display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--qs-sp-6);
  padding: 32px 24px;/*qs-legacy*/
  padding: var(--qs-sp-6) var(--qs-sp-5);
}
@container sv (max-width: 900px) {
  .sv-two-col { grid-template-columns: 1fr; }
}

.sv-recent, .sv-pop { gap: 8px; }/*qs-legacy*/
.sv-recent, .sv-pop { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--qs-sp-2); }
.sv-recent-item {
  width: 100%; text-align: left; display: flex; flex-direction: column; gap: 4px;
  padding: 12px 16px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4);
  background: #ffffff; border: 1px solid #cfd9e3; border-left: 4px solid #2a5d8f;/*qs-legacy*/
  background: var(--qs-surface); border: 1px solid var(--qs-border); border-left: 4px solid var(--qs-primary);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius); cursor: pointer; font: inherit; color: inherit;
}
.sv-recent-item:hover { background: #ecf3f8; }/*qs-legacy*/
.sv-recent-item:hover { background: var(--qs-primary-lighter); }
.sv-recent-top { gap: 8px; }/*qs-legacy*/
.sv-recent-top { display: flex; gap: var(--qs-sp-2); align-items: center; justify-content: space-between; }
.sv-recent-id { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; color: #4a4f55; }/*qs-legacy*/
.sv-recent-id { font-family: var(--qs-font-mono); font-size: var(--qs-text-xs); color: var(--qs-text-muted); font-weight: 600; }
.sv-recent-subj { font-size: 16px; }/*qs-legacy*/
.sv-recent-subj { font-weight: 600; font-size: var(--qs-text-base); }
.sv-recent-meta { font-size: 15px; color: #4a4f55; gap: 8px; }/*qs-legacy*/
.sv-recent-meta { font-size: var(--qs-text-sm); color: var(--qs-text-muted); display: flex; gap: var(--qs-sp-2); align-items: center; flex-wrap: wrap; }
.sv-recent-meta span { display: inline-flex; align-items: center; gap: 4px; }

.sv-pop-item {
  gap: 12px;/*qs-legacy*/
  width: 100%; display: flex; gap: var(--qs-sp-3); align-items: center;
  padding: 12px; background: #ffffff;/*qs-legacy*/
  padding: var(--qs-sp-3); background: var(--qs-surface);
  border: 1px solid #cfd9e3; border-radius: 4px;/*qs-legacy*/
  border: 1px solid var(--qs-border); border-radius: var(--qs-radius);
  cursor: pointer; font: inherit; text-align: left; color: inherit;
}
.sv-pop-item:hover { border-color: #2a5d8f; background: #ecf3f8; }/*qs-legacy*/
.sv-pop-item:hover { border-color: var(--qs-primary); background: var(--qs-primary-lighter); }
.sv-pop-icon {
  flex: 0 0 auto; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: #d5e3ef; color: #1d4570;/*qs-legacy*/
  background: var(--qs-primary-light); color: var(--qs-primary-dark);
  border-radius: 4px;
}
.sv-pop-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sv-pop-title { font-weight: 600; }
.sv-pop-meta { font-size: 13px; color: #4a4f55; }/*qs-legacy*/
.sv-pop-meta { font-size: var(--qs-text-xs); color: var(--qs-text-muted); }

.sv-popular {
  padding: 32px 24px 0;/*qs-legacy*/
  padding: var(--qs-sp-6) var(--qs-sp-5) 0;
  max-width: 1180px; margin: 0 auto;
  width: 100%;
}
.sv-pop--grid {
  gap: 12px;/*qs-legacy*/
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--qs-sp-3);
}
@container sv (max-width: 720px) {
  .sv-pop--grid { grid-template-columns: 1fr; }
}

/* Tickets needing attention â€” surfaced above popular articles */
.sv-actionable {
  padding: 32px 24px 0;/*qs-legacy*/
  padding: var(--qs-sp-6) var(--qs-sp-5) 0;
  max-width: 1180px; margin: 0 auto;
  width: 100%;
}
.sv-actionable .sv-section-h { color: #8a6914; }/*qs-legacy*/
.sv-actionable .sv-section-h { color: var(--qs-warn-fg); }

/* Primary CTA card + utility links */
.sv-cta {
  padding: 32px 24px 48px;/*qs-legacy*/
  padding: var(--qs-sp-6) var(--qs-sp-5) var(--qs-sp-7);
  max-width: 1180px; margin: 0 auto;
  width: 100%;
}
.sv-cta-card {
  gap: 24px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-5); align-items: center; justify-content: space-between;
  padding: 24px 32px;/*qs-legacy*/
  padding: var(--qs-sp-5) var(--qs-sp-6);
  background: #ecf3f8;/*qs-legacy*/
  background: var(--qs-primary-lighter);
  border: 2px solid #d5e3ef;/*qs-legacy*/
  border: 2px solid var(--qs-primary-light);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  flex-wrap: wrap;
}
.sv-cta-body { flex: 1 1 320px; min-width: 0; }
.sv-cta-h {
  font-family: "Merriweather", "Iowan Old Style", Georgia, serif;/*qs-legacy*/
  font-family: var(--qs-font-serif);
  font-size: 22px;/*qs-legacy*/
  font-size: var(--qs-text-xl);
  margin: 0 0 4px;/*qs-legacy*/
  margin: 0 0 var(--qs-sp-1);
  color: #122f4f;/*qs-legacy*/
  color: var(--qs-primary-darker);
}
.sv-cta-body p { color: #4a4f55; }/*qs-legacy*/
.sv-cta-body p { color: var(--qs-text-muted); }
.sv-cta-utility {
  text-align: center;
  margin-top: 12px;/*qs-legacy*/
  margin-top: var(--qs-sp-3);
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm);
  color: #4a4f55;/*qs-legacy*/
  color: var(--qs-text-muted);
}
@container sv (max-width: 720px) {
  .sv-cta-card { padding: 16px; }/*qs-legacy*/
  .sv-cta-card { padding: var(--qs-sp-4); }
  .sv-cta-card .sv-btn { width: 100%; }
  .sv-cta-utility { gap: 4px; }/*qs-legacy*/
  .sv-cta-utility { display: flex; flex-direction: column; gap: var(--qs-sp-1); }
  .sv-cta-utility span { display: none; }
}

.sv-callout-wrap { padding: 0 24px 32px; }/*qs-legacy*/
.sv-callout-wrap { padding: 0 var(--qs-sp-5) var(--qs-sp-6); }
.sv-callout {
  gap: 16px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-4); align-items: center; justify-content: space-between;
  padding: 24px;/*qs-legacy*/
  padding: var(--qs-sp-5);
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  border: 1px solid #cfd9e3;/*qs-legacy*/
  border: 1px solid var(--qs-border);
  border-left: 6px solid #157a73;/*qs-legacy*/
  border-left: 6px solid var(--qs-accent);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  flex-wrap: wrap;
}
.sv-callout-h { font-family: "Merriweather", "Iowan Old Style", Georgia, serif; font-size: 22px; margin-bottom: 4px; }/*qs-legacy*/
.sv-callout-h { font-family: var(--qs-font-serif); font-size: var(--qs-text-xl); margin-bottom: var(--qs-sp-1); }
.sv-callout-body { max-width: 60ch; }
.sv-callout-body p { color: #4a4f55; }/*qs-legacy*/
.sv-callout-body p { color: var(--qs-text-muted); }

/* â”€â”€ Common page heads â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-submit-head, .sv-tickets-head, .sv-kb-hero, .sv-status-head {
  padding: 12px 0 24px;/*qs-legacy*/
  padding: var(--qs-sp-3) 0 var(--qs-sp-5);
}
.sv-tickets-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 12px;/*qs-legacy*/
  gap: var(--qs-sp-3); flex-wrap: wrap;
}
.sv-tickets-head h1, .sv-submit-head h1, .sv-kb-hero h1, .sv-status-head h1 {
  margin-bottom: 8px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-2);
}
.sv-kb-hero p, .sv-status-head p, .sv-submit-head p { color: #4a4f55; }/*qs-legacy*/
.sv-kb-hero p, .sv-status-head p, .sv-submit-head p { color: var(--qs-text-muted); max-width: 60ch; }


/* ===================== views.css ===================== */
/* views.css â€” Per-view styling: submit, tickets, KB, status, article */

/* â”€â”€ Submit â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* JJ[Fable 5] 2026sep01: the tips sidebar is gone (user request - the advice now lives in a hover/focus
   tip beside the required-fields note), so the submit view is a single column. The heading block and the
   breadcrumb take the same horizontal inset as the form card's padding so the heading, the crumbs and the
   fields share one left edge - the form used to sit visibly to the right of its own heading. */
.sv-submit-grid {
  gap: 24px;/*qs-legacy*/
  display: grid; grid-template-columns: 1fr; gap: var(--qs-sp-5);
  padding-bottom: 32px;/*qs-legacy*/
  padding-bottom: var(--qs-sp-6);
}
/* JJ[Opus 5.5] 2026sep30 (M4 review, client-a11y [5], WCAG 1.4.10): a grid item's automatic minimum width is its min-content
   width, and the Attachments file input's min-content is wider than a 320 px screen's track - the form stretched past it and
   the page scrolled sideways by 10 px (with or without the editor). max-width on the file input or minmax(0,1fr) on the
   track do not remove it; letting the item shrink does, and nothing inside it is clipped. */
.sv-submit-main { min-width: 0; }
/* JJ[Opus 5.5] 2026oct18: portal batch B review fix - the Back row is a .sv-container (the slot the breadcrumb takes),
   but on the status and help-center pages it sits INSIDE the page's own .sv-container: the two side paddings stacked
   and the button started 24px (12px at 720px or narrower) right of the h1, where the old link was flush. A nested row
   drops its own side padding (0,2,0 outranks .sv-container's 0,1,0 at every width, the 720px query included). On the
   submit page the row's parent is not a container, so it takes the fixed inset the trail it replaces and the heading
   use (the plain container drops to 12px at 720px or narrower, the heading does not). */
.sv-submit .sv-submit-head, .sv-submit .sv-breadcrumb, .sv-submit .sv-backrow { padding-left: 24px; padding-right: 24px; }/*qs-legacy*/
.sv-submit .sv-submit-head, .sv-submit .sv-breadcrumb, .sv-submit .sv-backrow { padding-left: var(--qs-sp-5); padding-right: var(--qs-sp-5); }
.sv-container > .sv-backrow { padding-left: 0; padding-right: 0; }
/* JJ[Opus 5.5] 2026oct09 (owner request, portal P4): the Tips trigger sits in a row WITH the heading instead of at
   the end of the "Required fields" line, which stays below. Baseline alignment puts the word on the heading's
   (last) text line; flex-wrap drops it under a heading that fills the width (narrow screens), where the bubble,
   still anchored to .sv-tipwrap, opens from the left edge. The button keeps the size it had - it is the h1's
   sibling, so it inherits the head block's body size, not the 36px heading's. The row takes over the heading's
   bottom margin so the gap to the required-fields line is unchanged. */
.sv-submit-titlerow {
  display: flex; flex-wrap: wrap; align-items: baseline;
  column-gap: 16px; row-gap: 4px;/*qs-legacy*/
  column-gap: var(--qs-sp-4); row-gap: var(--qs-sp-1);
  margin-bottom: 8px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-2);
}
.sv-submit-head .sv-submit-titlerow h1 { margin-bottom: 0; }

/* the Tips hover/focus tip. Hover or keyboard focus reveals it (focus-within covers touch, where tapping
   the trigger focuses it); an unstyled legacy browser simply shows the tips inline.
   JJ[Opus 5] 2026sep21: this block used to open "pure CSS, no script", and that sentence was the defect.
   Two things came out of it. (1) The trigger is now a <button type="button">, not an <a href="#sv-tips">
   pointing at a non-focusable <span> - so this rule has to undo the user agent's button chrome or the one
   word "Tips" turns into a grey 3D box in a 13px system font. `font: inherit` MUST stay ahead of
   `font-weight: 600`: the shorthand resets weight, so the other order would silently drop the bold.
   Nothing else is needed for focus - `.sv-root :focus-visible` (above) already rings any focusable child.
   (2) The reveal is split below so the bubble is dismissible (1.4.13) and yields to the keyboard (2.4.11). */
.sv-tipwrap { position: relative; display: inline-block; }
.sv-tiplink { color: #2a5d8f; }/*qs-legacy*/
.sv-tiplink { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--qs-primary); text-decoration: underline dotted; cursor: help; }
.sv-tip {
  display: none; position: absolute; left: 0; top: 100%; z-index: 20;
  padding: 12px; margin-top: 4px;/*qs-legacy*/
  width: 24rem; max-width: 80vw; padding: var(--qs-sp-3); margin-top: var(--qs-sp-1);
  background: #ffffff; color: #1b1b1b; border: 1px solid #cfd9e3;/*qs-legacy*/
  background: var(--qs-surface); color: var(--qs-text); border: 1px solid var(--qs-border); border-radius: 4px;
  font-size: 15px;/*qs-legacy*/
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); font-size: var(--qs-text-sm); text-align: left;
}
/* JJ[Fable 5] 2026sep21 (review of the Tier 3 work): the first Tier 3 cut gated the hover reveal behind
   `body:has(:focus-visible)` so a resting pointer could not cover a field a keyboard user had tabbed to. It was
   withdrawn: a text box matches :focus-visible however it was focused, so from the moment a requester CLICKED
   into any field - the normal state of this page - hovering Tips did nothing at all. The criterion that governs
   a hover bubble over form fields is 1.4.13, and Escape-to-dismiss (below) meets it; tabbing on into the fields
   already closes a focus-revealed bubble because :focus-within stops matching. */
.sv-tipwrap:hover .sv-tip { display: block; }
.sv-tipwrap:focus-within .sv-tip, .sv-tiplink:focus + .sv-tip { display: block; }
/* JJ[Opus 5] 2026sep21 (a11y Tier 3, WCAG 1.4.13 Content on Hover or Focus - Dismissible): the page script
   puts `is-dismissed` on the wrapper when Escape is pressed and takes it off again the moment the pointer or
   focus leaves, so a dismissal lasts for this visit to the control rather than forever. It is deliberately an
   ADDITIVE class that OVERRIDES the three reveal rules instead of a rewrite of them, because the reveal has
   to keep working byte-for-byte with script off (the portal's no-JS rule) - there, nothing ever sets the
   class and nothing below can match. All three clauses are needed: Escape is pressed while the trigger still
   has focus, so suppressing only :hover would leave the bubble sitting there on its own focus rule. */
.sv-tipwrap.is-dismissed:hover .sv-tip,
.sv-tipwrap.is-dismissed:focus-within .sv-tip,
.sv-tipwrap.is-dismissed .sv-tiplink:focus + .sv-tip { display: none; }
.sv-tip > strong { margin-bottom: 8px; }/*qs-legacy*/
.sv-tip > strong { display: block; margin-bottom: var(--qs-sp-2); }
.sv-tip .sv-tip-list { list-style: disc; padding-left: 1.2rem; margin: 0; }
.sv-tip .sv-tip-list li + li { margin-top: 4px; }/*qs-legacy*/
.sv-tip .sv-tip-list li + li { margin-top: var(--qs-sp-1); }
/* JJ[Opus 5.5] 2026oct09 (UI round 2): the Tips bubble showed TWO bullets per item - the native disc above, plus the round
   ::before dot that `.sv-tip-list li::before` (the side-card tip list rules, further down) paints on every .sv-tip-list item.
   The bubble keeps the native disc (it survives forced-colors mode, a painted background dot does not) and drops the
   side-card dot and its 16px gutter. */
.sv-tip .sv-tip-list li { padding-left: 0; }
.sv-tip .sv-tip-list li::before { content: none; }

/* Stepper */
.sv-stepper {
  margin: 0 0 12px;/*qs-legacy*/
  list-style: none; padding: 0; margin: 0 0 var(--qs-sp-3);
  display: flex; gap: 0; flex-wrap: nowrap;
  border: 1px solid #cfd9e3;/*qs-legacy*/
  border: 1px solid var(--qs-border);
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  overflow: hidden;
}
.sv-step {
  flex: 1 1 0; min-width: 0;
  gap: 8px;/*qs-legacy*/
  display: flex; align-items: center; gap: var(--qs-sp-2);
  padding: 12px 16px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4);
  border-right: 1px solid #cfd9e3;/*qs-legacy*/
  border-right: 1px solid var(--qs-border);
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm);
  position: relative;
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
}
.sv-step:last-child { border-right: 0; }
.sv-step-num {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid #68737f;/*qs-legacy*/
  border: 2px solid var(--qs-border-strong);
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  color: #4a4f55;/*qs-legacy*/
  color: var(--qs-text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;/*qs-legacy*/
  font-weight: 700; font-size: var(--qs-text-sm);
}
.sv-step--current .sv-step-num { border-color: #2a5d8f; color: #2a5d8f; background: #ecf3f8; }/*qs-legacy*/
.sv-step--current .sv-step-num { border-color: var(--qs-primary); color: var(--qs-primary); background: var(--qs-primary-lighter); }
.sv-step--current .sv-step-label { color: #1b1b1b; }/*qs-legacy*/
.sv-step--current .sv-step-label { font-weight: 700; color: var(--qs-text); }
.sv-step--done .sv-step-num { background: #2a5d8f; border-color: #2a5d8f; }/*qs-legacy*/
.sv-step--done .sv-step-num { background: var(--qs-primary); color: #fff; border-color: var(--qs-primary); }
.sv-step--done .sv-step-label { color: #1b1b1b; }/*qs-legacy*/
.sv-step--done .sv-step-label { color: var(--qs-text); }
.sv-step--current { background: #ecf3f8; }/*qs-legacy*/
.sv-step--current { background: var(--qs-primary-lighter); }
.sv-step-label { color: #4a4f55; }/*qs-legacy*/
.sv-step-label { color: var(--qs-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@container sv (max-width: 720px) {
  .sv-step-label { display: none; }
  .sv-step--current .sv-step-label { display: inline; }
  .sv-step { padding: 12px; }/*qs-legacy*/
  .sv-step { padding: var(--qs-sp-3); }
}

/* Submit card + fieldsets */
.sv-submit-card {
  padding: 24px;/*qs-legacy*/
  padding: var(--qs-sp-5);
  margin-bottom: 16px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-4);
}
.sv-fieldset { border: 0; padding: 0; margin: 0; }
.sv-legend { margin-bottom: 16px; }/*qs-legacy*/
.sv-legend { padding: 0; margin-bottom: var(--qs-sp-4); }
.sv-step-count { font-size: 15px; color: #4a4f55; margin-bottom: 4px; }/*qs-legacy*/
.sv-step-count { display: block; font-size: var(--qs-text-sm); color: var(--qs-text-muted); font-weight: 600; margin-bottom: var(--qs-sp-1); }
.sv-legend h2 { font-family: "Merriweather", "Iowan Old Style", Georgia, serif; font-size: 28px; margin-bottom: 8px; }/*qs-legacy*/
.sv-legend h2 { font-family: var(--qs-font-serif); font-size: var(--qs-text-2xl); margin-bottom: var(--qs-sp-2); }
.sv-legend p { color: #4a4f55; font-size: 16px; }/*qs-legacy*/
.sv-legend p { color: var(--qs-text-muted); font-size: var(--qs-text-base); max-width: 64ch; }

/* JJ[Fable 5] 2026sep15 (1.9, review fix): the reason line is a flex item in this wrapping row, so on a phone it
   pushed Submit onto a second line only WHILE it had text - the button then jumped 48px the instant the form
   went valid. Below 720px the line gets its own reserved full-width row above the buttons instead. 25px clears
   both classes say() uses (.sv-hint 15px and .sv-error-text 16px at --qs-line-base). */
@container sv (max-width: 720px) {
  #sv-submit-why { order: -1; flex: 1 1 100%; min-height: 25px; }
}
.sv-submit-actions {
  gap: 8px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-2); align-items: center;
  margin-top: 24px; padding-top: 16px;/*qs-legacy*/
  margin-top: var(--qs-sp-5); padding-top: var(--qs-sp-4);
  border-top: 1px solid #cfd9e3;/*qs-legacy*/
  border-top: 1px solid var(--qs-border);
  flex-wrap: wrap;
}

/* Category radio cards */
.sv-cat-grid {
  gap: 12px;/*qs-legacy*/
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--qs-sp-3);
}
@container sv (max-width: 720px) { .sv-cat-grid { grid-template-columns: 1fr; } }
.sv-cat, .sv-prio {
  gap: 12px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-3);
  padding: 12px 16px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4);
  border: 2px solid #cfd9e3;/*qs-legacy*/
  border: 2px solid var(--qs-border);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  background: #ffffff;/*qs-legacy*/
  cursor: pointer; background: var(--qs-surface);
  transition: border-color .12s, background .12s;
}
.sv-cat:hover, .sv-prio:hover { border-color: #68737f; background: #e2ebf3; }/*qs-legacy*/
.sv-cat:hover, .sv-prio:hover { border-color: var(--qs-border-strong); background: var(--qs-surface-alt); }
.sv-cat.is-selected, .sv-prio.is-selected {
  border-color: #2a5d8f; background: #ecf3f8;/*qs-legacy*/
  border-color: var(--qs-primary); background: var(--qs-primary-lighter);
  box-shadow: inset 4px 0 0 #2a5d8f;/*qs-legacy*/
  box-shadow: inset 4px 0 0 var(--qs-primary);
}
/* JJ[Opus 5] 2026sep14: item 1.5 - same amber + dark companion as :focus-visible above. The
   second line re-states .is-selected's inset marker, which the companion would otherwise
   replace (one box-shadow property per element). */
.sv-cat:focus-within, .sv-prio:focus-within { outline: 3px solid #ffbe2e; box-shadow: 0 0 0 5px #1b1b1b; }/*qs-legacy*/
.sv-cat:focus-within, .sv-prio:focus-within { outline: 3px solid var(--qs-focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--qs-text); }
.sv-cat.is-selected:focus-within, .sv-prio.is-selected:focus-within { box-shadow: inset 4px 0 0 #2a5d8f, 0 0 0 5px #1b1b1b; }/*qs-legacy*/
.sv-cat.is-selected:focus-within, .sv-prio.is-selected:focus-within { box-shadow: inset 4px 0 0 var(--qs-primary), 0 0 0 5px var(--qs-text); }
.sv-cat-radio {
  flex: 0 0 auto;
  width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid #68737f;/*qs-legacy*/
  border: 2px solid var(--qs-border-strong);
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.is-selected .sv-cat-radio { border-color: #2a5d8f; }/*qs-legacy*/
.is-selected .sv-cat-radio { border-color: var(--qs-primary); }
.sv-cat-radio span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2a5d8f;/*qs-legacy*/
  background: var(--qs-primary);
  transform: scale(0); transition: transform .15s;
}
.is-selected .sv-cat-radio span { transform: scale(1); }
.sv-cat-body, .sv-prio-body { display: flex; flex-direction: column; gap: 2px; }
.sv-cat-label, .sv-prio-label { font-weight: 600; }
.sv-cat-desc, .sv-prio-desc { font-size: 15px; color: #4a4f55; }/*qs-legacy*/
.sv-cat-desc, .sv-prio-desc { font-size: var(--qs-text-sm); color: var(--qs-text-muted); }
.sv-prio-list { gap: 8px; }/*qs-legacy*/
.sv-prio-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--qs-sp-2); }
@container sv (max-width: 720px) { .sv-prio-list { grid-template-columns: 1fr; } }

/* Radio + checkbox rows */
.sv-radiogroup { gap: 16px; }/*qs-legacy*/
.sv-radiogroup { display: flex; gap: var(--qs-sp-4); flex-wrap: wrap; }
.sv-radio, .sv-checkrow {
  gap: 8px;/*qs-legacy*/
  display: inline-flex; align-items: center; gap: var(--qs-sp-2);
  padding: 8px 0;/*qs-legacy*/
  cursor: pointer; padding: var(--qs-sp-2) 0;
  font-size: 16px;/*qs-legacy*/
  font-size: var(--qs-text-base);
}
.sv-radio input, .sv-checkrow input { accent-color: #2a5d8f; }/*qs-legacy*/
.sv-radio input, .sv-checkrow input { width: 20px; height: 20px; accent-color: var(--qs-primary); }
.sv-checkrow { padding: 8px; border-radius: 4px; margin-top: 12px; }/*qs-legacy*/
.sv-checkrow { padding: var(--qs-sp-2); border-radius: var(--qs-radius); margin-top: var(--qs-sp-3); align-items: flex-start; }
.sv-checkrow:hover { background: #e2ebf3; }/*qs-legacy*/
.sv-checkrow:hover { background: var(--qs-surface-alt); }

/* File drop */
.sv-filedrop {
  gap: 8px;/*qs-legacy*/
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--qs-sp-2);
  border: 2px dashed #68737f;/*qs-legacy*/
  border: 2px dashed var(--qs-border-strong);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  padding: 16px;/*qs-legacy*/
  padding: var(--qs-sp-4);
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm);
  background: #e2ebf3;/*qs-legacy*/
  background: var(--qs-surface-alt);
}
.sv-filedrop.is-drag { border-color: #2a5d8f; background: #ecf3f8; }/*qs-legacy*/
.sv-filedrop.is-drag { border-color: var(--qs-primary); background: var(--qs-primary-lighter); }
.sv-filelist { margin: 8px 0 0; }/*qs-legacy*/
.sv-filelist { list-style: none; padding: 0; margin: var(--qs-sp-2) 0 0; width: 100%; display: flex; flex-direction: column; gap: 4px; }
.sv-filelist li {
  gap: 8px;/*qs-legacy*/
  display: flex; align-items: center; gap: var(--qs-sp-2);
  padding: 4px 8px; background: #ffffff;/*qs-legacy*/
  padding: 4px var(--qs-sp-2); background: var(--qs-surface);
  border: 1px solid #cfd9e3; border-radius: 4px;/*qs-legacy*/
  border: 1px solid var(--qs-border); border-radius: var(--qs-radius);
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm);
}
.sv-file-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-file-size { color: #4a4f55; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; }/*qs-legacy*/
.sv-file-size { color: var(--qs-text-muted); font-family: var(--qs-font-mono); font-size: var(--qs-text-xs); }
.sv-icon-btn {
  background: transparent; border: 0; cursor: pointer; padding: 4px;
  color: #4a4f55;/*qs-legacy*/
  border-radius: 4px; color: var(--qs-text-muted); display: inline-flex; align-items: center;
}
.sv-icon-btn:hover { background: #e2ebf3; color: #1b1b1b; }/*qs-legacy*/
.sv-icon-btn:hover { background: var(--qs-surface-alt); color: var(--qs-text); }

/* Review step */
.sv-review { display: flex; flex-direction: column; gap: 0; }
.sv-review-sec {
  font-family: "Merriweather", "Iowan Old Style", Georgia, serif;/*qs-legacy*/
  font-family: var(--qs-font-serif);
  font-size: 18px; margin: 16px 0 8px;/*qs-legacy*/
  font-size: var(--qs-text-lg); margin: var(--qs-sp-4) 0 var(--qs-sp-2);
  padding-bottom: 4px; border-bottom: 1px solid #cfd9e3;/*qs-legacy*/
  padding-bottom: var(--qs-sp-1); border-bottom: 1px solid var(--qs-border);
}
.sv-review-sec:first-child { margin-top: 0; }
.sv-review-row {
  gap: 12px;/*qs-legacy*/
  display: grid; grid-template-columns: 180px 1fr; gap: var(--qs-sp-3);
  padding: 8px 0;/*qs-legacy*/
  padding: var(--qs-sp-2) 0;
  border-bottom: 1px solid #e2ebf3;/*qs-legacy*/
  border-bottom: 1px solid var(--qs-surface-alt);
}
.sv-review-row dt { color: #4a4f55; font-size: 15px; }/*qs-legacy*/
.sv-review-row dt { color: var(--qs-text-muted); font-weight: 600; font-size: var(--qs-text-sm); }
.sv-review-row dd {
  gap: 12px;/*qs-legacy*/
  margin: 0; display: flex; justify-content: space-between; gap: var(--qs-sp-3);
  word-break: break-word;
}
.sv-review-row dd span { flex: 1 1 auto; }
@container sv (max-width: 720px) {
  .sv-review-row { grid-template-columns: 1fr; gap: 2px; }
}

/* Confirmation */
.sv-confirm { padding: 48px 24px; }/*qs-legacy*/
.sv-confirm { padding: var(--qs-sp-7) var(--qs-sp-5); }
.sv-confirm-card { padding: 48px; }/*qs-legacy*/
.sv-confirm-card { padding: var(--qs-sp-7); text-align: center; max-width: 720px; margin: 0 auto; }
.sv-confirm-icon { margin-bottom: 12px; }/*qs-legacy*/
.sv-confirm-icon { display: flex; justify-content: center; margin-bottom: var(--qs-sp-3); }
.sv-confirm h1 { font-size: 28px; margin-bottom: 12px; }/*qs-legacy*/
.sv-confirm h1 { font-size: var(--qs-text-2xl); margin-bottom: var(--qs-sp-3); }
.sv-lead { font-size: 18px; margin-bottom: 24px; color: #4a4f55; }/*qs-legacy*/
.sv-lead { font-size: var(--qs-text-lg); margin-bottom: var(--qs-sp-5); color: var(--qs-text-muted); }
.sv-confirm-id { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; background: #ecf3f8; color: #1d4570; }/*qs-legacy*/
.sv-confirm-id { font-family: var(--qs-font-mono); background: var(--qs-primary-lighter); color: var(--qs-primary-dark); padding: 2px 8px; border-radius: 2px; }
.sv-next-steps {
  padding-left: 16px; margin: 0 auto 24px;/*qs-legacy*/
  text-align: left; padding-left: var(--qs-sp-4); margin: 0 auto var(--qs-sp-5);
  max-width: 540px;
  gap: 12px;/*qs-legacy*/
  display: flex; flex-direction: column; gap: var(--qs-sp-3);
}
.sv-next-steps li { padding-left: 4px; }/*qs-legacy*/
.sv-next-steps li { padding-left: var(--qs-sp-1); }
.sv-confirm-actions { gap: 8px; }/*qs-legacy*/
.sv-confirm-actions { display: flex; gap: var(--qs-sp-2); justify-content: center; flex-wrap: wrap; }

/* Tip side card */
.sv-side-card { padding: 16px; }/*qs-legacy*/
.sv-side-card { padding: var(--qs-sp-4); }
.sv-side-card h3 { font-family: "Merriweather", "Iowan Old Style", Georgia, serif; font-size: 18px; margin-bottom: 8px; }/*qs-legacy*/
.sv-side-card h3 { font-family: var(--qs-font-serif); font-size: var(--qs-text-lg); margin-bottom: var(--qs-sp-2); }
.sv-side-card p { color: #4a4f55; font-size: 15px; margin-bottom: 12px; }/*qs-legacy*/
.sv-side-card p { color: var(--qs-text-muted); font-size: var(--qs-text-sm); margin-bottom: var(--qs-sp-3); }
.sv-side-card p:last-child { margin-bottom: 0; }
.sv-side-card ul { gap: 8px; }/*qs-legacy*/
.sv-side-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--qs-sp-2); }
.sv-side-card--accent { background: #ecf3f8; border-color: #d5e3ef; }/*qs-legacy*/
.sv-side-card--accent { background: var(--qs-primary-lighter); border-color: var(--qs-primary-light); }
.sv-tip-list { gap: 12px; }/*qs-legacy*/
.sv-tip-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--qs-sp-3); }
.sv-tip-list li { font-size: 15px; padding-left: 16px; }/*qs-legacy*/
.sv-tip-list li { font-size: var(--qs-text-sm); padding-left: var(--qs-sp-4); position: relative; }
.sv-tip-list li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  background: #2a5d8f;/*qs-legacy*/
  width: 8px; height: 8px; background: var(--qs-primary); border-radius: 50%;
}

/* Sign-in gate for My requests */
.sv-gate { padding: 32px 24px; }/*qs-legacy*/
.sv-gate { padding: var(--qs-sp-6) var(--qs-sp-5); }
.sv-gate-card {
  max-width: 520px; margin: 0 auto;
  padding: 32px;/*qs-legacy*/
  padding: var(--qs-sp-6);
  text-align: center;
  gap: 12px;/*qs-legacy*/
  display: flex; flex-direction: column; align-items: center; gap: var(--qs-sp-3);
}
.sv-gate-card h1 { font-size: 28px; }/*qs-legacy*/
.sv-gate-card h1 { font-size: var(--qs-text-2xl); }
.sv-gate-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #ecf3f8; color: #1d4570;/*qs-legacy*/
  background: var(--qs-primary-lighter); color: var(--qs-primary-dark);
}
.sv-gate-card .sv-divider { width: 100%; }

/* Signed-in indicator in header */
.sv-signedin {
  gap: 8px;/*qs-legacy*/
  display: inline-flex; align-items: center; gap: var(--qs-sp-2);
  color: #122f4f;/*qs-legacy*/
  color: var(--qs-band-fg);
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm); font-weight: 600;
  padding: 0 8px;/*qs-legacy*/
  padding: 0 var(--qs-sp-2);
}

/* â”€â”€ Tickets list â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-tabs {
  border-bottom: 2px solid #cfd9e3;/*qs-legacy*/
  display: flex; gap: 0; border-bottom: 2px solid var(--qs-border);
  margin-bottom: 16px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-4); overflow-x: auto;
}
.sv-tab {
  background: transparent; border: 0; cursor: pointer;
  padding: 12px 16px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4);
  font: inherit; font-weight: 600; font-size: var(--qs-text-base);
  color: #4a4f55;/*qs-legacy*/
  color: var(--qs-text-muted);
  border-bottom: 4px solid transparent; margin-bottom: -2px;
  gap: 8px;/*qs-legacy*/
  display: inline-flex; align-items: center; gap: var(--qs-sp-2);
  white-space: nowrap;
}
.sv-tab { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
.sv-tab:hover { color: #1b1b1b; background: #e2ebf3; }/*qs-legacy*/
.sv-tab:hover { color: var(--qs-text); background: var(--qs-surface-alt); }
.sv-tab.is-active { color: #1d4570; border-bottom-color: #2a5d8f; }/*qs-legacy*/
.sv-tab.is-active { color: var(--qs-primary-dark); border-bottom-color: var(--qs-primary); }
.sv-tab-count {
  background: #e2ebf3; color: #4a4f55;/*qs-legacy*/
  background: var(--qs-surface-alt); color: var(--qs-text-muted);
  padding: 2px 8px; border-radius: 10px;
  font-size: 13px;/*qs-legacy*/
  font-size: var(--qs-text-xs); font-weight: 700;
}
.sv-tab.is-active .sv-tab-count { background: #2a5d8f; }/*qs-legacy*/
.sv-tab.is-active .sv-tab-count { background: var(--qs-primary); color: #fff; }

.sv-filter-bar {
  gap: 12px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-3);
  margin-bottom: 16px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-4); flex-wrap: wrap;
  align-items: center;
}
.sv-search-wrap {
  position: relative; flex: 1 1 280px; min-width: 220px;
}
.sv-search-icon {
  left: 12px;/*qs-legacy*/
  position: absolute; left: var(--qs-sp-3); top: 50%; transform: translateY(-50%);
  color: #4a4f55;/*qs-legacy*/
  color: var(--qs-text-muted); pointer-events: none;
}
.sv-input--search { padding-left: calc(12px * 2 + 16px); }/*qs-legacy*/
.sv-input--search { padding-left: calc(var(--qs-sp-3) * 2 + 16px); }
.sv-inline-field { gap: 8px; }/*qs-legacy*/
.sv-inline-field { display: inline-flex; align-items: center; gap: var(--qs-sp-2); flex-wrap: nowrap; }
.sv-inline-label { font-size: 15px; color: #4a4f55; }/*qs-legacy*/
.sv-inline-label { font-size: var(--qs-text-sm); font-weight: 600; color: var(--qs-text-muted); white-space: nowrap; }
.sv-select--inline { min-height: 40px; }/*qs-legacy*/
.sv-select--inline { min-width: 180px; min-height: var(--qs-control-h); }

.sv-ticket-list { gap: 8px; }/*qs-legacy*/
.sv-ticket-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--qs-sp-2); }
.sv-ticket-row {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: 140px 1fr 140px 24px;
  gap: 16px;/*qs-legacy*/
  gap: var(--qs-sp-4); align-items: center;
  padding: 16px;/*qs-legacy*/
  padding: var(--qs-sp-4);
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  border: 1px solid #cfd9e3;/*qs-legacy*/
  border: 1px solid var(--qs-border);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  cursor: pointer; font: inherit; color: inherit;
  transition: border-color .12s, background .12s;
}
.sv-ticket-row:hover { border-color: #2a5d8f; background: #ecf3f8; }/*qs-legacy*/
.sv-ticket-row:hover { border-color: var(--qs-primary); background: var(--qs-primary-lighter); }
.sv-ticket-col-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sv-ticket-id { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; color: #4a4f55; }/*qs-legacy*/
.sv-ticket-id { font-family: var(--qs-font-mono); font-size: var(--qs-text-xs); color: var(--qs-text-muted); font-weight: 600; }
.sv-ticket-subj { font-size: 16px; }/*qs-legacy*/
.sv-ticket-subj { font-weight: 600; font-size: var(--qs-text-base); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-ticket-meta { font-size: 15px; color: #4a4f55; gap: 8px; }/*qs-legacy*/
.sv-ticket-meta { font-size: var(--qs-text-sm); color: var(--qs-text-muted); display: flex; gap: var(--qs-sp-2); flex-wrap: wrap; align-items: center; }
.sv-ticket-col-time { text-align: right; display: flex; flex-direction: column; }
.sv-ticket-time-label { font-size: 13px; color: #4a4f55; }/*qs-legacy*/
.sv-ticket-time-label { font-size: var(--qs-text-xs); color: var(--qs-text-muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.sv-ticket-time-value { font-size: 15px; }/*qs-legacy*/
.sv-ticket-time-value { font-size: var(--qs-text-sm); font-weight: 600; }
.sv-ticket-col-chev { color: #4a4f55; }/*qs-legacy*/
.sv-ticket-col-chev { color: var(--qs-text-muted); }
.sv-ticket-row:hover .sv-ticket-col-chev { color: #2a5d8f; }/*qs-legacy*/
.sv-ticket-row:hover .sv-ticket-col-chev { color: var(--qs-primary); }

@container sv (max-width: 720px) {
  .sv-ticket-row {
    grid-template-columns: 1fr;
    gap: 8px;/*qs-legacy*/
    gap: var(--qs-sp-2);
  }
  .sv-ticket-col-time { gap: 4px; }/*qs-legacy*/
  .sv-ticket-col-time { text-align: left; flex-direction: row; gap: var(--qs-sp-1); align-items: baseline; }
  .sv-ticket-col-chev { display: none; }
  .sv-ticket-col-status { order: -1; }
}

.sv-empty-tickets { padding: 32px 24px; }/*qs-legacy*/
.sv-empty-tickets { padding: var(--qs-sp-6) var(--qs-sp-5); }

/* â”€â”€ Ticket detail â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-detail-head { padding-bottom: 16px; }/*qs-legacy*/
.sv-detail-head { padding-bottom: var(--qs-sp-4); }
.sv-back {
  background: transparent; border: 0; cursor: pointer; font: inherit;
  color: #2a5d8f;/*qs-legacy*/
  color: var(--qs-primary); font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 0; margin-bottom: 12px;/*qs-legacy*/
  padding: var(--qs-sp-1) 0; margin-bottom: var(--qs-sp-3);
}
.sv-back:hover { text-decoration: underline; }
.sv-detail-title { gap: 12px; }/*qs-legacy*/
.sv-detail-title { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--qs-sp-3); flex-wrap: wrap; }
.sv-detail-id { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; color: #4a4f55; }/*qs-legacy*/
.sv-detail-id { font-family: var(--qs-font-mono); font-size: var(--qs-text-sm); color: var(--qs-text-muted); font-weight: 600; }
.sv-detail-title h1 { font-size: 28px; margin-top: 4px; }/*qs-legacy*/
.sv-detail-title h1 { font-size: var(--qs-text-2xl); margin-top: var(--qs-sp-1); }

.sv-detail-grid {
  gap: 24px;/*qs-legacy*/
  display: grid; grid-template-columns: 1fr 320px; gap: var(--qs-sp-5);
  padding-bottom: 32px;/*qs-legacy*/
  padding-bottom: var(--qs-sp-6);
}
@container sv (max-width: 900px) { .sv-detail-grid { grid-template-columns: 1fr; } }

.sv-thread { gap: 16px; }/*qs-legacy*/
.sv-thread { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--qs-sp-4); }
.sv-msg { gap: 12px; }/*qs-legacy*/
.sv-msg { display: flex; gap: var(--qs-sp-3); }
.sv-msg-avatar {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #2a5d8f;/*qs-legacy*/
  background: var(--qs-primary); color: #fff; font-weight: 700;
}
.sv-msg--you .sv-msg-avatar { background: #e2ebf3; color: #1b1b1b; border: 1px solid #cfd9e3; }/*qs-legacy*/
.sv-msg--you .sv-msg-avatar { background: var(--qs-surface-alt); color: var(--qs-text); border: 1px solid var(--qs-border); }
.sv-msg-body {
  flex: 1 1 auto;
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  border: 1px solid #cfd9e3;/*qs-legacy*/
  border: 1px solid var(--qs-border);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  padding: 12px 16px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4);
}
.sv-msg--agent .sv-msg-body { border-left: 4px solid #2a5d8f; }/*qs-legacy*/
.sv-msg--agent .sv-msg-body { border-left: 4px solid var(--qs-primary); }
.sv-msg-head { gap: 12px; margin-bottom: 4px; }/*qs-legacy*/
.sv-msg-head { display: flex; justify-content: space-between; gap: var(--qs-sp-3); margin-bottom: var(--qs-sp-1); flex-wrap: wrap; }
.sv-msg-name { font-size: 16px; }/*qs-legacy*/
.sv-msg-name { font-weight: 700; font-size: var(--qs-text-base); }
.sv-msg-date { font-size: 13px; color: #4a4f55; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }/*qs-legacy*/
.sv-msg-date { font-size: var(--qs-text-xs); color: var(--qs-text-muted); font-family: var(--qs-font-mono); }
.sv-msg-body p { font-size: 16px; line-height: 1.55; }/*qs-legacy*/
.sv-msg-body p { font-size: var(--qs-text-base); line-height: var(--qs-line-base); }

.sv-reply { margin-top: 24px; padding-top: 24px; border-top: 1px solid #cfd9e3; }/*qs-legacy*/
.sv-reply { margin-top: var(--qs-sp-5); padding-top: var(--qs-sp-5); border-top: 1px solid var(--qs-border); }
.sv-reply-actions { gap: 8px; margin-top: 12px; }/*qs-legacy*/
.sv-reply-actions { display: flex; gap: var(--qs-sp-2); margin-top: var(--qs-sp-3); align-items: center; flex-wrap: wrap; }

.sv-deflist { gap: 8px; }/*qs-legacy*/
.sv-deflist { display: flex; flex-direction: column; gap: var(--qs-sp-2); }
.sv-deflist > div { gap: 8px; font-size: 15px; padding-bottom: 4px; border-bottom: 1px solid #e2ebf3; }/*qs-legacy*/
.sv-deflist > div { display: grid; grid-template-columns: 1fr 1fr; gap: var(--qs-sp-2); align-items: baseline; font-size: var(--qs-text-sm); padding-bottom: var(--qs-sp-1); border-bottom: 1px solid var(--qs-surface-alt); }
.sv-deflist > div:last-child { border-bottom: 0; }
.sv-deflist dt { color: #4a4f55; }/*qs-legacy*/
.sv-deflist dt { color: var(--qs-text-muted); font-weight: 600; }
.sv-deflist dd { margin: 0; font-weight: 500; }
.sv-actionlist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.sv-side-link {
  width: 100%; text-align: left;
  background: transparent; border: 0; cursor: pointer;
  font: inherit; font-size: var(--qs-text-sm); font-weight: 500;
  padding: 8px 0;/*qs-legacy*/
  padding: var(--qs-sp-2) 0;
  gap: 8px;/*qs-legacy*/
  display: flex; align-items: center; justify-content: space-between; gap: var(--qs-sp-2);
  border-bottom: 1px solid #e2ebf3;/*qs-legacy*/
  border-bottom: 1px solid var(--qs-surface-alt);
  color: #1b1b1b;/*qs-legacy*/
  color: var(--qs-text);
}
.sv-side-link { font-size: 15px; font-size: var(--qs-text-sm); }/*qs-legacy*/
.sv-side-link:hover { color: #2a5d8f; }/*qs-legacy*/
.sv-side-link:hover { color: var(--qs-primary); }
.sv-side-link:last-child { border-bottom: 0; }
.sv-side-link--danger { color: #b50909; }/*qs-legacy*/
.sv-side-link--danger { color: var(--qs-error-fg); }

/* â”€â”€ KB â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-kb-search {
  position: relative; max-width: 720px;
  display: flex; align-items: stretch;
  background: #ffffff; border: 2px solid #68737f;/*qs-legacy*/
  background: var(--qs-surface); border: 2px solid var(--qs-border-strong);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  margin-top: 12px;/*qs-legacy*/
  margin-top: var(--qs-sp-3);
}
.sv-kb-search:focus-within { border-color: #2a5d8f; }/*qs-legacy*/
.sv-kb-search:focus-within { border-color: var(--qs-primary); }
.sv-kb-searchicon { padding-left: 12px; color: #4a4f55; }/*qs-legacy*/
.sv-kb-searchicon { display: flex; align-items: center; padding-left: var(--qs-sp-3); color: var(--qs-text-muted); }
.sv-kb-input {
  flex: 1 1 auto; min-width: 0;
  border: 0; outline: 0; background: transparent;
  font: inherit; font-size: var(--qs-text-base);
  padding: 12px; min-height: 44px;/*qs-legacy*/
  padding: var(--qs-sp-3); min-height: var(--qs-tap);
}
.sv-kb-input { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
.sv-kb-clear {
  background: transparent; border: 0; cursor: pointer;
  padding: 0 12px; color: #4a4f55;/*qs-legacy*/
  padding: 0 var(--qs-sp-3); color: var(--qs-text-muted);
  display: flex; align-items: center;
}
.sv-kb-clear:hover { color: #1b1b1b; }/*qs-legacy*/
.sv-kb-clear:hover { color: var(--qs-text); }

.sv-kb-body {
  gap: 24px;/*qs-legacy*/
  display: grid; grid-template-columns: 240px 1fr; gap: var(--qs-sp-5);
  padding-bottom: 32px;/*qs-legacy*/
  padding-bottom: var(--qs-sp-6);
}
@container sv (max-width: 900px) { .sv-kb-body { grid-template-columns: 1fr; } }

.sv-side-h { font-family: "Merriweather", "Iowan Old Style", Georgia, serif; font-size: 18px; margin: 0 0 8px; }/*qs-legacy*/
.sv-side-h { font-family: var(--qs-font-serif); font-size: var(--qs-text-lg); margin: 0 0 var(--qs-sp-2); }
.sv-side-list { margin: 0 0 16px; }/*qs-legacy*/
.sv-side-list { list-style: none; padding: 0; margin: 0 0 var(--qs-sp-4); display: flex; flex-direction: column; gap: 2px; }
.sv-side-item {
  width: 100%; text-align: left; background: transparent;
  border: 0; cursor: pointer; font: inherit;
  padding: 8px 12px;/*qs-legacy*/
  padding: var(--qs-sp-2) var(--qs-sp-3);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  gap: 8px;/*qs-legacy*/
  display: flex; justify-content: space-between; align-items: center; gap: var(--qs-sp-2);
  font-size: 15px; color: #1b1b1b;/*qs-legacy*/
  font-size: var(--qs-text-sm); color: var(--qs-text);
}
.sv-side-item:hover { background: #e2ebf3; }/*qs-legacy*/
.sv-side-item:hover { background: var(--qs-surface-alt); }
.sv-side-item.is-active { background: #d5e3ef; color: #1d4570; }/*qs-legacy*/
.sv-side-item.is-active { background: var(--qs-primary-light); color: var(--qs-primary-dark); font-weight: 700; }
.sv-side-count { font-size: 13px; color: #4a4f55; }/*qs-legacy*/
.sv-side-count { font-size: var(--qs-text-xs); color: var(--qs-text-muted); }
.sv-side-item.is-active .sv-side-count { color: #1d4570; }/*qs-legacy*/
.sv-side-item.is-active .sv-side-count { color: var(--qs-primary-dark); }
.sv-side-help { margin-top: 16px; padding: 16px; }/*qs-legacy*/
.sv-side-help { margin-top: var(--qs-sp-4); padding: var(--qs-sp-4); }

.sv-kb-results-head { margin-bottom: 12px; }/*qs-legacy*/
.sv-kb-results-head { margin-bottom: var(--qs-sp-3); }
.sv-kb-count { font-size: 16px; color: #4a4f55; }/*qs-legacy*/
.sv-kb-count { font-size: var(--qs-text-base); color: var(--qs-text-muted); }
.sv-kb-count strong { color: #1b1b1b; }/*qs-legacy*/
.sv-kb-count strong { color: var(--qs-text); }
.sv-kb-list { gap: 12px; }/*qs-legacy*/
.sv-kb-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--qs-sp-3); }
.sv-kb-card {
  width: 100%; text-align: left;
  gap: 4px;/*qs-legacy*/
  display: flex; flex-direction: column; gap: var(--qs-sp-1);
  background: #ffffff; border: 1px solid #cfd9e3;/*qs-legacy*/
  background: var(--qs-surface); border: 1px solid var(--qs-border);
  border-radius: 4px; padding: 16px;/*qs-legacy*/
  border-radius: var(--qs-radius); padding: var(--qs-sp-4);
  cursor: pointer; font: inherit; color: inherit;
}
.sv-kb-card:hover { border-color: #2a5d8f; background: #ecf3f8; }/*qs-legacy*/
.sv-kb-card:hover { border-color: var(--qs-primary); background: var(--qs-primary-lighter); }
.sv-kb-card-cat {
  font-size: 13px;/*qs-legacy*/
  font-size: var(--qs-text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  color: #1d4570; margin-bottom: 4px;/*qs-legacy*/
  color: var(--qs-primary-dark); margin-bottom: var(--qs-sp-1);
}
.sv-kb-card-title { font-family: "Merriweather", "Iowan Old Style", Georgia, serif; font-size: 18px; }/*qs-legacy*/
.sv-kb-card-title { font-family: var(--qs-font-serif); font-size: var(--qs-text-lg); font-weight: 700; }
.sv-kb-card-excerpt { font-size: 15px; color: #4a4f55; }/*qs-legacy*/
.sv-kb-card-excerpt { font-size: var(--qs-text-sm); color: var(--qs-text-muted); line-height: 1.55; }
.sv-kb-card-meta { font-size: 13px; color: #4a4f55; gap: 8px; margin-top: 4px; }/*qs-legacy*/
.sv-kb-card-meta { font-size: var(--qs-text-xs); color: var(--qs-text-muted); display: flex; gap: var(--qs-sp-2); align-items: center; flex-wrap: wrap; margin-top: var(--qs-sp-1); }
.sv-kb-card-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* â”€â”€ Article â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-article-grid {
  gap: 32px;/*qs-legacy*/
  display: grid; grid-template-columns: 1fr 280px; gap: var(--qs-sp-6);
  padding-bottom: 32px;/*qs-legacy*/
  padding-bottom: var(--qs-sp-6);
}
@container sv (max-width: 900px) { .sv-article-grid { grid-template-columns: 1fr; } }
.sv-article-head { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid #cfd9e3; }/*qs-legacy*/
.sv-article-head { margin-bottom: var(--qs-sp-4); padding-bottom: var(--qs-sp-4); border-bottom: 1px solid var(--qs-border); }
.sv-article-head h1 { font-size: 36px; margin: 8px 0 12px; }/*qs-legacy*/
.sv-article-head h1 { font-size: var(--qs-text-3xl); margin: var(--qs-sp-2) 0 var(--qs-sp-3); max-width: 24ch; }
.sv-article-meta { font-size: 15px; color: #4a4f55; gap: 8px; }/*qs-legacy*/
.sv-article-meta { font-size: var(--qs-text-sm); color: var(--qs-text-muted); display: flex; gap: var(--qs-sp-2); flex-wrap: wrap; align-items: center; }
.sv-article-meta span { display: inline-flex; align-items: center; gap: 4px; }

.sv-article-body { font-size: 16px; }/*qs-legacy*/
.sv-article-body { font-size: var(--qs-text-base); line-height: 1.7; max-width: 70ch; }
.sv-article-body > * + * { margin-top: 12px; }/*qs-legacy*/
.sv-article-body > * + * { margin-top: var(--qs-sp-3); }
.sv-article-body h2 { font-family: "Merriweather", "Iowan Old Style", Georgia, serif; font-size: 22px; margin: 24px 0 8px; }/*qs-legacy*/
.sv-article-body h2 { font-family: var(--qs-font-serif); font-size: var(--qs-text-xl); margin: var(--qs-sp-5) 0 var(--qs-sp-2); }
.sv-article-body ul, .sv-article-body ol { padding-left: 24px; gap: 4px; }/*qs-legacy*/
.sv-article-body ul, .sv-article-body ol { padding-left: var(--qs-sp-5); display: flex; flex-direction: column; gap: var(--qs-sp-1); }
.sv-article-body li { padding-left: 4px; }

.sv-callout-note {
  gap: 12px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-3); align-items: flex-start;
  background: #e7f4fb; color: #07578a;/*qs-legacy*/
  background: var(--qs-info-bg); color: var(--qs-info-fg);
  border-left: 6px solid #07578a;/*qs-legacy*/
  border-left: 6px solid var(--qs-info-fg);
  padding: 12px 16px; border-radius: 4px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4); border-radius: var(--qs-radius);
  margin: 16px 0;/*qs-legacy*/
  margin: var(--qs-sp-4) 0;
}
.sv-callout-note p { color: #1b1b1b; }/*qs-legacy*/
.sv-callout-note p { color: var(--qs-text); margin-top: 4px; }
.sv-callout-note-ico { flex: 0 0 auto; margin-top: 2px; }

.sv-helpful { margin-top: 32px; padding: 24px; }/*qs-legacy*/
.sv-helpful { margin-top: var(--qs-sp-6); padding: var(--qs-sp-5); }
.sv-helpful-row { gap: 8px; margin-top: 12px; }/*qs-legacy*/
.sv-helpful-row { display: flex; gap: var(--qs-sp-2); margin-top: var(--qs-sp-3); flex-wrap: wrap; }
.sv-helpful-thanks { color: #2c6936; margin-top: 8px; }/*qs-legacy*/
.sv-helpful-thanks { color: var(--qs-success-fg); font-weight: 600; margin-top: var(--qs-sp-2); }

/* â”€â”€ Status check â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.sv-status-grid {
  gap: 24px;/*qs-legacy*/
  display: grid; grid-template-columns: 1fr 280px; gap: var(--qs-sp-5);
  padding-bottom: 32px;/*qs-legacy*/
  padding-bottom: var(--qs-sp-6);
}
@container sv (max-width: 900px) { .sv-status-grid { grid-template-columns: 1fr; } }
.sv-status-form { padding: 24px; }/*qs-legacy*/
.sv-status-form { padding: var(--qs-sp-5); }
.sv-status-result { padding: 24px; margin-top: 16px; border-left: 6px solid #2c6936; }/*qs-legacy*/
.sv-status-result { padding: var(--qs-sp-5); margin-top: var(--qs-sp-4); border-left: 6px solid var(--qs-success-fg); }
.sv-status-result-row { gap: 12px; }/*qs-legacy*/
.sv-status-result-row { display: flex; justify-content: space-between; gap: var(--qs-sp-3); align-items: flex-start; flex-wrap: wrap; }
.sv-status-result-subj { font-size: 18px; margin-top: 4px; font-family: "Merriweather", "Iowan Old Style", Georgia, serif; }/*qs-legacy*/
.sv-status-result-subj { font-weight: 700; font-size: var(--qs-text-lg); margin-top: var(--qs-sp-1); font-family: var(--qs-font-serif); }
.sv-status-quote {
  margin: 8px 0;/*qs-legacy*/
  margin: var(--qs-sp-2) 0;
  padding: 12px 16px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4);
  background: #e2ebf3;/*qs-legacy*/
  background: var(--qs-surface-alt);
  border-left: 4px solid #68737f;/*qs-legacy*/
  border-left: 4px solid var(--qs-border-strong);
}
.sv-status-quote p { margin-top: 4px; }/*qs-legacy*/
.sv-status-quote p { margin-top: var(--qs-sp-1); }


/* ===================== guided.css ===================== */
/* guided.css â€” Guided dashboard variant */

.sv-guided-hero {
  background: linear-gradient(180deg, #122f4f 0%, #1d4570 100%);/*qs-legacy*/
  background: linear-gradient(180deg, var(--qs-primary-darker) 0%, var(--qs-primary-dark) 100%);
  color: #fff;
  padding: 32px 0 32px;/*qs-legacy*/
  padding: var(--qs-sp-6) 0 var(--qs-sp-6);
  position: relative;
}
.sv-guided-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 1px, transparent 1px 24px);
  pointer-events: none;
}
.sv-guided-hero > .sv-container { position: relative; }
.sv-guided-hero .sv-eyebrow { color: #157a73; }/*qs-legacy*/
.sv-guided-hero .sv-eyebrow { color: var(--qs-accent); }

.sv-guided-h {
  font-family: "Merriweather", "Iowan Old Style", Georgia, serif;/*qs-legacy*/
  font-family: var(--qs-font-serif);
  font-size: 36px;/*qs-legacy*/
  font-size: var(--qs-text-3xl);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 12px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-3);
  max-width: 22ch;
  text-wrap: balance;
}
.sv-guided-sub {
  font-size: 18px;/*qs-legacy*/
  font-size: var(--qs-text-lg);
  color: rgba(255,255,255,.85);
  margin-bottom: 16px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-4);
  max-width: 48ch;
  text-wrap: pretty;
}

.sv-guided-ask {
  max-width: 760px;
}

/* Intro â€” two lines, one per action, above the buttons */
.sv-guided-intro {
  gap: 4px;/*qs-legacy*/
  display: flex; flex-direction: column; gap: var(--qs-sp-1);
  margin-bottom: 16px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-4);
}
.sv-guided-intro p {
  font-size: 18px;/*qs-legacy*/
  font-size: var(--qs-text-lg);
  color: rgba(255,255,255,.85);
  max-width: 56ch;
  text-wrap: pretty;
}

/* Primary CTA row â€” the prioritized "Submit a request" action */
.sv-guided-cta-row {
  gap: 12px;/*qs-legacy*/
  display: flex; align-items: center; gap: var(--qs-sp-3);
  flex-wrap: wrap;
  margin-bottom: 32px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-6);
}
.sv-guided-submit {
  flex: 0 0 auto;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
/* "Check status" â€” succinct secondary button; description sits below */
.sv-guided-track {
  gap: 8px;/*qs-legacy*/
  display: inline-flex; align-items: center; gap: var(--qs-sp-2);
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  padding: 0 16px;/*qs-legacy*/
  padding: 0 var(--qs-sp-4);
  min-height: calc(40px + 8px);/*qs-legacy*/
  min-height: calc(var(--qs-control-h) + 8px);
  font: inherit; font-size: var(--qs-text-base); font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s, border-color .12s;
}
.sv-guided-track { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
.sv-guided-track:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.sv-guided-track-note {
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm);
  color: rgba(255,255,255,.8);
  margin-bottom: 24px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-5);
  max-width: 52ch;
  text-wrap: pretty;
}
/* On light themes the band is light â€” outline in the primary color */
.sv-root.theme-cream .sv-guided-track,
.sv-root.theme-paper .sv-guided-track,
.sv-root.theme-mist  .sv-guided-track,
.sv-root.theme-sage  .sv-guided-track {
  background: transparent;
  color: #2a5d8f;/*qs-legacy*/
  color: var(--qs-primary);
  border-color: currentColor;
}
.sv-root.theme-cream .sv-guided-track:hover,
.sv-root.theme-paper .sv-guided-track:hover,
.sv-root.theme-mist  .sv-guided-track:hover,
.sv-root.theme-sage  .sv-guided-track:hover {
  background: #ecf3f8;/*qs-legacy*/
  background: var(--qs-primary-lighter);
  color: #1d4570;/*qs-legacy*/
  color: var(--qs-primary-dark);
}
.sv-root.theme-cream .sv-guided-track-note, .sv-root.theme-paper .sv-guided-track-note, .sv-root.theme-mist .sv-guided-track-note, .sv-root.theme-sage .sv-guided-track-note { color: #4a4f55; }/*qs-legacy*/
.sv-root.theme-cream .sv-guided-track-note,
.sv-root.theme-paper .sv-guided-track-note,
.sv-root.theme-mist  .sv-guided-track-note,
.sv-root.theme-sage  .sv-guided-track-note { color: var(--qs-text-muted); }

/* Light-theme text colors for intro, search lead, and browse link */
.sv-root.theme-cream .sv-guided-intro p, .sv-root.theme-paper .sv-guided-intro p, .sv-root.theme-mist .sv-guided-intro p, .sv-root.theme-sage .sv-guided-intro p { color: #4a4f55; }/*qs-legacy*/
.sv-root.theme-cream .sv-guided-intro p,
.sv-root.theme-paper .sv-guided-intro p,
.sv-root.theme-mist  .sv-guided-intro p,
.sv-root.theme-sage  .sv-guided-intro p { color: var(--qs-text-muted); }
.sv-root.theme-cream .sv-guided-searchlead, .sv-root.theme-paper .sv-guided-searchlead, .sv-root.theme-mist .sv-guided-searchlead, .sv-root.theme-sage .sv-guided-searchlead { color: #4a4f55; }/*qs-legacy*/
.sv-root.theme-cream .sv-guided-searchlead,
.sv-root.theme-paper .sv-guided-searchlead,
.sv-root.theme-mist  .sv-guided-searchlead,
.sv-root.theme-sage  .sv-guided-searchlead { color: var(--qs-text-muted); }
.sv-root.theme-cream .sv-guided-browse, .sv-root.theme-paper .sv-guided-browse, .sv-root.theme-mist .sv-guided-browse, .sv-root.theme-sage .sv-guided-browse { color: #2a5d8f; }/*qs-legacy*/
.sv-root.theme-cream .sv-guided-browse,
.sv-root.theme-paper .sv-guided-browse,
.sv-root.theme-mist  .sv-guided-browse,
.sv-root.theme-sage  .sv-guided-browse { color: var(--qs-primary); }
.sv-root.theme-cream .sv-guided-browse:hover, .sv-root.theme-paper .sv-guided-browse:hover, .sv-root.theme-mist .sv-guided-browse:hover, .sv-root.theme-sage .sv-guided-browse:hover { color: #1d4570; }/*qs-legacy*/
.sv-root.theme-cream .sv-guided-browse:hover,
.sv-root.theme-paper .sv-guided-browse:hover,
.sv-root.theme-mist  .sv-guided-browse:hover,
.sv-root.theme-sage  .sv-guided-browse:hover { color: var(--qs-primary-dark); }
.sv-guided-cta-note {
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm);
  color: #4a4f55;/*qs-legacy*/
  color: var(--qs-text-muted);
}

/* Secondary self-serve search â€” visually quieter than the CTA */
.sv-guided-searchlead {
  font-size: 16px;/*qs-legacy*/
  font-size: var(--qs-text-base);
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-2);
}

/* Browse-all-topics link under the search box */
.sv-guided-browse {
  gap: 8px;/*qs-legacy*/
  display: inline-flex; align-items: center; gap: var(--qs-sp-2);
  background: transparent;
  color: rgba(255,255,255,.9);
  border-radius: 4px;/*qs-legacy*/
  border: 0; border-radius: var(--qs-radius);
  padding: 8px 0;/*qs-legacy*/
  padding: var(--qs-sp-2) 0;
  margin-top: 8px;/*qs-legacy*/
  margin-top: var(--qs-sp-2);
  font: inherit; font-size: var(--qs-text-sm); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.sv-guided-browse { font-size: 15px; font-size: var(--qs-text-sm); }/*qs-legacy*/
.sv-guided-browse:hover { color: #fff; }

@container sv (max-width: 720px) {
  .sv-guided-cta-row { gap: 8px; }/*qs-legacy*/
  .sv-guided-cta-row { gap: var(--qs-sp-2); }
  .sv-guided-submit { width: 100%; }
  .sv-guided-track { width: 100%; justify-content: center; }
  .sv-guided-cta-note { text-align: center; width: 100%; }
}

.sv-guided-input-wrap {
  position: relative;
  display: flex; align-items: center;
  background: #fff;
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  border: 3px solid transparent;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
  transition: border-color .12s;
}
/* JJ[Opus 5] 2026sep14: item 1.5 - as .sv-hero-search: dark companion on outline, because this
   wrapper also owns a drop shadow. */
.sv-guided-input-wrap:focus-within { border-color: #ffbe2e; outline: 2px solid #1b1b1b; }/*qs-legacy*/
.sv-guided-input-wrap:focus-within { border-color: var(--qs-focus); outline: 2px solid var(--qs-text); outline-offset: 0; }
.sv-guided-input-icon {
  display: flex; align-items: center;
  padding-left: 16px;/*qs-legacy*/
  padding-left: var(--qs-sp-4);
  color: #4a4f55;/*qs-legacy*/
  color: var(--qs-text-muted);
  flex: 0 0 auto;
}
.sv-guided-input {
  flex: 1 1 auto; min-width: 0;
  border: 0; outline: 0; background: transparent;
  color: #1b1b1b;/*qs-legacy*/
  font: inherit; font-size: var(--qs-text-lg); color: var(--qs-text);
  padding: 16px 12px;/*qs-legacy*/
  padding: var(--qs-sp-4) var(--qs-sp-3);
  min-height: calc(44px + 12px);/*qs-legacy*/
  min-height: calc(var(--qs-tap) + 12px);
}
.sv-guided-input { font-size: 18px; font-size: var(--qs-text-lg); }/*qs-legacy*/
.sv-guided-clear {
  background: transparent; border: 0; cursor: pointer;
  padding: 0 12px; color: #4a4f55;/*qs-legacy*/
  padding: 0 var(--qs-sp-3); color: var(--qs-text-muted);
  display: flex; align-items: center;
  height: 100%;
}
.sv-guided-clear:hover { color: #1b1b1b; }/*qs-legacy*/
.sv-guided-clear:hover { color: var(--qs-text); }

/* Results panel slides out below the input */
.sv-guided-results {
  background: #fff;
  color: #1b1b1b;/*qs-legacy*/
  color: var(--qs-text);
  margin-top: 8px;/*qs-legacy*/
  margin-top: var(--qs-sp-2);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  padding: 12px;/*qs-legacy*/
  padding: var(--qs-sp-3);
  animation: sv-guided-in .15s ease-out;
}
@keyframes sv-guided-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}
.sv-guided-results-h {
  font-size: 13px;/*qs-legacy*/
  font-size: var(--qs-text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #4a4f55;/*qs-legacy*/
  color: var(--qs-text-muted);
  padding: 4px 8px 8px;/*qs-legacy*/
  padding: var(--qs-sp-1) var(--qs-sp-2) var(--qs-sp-2);
}
.sv-guided-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
}
.sv-guided-item {
  width: 100%; text-align: left;
  gap: 12px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-3); align-items: center;
  padding: 12px;/*qs-legacy*/
  padding: var(--qs-sp-3);
  background: transparent; border: 0; cursor: pointer;
  font: inherit; color: inherit;
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
}
.sv-guided-item:hover { background: #ecf3f8; }/*qs-legacy*/
.sv-guided-item:hover { background: var(--qs-primary-lighter); }
.sv-guided-item-ico {
  flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  background: #d5e3ef; color: #1d4570;/*qs-legacy*/
  background: var(--qs-primary-light); color: var(--qs-primary-dark);
}
.sv-guided-item-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sv-guided-item-title { font-weight: 600; }
.sv-guided-item-meta { font-size: 13px; color: #4a4f55; }/*qs-legacy*/
.sv-guided-item-meta { font-size: var(--qs-text-xs); color: var(--qs-text-muted); }

.sv-guided-fallback {
  gap: 12px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-3); align-items: center;
  justify-content: space-between; flex-wrap: wrap;
  margin-top: 8px;/*qs-legacy*/
  margin-top: var(--qs-sp-2);
  padding: 12px 12px 8px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-3) var(--qs-sp-2);
  border-top: 1px solid #cfd9e3;/*qs-legacy*/
  border-top: 1px solid var(--qs-border);
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm);
  color: #4a4f55;/*qs-legacy*/
  color: var(--qs-text-muted);
}
.sv-guided-noresult {
  padding: 12px;/*qs-legacy*/
  padding: var(--qs-sp-3);
  gap: 12px;/*qs-legacy*/
  display: flex; flex-direction: column; gap: var(--qs-sp-3);
  align-items: flex-start;
}
.sv-guided-noresult p { color: #1b1b1b; }/*qs-legacy*/
.sv-guided-noresult p { color: var(--qs-text); }

@container sv (max-width: 720px) {
  .sv-guided-hero { padding: 32px 0 24px; }/*qs-legacy*/
  .sv-guided-hero { padding: var(--qs-sp-6) 0 var(--qs-sp-5); }
  .sv-guided-h { font-size: 28px; }/*qs-legacy*/
  .sv-guided-h { font-size: var(--qs-text-2xl); }
  .sv-guided-sub { font-size: 16px; }/*qs-legacy*/
  .sv-guided-sub { font-size: var(--qs-text-base); }
  .sv-guided-input { font-size: 16px; }/*qs-legacy*/
  .sv-guided-input { font-size: var(--qs-text-base); }
  .sv-guided-fallback { justify-content: stretch; flex-direction: column; align-items: stretch; }
  .sv-guided-fallback .sv-btn { width: 100%; }
}

/* Quick tasks â€” task-first chips */
.sv-quicktasks {
  padding: 32px 24px 16px;/*qs-legacy*/
  padding: var(--qs-sp-6) var(--qs-sp-5) var(--qs-sp-4);
  max-width: 1180px; margin: 0 auto;
}
.sv-quicktask-grid {
  list-style: none; padding: 0; margin: 0;
  gap: 8px;/*qs-legacy*/
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--qs-sp-2);
}
.sv-quicktask {
  width: 100%; text-align: left;
  gap: 8px;/*qs-legacy*/
  display: flex; align-items: center; justify-content: space-between; gap: var(--qs-sp-2);
  padding: 12px 16px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4);
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  border: 1px solid #cfd9e3;/*qs-legacy*/
  border: 1px solid var(--qs-border);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  color: #1b1b1b;/*qs-legacy*/
  font: inherit; font-size: var(--qs-text-base); color: var(--qs-text);
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.sv-quicktask { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
.sv-quicktask:hover { border-color: #2a5d8f; background: #ecf3f8; color: #1d4570; }/*qs-legacy*/
.sv-quicktask:hover { border-color: var(--qs-primary); background: var(--qs-primary-lighter); color: var(--qs-primary-dark); }
.sv-quicktask svg { color: #4a4f55; }/*qs-legacy*/
.sv-quicktask svg { color: var(--qs-text-muted); }
.sv-quicktask:hover svg { color: #2a5d8f; }/*qs-legacy*/
.sv-quicktask:hover svg { color: var(--qs-primary); }

@container sv (max-width: 540px) {
  .sv-quicktask-grid { grid-template-columns: 1fr; }
}

/* Status strip */
.sv-statusstrip {
  padding: 8px 24px 48px;/*qs-legacy*/
  padding: var(--qs-sp-2) var(--qs-sp-5) var(--qs-sp-7);
  max-width: 1180px; margin: 0 auto;
}
.sv-statusstrip-row {
  gap: 12px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-3); align-items: center; justify-content: space-between;
  padding: 16px 24px;/*qs-legacy*/
  padding: var(--qs-sp-4) var(--qs-sp-5);
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  border: 1px solid #cfd9e3;/*qs-legacy*/
  border: 1px solid var(--qs-border);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  flex-wrap: wrap;
}
.sv-statusstrip-row .sv-muted-text { font-size: 15px; }/*qs-legacy*/
.sv-statusstrip-row .sv-muted-text { font-size: var(--qs-text-sm); margin-top: 4px; }
.sv-statusstrip-actions { gap: 8px; }/*qs-legacy*/
.sv-statusstrip-actions { display: flex; gap: var(--qs-sp-2); flex-wrap: wrap; }


/* ===================== document-flow overrides (JJ 2026jul02) ===================== */
/* The handoff CSS sizes .sv-root to fill an artboard (height:100%; overflow:hidden) with
   only .sv-main scrolling. In the real server-rendered page we want normal document flow:
   the whole page scrolls and the footer sits below content (min-height keeps it at the
   bottom on short pages). The container-query context (container-type/name on .sv-root)
   is preserved, so the responsive breakpoints keep working against the page width. */
/* JJ[Opus 5.5] 2026oct18: full page template - the page reset below was "html, body", which would repaint an
   organisation's own whole page (its body margin and background) once this sheet is loaded into it. It is scoped
   to the six stock portal pages' <body class="sv-page">. html is no longer named: with no background of its own,
   the canvas takes the body's (CSS background propagation), so the stock pages paint exactly as before, and html
   has no margin or padding by default. */
body.sv-page { background: #f2f5f8; }/*qs-legacy*/
body.sv-page { margin: 0; padding: 0; min-height: 100%; background: var(--qs-bg, #f2f5f8); }
.sv-root { height: auto; min-height: 100vh; overflow: visible; }
/* JJ[Opus 5.5] 2026oct18: full page template. In template mode the .sv-root is one region of the organisation's
   page (##svmode## puts sv-tpl on it), not the whole viewport, so it must not stretch to 100vh. The injected skip
   link sits first in their <body> inside a .sv-root that generates no box and no container (the .qcw-scope
   precedent further down): the custom properties and the theme class still reach the link, nothing is laid out. */
.sv-root.sv-tpl { min-height: 0; }
/* JJ[Opus 5.5] 2026oct18: (review fix) an engine without display:contents - IE11, EdgeHTML 18, Safari before 11.1, the
   very engines the qs-legacy layer serves - drops that one declaration and lays this wrapper out as an ordinary .sv-root:
   a flex column with the grey legacy background and the 100vh minimum, a viewport-tall band above the organisation's own
   header. The static declarations ahead of display:contents leave it an empty block instead (the skip link inside is
   absolutely positioned, so the box is 0 px tall); an engine that knows display:contents generates no box, so they change
   nothing there. The chat launcher's .qcw-scope wrapper further down gets the same. No var(): no legacy twin. */
.sv-root.sv-scope { min-height: 0; height: auto; padding: 0; background: none; display: block; display: contents; container-type: normal; }
.sv-main { overflow: visible; }
/* the design only styles .sv-input[aria-invalid]; mirror it for selects used on the home/submit forms */
.sv-select[aria-invalid="true"] { border-color: #b50909; }/*qs-legacy*/
.sv-select[aria-invalid="true"] { border-color: var(--qs-error-fg); }
/* JJ[Fable 5] 2026sep20 (review): the inset error stroke shared the focus ring's box-shadow property at equal specificity and
   LATER in the sheet, so a focused refused control lost the ring's dark 5px companion and kept only the amber outline
   (1.66:1 on white). The stroke now yields while the control has keyboard focus; the red border and the message stay. */
.sv-select[aria-invalid="true"]:not(:focus-visible) { box-shadow: inset 0 0 0 1px #b50909; }/*qs-legacy*/
.sv-select[aria-invalid="true"]:not(:focus-visible) { box-shadow: inset 0 0 0 1px var(--qs-error-fg); }
/* department picker block on the guided home hero */
.sv-guided-deptform { margin-top: 24px; }/*qs-legacy*/
.sv-guided-deptform { max-width: 560px; margin-top: var(--qs-sp-5); }
.sv-guided-deptform .sv-field { margin-bottom: 12px; }/*qs-legacy*/
.sv-guided-deptform .sv-field { margin-bottom: var(--qs-sp-3); }

/* 2026jul03: search-hit highlighting on kb articles */
.sv-root mark { background: #ffe396; color: inherit; padding: 0 2px; border-radius: 2px; }

/* JJ[Fable 5] 2026aug07: embed mode (?embed=1 on the submit form + its confirmation + the status page).
   A company drops the page in an iframe on their own site: the portal chrome (top banner, brand header,
   footer) is suppressed and the background goes transparent so the host page's own layout shows through -
   the form/confirmation/status CARD is all that renders. The theme still applies, so with a custom theme
   the card's buttons and fields match the host brand. Scoped to .sv-embed so the standalone portal pages
   (home, KB, rating) are untouched. Uses html:has() to reach the html/body background from the marker,
   which lives on .sv-root; browsers without :has() still get the chrome hidden and a themed background. */
.sv-root.sv-embed .sv-header,
.sv-root.sv-embed .sv-topbanner,
.sv-root.sv-embed .sv-footer { display: none !important; }
.sv-root.sv-embed { min-height: 0; background: transparent !important; }
.sv-root.sv-embed .sv-main { padding-top: 0; }
.sv-root.sv-embed .sv-breadcrumb { display: none; }        /* the "Home >" crumb is meaningless in an iframe */
.sv-root.sv-embed .sv-embed-hide { display: none; }        /* home-pointing buttons (Cancel / Return home) - the full portal has no chrome-less render */
/* JJ[Opus 5] 2026aug12: an org's own pasted header/footer HTML is chrome too - the host page embedding the
   iframe already draws its own, so suppress both wrappers exactly like the stock band/footer above. (The
   admin's head HTML still loads: fonts/CSS it pulls in are what make the embedded card match the host.) */
.sv-root.sv-embed .sv-customhdr,
.sv-root.sv-embed .sv-customftr { display: none !important; }
html:has(.sv-embed), body:has(.sv-embed) { background: transparent !important; min-height: 0; }

/* 2026jul03: rich (markdown-rendered) agent replies in the status-page conversation */
/* JJ[Opus 5] 2026sep14: item 1.8 - the thread ran ~130 characters per line; return sweep is the
   reading operation that degrades most reliably with age. ch tracks the type size so the cap
   survives any later base lift. .sv-msg-plain is the same treatment for the plain-text branch,
   which rendered with no class at all, so raw inbound email kept the long measure while
   everything around it was capped. */
.sv-msg-rich { max-width: 70ch; line-height: 1.7; overflow-wrap: anywhere; }
.sv-msg-plain { max-width: 70ch; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.sv-msg-rich p { margin: 0 0 12px; }/*qs-legacy*/
.sv-msg-rich p { margin: 0 0 var(--qs-sp-3); }
.sv-msg-rich p:last-child { margin-bottom: 0; }
.sv-msg-rich ul, .sv-msg-rich ol { margin: 0 0 12px; padding-left: 24px; }/*qs-legacy*/
.sv-msg-rich ul, .sv-msg-rich ol { margin: 0 0 var(--qs-sp-3); padding-left: var(--qs-sp-5); }
.sv-msg-rich li { margin: 2px 0; }
.sv-msg-rich blockquote { margin: 0 0 12px; padding: 8px 12px; border-left: 3px solid #68737f; color: #4a4f55; }/*qs-legacy*/
.sv-msg-rich blockquote { margin: 0 0 var(--qs-sp-3); padding: var(--qs-sp-2) var(--qs-sp-3); border-left: 3px solid var(--qs-border-strong); color: var(--qs-text-muted); }
.sv-msg-rich code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }/*qs-legacy*/
.sv-msg-rich code { font-family: var(--qs-font-mono); font-size: 0.9em; background: rgba(0,0,0,.05); padding: 1px 5px; border-radius: 3px; }
.sv-msg-rich pre { margin: 0 0 12px; padding: 12px; border: 1px solid #cfd9e3; }/*qs-legacy*/
.sv-msg-rich pre { margin: 0 0 var(--qs-sp-3); padding: var(--qs-sp-3); background: rgba(0,0,0,.04); border: 1px solid var(--qs-border); border-radius: 4px; overflow-x: auto; }
.sv-msg-rich pre code { background: transparent; padding: 0; }
.sv-msg-rich h3, .sv-msg-rich h4, .sv-msg-rich h5 { margin: 12px 0 4px; }/*qs-legacy*/
.sv-msg-rich h3, .sv-msg-rich h4, .sv-msg-rich h5 { margin: var(--qs-sp-3) 0 var(--qs-sp-1); }
.sv-msg-rich hr { margin: 12px 0; }/*qs-legacy*/
.sv-msg-rich hr { border: 0; border-top: 1px solid var(--qs-border); margin: var(--qs-sp-3) 0; }
.sv-msg-rich hr { border-top: 1px solid #cfd9e3; border-top: 1px solid var(--qs-border); }/*qs-legacy*/
.sv-msg-rich a { color: #2a5d8f; }/*qs-legacy*/
.sv-msg-rich a { color: var(--qs-link); }
/* JJ[Opus 5.5] 2026oct02: M6 - an inbound email sanitized at ingest (format 5) renders inline here as .sv-msg-rich.sv-msg-mail
   with no style attributes (QSRICH_F_NOSTYLE): its layout tables and pictures are bounded by the card instead. Literal values
   only - no var(), so the legacy fallback layer gains no marker. */
.sv-msg-mail table { max-width: 100%; border-collapse: collapse; }
.sv-msg-mail td, .sv-msg-mail th { padding: 2px 4px; vertical-align: top; }
.sv-msg-mail img { max-width: 100%; height: auto; }

/* ================================================================================================
   JJ[Opus 5.5] 2026sep30: richtext M4 (doc/querysolv/richtext-editor/plan.md, FALLBACK_A11Y "CSS") - QsEdit on the two requester
   pages that take a message: the request form's Description and the status page's reply (qsedit.js attaches to the textareas the
   server marks data-qsrich; nothing here applies to a page without JavaScript). The surface is a div the script creates next to
   the kept (hidden) textarea; it copies the textarea's class, so it already wears the .sv-textarea box (border, padding, font,
   width, the aria-invalid edge). What a div needs on top: it grows with its text up to a limit, wraps any long word or address,
   carries the portal's two-colour focus ring on :focus (a programmatic focus - the label, the error summary's link - does not
   always match :focus-visible), and what is typed looks the way the message will read on the status page (.sv-msg-rich). The
   toolbar the script builds: buttons of at least 36x36 (24x24 is the floor) with a 2px control edge (the 4.8:1 --qs-border-strong);
   pressed = a filled tint AND a doubled primary edge, so the state never rests on colour alone. The link / picture-description
   rows, the message line, the link chip and "Pictures in this message" are the agent editor's, in portal tokens. Everything wraps
   (320px reflow), nothing moves (no transitions), and embed=1 needs nothing of its own (the card is all that renders there).
   ================================================================================================ */
/* a picture in a message never widens the thread or the page (the agent's own pictures now arrive inline) */
.sv-msg-rich img { max-width: 100%; height: auto; }
.sv-root .qse-bar { gap: 4px; margin: 0 0 8px; }/*qs-legacy*/
.sv-root .qse-bar { display: flex; flex-wrap: wrap; gap: var(--qs-sp-1); margin: 0 0 var(--qs-sp-2); }
.sv-root .qse-btn {
  gap: 4px;/*qs-legacy*/
  display: inline-flex; align-items: center; justify-content: center; gap: var(--qs-sp-1);
  padding: 0 8px;/*qs-legacy*/
  min-width: 36px; min-height: 36px; padding: 0 var(--qs-sp-2);
  font: inherit; font-size: var(--qs-text-sm); font-weight: 600; line-height: 1.2;
  color: #1b1b1b; background: #ffffff;/*qs-legacy*/
  color: var(--qs-text); background: var(--qs-surface);
  border: 2px solid #68737f; border-radius: 4px;/*qs-legacy*/
  border: 2px solid var(--qs-border-strong); border-radius: var(--qs-radius); cursor: pointer;
}
.sv-root .qse-btn { font-size: 15px; font-size: var(--qs-text-sm); }/*qs-legacy*/
.sv-root .qse-btn:hover { border-color: #1b1b1b; background: #e2ebf3; }/*qs-legacy*/
.sv-root .qse-btn:hover { border-color: var(--qs-text); background: var(--qs-surface-alt); }
.sv-root .qse-btn[aria-pressed="true"] { color: #1d4570; background: #ecf3f8; border-color: #2a5d8f; box-shadow: inset 0 0 0 1px #2a5d8f; }/*qs-legacy*/
.sv-root .qse-btn[aria-pressed="true"] { color: var(--qs-primary-dark); background: var(--qs-primary-lighter); border-color: var(--qs-primary); box-shadow: inset 0 0 0 1px var(--qs-primary); }
/* the pressed state's inset edge must not cost a focused button the ring's dark companion (both are box-shadows) */
.sv-root .qse-btn[aria-pressed="true"]:focus-visible { box-shadow: inset 0 0 0 1px #2a5d8f, 0 0 0 5px #1b1b1b; }/*qs-legacy*/
.sv-root .qse-btn[aria-pressed="true"]:focus-visible { box-shadow: inset 0 0 0 1px var(--qs-primary), 0 0 0 5px var(--qs-text); }
.sv-root .qse-btn[hidden] { display: none; }
.sv-root .qse-btn strong, .sv-root .qse-btn em, .sv-root .qse-btn u { font-size: 16px; }/*qs-legacy*/
.sv-root .qse-btn strong, .sv-root .qse-btn em, .sv-root .qse-btn u { font-size: var(--qs-text-base); }
.sv-root .qse-glyph { font-weight: 700; }
.sv-root .sv-textarea.qse-surface {
  min-height: calc(40px * 4);/*qs-legacy*/
  height: auto; min-height: calc(var(--qs-control-h) * 4); max-height: 60vh; overflow-y: auto;
  overflow-wrap: anywhere; cursor: text; position: relative;
}
.sv-root .sv-textarea.qse-surface:focus { outline: 3px solid #ffbe2e; box-shadow: 0 0 0 5px #1b1b1b; }/*qs-legacy*/
.sv-root .sv-textarea.qse-surface:focus { outline: 3px solid var(--qs-focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--qs-text); }
/* the textarea's own placeholder (the reply's "Write your reply..."), copied into data-placeholder; absolute, so it sits where the
   caret is instead of adding a line above it. The alt text "" keeps it out of the accessible text (aria-placeholder carries it). */
.sv-root .qse-surface.qse-empty::before {
  content: attr(data-placeholder); content: attr(data-placeholder) / "";
  left: 12px; right: 12px; top: 12px;/*qs-legacy*/
  position: absolute; left: var(--qs-sp-3); right: var(--qs-sp-3); top: var(--qs-sp-3);
  color: #6f757c;/*qs-legacy*/
  color: var(--qs-text-faint); pointer-events: none;
}
.sv-root .qse-surface p { margin: 0 0 12px; }/*qs-legacy*/
.sv-root .qse-surface p { margin: 0 0 var(--qs-sp-3); }
.sv-root .qse-surface p:last-child { margin-bottom: 0; }
.sv-root .qse-surface ul, .sv-root .qse-surface ol { margin: 0 0 12px; padding-left: 24px; }/*qs-legacy*/
.sv-root .qse-surface ul, .sv-root .qse-surface ol { margin: 0 0 var(--qs-sp-3); padding-left: var(--qs-sp-5); }
.sv-root .qse-surface li { margin: 2px 0; }
.sv-root .qse-surface blockquote { margin: 0 0 12px; padding: 8px 12px; border-left: 3px solid #68737f; color: #4a4f55; }/*qs-legacy*/
.sv-root .qse-surface blockquote { margin: 0 0 var(--qs-sp-3); padding: var(--qs-sp-2) var(--qs-sp-3); border-left: 3px solid var(--qs-border-strong); color: var(--qs-text-muted); }
/* inline code: the editor writes it as font face=monospace while it is being edited (code again when it is sent) */
.sv-root .qse-surface code, .sv-root .qse-surface font[face="monospace"] { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }/*qs-legacy*/
.sv-root .qse-surface code, .sv-root .qse-surface font[face="monospace"] { font-family: var(--qs-font-mono); font-size: 0.9em; background: rgba(0,0,0,.05); padding: 1px 5px; border-radius: 3px; }
.sv-root .qse-surface pre { margin: 0 0 12px; padding: 12px; border: 1px solid #cfd9e3; }/*qs-legacy*/
.sv-root .qse-surface pre { margin: 0 0 var(--qs-sp-3); padding: var(--qs-sp-3); background: rgba(0,0,0,.04); border: 1px solid var(--qs-border); border-radius: 4px; overflow-x: auto; white-space: pre-wrap; }
.sv-root .qse-surface pre code { background: transparent; padding: 0; }
.sv-root .qse-surface h3, .sv-root .qse-surface h4, .sv-root .qse-surface h5 { margin: 12px 0 4px; }/*qs-legacy*/
.sv-root .qse-surface h3, .sv-root .qse-surface h4, .sv-root .qse-surface h5 { margin: var(--qs-sp-3) 0 var(--qs-sp-1); }
.sv-root .qse-surface hr { margin: 12px 0; }/*qs-legacy*/
.sv-root .qse-surface hr { border: 0; border-top: 1px solid var(--qs-border); margin: var(--qs-sp-3) 0; }
.sv-root .qse-surface hr { border-top: 1px solid #cfd9e3; border-top: 1px solid var(--qs-border); }/*qs-legacy*/
.sv-root .qse-surface a { color: #2a5d8f; }/*qs-legacy*/
.sv-root .qse-surface a { color: var(--qs-link); text-decoration: underline; }
.sv-root .qse-surface img { max-width: 100%; height: auto; }
.sv-root .qse-surface img[data-qsi], .sv-root .qse-surface img[data-qsiret] { vertical-align: bottom; }
/* a block merge in a contenteditable leaves span style="..." copies of the merged block's style; they are dropped when the message
   is sent, so they must not change how the text looks while it is typed either */
.sv-root .qse-surface span[style] { font: inherit !important; color: inherit !important; background: transparent !important; }
/* the editor's own hint under the box (pictures: how to add them, or where to send them instead) */
.sv-root .qse-rhint { margin: 4px 0 0; }/*qs-legacy*/
.sv-root .qse-rhint { margin: var(--qs-sp-1) 0 0; }
/* the inline rows (link, picture description - non-modal; prompt() is blocked in sandboxed embed frames) */
.sv-root .qse-pop { gap: 8px; margin: 0 0 8px; padding: 8px 12px; border: 2px solid #68737f; border-radius: 4px; background: #e2ebf3; }/*qs-legacy*/
.sv-root .qse-pop { display: flex; flex-wrap: wrap; align-items: center; gap: var(--qs-sp-2); margin: 0 0 var(--qs-sp-2); padding: var(--qs-sp-2) var(--qs-sp-3); border: 2px solid var(--qs-border-strong); border-radius: var(--qs-radius); background: var(--qs-surface-alt); }
.sv-root .qse-pop label { font-size: 15px; }/*qs-legacy*/
.sv-root .qse-pop label { font-size: var(--qs-text-sm); font-weight: 600; }
.sv-root .qse-pop .qse-input { flex: 1 1 14em; width: auto; min-width: 0; }
.sv-root .qse-popmsg { font-size: 15px; color: #b50909; }/*qs-legacy*/
.sv-root .qse-popmsg { flex: 1 1 100%; font-size: var(--qs-text-sm); font-weight: 600; color: var(--qs-error-fg); }
.sv-root .qse-popmsg:empty { display: none; }
.sv-root .qse-pophint { font-size: 15px; color: #4a4f55; }/*qs-legacy*/
.sv-root .qse-pophint { flex: 1 1 100%; font-size: var(--qs-text-sm); color: var(--qs-text-muted); }
/* the message line under the toolbar: what the editor did or refused, in words (a rule on the left, never colour alone) */
.sv-root .qse-msg { margin: 0 0 8px; padding: 8px 12px; font-size: 15px; color: #1b1b1b; background: #e7f4fb; border-left: 4px solid #07578a; }/*qs-legacy*/
.sv-root .qse-msg { margin: 0 0 var(--qs-sp-2); padding: var(--qs-sp-2) var(--qs-sp-3); font-size: var(--qs-text-sm); color: var(--qs-text); background: var(--qs-info-bg); border-left: 4px solid var(--qs-info-fg); overflow-wrap: anywhere; }
.sv-root .qse-msg[hidden] { display: none; }
/* where a link goes: the chip under the text while the caret or the pointer is on a link */
.sv-root .qse-chip { margin: 8px 0 0; }/*qs-legacy*/
.sv-root .qse-chip { margin: var(--qs-sp-2) 0 0; }
.sv-root .qse-chiptxt { font-size: 15px; }/*qs-legacy*/
.sv-root .qse-chiptxt { flex: 1 1 14em; min-width: 0; font-size: var(--qs-text-sm); overflow-wrap: anywhere; }
.sv-root .qse-chiphref { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }/*qs-legacy*/
.sv-root .qse-chiphref { font-family: var(--qs-font-mono); font-weight: 600; }
/* "Pictures in this message": a 48px thumbnail with an edge of its own, "Picture N: description" (+ its state in words), Describe /
   Remove (or Add again / Remove for a picture a form brought back without its bytes: a dashed box in place of the thumbnail) */
.sv-root .qse-pics { margin: 8px 0 0; }/*qs-legacy*/
.sv-root .qse-pics { margin: var(--qs-sp-2) 0 0; }
.sv-root .qse-piclist { margin: 0; padding: 0; list-style: none; }
.sv-root .qse-pic { gap: 8px 12px; padding: 8px 0; border-top: 1px solid #cfd9e3; }/*qs-legacy*/
.sv-root .qse-pic { display: flex; flex-wrap: wrap; align-items: center; gap: var(--qs-sp-2) var(--qs-sp-3); padding: var(--qs-sp-2) 0; border-top: 1px solid var(--qs-border); }
.sv-root .qse-pic:first-child { border-top: 0; }
.sv-root .qse-picthumb { border: 1px solid #68737f; background: #e2ebf3; }/*qs-legacy*/
.sv-root .qse-picthumb { flex: none; width: 48px; height: 48px; object-fit: contain; border: 1px solid var(--qs-border-strong); border-radius: 2px; background: var(--qs-surface-alt); }
.sv-root .qse-picthumb--ret { border: 2px dashed #68737f; }/*qs-legacy*/
.sv-root .qse-picthumb--ret { border: 2px dashed var(--qs-border-strong); }
.sv-root .qse-picname { font-size: 15px; }/*qs-legacy*/
.sv-root .qse-picname { flex: 1 1 12em; min-width: 0; font-size: var(--qs-text-sm); overflow-wrap: anywhere; }
.sv-root .qse-picnote { color: #8a6914; }/*qs-legacy*/
.sv-root .qse-picnote { font-weight: 600; color: var(--qs-warn-fg); }
.sv-root .qse-pic[data-qsedbad] { padding-left: 8px; box-shadow: inset 3px 0 0 #b50909; }/*qs-legacy*/
.sv-root .qse-pic[data-qsedbad] { padding-left: var(--qs-sp-2); box-shadow: inset 3px 0 0 var(--qs-error-fg); }
.sv-root .qse-picbad { color: #b50909; }/*qs-legacy*/
.sv-root .qse-picbad { font-weight: 600; color: var(--qs-error-fg); }
.sv-root .qse-picstatus { margin: 4px 0 0; font-size: 15px; color: #4a4f55; }/*qs-legacy*/
.sv-root .qse-picstatus { margin: var(--qs-sp-1) 0 0; font-size: var(--qs-text-sm); color: var(--qs-text-muted); overflow-wrap: anywhere; }
.sv-root .qse-pics--lost { padding: 8px 12px; border-left: 4px solid #b50909; background: #f8eeee; }/*qs-legacy*/
.sv-root .qse-pics--lost { padding: var(--qs-sp-2) var(--qs-sp-3); border-left: 4px solid var(--qs-error-fg); background: var(--qs-error-bg); }
.sv-root .qse-pics--lost .qse-picstatus { margin: 0 0 4px; color: #1b1b1b; }/*qs-legacy*/
.sv-root .qse-pics--lost .qse-picstatus { margin: 0 0 var(--qs-sp-1); font-weight: 600; color: var(--qs-text); }
.sv-root .qse-picsave { text-decoration: none; }
/* the file picker and the per-picture file inputs the form posts: never shown */
.sv-root .qse-file, .sv-root .qse-files { display: none; }
@media (max-width: 480px) {
  .sv-root .sv-textarea.qse-surface { max-height: 50vh; }
  .sv-root .qse-btn { min-width: 40px; min-height: 40px; }
}

/* ===== CSAT rating page (public, reached from the closure-email link) ===== */
.sv-rate { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }
.sv-rate-note { background: #ecf3f8; border-left: 4px solid #2a5d8f; }/*qs-legacy*/
.sv-rate-note { background: var(--qs-primary-lighter, #eff6fb); border-left: 4px solid var(--qs-primary, #005ea2); padding: 10px 14px; margin: 0 0 16px; font-size: 14px; }
.sv-rate-fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.sv-rate-scale { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.sv-rate-opt { position: relative; }
/* JJ[Opus 5] 2026sep21 (a11y Tier 3, WCAG 1.4.11 / 1.4.1): the native radio used to be hidden with
   `opacity: 0` stretched to `width: 100%; height: 100%` over the whole option. Two things were wrong with
   that. It is an invisible sheet ON TOP of the number (the input is positioned, the <span> is not, so the
   input wins the paint order): every pointer event lands on the input, which is why `.sv-rate-opt span:hover`
   twelve lines down has never once matched. And an opacity-hidden control is hidden in EVERY rendering,
   including a forced-colours one, where the author background and box-shadow that draw the checked state are
   dropped - leaving a high-contrast reader ten identical squares with no way to see which one they picked.
   This is the same clip pattern `.sv-sr-only` uses (above): the input keeps its own box, stays focusable and
   stays operable, the <label> still toggles it when the number is clicked, and the 44x44 <span> becomes the
   real hit target (2.5.8 still holds - the span carries min-width/min-height 44px and lives inside the
   label). `cursor: pointer` moves off the input for the same reason: the span already declares it. */
.sv-rate-opt input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sv-rate-opt span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
  border: 2px solid #cfd9e3;/*qs-legacy*/
  border: 2px solid var(--qs-border, #dfe1e2); border-radius: 4px; font-size: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums; cursor: pointer; background: #fff;
}
/* JJ[Opus 5] 2026sep21 (a11y Tier 3, WCAG 1.4.1 Use of Colour): the checked chip was a fill and nothing
   else - `background` and a `border-color` set to the SAME value as the fill, so the ring was invisible and
   the only thing separating "picked" from "not picked" was a colour. The border now carries a second,
   geometric signal: it doubles to 4px and takes --qs-primary-darker, so the chosen number wears a heavy dark
   ring that survives a greyscale print and, more to the point, survives forced-colours - border WIDTH is
   geometry, and geometry is the one thing a forced palette cannot repaint away (the block at the foot of
   this sheet hands that ring the user's own Highlight colour on top). Nothing moves when a number is picked:
   `.sv-root *` is border-box, so the extra 2px of border eats into the 44px box instead of growing it.
   Measured on the stock mist theme: ring #122f4f on the page ground 12.42:1, fill #2a5d8f on the ground
   6.27:1, white number on the fill 6.86:1 - classic and sage land within a tenth of the same figures. */
.sv-rate-opt input:checked + span { background: #2a5d8f; border-color: #122f4f; }/*qs-legacy*/
.sv-rate-opt input:checked + span { background: var(--qs-primary, #005ea2); border-color: var(--qs-primary-darker, #162e51); border-width: 4px; color: #fff; }
/* JJ[Opus 5] 2026sep21 (a11y Tier 3, WCAG 1.4.11 Non-text Contrast): the ring was a hardcoded #2491ff that
   ignored --qs-focus entirely and measured 2.92:1 on the stock mist ground and 2.96:1 on sage - under the 3:1
   floor on the two themes it is most likely to be seen against, and only 3.01:1 on the rest. It is now the
   portal's own ring (`.sv-root :focus-visible` far above): amber for the dark band themes, paired with a
   --qs-text companion painted in the 2px offset gap so one stroke always clears 3:1 whatever the surface. On
   every shipped theme the companion measures 15.74:1 or better against the page ground.
   The ring is drawn on the <span> and not the input because the input is clipped to 1px by the rule above.
   The `:focus` rule stays as the base and `:focus:not(:focus-visible)` takes it away again on modern
   browsers, rather than `:focus-visible` alone: this page is public, no-JS and reached from a closure
   e-mail, and a browser too old to know `:focus-visible` would drop a `:focus-visible`-only rule and leave
   a keyboard requester with NO focus indicator at all, the clipped input having swallowed the UA's own. */
.sv-rate-opt input:focus + span { outline: 3px solid #ffbe2e; box-shadow: 0 0 0 5px #1b1b1b; }/*qs-legacy*/
.sv-rate-opt input:focus + span { outline: 3px solid var(--qs-focus); outline-offset: 2px; box-shadow: 0 0 0 5px var(--qs-text); }
.sv-rate-opt input:focus:not(:focus-visible) + span { outline: none; box-shadow: none; }
.sv-rate-opt span:hover { border-color: #2a5d8f; }/*qs-legacy*/
.sv-rate-opt span:hover { border-color: var(--qs-primary, #005ea2); }
.sv-rate-ends { color: #4a4f55; }/*qs-legacy*/
.sv-rate-ends { display: flex; justify-content: space-between; max-width: 494px; margin-top: 4px; font-size: 12.5px; color: var(--qs-text-muted, #565c65); }
.sv-rate-optional { color: #4a4f55; }/*qs-legacy*/
.sv-rate-optional { font-weight: 400; color: var(--qs-text-muted, #565c65); }


/* ===================== helpcenter.css ===================== */
/* 2026jul31: 12a member-help-center additions (home hub, deflection, status
   chips + timeline, side-by-side form rows). Appended last so the anchor-reset
   overrides below win over the base `.sv-root a` link styling. */

/* Home: the two action cards render as links, side by side */
.sv-actions--flush { padding-left: 0; padding-right: 0; }
.sv-action-grid--two { grid-template-columns: 1fr 1.3fr; max-width: none; }
@container sv (max-width: 900px) { .sv-action-grid--two { grid-template-columns: 1fr; } }
.sv-root a.sv-action, .sv-root a.sv-pop-item, .sv-root a.sv-cat-row { text-decoration: none; color: inherit; }

/* Home: browse-by-category + popular-articles row */
.sv-home-two { gap: 16px; padding-bottom: 48px; }/*qs-legacy*/
.sv-home-two { display: grid; grid-template-columns: 1fr 1.3fr; gap: var(--qs-sp-4); padding-bottom: var(--qs-sp-7); }
@container sv (max-width: 900px) { .sv-home-two { grid-template-columns: 1fr; } }
.sv-home-col { padding: 24px; }/*qs-legacy*/
.sv-home-col { padding: var(--qs-sp-5); }
.sv-home-col .sv-section-h { margin-bottom: 12px; }/*qs-legacy*/
.sv-home-col .sv-section-h { margin-bottom: var(--qs-sp-3); }
.sv-cat-row {
  gap: 12px;/*qs-legacy*/
  display: flex; justify-content: space-between; align-items: center; gap: var(--qs-sp-3);
  padding: 12px 16px; min-height: 44px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4); min-height: var(--qs-tap);
  border: 1px solid #cfd9e3; border-radius: 4px;/*qs-legacy*/
  border: 1px solid var(--qs-border); border-radius: var(--qs-radius);
  margin-bottom: 8px;/*qs-legacy*/
  margin-bottom: var(--qs-sp-2);
}
.sv-cat-row:last-child { margin-bottom: 0; }
.sv-cat-row:hover { border-color: #2a5d8f; background: #ecf3f8; }/*qs-legacy*/
.sv-cat-row:hover { border-color: var(--qs-primary); background: var(--qs-primary-lighter); }
.sv-cat-row-name { font-weight: 600; }
.sv-cat-row:hover .sv-cat-row-name { color: #1d4570; }/*qs-legacy*/
.sv-cat-row:hover .sv-cat-row-name { color: var(--qs-primary-dark); }
.sv-cat-row-count { font-size: 15px; color: #4a4f55; }/*qs-legacy*/
.sv-cat-row-count { font-size: var(--qs-text-sm); color: var(--qs-text-muted); white-space: nowrap; }

/* Submit form: side-by-side field pair (name + email; custom fields marked "side by side" in the GUI) */
.sv-formrow { gap: 0 16px; }/*qs-legacy*/
.sv-formrow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--qs-sp-4); }
@container sv (max-width: 720px) { .sv-formrow { grid-template-columns: 1fr; } }

/* JJ[Opus 5] 2026sep21: Department picker row - the select plus its new "Change department" button.
   The select used to navigate the browser from its own onchange handler, so a requester browsing the
   list with the keyboard, a screen reader or voice control reloaded the page on the FIRST Arrow key
   and lost everything already typed (WCAG 3.2.2). Choosing and acting are separate controls now, and
   this row is what keeps them on one line. The select still takes all the width the button leaves, so
   the form's right edge lines up with every other field exactly as it did; below about 420px the
   button wraps under the select instead of squeezing it, which keeps both at their full target size
   at 320px and at 400% zoom. Nothing else about the pointer user's form changes. */
.sv-deptrow { gap: 12px; }/*qs-legacy*/
.sv-deptrow { display: flex; align-items: center; gap: var(--qs-sp-3); flex-wrap: wrap; }
.sv-deptrow .sv-select { flex: 1 1 220px; width: auto; min-width: 0; }
.sv-deptrow .sv-btn { flex: 0 0 auto; }

/* JJ[Opus 5] 2026sep21: the request form's DEFAULT submit button (qs_webobjects.htm) exists only so that
   pressing Enter in a text box still sends the request now that "Change department" is a submit control
   further up the form. It is visually hidden, which still leaves a 1px hit target inside the card, and a
   stray click on it would send the request - so take it out of hit testing altogether. The browser
   activates a default button programmatically on Enter, which pointer-events does not affect. */
.sv-defaultsubmit { pointer-events: none; }

/* Submit form: custom-field layout from the Web Support Form GUI (size + position).
   Normal one-per-line fields keep a single-column width so "Wide" is a real distinction;
   Wide spans the full form width with a taller multiline box. */
.sv-cf--normal { max-width: 420px; }
.sv-cf--wide .sv-textarea { min-height: calc(40px * 5); }/*qs-legacy*/
.sv-cf--wide .sv-textarea { min-height: calc(var(--qs-control-h) * 5); }
@container sv (max-width: 720px) { .sv-cf--normal { max-width: none; } }

/* JJ[Opus 5] 2026aug30: submit form honeypot wrapper (the req_website decoy - see qs_formtoken.h).
   Deliberately OFF-SCREEN rather than display:none or visibility:hidden: a submitter sophisticated enough to
   skip hidden inputs usually tests exactly those two declarations, while an off-screen field looks ordinary
   in the DOM. No var() is used here, so this rule needs no legacy fallback twin - and on a browser too old
   to apply it at all the field simply shows, with its own "Leave this field empty." sentence beside it. */
.sv-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Submit form: "Before you send" live deflection callout */
.sv-deflect {
  background: #e7f4fb;/*qs-legacy*/
  background: var(--qs-info-bg);
  border-left: 4px solid #2a5d8f;/*qs-legacy*/
  border-left: 4px solid var(--qs-primary);
  border-radius: 4px;/*qs-legacy*/
  border-radius: var(--qs-radius);
  padding: 12px 16px;/*qs-legacy*/
  padding: var(--qs-sp-3) var(--qs-sp-4);
  margin: 0 0 16px;/*qs-legacy*/
  margin: 0 0 var(--qs-sp-4);
}
.sv-deflect-h { font-size: 15px; margin-bottom: 8px; }/*qs-legacy*/
.sv-deflect-h { font-weight: 700; font-size: var(--qs-text-sm); margin-bottom: var(--qs-sp-2); }
.sv-deflect-list { gap: 4px; }/*qs-legacy*/
.sv-deflect-list { display: flex; flex-direction: column; gap: var(--qs-sp-1); }
.sv-deflect-list a { font-size: 15px; }/*qs-legacy*/
.sv-deflect-list a { font-size: var(--qs-text-sm); font-weight: 600; }

/* Status check: the two lookup cards side by side */
.sv-status-two { gap: 16px; }/*qs-legacy*/
.sv-status-two { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--qs-sp-4); align-items: start; }
@container sv (max-width: 900px) { .sv-status-two { grid-template-columns: 1fr; } }

/* Status: recent-activity timeline (date column + plain-language event text) */
.sv-timeline { margin: 12px 0 0; gap: 8px; }/*qs-legacy*/
.sv-timeline { list-style: none; padding: 0; margin: var(--qs-sp-3) 0 0; display: flex; flex-direction: column; gap: var(--qs-sp-2); }
.sv-timeline li { gap: 12px; font-size: 15px; }/*qs-legacy*/
.sv-timeline li { display: grid; grid-template-columns: 110px 1fr; gap: var(--qs-sp-3); font-size: var(--qs-text-sm); align-items: baseline; }
.sv-timeline-date { color: #4a4f55; }/*qs-legacy*/
.sv-timeline-date { color: var(--qs-text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sv-timeline-action .sv-timeline-text { color: #8a6914; }/*qs-legacy*/
.sv-timeline-action .sv-timeline-text { color: var(--qs-warn-fg); font-weight: 700; }

/* Plain-language state sentence under a status chip / request row */
.sv-state-line { font-size: 15px; color: #4a4f55; margin-top: 4px; }/*qs-legacy*/
.sv-state-line { font-size: var(--qs-text-sm); color: var(--qs-text-muted); margin-top: var(--qs-sp-1); }
.sv-state-line--action { color: #8a6914; }/*qs-legacy*/
.sv-state-line--action { color: var(--qs-warn-fg); font-weight: 600; }

/* 2026aug13: attached files under a message in the status detail. Rows are the whole clickable target
   (name left, size right); the fallback line is the plain count shown when the file list cannot be read. */
.sv-attach { margin-top: 12px; }/*qs-legacy*/
.sv-attach { display: flex; flex-direction: column; gap: 6px; margin-top: var(--qs-sp-3); }
.sv-attach-row {
  gap: 12px;/*qs-legacy*/
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--qs-sp-3);
  border: 1px solid #cfd9e3; border-radius: 4px;/*qs-legacy*/
  border: 1px solid var(--qs-border); border-radius: var(--qs-radius);
  padding: 8px 12px;/*qs-legacy*/
  padding: var(--qs-sp-2) var(--qs-sp-3);
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm); text-decoration: none;
}
.sv-attach-row:hover { border-color: #68737f; background: #e2ebf3; }/*qs-legacy*/
.sv-attach-row:hover { border-color: var(--qs-border-strong); background: var(--qs-surface-alt); }
.sv-attach-name { font-weight: 600; overflow-wrap: anywhere; }
.sv-attach-size { color: #4a4f55; }/*qs-legacy*/
.sv-attach-size { color: var(--qs-text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sv-attach-none { font-size: 15px; color: #4a4f55; }/*qs-legacy*/
.sv-attach-none { font-size: var(--qs-text-sm); color: var(--qs-text-muted); }

/* Article footer strip: "Didn't answer your question?" */
.sv-article-cta {
  gap: 12px;/*qs-legacy*/
  display: flex; align-items: center; justify-content: space-between; gap: var(--qs-sp-3);
  border-top: 1px solid #cfd9e3;/*qs-legacy*/
  border-top: 1px solid var(--qs-border);
  margin-top: 24px; padding-top: 16px;/*qs-legacy*/
  margin-top: var(--qs-sp-5); padding-top: var(--qs-sp-4);
  flex-wrap: wrap;
}


/* ===================== chatwidget.css ===================== */
/* 2026jul31: 13a floating live-chat widget (launcher pill + 376x560 window),
   mounted on every help-center page when the edition licenses chat. Deliberate
   departures from the flat card system - shadows and rounder radii - because
   the widget is a floating overlay. Colors ride the portal theme variables. */
/* 2026jul31 REVIEW FIX: .sv-root declares container-type, and a container box becomes the containing block
   for its fixed descendants - a launcher inside it would scroll away with the document instead of pinning to
   the viewport. The widget therefore lives in its OWN .sv-root wrapper that generates no box (display:
   contents) and no container: custom properties still inherit, so all 7 themes keep working. */
/* JJ[Opus 5.5] 2026oct18: (review fix) the same static fallbacks as .sv-root.sv-scope above: without them an engine that
   lacks display:contents drew this wrapper as a 100vh grey .sv-root before </body> - a second viewport-tall block at the
   foot of a full page template (and an extra screen of grey under every stock page). Its launcher and window are
   position:fixed, so the block is 0 px tall. No var(): no legacy twin. */
.sv-root.qcw-scope { min-height: 0; height: auto; padding: 0; background: none; display: block; display: contents; container-type: normal; }
.qcw-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  gap: 8px;/*qs-legacy*/
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--qs-sp-2);
}
.qcw-pill {
  position: relative;
  gap: 8px;/*qs-legacy*/
  display: inline-flex; align-items: center; gap: var(--qs-sp-2);
  background: #2a5d8f;/*qs-legacy*/
  background: var(--qs-primary); color: #fff;
  border: 0; border-radius: 999px;
  padding: 13px 22px;
  font: inherit; font-size: var(--qs-text-base); font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(27,27,27,.25);
}
.qcw-pill { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
.qcw-pill:hover { background: #1d4570; }/*qs-legacy*/
.qcw-pill:hover { background: var(--qs-primary-dark); }
/* JJ[Opus 5.5] 2026oct25: owner 2026-10-25 - the live chat button the administrator left on, on an edition without live chat
   (the chatoff zone of QS_DEF_SV_CHATLAUNCH): a native disabled button, muted like .sv-btn[disabled] so it cannot read as
   live. --qs-text-muted on --qs-muted-bg is #4a4f55 on #eef0f2, about 7.5:1. The :hover variant (0,3,0) outranks
   .qcw-pill:hover so pointing at it changes nothing; cursor default, not pointer. The legacy twins are generated. */
.qcw-launch--off .qcw-pill--off,
.qcw-launch--off .qcw-pill--off:hover {
  background: #eef0f2; color: #4a4f55;/*qs-legacy*/
  background: var(--qs-muted-bg); color: var(--qs-text-muted);
  border: 1px solid #cfd9e3;/*qs-legacy*/
  border: 1px solid var(--qs-border);
  box-shadow: 0 2px 6px rgba(27,27,27,.12);
  cursor: default;
}
/* JJ[Opus 5.5] 2026oct25: the disabled chat button in forced-colors mode - system colors only (no var(), no legacy twin). */
@media (forced-colors: active) {
  .qcw-launch--off .qcw-pill--off,
  .qcw-launch--off .qcw-pill--off:hover { color: GrayText; border-color: GrayText; }
}
.qcw-unread {
  position: absolute; top: -6px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  background: #b50909; color: #fff;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}
.qcw-nudge {
  max-width: 270px;
  background: #ffffff; border: 1px solid #cfd9e3;/*qs-legacy*/
  background: var(--qs-surface); border: 1px solid var(--qs-border); border-radius: 8px;
  box-shadow: 0 6px 18px rgba(27,27,27,.25);
  padding: 11px 14px;
}
.qcw-nudge-meta { font-size: 13px; color: #4a4f55; }/*qs-legacy*/
.qcw-nudge-meta { font-size: var(--qs-text-xs); color: var(--qs-text-muted); margin-bottom: 2px; }
.qcw-nudge-text { font-size: 15px; }/*qs-legacy*/
.qcw-nudge-text { font-size: var(--qs-text-sm); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.qcw-win {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 376px; height: 560px; max-width: calc(100vw - 24px); max-height: calc(100vh - 24px);
  background: #ffffff; border: 1px solid #cfd9e3;/*qs-legacy*/
  background: var(--qs-surface); border: 1px solid var(--qs-border); border-radius: 8px;
  box-shadow: 0 10px 28px rgba(27,27,27,.24);
  display: flex; flex-direction: column; overflow: hidden;
}
.qcw-whead {
  gap: 8px;/*qs-legacy*/
  display: flex; align-items: center; gap: var(--qs-sp-2);
  background: #2a5d8f;/*qs-legacy*/
  background: var(--qs-primary); color: #fff;
  padding: 8px 12px;/*qs-legacy*/
  padding: var(--qs-sp-2) var(--qs-sp-3);
  flex: 0 0 auto;
}
.qcw-wav {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  background: #1d4570;/*qs-legacy*/
  background: var(--qs-primary-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.qcw-wtitle { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
/* JJ[Opus 5] 2026sep14: item 1.10 - chat is where a requester ends up after the form has already
   defeated them, and it was the smallest text in the portal. Half-step literals onto tokens so
   the overlay follows the theme/density scale like everything else. */
.qcw-wname { font-size: 15px; }/*qs-legacy*/
.qcw-wname { font-size: var(--qs-text-sm); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qcw-wpres { font-size: 13px; }/*qs-legacy*/
.qcw-wpres { display: inline-flex; align-items: center; gap: 6px; font-size: var(--qs-text-xs); opacity: .92; }
.qcw-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa2ab; flex: 0 0 auto; }
.qcw-dot--on { background: #5ec26a; }
.qcw-dot--off { background: #c9cdd3; }
.qcw-min {
  width: 32px; height: 32px; flex: 0 0 auto;
  background: transparent; color: #fff; border: 0; border-radius: 4px;
  font: inherit; font-size: 18px; font-weight: 700; cursor: pointer;
}
.qcw-min:hover { background: #1d4570; }/*qs-legacy*/
.qcw-min:hover { background: var(--qs-primary-dark); }
.qcw-end {
  flex: 0 0 auto;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.55); border-radius: 999px;
  padding: 4px 12px;
  /* JJ[Opus 5] 2026sep14: item 1.10 - 12.5px literal -> token. */
  font: inherit; font-size: var(--qs-text-xs); font-weight: 700; cursor: pointer;
}
.qcw-end { font-size: 13px; font-size: var(--qs-text-xs); }/*qs-legacy*/
.qcw-end:hover { background: #1d4570; }/*qs-legacy*/
.qcw-end:hover { background: var(--qs-primary-dark); }
/* 2026aug16 fix: the pre-chat form SCROLLS when its content outgrows the fixed window (the department
   dropdown adds a field), and the growable question wrapper is floored at its own content height. With
   min-height:0 the wrapper collapsed under flex pressure while the textarea inside kept its 76px floor,
   so the textarea overflowed the wrapper and the Start button was painted on top of it. */
.qcw-pre { display: flex; flex-direction: column; gap: 13px; padding: 18px; flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.qcw-pre-intro { font-size: 15px; }/*qs-legacy*/
.qcw-pre-intro { font-size: var(--qs-text-sm); }
.qcw-pre-field { display: flex; flex-direction: column; gap: 4px; }
.qcw-pre-field--grow { flex: 1 1 auto; min-height: 100px; }
/* JJ[Opus 5] 2026sep14: item 1.10 - pre-chat form labels to body size. */
.qcw-lbl { font-size: 16px; }/*qs-legacy*/
.qcw-lbl { font-size: var(--qs-text-base); font-weight: 600; }
.qcw-inp {
  /* JJ[Opus 5] 2026sep14: item 1.10 - pre-chat fields to body size (also clears iOS Safari's
     16px focus-zoom threshold at the balanced tier). */
  font: inherit; font-size: var(--qs-text-base);
  border: 1px solid #68737f;/*qs-legacy*/
  border: 1px solid var(--qs-border-strong); border-radius: 4px;
  padding: 8px 10px; min-height: 38px;
  background: #ffffff; color: #1b1b1b;/*qs-legacy*/
  background: var(--qs-surface); color: var(--qs-text);
  width: 100%;
}
.qcw-inp { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
.qcw-question { flex: 1 1 auto; min-height: 76px; height: 100%; resize: none; }
.qcw-start {
  margin-top: auto;
  min-height: 44px; width: 100%;
  background: #2a5d8f;/*qs-legacy*/
  background: var(--qs-primary); color: #fff;
  border: 0; border-radius: 4px;
  font: inherit; font-weight: 700; cursor: pointer;
}
.qcw-start[disabled] { background: #a9aeb1; cursor: not-allowed; }
.qcw-micro { font-size: 13px; color: #4a4f55; }/*qs-legacy*/
.qcw-micro { font-size: var(--qs-text-xs); color: var(--qs-text-muted); }
.qcw-micro--composer { background: #ffffff; }/*qs-legacy*/
.qcw-micro--composer { padding: 0 12px 8px; margin: 0; flex: 0 0 auto; background: var(--qs-surface); }
.qcw-thread {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  background: #e2ebf3;/*qs-legacy*/
  background: var(--qs-surface-alt);
  padding: 16px;/*qs-legacy*/
  padding: var(--qs-sp-4);
  gap: 12px;/*qs-legacy*/
  display: flex; flex-direction: column; gap: var(--qs-sp-3);
}
.qcw-sys {
  align-self: center;
  background: #eef0f2; color: #4a4f55;/*qs-legacy*/
  background: var(--qs-muted-bg); color: var(--qs-text-muted);
  font-size: 13px;/*qs-legacy*/
  font-size: var(--qs-text-xs);
  padding: 3px 10px; border-radius: 999px;
}
.qcw-row { gap: 8px; }/*qs-legacy*/
.qcw-row { display: flex; gap: var(--qs-sp-2); align-items: flex-end; }
.qcw-row--me { justify-content: flex-end; }
.qcw-grp { display: flex; flex-direction: column; gap: 2px; max-width: 84%; min-width: 0; }
.qcw-row--me .qcw-grp { align-items: flex-end; }
.qcw-av {
  width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto;
  background: #1d4570;/*qs-legacy*/
  background: var(--qs-primary-dark); color: #fff;
  /* JJ[Opus 5] 2026sep14: item 1.10 - 11px avatar initials -> token. */
  font-size: 13px;/*qs-legacy*/
  font-size: var(--qs-text-xs); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
/* JJ[Opus 5] 2026sep14: item 1.10 - 11px message meta -> token (13px at balanced). */
.qcw-meta { font-size: 13px; color: #4a4f55; }/*qs-legacy*/
.qcw-meta { font-size: var(--qs-text-xs); color: var(--qs-text-muted); }
.qcw-typing { gap: 8px; }/*qs-legacy*/
.qcw-typing { display: flex; gap: var(--qs-sp-2); align-items: flex-end; }
.qcw-dots { color: #4a4f55; }/*qs-legacy*/
.qcw-dots { letter-spacing: 2px; color: var(--qs-text-muted); font-size: 10px; }
.qcw-win .qc-msg {
  font-size: 15px;/*qs-legacy*/
  padding: 10px 14px; font-size: var(--qs-text-sm); line-height: 1.5;
  border-radius: 14px 14px 14px 3px;
  max-width: 100%;
}
.qcw-win .qc-msg--them { background: #ffffff; border: 1px solid #cfd9e3; color: #1b1b1b; }/*qs-legacy*/
.qcw-win .qc-msg--them { background: var(--qs-surface); border: 1px solid var(--qs-border); color: var(--qs-text); }
.qcw-win .qc-msg--me { background: #2a5d8f; }/*qs-legacy*/
.qcw-win .qc-msg--me { background: var(--qs-primary); color: #fff; border-radius: 14px 14px 3px 14px; }
.qcw-win .qc-text { overflow-wrap: break-word; }
.qc-card {
  display: block;
  margin-top: 8px;
  background: #ecf3f8;/*qs-legacy*/
  background: var(--qs-primary-lighter);
  border: 1px solid #d5e3ef;/*qs-legacy*/
  border: 1px solid var(--qs-primary-light);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm); font-weight: 700;
}
.sv-root a.qc-card { color: #1d4570; }/*qs-legacy*/
.sv-root a.qc-card { color: var(--qs-primary-dark); text-decoration: none; }
.qc-card:hover { background: #d5e3ef; }/*qs-legacy*/
.qc-card:hover { background: var(--qs-primary-light); }
/* JJ[Opus 5] 2026aug13: live-chat file chips. Server-rendered inside the message bubble (qs_wgui_mvc_index.cpp),
   so these classes must stay in step with that renderer. The chip's click is intercepted by the widget -
   the bytes come back over a POST, never a URL that would carry the chat token.
   JJ[Opus 5] 2026sep21 (a11y Tier 3, WCAG 4.1.2): that renderer now emits <button type="button"> rather than
   the <a href="#"> it used to - the chip never navigated anywhere, so it announced itself as a link and lied.
   Two consequences for this sheet. Every rule that qualified the class with `a` has to name `button` as well
   or it stops matching (they are element-qualified on purpose, so that the read-failure fallback
   `<span class="qc-file qc-file--none">` keeps looking inert rather than picking up control styling). And a
   button inherits almost nothing: not the document font family, not the line-height, not the text alignment,
   so the chip has to ask for all three back or the filename lands centred in 13px Arial with the rows
   suddenly 5px shorter. `width: 100%` is belt-and-braces for the same reason - .qc-files is a column flex
   container and would stretch an anchor, but a button's shrink-to-fit is a long-standing engine quirk.
   No box-sizing here: `.sv-root *` sets border-box at the top of this sheet, so width:100% is already safe. */
.qc-files { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.qc-file {
  gap: 8px;/*qs-legacy*/
  display: flex; align-items: center; gap: var(--qs-sp-2); min-width: 0;
  background: #ffffff; border: 1px solid #cfd9e3;/*qs-legacy*/
  background: var(--qs-surface); border: 1px solid var(--qs-border);
  border-radius: 6px; padding: 7px 10px;
  font-size: 15px;/*qs-legacy*/
  font-size: var(--qs-text-sm);
  font-family: inherit; line-height: inherit; text-align: left; width: 100%;
}
button.qc-file { cursor: pointer; }
.sv-root a.qc-file, .sv-root button.qc-file { color: #1b1b1b; }/*qs-legacy*/
.sv-root a.qc-file, .sv-root button.qc-file { color: var(--qs-text); text-decoration: none; }
.sv-root a.qc-file:hover, .sv-root button.qc-file:hover { background: #ecf3f8; border-color: #d5e3ef; }/*qs-legacy*/
.sv-root a.qc-file:hover, .sv-root button.qc-file:hover { background: var(--qs-primary-lighter); border-color: var(--qs-primary-light); }
.qc-file-n { flex: 1 1 auto; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qc-file-s { font-size: 13px; color: #4a4f55; }/*qs-legacy*/
.qc-file-s { flex: 0 0 auto; font-size: var(--qs-text-xs); color: var(--qs-text-muted); }
.qc-file--none { color: #4a4f55; }/*qs-legacy*/
.qc-file--none { font-style: italic; color: var(--qs-text-muted); cursor: default; }
/* the visitor's own bubble is a solid primary fill, so the chip has to be drawn on it, not under it.
   JJ[Opus 5] 2026sep21 (a11y Tier 3, WCAG 1.4.11 Non-text Contrast): the hairline was a 42%-white wash over
   a 16%-white wash over --qs-primary, which measured between 1.78:1 (forest) and 2.44:1 (cream/paper) against
   the chip fill it is supposed to separate - under the 3:1 floor on every single theme. That hairline is the
   ONLY thing that says the attachment is a control: the chip has no underline and, on this bubble, takes the
   bubble's own white ink. Solid #fff is the strongest border available over a white-tinted fill and clears
   the floor everywhere: 3.49:1 forest, 4.57:1 sage, 4.71:1 mist (stock), 4.77:1 classic, 5.77:1 indigo,
   6.21:1 cream and paper. Matches the value the embedded widget document's own <style> block now uses.
   The HOVER fill stays as it is (a 30%-white wash), which caps its border at 2.75:1 on forest and 3.37:1 on
   sage - still a large improvement on the 2.23:1 it had, and hover is not the state that identifies the
   control. Theme-custom takes an administrator's brand hex, so no literal can be guaranteed there; #fff is
   the best any fixed value can do on a fill that is white mixed into that hex. */
/* JJ[Fable 5] 2026sep21 (review): a DARKER wash, not a lighter one. The white filename on a 16%-white wash measured 3.49:1 on
   theme-forest and 4.57:1 on theme-sage, and 2.75-4.3:1 on hover - any lightening of a bubble that starts at 4.62:1 goes
   under. Darkening can only raise it: 6.3:1 or better at rest and 7.9:1 on hover across all seven themes. */
.qcw-win .qc-msg--me .qc-file { background: rgba(0,0,0,.18); border-color: #fff; }
.sv-root .qc-msg--me a.qc-file, .sv-root .qc-msg--me button.qc-file { color: #fff; }
.sv-root .qc-msg--me a.qc-file:hover, .sv-root .qc-msg--me button.qc-file:hover { background: rgba(0,0,0,.30); border-color: #fff; }
.qcw-win .qc-msg--me .qc-file-s,
.qcw-win .qc-msg--me .qc-file--none { color: rgba(255,255,255,.85); }
.qcw-uperr {
  flex: 0 0 auto; margin: 0;
  padding: 8px 12px 0;
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface);
  font-size: 13px; color: #4a4f55;/*qs-legacy*/
  font-size: var(--qs-text-xs); color: var(--qs-text-muted);
  overflow-wrap: break-word;
}
.qcw-uperr--bad { color: #b50909; }/*qs-legacy*/
.qcw-uperr--bad { color: var(--qs-error-fg); font-weight: 600; }
.qcw-clip {
  flex: 0 0 auto; width: 40px; height: 40px; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: #ffffff; color: #4a4f55;/*qs-legacy*/
  background: var(--qs-surface); color: var(--qs-text-muted);
  border: 1px solid #cfd9e3;/*qs-legacy*/
  border: 1px solid var(--qs-border); border-radius: 999px;
  cursor: pointer;
}
.qcw-clip:hover { color: #2a5d8f; border-color: #2a5d8f; background: #e2ebf3; }/*qs-legacy*/
.qcw-clip:hover { color: var(--qs-primary); border-color: var(--qs-primary); background: var(--qs-surface-alt); }
.qcw-clip[disabled] { opacity: .55; cursor: default; }
/* JJ[Opus 5] 2026sep21: the jump-to-latest bar. The thread used to be slammed to the newest message on
   every 3-second poll, which threw a reader out of what they were reading - worst for anyone on a
   magnifier, for whom scrolling back is slow, deliberate work. The thread now follows only a reader who
   is already at the bottom and everyone else gets this. It is a normal flex item between the thread and
   the chips, so it never covers a message, and it only occupies space while it is shown. */
.qcw-newwrap { background: #e2ebf3; }/*qs-legacy*/
.qcw-newwrap { display: flex; justify-content: center; flex: 0 0 auto; padding: 6px 12px 0; background: var(--qs-surface-alt); }
.qcw-newmsg {
  min-height: 32px; padding: 6px 14px;
  border: 1px solid #cfd9e3;/*qs-legacy*/
  border: 1px solid var(--qs-border); border-radius: 999px;
  background: #ffffff; color: #1b1b1b;/*qs-legacy*/
  background: var(--qs-surface); color: var(--qs-text);
  font: inherit; font-size: var(--qs-text-xs); font-weight: 700; cursor: pointer;
  box-shadow: 0 2px 6px rgba(27,27,27,.18);
}
.qcw-newmsg { font-size: 13px; font-size: var(--qs-text-xs); }/*qs-legacy*/
.qcw-newmsg:hover { background: #e2ebf3; border-color: #2a5d8f; color: #2a5d8f; }/*qs-legacy*/
.qcw-newmsg:hover { background: var(--qs-surface-alt); border-color: var(--qs-primary); color: var(--qs-primary); }
.qcw-chips { gap: 8px; padding: 8px 16px; background: #e2ebf3; }/*qs-legacy*/
.qcw-chips { display: flex; gap: var(--qs-sp-2); flex-wrap: wrap; padding: var(--qs-sp-2) var(--qs-sp-4); background: var(--qs-surface-alt); flex: 0 0 auto; }
.qcw-chip {
  background: #ffffff; color: #2a5d8f;/*qs-legacy*/
  background: var(--qs-surface); color: var(--qs-primary);
  border: 1.5px solid #2a5d8f;/*qs-legacy*/
  border: 1.5px solid var(--qs-primary); border-radius: 999px;
  padding: 6px 12px;
  font: inherit; font-size: var(--qs-text-sm); font-weight: 700; cursor: pointer;
}
.qcw-chip { font-size: 15px; font-size: var(--qs-text-sm); }/*qs-legacy*/
.qcw-chip:hover { background: #2a5d8f; }/*qs-legacy*/
.qcw-chip:hover { background: var(--qs-primary); color: #fff; }
.qcw-endpanel { flex: 1 1 auto; padding: 18px; overflow-y: auto; }
.qcw-endcard {
  background: #ecf3ec; border-left: 6px solid #2c6936;/*qs-legacy*/
  background: var(--qs-success-bg); border-left: 6px solid var(--qs-success-fg);
  padding: 16px;/*qs-legacy*/
  border-radius: 4px; padding: var(--qs-sp-4);
  gap: 12px;/*qs-legacy*/
  display: flex; flex-direction: column; gap: var(--qs-sp-3); align-items: flex-start;
}
.qcw-endh { color: #2c6936; }/*qs-legacy*/
.qcw-endh { font-weight: 800; color: var(--qs-success-fg); font-size: 15px; }
.qcw-endtext { font-size: 15px; }/*qs-legacy*/
.qcw-endtext { font-size: var(--qs-text-sm); }
.qcw-compose {
  gap: 8px;/*qs-legacy*/
  display: flex; gap: var(--qs-sp-2); align-items: center;
  padding: 10px 12px 8px;
  border-top: 1px solid #cfd9e3;/*qs-legacy*/
  border-top: 1px solid var(--qs-border);
  background: #ffffff;/*qs-legacy*/
  background: var(--qs-surface); flex: 0 0 auto;
}
.qcw-cinput {
  flex: 1 1 auto; min-width: 0;
  /* JJ[Opus 5] 2026sep14: item 1.10 - composer field to body size, as the pre-chat fields. */
  font: inherit; font-size: var(--qs-text-base);
  border: 1px solid #4a4f55;/*qs-legacy*/
  border: 1px solid var(--qs-text-muted); border-radius: 999px;
  padding: 11px 16px;
  background: #ffffff; color: #1b1b1b;/*qs-legacy*/
  background: var(--qs-surface); color: var(--qs-text);
}
.qcw-cinput { font-size: 16px; font-size: var(--qs-text-base); }/*qs-legacy*/
.qcw-send {
  flex: 0 0 auto; min-height: 44px;
  background: #2a5d8f;/*qs-legacy*/
  background: var(--qs-primary); color: #fff;
  border: 0; border-radius: 999px;
  padding: 0 18px;
  font: inherit; font-weight: 700; cursor: pointer;
}
.qcw-send[disabled] { background: #a9aeb1; cursor: not-allowed; }
/* 2026aug16 fix: a plain media query, NOT an @container - the launcher lives in its own .qcw-scope wrapper
   OUTSIDE every page's `sv` query container since the 2026jul31 restructure, so the old @container form
   could never match and phones kept the desktop offsets. The window is position:fixed (viewport-anchored),
   which is exactly what a media query measures. */
@media (max-width: 480px) {
  .qcw-win { right: 8px; bottom: 8px; width: calc(100vw - 16px); }
}

/* JJ[Opus 5] 2026sep14: item 1.11 - a reader who has already told their operating system that
   default contrast does not work for them gets the strongest ink we ship plus the border token
   that item 1.6 proved at 4.6:1+. Token-only by design, so nobody who has not asked for it is
   affected and the generator has nothing new to resolve.
   The selector is DOUBLED deliberately. qs_css_fallback.py collect_tokens() matches frames by
   selector text with no regard for @media nesting, so a bare ".sv-root" block here would be
   folded into the DEFAULT token set and these high-contrast values would leak into the whole
   generated legacy layer for every visitor. ".sv-root.sv-root" is invisible to that lookup
   and, as a bonus, it outranks the four light themes that redeclare --qs-border at
   .sv-root.theme-* weight.
   JJ[Fable 5] 2026sep14: the generator now ALSO skips any token block nested in an at-rule
   (collect_tokens), so the generator no longer needs the trick - but the CASCADE does: a custom-branded
   portal injects a render-time <style> .sv-root.theme-custom { --qs-border: ... } AFTER this sheet at (0,2,0)
   weight, so the selector is TRIPLED (0,3,0) to win on specificity rather than source order (review fix). */
@media (prefers-contrast: more) {
  .sv-root.sv-root.sv-root { --qs-text-muted: var(--qs-text); --qs-border: var(--qs-border-strong); }
  .sv-root a { text-decoration-thickness: 2px; }
}

/* JJ[Opus 5] 2026sep21 (a11y Tier 3, WCAG 1.4.11 Non-text Contrast, the forced-colours half): Windows High
   Contrast does not reliably set prefers-contrast, so the block above never runs for the readers who need it
   most - and it could not have helped them anyway, being token overrides only. Forced colours replaces the
   author's palette wholesale: background-color and color are repainted from the user's own scheme and
   box-shadow is DROPPED ENTIRELY, while border and outline keep their geometry and get recoloured. Every
   state indicator drawn with a fill or a shadow therefore vanishes, and this sheet had three of them.
   The rules below restate each one with a system colour, which is the only kind of value a forced palette
   leaves alone - no literals and no var() in here, deliberately: a var() declaration would make
   qs_css_fallback.py emit a resolved twin and leak an author hex into the generated legacy layer. The
   selectors are the authored ones and this block is the last thing in the file, so each wins on source
   order without needing to be inflated. Nothing here uses forced-color-adjust: none - that would opt the
   element out of the reader's own scheme, which is the opposite of the point.
   NOT restated, because they already survive: .sv-navitem.is-active and .sv-tab.is-active both draw a real
   4px border-bottom against a transparent one, and .sv-breadcrumb [aria-current="page"] is a font-weight. */
@media (forced-colors: active) {
  /* the ring's dark companion is a box-shadow, so forced colours throws it away and leaves the outline to
     carry the whole indicator. Name Highlight rather than letting the amber be remapped: a user agent that
     maps every author colour onto CanvasText would render the focus ring in exactly the same ink as every
     ordinary border on the page, which is a focus indicator nobody can find. */
  .sv-root :focus-visible,
  .sv-rate-opt input:focus + span,
  .sv-cat:focus-within, .sv-prio:focus-within { outline: 3px solid Highlight; outline-offset: 2px; }
  /* JJ[Opus 5.5] 2026oct09 (portal P2): the home search's text box no longer draws its own ring (the wrapper
     carries the indication), so the wrapper's ring is named here like every other ring in this block. */
  .sv-root .sv-hero-search:focus-within { outline: 3px solid Highlight; outline-offset: 0; }

  /* CSAT rating scale: the checked chip is a fill, and the fill is the first thing forced colours repaints.
     The 4px ring the rule above gives it is geometry and survives on its own; handing it Highlight ties the
     chosen number to whatever colour this reader's scheme already uses to mean "selected". */
  .sv-rate-opt input:checked + span { border-color: Highlight; }

  /* category / priority radio cards: selection was a tint plus an inset box-shadow bar - one repainted, one
     dropped - and the card's own border was already the same width as an unselected card's, so the two ended
     up identical. The filled dot inside the radio is the real shape cue (it scales from 0 to 1, which forced
     colours cannot undo), but it is drawn with a background, so it needs naming too or it comes back Canvas
     on Canvas. These three are design-system rules: the portal does not emit .sv-cat/.sv-prio today. */
  .sv-cat.is-selected, .sv-prio.is-selected { border-color: Highlight; }
  .is-selected .sv-cat-radio { border-color: Highlight; }
  .is-selected .sv-cat-radio span { background: Highlight; }
}

/* JJ[Opus 5.5] 2026sep30: richtext M4 - the requester editor under forced colours (same rules as the block above: system colours
   only, no var() and no literals). A pressed formatting button is told apart by its EDGE - 3px in the reader's Highlight - with
   its label in ButtonText (a Highlight fill would put HighlightText on the Canvas backplate the user agent paints behind forced
   text: invisible). The surface's focus ring is restated with Highlight because its own rule outranks the generic one above. The
   list's thumbnail edges, the refused row's rule and the not-sent panel's rule are borders the user agent keeps; notes stay words. */
@media (forced-colors: active) {
  .sv-root .qse-btn[aria-pressed="true"] { border: 3px solid Highlight; color: ButtonText; }
  .sv-root .sv-textarea.qse-surface:focus { outline: 3px solid Highlight; outline-offset: 2px; }
  .sv-root .qse-surface.qse-empty::before { color: GrayText; }
  .sv-root .qse-popmsg { color: CanvasText; }
  .sv-root .qse-msg { border-left-color: CanvasText; }
  .sv-root .qse-picthumb { border-color: CanvasText; }
  .sv-root .qse-pic[data-qsedbad] { box-shadow: none; border-left: 3px solid CanvasText; }
  .sv-root .qse-pics--lost { border-left-color: CanvasText; }
  .sv-root .qse-picnote, .sv-root .qse-picbad { color: CanvasText; }
}

/* JJ[Opus 5] 2026sep21 (a11y Tier 3, WCAG 2.3.3 Animation from Interactions): every moving thing in the
   portal is decorative - the skip link sliding down from above the fold, the hero and guided-search wrappers
   easing their focus borders, the category radio's dot scaling up, the mobile nav band unrolling its
   max-height, the guided results panel fading in - so a reader who has asked their operating system for less
   motion can simply have all of it at once, and none of it carries information that arriving instantly would
   lose. 0.01ms rather than `none` is the standard form: the transition and animation still complete, so any
   script waiting on transitionend or animationend is not left hanging (none does today, but the next one
   will not have to remember this rule). !important is required, not decoration: `.sv-root *` scores (0,1,0)
   and would lose to `.sv-cat-radio span` and to anything else that qualifies a class with an element.
   Scoped to .sv-root, which covers the chat launcher and panel too - .qcw-scope is itself a .sv-root. */
@media (prefers-reduced-motion: reduce) {
  .sv-root, .sv-root *, .sv-root *::before, .sv-root *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
