/* ==========================================================================
   BOA design system: tokens + shared components.
   Colours: TravelBrandBusiness tokens (DesignSystem/design-tokens.md), exact values.
   Quality bar: CLAUDE.md §5A — flat surfaces with hairlines, no decorative shadows,
   gradients or icon tiles; colour only for meaning; strong type hierarchy.
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter/inter-latin-700-normal.woff2") format("woff2"); }

:root {
    /* Brand */
    --tb-primary: #0A1F3D;
    --tb-primary-hover: #17345F;
    --tb-royal: #1769D2;            /* links and data accents on white (passes 4.5:1) */
    --tb-ice: #EDF4FF;
    --tb-ice-2: #F5F9FF;
    --tb-on-strong: #FFFFFF;

    /* Neutrals */
    --tb-bg: #EEF2F8;
    --tb-surface: #FFFFFF;
    --tb-surface-muted: #F4F7FB;
    --tb-text: #14243A;
    --tb-text-strong: #0B1F3A;
    --tb-text-neutral: #475569;
    --tb-text-muted: #64748B;       /* lightest text colour allowed (4.7:1 on white) */
    --tb-border: #DFE6F0;
    --tb-border-strong: #CCD8E8;
    --tb-border-hover: #B4C1D3;      /* TBB --tb-primary-200: hovered inputs */

    /* Status (market colours) */
    --tb-success: #15803D;
    --tb-success-soft: #E8F6EC;
    --tb-warning: #D97706;
    --tb-warning-soft: #FEF3C7;
    --tb-warn-ink: #92400E;
    --tb-danger: #D92D20;
    --tb-danger-ink: #B42318;
    --tb-danger-soft: #FEE4E2;
    --tb-expired: #CBD5E1;            /* closed / expired fills (neutral, always labelled) */
    --tb-expired-ink: #334155;
    /* Status on navy (always shown with a text label) */
    --tb-on-dark-done: #4ADE80;
    --tb-on-dark-waiting: #F5B547;
    --tb-on-dark-rejected: #F97066;

    /* Shape */
    --tb-radius-control: 10px;
    --tb-radius-card: 14px;
    --tb-radius-pill: 999px;
    --tb-shadow-pop: 0 12px 32px -8px rgba(11, 31, 58, .22);   /* pop-ups only */

    /* Type scale */
    --tb-font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --tb-fs-display: 46px;   /* page statement, one per page */
    --tb-fs-hero-num: 56px;  /* the key number of a section */
    --tb-fs-title: 15px;     /* panel titles */
    --tb-fs-meta: 13px;

    /* Layout */
    --tb-container: 1280px;
    --tb-gutter: 32px;
    --tb-header-h: 64px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font-family: var(--tb-font); font-size: 15px; line-height: 1.55;
    color: var(--tb-text); background: var(--tb-bg);
    min-height: 100vh; display: flex; flex-direction: column;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--tb-royal); text-decoration: none; }
a:hover { color: var(--tb-primary); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { color: var(--tb-text-strong); }
button { font-family: inherit; }
:focus-visible { outline: 3px solid rgba(22, 119, 232, .45); outline-offset: 2px; border-radius: 4px; }
.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; }
.tb-container { width: 100%; max-width: var(--tb-container); margin: 0 auto; padding: 0 var(--tb-gutter); }
.ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 12px; height: 12px; stroke-width: 2.4; }
.num { font-variant-numeric: tabular-nums; }
.bracket { color: var(--tb-text-muted); font-weight: 400; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px; border-radius: var(--tb-radius-control);
    font: 600 14px var(--tb-font); border: 1px solid transparent; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--tb-primary); color: var(--tb-on-strong); }
.btn-primary:hover { background: var(--tb-primary-hover); color: var(--tb-on-strong); }
.btn-outline { background: var(--tb-surface); color: var(--tb-primary); border-color: var(--tb-border-strong); }
.btn-outline:hover { background: var(--tb-ice-2); color: var(--tb-primary); border-color: var(--tb-primary); }
/* On navy surfaces */
.btn-on-dark-primary { background: var(--tb-surface); color: var(--tb-primary); }
.btn-on-dark-primary:hover { background: var(--tb-ice); color: var(--tb-primary); }
.btn-on-dark { background: transparent; color: var(--tb-on-strong); border-color: rgba(255, 255, 255, .3); }
.btn-on-dark:hover { background: rgba(255, 255, 255, .08); color: var(--tb-on-strong); }
.btn-on-dark-ghost { background: transparent; color: rgba(255, 255, 255, .85); padding: 0 14px; }
.btn-on-dark-ghost:hover { background: rgba(255, 255, 255, .06); color: var(--tb-on-strong); }

/* Panel: flat surface, hairline border, no shadow */
.tb-panel { background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: var(--tb-radius-card); }
.tb-panel__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.tb-panel__title { font-size: var(--tb-fs-title); font-weight: 600; }
.tb-panel__meta { font-size: var(--tb-fs-meta); color: var(--tb-text-muted); }
.tb-panel__link { margin-left: auto; font-size: var(--tb-fs-meta); font-weight: 600; }

/* Status dots: filled = active state, ring = closed state */
.tb-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.tb-dot--pending { background: var(--tb-warning); }
.tb-dot--danger { background: var(--tb-danger); }
.tb-dot--closed { border: 1.5px solid var(--tb-text-muted); }

/* Ledger table: hairline rows, right-aligned figures, quiet headers */
.tb-ledger { width: 100%; border-collapse: collapse; font-size: 14px; }
.tb-ledger th { font-size: 12px; font-weight: 600; color: var(--tb-text-muted); text-align: right; padding: 0 20px 12px; border-bottom: 1px solid var(--tb-border); white-space: nowrap; }
.tb-ledger td { padding: 15px 20px; border-bottom: 1px solid var(--tb-bg); text-align: right; color: var(--tb-text-strong); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tb-ledger th:first-child, .tb-ledger td:first-child { text-align: left; padding-left: 28px; }
.tb-ledger tbody tr:last-child td { border-bottom: 0; }
.tb-ledger .is-zero { color: var(--tb-text-muted); }

/* Empty state (inline) */
.tb-empty { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: var(--tb-surface-muted); }
.tb-empty__icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--tb-surface); border: 1px solid var(--tb-border); color: var(--tb-text-muted); }
.tb-empty__title { display: block; font-size: 14px; font-weight: 600; color: var(--tb-text-strong); }
.tb-empty__text { font-size: var(--tb-fs-meta); color: var(--tb-text-muted); }

/* ==========================================================================
   Forms (shared by every BOA form page)
   ========================================================================== */
.tb-form-card { background: var(--tb-surface); border: 1px solid var(--tb-border); border-radius: 16px; }
.tb-form-sec { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 28px 32px; }
.tb-form-sec + .tb-form-sec { border-top: 1px solid var(--tb-bg); }
.tb-form-sec__title { font-size: var(--tb-fs-title); font-weight: 600; }
.tb-form-sec__text { margin-top: 6px; font-size: var(--tb-fs-meta); color: var(--tb-text-muted); }
.tb-form-sec__fields { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.tb-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.tb-field { display: flex; flex-direction: column; min-width: 0; }
.tb-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--tb-text-strong); }
.tb-label__opt { font-weight: 400; color: var(--tb-text-muted); }
.tb-input, .tb-select {
    width: 100%; height: 46px; padding: 0 14px; border-radius: var(--tb-radius-control);
    border: 1px solid var(--tb-border-strong); background: var(--tb-surface);
    font: 400 15px var(--tb-font); color: var(--tb-text-strong);
    transition: border-color .15s, box-shadow .15s;
}
.tb-select { appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; }
.tb-input::placeholder { color: var(--tb-text-muted); opacity: .8; }
.tb-input:hover, .tb-select:hover { border-color: var(--tb-border-hover); }
.tb-input:focus, .tb-select:focus { outline: none; border-color: var(--tb-royal); box-shadow: 0 0 0 3px rgba(23, 105, 210, .16); }
.tb-field.is-invalid .tb-input, .tb-field.is-invalid .tb-select { border-color: var(--tb-danger); }
.tb-field.is-invalid .tb-input:focus, .tb-field.is-invalid .tb-select:focus { box-shadow: 0 0 0 3px rgba(217, 45, 32, .14); }
.tb-hint { margin-top: 6px; font-size: 12.5px; color: var(--tb-text-muted); }
.tb-err { margin-top: 6px; font-size: 13px; font-weight: 500; color: var(--tb-danger-ink); }

.tb-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: var(--tb-surface-muted); font-size: 13.5px; color: var(--tb-text-neutral); }
.tb-note .ic { margin-top: 2px; color: var(--tb-primary); }
.tb-note b { color: var(--tb-text-strong); font-weight: 600; }

.tb-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--tb-radius-control); font-size: 14px; }
.tb-alert .ic { flex-shrink: 0; margin-top: 1px; }
.tb-alert--danger { background: var(--tb-danger-soft); color: var(--tb-danger-ink); }
.tb-alert--danger a { color: inherit; text-decoration: underline; }
.tb-alert--warning { background: var(--tb-warning-soft); color: var(--tb-warn-ink); }
.tb-alert--success { background: var(--tb-success-soft); color: var(--tb-success); }

/* Switch: a real checkbox, styled */
.tb-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--tb-border); border-radius: 12px; cursor: pointer; }
.tb-switch-row__title { display: block; font-size: 14px; font-weight: 600; color: var(--tb-text-strong); }
.tb-switch-row__text { font-size: 12.5px; color: var(--tb-text-muted); }
.tb-switch { position: relative; flex-shrink: 0; width: 44px; height: 26px; }
.tb-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.tb-switch__track { position: absolute; inset: 0; border-radius: 13px; background: var(--tb-expired); transition: background-color .15s; }
.tb-switch__knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 2px rgba(11, 31, 58, .3); transition: transform .15s; }
.tb-switch input:checked ~ .tb-switch__track { background: var(--tb-success); }
.tb-switch input:checked ~ .tb-switch__knob { transform: translateX(18px); }
.tb-switch input:focus-visible ~ .tb-switch__track { outline: 3px solid rgba(22, 119, 232, .45); outline-offset: 2px; }

/* Sticky action bar at the bottom of a form page */
.tb-actionbar { position: sticky; bottom: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-top: 1px solid var(--tb-border); backdrop-filter: blur(6px); }
.tb-actionbar__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; padding-top: 14px; padding-bottom: 14px; }
.tb-actionbar__note { font-size: var(--tb-fs-meta); color: var(--tb-text-muted); }
.tb-actionbar__buttons { display: flex; gap: 10px; margin-left: auto; }
.btn-ghost { background: transparent; color: var(--tb-primary); }
.btn-ghost:hover { background: var(--tb-ice-2); color: var(--tb-primary); }
.btn .tb-spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #FFFFFF; animation: tb-spin .7s linear infinite; }
.btn.is-loading { pointer-events: none; background: var(--tb-primary-hover); }
.btn.is-loading .tb-spinner { display: inline-block; }
.btn.is-loading .btn__icon { display: none; }
@keyframes tb-spin { to { transform: rotate(360deg); } }

.tb-breadcrumb { font-size: var(--tb-fs-meta); color: var(--tb-text-muted); }
.tb-breadcrumb a { color: var(--tb-text-muted); }
.tb-breadcrumb a:hover { color: var(--tb-primary); }
.tb-breadcrumb [aria-current] { color: var(--tb-text-strong); font-weight: 500; }

@media (max-width: 860px) {
    .tb-form-sec { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
}
@media (max-width: 560px) {
    .tb-form-row { grid-template-columns: 1fr; }
    .tb-actionbar__note { display: none; }
    .tb-actionbar__buttons { width: 100%; }
    .tb-actionbar__buttons .btn { flex: 1; }
}

/* ==========================================================================
   Shared choice controls and button sizes (2026-11-26, Employee Creation).
   Native inputs, styled: keyboard and screen readers work as usual.
   ========================================================================== */
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 13.5px; gap: 6px; }
.btn-sm .ic { width: 16px; height: 16px; }
.btn-danger { background: var(--tb-danger); color: var(--tb-on-strong); }
.btn-danger:hover { background: var(--tb-danger-ink); color: var(--tb-on-strong); }

/* Checkbox with its label */
.tb-check { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-size: 14px; color: var(--tb-text); cursor: pointer; }
.tb-check input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; accent-color: var(--tb-primary); cursor: pointer; }
.tb-check input:focus-visible { outline: 2px solid var(--tb-royal); outline-offset: 2px; }
.tb-check:has(input:disabled) { color: var(--tb-text-muted); cursor: not-allowed; }

/* Segmented choice: one answer from a few (radio buttons) */
.tb-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--tb-radius-control); background: var(--tb-surface-muted); border: 1px solid var(--tb-border); }
.tb-seg__opt { position: relative; display: inline-flex; }
.tb-seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tb-seg__opt span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--tb-text-neutral); white-space: nowrap; transition: background-color .15s, color .15s; }
.tb-seg__opt:hover span { color: var(--tb-text-strong); }
.tb-seg__opt input:checked + span { background: var(--tb-surface); color: var(--tb-primary); font-weight: 600; box-shadow: 0 0 0 1px var(--tb-border-strong); }
.tb-seg__opt input:focus-visible + span { outline: 2px solid var(--tb-royal); outline-offset: 1px; }
.tb-field.is-invalid .tb-seg { border-color: var(--tb-danger); }

/* Confirmation dialog (native <dialog>), for actions that wipe or change data (2026-11-27) */
.tb-dialog { width: calc(100% - 32px); max-width: 440px; padding: 28px; border: 0; border-radius: 16px; background: var(--tb-surface); color: var(--tb-text); box-shadow: var(--tb-shadow-pop); }
.tb-dialog::backdrop { background: rgba(10, 31, 61, .45); }
.tb-dialog__title { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.tb-dialog__text { margin-top: 8px; font-size: 14px; color: var(--tb-text-neutral); }
.tb-dialog__text b { color: var(--tb-text-strong); font-weight: 600; overflow-wrap: anywhere; }
.tb-dialog__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.tb-dialog__actions form { margin: 0; }

/* ==========================================================================
   Product pass (2026-12-03, the user: "AI la development pannathu pola theriya kudathu … romba user friendly,
   motion animation, romba clear structure, professional").
   Motion: quick (120–320 ms), eases out, only where it explains a change (a page arrives, a window opens, a row
   appears, a menu folds). Nothing loops, nothing bounces. All of it is off for prefers-reduced-motion.
   ========================================================================== */
:root {
    --tb-ease: cubic-bezier(.2, .8, .2, 1);
    --tb-ease-in-out: cubic-bezier(.65, 0, .35, 1);
    --tb-dur-1: 120ms;
    --tb-dur-2: 200ms;
    --tb-dur-3: 320ms;
    --tb-shadow-lift: 0 1px 2px rgba(11, 31, 58, .04), 0 8px 24px -16px rgba(11, 31, 58, .28);  /* sticky bars, open menus */
    interpolate-size: allow-keywords;   /* lets folding menus animate to their natural height */
}

@keyframes tb-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes tb-fade { from { opacity: 0; } }
@keyframes tb-fade-out { to { opacity: 0; } }
@keyframes tb-pop { from { opacity: 0; transform: translateY(10px) scale(.975); } }
@keyframes tb-drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes tb-grow-x { from { transform: scaleX(0); } }
@keyframes tb-shimmer { to { background-position: -200% 0; } }

/* Between pages: the header and the side menu stay put, the page itself fades in */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 120ms var(--tb-ease) both tb-fade-out; }
::view-transition-new(root) { animation: 200ms var(--tb-ease) both tb-fade; }
.bo-header { view-transition-name: bo-header; }
::view-transition-group(bo-header) { animation: none; }
::view-transition-old(bo-header) { display: none; }
::view-transition-new(bo-header) { animation: none; }

/* Buttons answer the press */
.btn { transition: background-color var(--tb-dur-1), border-color var(--tb-dur-1), color var(--tb-dur-1), box-shadow var(--tb-dur-2), transform var(--tb-dur-1) var(--tb-ease); }
.btn:active { transform: translateY(1px); }
.btn-primary:hover { box-shadow: 0 6px 16px -8px rgba(10, 31, 61, .55); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none; }

/* Windows open from just below, menus drop from the button */
.tb-dialog[open] { animation: tb-pop var(--tb-dur-2) var(--tb-ease); }
.tb-dialog[open]::backdrop { animation: tb-fade var(--tb-dur-2) var(--tb-ease); background: rgba(10, 31, 61, .42); backdrop-filter: blur(2px); }
.bo-nav__menu:not([hidden]) { animation: tb-drop var(--tb-dur-1) var(--tb-ease); transform-origin: top; }

/* Messages slide in */
.tb-alert { animation: tb-rise var(--tb-dur-3) var(--tb-ease); }

/* Fields: a calmer focus ring that eases in */
.tb-input, .tb-select { transition: border-color var(--tb-dur-1), box-shadow var(--tb-dur-2) var(--tb-ease), background-color var(--tb-dur-1); }
textarea.tb-input { height: auto; min-height: 92px; padding-top: 11px; line-height: 1.5; }

/* Switch knob glides */
.tb-switch__knob { transition: transform var(--tb-dur-2) var(--tb-ease); }
.tb-switch__track { transition: background-color var(--tb-dur-2) var(--tb-ease); }

/* Loading placeholder for a block that is still coming */
.tb-skeleton { border-radius: 6px; background: linear-gradient(90deg, var(--tb-surface-muted) 25%, var(--tb-ice) 37%, var(--tb-surface-muted) 63%); background-size: 200% 100%; animation: tb-shimmer 1.2s linear infinite; }

/* Page progress: a thin line under the header while the next page loads (site.js) */
.tb-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 2px; pointer-events: none; transform-origin: left; transform: scaleX(0); background: var(--tb-royal); opacity: 0; }
.tb-progress.is-on { opacity: 1; transform: scaleX(.8); transition: transform 2.4s cubic-bezier(.1, .7, .2, 1), opacity var(--tb-dur-1); }

/* Toasts: a saved / sent message floats bottom-right for a few seconds (site.js moves .js-toast there) */
.tb-toasts { position: fixed; right: 24px; bottom: 24px; z-index: 150; display: flex; flex-direction: column; gap: 10px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.tb-toast { display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 12px; background: var(--tb-primary); color: var(--tb-on-strong); box-shadow: 0 18px 40px -16px rgba(10, 31, 61, .6); font-size: 14px; line-height: 1.45; pointer-events: auto; animation: tb-pop var(--tb-dur-3) var(--tb-ease); }
.tb-toast .ic { flex-shrink: 0; margin-top: 1px; color: var(--tb-on-dark-done); }
.tb-toast--warn .ic { color: var(--tb-on-dark-waiting); }
.tb-toast__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.tb-toast__text a { color: var(--tb-on-strong); text-decoration: underline; }
.tb-toast__close { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 28px; height: 28px; margin: -4px -4px 0 0; border: 0; border-radius: 6px; background: transparent; color: rgba(255, 255, 255, .7); cursor: pointer; }
.tb-toast__close:hover { background: rgba(255, 255, 255, .1); color: var(--tb-on-strong); }
.tb-toast.is-leaving { animation: tb-fade-out var(--tb-dur-2) var(--tb-ease) forwards; }
@media (max-width: 560px) { .tb-toasts { right: 16px; bottom: 16px; } }

/* Keyboard hint */
.tb-kbd { display: inline-flex; align-items: center; min-width: 20px; height: 20px; padding: 0 5px; border: 1px solid var(--tb-border-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--tb-surface); font: 600 11px var(--tb-font); color: var(--tb-text-muted); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
