/*
 * The signed-in dashboard in the front page's v4 look (owner 2026-11-07: "same styling on the whole dashboard"): the
 * platform's tokens set to the front page's values (flat #0e0f11 panels with a hairline edge and 16px corners, Geist for
 * headings too), 8px buttons with the main one white, and no orange. Loaded last on every member page
 * (api-platform/page.mjs apiPlatformHtml); rules are under body.vla so they win over each page's own sheet.
 */
:root {
  --vla-page: #050505;
  --vla-panel: #0e0f11;
  --vla-panel-2: #141518;
  --vla-field: #0b0c0d;
  --vla-hover: #16171a;
  --vla-hover-2: #1d1e22;
  --vla-line: rgba(255, 255, 255, .08);
  --vla-line-2: rgba(255, 255, 255, .14);
  --vla-edge: none;
  --vla-ink-2: #b5b6b9;
  --vla-ink-3: #8d8e92;
  --vla-r-sm: 8px;
  --vla-r: 12px;
  --vla-r-lg: 16px;
  --vla-font-display: var(--vla-font);
}

/* headings: the front page's left-aligned, 500-weight Geist */
body.vla .vla-h1 { font: 500 40px/1.1 var(--vla-font); letter-spacing: -0.032em; }
body.vla .vla-h2 { font: 500 22px/1.25 var(--vla-font); letter-spacing: -0.015em; }
body.vla .vla-sub { color: var(--vla-ink-2); font-size: 16px; }

/* panels: flat, hairline, 16px */
body.vla .vla-card { background: var(--vla-panel); border: 1px solid var(--vla-line); border-radius: 16px; box-shadow: none; }

/* buttons: 8px corners like the front page; the main one white */
body.vla .vla-btn { border-radius: 8px; box-shadow: none; }
body.vla .vla-btn--primary { background: #fff; border-color: #fff; color: #050505; }
body.vla .vla-btn--primary:hover { background: #e9e9ea; border-color: #e9e9ea; }

/* Home's Add credit was the one orange button: white now, like every main button */
body.vla .vlh-add { border-radius: 8px; background: #fff; color: #050505; font-weight: 500; }
body.vla .vlh-add:hover { background: #e9e9ea; color: #050505; }

/* the side menu: a quiet highlight for the page you are on */
body.vla .vla-side { background: var(--vla-page); border-right-color: var(--vla-line); }
body.vla .vla-side__nav a[aria-current="page"], body.vla .vla-side__nav a.is-on { background: var(--vla-hover); }

/* the top bar: the front page's hairline under it */
body.vla .vla-top { border-bottom: 1px solid var(--vla-line); background: var(--vla-page); }

/* tables: the same hairlines */
body.vla .vla-table th { color: var(--vla-ink-3); font-weight: 500; letter-spacing: .06em; }

/* pop-ups (owner 2026-11-07): no border and no focus ring around the box itself; the dark panel on the dimmed page is enough */
body.vla .vla-dialog { border: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); outline: none; }
body.vla .vla-dialog:focus, body.vla .vla-dialog:focus-visible { outline: none; }
body.vla .vla-dialog .vla-h2 + .vlk-form { margin-top: 16px; }

/* the account chip at the foot of the side menu (shell.js sheetChip): picture, name, chevron; its menu opens upward */
body.vla .vla-me__btn { border: 0; border-radius: 10px; background: transparent; padding: 8px 10px; }
body.vla .vla-me__btn:hover, body.vla .vla-me__btn[aria-expanded="true"] { background: var(--vla-hover); }
body.vla .vla-me__chev { display: inline-flex; margin-left: auto; color: var(--vla-ink-3); }
body.vla .vla-side__name { font-weight: 500; }
body.vla .vla-side__foot { border-top: 0; }
body.vla .vla-me .vla-dd__menu--up { left: 0; right: 0; min-width: 220px; }

/* the top bar: the balance sits the same distance from Support as the links sit from each other */
body.vla .vla-top__end { margin-left: 2px; }
body.vla .vla-top__end { margin-left: -16px; }
/* the account chip: its arrow points up while the menu is open (hover or press); no ring after a click */
body.vla .vla-me__chev svg { transition: transform 160ms ease; }
body.vla .vla-me__btn[aria-expanded="true"] .vla-me__chev svg { transform: rotate(180deg); }
body.vla .vla-me__btn:focus:not(:focus-visible) { outline: none; }
body.vla .vla-me .vla-dd__menu [role="menuitem"] { display: flex; align-items: center; gap: 10px; }
body.vla .vla-me__ic { display: inline-flex; flex: none; color: var(--vla-ink-3); }
body.vla .vla-me .vla-dd__menu [role="menuitem"]:hover .vla-me__ic { color: var(--vla-ink); }
/* every row of the chip's menu the same height, links and buttons alike */
body.vla .vla-me .vla-dd__menu [role="menuitem"] { box-sizing: border-box; height: 38px; margin: 0; padding: 0 12px; line-height: 1; }

/* "Bring VidLab into your agent": a small ✕ in its corner; closed, it stays closed (the account remembers) */
body.vla .vla-bring { position: relative; }
body.vla .vla-bring__x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--vla-ink-3); cursor: pointer; }
body.vla .vla-bring__x:hover { background: var(--vla-hover); color: var(--vla-ink); }

/* the balance in the top bar (owner 2026-11-07): its hover look is its look at rest, the panel grey, a hairline and the + */
body.vla .vla-balance { background: var(--vla-panel); border-color: var(--vla-line); }
body.vla .vla-balance .vla-balance__add { opacity: 1; color: var(--vla-ink); }
body.vla .vla-balance:hover { background: var(--vla-hover); border-color: var(--vla-line-2); }

/* the Logs tabs, under the page's heading (shell.js moves them there) */
body.vla #vla-page .vla-subnav { max-width: none; margin: 4px 0 24px; padding: 0; }
body.vla #vla-page .vla-subnav { border-bottom: 1px solid var(--vla-line); }
body.vla #vla-page .vla-subnav .vla-tabs { border-bottom: 0; margin-bottom: -1px; }
/* the Logs tabs look the same on Task logs, Usage logs and Exports: underlined, the page you are on in white */
body.vla .vla-subnav .vla-tabs { gap: 2px; padding: 0; border: 0; border-radius: 0; background: transparent; }
body.vla .vla-subnav .vla-tab { height: 40px; padding: 0 14px; border-radius: 0; background: transparent; color: var(--vla-ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; }
body.vla .vla-subnav .vla-tab:hover { background: transparent; color: var(--vla-ink); }
body.vla .vla-subnav .vla-tab.is-on { background: transparent; color: var(--vla-ink); border-bottom-color: var(--vla-ink); }

/* one top bar across the whole page (owner 2026-11-07): the logo at its left, its hairline running over the side menu
   too; the side menu starts under it */
@media (min-width: 901px) {
  body.vla .vla-shell.has-side { padding-top: var(--vla-top-h); }
  body.vla .vla-shell.has-side .vla-top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; padding-left: 24px; }
  body.vla .vla-shell.has-side .vla-top .vla-brand { display: inline-flex; font-size: 18px; gap: 10px; }
  body.vla .vla-shell.has-side .vla-top .vla-brand img { width: 24px; height: 24px; }
  body.vla .vla-side__head { display: none; }
  body.vla .vla-shell.has-side .vla-side { top: var(--vla-top-h); height: calc(100vh - var(--vla-top-h)); padding-top: 14px; }
}

/* the Models menu: its arrow keeps pointing down while it is open (owner 2026-11-07) */
body.vla .vla-mm__btn[aria-expanded="true"] > .vla-chev { transform: none; }
/* the Models menu: only its three columns show, nothing greys the page around them */
body.vla .vla-mm__panel { border-bottom: 0; background: transparent; box-shadow: none; pointer-events: none; }
body.vla .vla-mm__panel .vla-mm__cols { pointer-events: auto; }
body.vla .vla-mm__col { background: var(--vla-panel); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
/* owner 2026-11-07 (later): no chip at rest, the + always shown; the panel grey and hairline only on hover */
body.vla .vla-balance { background: transparent; border-color: transparent; }
body.vla .vla-balance:hover,
body.vla .vla-balance:focus-visible { background: var(--vla-panel); border-color: var(--vla-line); }

/* less room above every dashboard page (owner 2026-11-07): 44px → 24px under the top bar */
@media (min-width: 901px) {
  body.vla .vla-main { padding-top: 24px; }
}
@media (max-width: 900px) {
  body.vla .vla-main { padding-top: 18px; }
}

/* our date picker (shell.js): the field is a button in our look; the calendar is a small dark panel under it */
body.vla .vla-dp-native { display: none !important; }
body.vla .vla-dpbtn { display: inline-flex; align-items: center; gap: 8px; min-width: 132px; cursor: pointer; text-align: left; color: var(--vla-ink); }
body.vla .vla-dpbtn svg { flex: none; color: var(--vla-ink-3); }
body.vla .vla-dpbtn[hidden] { display: none; }
body.vla .vla-dpbtn[aria-expanded="true"] { border-color: var(--vla-line-2); }
body.vla .vla-dpbtn__t.is-empty { color: var(--vla-ink-3); }
.vla-dp { position: fixed; z-index: 200; width: 280px; padding: 12px; border: 1px solid var(--vla-line); border-radius: 12px; background: var(--vla-panel, #0e0f11); box-shadow: 0 24px 60px rgba(0, 0, 0, .6); color: var(--vla-ink); font: 400 13px/1 var(--vla-font); }
.vla-dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.vla-dp__m { font-weight: 500; font-size: 14px; }
.vla-dp__nav { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--vla-ink-2); cursor: pointer; }
.vla-dp__nav:hover:not(:disabled) { background: var(--vla-hover); color: var(--vla-ink); }
.vla-dp__nav:disabled { opacity: .3; cursor: default; }
.vla-dp__wk, .vla-dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.vla-dp__wk span { padding: 4px 0 6px; text-align: center; color: var(--vla-ink-3); font-size: 11.5px; }
.vla-dp__d { height: 34px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--vla-ink); font: inherit; font-variant-numeric: tabular-nums; cursor: pointer; }
.vla-dp__d:hover:not(:disabled) { background: var(--vla-hover); }
.vla-dp__d.is-other { color: var(--vla-ink-3); }
.vla-dp__d.is-today { box-shadow: inset 0 0 0 1px var(--vla-line-2); }
.vla-dp__d.is-on { background: var(--vla-ink); color: #000; font-weight: 500; }
.vla-dp__d:disabled { opacity: .25; cursor: default; }
.vla-dp__d:focus-visible, .vla-dp__nav:focus-visible, .vla-dp__link:focus-visible { outline: 2px solid rgba(255, 255, 255, .5); outline-offset: 1px; }
.vla-dp__foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--vla-line); }
.vla-dp__link { padding: 4px 6px; border: 0; border-radius: 6px; background: transparent; color: var(--vla-ink-2); font: inherit; cursor: pointer; }
.vla-dp__link:hover:not(:disabled) { color: var(--vla-ink); background: var(--vla-hover); }
.vla-dp__link:disabled { opacity: .35; cursor: default; }
/* the account chip open: no ring around it, nor around its picture (owner 2026-11-07) */
body.vla .vla-me__btn[aria-expanded="true"],
body.vla .vla-me__btn[aria-expanded="true"]:focus,
body.vla .vla-me__btn[aria-expanded="true"]:focus-visible { outline: none; border: 0; box-shadow: none; }
body.vla .vla-me__btn .vla-avatar { border-color: transparent; }

/* Playground's kinds in the side menu (owner 2026-11-07): under its label, smaller, greyer, a thin guide on the left */
body.vla .vla-side__sub { display: grid; gap: 1px; margin: 2px 0 6px 23px; padding-left: 14px; border-left: 1px solid var(--vla-line); }
body.vla .vla-side a.vla-side__subA,
body.vla .vla-sheet__nav a.vla-side__subA { height: 32px; padding: 0 10px; color: var(--vla-ink-3); font-size: 14px; font-weight: 400; background: transparent; }
body.vla .vla-side a.vla-side__subA:hover,
body.vla .vla-sheet__nav a.vla-side__subA:hover { color: var(--vla-ink); background: var(--vla-hover); }
body.vla .vla-side a.vla-side__subA.is-on,
body.vla .vla-sheet__nav a.vla-side__subA.is-on { color: var(--vla-ink); background: var(--vla-hover); font-weight: 500; }

/* our video player (shell.js videoPlayer): controls over a small fade at the bottom, round actions top right */
.vla-vp { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 14px; background: #141518; outline: none; }
.vla-vp video { display: block; width: 100%; height: 100%; object-fit: contain; background: transparent; cursor: pointer; }
.vla-vp:focus-visible { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.vla-vp__bar, .vla-vp__acts { opacity: 0; transition: opacity 180ms ease; }
.vla-vp.is-shown .vla-vp__bar, .vla-vp.is-shown .vla-vp__acts, .vla-vp.is-paused .vla-vp__bar, .vla-vp.is-paused .vla-vp__acts, .vla-vp:has(:focus-visible) .vla-vp__bar, .vla-vp:has(:focus-visible) .vla-vp__acts, .vla-vp:focus-visible .vla-vp__bar, .vla-vp:focus-visible .vla-vp__acts { opacity: 1; }
.vla-vp__bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); }
/* the seek bar: a rounded track; the buffered and played parts are rounded pills slid in from the left (shell.js) */
.vla-vp__track { position: relative; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .2); cursor: pointer; touch-action: none; }
.vla-vp__track::before { content: ""; position: absolute; inset: -8px 0; }
.vla-vp__clip { position: absolute; inset: 0; overflow: hidden; border-radius: 999px; }
.vla-vp__buf, .vla-vp__done { position: absolute; inset: 0; border-radius: 999px; transform: translateX(-100%); will-change: transform; }
.vla-vp__buf { background: rgba(255, 255, 255, .32); }
.vla-vp__done { background: #fff; }
.vla-vp__knob { position: absolute; top: 50%; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); transform: translate(0, -50%); will-change: transform; opacity: 0; transition: opacity 140ms ease; }
.vla-vp__track:hover .vla-vp__knob, .vla-vp.is-drag .vla-vp__knob, .vla-vp__track:focus-visible .vla-vp__knob { opacity: 1; }
.vla-vp__row { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.vla-vp__b { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.vla-vp__b:hover, .vla-vp__b:focus-visible { background: rgba(255, 255, 255, .14); outline: none; }
.vla-vp__time { margin-left: 6px; color: #fff; font: 500 12.5px/1 var(--vla-font); font-variant-numeric: tabular-nums; }
.vla-vp__full { margin-left: auto; }
.vla-vp__acts { position: absolute; top: 10px; right: 10px; display: grid; gap: 8px; }
.vla-vp__r { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: rgba(20, 21, 24, .72); color: #fff; cursor: pointer; }
.vla-vp__r:hover, .vla-vp__r:focus-visible { background: rgba(40, 41, 46, .9); outline: none; }
.vla-vp__r svg { width: 16px; height: 16px; }
.vla-vp__menu { position: absolute; top: 10px; right: 54px; z-index: 3; display: grid; gap: 2px; min-width: 160px; padding: 6px; border-radius: 12px; background: #222327; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); }
.vla-vp__menu[hidden] { display: none; }
.vla-vp__menu button { padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--vla-ink); font: 400 13.5px/1 var(--vla-font); text-align: left; cursor: pointer; }
.vla-vp__menu button:hover, .vla-vp__menu button:focus-visible { background: rgba(255, 255, 255, .08); outline: none; }
.vla-vp:fullscreen { border-radius: 0; background: #000; }
@media (prefers-reduced-motion: reduce) { .vla-vp__bar, .vla-vp__acts { transition: none; } }

/* the two sections after the logo (owner 2026-11-07): Home and Playground */
body.vla .vla-sect { display: flex; align-items: center; gap: 4px; margin-left: 20px; padding-left: 16px; border-left: 1px solid var(--vla-line); }
body.vla .vla-sect__a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; color: var(--vla-ink-3); font: 500 14px/1 var(--vla-font); text-decoration: none; }
body.vla .vla-sect__a:hover { color: var(--vla-ink); }
body.vla .vla-sect__a.is-on { color: var(--vla-ink); background: var(--vla-hover-2, rgba(255, 255, 255, .08)); }
body.vla .vla-top .vla-sect:not(.vla-sect--sheet) { flex: none; }
body.vla .vla-sect--sheet { margin: 0 0 12px; padding: 0 0 12px; border-left: 0; border-bottom: 1px solid var(--vla-line); }
@media (max-width: 900px) { body.vla .vla-top .vla-sect:not(.vla-sect--sheet) { display: none; } }

/* Playground in the top bar (owner 2026-11-07): its kinds after the section tabs, the account chip at the end */
body.vla .vla-kinds { display: flex; align-items: center; gap: 2px; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--vla-line); animation: vla-kinds-in 180ms ease-out; }
body.vla .vla-kinds__a { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 7px; color: var(--vla-ink-3); font: 500 13px/1 var(--vla-font); text-decoration: none; }
body.vla .vla-kinds__a:hover { color: var(--vla-ink); }
body.vla .vla-kinds__a.is-on { color: var(--vla-ink); background: var(--vla-hover-2, rgba(255, 255, 255, .08)); }
@keyframes vla-kinds-in { from { opacity: 0; transform: translateX(-6px); } }
@media (prefers-reduced-motion: reduce) { body.vla .vla-kinds { animation: none; } }
body.vla .vla-me-top { display: flex; align-items: center; margin-left: 6px; }
body.vla .vla-me-top .vla-me__btn { padding: 4px 8px 4px 4px; }
body.vla .vla-me-top .vla-side__name { display: none; }
body.vla .vla-me-top .vla-dd__menu--down { position: absolute; top: calc(100% + 8px); right: 0; left: auto; min-width: 240px; z-index: 60; }
@media (max-width: 900px) { body.vla .vla-kinds, body.vla .vla-me-top { display: none; } }
/* Image · Video · Audio the same size as Home and Playground (owner 2026-11-07) */
body.vla .vla-kinds { gap: 4px; margin-left: 16px; padding-left: 16px; }
body.vla .vla-kinds__a { height: 32px; padding: 0 12px; border-radius: 8px; font: 500 14px/1 var(--vla-font); }
/* the logo is one size on every page, with or without the side menu (owner 2026-11-07: it must not change on Playground) */
@media (min-width: 901px) {
  body.vla .vla-top .vla-brand { display: inline-flex; font-size: 18px; gap: 10px; }
  body.vla .vla-top .vla-brand img { width: 24px; height: 24px; }
  body.vla .vla-shell .vla-top { padding-left: 24px; }
}

/* Models, Docs and Support look like the Home / Playground tabs (owner 2026-11-07): grey 14px words in 32px pills,
   white with the pill when current or hovered */
body.vla .vla-topnav { gap: 4px; }
body.vla .vla-topnav > a { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; background: transparent; color: var(--vla-ink-3); font: 500 14px/1 var(--vla-font); text-decoration: none; }
body.vla .vla-topnav > a:hover { color: var(--vla-ink); background: transparent; }
body.vla .vla-topnav > a.is-on { color: var(--vla-ink); background: var(--vla-hover-2, rgba(255, 255, 255, .08)); }
/* the account menu itself: no border, a soft shadow instead (owner 2026-11-07) */
body.vla .vla-me .vla-dd__menu { border: 0; box-shadow: 0 18px 48px rgba(0, 0, 0, .6); }

/* Home's pages (Activity, Logs, API keys, Credits) use the full width beside the side menu (owner 2026-11-07) */
body.vla .vla-shell.has-side #vla-page,
body.vla .vla-shell.has-side #vla-page > .vlh { max-width: none; }
/* a little less room around Home's pages (owner 2026-11-07): 40px → 28px at the sides, 24px → 20px on top */
@media (min-width: 901px) {
  body.vla .vla-shell.has-side .vla-main { padding: 20px 28px 72px; }
}
/* more room at the sides of Home's pages (owner 2026-11-08): Activity, Logs, API keys, Credits; the top stays 20px */
@media (min-width: 901px) {
  body.vla .vla-shell.has-side .vla-main { padding-left: 56px; padding-right: 56px; }
}
.vla-dp, .vla-me .vla-dd__menu { overscroll-behavior: contain; }
/* the player's "..." menu: each item an icon and its words (Copy link, Download, Open in Logs, Copy prompt) */
.vla-vp__menu { top: 52px; right: 10px; min-width: 190px; overscroll-behavior: contain; }
.vla-vp__menu button, .vla-vp__menu a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--vla-ink); font: 400 13.5px/1 var(--vla-font); text-align: left; text-decoration: none; cursor: pointer; }
.vla-vp__menu a:hover, .vla-vp__menu a:focus-visible { background: rgba(255, 255, 255, .08); outline: none; }
.vla-vp__menu svg { flex: none; width: 16px; height: 16px; color: var(--vla-ink-2); }
/* the top bar's account chip: the arrow right beside the picture (owner 2026-11-08) */
body.vla .vla-me-top .vla-me__btn { gap: 4px; width: auto; padding: 4px 6px 4px 4px; }
body.vla .vla-me-top .vla-side__who { display: none; }
body.vla .vla-me-top .vla-me__chev { margin-left: 0; }

/* the sign-in-required screen, site wide (owner 2026-11-08): in the onboarding's style, centred, big words, white pill */
.vla-signin { display: grid; justify-items: center; align-content: center; gap: 0; min-height: calc(100vh - 220px); padding: 40px 16px; text-align: center; }
.vla-signin__mark { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 28px; border-radius: 18px; background: #161617; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.vla-signin__h { margin: 0; color: var(--vla-ink); font: 500 clamp(36px, 5vw, 56px)/1.05 var(--vla-font); letter-spacing: -.03em; }
.vla-signin__s { max-width: 460px; margin: 16px 0 30px; color: var(--vla-ink-3); font-size: 16px; line-height: 1.5; }
.vla-signin__acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
body.vla .vla-signin__acts .vla-btn { height: 46px; padding: 0 26px; border-radius: 999px; font-size: 15px; }
body.vla .vla-signin__acts .vla-btn--ghost { border: 0; background: #1d1e21; color: var(--vla-ink); }
body.vla .vla-signin__acts .vla-btn--ghost:hover { background: #26272b; }
.vla-signin__f { max-width: 420px; margin: 34px 0 0; color: var(--vla-ink-3); font-size: 13.5px; line-height: 1.5; }
/* mobile pass (owner 2026-11-08): a scroll box holds its own absolutely placed bits (a screen-reader label in a table
   head), so they never widen the page */
body.vla .vlk-scroll, body.vla .vlc-scroll { position: relative; }
/* mobile pass (owner 2026-11-08): the top bar's right side keeps to the right and never slides under the logo; on the
   narrowest phones the agent button goes (it is in the menu sheet) */
@media (max-width: 760px) {
  body.vla .vla-top__end { margin-left: auto; min-width: 0; gap: 8px; }
  body.vla .vla-brand { flex: none; }
}
@media (max-width: 440px) {
  body.vla .vla-top .vla-bring-ico { display: none; }
}

/* Media loading (owner 2026-11-10, shell.js "media loading"): a picture or clip marked data-ml stays hidden until it can be
   shown whole, its box carrying a soft shimmer meanwhile; then it fades in. Nothing paints in strips as it arrives. */
[data-ml] { opacity: 0; transition: opacity 240ms ease; }
[data-ml].is-ready { opacity: 1; }
/* Never hidden for good, even without script (shell.js ML_GIVE_UP_MS): some browsers load nothing until a tap (iPhone
   Safari on preload="metadata"), so after 3 s it shows anyway, as the browser's own poster or player. */
[data-ml]:not(.is-ready) { animation: vla-ml-show 0s 3s forwards; }
@keyframes vla-ml-show { to { opacity: 1; } }
:has(> [data-ml]:not(.is-ready)) {
  background-image: linear-gradient(100deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .07) 50%, rgba(255, 255, 255, 0) 70%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  /* Two sweeps (3 s), then still: the media shows by then at the latest (below), so a box never shimmers for good. */
  animation: vla-ml 1.5s linear 2;
}
@keyframes vla-ml { from { background-position: 130% 0; } to { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) {
  :has(> [data-ml]:not(.is-ready)) { animation: none; background-image: none; background-color: rgba(255, 255, 255, .05); }
  [data-ml] { transition: none; }
}
/* The account menu's Admin panel (admins only, owner 2026-11-10): red, its icon too */
body.vla .vla-me .vla-dd__menu a.vla-me__admin, body.vla .vla-me .vla-dd__menu a.vla-me__admin .vla-me__ic { color: #f87171; }
body.vla .vla-me .vla-dd__menu a.vla-me__admin:hover, body.vla .vla-me .vla-dd__menu a.vla-me__admin:hover .vla-me__ic { color: #fca5a5; }

/* The admin panel's top bar (shell.js, nav "admin"; owner 2026-11-13): an Admin badge and a warm line along its foot, so
 * nobody mistakes it for the app. */
.vla-admin-badge { margin-left: 8px; padding: 2px 8px; border: 1px solid rgba(248, 113, 113, .45); border-radius: 6px; background: rgba(248, 113, 113, .14); color: #fca5a5; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
body.vla .vla-top--admin { box-shadow: inset 0 -2px 0 rgba(248, 113, 113, .55); }
.vla-top__admin-k { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--vla-line-2); color: var(--vla-ink-2); font-size: 14px; font-weight: 500; }
@media (max-width: 640px) { .vla-top__admin-k { display: none; } }
