/* The console in the Doctorpedia look, 10 November 2026. Linked after admin-family.css and forms.css, before the
   Library's own sheet. It gives the console's token names the design system's values (~/doctorpedia-design, the same
   hand as BiteSized's clean.css) and then takes away what the old look added: gradients, frost, glows and coloured
   shadows. Hedvig Letters Sans runs the console and Hedvig Letters Serif sets its titles, as in the apps, each in its one weight. Ink on white over a warm page, hairlines, one lilac
   for focus. The Library screens are not named here: they follow through the tokens. No masks. */

/* 0. Type ------------------------------------------------------------------------------------------------------- */
@font-face { font-family: "Hedvig Letters Sans"; src: url("assets/fonts/hedvig-letters-sans-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hedvig Letters Sans"; src: url("assets/fonts/hedvig-letters-sans-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hedvig Letters Serif"; src: url("assets/fonts/hedvig-letters-serif-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hedvig Letters Serif"; src: url("assets/fonts/hedvig-letters-serif-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 1. Tokens: the system's values under the names the console already reads ---------------------------------------- */
/* dark is the base (:root), light is html.light; one step above admin-family.css so these win in both */
html:root:root {
  color-scheme: dark;
  --cl-sans: "Hedvig Letters Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --cl-serif: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  /* 10 November 2026, read in the demonstration: the second ink is the reading ink, near the first; the quiet ones stay at 7:1 or more on the page */
  --cl-ink: #F2F2F0; --cl-ink-2: #D6D6D3; --cl-ink-3: #B8B8B5; --cl-ink-4: #ADADAA;
  --cl-page: #141414; --cl-surface: #1F1F1F; --cl-surface-2: #2A2A2A;
  --cl-line: rgba(255, 255, 255, .08); --cl-line-2: rgba(255, 255, 255, .13); --cl-line-3: rgba(255, 255, 255, .24);
  --cl-hover: rgba(255, 255, 255, .05); --cl-press: rgba(255, 255, 255, .09);
  --cl-lilac: #A89DFF; --cl-lilac-soft: #2B2742;
  --cl-bad: #F26A8A; --cl-bad-ink: #F26A8A; --cl-on-bad: #1A1A1A; --cl-ok-ink: #6FC2A3; --cl-warn-ink: #E8B06C;
  --cl-toast: #2A2A2A;
  --cl-shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
  --cl-shadow-2: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .5);
  --cl-shadow-3: 0 1px 2px rgba(0, 0, 0, .3), 0 22px 48px -20px rgba(0, 0, 0, .6);
  --cl-spring: cubic-bezier(.16, 1, .3, 1); --cl-out: cubic-bezier(.22, .61, .36, 1);
  --cl-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='none' stroke='%23B8B8B5' stroke-width='20' stroke-linecap='round' stroke-linejoin='round' d='m208 96-80 80-80-80'/%3E%3C/svg%3E");

  --canvas: var(--cl-page); --color-background: var(--cl-surface); --color-foreground: var(--cl-ink);
  --color-card: var(--cl-surface); --color-surface: var(--cl-surface);
  --color-muted: color-mix(in srgb, var(--cl-ink) 6%, transparent); --color-muted-foreground: var(--cl-ink-3);
  --color-border: var(--cl-line); --color-brand: var(--cl-ink); --color-brand-hover: #FFFFFF;
  --color-primary: var(--cl-ink); --color-primary-foreground: #1A1A1A; --color-accent: var(--cl-ink);
  --color-ring: var(--cl-lilac); --color-brand-ink: var(--cl-ink);
  --color-alert: var(--cl-bad); --color-alert-ink: var(--cl-bad-ink); --color-danger: var(--cl-bad);
  --color-success: var(--cl-ok-ink); --color-success-ink: var(--cl-ok-ink);
  --color-brand-2: var(--cl-lilac); --color-warm-ink: var(--cl-warn-ink); --color-warning: var(--cl-warn-ink);
  --brand-grad: linear-gradient(var(--cl-ink), var(--cl-ink));
  --one-grad: linear-gradient(var(--cl-ink), var(--cl-ink));
  --oryn-page: var(--cl-page); --oryn-rail: var(--cl-surface); --oryn-surface-2: var(--cl-surface-2);
  --oryn-border-hover: var(--cl-line-3); --oryn-surface-hover: var(--cl-hover); --oryn-text-2: var(--cl-ink-2);
  --oryn-glass: var(--cl-surface); --oryn-brand-tint: var(--cl-press); --oryn-brand-soft: var(--cl-hover);
  --brand-soft: color-mix(in srgb, var(--cl-ink) 8%, transparent);
  --frost: var(--cl-surface); --frost-strong: var(--cl-surface); --frost-float: var(--cl-surface);
  --frost-line: var(--cl-line); --frost-rim: 0 0 0 0 transparent; --frost-shadow: 0 0 0 0 transparent;
  --frost-shadow-up: var(--cl-shadow-2); --frost-pop: var(--cl-shadow-3); --frost-well: var(--cl-hover);
  --frost-ink: var(--cl-toast); --frost-ease: var(--cl-spring); --glass-2: var(--cl-surface);
  --field-a: transparent; --field-b: transparent; --field-c: transparent;
  --oryn-shadow: var(--cl-shadow-1); --float-line: var(--cl-line-2); --float-seam: transparent;
  --font-sans: var(--cl-sans); --font-heading: var(--cl-sans); --font-mono: var(--cl-sans);
  --radius-md: 10px; --radius-lg: 12px; --radius-xl: 16px; --radius-2xl: 16px;
  --frame: 12px; --frame-r: 16px; --ease-out: var(--cl-out);

  /* the console's own: the six app tints go quiet, the soft grounds come from the system's three state inks */
  --app-bitesized: var(--cl-ink-3); --app-dose: var(--cl-ink-3); --app-library: var(--cl-ink-3);
  --app-ask: var(--cl-ink-3); --app-all: var(--cl-ink-3); --app-home: var(--cl-ink-3);
  --adm-alert-soft: color-mix(in srgb, var(--cl-bad) 14%, transparent);
  --adm-ok-soft: color-mix(in srgb, var(--cl-ok-ink) 14%, transparent);
  --adm-warm-soft: color-mix(in srgb, var(--cl-warn-ink) 15%, transparent);
  --adm-quiet-soft: color-mix(in srgb, var(--cl-ink) 7%, transparent);
  --adm-glass: var(--cl-surface);
  --adm-apps-w: 84px; --adm-nav-w: 322px; --adm-top-h: 68px;
}
html.light:root:root {
  color-scheme: light;
  --cl-ink: #1A1A1A; --cl-ink-2: #2E2E2E; --cl-ink-3: #454545; --cl-ink-4: #4D4D4D;
  --cl-page: #F7F7F5; --cl-surface: #FFFFFF; --cl-surface-2: #F2F2F0;
  --cl-line: rgba(26, 26, 26, .08); --cl-line-2: rgba(26, 26, 26, .12); --cl-line-3: rgba(26, 26, 26, .22);
  --cl-hover: rgba(26, 26, 26, .05); --cl-press: rgba(26, 26, 26, .09);
  --cl-lilac: #8B7CFF; --cl-lilac-soft: #E6E2FF;
  --cl-bad: #D4605A; --cl-bad-ink: #B4433D; --cl-on-bad: #FFFFFF; --cl-ok-ink: #22634B; --cl-warn-ink: #9A5F17;
  --cl-toast: #1A1A1A;
  --cl-shadow-1: 0 1px 2px rgba(26, 26, 26, .04);
  --cl-shadow-2: 0 1px 2px rgba(26, 26, 26, .04), 0 16px 40px -16px rgba(26, 26, 26, .12);
  --cl-shadow-3: 0 1px 2px rgba(26, 26, 26, .04), 0 22px 48px -20px rgba(26, 26, 26, .18);
  --cl-chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='none' stroke='%23454545' stroke-width='20' stroke-linecap='round' stroke-linejoin='round' d='m208 96-80 80-80-80'/%3E%3C/svg%3E");
  --color-brand-hover: #000000; --color-primary-foreground: #FFFFFF;
  --adm-alert-soft: color-mix(in srgb, var(--cl-bad) 11%, transparent);
  --adm-ok-soft: color-mix(in srgb, var(--cl-ok-ink) 10%, transparent);
  --adm-warm-soft: color-mix(in srgb, var(--cl-warn-ink) 11%, transparent);
  --adm-quiet-soft: color-mix(in srgb, var(--cl-ink) 6%, transparent);
}
html.more-contrast:root:root { --cl-line: rgba(255, 255, 255, .2); --cl-line-2: rgba(255, 255, 255, .3); --cl-line-3: rgba(255, 255, 255, .5); --cl-ink-4: #BDBDBA; --cl-ink-3: #C9C9C6; --cl-ink-2: #E2E2DF; }
html.more-contrast.light:root:root { --cl-line: rgba(26, 26, 26, .2); --cl-line-2: rgba(26, 26, 26, .32); --cl-line-3: rgba(26, 26, 26, .5); --cl-ink-4: #3D3D3D; --cl-ink-3: #333333; --cl-ink-2: #222222; }

/* 2. Base: one family, one weight, one ring ------------------------------------------------------------------------ */
html { font-synthesis: none; background: var(--cl-page); }
html body { background: var(--cl-page); font-family: var(--cl-sans); letter-spacing: 0; }
body, button, input, select, textarea, h1, h2, h3, h4 { font-family: var(--cl-sans); }
:where(h1, h2, h3, h4, b, strong, th, .font-semibold, .font-bold, .font-medium) { font-weight: 400; }
::selection { background: var(--cl-lilac-soft); color: var(--cl-ink); }
:where(button, a, summary, input, select, textarea, [role="button"], [role="tab"], [role="switch"], [tabindex="0"]):focus-visible { outline: 2px solid var(--cl-lilac) !important; outline-offset: 2px; }

/* 3. The frame: a white menu and the page itself, no cards around either ------------------------------------------- */
.adm-rail { border: 1px solid var(--cl-line); border-radius: 16px; background: var(--cl-surface); box-shadow: none; }
.adm-main { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.adm-top::before { inset: 0; background: var(--cl-page); border-bottom: 1px solid var(--cl-line); }
.adm-page { padding-top: 10px; }

/* the brand: an ink square, the word, a quiet tag */
.adm-brand-mark, .adm-splash-mark { background: var(--cl-ink); color: var(--cl-surface); box-shadow: none; border-radius: 10px; }
.adm-splash-mark { border-radius: 16px; }
.adm-brand-name, .adm-splash-name, .adm-panel-top .adm-brand-name { font-size: 17px; letter-spacing: -.01em; }
.adm-brand-tag, .adm-panel-top .adm-brand-tag { height: 24px; padding: 0 9px; background: var(--adm-quiet-soft); color: var(--cl-ink-3); }

/* 4. The menu: the apps column quiet, the current place a soft pill ------------------------------------------------ */
.adm-rail { grid-template-columns: var(--adm-apps-w) minmax(0, 1fr); }
.adm-apps { padding: 12px 6px; border-right: 1px solid var(--cl-line); background: none; }
.adm-apps-list { gap: 2px; }
.adm-app { gap: 6px; padding: 8px 0; border-radius: 12px; color: var(--cl-ink-3); transition: background-color .18s var(--cl-out), color .18s var(--cl-out); }
.adm-app-logo, .adm-app:hover .adm-app-logo, .adm-app[aria-current="true"] .adm-app-logo { opacity: 1; filter: none; transform: none; box-shadow: none; border-radius: 10px; }
.adm-app-logo { width: 32px; height: 32px; }
.adm-app-tile { width: 32px; height: 32px; }
.adm-app-name { font-size: 14px; line-height: 1.2; }
@media (hover: hover) { .adm-app:hover { background: var(--cl-hover); color: var(--cl-ink); } }
.adm-app[aria-current="true"] { color: var(--cl-ink); }
.adm-app:focus-visible .adm-app-logo { box-shadow: none; }
.adm-app:focus-visible { outline: 2px solid var(--cl-lilac) !important; outline-offset: -2px; }
.adm-apps-ind::before { display: none; }
.adm-apps-ind::after { inset: 0; top: 0; left: 0; width: auto; height: auto; margin: 0; border-radius: 12px; background: var(--cl-surface-2); box-shadow: none; }
.adm-app-dot { width: 8px; height: 8px; background: var(--cl-lilac); box-shadow: 0 0 0 2px var(--cl-surface); }
.adm-app-dot.is-alert { background: var(--cl-bad); }
.adm-apps-sep { background: var(--cl-line); }
.adm-logo, .adm-apphead-logo, .hm-app-logo { box-shadow: none; }
.adm-logo--grad, .adm-logo--brand { background: var(--cl-ink); color: var(--cl-surface); box-shadow: none; }
.adm-logo--plate { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--cl-line-2); }

.adm-panel { gap: 12px; padding: 14px 12px 12px; }
.adm-panel::before, .adm-panel .adm-navlist::after { display: none; }
.adm-apphead { padding: 2px 4px 12px; border-bottom: 0; }
.adm-apphead-name { gap: 10px; font-size: 17px; letter-spacing: -.01em; }
.adm-apphead-logo { width: 28px; height: 28px; border-radius: 9px; }
.adm-apphead-sub { margin-top: 6px; color: var(--cl-ink-3); }
.adm-nav, .adm-panel .adm-nav { height: 40px; padding: 0 12px; border-radius: 12px; font-size: 15px; color: var(--cl-ink-2); }
.adm-nav[aria-current="page"], .adm-panel .adm-nav[aria-current="page"] { color: var(--cl-ink); }
.adm-panel .adm-nav[aria-current="page"] .adm-nav-ic { color: var(--cl-ink); }
.adm-panel .adm-nav-ic { transition: color .2s var(--cl-out); }
.adm-nav-ind { right: 4px; left: 4px; border-radius: 12px; background: var(--cl-surface-2); box-shadow: none; transition: none; }
@media (hover: hover) { .adm-panel .adm-nav:hover:not([aria-current="page"]) { background: var(--cl-hover); color: var(--cl-ink); } }
.adm-navsub, .adm-panel .adm-navsub, .adm-panel .adm-navsub--fold { color: var(--cl-ink-4); }
.adm-panel .adm-navsub { margin: 18px 12px 6px; }
.adm-nav-count { min-width: 24px; height: 24px; background: var(--adm-quiet-soft); box-shadow: none; color: var(--cl-ink-2); }
.adm-nav-count.is-alert { background: var(--adm-alert-soft); color: var(--cl-bad-ink); }
/* the foot of the menu: one hairline above the way out and the person, so a long list ends on a line */
.adm-rail-out { margin-top: 6px; padding: 8px 0 2px; border-top: 1px solid var(--cl-line); }
.adm-me, .adm-panel .adm-me { padding-top: 8px; border-top: 0; }
/* the page title takes focus on every change of screen so a screen reader says it: no ring around a title */
.adm-h1:focus, .adm-h1:focus-visible { outline: none !important; }
/* a warning keeps its warm ink now that the second series of a chart is the accent */
.mod-status--warn .mod-dot, .sih--warn .sih-dot { background: var(--cl-warn-ink); box-shadow: none; }
.mod-mark { background: var(--cl-lilac-soft); }
.adm-avatar { background: var(--cl-surface-2); color: var(--cl-ink); }
.adm-me-name { font-size: 15px; }
.adm-railtip { box-shadow: none; }

/* 5. The top bar --------------------------------------------------------------------------------------------------- */
.adm-search { height: 44px; border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; color: var(--cl-ink-3); transition: border-color .18s var(--cl-out); }
.adm-search:hover { border-color: var(--cl-line-3); color: var(--cl-ink-2); }
.adm-kbd { background: var(--adm-quiet-soft); color: var(--cl-ink-3); }
.adm-top .adm-iconbtn, .adm-assistbtn { border: 1px solid var(--cl-line-2); background: var(--cl-surface); box-shadow: none; color: var(--cl-ink-2); }
.adm-top .adm-iconbtn:hover, .adm-assistbtn:hover { border-color: var(--cl-line-3); color: var(--cl-ink); }
.adm-assistbtn { height: 44px; padding: 0 16px 0 14px; border-radius: 999px; font-size: 15px; }
.adm-assistbtn i { color: var(--cl-ink-2); }
.adm-assistbtn[aria-expanded="true"] { border-color: var(--cl-line-3); background: var(--cl-surface-2); color: var(--cl-ink); }
.adm-assistbtn.has-brief::after { background: var(--cl-lilac); box-shadow: 0 0 0 2px var(--cl-surface); }
.adm-envchip { height: 32px; border: 1px solid var(--cl-line-2); background: var(--cl-surface); color: var(--cl-ink-2); }
.adm-envchip > i { box-shadow: none; }

/* 6. Page head ----------------------------------------------------------------------------------------------------- */
.adm-head { margin-bottom: 24px; }
/* titles in the serif of the family, as the apps set theirs: the page, a section, a sheet, an empty state, an app's name */
.adm-h1, .adm-h2, .adm-empty-t, .hm-app-name { font-family: var(--cl-serif); font-optical-sizing: auto; font-weight: 400; }
.adm-h1 { font-size: 34px; letter-spacing: -.02em; line-height: 1.12; }
.adm-h2 { font-size: 22px; letter-spacing: -.01em; line-height: 1.22; }
.adm-empty-t, .hm-app-name { font-size: 20px; letter-spacing: -.008em; line-height: 1.25; }
.adm-h3 { font-size: 16px; letter-spacing: 0; }
.adm-sub, .adm-head .adm-sub { color: var(--cl-ink-3); }
.adm-eyebrow { color: var(--cl-ink-4); letter-spacing: 0; text-transform: none; }
.adm-crumb, .adm-crumb-app { color: var(--cl-ink-3); }
.adm-link { color: var(--cl-ink); text-decoration: underline; text-decoration-color: var(--cl-line-3); text-underline-offset: 3px; }
.adm-link:hover { text-decoration-color: var(--cl-ink); }

/* 7. Buttons: one ink pill for the screen's main action, the rest quiet and worded --------------------------------- */
.adm-btn { height: 40px; padding: 0 18px; font-size: 15px; box-shadow: none; transition: background-color .18s var(--cl-out), border-color .18s var(--cl-out), color .18s var(--cl-out); }
.adm-btn--primary, .adm-btn--primary:hover { box-shadow: none; }
.adm-btn--primary { background: var(--cl-ink); color: var(--color-primary-foreground); }
.adm-btn--primary:hover { background: var(--color-brand-hover); }
.adm-btn--ghost { border-color: var(--cl-line-2); background: var(--cl-surface); box-shadow: none; color: var(--cl-ink); }
.adm-btn--ghost:hover { border-color: var(--cl-line-3); background: var(--cl-surface); box-shadow: none; color: var(--cl-ink); }
.adm-btn--danger { background: var(--adm-alert-soft); color: var(--cl-bad-ink); }
.adm-btn--lg { height: 46px; padding: 0 22px; font-size: 16px; }
.adm-btn[data-sm], .adm-btn--sm { height: 34px; padding: 0 14px; }
.adm-btn[aria-pressed="true"], .adm-btn[aria-current="true"], .adm-btn[aria-selected="true"], .adm-btn.is-on { border-color: var(--cl-line-3); background: var(--cl-surface-2); color: var(--cl-ink); }
#admConfirm .adm-btn--danger, #admConfirm .adm-btn--danger:hover { background: var(--cl-bad-ink); color: var(--cl-on-bad); box-shadow: none; }
.adm-iconbtn:hover { background: var(--cl-hover); color: var(--cl-ink); }

/* 8. Objects on the page: white, a hairline, no shadow ------------------------------------------------------------- */
.adm-card, .adm-rows, .adm-tablewrap, .adm-figs, #admBody .grid:has(> .adm-stat) { border: 1px solid var(--cl-line); border-radius: 16px; background: var(--cl-surface); box-shadow: none; }
.adm-card .adm-card, .adm-drawer .adm-card, .adm-rows .adm-card { border-color: transparent; border-radius: 12px; background: var(--cl-surface-2); }
.adm-row { min-height: 60px; padding: 14px 20px; }
.adm-row + .adm-row, .adm-rows-head + .adm-row, .adm-rows-foot { border-top-color: var(--cl-line); }
.adm-row:focus-visible { border-radius: 14px; }
.adm-row-t { font-size: 15px; }
.adm-row-ic { background: var(--cl-surface-2); color: var(--cl-ink-2); }
.adm-row-ic.is-brand { background: var(--cl-surface-2); color: var(--cl-ink); }
.adm-rows-head { padding: 20px 20px 12px; }
.adm-stat { padding: 18px 20px 18px 21px; border-color: var(--cl-line); }
.adm-stat-v { font-size: 28px; letter-spacing: -.02em; }
.adm-note { border-radius: 12px; background: var(--cl-surface-2); color: var(--cl-ink-2); }
.adm-note > i { color: var(--cl-ink-3); }
.adm-note--bad { background: var(--adm-alert-soft); }
.adm-note--warm { background: var(--adm-warm-soft); }
.adm-note b, .adm-note strong { color: var(--cl-ink); }
.adm-choice { border-color: var(--cl-line-2); border-radius: 12px; background: var(--cl-surface); box-shadow: none; }
.adm-choice[aria-current="true"], .adm-choice[aria-pressed="true"] { border-color: var(--cl-ink); background: var(--cl-surface-2); box-shadow: none; color: var(--cl-ink); }
.adm-choice > i { color: var(--cl-ink-2); }
.adm-empty-ic, .adm-state-ic { background: var(--cl-surface-2); }
.adm-skel { background: var(--adm-quiet-soft); background-size: auto; animation: admLookPulse 1.4s ease-in-out infinite; }
@keyframes admLookPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.adm-skelrow { border-bottom-color: var(--cl-line); }

/* 9. Segments, pills, find, pager ---------------------------------------------------------------------------------- */
.adm-seg { padding: 3px; border: 0; background: var(--adm-quiet-soft); }
.adm-seg > :is(button, a), .adm-seg > .adm-btn { height: 36px; padding: 0 15px; color: var(--cl-ink-3); }
.adm-seg > :is(button, a):is([aria-pressed="true"], [aria-current="true"], [aria-selected="true"], .is-on) { background: var(--cl-surface); box-shadow: 0 0 0 1px var(--cl-line-2); color: var(--cl-ink); }
.adm-seg small, .adm-seg > :is([aria-pressed="true"], [aria-current="true"], [aria-selected="true"], .is-on) small { color: var(--cl-ink-3); }
.adm-pill { height: 26px; padding: 0 10px; }
.adm-pill--mute, .adm-pill--brand { background: var(--adm-quiet-soft); color: var(--cl-ink-2); }
.adm-find > .fld, .adm-find > input { height: 44px; border-radius: 999px; box-shadow: none; }
.adm-pager { margin-top: 16px; }

/* 10. Fields, the dropdown, switches ------------------------------------------------------------------------------- */
.fld, button.bsf-trigger { height: 44px; border: 1px solid var(--cl-line-2); border-radius: 12px; background-color: var(--cl-surface); box-shadow: none; }
textarea.fld { height: auto; }
.fld:hover, button.bsf-trigger:hover { border-color: var(--cl-line-3); }
.fld:focus, button.bsf-trigger:focus-visible, button.bsf-trigger.is-open { border-color: var(--cl-line-3); background-color: var(--cl-surface); box-shadow: none; }
.fld:focus-visible { outline: 2px solid var(--cl-lilac); outline-offset: 1px; }
.fld::placeholder { color: var(--cl-ink-4); }
.adm-find > .fld, .adm-find > input, .adm-find button.bsf-trigger { border-radius: 999px; }
select.fld, .adm-main select, .adm-drawer select, #admConfirm select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background-image: var(--cl-chev); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px;
}
button.bsf-trigger { padding: 0 12px 0 16px; }
button.bsf-trigger.is-open .bsf-trigger__ic, button.bsf-trigger.is-open .bsf-trigger__caret { color: var(--cl-ink); }
.bsf-pop { border: 1px solid var(--cl-line-2); border-radius: 14px; background: var(--cl-surface); box-shadow: var(--cl-shadow-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bsf-opt { border-radius: 10px; }
.bsf-opt.is-active { background: var(--cl-hover); }
.bsf-pop[data-bsf-pop="select"] .bsf-opt[aria-selected="true"] { color: var(--cl-ink); }
.bsf-scrim { background: rgba(0, 0, 0, .32); -webkit-backdrop-filter: none; backdrop-filter: none; }
.bsf-cal__day.is-today { box-shadow: inset 0 0 0 1px var(--cl-line-3); color: var(--cl-ink); }
.lbl { color: var(--cl-ink-2); }
.adm-form-err { color: var(--cl-bad-ink); }
.fld-shake { border-color: var(--cl-bad) !important; box-shadow: none !important; }
.sw { background: var(--cl-line-3); box-shadow: none; transition: background-color .2s var(--cl-out); }
.sw::after { background: #FFFFFF; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s var(--cl-out); }
.sw.on { background: var(--cl-ink); box-shadow: none; }
html:not(.light) .sw.on::after { background: #1A1A1A; }

/* 11. Tables ------------------------------------------------------------------------------------------------------- */
.adm-table thead th, .adm-card .adm-table thead th { background: var(--cl-surface); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom-color: var(--cl-line); color: var(--cl-ink-3); letter-spacing: 0; text-transform: none; }
.adm-table thead th:first-child { border-top-left-radius: 15px; }
.adm-table thead th:last-child { border-top-right-radius: 15px; }
.adm-table tbody tr:last-child td:first-child { border-bottom-left-radius: 15px; }
.adm-table tbody tr:last-child td:last-child { border-bottom-right-radius: 15px; }
.adm-table tbody td { height: 58px; border-bottom-color: var(--cl-line); }
.adm-table tbody tr:hover { background: var(--cl-hover); }
.adm-table tr[tabindex="0"]:focus-visible, .adm-rowcard[tabindex="0"]:focus-visible { outline: 2px solid var(--cl-lilac); border-radius: 12px; }

/* 12. What floats: drawer, confirm, palette, toast ------------------------------------------------------------------ */
.adm-drawer-scrim, .adm-scrim, .adm-cmd-bd, .adm-dialog-bd, #admConfirm > .absolute.inset-0 { background: rgba(0, 0, 0, .28) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html:not(.light) :is(.adm-drawer-scrim, .adm-scrim, .adm-cmd-bd, .adm-dialog-bd, #admConfirm > .absolute.inset-0) { background: rgba(0, 0, 0, .55) !important; }
.adm-drawer, .adm-assist, .adm-cmd-box, #admConfirm > .adm-card { border: 1px solid var(--cl-line-2); border-radius: 16px; background: var(--cl-surface); box-shadow: var(--cl-shadow-3); -webkit-backdrop-filter: none; backdrop-filter: none; }
.adm-drawer-head { padding: 16px 14px 12px 24px; }
.adm-drawer-body { padding: 6px 24px 24px; }
#admConfirm > .adm-card { padding: 26px; }
.adm-toast { border: 1px solid var(--cl-line-2); border-radius: 14px; background: var(--cl-toast); color: #F2F2F0; box-shadow: var(--cl-shadow-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
.adm-toast--ok > i { color: #6FC2A3; }
.adm-toast--bad > i { color: #F26A8A; }
.adm-toast--info > i { color: #A89DFF; }
.adm-toast-track > div { background: #A89DFF; }
[data-tip]::after { background: var(--cl-toast); color: #F2F2F0; box-shadow: none; }
.adm-demobar, .adm-signedout { box-shadow: var(--cl-shadow-2); }

/* 13. The sign-in gate --------------------------------------------------------------------------------------------- */
/* The family's sign-in (17 November 2026): the gate is a page as Dose's, Ask's and BiteSized's. signin-family.css holds the
   dark panel (.sf-art) and the form column (.sf-side, .sf-col); here they are placed. The splash keeps the plain page with
   its mark in the middle; the panel and the mark over the form come when there is something to sign in to (is-door,
   admin-core.js). The form keeps its words and its parts; it stands on the page, without a card around it, at the
   family's sizes: a 32 px serif title, 52 px fields, a 52 px main button, 48 px for the other ways in. */
.adm-gate { display: flex; align-items: stretch; justify-items: initial; padding: 0; overflow-x: hidden; background: var(--cl-page); }
.adm-gate-in { width: auto; }
.adm-gate:not(.is-door) :is(.sf-art, .sf-brand) { display: none; }
.adm-gate:not(.is-door) .sf-col { margin: auto; }
.adm-gate.is-door { background: var(--cl-surface); }
.adm-gate .sf-side > .sf-brand { justify-content: flex-start; gap: 10px; color: var(--cl-ink); }
.adm-gate-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.adm-gate-card .adm-h2 { font-size: 32px; line-height: 1.16; letter-spacing: -.02em; text-wrap: balance; }
.adm-gate-card .adm-sub { margin: 8px 0 22px; font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.adm-gate-card .lbl { font-size: 14px; }
.adm-gate-card .fld { height: 52px; padding: 0 18px; border-radius: 14px; font-size: 16px; }
.adm-gate-card .fld:focus { border-color: var(--cl-lilac); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cl-lilac) 16%, transparent); outline: none; }
.adm-gate-card .adm-btn--lg { height: 48px; font-size: 15px; }
.adm-gate-card .adm-btn--lg.adm-btn--primary { height: 52px; font-size: 16px; }
.adm-gate-card .adm-forgot, .adm-gate-back .adm-link { font-size: 14px; }
.adm-gate-foot { margin: 20px 0 0; text-align: left; }
.adm-or::before, .adm-or::after { background: var(--cl-line-2); }
.adm-google { border: 1px solid var(--cl-line-2); border-radius: 999px; background: var(--cl-surface); box-shadow: none; }
.adm-splash-bar { background: var(--adm-quiet-soft); }
.adm-splash-bar span { background: var(--cl-lilac); }

/* 14. Home --------------------------------------------------------------------------------------------------------- */
.hm-jobs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 28px; }
.hm-jobs .adm-btn { height: 48px; padding: 0 22px; font-size: 16px; }
.hm-jobs .adm-btn > i { font-size: 18px !important; }
.hm-app { border: 1px solid var(--cl-line); border-radius: 16px; background: var(--cl-surface); box-shadow: none; }
.hm-app::before { display: none; }
.hm-app-logo { box-shadow: none; }
.hm-apps-h { margin: 32px 0 12px; color: var(--cl-ink-3); }

/* 15. Motion with a job: nothing lifts, glows or turns for show ----------------------------------------------------- */
.adm-navgroup-caret, .adm-navsub-caret, .adm-tech summary::before { transition: none; }
@media (prefers-reduced-motion: reduce) { .adm-skel, .adm-splash-bar span { animation: none; } }

/* 16. Wide screens: the apps column carries 14 px names, so the menu is 18 px wider --------------------------------- */
@media (min-width: 1024px) {
  html:root:root.adm-rail-min { --adm-nav-w: calc(var(--adm-apps-w) + 2px); }
  html.adm-rail-float .adm-rail > .adm-panel { left: calc(var(--frame) * 2 + var(--adm-apps-w) + 2px); border: 1px solid var(--cl-line-2); border-radius: 16px; background: var(--cl-surface); box-shadow: var(--cl-shadow-3); }
}

/* 17. The 14 px floor: every line of the console that read smaller, by name (icons and chart axes keep their size) -- */
.adm-brand-tag,
.adm-navgroup,
.adm-nav-count,
.adm-me-role,
.adm-kbd,
.adm-envchip,
.adm-eyebrow,
.adm-row-s,
.adm-row-meta,
.adm-rows-foot,
.adm-stat-l,
.adm-stat-h,
.adm-delta,
.adm-btn[data-sm], .adm-btn--sm,
.adm-seg > :is(button, a), .adm-seg > .adm-btn,
.adm-seg small,
.adm-count,
.adm-pager > span,
.lbl,
.adm-hint,
.adm-form-err,
.adm-pill,
button.adm-pill,
.adm-table thead th,
.adm-who-txt > small, .adm-who-txt > span + span,
.adm-fact > :first-child,
.adm-legend,
.adm-bar-v,
.adm-heat,
.adm-cmd-hint,
.adm-btn.adm-toast-btn, .adm-toast .adm-btn,
.adm-demobar,
.adm-tech summary,
.adm-tech p,
.adm-gate-detail,
.adm-gate-foot,
.adm-or,
.adm-forgot,
.adm-choice small,
.adm-pre,
.adm-seg .adm-pill,
dl.grid > dt.adm-eyebrow,
.oc-side-sec .adm-sub,
.mod-tags > span,
.mod-found > li,
.mod-fact > em,
.mod-fold summary,
.mod-fold p,
.mod-fold ul,
.mod-fold li > span,
.mod-judge-said,
.adm-navsub,
.dose-bars b,
.dose-bars small,
.dose-consulted ul,
.dose-consulted li > span,
.adm-app-name,
.adm-panel-top .adm-brand-tag,
.adm-apphead-sub,
.adm-panel .adm-navsub,
.adm-railtip,
.adm-panel .adm-navsub--fold,
.adm-crumb,
.adm-envchip-out,
.hm-app-sub,
.hm-fig-v.is-none,
.hm-fig-l,
.hm-live,
.ask-site,
.ast-sub,
.ast-went,
.ast-empty-s,
.ast-note,
.ast-card-k,
.ast-card-s,
.ast-card-state,
.ast-busy,
.ast-block-t,
.ast-block-u,
.ast-rec-d,
.ast-badge,
.ast-bar b,
.ast-bar small,
.ast-table,
.ast-brief-k,
.ast-hear,
.ast-busy .ast-stop, .ast-again,
.ast-chip,
.ast-me-files,
.ast-secret,
.ast-facts,
.ast-secret-in,
.ast-secret-in input,
.ast-doc-s,
.ast-doc-k,
.ast-lang,
.bill-figs .adm-stat-h .adm-link,
.bill-who small,
.bill-mhead,
.mod-subbar .adm-seg > button,
.pp-go,
.pp-soft,
.pp-id,
.pp-line,
.pp-num-l,
.pp-num-h,
.pp-num-na,
.pp-sub-h,
.pp-li-s,
.pp-reason,
.sih-sum,
.sih-word,
.sih-link,
.sih-when,
.sih-todo,
.bsf-group,
.bsf-opt__sub,
.bsf-note,
.bsf-cal__wk span,
.bsf-cal__link,
.sf-link,
.bsf-ask__label,
.bsf-bye__text,
.adm-avatar,
.adm-who-ini,
[data-tip]::after,
.lib-dur,
.lib-card-s,
.lib-row-meta,
.lib-file,
.lib-lp-count,
.lib-lp-token,
.lib-lp-group,
.lib-lp-native,
.lib-lp-empty,
.lib-lp-quick-h,
.lib-lp-sug,
.lp-lang,
.lp-time,
.lp-col-h,
.lp-opt,
.lp-hint,
.lp-said,
.text-\[12px\],
.text-\[12\.5px\],
.text-\[13px\] { font-size: 14px; }

/* 18. The quick search: the box is the field, so the typing line inside draws no ring of its own (the ring was cut
   by the box's top edge); the row that Enter would open is the soft surface, in ink */
.adm-cmd-in:focus, .adm-cmd-in:focus-visible { outline: none !important; }
.adm-cmd-box:focus-within { border-color: var(--cl-line-3); }
.adm-cmd-item[aria-selected="true"] { background: var(--cl-surface-2); color: var(--cl-ink); font-weight: 400; }
.adm-cmd-item[aria-selected="true"] > i { color: var(--cl-ink); }

/* 19. The phone: labels and small text at 15 px (10 November 2026). The same names as the floor above and every other line
   that reads under 15 px, with html in front so the Library's own sheet, linked after this one, gives way. Icons keep theirs. */
@media (max-width: 767px) {
  html .adm-skip,
  html .adm-brand-tag,
  html .adm-navgroup,
  html .adm-nav-count,
  html .adm-avatar,
  html .adm-me-name,
  html .adm-me-role,
  html .adm-envchip,
  html .adm-sub,
  html .adm-eyebrow,
  html .adm-row-s,
  html .adm-row-meta,
  html .adm-rows-foot,
  html .adm-stat-l,
  html .adm-stat-h,
  html .adm-delta,
  html .adm-note,
  html .adm-btn[data-sm],
  html .adm-btn--sm,
  html .adm-seg > :is(button,
  html a),
  html .adm-seg > .adm-btn,
  html .adm-seg small,
  html .adm-count,
  html .adm-pager > span,
  html .lbl,
  html .adm-hint,
  html .adm-form-err,
  html .adm-pill,
  html button.adm-pill,
  html table.adm-table,
  html .adm-table thead th,
  html .adm-rowcard-v,
  html .adm-who-ini,
  html .adm-who-txt > small,
  html .adm-who-txt > span + span,
  html .adm-fact,
  html .adm-fact > :first-child,
  html .adm-legend,
  html .adm-bar-l,
  html .adm-bar-v,
  html .adm-heat,
  html .adm-cmd-hint,
  html .adm-cmd-none,
  html .adm-toast,
  html .adm-toast-t,
  html .adm-btn.adm-toast-btn,
  html .adm-toast .adm-btn,
  html [data-tip]::after,
  html .adm-demobar,
  html .adm-signedout,
  html .adm-empty-b,
  html .adm-tech summary,
  html .adm-tech p,
  html .adm-gate-detail,
  html .adm-gate-foot,
  html .adm-or,
  html .adm-forgot,
  html .adm-gate-back .adm-link,
  html .adm-splash-line,
  html .adm-choice small,
  html .adm-pre,
  html #admConfirm .adm-note,
  html .adm-drawer .adm-note,
  html .adm-seg .adm-pill,
  html dl.grid > dt.adm-eyebrow,
  html .alr-say,
  html .oc-side-sec .adm-sub,
  html .oc-quiet,
  html .mod-more,
  html .mod-context-q,
  html .mod-source-l,
  html .mod-tags > span,
  html .mod-state,
  html .mod-found > li,
  html .mod-fact,
  html .mod-fact > em,
  html .mod-line,
  html .mod-fold summary,
  html .mod-fold p,
  html .mod-fold ul,
  html .mod-fold li > span,
  html .mod-judge-q,
  html .mod-judge-said,
  html .adm-navsub,
  html .dose-bars b,
  html .dose-bars small,
  html .dose-consulted ul,
  html .dose-consulted li > span,
  html .lib-dur,
  html .lib-card-t,
  html .lib-card-s,
  html .lib-row-meta,
  html .lib-selbar-n,
  html .lib-player--wait p,
  html .lib-prog-line,
  html .lib-file,
  html .lib-lp-count,
  html .lib-lp-token,
  html .lib-lp-input,
  html .lib-lp-group,
  html .lib-lp-name,
  html .lib-lp-native,
  html .lib-lp-empty,
  html .lib-lp-quick-h,
  html .lib-lp-sug,
  html .lib-quote-n,
  html .lp-lang,
  html .lp-time,
  html .lp-col-h,
  html .lp-opt,
  html .lp-hint,
  html .lp-said,
  html .adm-app-name,
  html .adm-panel-top .adm-brand-tag,
  html .adm-apphead-sub,
  html .adm-panel .adm-nav,
  html .adm-panel .adm-navsub,
  html .adm-railtip,
  html .adm-panel .adm-navsub--fold,
  html .adm-crumb,
  html .adm-envchip-out,
  html .hm-row-t,
  html .hm-app-sub,
  html .hm-fig-v.is-none,
  html .hm-fig-l,
  html .hm-live,
  html .ask-site,
  html .adm-assistbtn,
  html .ast-sub,
  html .ast-me,
  html .ast-it,
  html .ast-went,
  html .ast-empty-s,
  html .ast-try-b,
  html .ast-note,
  html .ast-card-k,
  html .ast-card-t,
  html .ast-card-s,
  html .ast-card-state,
  html .ast-busy,
  html .ast-block-t,
  html .ast-block-u,
  html .ast-rec-t,
  html .ast-rec-d,
  html .ast-badge,
  html .ast-bar b,
  html .ast-bar small,
  html .ast-table,
  html .ast-brief-k,
  html .ast-hear,
  html .ast-busy .ast-stop,
  html .ast-again,
  html .ast-chip,
  html .ast-me-files,
  html .ast-secret,
  html .ast-facts,
  html .ast-secret-in,
  html .ast-secret-in input,
  html .ast-doc-t,
  html .ast-doc-s,
  html .ast-doc-k,
  html .ast-lang,
  html .ast-langs button,
  html .ast-talk-you,
  html .ast-talk-end,
  html .bill-figs .adm-stat-h .adm-link,
  html .bill-who small,
  html .bill-mrow,
  html .bill-mhead,
  html .pp-go,
  html .pp-soft,
  html .pp-id,
  html .pp-line,
  html .pp-num-l,
  html .pp-num-h,
  html .pp-num-na,
  html .pp-sub-h,
  html .pp-li-t,
  html .pp-li-s,
  html .pp-reason,
  html .sih-sum,
  html .sih-word,
  html .sih-says,
  html .sih-link,
  html .sih-when,
  html .sih-todo,
  html .sih-quiet,
  html .bsf-group,
  html .bsf-opt__sub,
  html .bsf-note,
  html .bsf-cal__wk span,
  html .bsf-cal__day,
  html .bsf-cal__link,
  html .sf-link,
  html .sf-preview,
  html .bsf-ask__label,
  html .bsf-ask__btn,
  html .bsf-ask__text p,
  html .bsf-ask__err,
  html .bsf-bye__text,
  html .mod-subbar .adm-seg > button,
  html .lf-lab,
  html .lf-chip,
  html .lf-link,
  html .lf-sw,
  html .lf-find-in,
  html .lf-opt,
  html .ud-tpl,
  html .ud-n,
  html .ud-s,
  html .ud-gets,
  html .ud-same-lab,
  html .ud-in,
  html .ud-pick,
  html .ud-row--edit .ud-s,
  html .ud-more,
  html .ud-lab > span:first-child,
  html .ud-quiet,
  html .lf-set-lab,
  html .lf-set-ctl .ud-off,
  html .lf-cover-n,
  html .lf-cover-s,
  html .lf-showrow-t,
  html .lf-vrow-n,
  html .lf-vrow-s,
  html .lf-vrow-e,
  html .lf-say,
  html .ud-words,
  html .lf-words-s,
  html .vd-legend,
  html .vd-saved,
  html .vd-line,
  html .vd-more-b,
  html .text-\[12px\],
  html .text-\[12\.5px\],
  html .text-\[13px\],
  html .text-\[14px\],
  html .text-\[14\.5px\] { font-size: 15px; }
}

/* 20. Tags: new dubbings seen at a glance (10 November 2026). A quiet count of what is on its way and a small lilac "New"
   in the menu, on the Library's tile, on the Dubbing rows and on Videos. 14 px inside a pill; the one moving thing is a
   still dot that breathes slowly beside "Dubbing", and it stops for those who ask for less motion. ------------------ */
html:root:root { --adm-on-lilac: #15121F; }
.adm-navtags { display: inline-flex; flex: none; align-items: center; gap: 6px; }
.adm-tag {
  display: inline-flex; flex: none; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 8px;
  border-radius: 999px; font-size: 14px; font-weight: 400; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums;
}
.adm-tag--quiet { background: var(--adm-quiet-soft); color: var(--cl-ink-2); }
.adm-tag--new, .adm-pill.lib-tag-new { background: var(--cl-lilac); color: var(--adm-on-lilac); }
/* the tile: one tag on its corner, inside the column's edge, on its own ground so the logo does not show through */
.adm-app-tile .adm-tiletags { position: absolute; top: -12px; right: -20px; display: flex; pointer-events: none; }
.adm-tiletags .adm-tag { height: 20px; padding: 0 6px; box-shadow: 0 0 0 2px var(--cl-surface); }
.adm-tiletags .adm-tag--quiet { background: var(--cl-surface-2); }
.adm-app-tile.has-tag .adm-app-dot:not(.is-alert) { display: none; }
.adm-app-tile.has-tag .adm-app-dot.is-alert { right: auto; left: -3px; }
/* Dubbing and Videos */
.adm-pill.lib-tag-new, .adm-pill.lib-tag-way, .adm-pill.lib-live { font-size: 14px; }
.adm-pill.lib-tag-way { background: var(--adm-quiet-soft); color: var(--cl-ink-2); }
.adm-pill.lib-tag-way::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--cl-lilac); }
.lib-dubtags { display: contents; }
/* in the list the tags sit under the title, so a row keeps its height */
.adm-row-main > .lib-dubtags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.adm-row-main > .lib-dubtags:empty { display: none; }
.lib-live-dot { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--cl-lilac); animation: admTagBreath 2.4s ease-in-out infinite; }
@keyframes admTagBreath { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .lib-live-dot { animation: none; } }
