/* TinyBL production bundle. Generated by bin/build-assets.php */

/* --- v9-base.css --- */
/* TinyBL Route Desk — tokens, shell and shared controls */
:root {
  --ink: #111316;
  --ink-2: #1d2228;
  --paper: #f4f2ec;
  --surface: #fffefa;
  --surface-2: #ebe9e2;
  --line: #d9d7d0;
  --line-strong: #bdbbb4;
  --text: #31343a;
  --muted: #696d73;
  --cobalt: #3157f6;
  --cobalt-dark: #2142c8;
  --cobalt-soft: #e7ebff;
  --signal: #c8eb63;
  --mint: #29c8a5;
  --mint-soft: #dff7f0;
  --amber: #b36a18;
  --amber-soft: #fff0d6;
  --danger: #c13e46;
  --danger-soft: #ffeaec;
  --violet: #7256c7;
  --radius: 14px;
  --control-radius: 9px;
  --shadow-overlay: 0 24px 70px rgba(17, 19, 22, .16);
  --font-ui: "Aptos", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

html { min-width: 320px; scroll-behavior: smooth; }
body.v9 { margin: 0; color: var(--text); background: var(--paper); font-family: var(--font-ui); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.v9 *, .v9 *::before, .v9 *::after { box-sizing: border-box; }
.v9 [hidden] { display: none !important; }
.v9 img { max-width: 100%; }
.v9 button, .v9 input, .v9 textarea, .v9 select { font: inherit; }
.v9 button, .v9 summary { -webkit-tap-highlight-color: transparent; }
.v9 button, .v9 summary, .v9 select { cursor: pointer; }
.v9 a { color: inherit; }
.v9 .shell { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.v9 main { min-height: calc(100vh - 66px); }
.v9 .sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.v9 .skip-link { position: fixed; z-index: 5000; top: 0; left: 0; padding: 10px 14px; color: #fff; background: var(--ink); transform: translateY(-110%); }
.v9 .skip-link:focus { transform: translateY(0); }
.v9 :focus-visible { outline: 3px solid rgba(49, 87, 246, .28); outline-offset: 2px; }

/* Command bar */
.v9 .site-header { position: sticky; top: 0; z-index: 1000; height: 66px; border-bottom: 1px solid rgba(17,19,22,.12); background: rgba(244,242,236,.92); backdrop-filter: blur(18px) saturate(1.15); transition: background-color .18s ease, box-shadow .18s ease; }
.v9 .site-header.is-scrolled { background: rgba(255,254,250,.96); box-shadow: 0 8px 30px rgba(17,19,22,.06); }
.v9 .command-bar { display: grid; height: 66px; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; }
.v9 .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; font-weight: 790; letter-spacing: -.04em; text-decoration: none; }
.v9 .brand-route { position: relative; display: block; width: 32px; height: 18px; }
.v9 .brand-route::before { content: ""; position: absolute; top: 8px; left: 4px; right: 4px; height: 2px; background: var(--cobalt); }
.v9 .brand-route i, .v9 .brand-route b { position: absolute; top: 4px; width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); }
.v9 .brand-route i { left: 0; }
.v9 .brand-route b { right: 0; border-color: var(--cobalt); background: var(--signal); }
.v9 .site-nav { display: flex; height: 100%; justify-self: center; align-items: stretch; gap: 24px; }
.v9 .site-nav a { position: relative; display: inline-flex; align-items: center; gap: 6px; color: #555a61; font-size: 13px; font-weight: 650; text-decoration: none; }
.v9 .site-nav a small { color: #999b9c; font: 600 9px/1 var(--font-mono); }
.v9 .site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; transform: scaleX(.2); transition: transform .18s ease, background-color .18s ease; }
.v9 .site-nav a:hover { color: var(--ink); }
.v9 .site-nav a.active { color: var(--ink); }
.v9 .site-nav a.active::after { background: var(--cobalt); transform: scaleX(1); }
.v9 .command-actions { display: flex; justify-self: end; align-items: center; gap: 10px; }
.v9 .new-route, .v9 .primary-action, .v9 .composer-submit, .v9 .forge-submit, .v9 .inspector-primary, .v9 .access-submit { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--ink); border-radius: var(--control-radius); color: #fff; background: var(--ink); font-weight: 720; text-decoration: none; transition: transform .16s ease, background-color .16s ease, border-color .16s ease; }
.v9 .new-route span, .v9 .primary-action > span { display: grid; width: 18px; height: 18px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--signal); font-size: 16px; line-height: 1; }
.v9 .new-route:hover, .v9 .primary-action:hover, .v9 .composer-submit:hover, .v9 .forge-submit:hover, .v9 .inspector-primary:hover, .v9 .access-submit:hover { border-color: var(--cobalt); background: var(--cobalt); transform: translateY(-1px); }
.v9 .account-menu { position: relative; }
.v9 .account-menu > summary { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); list-style: none; }
.v9 .account-menu > summary::-webkit-details-marker { display: none; }
.v9 .account-initial { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #fff; background: var(--cobalt); font-size: 12px; font-weight: 800; }
.v9 .account-name { max-width: 110px; overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 690; text-overflow: ellipsis; white-space: nowrap; }
.v9 .account-menu > summary > i { width: 6px; height: 6px; margin-right: 2px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg) translateY(-2px); }
.v9 .account-popover { position: absolute; top: 50px; right: 0; z-index: 1100; width: 240px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-overlay); animation: pop-in .16s ease both; }
.v9 .account-popover header { padding: 10px 11px 12px; border-bottom: 1px solid var(--line); }
.v9 .account-popover header strong, .v9 .account-popover header span { display: block; }
.v9 .account-popover header strong { color: var(--ink); font-size: 14px; }
.v9 .account-popover header span { margin-top: 2px; color: var(--muted); font-size: 12px; }
.v9 .account-popover nav { display: grid; gap: 2px; padding: 7px 0; }
.v9 .account-popover a, .v9 .account-popover button { display: flex; width: 100%; min-height: 40px; align-items: center; padding: 8px 10px; border: 0; border-radius: 7px; color: var(--text); background: transparent; font-size: 13px; font-weight: 650; text-align: left; text-decoration: none; }
.v9 .account-popover a:hover, .v9 .account-popover button:hover { color: var(--cobalt); background: var(--cobalt-soft); }
.v9 .account-popover form { padding-top: 7px; border-top: 1px solid var(--line); }
.v9 .login-header-label { justify-self: end; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 650; }
.v9 .login-header-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(41,200,165,.13); }
.v9 .mobile-dock { display: none; }

/* Shared typography and page context */
.v9 .page-context { display: flex; min-height: 126px; align-items: end; justify-content: space-between; gap: 28px; padding: 32px 0 24px; }
.v9 .page-context h1 { margin: 7px 0 3px; color: var(--ink); font-size: clamp(29px,3vw,36px); font-weight: 760; line-height: 1.08; letter-spacing: -.038em; }
.v9 .page-context p { margin: 0; color: var(--muted); font-size: 13px; }
.v9 .route-kicker, .v9 .sheet-label { display: inline-flex; align-items: center; gap: 8px; color: var(--cobalt); font: 700 11px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.v9 .route-kicker i { width: 7px; height: 7px; border: 2px solid var(--cobalt); border-radius: 50%; background: var(--signal); }
.v9 .context-link, .v9 .text-action { color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; }
.v9 .context-link span { color: var(--cobalt); }
.v9 .context-link:hover, .v9 .text-action:hover { color: var(--cobalt); }

/* Forms */
.v9 .field { display: grid; gap: 6px; }
.v9 .field + .field { margin-top: 15px; }
.v9 .form-grid { display: grid; gap: 14px; }
.v9 .form-grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.v9 .form-grid .field + .field { margin-top: 0; }
.v9 label { color: var(--ink); font-size: 13px; font-weight: 690; }
.v9 label small { color: var(--muted); font-size: 12px; font-weight: 520; }
.v9 input, .v9 textarea, .v9 select { width: 100%; min-height: 46px; border: 1px solid var(--line-strong); border-radius: var(--control-radius); color: var(--ink); background: var(--surface); box-shadow: none; transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.v9 input, .v9 select { padding: 10px 12px; }
.v9 textarea { padding: 12px 13px; line-height: 1.55; resize: vertical; }
.v9 input::placeholder, .v9 textarea::placeholder { color: #96989a; }
.v9 input:hover, .v9 textarea:hover, .v9 select:hover { border-color: #96999f; }
.v9 input:focus, .v9 textarea:focus, .v9 select:focus { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(49,87,246,.12); outline: 0; }
.v9 input:disabled { color: var(--muted); background: var(--surface-2); }
.v9 .field > small, .v9 .field-error, .v9 [data-url-status], .v9 [data-alias-status] { min-height: 17px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.v9 [data-state="success"] { color: #087d68 !important; }
.v9 [data-state="error"], .v9 .field-error:not(:empty) { color: var(--danger) !important; }
.v9 [data-state="checking"] { color: var(--cobalt) !important; }
.v9 .required-mark { margin-left: 4px; color: var(--danger); font-size: 12px; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.v9 .field-prominent input, .v9 .field-prominent textarea { border-width: 1.5px; font-size: 15px; }
.v9 .prefix-input, .v9 .password-input { display: grid; grid-template-columns: auto 1fr; border: 1px solid var(--line-strong); border-radius: var(--control-radius); background: var(--surface); overflow: hidden; }
.v9 .password-input { grid-template-columns: 1fr auto; }
.v9 .prefix-input:focus-within, .v9 .password-input:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(49,87,246,.12); }
.v9 .prefix-input > span { display: flex; align-items: center; padding: 0 11px; border-right: 1px solid var(--line); color: #565b63; background: #eeece6; font: 650 12px/1 var(--font-mono); }
.v9 .prefix-input input, .v9 .password-input input { border: 0; border-radius: 0; box-shadow: none; }
.v9 .password-input button { min-width: 58px; border: 0; color: var(--cobalt); background: var(--surface); font-size: 12px; font-weight: 720; }
.v9 .button, .v9 .secondary-action { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--ink); border-radius: var(--control-radius); color: #fff; background: var(--ink); font-weight: 700; text-decoration: none; }
.v9 .button:hover { border-color: var(--cobalt); background: var(--cobalt); }
.v9 .button-secondary, .v9 .secondary-action { color: var(--ink); border-color: var(--line-strong); background: var(--surface); }
.v9 .button-secondary:hover, .v9 .secondary-action:hover { color: var(--cobalt); border-color: var(--cobalt); background: var(--cobalt-soft); }
.v9 .button-wide { width: 100%; margin-top: 18px; }
.v9 button:disabled { cursor: not-allowed; opacity: .45; transform: none !important; }

/* Feedback and overlays */
.v9 .toast { position: fixed; z-index: 2200; top: 78px; left: 50%; display: flex; width: min(520px,calc(100% - 28px)); align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-overlay); transform: translateX(-50%); }
.v9 .toast-error { border-color: #e9a6ac; color: var(--danger); }
.v9 .toast-success { border-color: #8fd7c6; color: #087d68; }
.v9 .toast button { border: 0; color: inherit; background: transparent; font-size: 20px; }
.v9 .copy-toast { position: fixed; z-index: 2300; right: 22px; bottom: 22px; padding: 10px 16px; border-radius: 20px; color: var(--ink); background: var(--signal); box-shadow: var(--shadow-overlay); font-size: 12px; font-weight: 760; transform: translateY(16px); opacity: 0; pointer-events: none; transition: .16s ease; }
.v9 .copy-toast.show { transform: translateY(0); opacity: 1; }
.v9 .modal { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 20px; }
.v9 .modal-backdrop { position: absolute; inset: 0; background: rgba(17,19,22,.72); backdrop-filter: blur(5px); }
.v9 .modal-card { position: relative; width: min(410px,100%); padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-overlay); text-align: center; animation: pop-in .18s ease both; }
.v9 .modal-close { position: absolute; top: 10px; right: 10px; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; background: var(--surface-2); font-size: 20px; }
.v9 .modal-card h2 { margin: 6px 0 0; color: var(--ink); font-size: 23px; }
.v9 .eyebrow { color: var(--cobalt); font: 700 11px/1 var(--font-mono); }
.v9 .qr-code-output { display: grid; min-height: 280px; place-items: center; margin: 16px 0; }
.v9 .qr-code-output img, .v9 .qr-code-output canvas { max-width: 100%; height: auto; }
.v9 .qr-error { padding: 16px; color: var(--danger); background: var(--danger-soft); border-radius: 9px; }

/* Secondary authentication screens */
.v9 .auth-section, .v9 .state-page { display: grid; min-height: calc(100vh - 66px); place-items: center; padding: 46px 24px; background: var(--paper); }
.v9 .auth-shell { display: grid; width: min(920px,100%); grid-template-columns: .8fr 1.2fr; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.v9 .auth-copy { display: flex; min-height: 440px; flex-direction: column; justify-content: end; padding: 36px; color: #fff; background: var(--ink); }
.v9 .auth-copy h1 { margin: 12px 0 8px; color: #fff; font-size: 32px; line-height: 1.08; letter-spacing: -.035em; }
.v9 .auth-copy p { margin: 0; color: #b9bec5; font-size: 13px; }
.v9 .auth-card { align-self: center; padding: 42px; }
.v9 .auth-card h2 { margin: 0 0 22px; color: var(--ink); font-size: 24px; }
.v9 .form-footer { margin: 18px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
.v9 .form-footer a { color: var(--cobalt); font-weight: 700; }

@keyframes pop-in { from { opacity: 0; transform: translateY(-4px) scale(.99); } to { opacity: 1; transform: none; } }


/* --- v9-pages-a.css --- */
/* Login: product-specific route animation */
.v9 .access-page { min-height: calc(100vh - 66px); background: linear-gradient(90deg,var(--ink) 0 57%,var(--paper) 57%); }
.v9 .access-layout { display: grid; min-height: calc(100vh - 66px); grid-template-columns: minmax(0,1.18fr) minmax(390px,.82fr); gap: 7vw; align-items: center; }
.v9 .access-visual { align-self: stretch; display: flex; min-height: 590px; flex-direction: column; justify-content: space-between; padding: 52px 5vw 52px 0; color: #fff; }
.v9 .access-visual > header { display: flex; align-items: center; justify-content: space-between; color: #9ba2ac; font: 650 11px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.v9 .access-visual > header b { display: inline-flex; align-items: center; gap: 7px; color: #c8ced6; font-weight: 620; }
.v9 .access-visual > header b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(41,200,165,.12); }
.v9 .access-visual > p { margin: 0; color: #aeb4bd; font-size: 13px; }
.v9 .access-route { position: relative; width: min(620px,100%); padding: 30px 0; }
.v9 .route-source, .v9 .route-output { position: relative; z-index: 2; width: min(490px,88%); padding: 15px 17px; border: 1px solid #373c43; border-radius: 11px; background: #181b1f; }
.v9 .route-source small, .v9 .route-output small { display: block; margin-bottom: 6px; color: #858c95; font: 650 10px/1 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.v9 .route-source span { display: block; overflow: hidden; color: #d0d4da; font: 12px/1.4 var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.v9 .route-output { margin-top: 154px; margin-left: auto; border-color: rgba(200,235,99,.42); background: #1b2116; }
.v9 .route-output strong { color: var(--signal); font: 720 15px/1.3 var(--font-mono); }
.v9 .route-output > i { position: absolute; top: 50%; left: -7px; width: 12px; height: 12px; border: 3px solid var(--ink); border-radius: 50%; background: var(--signal); transform: translateY(-50%); }
.v9 .route-track { position: absolute; z-index: 1; top: 86px; left: 56px; width: calc(100% - 116px); height: 167px; border-right: 1px solid #464c54; border-bottom: 1px solid #464c54; }
.v9 .route-track::before { content: ""; position: absolute; top: 0; left: 0; width: calc(100% - 35px); height: 1px; background: #464c54; }
.v9 .route-track i { position: absolute; top: -2px; left: 0; width: 56px; height: 3px; background: var(--cobalt); animation: signal-horizontal 2.8s ease-in-out infinite; }
.v9 .route-track b { position: absolute; right: -2px; top: 30px; width: 3px; height: 48px; background: var(--mint); animation: signal-vertical 2.8s .7s ease-in-out infinite; }
.v9 .route-track em { position: absolute; right: 0; bottom: -2px; width: 56px; height: 3px; background: var(--signal); animation: signal-horizontal 2.8s 1.4s ease-in-out infinite reverse; }
.v9 .route-node { position: absolute; z-index: 3; top: 126px; display: grid; width: 112px; height: 74px; place-items: center; border: 1px solid #40464e; border-radius: 10px; color: #b8bec7; background: #171a1e; }
.v9 .route-node:nth-of-type(3) { left: 51%; }
.v9 .route-node:nth-of-type(4) { right: 6%; }
.v9 .route-node span { font: 700 10px/1 var(--font-mono); letter-spacing: .06em; }
.v9 .route-node small { color: #727981; font: 600 9px/1 var(--font-mono); }
.v9 .route-node i { width: 7px; height: 7px; border-radius: 50%; background: #59616b; transition: background-color .18s ease, box-shadow .18s ease; }
.v9 [data-access-step="email"] .route-node:nth-of-type(3) { border-color: rgba(49,87,246,.8); }
.v9 [data-access-step="email"] .route-node:nth-of-type(3) i { background: #6f88ff; box-shadow: 0 0 0 5px rgba(49,87,246,.15); }
.v9 [data-access-step="password"] .route-node:nth-of-type(4), .v9 [data-access-step="submit"] .route-node:nth-of-type(4) { border-color: rgba(41,200,165,.75); }
.v9 [data-access-step="password"] .route-node:nth-of-type(4) i, .v9 [data-access-step="submit"] .route-node:nth-of-type(4) i { background: var(--mint); box-shadow: 0 0 0 5px rgba(41,200,165,.14); }
.v9 .access-form { width: min(420px,100%); justify-self: end; }
.v9 .access-form header { margin-bottom: 30px; }
.v9 .access-form h1 { margin: 12px 0 5px; color: var(--ink); font-size: 34px; font-weight: 760; line-height: 1.05; letter-spacing: -.04em; }
.v9 .access-form header p { margin: 0; color: var(--muted); font-size: 13px; }
.v9 .access-field { margin-top: 17px; }
.v9 .access-field > div:not(.access-label-row) { display: grid; min-height: 50px; grid-template-columns: 38px 1fr auto; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); }
.v9 .access-field > div:not(.access-label-row):focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(49,87,246,.12); }
.v9 .access-field > div > span { justify-self: center; color: var(--muted); font: 700 13px/1 var(--font-mono); }
.v9 .access-field input { min-height: 48px; padding-left: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.v9 .access-field button { min-height: 40px; margin-right: 5px; padding: 0 10px; border: 0; color: var(--cobalt); background: transparent; font-size: 12px; font-weight: 720; }
.v9 .access-label-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.v9 .access-label-row a { color: var(--cobalt); font-size: 12px; font-weight: 650; text-decoration: none; }
.v9 .password-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.v9 .access-submit { width: 100%; min-height: 50px; margin-top: 24px; padding-inline: 17px; justify-content: space-between; }
.v9 .access-submit b { color: var(--signal); font-size: 18px; }
.v9 .access-form footer { margin-top: 18px; color: var(--muted); font-size: 12px; text-align: center; }
.v9 .access-form footer a { color: var(--cobalt); font-weight: 700; }

/* Home command surface */
.v9 .route-home { padding: 0 0 58px; }
.v9 .home-context { display: flex; min-height: 180px; align-items: end; justify-content: space-between; gap: 40px; padding: 42px 0 28px; }
.v9 .home-context h1 { margin: 11px 0 4px; color: var(--ink); font-size: clamp(36px,4.5vw,52px); font-weight: 750; line-height: .98; letter-spacing: -.052em; }
.v9 .home-context p { margin: 0; color: var(--muted); font-size: 14px; }
.v9 .home-metric-ribbon { display: grid; min-width: 390px; grid-template-columns: repeat(3,1fr); margin: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.v9 .home-metric-ribbon div { padding: 12px 16px; border-right: 1px solid var(--line); }
.v9 .home-metric-ribbon div:last-child { border-right: 0; }
.v9 .home-metric-ribbon dt { color: var(--muted); font-size: 12px; }
.v9 .home-metric-ribbon dd { margin: 4px 0 0; color: var(--ink); font: 730 22px/1 var(--font-mono); }
.v9 .home-command-grid { display: grid; grid-template-columns: minmax(0,1.42fr) minmax(330px,.58fr); border: 1px solid var(--ink); border-radius: 18px; background: var(--surface); overflow: hidden; }
.v9 .home-composer { padding: 30px; }
.v9 .home-composer > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.v9 .home-composer > header span, .v9 .home-signal-panel > header span { display: block; color: var(--muted); font: 650 10px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; }
.v9 .home-composer > header b { display: block; margin-top: 3px; color: var(--ink); font-size: 17px; }
.v9 .home-composer > header a { color: var(--muted); font-size: 12px; text-decoration: none; }
.v9 .home-composer > header a strong { color: var(--cobalt); }
.v9 .composer-url textarea { min-height: 96px; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 12px 0; background: transparent; font: 15px/1.55 var(--font-mono); }
.v9 .composer-url textarea:focus { border-color: var(--cobalt); box-shadow: none; }
.v9 .composer-url label { font: 680 12px/1 var(--font-mono); text-transform: uppercase; }
.v9 .composer-url small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.v9 .composer-route { display: grid; min-height: 58px; grid-template-columns: minmax(80px,1fr) 95px minmax(160px,1fr); gap: 12px; align-items: center; margin: 18px 0; padding: 10px 14px; border-radius: 11px; background: var(--cobalt-soft); }
.v9 .composer-route span, .v9 .composer-route strong { overflow: hidden; color: var(--ink); font: 650 12px/1.35 var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.v9 .composer-route strong { color: var(--cobalt); text-align: right; }
.v9 .composer-route > i { position: relative; height: 1px; background: rgba(49,87,246,.32); }
.v9 .composer-route > i::before, .v9 .composer-route > i::after { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border: 2px solid var(--cobalt); border-radius: 50%; background: var(--surface); }
.v9 .composer-route > i::before { left: 0; }
.v9 .composer-route > i::after { right: 0; background: var(--signal); }
.v9 .composer-route > i b { position: absolute; top: -1px; left: 5px; width: 25px; height: 3px; border-radius: 2px; background: var(--cobalt); animation: route-pulse 2.3s ease-in-out infinite; }
.v9 .composer-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.v9 .composer-options .field + .field { margin-top: 0; }
.v9 .composer-submit { width: 100%; min-height: 48px; justify-content: space-between; margin-top: 18px; background: var(--cobalt); border-color: var(--cobalt); }
.v9 .composer-submit b { color: var(--signal); font-size: 18px; }
.v9 .home-signal-panel { display: flex; min-height: 410px; flex-direction: column; padding: 26px; color: #fff; background: var(--ink); }
.v9 .home-signal-panel > header { display: flex; justify-content: space-between; }
.v9 .home-signal-panel > header span { color: #9da3ab; }
.v9 .home-signal-panel > header i { display: inline-flex; align-items: center; gap: 6px; color: var(--signal); font: 700 10px/1 var(--font-mono); font-style: normal; }
.v9 .home-signal-panel > header i::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.v9 .signal-diagram { display: grid; grid-template-columns: 54px 1fr 54px 1fr 62px; align-items: center; margin: 74px 0 64px; }
.v9 .signal-diagram > span { display: grid; height: 54px; place-items: center; border: 1px solid #41464d; border-radius: 50%; color: #c5cad0; font: 700 9px/1 var(--font-mono); }
.v9 .signal-diagram .signal-node { color: var(--ink); border-color: var(--signal); background: var(--signal); font-size: 13px; }
.v9 .signal-diagram .signal-end { border-radius: 9px; color: var(--mint); border-color: rgba(41,200,165,.6); }
.v9 .signal-line { position: relative; height: 1px; background: #41464d; }
.v9 .signal-line b { position: absolute; top: -2px; left: 0; width: 22px; height: 4px; border-radius: 2px; background: var(--cobalt); animation: route-pulse 2.1s ease-in-out infinite; }
.v9 .signal-line:nth-of-type(2) b { background: var(--mint); animation-delay: .7s; }
.v9 .signal-top-link { margin-top: auto; padding-top: 17px; border-top: 1px solid #353a40; }
.v9 .signal-top-link span, .v9 .signal-top-link small { display: block; color: #939aa3; font-size: 12px; }
.v9 .signal-top-link strong { display: block; margin: 5px 0 2px; overflow: hidden; color: #fff; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.v9 .home-signal-panel > a { margin-top: 17px; color: var(--signal); font-size: 12px; font-weight: 700; text-decoration: none; }
.v9 .home-tool-deck { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.v9 .tool-launch { position: relative; display: grid; min-height: 190px; grid-template-columns: 28px 1fr auto; gap: 14px; padding: 23px; border-right: 1px solid var(--line); color: var(--text); background: transparent; text-decoration: none; overflow: hidden; transition: background-color .18s ease; }
.v9 .tool-launch:last-child { border-right: 0; }
.v9 .tool-launch::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--cobalt); transition: right .24s ease; }
.v9 .tool-launch:nth-child(2)::after { background: var(--mint); }
.v9 .tool-launch:nth-child(3)::after { background: var(--violet); }
.v9 .tool-launch:hover { background: var(--surface); }
.v9 .tool-launch:hover::after { right: 0; }
.v9 .tool-index { color: #92959a; font: 650 10px/1 var(--font-mono); }
.v9 .tool-launch small { color: var(--cobalt); font: 650 10px/1 var(--font-mono); text-transform: uppercase; }
.v9 .tool-launch h2 { margin: 10px 0 5px; color: var(--ink); font-size: 18px; letter-spacing: -.025em; }
.v9 .tool-launch p { margin: 0; color: var(--muted); font-size: 12px; }
.v9 .tool-launch > strong { color: var(--cobalt); font-size: 19px; transition: transform .18s ease; }
.v9 .tool-launch:hover > strong { transform: translateX(4px); }
.v9 .tool-formula, .v9 .tool-mini-route, .v9 .tool-ledger { display: flex; align-items: center; gap: 6px; margin-top: 22px; }
.v9 .tool-formula i { padding: 4px 6px; border-radius: 5px; color: var(--ink); background: var(--surface-2); font: 600 9px/1 var(--font-mono); font-style: normal; }
.v9 .tool-formula b { color: var(--cobalt); font-size: 12px; }
.v9 .tool-mini-route i { width: 9px; height: 9px; border: 2px solid var(--ink); border-radius: 50%; }
.v9 .tool-mini-route b { width: 42px; height: 1px; background: var(--cobalt); }
.v9 .tool-mini-route span { color: var(--cobalt); font: 650 9px/1 var(--font-mono); }
.v9 .tool-ledger { display: grid; gap: 4px; }
.v9 .tool-ledger i { display: block; width: 120px; height: 5px; border-radius: 3px; background: var(--line); }
.v9 .tool-ledger i:nth-child(2) { width: 94px; background: #c8c5bd; }
.v9 .tool-ledger i:nth-child(3) { width: 108px; background: var(--cobalt-soft); }

/* Tool pages and route inspector */
.v9 .tool-page { padding-bottom: 64px; }
.v9 .tool-context { border-bottom: 1px solid var(--line); }
.v9 .studio-mode { display: inline-grid; grid-template-columns: repeat(2,1fr); margin: 18px 0; border-bottom: 1px solid var(--line); }
.v9 .studio-mode button { position: relative; display: flex; min-width: 190px; min-height: 54px; align-items: center; gap: 10px; padding: 8px 18px 12px 0; border: 0; color: var(--muted); background: transparent; text-align: left; }
.v9 .studio-mode button + button { padding-left: 18px; }
.v9 .studio-mode button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 3px; background: var(--cobalt); transition: right .2s ease; }
.v9 .studio-mode button.active { color: var(--ink); }
.v9 .studio-mode button.active::after { right: 0; }
.v9 .studio-mode button > i { width: 10px; height: 10px; border: 2px solid currentColor; border-radius: 50%; }
.v9 .studio-mode button.active > i { border-color: var(--cobalt); background: var(--signal); }
.v9 .studio-mode b, .v9 .studio-mode small { display: block; }
.v9 .studio-mode b { font-size: 13px; }
.v9 .studio-mode small { margin-top: 1px; font-size: 12px; font-weight: 520; }
.v9 .tool-workspace { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(380px,.88fr); gap: 18px; align-items: start; }
.v9 .tool-workbench { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.v9 .workbench-step { display: grid; grid-template-columns: 45px 1fr; gap: 14px; }
.v9 .workbench-step + .workbench-step { margin-top: 25px; }
.v9 .step-mark { position: relative; display: flex; justify-content: center; }
.v9 .step-mark span { position: relative; z-index: 2; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: var(--surface); font: 700 10px/1 var(--font-mono); }
.v9 .step-mark i { position: absolute; top: 32px; bottom: -25px; left: 50%; width: 1px; background: var(--line); }
.v9 .workbench-step:last-of-type .step-mark i { display: none; }
.v9 .step-content > header { display: flex; align-items: start; justify-content: space-between; margin-bottom: 18px; }
.v9 .step-content h2, .v9 .short-destination h2, .v9 .alias-section h2 { margin: 0; color: var(--ink); font-size: 18px; letter-spacing: -.025em; }
.v9 .step-content header p, .v9 .short-destination header p, .v9 .alias-section header p { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.v9 .step-content .form-grid + .field, .v9 .step-content .field + .form-grid { margin-top: 15px; }
.v9 .parameter-fields { display: grid; gap: 10px; }
.v9 .parameter-field { display: grid; grid-template-columns: minmax(130px,.36fr) 1fr; align-items: start; gap: 9px 14px; }
.v9 .parameter-field label { align-self: center; }
.v9 .parameter-field code { margin-right: 6px; color: var(--cobalt); font: 650 12px/1 var(--font-mono); }
.v9 .parameter-field small { grid-column: 2; margin-top: -7px; }
.v9 .optional-fields, .v9 .workbench-disclosure, .v9 .result-details, .v9 .raw-route { margin-top: 17px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v9 .optional-fields > summary, .v9 .workbench-disclosure > summary, .v9 .result-details > summary, .v9 .raw-route > summary { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 15px; color: var(--ink); font-size: 13px; font-weight: 700; list-style: none; }
.v9 .optional-fields summary::-webkit-details-marker, .v9 .workbench-disclosure summary::-webkit-details-marker, .v9 .result-details summary::-webkit-details-marker, .v9 .raw-route summary::-webkit-details-marker { display: none; }
.v9 .optional-fields summary span, .v9 .workbench-disclosure summary small, .v9 .result-details summary span, .v9 .raw-route summary span { color: var(--muted); font-size: 12px; font-weight: 520; }
.v9 .optional-fields[open] > summary, .v9 .workbench-disclosure[open] > summary { border-bottom: 1px solid var(--line); }
.v9 .optional-fields > div { margin: 15px 0; }
.v9 .reset-workbench { display: block; min-height: 38px; margin: 22px 0 0 auto; padding: 7px 10px; border: 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 680; }
.v9 .reset-workbench:hover { color: var(--cobalt); }
.v9 .route-inspector { position: sticky; top: 84px; align-self: start; padding: 22px; border-radius: 16px; color: #fff; background: var(--ink); box-shadow: 0 24px 60px rgba(17,19,22,.16); overflow: hidden; }
.v9 .route-inspector::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.1) 1px,transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom,#000,transparent 58%); pointer-events: none; }
.v9 .route-inspector > * { position: relative; z-index: 1; }
.v9 .route-inspector > header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid #373c43; }
.v9 .route-inspector > header > div > span, .v9 .formula-strip > small { color: #979ea7; font: 650 10px/1 var(--font-mono); letter-spacing: .06em; }
.v9 .route-inspector > header b { display: block; margin-top: 4px; color: #fff; font-size: 13px; }
.v9 .route-inspector > header > i { width: 10px; height: 10px; border: 2px solid #666e78; border-radius: 50%; transition: .18s ease; }
.v9 .route-inspector.is-ready > header > i, .v9 .route-inspector > header > i.ready { border-color: var(--signal); background: var(--signal); box-shadow: 0 0 0 6px rgba(200,235,99,.1); }
.v9 .formula-strip { margin: 18px 0 13px; padding: 15px; border: 1px solid #3a4048; border-radius: 10px; background: rgba(255,255,255,.04); }
.v9 .formula-strip > div { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.v9 .formula-strip span { padding: 5px 7px; border-radius: 5px; color: var(--signal); background: rgba(200,235,99,.08); font: 650 10px/1.2 var(--font-mono); overflow-wrap: anywhere; }
.v9 .formula-strip i { align-self: center; color: #737b84; font-style: normal; }
.v9 .readiness-line { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding: 10px 0 14px; }
.v9 .readiness-line > span { display: inline-flex; align-items: center; gap: 7px; }
.v9 .readiness-line > span i { width: 6px; height: 6px; border-radius: 50%; background: #747c86; }
.v9 .is-ready .readiness-line > span i { background: var(--mint); }
.v9 .readiness-line b, .v9 .readiness-line small { color: #aeb4bd; font-size: 12px; font-weight: 600; }
.v9 .readiness-line > small { max-width: 190px; text-align: right; }
.v9 .parameter-list { display: grid; margin: 0; border-top: 1px solid #363c44; }
.v9 .parameter-list > p { color: #9198a1; font-size: 12px; }
.v9 .parameter-list .v2-param { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid #333940; }
.v9 .parameter-list .v2-param span { color: #878f98; font: 650 10px/1.3 var(--font-mono); }
.v9 .parameter-list .v2-param strong { color: #e4e8ed; font: 600 11px/1.35 var(--font-mono); overflow-wrap: anywhere; }
.v9 .raw-route { border-color: #363c44; }
.v9 .raw-route > summary { color: #fff; }
.v9 .raw-route summary span { color: #8e969f; }
.v9 .raw-route textarea { min-height: 124px; margin-bottom: 13px; border-color: #3c434b; color: #dfe4ea; background: #171b20; font: 11px/1.55 var(--font-mono); }
.v9 .inspector-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.v9 .inspector-actions button, .v9 .result-secondary a, .v9 .result-secondary button { min-height: 42px; padding: 9px 12px; border: 1px solid #4a515a; border-radius: 8px; color: #fff; background: transparent; font-size: 12px; font-weight: 690; text-decoration: none; }
.v9 .inspector-actions .inspector-copy, .v9 .result-copy { color: var(--ink); border-color: var(--signal); background: var(--signal); }
.v9 .inspector-primary { width: 100%; min-height: 48px; justify-content: space-between; margin-top: 10px; color: #fff; border-color: var(--cobalt); background: var(--cobalt); }
.v9 .inspector-primary b { color: var(--signal); }
.v9 .inspector-tertiary { width: 100%; min-height: 40px; margin-top: 5px; border: 0; color: #aeb4bd; background: transparent; font-size: 12px; font-weight: 680; }

/* Shortener-specific workbench */
.v9 .short-workspace { grid-template-columns: minmax(0,1.18fr) minmax(360px,.82fr); }
.v9 .short-workbench { padding: 0; overflow: hidden; }
.v9 .short-destination, .v9 .alias-section, .v9 .workbench-disclosure { margin: 0; padding: 24px 26px; }
.v9 .short-destination { padding-bottom: 20px; }
.v9 .short-destination > header, .v9 .alias-section > header { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.v9 .short-destination > header > span, .v9 .alias-section > header > div > span { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); font: 700 10px/1 var(--font-mono); }
.v9 .short-destination > header { justify-content: flex-start; }
.v9 .short-destination > header > div { flex: 1; }
.v9 .alias-section > header > div { display: flex; gap: 13px; }
.v9 .short-destination textarea { min-height: 112px; font: 13px/1.55 var(--font-mono); }
.v9 .live-route-preview { display: grid; min-height: 78px; grid-template-columns: minmax(0,1fr) 120px minmax(0,1fr); gap: 12px; align-items: center; padding: 13px 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cobalt-soft); }
.v9 .live-route-preview small, .v9 .live-route-preview strong { display: block; }
.v9 .live-route-preview small { color: var(--muted); font: 650 9px/1 var(--font-mono); letter-spacing: .06em; }
.v9 .live-route-preview strong { margin-top: 4px; overflow: hidden; color: var(--ink); font: 650 12px/1.3 var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.v9 .live-route-preview > div:last-child { text-align: right; }
.v9 .live-route-preview > div:last-child strong { color: var(--cobalt); }
.v9 .live-route-preview > i { position: relative; height: 1px; background: rgba(49,87,246,.35); }
.v9 .live-route-preview > i::before, .v9 .live-route-preview > i::after { content: ""; position: absolute; top: -4px; width: 9px; height: 9px; border: 2px solid var(--cobalt); border-radius: 50%; background: var(--surface); }
.v9 .live-route-preview > i::before { left: 0; }
.v9 .live-route-preview > i::after { right: 0; background: var(--signal); }
.v9 .live-route-preview > i b { position: absolute; top: -1px; width: 30px; height: 3px; background: var(--cobalt); animation: route-pulse 2.3s ease infinite; }
.v9 .alias-section { border-bottom: 1px solid var(--line); }
.v9 .alias-mode, .v9 .expiry-presets { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-2); }
.v9 .alias-mode button, .v9 .expiry-presets button { min-height: 34px; padding: 7px 10px; border: 0; border-radius: 6px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 670; }
.v9 .alias-mode button.active, .v9 .expiry-presets button.active { color: #fff; background: var(--ink); }
.v9 .alias-assurance { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 10px; background: #efeee9; }
.v9 .alias-assurance > i { width: 26px; height: 26px; border: 7px solid var(--cobalt-soft); border-radius: 50%; background: var(--cobalt); }
.v9 .alias-assurance b, .v9 .alias-assurance small { display: block; }
.v9 .alias-assurance b { color: var(--ink); font-size: 13px; }
.v9 .alias-assurance small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.v9 .workbench-disclosure { border-top: 0; }
.v9 .workbench-disclosure + .workbench-disclosure { border-top: 1px solid var(--line); }
.v9 .workbench-disclosure > summary { min-height: 34px; }
.v9 .workbench-disclosure summary span b, .v9 .workbench-disclosure summary span small { display: block; }
.v9 .workbench-disclosure summary > i { color: var(--cobalt); font-size: 20px; font-style: normal; transition: transform .16s ease; }
.v9 .workbench-disclosure[open] summary > i { transform: rotate(45deg); }
.v9 .disclosure-body { padding-top: 18px; }
.v9 .tag-preview { display: flex; min-height: 0; flex-wrap: wrap; gap: 5px; }
.v9 .tag-preview:empty { display: none; }
.v9 .tag-preview span, .v9 .result-tags span { padding: 4px 7px; border-radius: 6px; color: #4c535c; background: var(--surface-2); font-size: 12px; }
.v9 .expiry-presets { display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 10px; }
.v9 .forge-submit { width: calc(100% - 52px); min-height: 50px; justify-content: space-between; margin: 8px 26px 26px; color: #fff; border-color: var(--cobalt); background: var(--cobalt); }
.v9 .forge-submit b { color: var(--signal); }
.v9 .short-inspector { min-height: 418px; }
.v9 .empty-inspector { display: grid; min-height: 330px; place-content: center; text-align: center; }
.v9 .inspector-route { display: grid; grid-template-columns: minmax(70px,1fr) 74px minmax(110px,1.2fr); gap: 9px; align-items: center; }
.v9 .inspector-route > span, .v9 .inspector-route > strong { overflow: hidden; color: #adb3bb; font: 600 10px/1.3 var(--font-mono); text-overflow: ellipsis; white-space: nowrap; }
.v9 .inspector-route > strong { color: var(--signal); text-align: right; }
.v9 .inspector-route > i { position: relative; height: 1px; background: #48505a; }
.v9 .inspector-route > i b { position: absolute; top: -1px; width: 24px; height: 3px; background: var(--mint); animation: route-pulse 2.2s ease infinite; }
.v9 .empty-inspector h2 { margin: 26px 0 5px; color: #fff; font-size: 19px; }
.v9 .empty-inspector p { max-width: 290px; margin: 0 auto; color: #9198a1; font-size: 12px; }
.v9 .created-route { padding: 24px 0 16px; }
.v9 .created-route > small { color: #89919a; font: 650 10px/1 var(--font-mono); }
.v9 .created-route h2 { margin: 7px 0 5px; color: #fff; font-size: 18px; }
.v9 .created-route > a { display: block; margin-top: 8px; color: var(--signal); font: 720 17px/1.4 var(--font-mono); overflow-wrap: anywhere; text-decoration: none; }
.v9 .route-success-line { position: relative; height: 22px; margin-top: 17px; border-bottom: 1px solid #48505a; }
.v9 .route-success-line::before { content: ""; position: absolute; right: 0; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.v9 .route-success-line i { position: absolute; bottom: -1px; left: 0; width: 48px; height: 3px; background: var(--mint); animation: route-pulse 2s ease infinite; }
.v9 .result-copy { width: 100%; min-height: 48px; border-radius: 8px; font-weight: 740; }
.v9 .result-secondary { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 8px; }
.v9 .result-secondary a, .v9 .result-secondary button { display: flex; align-items: center; justify-content: center; }
.v9 .result-details { border-color: #363c44; }
.v9 .result-details > summary { color: #fff; }
.v9 .result-details > div { padding: 0 0 14px; }
.v9 .result-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 12px; }
.v9 .result-tags span { color: #d6dbe1; background: #30363d; }
.v9 .result-details dl { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; margin: 0; background: #363c44; }
.v9 .result-details dl div { padding: 9px; background: var(--ink); }
.v9 .result-details dt { color: #878f98; font-size: 12px; }
.v9 .result-details dd { margin: 2px 0 0; color: #e0e4e9; font-size: 12px; }
.v9 .result-destination { margin-top: 12px; }
.v9 .result-destination small { color: #878f98; font-size: 12px; }
.v9 .result-destination p { margin: 4px 0 0; color: #bbc1c8; font: 10px/1.45 var(--font-mono); overflow-wrap: anywhere; }
.v9 .result-manage { display: flex; gap: 10px; margin-top: 14px; }
.v9 .result-manage a, .v9 .result-manage button { min-height: 38px; padding: 7px 10px; border: 0; color: #aeb4bc; background: transparent; font-size: 12px; font-weight: 680; text-decoration: none; }
.v9 .result-manage button:hover, .v9 .result-manage a:hover { color: var(--signal); }

@keyframes signal-horizontal { 0%,100% { transform: translateX(0); opacity: .25; } 50% { transform: translateX(70px); opacity: 1; } }
@keyframes signal-vertical { 0%,100% { transform: translateY(0); opacity: .25; } 50% { transform: translateY(48px); opacity: 1; } }
@keyframes route-pulse { 0%,100% { left: 4px; opacity: .25; } 50% { left: calc(100% - 34px); opacity: 1; } }


/* --- v9-pages-b.css --- */
/* Link library: dense route ledger */
.v9 .library-page { padding-bottom: 64px; }
.v9 .library-context { min-height: 132px; }
.v9 .link-toolbar { position: sticky; top: 66px; z-index: 50; display: grid; grid-template-columns: minmax(260px,1fr) auto auto; gap: 9px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(244,242,236,.96); backdrop-filter: blur(15px); }
.v9 .link-search { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--surface); overflow: hidden; }
.v9 .link-search > span { position: relative; justify-self: center; width: 13px; height: 13px; border: 1.8px solid var(--muted); border-radius: 50%; }
.v9 .link-search > span::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 6px; height: 1.5px; background: var(--muted); transform: rotate(45deg); }
.v9 .link-search input { min-height: 42px; padding-left: 0; border: 0; border-radius: 0; box-shadow: none; }
.v9 .link-search button { min-height: 34px; margin-right: 4px; padding: 7px 12px; border: 0; border-radius: 6px; color: #fff; background: var(--ink); font-size: 12px; font-weight: 690; }
.v9 .quick-filter-links { display: flex; gap: 5px; }
.v9 .quick-filter-links a { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: var(--surface); font-size: 12px; font-weight: 680; text-decoration: none; }
.v9 .quick-filter-links a.active { color: var(--cobalt); border-color: #aab8fa; background: var(--cobalt-soft); }
.v9 .filter-drawer { position: relative; }
.v9 .filter-drawer > summary { display: flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: var(--surface); font-size: 12px; font-weight: 680; list-style: none; }
.v9 .filter-drawer > summary::-webkit-details-marker { display: none; }
.v9 .filter-drawer > summary span { display: grid; min-width: 19px; height: 19px; place-items: center; border-radius: 10px; color: var(--ink); background: var(--signal); font: 700 10px/1 var(--font-mono); }
.v9 .filter-sheet { position: absolute; top: 50px; right: 0; z-index: 80; display: grid; width: min(760px,calc(100vw - 48px)); grid-template-columns: repeat(4,1fr); gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-overlay); animation: pop-in .16s ease both; }
.v9 .filter-actions { grid-column: 1/-1; display: flex; align-items: center; justify-content: flex-end; gap: 12px; padding-top: 4px; }
.v9 .filter-actions a { color: var(--muted); font-size: 12px; font-weight: 680; }
.v9 .filter-actions button { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 8px; color: #fff; background: var(--cobalt); font-size: 12px; font-weight: 700; }
.v9 .filter-tokens { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 2px; }
.v9 .filter-tokens span, .v9 .filter-tokens a { padding: 5px 8px; border: 1px solid var(--line); border-radius: 14px; color: #555a61; background: var(--surface); font-size: 12px; text-decoration: none; }
.v9 .filter-tokens a { color: var(--cobalt); }
.v9 .ledger-meta { display: flex; align-items: center; justify-content: space-between; padding: 17px 2px 9px; color: var(--muted); font-size: 12px; }
.v9 .ledger-meta p { margin: 0; }
.v9 .link-ledger { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.v9 .ledger-head, .v9 .ledger-row { display: grid; grid-template-columns: minmax(280px,1.7fr) 74px 92px 92px 98px 98px 178px; gap: 12px; align-items: center; }
.v9 .ledger-head { position: sticky; top: 129px; z-index: 30; min-height: 40px; padding: 0 12px; color: #797d82; background: #ebe9e2; font: 650 10px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; }
.v9 .ledger-row { position: relative; min-height: 74px; padding: 10px 12px; border-top: 1px solid var(--line); background: transparent; transition: background-color .15s ease; }
.v9 .ledger-row::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 0; width: 2px; background: var(--cobalt); opacity: 0; transition: opacity .15s ease; }
.v9 .ledger-row:hover, .v9 .ledger-row:focus-within { background: var(--surface); }
.v9 .ledger-row:hover::before, .v9 .ledger-row:focus-within::before { opacity: 1; }
.v9 .ledger-identity { min-width: 0; }
.v9 .ledger-identity h2 { margin: 0 0 2px; overflow: hidden; color: var(--ink); font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.v9 .ledger-identity > a { display: block; overflow: hidden; color: var(--cobalt); font: 640 11px/1.3 var(--font-mono); text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.v9 .ledger-identity > p, .v9 .ledger-tags { display: none; }
.v9 .ledger-owner { display: block; margin: -1px 0 2px; overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.v9 .ledger-type span { color: #525860; font: 700 10px/1 var(--font-mono); }
.v9 .ledger-status { display: inline-flex; align-items: center; gap: 7px; color: #50555d; font-size: 12px; font-weight: 650; }
.v9 .ledger-status i { width: 7px; height: 7px; border-radius: 50%; background: #91969d; }
.v9 .ledger-status.active i { background: var(--mint); box-shadow: 0 0 0 4px rgba(41,200,165,.1); }
.v9 .ledger-status.expired i { background: var(--amber); }
.v9 .ledger-status.disabled i { background: #8b9097; }
.v9 .ledger-status.saved i { background: var(--violet); }
.v9 .ledger-clicks strong, .v9 .ledger-clicks small { display: block; }
.v9 .ledger-clicks strong { color: var(--ink); font: 720 14px/1 var(--font-mono); }
.v9 .ledger-clicks small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.v9 .ledger-date { color: #555a61; font-size: 12px; }
.v9 .ledger-actions { display: flex; justify-content: flex-end; gap: 5px; }
.v9 .ledger-actions > button, .v9 .ledger-actions > a, .v9 .ledger-actions > details > summary { display: inline-flex; min-height: 36px; align-items: center; justify-content: center; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--surface); font-size: 12px; font-weight: 680; text-decoration: none; list-style: none; }
.v9 .ledger-actions .copy-action { color: #fff; border-color: var(--ink); background: var(--ink); }
.v9 .ledger-actions .analytics-action { color: var(--cobalt); }
.v9 .ledger-actions > details { position: relative; }
.v9 .ledger-actions > details > summary::-webkit-details-marker { display: none; }
.v9 .ledger-actions > details > div { position: absolute; top: 42px; right: 0; z-index: 90; width: 148px; padding: 7px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); box-shadow: var(--shadow-overlay); animation: pop-in .15s ease both; }
.v9 .ledger-actions > details a, .v9 .ledger-actions > details button { display: flex; width: 100%; min-height: 37px; align-items: center; padding: 7px 9px; border: 0; border-radius: 6px; color: var(--text); background: transparent; font-size: 12px; font-weight: 650; text-align: left; text-decoration: none; }
.v9 .ledger-actions > details a:hover, .v9 .ledger-actions > details button:hover { color: var(--cobalt); background: var(--cobalt-soft); }
.v9 .ledger-actions > details button.danger { color: var(--danger); }
.v9 .pagination { display: grid; grid-template-columns: 130px 1fr 130px; gap: 10px; align-items: center; margin-top: 16px; }
.v9 .pagination > div { display: flex; justify-content: center; gap: 4px; }
.v9 .pagination a { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 7px; color: var(--text); background: var(--surface); font-size: 12px; text-decoration: none; }
.v9 .pagination a.active { color: #fff; border-color: var(--cobalt); background: var(--cobalt); }
.v9 .page-direction { gap: 5px; padding-inline: 10px; }
.v9 .route-empty { min-height: 330px; display: grid; place-content: center; justify-items: center; border-bottom: 1px solid var(--line); text-align: center; }
.v9 .route-empty h2 { margin: 20px 0 4px; color: var(--ink); font-size: 20px; }
.v9 .route-empty p { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.v9 .route-empty > a { color: var(--cobalt); font-weight: 700; }
.v9 .broken-route { display: flex; width: 170px; align-items: center; }
.v9 .broken-route span, .v9 .broken-route b { width: 16px; height: 16px; border: 2px solid var(--ink); border-radius: 50%; background: var(--surface); }
.v9 .broken-route b { border-color: var(--danger); background: var(--danger-soft); }
.v9 .broken-route i { flex: 1; height: 1px; border-top: 1px dashed var(--line-strong); }

/* Analytics: metric ribbon, signal chart and ranked ledgers */
.v9 .analytics-page { padding-bottom: 64px; }
.v9 .analytics-context { min-height: 132px; }
.v9 .analytics-context-actions { display: flex; align-items: end; gap: 14px; }
.v9 .analytics-context-actions > a { min-height: 40px; align-content: center; color: var(--muted); font-size: 12px; font-weight: 680; text-decoration: none; }
.v9 .analytics-context-actions form { display: grid; gap: 4px; }
.v9 .analytics-context-actions label { color: var(--muted); font: 650 9px/1 var(--font-mono); text-transform: uppercase; }
.v9 .analytics-context-actions select { min-width: 128px; min-height: 40px; font-size: 12px; }
.v9 .metric-ribbon { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); background: transparent; }
.v9 .metric-ribbon article { min-width: 0; padding: 15px 18px; border-right: 1px solid var(--line); }
.v9 .metric-ribbon article:last-child { border-right: 0; }
.v9 .metric-ribbon span, .v9 .metric-ribbon small { display: block; color: var(--muted); font-size: 12px; }
.v9 .metric-ribbon strong { display: block; margin: 5px 0 3px; color: var(--ink); font: 740 25px/1 var(--font-mono); }
.v9 .analytics-tabs { display: flex; gap: 23px; min-height: 60px; align-items: end; border-bottom: 1px solid var(--line); }
.v9 .analytics-tabs button { position: relative; min-height: 44px; padding: 10px 0 13px; border: 0; color: var(--muted); background: transparent; font-size: 12px; font-weight: 690; }
.v9 .analytics-tabs button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 3px; background: var(--cobalt); transition: right .18s ease; }
.v9 .analytics-tabs button.active { color: var(--ink); }
.v9 .analytics-tabs button.active::after { right: 0; }
.v9 .analytics-overview { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(290px,.45fr); border-bottom: 1px solid var(--line); }
.v9 .signal-chart { min-width: 0; padding: 24px 25px 20px; color: #fff; background: var(--ink); }
.v9 .signal-chart > header, .v9 .ranked-links > header { display: flex; align-items: start; justify-content: space-between; }
.v9 .signal-chart header span, .v9 .ranked-links header span, .v9 .dimension-wide header > span { color: #8d949d; font: 650 10px/1 var(--font-mono); letter-spacing: .05em; }
.v9 .signal-chart h2, .v9 .ranked-links h2 { margin: 5px 0 0; color: #fff; font-size: 18px; }
.v9 .signal-chart header small { color: var(--signal); font: 650 11px/1 var(--font-mono); }
.v9 .signal-chart figure { margin: 20px 0 0; }
.v9 .signal-chart svg { display: block; width: 100%; height: 315px; overflow: visible; }
.v9 .chart-grid line { stroke: #32373e; stroke-width: 1; vector-effect: non-scaling-stroke; }
.v9 .chart-area { fill: rgba(49,87,246,.19); }
.v9 .chart-line { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 2000; animation: chart-draw .65s ease both; }
.v9 .chart-point { fill: var(--signal); stroke: var(--ink); stroke-width: 4; vector-effect: non-scaling-stroke; }
.v9 .signal-chart figcaption { display: flex; justify-content: space-between; margin: 8px 3px 0; color: #7f8790; font: 600 9px/1 var(--font-mono); }
.v9 .chart-data { margin-top: 12px; border-top: 1px solid #343a41; }
.v9 .chart-data > summary { min-height: 42px; align-content: center; color: #9fa6af; font-size: 12px; }
.v9 .chart-data > div { max-height: 220px; overflow: auto; }
.v9 .chart-data table { width: 100%; border-collapse: collapse; font-size: 12px; }
.v9 .chart-data th, .v9 .chart-data td { padding: 7px; border-top: 1px solid #343a41; text-align: left; }
.v9 .chart-empty { display: grid; min-height: 350px; place-content: center; justify-items: center; color: #fff; text-align: center; }
.v9 .chart-empty .broken-route span { border-color: #7e858f; background: var(--ink); }
.v9 .chart-empty strong { margin-top: 20px; }
.v9 .chart-empty p { color: #8d949d; font-size: 12px; }
.v9 .ranked-links { padding: 24px; background: var(--surface); }
.v9 .ranked-links h2 { color: var(--ink); }
.v9 .ranked-links ol { margin: 18px 0 0; padding: 0; list-style: none; }
.v9 .ranked-links li { display: grid; grid-template-columns: 25px 1fr auto; gap: 9px; align-items: center; min-height: 58px; border-top: 1px solid var(--line); }
.v9 .ranked-links li > span { color: #999b9e; font: 650 10px/1 var(--font-mono); }
.v9 .ranked-links li a { min-width: 0; text-decoration: none; }
.v9 .ranked-links li strong, .v9 .ranked-links li small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v9 .ranked-links li strong { color: var(--ink); font-size: 12px; }
.v9 .ranked-links li small { margin-top: 2px; color: var(--muted); font: 10px/1.3 var(--font-mono); }
.v9 .ranked-links li > b { color: var(--ink); font: 700 12px/1 var(--font-mono); }
.v9 .rank-empty { display: grid; min-height: 260px; place-content: center; text-align: center; }
.v9 .rank-empty strong { color: var(--ink); }
.v9 .rank-empty p { color: var(--muted); font-size: 12px; }
.v9 .dimension-board { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v9 .campaign-board { grid-template-columns: repeat(3,1fr); }
.v9 .dimension-ledger { min-height: 270px; padding: 22px 24px; border-left: 1px solid var(--line); background: transparent; }
.v9 .dimension-ledger header { margin-bottom: 14px; }
.v9 .dimension-ledger h2 { margin: 0; color: var(--ink); font-size: 16px; }
.v9 .dimension-row { display: grid; grid-template-columns: minmax(110px,.7fr) 1fr auto; gap: 12px; align-items: center; min-height: 43px; border-top: 1px solid var(--line); }
.v9 .dimension-row > span { overflow: hidden; color: #4f545b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.v9 .dimension-row > i { height: 5px; border-radius: 3px; background: #dedcd5; overflow: hidden; }
.v9 .dimension-row > i em { display: block; height: 100%; border-radius: inherit; background: var(--cobalt); }
.v9 .dimension-row > b { color: var(--ink); font: 690 11px/1 var(--font-mono); }
.v9 .dimension-empty { display: grid; min-height: 180px; place-content: center; color: var(--muted); font-size: 12px; }
.v9 .dimension-wide { margin-top: 18px; border: 1px solid var(--line); }

/* Account, help, error and legacy edit screens */
.v9 .account-page, .v9 .help-page { padding-bottom: 64px; }
.v9 .account-layout { display: grid; grid-template-columns: 200px minmax(0,760px); gap: 28px; align-items: start; }
.v9 .account-local-nav { display: grid; border-top: 1px solid var(--ink); }
.v9 .account-local-nav a { display: block; min-height: 62px; padding: 12px 8px; border-bottom: 1px solid var(--line); color: var(--muted); text-decoration: none; }
.v9 .account-local-nav a span, .v9 .account-local-nav a small { display: block; }
.v9 .account-local-nav a span { color: inherit; font-size: 13px; font-weight: 690; }
.v9 .account-local-nav a small { margin-top: 2px; font-size: 12px; }
.v9 .account-local-nav a.active { padding-left: 13px; color: var(--cobalt); border-left: 3px solid var(--cobalt); background: var(--cobalt-soft); }
.v9 .account-sheet { border-top: 1px solid var(--ink); background: var(--surface); }
.v9 .identity-header { display: flex; gap: 17px; align-items: center; padding: 25px; border-bottom: 1px solid var(--line); }
.v9 .identity-avatar { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 50%; color: #fff; background: var(--cobalt); font-size: 21px; font-weight: 760; }
.v9 .identity-status { display: inline-flex; align-items: center; gap: 6px; color: #087d68; font-size: 12px; font-weight: 680; }
.v9 .identity-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.v9 .identity-header h2 { margin: 4px 0 1px; color: var(--ink); font-size: 21px; }
.v9 .identity-header p { margin: 0; color: var(--muted); font-size: 12px; }
.v9 .identity-details { margin: 0; }
.v9 .identity-details > div { display: grid; grid-template-columns: 170px 1fr; gap: 3px 18px; padding: 18px 25px; border-bottom: 1px solid var(--line); }
.v9 .identity-details dt { grid-row: 1/3; color: var(--muted); font-size: 12px; }
.v9 .identity-details dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 690; }
.v9 .identity-details small { color: var(--muted); font-size: 12px; }
.v9 .account-sheet > footer { padding: 19px 25px; }
.v9 .security-sheet > section { padding: 25px; border-bottom: 1px solid var(--line); }
.v9 .security-sheet h2 { margin: 8px 0 4px; color: var(--ink); font-size: 19px; }
.v9 .security-sheet p { max-width: 520px; margin: 0 0 18px; color: var(--muted); font-size: 12px; }
.v9 .security-status { display: flex; align-items: center; gap: 11px; max-width: 430px; padding: 13px 0; border-top: 1px solid var(--line); }
.v9 .security-status > i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(41,200,165,.11); }
.v9 .security-status b, .v9 .security-status small { display: block; }
.v9 .security-status b { color: var(--ink); font-size: 12px; }
.v9 .security-status small { color: var(--muted); font-size: 12px; }
.v9 .help-search input { min-width: 250px; }
.v9 .help-route { display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; margin-bottom: 24px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.v9 .help-route > span { color: var(--ink); font: 650 11px/1 var(--font-mono); }
.v9 .help-route > i { position: relative; height: 1px; margin: 0 14px; background: var(--line-strong); }
.v9 .help-route > i b { position: absolute; top: -1px; left: 0; width: 18px; height: 3px; background: var(--cobalt); animation: route-pulse 2.8s ease infinite; }
.v9 .help-layout { display: grid; grid-template-columns: 210px minmax(0,760px); gap: 28px; align-items: start; }
.v9 .help-nav { position: sticky; top: 88px; display: grid; border-top: 1px solid var(--ink); }
.v9 .help-nav a { padding: 12px 7px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 650; text-decoration: none; }
.v9 .help-nav a:hover { padding-left: 11px; color: var(--cobalt); }
.v9 .help-content { border-top: 1px solid var(--ink); }
.v9 .help-content details { border-bottom: 1px solid var(--line); }
.v9 .help-content summary { display: grid; min-height: 62px; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; color: var(--ink); list-style: none; }
.v9 .help-content summary::-webkit-details-marker { display: none; }
.v9 .help-content summary span { color: var(--cobalt); font: 650 10px/1 var(--font-mono); }
.v9 .help-content summary b { font-size: 14px; }
.v9 .help-content summary i { color: var(--cobalt); font-size: 19px; font-style: normal; transition: transform .15s ease; }
.v9 .help-content details[open] summary i { transform: rotate(45deg); }
.v9 .help-content p { margin: 0; padding: 0 35px 18px 46px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.v9 .help-empty { padding: 30px; color: var(--muted); text-align: center; }
.v9 .route-state { display: grid; min-height: calc(100vh - 66px); place-items: center; padding: 34px 24px; background: var(--paper); }
.v9 .state-layout { display: grid; width: min(900px,100%); grid-template-columns: 1.15fr .85fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.v9 .state-diagram { display: grid; min-height: 340px; grid-template-columns: 64px 1fr 78px 1fr 90px; align-items: center; padding: 30px; color: #fff; background: var(--ink); }
.v9 .state-diagram > span { display: grid; height: 64px; place-items: center; border: 1px solid #464c54; border-radius: 50%; font: 700 10px/1 var(--font-mono); }
.v9 .state-diagram .state-stop { height: 78px; color: var(--ink); border-color: var(--signal); background: var(--signal); font-size: 17px; }
.v9 .state-diagram .state-destination { border-radius: 9px; color: #777f88; border-style: dashed; }
.v9 .state-diagram > i { position: relative; height: 1px; background: #474d55; }
.v9 .state-diagram > i b { position: absolute; top: -1px; left: 0; width: 24px; height: 3px; background: var(--cobalt); animation: route-pulse 2.2s ease infinite; }
.v9 .state-diagram > em { height: 1px; border-top: 1px dashed #474d55; }
.v9 .state-copy { align-content: center; padding: 36px; background: var(--surface); }
.v9 .state-copy h1 { margin: 13px 0 6px; color: var(--ink); font-size: 29px; line-height: 1.08; letter-spacing: -.035em; }
.v9 .state-copy > p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.v9 .state-copy > div { display: flex; align-items: center; gap: 15px; }

/* Shared styling for the existing edit and password forms */
.v9 .v2-page-head, .v9 .workspace-head { border-bottom: 1px solid var(--line); }
.v9 .v2-page-head > .shell, .v9 .workspace-head > .shell { display: flex; min-height: 126px; align-items: end; justify-content: space-between; gap: 25px; padding: 30px 0 23px; }
.v9 .v2-page-head span, .v9 .workspace-head .v3-label { color: var(--cobalt); font: 700 11px/1 var(--font-mono); }
.v9 .v2-page-head h1, .v9 .workspace-head h1 { margin: 7px 0 3px; color: var(--ink); font-size: 34px; letter-spacing: -.04em; }
.v9 .v2-page-head p, .v9 .workspace-head p { margin: 0; color: var(--muted); font-size: 12px; }
.v9 .page-head-link { color: var(--ink); font-size: 12px; font-weight: 700; }
.v9 .v8-edit-section { padding: 20px 0 64px; }
.v9 .v8-edit-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(330px,.48fr); gap: 18px; align-items: start; }
.v9 .v2-form-card { padding: 27px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.v9 .v2-section-title { display: grid; grid-template-columns: 35px 1fr; gap: 11px; align-items: start; margin-bottom: 17px; }
.v9 .v2-section-title > span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); font: 700 10px/1 var(--font-mono); }
.v9 .v2-section-title h2 { margin: 0; color: var(--ink); font-size: 17px; }
.v9 .v2-section-title p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.v9 .v2-divider { margin: 24px 0; border: 0; border-top: 1px solid var(--line); }
.v9 .v8-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
.v9 .v2-primary-action { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 9px 14px; border: 1px solid var(--cobalt); border-radius: 9px; color: #fff; background: var(--cobalt); font-weight: 710; }
.v9 .v2-link-result { padding: 22px; border-radius: 15px; color: #fff; background: var(--ink); }
.v9 .v8-edit-preview { position: sticky; top: 84px; }
.v9 .v2-link-result > header { display: flex; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #363c44; }
.v9 .v2-link-result > header span, .v9 .v2-link-result > p { color: #8f969f; font: 650 10px/1 var(--font-mono); }
.v9 .v2-link-result > header b { color: var(--signal); font: 650 10px/1 var(--font-mono); }
.v9 .v2-created-url { display: block; margin: 9px 0 16px; color: var(--signal); font: 700 14px/1.4 var(--font-mono); overflow-wrap: anywhere; }
.v9 .v2-result-buttons { display: flex; gap: 7px; }
.v9 .v2-result-buttons button, .v9 .v2-result-buttons a { min-height: 40px; padding: 8px 11px; border: 1px solid #4b525b; border-radius: 7px; color: #fff; background: transparent; font-size: 12px; text-decoration: none; }
.v9 .v2-destination { margin-top: 14px; padding-top: 14px; border-top: 1px solid #363c44; }
.v9 .v2-destination small { color: #838b94; font-size: 12px; }
.v9 .v2-destination p { color: #b8bec6; font: 10px/1.5 var(--font-mono); overflow-wrap: anywhere; }
.v9 .state-card { width: min(450px,100%); padding: 30px; border-top: 1px solid var(--ink); background: var(--surface); }
.v9 .state-card .state-code { color: var(--cobalt); font: 700 10px/1 var(--font-mono); }
.v9 .state-card .state-symbol { display: grid; width: 58px; height: 58px; margin: 18px auto; place-items: center; border-radius: 50%; color: var(--ink); background: var(--signal); font: 760 18px/1 var(--font-mono); }
.v9 .state-card h1 { margin: 0; color: var(--ink); font-size: 25px; text-align: center; }
.v9 .state-card > p { color: var(--muted); font-size: 12px; text-align: center; }
.v9 .password-card .field { margin-top: 20px; text-align: left; }

@keyframes chart-draw { from { stroke-dashoffset: 2000; opacity: .25; } to { stroke-dashoffset: 0; opacity: 1; } }


/* --- v9-responsive.css --- */
/* Responsive Route Desk */
@media (max-width: 1180px) {
  .v9 .command-bar { gap: 20px; }
  .v9 .site-nav { gap: 14px; }
  .v9 .site-nav a small { display: none; }
  .v9 .account-name { display: none; }
  .v9 .account-menu > summary { padding-right: 5px; }
  .v9 .ledger-head, .v9 .ledger-row { grid-template-columns: minmax(250px,1.6fr) 65px 82px 76px 90px 90px 152px; gap: 9px; }
  .v9 .ledger-actions .analytics-action { display: none; }
  .v9 .tool-workspace { grid-template-columns: minmax(0,1.1fr) minmax(350px,.9fr); }
}

@media (max-width: 980px) {
  .v9 .shell { width: min(100% - 36px,1280px); }
  .v9 .site-nav { gap: 11px; }
  .v9 .site-nav a { font-size: 12px; }
  .v9 .new-route { display: none; }
  .v9 .access-layout { gap: 4vw; grid-template-columns: minmax(0,1fr) minmax(350px,.82fr); }
  .v9 .route-node:nth-of-type(3) { left: 43%; }
  .v9 .route-node:nth-of-type(4) { right: 2%; }
  .v9 .home-command-grid { grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); }
  .v9 .home-tool-deck { grid-template-columns: 1fr; border-right: 0; }
  .v9 .tool-launch { min-height: 132px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .v9 .tool-launch:last-child { border-bottom: 0; }
  .v9 .tool-launch p { max-width: 520px; }
  .v9 .tool-formula, .v9 .tool-mini-route, .v9 .tool-ledger { margin-top: 13px; }
  .v9 .tool-workspace, .v9 .short-workspace, .v9 .v8-edit-grid { grid-template-columns: 1fr; }
  .v9 .route-inspector, .v9 .v8-edit-preview { position: static; }
  .v9 .short-inspector { min-height: 360px; }
  .v9 .link-toolbar { grid-template-columns: minmax(230px,1fr) auto; }
  .v9 .quick-filter-links { display: none; }
  .v9 .ledger-head, .v9 .ledger-row { grid-template-columns: minmax(240px,1.5fr) 62px 78px 70px 88px 145px; }
  .v9 .ledger-head span:nth-child(6), .v9 .ledger-expiry { display: none; }
  .v9 .analytics-overview { grid-template-columns: 1fr; }
  .v9 .ranked-links { border-top: 1px solid var(--line); }
  .v9 .signal-chart svg { height: 270px; }
  .v9 .campaign-board { grid-template-columns: 1fr; }
  .v9 .account-layout, .v9 .help-layout { grid-template-columns: 180px minmax(0,1fr); gap: 20px; }
}

@media (max-width: 760px) {
  .v9 .shell { width: min(100% - 28px,1280px); }
  .v9 main { min-height: calc(100vh - 58px); padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .v9 .site-header, .v9 .command-bar { height: 58px; }
  .v9 .command-bar { grid-template-columns: 1fr auto; }
  .v9 .brand { font-size: 19px; }
  .v9 .brand-route { width: 28px; }
  .v9 .site-nav, .v9 .login-header-label { display: none; }
  .v9 .account-menu { grid-column: 2; }
  .v9 .account-menu > summary { min-height: 38px; border: 0; background: transparent; }
  .v9 .account-initial { width: 34px; height: 34px; }
  .v9 .account-menu > summary > i { display: none; }
  .v9 .account-popover { top: 44px; }
  .v9 .mobile-dock { position: fixed; z-index: 1200; right: 0; bottom: 0; left: 0; display: grid; height: calc(64px + env(safe-area-inset-bottom)); grid-template-columns: repeat(5,1fr); padding: 5px 8px env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: rgba(255,254,250,.96); backdrop-filter: blur(18px); }
  .v9 .mobile-dock a { position: relative; display: grid; min-width: 0; place-items: center; align-content: center; gap: 2px; color: #777b81; font-size: 12px; font-weight: 650; text-decoration: none; }
  .v9 .mobile-dock a i { display: grid; width: 23px; height: 23px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: inherit; font: 700 9px/1 var(--font-mono); font-style: normal; }
  .v9 .mobile-dock a.active { color: var(--cobalt); }
  .v9 .mobile-dock a.active::before { content: ""; position: absolute; top: 0; left: 50%; width: 24px; height: 2px; background: var(--cobalt); transform: translateX(-50%); }
  .v9 .mobile-dock .dock-create i { width: 34px; height: 34px; margin-top: -15px; color: var(--ink); border-color: var(--signal); background: var(--signal); font-size: 18px; box-shadow: 0 5px 16px rgba(17,19,22,.16); }
  .v9 .page-context { min-height: 112px; align-items: flex-start; flex-direction: column; gap: 13px; padding: 25px 0 18px; }
  .v9 .page-context h1 { font-size: 28px; }
  .v9 input, .v9 textarea, .v9 select { font-size: 16px; }
  .v9 .form-grid.two { grid-template-columns: 1fr; }

  .v9.page-login main, .v9.page-forgot-password main, .v9.page-register main { padding-bottom: 0; }
  .v9 .access-page { min-height: calc(100vh - 58px); background: var(--paper); }
  .v9 .access-layout { display: flex; min-height: calc(100vh - 58px); flex-direction: column; gap: 0; padding: 0; }
  .v9 .access-visual { order: 1; width: 100%; min-height: 126px; padding: 14px; color: #fff; background: var(--ink); }
  .v9 .access-visual > header, .v9 .access-visual > p { display: none; }
  .v9 .access-route { width: 100%; padding: 8px 0; }
  .v9 .route-source, .v9 .route-output { position: absolute; top: 30px; width: 39%; min-width: 0; padding: 11px; }
  .v9 .route-source { left: 0; }
  .v9 .route-output { right: 0; margin: 0; }
  .v9 .route-source small, .v9 .route-output small { margin-bottom: 3px; font-size: 12px; }
  .v9 .route-source span, .v9 .route-output strong { font-size: 12px; }
  .v9 .route-track { top: 61px; left: 39%; width: 22%; height: 1px; border: 0; background: #4a5058; }
  .v9 .route-track::before { display: none; }
  .v9 .route-track i { top: -1px; width: 20px; }
  .v9 .route-track b, .v9 .route-track em { display: none; }
  .v9 .route-node { top: 44px; width: 34px; height: 34px; border-radius: 50%; }
  .v9 .route-node:nth-of-type(3) { left: 40%; }
  .v9 .route-node:nth-of-type(4) { right: 40%; }
  .v9 .route-node span, .v9 .route-node small { display: none; }
  .v9 .access-form { order: 2; width: 100%; max-width: 460px; margin: 0 auto; padding: 25px 20px 28px; }
  .v9 .access-form header { margin-bottom: 22px; }
  .v9 .access-form h1 { font-size: 29px; }
  .v9 .access-field > div:not(.access-label-row) { min-height: 50px; }

  .v9 .home-context { min-height: auto; align-items: flex-start; flex-direction: column; gap: 23px; padding: 29px 0 20px; }
  .v9 .home-context h1 { font-size: 38px; }
  .v9 .home-metric-ribbon { width: 100%; min-width: 0; }
  .v9 .home-metric-ribbon div { padding: 11px 9px; }
  .v9 .home-metric-ribbon dd { font-size: 19px; }
  .v9 .home-command-grid { grid-template-columns: 1fr; border-radius: 14px; }
  .v9 .home-composer { padding: 20px; }
  .v9 .home-composer > header { align-items: flex-start; flex-direction: column; gap: 7px; }
  .v9 .composer-route { grid-template-columns: minmax(70px,1fr) 56px minmax(120px,1.4fr); padding-inline: 10px; }
  .v9 .composer-options { grid-template-columns: 1fr; }
  .v9 .home-signal-panel { min-height: 300px; padding: 20px; }
  .v9 .signal-diagram { margin: 46px 0 42px; grid-template-columns: 46px 1fr 46px 1fr 56px; }
  .v9 .signal-diagram > span { height: 46px; }
  .v9 .home-tool-deck { margin-bottom: 0; }
  .v9 .tool-launch { min-height: 135px; padding: 18px; }
  .v9 .tool-formula, .v9 .tool-mini-route, .v9 .tool-ledger { display: none; }

  .v9 .tool-page { padding-bottom: 0; }
  .v9 .tool-context { align-items: flex-start; }
  .v9 .studio-mode { display: grid; width: 100%; margin: 12px 0; }
  .v9 .studio-mode button { min-width: 0; min-height: 48px; padding-right: 10px; }
  .v9 .studio-mode button + button { padding-left: 10px; }
  .v9 .studio-mode button small { display: none; }
  .v9 .tool-workbench { padding: 19px; }
  .v9 .workbench-step { grid-template-columns: 32px 1fr; gap: 9px; }
  .v9 .step-mark span { width: 28px; height: 28px; }
  .v9 .parameter-field { grid-template-columns: 1fr; gap: 6px; }
  .v9 .parameter-field small { grid-column: 1; margin-top: 0; }
  .v9 .route-inspector { margin: 0 -14px; border-radius: 0; box-shadow: none; }
  .v9 .formula-strip > div { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .v9 .formula-strip span { flex: 0 0 auto; }
  .v9 .readiness-line { align-items: flex-start; flex-direction: column; gap: 5px; }
  .v9 .readiness-line > small { max-width: none; text-align: left; }
  .v9 .parameter-list .v2-param { grid-template-columns: 96px 1fr; }
  .v9 .short-workbench { padding: 0; }
  .v9 .short-destination, .v9 .alias-section, .v9 .workbench-disclosure { padding: 20px; }
  .v9 .short-destination > header, .v9 .alias-section > header { align-items: flex-start; flex-direction: column; }
  .v9 .alias-section > header > div { width: 100%; }
  .v9 .alias-mode { width: 100%; }
  .v9 .alias-mode button { flex: 1; }
  .v9 .live-route-preview { grid-template-columns: minmax(70px,1fr) 54px minmax(100px,1.2fr); padding: 12px 20px; }
  .v9 .expiry-presets { grid-template-columns: repeat(2,1fr); width: 100%; }
  .v9 .forge-submit { width: calc(100% - 40px); margin: 8px 20px 20px; }
  .v9 .short-inspector { min-height: 330px; }

  .v9 .library-page { padding-bottom: 0; }
  .v9 .link-toolbar { top: 58px; grid-template-columns: 1fr auto; padding: 8px 0; }
  .v9 .link-search { grid-template-columns: 35px 1fr; }
  .v9 .link-search button { display: none; }
  .v9 .filter-sheet { position: fixed; z-index: 1500; top: auto; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); left: 0; width: 100%; max-height: calc(100vh - 100px); grid-template-columns: 1fr 1fr; padding: 20px 16px; border-radius: 16px 16px 0 0; overflow-y: auto; }
  .v9 .filter-actions { position: sticky; bottom: -20px; margin: 6px -16px -20px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--surface); }
  .v9 .ledger-head { display: none; }
  .v9 .link-ledger { display: grid; gap: 9px; padding-top: 9px; border: 0; }
  .v9 .ledger-row { min-height: 142px; grid-template-columns: minmax(0,1fr) auto; gap: 8px 12px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
  .v9 .ledger-row::before { top: 12px; bottom: auto; width: 3px; height: 34px; opacity: 1; }
  .v9 .ledger-identity { grid-column: 1; grid-row: 1; padding-left: 4px; }
  .v9 .ledger-identity h2 { font-size: 14px; }
  .v9 .ledger-type { display: none; }
  .v9 .ledger-status { grid-column: 2; grid-row: 1; align-self: start; }
  .v9 .ledger-clicks { grid-column: 1; grid-row: 2; display: flex; align-items: baseline; gap: 7px; padding-left: 4px; }
  .v9 .ledger-clicks small { margin: 0; }
  .v9 .ledger-date { grid-column: 2; grid-row: 2; align-self: center; }
  .v9 .ledger-expiry { display: none; }
  .v9 .ledger-actions { grid-column: 1/-1; grid-row: 3; justify-content: flex-start; padding-top: 8px; border-top: 1px solid var(--line); }
  .v9 .ledger-actions > button, .v9 .ledger-actions > a, .v9 .ledger-actions > details > summary { min-height: 40px; }
  .v9 .ledger-actions .analytics-action { display: inline-flex; }
  .v9 .ledger-actions > details > div { right: auto; left: 0; top: auto; bottom: 44px; }
  .v9 .pagination { grid-template-columns: 1fr 1fr; padding-bottom: 18px; }
  .v9 .pagination > div { grid-column: 1/-1; grid-row: 1; justify-content: flex-start; overflow-x: auto; }
  .v9 .pagination > .page-direction:last-child { grid-column: 2; justify-self: end; }

  .v9 .analytics-page { padding-bottom: 0; }
  .v9 .analytics-context-actions { width: 100%; align-items: stretch; justify-content: space-between; }
  .v9 .analytics-context-actions select { min-width: 130px; }
  .v9 .metric-ribbon { grid-auto-flow: row; grid-template-columns: repeat(2,1fr); }
  .v9 .metric-ribbon article { border-bottom: 1px solid var(--line); }
  .v9 .metric-ribbon article:nth-child(2n) { border-right: 0; }
  .v9 .metric-ribbon strong { font-size: 22px; }
  .v9 .analytics-tabs { gap: 18px; overflow-x: auto; }
  .v9 .analytics-tabs button { flex: 0 0 auto; }
  .v9 .signal-chart { padding: 20px 14px; }
  .v9 .signal-chart svg { height: 225px; }
  .v9 .dimension-board { grid-template-columns: 1fr; }
  .v9 .dimension-ledger { min-height: 220px; }

  .v9 .account-layout, .v9 .help-layout { grid-template-columns: 1fr; gap: 16px; }
  .v9 .account-local-nav, .v9 .help-nav { position: static; display: flex; border-top: 0; overflow-x: auto; }
  .v9 .account-local-nav a, .v9 .help-nav a { flex: 0 0 auto; min-height: 48px; padding: 9px 12px; border: 1px solid var(--line); }
  .v9 .account-local-nav a.active { padding-left: 12px; border-left: 1px solid var(--cobalt); border-bottom: 3px solid var(--cobalt); }
  .v9 .identity-details > div { grid-template-columns: 1fr; }
  .v9 .identity-details dt { grid-row: auto; }
  .v9 .help-search { width: 100%; }
  .v9 .help-search input { min-width: 0; }
  .v9 .help-route { grid-template-columns: auto 1fr auto 1fr auto 1fr auto; padding: 13px 10px; overflow-x: auto; }
  .v9 .help-route > i { min-width: 32px; margin: 0 7px; }
  .v9 .state-layout { grid-template-columns: 1fr; }
  .v9 .state-diagram { min-height: 210px; grid-template-columns: 48px 1fr 60px 1fr 70px; padding: 20px; }
  .v9 .state-diagram > span { height: 48px; }
  .v9 .state-diagram .state-stop { height: 60px; }
  .v9 .state-copy { padding: 27px 22px; }
  .v9 .state-copy h1 { font-size: 26px; }
  .v9 .v2-page-head > .shell, .v9 .workspace-head > .shell { min-height: 112px; align-items: flex-start; flex-direction: column; padding: 24px 0 18px; }
  .v9 .v2-page-head h1, .v9 .workspace-head h1 { font-size: 28px; }
  .v9 .v2-form-card { padding: 20px; }
  .v9 .v8-form-actions { flex-direction: column-reverse; }
  .v9 .v8-form-actions > * { width: 100%; }
  .v9 .auth-section, .v9 .state-page { min-height: calc(100vh - 58px); padding: 20px 14px; }
  .v9 .auth-shell { grid-template-columns: 1fr; }
  .v9 .auth-copy { min-height: 135px; padding: 21px; }
  .v9 .auth-copy h1 { font-size: 26px; }
  .v9 .auth-card { padding: 24px 21px; }
  .v9 .copy-toast { right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 430px) {
  .v9 .shell { width: min(100% - 24px,1280px); }
  .v9 .home-context h1 { font-size: 34px; }
  .v9 .home-metric-ribbon dt { font-size: 12px; }
  .v9 .home-metric-ribbon dd { font-size: 17px; }
  .v9 .composer-route, .v9 .live-route-preview { grid-template-columns: minmax(64px,1fr) 38px minmax(95px,1.25fr); gap: 7px; }
  .v9 .composer-route span, .v9 .composer-route strong, .v9 .live-route-preview strong { font-size: 12px; }
  .v9 .signal-diagram { grid-template-columns: 42px 1fr 42px 1fr 50px; }
  .v9 .signal-diagram > span { height: 42px; font-size: 12px; }
  .v9 .tool-launch { grid-template-columns: 24px 1fr auto; }
  .v9 .parameter-list .v2-param { grid-template-columns: 78px 1fr; }
  .v9 .inspector-route { grid-template-columns: minmax(60px,1fr) 42px minmax(90px,1.2fr); }
  .v9 .filter-sheet { grid-template-columns: 1fr; }
  .v9 .metric-ribbon article { padding: 13px 11px; }
  .v9 .metric-ribbon span, .v9 .metric-ribbon small { font-size: 12px; }
  .v9 .dimension-row { grid-template-columns: minmax(90px,.7fr) 1fr auto; gap: 8px; }
  .v9 .identity-header { align-items: flex-start; }
  .v9 .state-diagram { grid-template-columns: 42px 1fr 54px 1fr 62px; padding: 14px; }
  .v9 .state-diagram > span { height: 42px; font-size: 12px; }
  .v9 .state-diagram .state-stop { height: 54px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .v9 *, .v9 *::before, .v9 *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* --- v10-enhancements.css --- */
/* TinyBL v10: purposeful motion, refined login, and calmer product surfaces. */
.v10.page-login { background: #f5f3ee; }
.v10.page-login main { min-height: 100svh; }
.v10 .login-portal { position: relative; min-height: 100svh; overflow: hidden; background: #f5f3ee; }
.v10 .login-layout { display: grid; min-height: 100svh; grid-template-columns: minmax(520px, 1.08fr) minmax(420px, .92fr); }
.v10 .login-brand { position: absolute; z-index: 5; top: 36px; left: clamp(28px, 4vw, 68px); display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 22px; font-weight: 790; letter-spacing: -.045em; text-decoration: none; }
.v10 .login-brand .brand-route::before { background: #748dff; }
.v10 .login-brand .brand-route i { border-color: #fff; background: #101319; }
.v10 .login-brand .brand-route b { border-color: #6f88ff; background: var(--signal); }

.v10 .login-art { position: relative; min-height: 100svh; overflow: hidden; border-bottom-right-radius: clamp(86px, 12vw, 176px); background: #101319; box-shadow: 22px 0 70px rgba(17, 19, 22, .10); isolation: isolate; }
.v10 .login-art::before { content: ""; position: absolute; z-index: -1; width: min(760px, 72vw); aspect-ratio: 1; top: -44%; left: -34%; border: 1px solid rgba(255,255,255,.11); border-radius: 50%; box-shadow: 0 0 0 90px rgba(255,255,255,.025), 0 0 0 180px rgba(255,255,255,.018); }
.v10 .login-art::after { content: ""; position: absolute; z-index: -1; right: -12vw; bottom: -17vw; width: clamp(320px, 36vw, 570px); aspect-ratio: 1; border: clamp(48px, 6vw, 88px) solid #3157f6; border-radius: 50%; opacity: .92; }
.v10 .login-orbit { position: absolute; display: block; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; }
.v10 .login-orbit-one { width: clamp(280px, 35vw, 560px); aspect-ratio: 1; right: -10%; top: 12%; }
.v10 .login-orbit-two { width: clamp(150px, 19vw, 300px); aspect-ratio: 1; left: 9%; bottom: -7%; border-color: rgba(200,235,99,.22); }
.v10 .login-link-line { position: absolute; left: 16%; right: 8%; top: 49%; height: 2px; background: rgba(255,255,255,.23); transform: rotate(-10deg); transform-origin: center; }
.v10 .login-link-line::before { content: ""; position: absolute; inset: -18px 0; border-top: 1px solid rgba(255,255,255,.055); border-bottom: 1px solid rgba(255,255,255,.055); }
.v10 .login-link-line i { position: absolute; top: 50%; left: 8%; width: 11px; height: 11px; border: 3px solid #101319; border-radius: 50%; background: #c8eb63; box-shadow: 0 0 0 6px rgba(200,235,99,.12); transform: translate(-50%,-50%); animation: login-signal 5.8s cubic-bezier(.45,0,.2,1) infinite; }
.v10 .login-link-node { position: absolute; display: grid; place-items: center; border-radius: 50%; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.v10 .login-link-node i { display: block; border-radius: 50%; }
.v10 .login-link-node-start { left: calc(16% - 20px); top: calc(49% + 24px); width: 42px; height: 42px; border: 2px solid rgba(255,255,255,.86); background: #101319; }
.v10 .login-link-node-start i { width: 8px; height: 8px; background: #fff; }
.v10 .login-link-node-end { right: calc(8% - 34px); top: calc(49% - 73px); width: 72px; height: 72px; border: 3px solid #6f88ff; background: #101319; box-shadow: 0 0 0 13px rgba(49,87,246,.12); }
.v10 .login-link-node-end i { width: 17px; height: 17px; background: var(--signal); box-shadow: 0 0 0 7px rgba(200,235,99,.10); }
.v10 [data-access-step="email"] .login-link-node-start { border-color: #8da1ff; box-shadow: 0 0 0 10px rgba(49,87,246,.16); transform: scale(1.06); }
.v10 [data-access-step="password"] .login-link-node-end,
.v10 [data-access-step="submit"] .login-link-node-end { border-color: var(--signal); box-shadow: 0 0 0 15px rgba(200,235,99,.12); transform: scale(1.05); }

.v10 .login-form { align-self: center; justify-self: center; width: min(430px, calc(100% - 64px)); margin: 48px 0; }
.v10 .login-form header { margin-bottom: 31px; }
.v10 .login-form h1 { margin: 0 0 7px; color: var(--ink); font-size: clamp(30px, 3vw, 36px); font-weight: 770; line-height: 1.05; letter-spacing: -.045em; }
.v10 .login-form header p { margin: 0; color: var(--muted); font-size: 14px; }
.v10 .login-form .access-field { margin-top: 18px; }
.v10 .login-form .access-field > div:not(.access-label-row) { min-height: 56px; border-color: #c9c7c0; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(17,19,22,.03); }
.v10 .login-form .access-field > div:not(.access-label-row):hover { border-color: #95989f; }
.v10 .login-form .access-field > div:not(.access-label-row):focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(49,87,246,.10), 0 9px 24px rgba(17,19,22,.05); }
.v10 .login-form .access-field input { min-height: 54px; font-size: 14px; }
.v10 .login-form .access-label-row { margin-bottom: 7px; }
.v10 .login-form .access-label-row a { text-underline-offset: 3px; }
.v10 .login-form .access-submit { min-height: 56px; margin-top: 26px; border-color: var(--cobalt); border-radius: 12px; background: var(--cobalt); font-size: 14px; }
.v10 .login-form .access-submit:hover { border-color: var(--ink); background: var(--ink); box-shadow: 0 12px 25px rgba(17,19,22,.13); transform: translateY(-2px); }
.v10 .login-form .access-submit b { color: var(--signal); transition: transform .18s ease; }
.v10 .login-form .access-submit:hover b { transform: translateX(4px); }

/* Keep signed-in screens lively without turning them into a motion demo. */
.v10:not(.page-login) .page-context > div,
.v10:not(.page-login) .home-context > div { animation: v10-rise .36s ease both; }
.v10:not(.page-login) .tool-workspace,
.v10:not(.page-login) .home-command-grid,
.v10:not(.page-login) .library-board,
.v10:not(.page-login) .analytics-board { animation: v10-rise .42s .04s ease both; }
.v10 .tool-launch { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.v10 .tool-launch:hover { box-shadow: 0 16px 34px rgba(17,19,22,.08); transform: translateY(-3px); }
.v10 .tool-launch > strong { transition: color .18s ease, transform .18s ease; }
.v10 .tool-launch:hover > strong { color: var(--cobalt); transform: translateX(4px); }

@keyframes login-signal {
  0%, 12% { left: 8%; opacity: 0; }
  18% { opacity: 1; }
  78% { left: 91%; opacity: 1; }
  86%, 100% { left: 91%; opacity: 0; }
}
@keyframes v10-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
  .v10 .login-layout { display: flex; min-height: 100svh; flex-direction: column; }
  .v10 .login-brand { top: 22px; left: 22px; font-size: 20px; }
  .v10 .login-art { flex: 0 0 146px; min-height: 146px; border-bottom-right-radius: 58px; box-shadow: 0 12px 35px rgba(17,19,22,.09); }
  .v10 .login-art::before { width: 360px; top: -240px; left: -130px; }
  .v10 .login-art::after { right: -58px; bottom: -116px; width: 230px; border-width: 38px; }
  .v10 .login-orbit-one { width: 210px; right: 3%; top: -65px; }
  .v10 .login-orbit-two { display: none; }
  .v10 .login-link-line { left: 45%; right: 9%; top: 61%; transform: rotate(-7deg); }
  .v10 .login-link-node-start { left: calc(45% - 14px); top: calc(61% + 8px); width: 30px; height: 30px; }
  .v10 .login-link-node-end { right: calc(9% - 23px); top: calc(61% - 40px); width: 48px; height: 48px; box-shadow: 0 0 0 8px rgba(49,87,246,.12); }
  .v10 .login-link-node-end i { width: 12px; height: 12px; }
  .v10 .login-form { width: min(440px, calc(100% - 40px)); margin: auto; padding: 34px 0 28px; }
  .v10 .login-form header { margin-bottom: 25px; }
  .v10 .login-form h1 { font-size: 29px; }
}

@media (max-width: 420px) {
  .v10 .login-art { flex-basis: 124px; min-height: 124px; border-bottom-right-radius: 44px; }
  .v10 .login-brand { top: 19px; left: 18px; }
  .v10 .login-form { width: calc(100% - 32px); padding-top: 29px; }
  .v10 .login-form .access-field > div:not(.access-label-row),
  .v10 .login-form .access-submit { min-height: 52px; }
  .v10 .login-form .access-field input { min-height: 50px; }
}

@media (max-height: 720px) and (min-width: 821px) {
  .v10 .login-brand { top: 24px; }
  .v10 .login-form { margin-block: 30px; }
  .v10 .login-form header { margin-bottom: 22px; }
  .v10 .login-form .access-field { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .v10 .login-link-line i,
  .v10:not(.page-login) .page-context > div,
  .v10:not(.page-login) .home-context > div,
  .v10:not(.page-login) .tool-workspace,
  .v10:not(.page-login) .home-command-grid,
  .v10:not(.page-login) .library-board,
  .v10:not(.page-login) .analytics-board { animation: none; }
}


/* --- v11-brand.css --- */
/* TinyBL v11: compression identity and long-to-short product motion. */
.v11 .brand { gap: 9px; }
.v11 .brand-compress { position: relative; display: inline-block; width: 39px; height: 18px; flex: 0 0 39px; }
.v11 .brand-compress i,
.v11 .brand-compress b,
.v11 .brand-compress em { position: absolute; top: 50%; display: block; height: 7px; border-radius: 999px; transform: translateY(-50%); transition: width .2s ease, transform .2s ease, background-color .2s ease; }
.v11 .brand-compress i { left: 0; width: 22px; background: var(--ink); }
.v11 .brand-compress b { left: 24px; width: 9px; background: var(--cobalt); }
.v11 .brand-compress em { right: 0; width: 5px; height: 5px; border: 1px solid var(--cobalt); background: var(--signal); }
.v11 .brand-word { color: var(--ink); font-style: normal; font-weight: 790; letter-spacing: -.045em; }
.v11 .brand-word b { color: var(--cobalt); font-weight: inherit; }
.v11 .brand:hover .brand-compress i,
.v11 .login-brand:hover .brand-compress i { width: 16px; }
.v11 .brand:hover .brand-compress b,
.v11 .login-brand:hover .brand-compress b { transform: translate(-5px,-50%); }
.v11 .brand:hover .brand-compress em,
.v11 .login-brand:hover .brand-compress em { transform: translate(-2px,-50%) scale(1.25); }

.v11 .login-brand { gap: 10px; }
.v11 .login-brand .brand-compress i { background: #fff; }
.v11 .login-brand .brand-compress b { background: #6f88ff; }
.v11 .login-brand .brand-compress em { border-color: #6f88ff; }
.v11 .login-brand .brand-word { color: #fff; }
.v11 .login-brand .brand-word b { color: #7f96ff; }

.v11 .login-art::after { right: -16vw; bottom: -23vw; opacity: .54; }
.v11 .shortening-visual { position: absolute; inset: 19% 7% 17%; overflow: hidden; }
.v11 .shortening-visual::before { content: ""; position: absolute; left: 8%; right: 7%; top: calc(50% - 58px); height: 116px; border-top: 1px solid rgba(255,255,255,.055); border-bottom: 1px solid rgba(255,255,255,.055); }
.v11 .shortening-track { position: absolute; left: 8%; right: 7%; top: 50%; height: 2px; background: rgba(255,255,255,.18); transform: translateY(-50%); }
.v11 .shortening-track::after { content: ""; position: absolute; inset: -2px auto -2px 0; width: 68%; border-radius: 999px; background: #3157f6; opacity: .2; animation: track-progress 5.6s cubic-bezier(.45,0,.2,1) infinite; }

.v11 .long-url-shape,
.v11 .short-url-shape { position: absolute; z-index: 2; top: 50%; height: 58px; border-radius: 14px; transform: translateY(-50%); }
.v11 .long-url-shape { left: 8%; width: 56%; border: 1px solid rgba(255,255,255,.32); background: #181c23; box-shadow: 0 14px 40px rgba(0,0,0,.22); transform-origin: right center; animation: long-link-compress 5.6s cubic-bezier(.55,0,.2,1) infinite; }
.v11 .long-url-shape span,
.v11 .long-url-shape i,
.v11 .long-url-shape b,
.v11 .long-url-shape em { position: absolute; top: 50%; display: block; height: 5px; border-radius: 999px; background: #666e7a; transform: translateY(-50%); }
.v11 .long-url-shape span { left: 18px; width: 18%; background: #8b94a1; }
.v11 .long-url-shape i { left: 39%; width: 10%; }
.v11 .long-url-shape b { left: 52%; width: 22%; }
.v11 .long-url-shape em { left: 77%; width: 13%; }

.v11 .compression-core { position: absolute; z-index: 4; left: 65%; top: 50%; width: 46px; height: 84px; border: 1px solid rgba(111,136,255,.62); border-radius: 23px; background: #101319; box-shadow: 0 0 0 9px rgba(49,87,246,.08); transform: translate(-50%,-50%); animation: compression-core 5.6s ease infinite; }
.v11 .compression-core::before,
.v11 .compression-core::after { content: ""; position: absolute; left: 50%; width: 18px; height: 2px; background: #6f88ff; transform: translateX(-50%); }
.v11 .compression-core::before { top: 13px; }
.v11 .compression-core::after { bottom: 13px; }
.v11 .compression-core i { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 6px rgba(200,235,99,.1); transform: translate(-50%,-50%); }
.v11 .compression-core b { position: absolute; left: 50%; top: 50%; width: 2px; height: 32px; background: rgba(255,255,255,.16); transform: translate(-50%,-50%); }

.v11 .short-url-shape { left: 72%; display: flex; width: 21%; min-width: 124px; align-items: center; justify-content: space-between; gap: 10px; padding: 0 13px 0 16px; border: 1px solid #6f88ff; color: #fff; background: #3157f6; box-shadow: 0 14px 40px rgba(49,87,246,.24); opacity: 0; transform-origin: left center; animation: short-link-release 5.6s cubic-bezier(.2,.7,.2,1) infinite; }
.v11 .short-url-shape .mini-brand { color: #fff; font-size: clamp(13px,1.4vw,18px); font-weight: 780; letter-spacing: -.045em; white-space: nowrap; }
.v11 .short-url-shape .mini-brand b { color: var(--signal); }
.v11 .short-url-shape > i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 5px rgba(200,235,99,.12); }
.v11 .long-url-label,
.v11 .short-url-label { position: absolute; top: calc(50% + 49px); color: #818894; font: 650 10px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.v11 .long-url-label { left: 8%; }
.v11 .short-url-label { left: 72%; color: #9baeec; opacity: 0; animation: short-label-release 5.6s ease infinite; }

.v11 .composer-route i b,
.v11 .live-route-preview > i b,
.v11 .inspector-route i b,
.v11 .route-success-line b { transform-origin: left center; }
.v11 .route-valid .composer-route i b,
.v11 .route-valid .live-route-preview > i b { animation: product-compress .9s cubic-bezier(.2,.7,.2,1) both; }
.v11 .created-route .route-success-line b { animation: success-pulse 1.8s ease-out 1; }

@keyframes long-link-compress {
  0%, 18% { opacity: 1; transform: translateY(-50%) translateX(0) scaleX(1); }
  44% { opacity: 1; transform: translateY(-50%) translateX(34%) scaleX(.32); }
  52%, 100% { opacity: 0; transform: translateY(-50%) translateX(42%) scaleX(.18); }
}
@keyframes compression-core {
  0%, 32%, 64%, 100% { border-color: rgba(111,136,255,.62); box-shadow: 0 0 0 9px rgba(49,87,246,.08); }
  43%, 51% { border-color: var(--signal); box-shadow: 0 0 0 15px rgba(200,235,99,.1); }
}
@keyframes short-link-release {
  0%, 46% { opacity: 0; transform: translateY(-50%) translateX(-44px) scaleX(.34); }
  58%, 82% { opacity: 1; transform: translateY(-50%) translateX(0) scaleX(1); }
  92%, 100% { opacity: 0; transform: translateY(-50%) translateX(20px) scaleX(1); }
}
@keyframes short-label-release {
  0%, 50% { opacity: 0; transform: translateY(5px); }
  61%, 84% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; transform: translateY(-3px); }
}
@keyframes track-progress {
  0%, 16% { width: 0; opacity: 0; }
  22% { opacity: .2; }
  70% { width: 100%; opacity: .2; }
  86%, 100% { width: 100%; opacity: 0; }
}
@keyframes product-compress { from { transform: scaleX(1); } 48% { transform: scaleX(.3); } to { transform: scaleX(1); } }
@keyframes success-pulse { 0% { transform: scaleX(.08); opacity: .2; } 55% { transform: scaleX(1); opacity: 1; } 100% { opacity: .65; } }

@media (max-width: 820px) {
  .v11 .shortening-visual { inset: 7px 10px 3px 32%; }
  .v11 .shortening-visual::before { top: calc(50% - 37px); height: 74px; }
  .v11 .long-url-shape,
  .v11 .short-url-shape { height: 38px; border-radius: 10px; }
  .v11 .long-url-shape { left: 4%; width: 54%; }
  .v11 .long-url-shape span { left: 10px; }
  .v11 .compression-core { left: 62%; width: 31px; height: 57px; border-radius: 16px; }
  .v11 .compression-core::before { top: 8px; width: 12px; }
  .v11 .compression-core::after { bottom: 8px; width: 12px; }
  .v11 .compression-core b { height: 22px; }
  .v11 .short-url-shape { left: 69%; width: 28%; min-width: 86px; padding-inline: 9px; }
  .v11 .short-url-shape .mini-brand { font-size: 12px; }
  .v11 .short-url-shape > i { width: 5px; height: 5px; flex-basis: 5px; }
  .v11 .long-url-label,
  .v11 .short-url-label { top: calc(50% + 31px); font-size: 7px; }
  .v11 .long-url-label { left: 4%; }
  .v11 .short-url-label { left: 69%; }
}

@media (max-width: 420px) {
  .v11 .login-brand .brand-compress { width: 35px; flex-basis: 35px; }
  .v11 .shortening-visual { left: 28%; }
  .v11 .short-url-shape { min-width: 78px; }
}

@media (prefers-reduced-motion: reduce) {
  .v11 .shortening-track::after,
  .v11 .long-url-shape,
  .v11 .compression-core,
  .v11 .short-url-shape,
  .v11 .short-url-label,
  .v11 .route-valid .composer-route i b,
  .v11 .route-valid .live-route-preview > i b,
  .v11 .created-route .route-success-line b { animation: none; }
  .v11 .long-url-shape { opacity: .34; transform: translateY(-50%) scaleX(.82); }
  .v11 .short-url-shape,
  .v11 .short-url-label { opacity: 1; transform: translateY(-50%); }
  .v11 .short-url-label { transform: none; }
}


/* --- v12-brand-utm.css --- */
/* TinyBL v12: selected tb identity and scalable structured UTM controls. */
.v12 .brand { gap: 10px; }
.v12 .brand-tb-mark { position: relative; display: inline-block; width: 38px; height: 34px; flex: 0 0 38px; overflow: hidden; }
.v12 .brand-tb-mark i,
.v12 .brand-tb-mark b { position: absolute; top: -3px; font: 900 35px/.95 var(--font-ui); letter-spacing: -.13em; }
.v12 .brand-tb-mark i { left: 1px; color: var(--ink); }
.v12 .brand-tb-mark b { left: 17px; color: var(--cobalt); }
.v12 .brand-tb-mark em { position: absolute; z-index: 2; left: 13px; top: 16px; width: 13px; height: 5px; border-radius: 999px; background: var(--signal); box-shadow: 0 0 0 3px var(--paper); transition: width .18s ease, transform .18s ease; }
.v12 .brand:hover .brand-tb-mark em,
.v12 .login-brand:hover .brand-tb-mark em { width: 17px; transform: translateX(-2px); }
.v12 .site-header.is-scrolled .brand-tb-mark em { box-shadow: 0 0 0 3px var(--surface); }
.v12 .login-brand { gap: 10px; }
.v12 .login-brand .brand-tb-mark { width: 42px; height: 38px; flex-basis: 42px; }
.v12 .login-brand .brand-tb-mark i { color: #fff; }
.v12 .login-brand .brand-tb-mark b { color: #6f88ff; }
.v12 .login-brand .brand-tb-mark em { top: 17px; background: var(--signal); box-shadow-color: #101319; }

.v12 .product-preset-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(180px,.72fr); margin-top: 16px; }
.v12 .custom-content-code { grid-column: 1 / -1; max-width: 340px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.v12 .content-code-field select { font-weight: 700; }
.v12 .content-code-field small { color: var(--cobalt); }

@media (max-width: 1050px) {
  .v12 .product-preset-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v12 .content-code-field { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .v12 .product-preset-grid { grid-template-columns: 1fr; }
  .v12 .content-code-field,
  .v12 .custom-content-code { grid-column: auto; max-width: none; }
}


/* --- v13-utm.css --- */
/* TinyBL v13: previous structured UTM flow with expanded product presets. */
.v13 .product-preset-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width: 680px) { .v13 .product-preset-grid { grid-template-columns: 1fr; } }


/* --- v14-geo.css --- */
/* TinyBL v14: local GeoIP analytics and self-hosted map. */
.v13 .geo-intelligence {
  margin-top: 38px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 54px rgba(17,19,22,.07);
}
.v13 .geo-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 21px;
  border-bottom: 1px solid var(--line);
}
.v13 .geo-heading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cobalt);
  font: 720 10px/1 var(--font-mono);
  letter-spacing: .09em;
}
.v13 .geo-heading span i {
  width: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.v13 .geo-heading h2 {
  margin: 7px 0 4px;
  color: var(--ink);
  font-size: 22px;
  letter-spacing: -.025em;
}
.v13 .geo-heading p,
.v13 .geo-heading small {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.v13 .geo-heading small {
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--font-mono);
}
.v13 .geo-layout {
  display: grid;
  grid-template-columns: minmax(0,1.75fr) minmax(250px,.72fr);
  min-height: 520px;
}
.v13 .geo-map-card {
  min-width: 0;
  padding: 20px;
  color: #fff;
  background: #101318;
}
.v13 .geo-map-frame {
  position: relative;
  min-height: 440px;
  border: 1px solid #2c3440;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%,rgba(42,92,255,.2),transparent 31%),
    radial-gradient(circle at 20% 80%,rgba(40,205,164,.1),transparent 28%),
    #141920;
}
.v13 .geo-map {
  display: block;
  width: 100%;
  height: 440px;
}
.v13 .geo-ocean { fill: transparent; }
.v13 .geo-grid path { fill: none; stroke: #252c36; stroke-width: 1; stroke-dasharray: 3 8; }
.v13 .geo-country {
  fill: #252c35;
  stroke: #3a4350;
  stroke-width: .7;
  vector-effect: non-scaling-stroke;
  transition: fill .18s ease, opacity .18s ease;
}
.v13 .geo-country.has-clicks { stroke: #7694ff; }
.v13 .geo-country:hover { fill: #566577; }
.v13 .geo-point {
  cursor: pointer;
  fill: #bdf44d;
  stroke: #101318;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 8px rgba(189,244,77,.5));
  transition: transform .18s ease, fill .18s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.v13 .geo-point:hover,
.v13 .geo-point:focus { fill: #fff; outline: none; transform: scale(1.35); }
.v13 .geo-tooltip {
  position: absolute;
  z-index: 2;
  max-width: 210px;
  padding: 9px 11px;
  border: 1px solid #485463;
  border-radius: 8px;
  color: #fff;
  background: rgba(10,13,17,.96);
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
  pointer-events: none;
}
.v13 .geo-tooltip strong,
.v13 .geo-tooltip span { display: block; }
.v13 .geo-tooltip strong { font-size: 12px; }
.v13 .geo-tooltip span { margin-top: 3px; color: #aeb7c2; font: 650 10px/1.4 var(--font-mono); }
.v13 .geo-map-card footer {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 4px 0;
  color: #929ca8;
  font: 620 9px/1 var(--font-mono);
  letter-spacing: .03em;
}
.v13 .geo-map-card footer span { display: inline-flex; align-items: center; gap: 5px; }
.v13 .geo-map-card footer i { width: 9px; height: 9px; border-radius: 2px; background: #303946; }
.v13 .geo-map-card footer span:nth-child(2) i { background: #315eff; }
.v13 .geo-map-card footer b { margin-left: auto; color: #b8c0c9; font-weight: 620; }
.v13 .geo-rankings {
  display: grid;
  grid-template-rows: repeat(3,minmax(0,1fr));
  border-left: 1px solid var(--line);
}
.v13 .geo-ranking { min-height: 0; padding: 18px 20px; overflow: hidden; }
.v13 .geo-ranking + .geo-ranking { border-top: 1px solid var(--line); }
.v13 .geo-ranking > header { display: flex; align-items: center; justify-content: space-between; }
.v13 .geo-ranking h3 { margin: 0; color: var(--ink); font-size: 13px; }
.v13 .geo-ranking header > span { color: var(--muted); font: 650 10px/1 var(--font-mono); }
.v13 .geo-ranking ol { display: grid; gap: 0; margin: 11px 0 0; padding: 0; list-style: none; }
.v13 .geo-ranking li {
  display: grid;
  grid-template-columns: 25px minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 31px;
  border-top: 1px solid #edf0f3;
}
.v13 .geo-ranking li > b { color: #a1a8b1; font: 620 9px/1 var(--font-mono); }
.v13 .geo-ranking li span { min-width: 0; }
.v13 .geo-ranking li strong,
.v13 .geo-ranking li small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v13 .geo-ranking li strong { color: var(--ink); font-size: 11px; }
.v13 .geo-ranking li small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.v13 .geo-ranking li em { color: var(--ink); font: 720 11px/1 var(--font-mono); font-style: normal; }
.v13 .geo-ranking-empty { margin: 18px 0 0; color: var(--muted); font-size: 11px; }
.v13 .geo-empty {
  display: grid;
  justify-items: center;
  min-height: 300px;
  align-content: center;
  padding: 30px;
  text-align: center;
  background: linear-gradient(145deg,#fafbfc,#f3f5f7);
}
.v13 .geo-empty span {
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border: 1px solid #cbd2da;
  border-radius: 50%;
  background: radial-gradient(circle at 65% 34%,var(--cobalt) 0 4px,transparent 5px),radial-gradient(circle at 35% 65%,#a6ca3d 0 3px,transparent 4px);
}
.v13 .geo-empty strong { color: var(--ink); font-size: 15px; }
.v13 .geo-empty p { max-width: 470px; margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.v13 .geo-data { border-top: 1px solid var(--line); }
.v13 .geo-data summary { padding: 13px 20px; color: var(--muted); font-size: 11px; cursor: pointer; }
.v13 .geo-data > div { max-height: 320px; padding: 0 20px 20px; overflow: auto; }
.v13 .geo-data table { width: 100%; border-collapse: collapse; font-size: 11px; }
.v13 .geo-data caption { padding: 8px 0; text-align: left; color: var(--muted); }
.v13 .geo-data th,
.v13 .geo-data td { padding: 9px 10px; border: 1px solid var(--line); text-align: left; }
.v13 .geo-data th { background: var(--paper); color: var(--muted); }
@media (max-width: 940px) {
  .v13 .geo-layout { grid-template-columns: 1fr; }
  .v13 .geo-rankings { grid-template-columns: repeat(3,1fr); grid-template-rows: none; border-top: 1px solid var(--line); border-left: 0; }
  .v13 .geo-ranking + .geo-ranking { border-top: 0; border-left: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .v13 .geo-intelligence { margin-top: 24px; border-inline: 0; }
  .v13 .geo-heading { align-items: flex-start; padding: 19px 16px; }
  .v13 .geo-heading h2 { font-size: 19px; }
  .v13 .geo-heading p { max-width: 240px; }
  .v13 .geo-heading small { display: none; }
  .v13 .geo-map-card { padding: 10px; }
  .v13 .geo-map-frame { min-height: 280px; border-radius: 12px; }
  .v13 .geo-map { height: 280px; }
  .v13 .geo-map-card footer { flex-wrap: wrap; padding: 10px 3px 2px; }
  .v13 .geo-map-card footer b { width: 100%; margin: 2px 0 0; }
  .v13 .geo-rankings { grid-template-columns: 1fr; }
  .v13 .geo-ranking + .geo-ranking { border-top: 1px solid var(--line); border-left: 0; }
}


/* --- v15-refinement.css --- */
/* TinyBL v15: restrained contrast, denser analytics and phone-first polish. */
body.v15 {
  --ink: #171b21;
  --ink-2: #222831;
  --paper: #e8eaed;
  --surface: #f7f8f9;
  --surface-2: #dfe3e7;
  --line: #c8cdd3;
  --line-strong: #aab1ba;
  --text: #292f36;
  --muted: #59616b;
  --cobalt: #4055b2;
  --cobalt-dark: #30428f;
  --cobalt-soft: #e0e4f1;
  --signal: #a8bb59;
  --mint: #278a74;
  --mint-soft: #dceee9;
  --amber: #966020;
  --amber-soft: #f2e7d5;
  --danger: #ad414b;
  --danger-soft: #f2dfe2;
  --shadow-overlay: 0 18px 48px rgba(20,25,31,.14);
  color: var(--text);
  background: var(--paper);
}

.v15 .site-header {
  border-bottom-color: rgba(23,27,33,.18);
  background: rgba(232,234,237,.94);
  backdrop-filter: blur(18px) saturate(.92);
}
.v15 .site-header.is-scrolled { background: rgba(247,248,249,.97); box-shadow: 0 8px 26px rgba(20,25,31,.08); }
.v15 .site-nav a { color: #515963; }
.v15 .site-nav a small { color: #747c86; }
.v15 .site-nav a.active::after { background: var(--cobalt); }
.v15 .account-initial { background: var(--cobalt-dark); }
.v15 .new-route:hover,
.v15 .primary-action:hover,
.v15 .composer-submit:hover,
.v15 .forge-submit:hover,
.v15 .inspector-primary:hover,
.v15 .access-submit:hover { border-color: var(--ink-2); background: var(--ink-2); }
.v15 .new-route span,
.v15 .primary-action > span { background: #c5cf93; }

.v15 input,
.v15 textarea,
.v15 select,
.v15 .prefix-input,
.v15 .password-input,
.v15 .account-menu > summary { background: var(--surface); }
.v15 input::placeholder,
.v15 textarea::placeholder { color: #717984; opacity: 1; }
.v15 input:hover,
.v15 textarea:hover,
.v15 select:hover { border-color: #7e8792; }
.v15 input:focus,
.v15 textarea:focus,
.v15 select:focus,
.v15 .prefix-input:focus-within,
.v15 .password-input:focus-within { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(64,85,178,.16); }
.v15 :focus-visible { outline-color: rgba(64,85,178,.4); }

.v15 .page-context { min-height: 116px; padding-top: 27px; }
.v15 .page-context h1 { font-size: clamp(28px,2.6vw,34px); }
.v15 .route-kicker,
.v15 .sheet-label,
.v15 .eyebrow { color: var(--cobalt-dark); }
.v15 .route-kicker i { border-color: var(--cobalt-dark); background: #c5cf93; }

/* Link library clearly distinguishes all-time counters from filtered analytics. */
.v15 .link-toolbar { background: rgba(232,234,237,.96); }
.v15 .ledger-head { min-height: 46px; color: #4f5761; background: #d8dce1; }
.v15 .ledger-click-heading small { display: block; margin-top: 3px; color: #6b737d; font: 600 8px/1 var(--font-mono); letter-spacing: .02em; text-transform: uppercase; }
.v15 .ledger-row { background: rgba(247,248,249,.34); }
.v15 .ledger-row:hover,
.v15 .ledger-row:focus-within { background: var(--surface); box-shadow: inset 0 0 0 1px rgba(64,85,178,.08); }
.v15 .quick-filter-links a.active { color: var(--cobalt-dark); border-color: #8996c9; background: var(--cobalt-soft); }

/* Analytics becomes a compact set of deliberate surfaces instead of a long white sheet. */
.v15 .analytics-page { padding-bottom: 52px; }
.v15 .analytics-context { min-height: 116px; }
.v15 .analytics-context-actions > a { color: #4f5761; }
.v15 .analytics-context-actions label { color: #4f5761; }
.v15 .metric-ribbon {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-top-color: var(--line-strong);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 9px 26px rgba(20,25,31,.06);
}
.v15 .metric-ribbon article { min-height: 88px; padding: 14px 17px; }
.v15 .metric-ribbon span { color: #4f5761; font-weight: 670; }
.v15 .metric-ribbon small { color: #68717c; }
.v15 .metric-ribbon strong { font-size: 23px; }
.v15 .analytics-tabs { min-height: 52px; margin-bottom: 14px; border-bottom-color: var(--line-strong); }
.v15 .analytics-tabs button { min-height: 46px; color: #555e68; }
.v15 .analytics-tabs button.active { color: var(--ink); }
.v15 .analytics-tabs button::after { height: 2px; background: var(--cobalt-dark); }
.v15 .analytics-overview { grid-template-columns: minmax(0,1.5fr) minmax(270px,.5fr); gap: 14px; border: 0; }
.v15 .signal-chart {
  border: 1px solid #303741;
  border-radius: 14px;
  background: #1b2027;
  box-shadow: 0 14px 34px rgba(20,25,31,.14);
  overflow: hidden;
}
.v15 .signal-chart header span { color: #a8b0ba; }
.v15 .signal-chart header small { color: #c0cc87; }
.v15 .chart-grid line { stroke: #38404a; }
.v15 .chart-line { stroke: #bdca78; }
.v15 .chart-point { fill: #bdca78; stroke: #1b2027; }
.v15 .chart-empty { min-height: 258px; }
.v15 .chart-empty p { color: #a6adb6; }
.v15 .ranked-links {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 9px 26px rgba(20,25,31,.06);
  overflow: hidden;
}
.v15 .ranked-links header span { color: #656e78; }
.v15 .ranked-links li > span { color: #69727d; }
.v15 .dimension-board { gap: 12px; margin-top: 14px; border: 0; }
.v15 .dimension-ledger {
  min-height: 240px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 7px 22px rgba(20,25,31,.05);
}
.v15 .dimension-wide { margin-top: 14px; }
.v15 .dimension-row > span { color: #454d56; }
.v15 .dimension-row > i { background: #d4d8dd; }
.v15 .dimension-row > i em { background: var(--cobalt); }

.v15 .geo-intelligence {
  margin-top: 18px;
  border-color: var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(20,25,31,.07);
  overflow: hidden;
}
.v15 .geo-heading { background: var(--surface); }
.v15 .geo-heading span { color: var(--cobalt-dark); }
.v15 .geo-heading small { background: var(--surface-2); }
.v15 .geo-empty { min-height: 250px; background: var(--surface-2); }
.v15 .geo-empty span { border-color: #9ca5af; background: radial-gradient(circle at 65% 34%,var(--cobalt) 0 4px,transparent 5px),radial-gradient(circle at 35% 65%,#8ea044 0 3px,transparent 4px); }
.v15 .geo-map-card { background: #1b2027; }
.v15 .geo-map-frame { border-color: #3b444f; background: #20262e; }
.v15 .geo-point { fill: #bdca78; stroke: #1b2027; filter: drop-shadow(0 0 7px rgba(189,202,120,.4)); }
.v15 .geo-ranking li { border-top-color: #d8dce1; }

/* Phone behavior: compact cards, usable horizontal tabs and a calm dark dock. */
@media (max-width: 760px) {
  .v15 .shell { width: min(100% - 24px,1280px); }
  .v15 .page-context { min-height: auto; padding: 22px 0 17px; }
  .v15 .page-context h1 { font-size: 26px; }
  .v15 .analytics-context-actions { align-items: end; }
  .v15 .metric-ribbon { grid-template-columns: repeat(2,minmax(0,1fr)); margin-bottom: 10px; border-radius: 10px; }
  .v15 .metric-ribbon article { min-height: 80px; padding: 12px; }
  .v15 .metric-ribbon strong { font-size: 21px; }
  .v15 .analytics-tabs {
    gap: 5px;
    min-height: 48px;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    scrollbar-width: none;
  }
  .v15 .analytics-tabs::-webkit-scrollbar { display: none; }
  .v15 .analytics-tabs button { min-height: 36px; padding: 7px 11px; border-radius: 7px; }
  .v15 .analytics-tabs button::after { display: none; }
  .v15 .analytics-tabs button.active { color: #fff; background: var(--ink-2); }
  .v15 .analytics-overview { gap: 10px; }
  .v15 .signal-chart { padding: 17px 13px; border-radius: 11px; }
  .v15 .signal-chart svg { height: 210px; }
  .v15 .chart-empty { min-height: 218px; }
  .v15 .ranked-links { padding: 18px; border-radius: 11px; }
  .v15 .ranked-links li { min-height: 52px; }
  .v15 .dimension-board { gap: 9px; margin-top: 10px; }
  .v15 .dimension-ledger { min-height: 200px; padding: 18px 16px; }
  .v15 .geo-intelligence { margin-top: 12px; border-radius: 11px; }
  .v15 .geo-heading { padding: 18px 15px; }
  .v15 .geo-empty { min-height: 220px; padding: 24px 16px; }
  .v15 .mobile-dock {
    border-top-color: #343b45;
    background: rgba(28,33,40,.97);
    backdrop-filter: blur(18px) saturate(.8);
  }
  .v15 .mobile-dock a { color: #aeb5be; }
  .v15 .mobile-dock a i { border-color: #59626d; }
  .v15 .mobile-dock a.active { color: #fff; }
  .v15 .mobile-dock a.active::before { background: #bdca78; }
  .v15 .mobile-dock .dock-create i { color: var(--ink); border-color: #bdca78; background: #bdca78; box-shadow: 0 5px 15px rgba(0,0,0,.24); }
}

@media (max-width: 430px) {
  .v15 .analytics-context-actions select { min-width: 116px; }
  .v15 .metric-ribbon article { min-height: 76px; padding: 11px 10px; }
  .v15 .metric-ribbon span,
  .v15 .metric-ribbon small { font-size: 11px; }
  .v15 .analytics-tabs button { font-size: 11px; }
  .v15 .signal-chart h2,
  .v15 .ranked-links h2 { font-size: 16px; }
  .v15 .signal-chart svg { height: 190px; }
  .v15 .chart-empty { min-height: 200px; }
  .v15 .geo-heading p { max-width: 220px; }
}

@media print {
  body.v15 { background: #fff; }
  .v15 .site-header { position: static; background: #fff; }
  .v15 .mobile-dock,
  .v15 .skip-link,
  .v15 .analytics-tabs { display: none !important; }
  .v15 main,
  .v15 .analytics-page { min-height: auto; padding-bottom: 0; }
  .v15 .signal-chart,
  .v15 .geo-map-card { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}


/* --- v16-command.css --- */
/* TinyBL v16: task-first command center, real account administration and compact responsive polish. */
.v16 {
  --v16-navy: #151b24;
  --v16-navy-2: #202936;
  --v16-navy-3: #2a3544;
  --v16-lime: #c4d56f;
  --v16-lime-strong: #b4cb47;
  --v16-blue: #5368c7;
  --v16-paper: #eef0f2;
  --v16-card: #f9fafb;
  --v16-line: #cdd2d8;
  --v16-muted: #606975;
  background: var(--v16-paper);
}
.v16 main { min-height: calc(100vh - 72px); }
.v16 .site-header { background: rgba(238,240,242,.94); }
.v16 .page-context h1,
.v16 .command-intro h1 { letter-spacing: -.035em; }

/* Home command center */
.v16 .command-home { padding: 34px 0 62px; }
.v16 .command-intro { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 24px; }
.v16 .command-intro > div:first-child { max-width: 720px; }
.v16 .command-intro h1 { max-width: 690px; margin: 10px 0 9px; color: var(--v16-navy); font-size: clamp(34px,4vw,48px); line-height: .99; }
.v16 .command-intro p { max-width: 625px; margin: 0; color: var(--v16-muted); font-size: 15px; line-height: 1.55; }
.v16 .command-intro-actions { display: flex; align-items: center; gap: 8px; padding-bottom: 3px; white-space: nowrap; }
.v16 .command-intro-actions a { min-height: 38px; padding: 10px 13px; border: 1px solid var(--v16-line); border-radius: 8px; color: #323a44; background: rgba(249,250,251,.7); font-size: 12px; font-weight: 750; }
.v16 .command-intro-actions a:last-child { color: #fff; border-color: var(--v16-navy); background: var(--v16-navy); }
.v16 .command-intro-actions a:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(18,24,32,.1); }

.v16 .command-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,.72fr)) minmax(260px,1.35fr); margin: 0 0 14px; border: 1px solid var(--v16-line); border-radius: 13px; overflow: hidden; background: var(--v16-card); box-shadow: 0 8px 24px rgba(23,29,37,.055); }
.v16 .command-metrics > div { min-width: 0; min-height: 92px; padding: 15px 18px; border-right: 1px solid #dce0e4; }
.v16 .command-metrics > div:last-child { border-right: 0; }
.v16 .command-metrics dt { margin-bottom: 7px; color: #69727e; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v16 .command-metrics dd { margin: 0; color: var(--v16-navy); font-size: 25px; font-weight: 820; line-height: 1; }
.v16 .command-metrics small { display: block; margin-top: 7px; color: #737c87; font-size: 10px; }
.v16 .command-metrics .command-top-metric { background: #e4e7ea; }
.v16 .command-metrics .command-top-metric dd { overflow: hidden; font-size: 16px; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }

.v16 .command-workbench { display: grid; grid-template-columns: minmax(0,1.48fr) minmax(320px,.72fr); min-height: 420px; border: 1px solid #303947; border-radius: 16px; overflow: hidden; color: #fff; background: var(--v16-navy); box-shadow: 0 20px 46px rgba(19,25,33,.17); }
.v16 .command-creator { display: flex; min-width: 0; flex-direction: column; padding: 28px; background: radial-gradient(circle at 88% 0,rgba(83,104,199,.16),transparent 32%),var(--v16-navy-2); }
.v16 .command-creator > header { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.v16 .command-creator > header span:first-child,
.v16 .command-activity > header span { color: #abb4c0; font: 750 10px/1.2 var(--font-mono); letter-spacing: .1em; }
.v16 .command-creator h2,
.v16 .command-activity h2 { margin: 7px 0 0; color: #fff; font-size: 19px; letter-spacing: -.02em; }
.v16 .creator-secure { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #414c5b; border-radius: 999px; color: #cbd2da; font-size: 10px; font-weight: 720; }
.v16 .creator-secure i { width: 7px; height: 7px; border-radius: 50%; background: #5bd0aa; box-shadow: 0 0 0 4px rgba(91,208,170,.12); }
.v16 .command-url-field { margin-bottom: 19px; }
.v16 .command-url-field label,
.v16 .command-option-grid label { display: block; margin-bottom: 7px; color: #dbe0e6; font-size: 12px; font-weight: 750; }
.v16 .command-url-field textarea { min-height: 96px; padding: 16px; resize: vertical; border: 1px solid #526071; border-radius: 10px; color: #151b23; background: #fff; font-size: 15px; line-height: 1.45; box-shadow: 0 8px 22px rgba(0,0,0,.1); }
.v16 .command-url-field textarea:focus { border-color: #9eafec; box-shadow: 0 0 0 3px rgba(111,134,222,.25),0 8px 22px rgba(0,0,0,.1); }
.v16 .command-url-field > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; }
.v16 .command-url-field > div > small { color: #aab3be; font-size: 10px; }
.v16 .command-url-field > div > span { display: flex; min-width: 0; align-items: center; gap: 7px; color: #99a4b0; font: 650 9px/1 var(--font-mono); }
.v16 .command-url-field > div > span b,
.v16 .command-url-field > div > span strong { max-width: 145px; overflow: hidden; color: #ced5dc; text-overflow: ellipsis; white-space: nowrap; }
.v16 .command-url-field > div > span strong { color: var(--v16-lime); }
.v16 .command-option-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.v16 .command-option-grid .field { min-width: 0; }
.v16 .command-option-grid label small { color: #8f9aa6; font-weight: 550; }
.v16 .command-option-grid input,
.v16 .command-option-grid .prefix-input { min-height: 45px; border-color: #4a5665; color: #eef1f4; background: #171e27; }
.v16 .command-option-grid .prefix-input span { color: #919ba7; background: #11171f; }
.v16 .command-option-grid input::placeholder { color: #798491; }
.v16 .command-option-grid .field > small { display: block; margin-top: 6px; color: #909ba7; font-size: 9px; line-height: 1.35; }
.v16 .command-creator > footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 23px; }
.v16 .command-creator > footer > a { color: #c4ccd5; font-size: 11px; font-weight: 700; text-decoration: underline; text-decoration-color: #596575; text-underline-offset: 4px; }
.v16 .command-creator > footer button { display: flex; min-width: 175px; min-height: 48px; align-items: center; justify-content: space-between; gap: 25px; padding: 0 16px 0 19px; border: 1px solid var(--v16-lime); border-radius: 9px; color: var(--v16-navy); background: var(--v16-lime); font-size: 12px; font-weight: 850; }
.v16 .command-creator > footer button b { font-size: 18px; }
.v16 .command-creator > footer button:hover { border-color: #dbe88f; background: #dbe88f; transform: translateY(-1px); box-shadow: 0 9px 22px rgba(196,213,111,.16); }

.v16 .command-activity { display: flex; min-width: 0; flex-direction: column; padding: 27px 24px 19px; border-left: 1px solid #35404e; background: #131922; }
.v16 .command-activity > header { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #303a47; }
.v16 .command-activity > header > a { color: var(--v16-lime); font-size: 10px; font-weight: 750; }
.v16 .command-activity ol { margin: 0; padding: 0; list-style: none; }
.v16 .command-activity li { display: grid; grid-template-columns: 12px minmax(0,1fr) auto; align-items: center; gap: 10px; min-height: 58px; border-bottom: 1px solid #29323e; }
.v16 .route-status { display: grid; width: 12px; height: 12px; place-items: center; border: 1px solid #526071; border-radius: 50%; }
.v16 .route-status i { width: 4px; height: 4px; border-radius: 50%; background: #6c7784; }
.v16 .route-status-active { border-color: #4da98f; }
.v16 .route-status-active i { background: #62d0ad; }
.v16 .command-activity li > a { min-width: 0; }
.v16 .command-activity li > a strong,
.v16 .command-activity li > a small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v16 .command-activity li > a strong { color: #edf0f3; font-size: 11px; }
.v16 .command-activity li > a small { margin-top: 4px; color: #8894a1; font: 550 9px/1.2 var(--font-mono); }
.v16 .command-activity li > span:last-child { text-align: right; }
.v16 .command-activity li > span:last-child b,
.v16 .command-activity li > span:last-child small { display: block; }
.v16 .command-activity li > span:last-child b { color: #fff; font-size: 12px; }
.v16 .command-activity li > span:last-child small { margin-top: 2px; color: #788592; font-size: 8px; text-transform: uppercase; }
.v16 .command-activity > footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: auto; padding-top: 16px; color: #8c97a3; font-size: 9px; }
.v16 .command-activity > footer > span { display: flex; align-items: center; gap: 7px; }
.v16 .command-activity > footer > span i { width: 6px; height: 6px; border-radius: 50%; background: #55c7a3; }
.v16 .command-activity > footer a { color: #dce1e6; font-weight: 720; }
.v16 .command-empty { display: grid; min-height: 240px; place-content: center; text-align: center; }
.v16 .command-empty > span { display: grid; width: 38px; height: 38px; margin: 0 auto 12px; place-items: center; border: 1px solid #465160; border-radius: 50%; color: var(--v16-lime); }
.v16 .command-empty strong { font-size: 12px; }
.v16 .command-empty p { max-width: 180px; margin: 6px auto 0; color: #8d98a5; font-size: 10px; }

.v16 .command-toolstrip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 12px; }
.v16 .command-toolstrip a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 13px; min-height: 72px; padding: 12px 15px; border: 1px solid var(--v16-line); border-radius: 11px; color: var(--v16-navy); background: var(--v16-card); box-shadow: 0 6px 18px rgba(20,26,34,.04); }
.v16 .command-toolstrip a > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #c2c8cf; border-radius: 9px; color: #53606d; background: #eceff2; font: 750 8px/1 var(--font-mono); }
.v16 .command-toolstrip strong,
.v16 .command-toolstrip small { display: block; }
.v16 .command-toolstrip strong { font-size: 12px; }
.v16 .command-toolstrip small { margin-top: 4px; color: #6f7883; font-size: 9px; }
.v16 .command-toolstrip a > b { color: #75808b; }
.v16 .command-toolstrip a:hover { border-color: #9ca5b0; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,26,34,.08); }
.v16 .command-toolstrip a:hover > span { color: #fff; border-color: var(--v16-blue); background: var(--v16-blue); }

/* People and security */
.v16 .people-page { padding-bottom: 58px; }
.v16 .people-context { display: flex; align-items: center; justify-content: space-between; }
.v16 .people-context h1 { color: var(--v16-navy); }
.v16 .people-context p { color: var(--v16-muted); }
.v16 .people-count { display: flex; align-items: baseline; gap: 7px; padding: 10px 13px; border: 1px solid var(--v16-line); border-radius: 9px; background: var(--v16-card); }
.v16 .people-count strong { font-size: 20px; }
.v16 .people-count span { color: var(--v16-muted); font-size: 10px; }
.v16 .people-layout { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.65fr); gap: 14px; align-items: start; }
.v16 .invite-panel,
.v16 .people-directory { border: 1px solid var(--v16-line); border-radius: 13px; background: var(--v16-card); box-shadow: 0 9px 25px rgba(20,26,34,.055); overflow: hidden; }
.v16 .invite-panel { padding: 23px; }
.v16 .invite-panel header > span,
.v16 .people-directory > header span { color: var(--v16-blue); font: 750 9px/1 var(--font-mono); letter-spacing: .1em; }
.v16 .invite-panel h2,
.v16 .people-directory h2 { margin: 7px 0 6px; color: var(--v16-navy); font-size: 17px; }
.v16 .invite-panel header p { margin: 0 0 19px; color: var(--v16-muted); font-size: 11px; line-height: 1.5; }
.v16 .invite-panel .field { margin-bottom: 12px; }
.v16 .invite-panel input,
.v16 .invite-panel select { min-height: 43px; }
.v16 .people-primary { display: flex; width: 100%; min-height: 45px; align-items: center; justify-content: space-between; margin-top: 17px; padding: 0 14px; border: 0; border-radius: 8px; color: #fff; background: var(--v16-navy); font-weight: 800; }
.v16 .people-primary:hover { background: #283241; }
.v16 .people-directory > header { display: flex; min-height: 75px; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; border-bottom: 1px solid #d6dbe0; }
.v16 .people-directory > header small { color: #707985; font-size: 9px; }
.v16 .people-table-head,
.v16 .person-row { display: grid; grid-template-columns: minmax(210px,1.25fr) minmax(150px,.78fr) 94px minmax(155px,.75fr); gap: 12px; align-items: center; }
.v16 .people-table-head { min-height: 34px; padding: 0 17px; color: #747d88; background: #e5e8eb; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.v16 .person-row { min-height: 78px; padding: 10px 17px; border-top: 1px solid #e0e3e6; }
.v16 .people-list .person-row:first-child { border-top: 0; }
.v16 .person-row.is-disabled { opacity: .63; background: #f0f1f2; }
.v16 .person-identity { display: flex; min-width: 0; align-items: center; gap: 10px; }
.v16 .person-identity > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: #fff; background: var(--v16-blue); font-weight: 800; }
.v16 .person-identity > div { min-width: 0; }
.v16 .person-identity strong,
.v16 .person-identity p { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v16 .person-identity strong { color: #222931; font-size: 11px; }
.v16 .person-identity strong small { margin-left: 5px; padding: 2px 5px; border-radius: 4px; color: #52606d; background: #e2e5e8; font-size: 7px; text-transform: uppercase; }
.v16 .person-identity p { margin: 4px 0 0; color: #707985; font-size: 9px; }
.v16 .person-access { display: flex; flex-direction: column; align-items: start; gap: 5px; }
.v16 .role-pill,
.v16 .status-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 8px; font-weight: 750; }
.v16 .role-pill { padding: 4px 6px; border: 1px solid #c7ccd2; border-radius: 5px; color: #4f5964; background: #edf0f2; }
.v16 .role-admin { color: #364aa3; border-color: #c1c8e8; background: #e7e9f6; }
.v16 .status-pill { color: #58626d; }
.v16 .status-pill i { width: 6px; height: 6px; border-radius: 50%; background: #8e969f; }
.v16 .status-active i { background: #28a683; box-shadow: 0 0 0 3px rgba(40,166,131,.12); }
.v16 .person-row time { color: #626c77; font-size: 9px; }
.v16 .person-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.v16 .person-actions details { position: relative; }
.v16 .person-actions summary,
.v16 .person-status-action { padding: 7px 8px; border: 1px solid #c9ced4; border-radius: 6px; color: #3e4853; background: #f7f8f9; font-size: 8px; font-weight: 750; cursor: pointer; list-style: none; }
.v16 .person-actions details[open] summary { border-color: var(--v16-blue); }
.v16 .person-actions details form { position: absolute; z-index: 20; top: calc(100% + 7px); right: 0; width: 250px; padding: 14px; border: 1px solid #bfc5cc; border-radius: 10px; background: #fff; box-shadow: 0 16px 38px rgba(20,26,34,.18); }
.v16 .person-actions details label { display: block; margin-bottom: 9px; color: #424c57; font-size: 9px; font-weight: 700; }
.v16 .person-actions details input { min-height: 39px; margin-top: 5px; }
.v16 .person-actions details button { width: 100%; min-height: 37px; border: 0; border-radius: 6px; color: #fff; background: var(--v16-navy); font-size: 9px; font-weight: 800; }
.v16 .person-status-action { color: #8b3842; border-color: #ddc3c6; background: #f6e9ea; }

.v16 .security-stack { display: grid; gap: 13px; }
.v16 .security-password { padding: 25px; }
.v16 .security-password > header { margin-bottom: 19px; }
.v16 .security-password h2 { margin: 7px 0 5px; font-size: 18px; }
.v16 .security-password p { margin: 0; color: var(--v16-muted); font-size: 11px; }
.v16 .security-password form > .field { max-width: 520px; }
.v16 .security-password-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 12px 0 17px; }
.v16 .security-system { padding: 0; }
.v16 .security-system > section { padding: 20px 23px; border-top: 1px solid #dce0e4; }
.v16 .security-system > section:first-child { border-top: 0; }
.v16 .security-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 11px; }
.v16 .geo-readiness { display: flex; gap: 12px; margin-top: 11px; padding: 14px; border: 1px solid #d3bd96; border-radius: 9px; background: #f3ebdc; }
.v16 .geo-readiness > i { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 3px; border-radius: 50%; background: #b3752e; box-shadow: 0 0 0 4px rgba(179,117,46,.12); }
.v16 .geo-readiness.is-ready { border-color: #aad0c3; background: #e3f0ec; }
.v16 .geo-readiness.is-ready > i { background: #278a74; }
.v16 .geo-readiness strong { color: #28313a; font-size: 11px; }
.v16 .geo-readiness p { margin: 5px 0 0; color: #5c6570; font-size: 10px; line-height: 1.5; }
.v16 .geo-readiness code,
.v16 .geo-empty code { padding: 1px 4px; border-radius: 4px; color: #37414c; background: rgba(255,255,255,.55); font: 650 9px/1.4 var(--font-mono); }

.v16 .recovery-card { text-align: left; }
.v16 .recovery-mark { position: relative; display: grid; width: 48px; height: 48px; margin-bottom: 20px; place-items: center; border: 1px solid #c7cdd3; border-radius: 14px; background: #edf0f3; }
.v16 .recovery-mark i { width: 20px; height: 15px; border: 2px solid var(--v16-blue); border-radius: 4px; }
.v16 .recovery-mark b { position: absolute; top: 10px; width: 12px; height: 11px; border: 2px solid var(--v16-blue); border-bottom: 0; border-radius: 8px 8px 0 0; }
.v16 .recovery-card p { color: var(--v16-muted); font-size: 12px; line-height: 1.65; }
.v16 .recovery-card .button { margin-top: 18px; }
.v16 .geo-needs-setup { background: #eee8dd; }
.v16 .geo-needs-setup a { margin-top: 12px; padding: 7px 10px; border: 1px solid #a77943; border-radius: 6px; color: #6e481c; font-size: 9px; font-weight: 800; }

@media (max-width: 1000px) {
  .v16 .command-workbench { grid-template-columns: minmax(0,1.25fr) minmax(290px,.75fr); }
  .v16 .command-metrics { grid-template-columns: repeat(3,1fr); }
  .v16 .command-metrics .command-top-metric { grid-column: 1 / -1; min-height: 72px; border-top: 1px solid #d9dde1; }
  .v16 .people-layout { grid-template-columns: minmax(245px,.65fr) minmax(0,1.35fr); }
  .v16 .people-table-head { display: none; }
  .v16 .person-row { grid-template-columns: minmax(190px,1fr) minmax(135px,.65fr); }
  .v16 .person-row time { padding-left: 44px; }
}

@media (max-width: 760px) {
  .v16 .command-home { padding: 23px 0 96px; }
  .v16 .command-intro { display: block; margin-bottom: 17px; }
  .v16 .command-intro h1 { max-width: 520px; margin-top: 8px; font-size: clamp(29px,8.5vw,38px); line-height: 1.02; }
  .v16 .command-intro p { font-size: 13px; }
  .v16 .command-intro-actions { margin-top: 15px; overflow-x: auto; }
  .v16 .command-metrics { grid-template-columns: repeat(2,1fr); border-radius: 10px; }
  .v16 .command-metrics > div { min-height: 80px; padding: 12px; }
  .v16 .command-metrics > div:nth-child(2) { border-right: 0; }
  .v16 .command-metrics > div:nth-child(3) { border-top: 1px solid #dce0e4; }
  .v16 .command-metrics dd { font-size: 21px; }
  .v16 .command-metrics .command-top-metric { grid-column: auto; min-height: 80px; border-top: 1px solid #dce0e4; }
  .v16 .command-metrics .command-top-metric dd { font-size: 12px; white-space: normal; }
  .v16 .command-workbench { display: block; min-height: 0; border-radius: 12px; }
  .v16 .command-creator { padding: 21px 16px; }
  .v16 .command-creator > header { margin-bottom: 17px; }
  .v16 .command-creator h2 { font-size: 17px; }
  .v16 .creator-secure { padding: 6px 7px; font-size: 8px; }
  .v16 .command-url-field textarea { min-height: 92px; padding: 13px; font-size: 14px; }
  .v16 .command-url-field > div { display: block; }
  .v16 .command-url-field > div > span { margin-top: 7px; }
  .v16 .command-option-grid { grid-template-columns: 1fr; }
  .v16 .command-creator > footer { padding-top: 19px; }
  .v16 .command-creator > footer button { min-width: 152px; }
  .v16 .command-activity { min-height: 345px; padding: 21px 16px 17px; border-top: 1px solid #35404e; border-left: 0; }
  .v16 .command-toolstrip { grid-template-columns: 1fr; gap: 8px; }
  .v16 .command-toolstrip a { min-height: 64px; }
  .v16 .analytics-overview { grid-template-columns: minmax(0,1fr); }
  .v16 .signal-chart,
  .v16 .ranked-links { min-width: 0; }
  .v16 .mobile-dock { width: 100vw; max-width: 100vw; overflow: hidden; }
  .v16 .mobile-dock a { min-width: 0; font-size: 10px; }
  .v16 .people-context { display: flex; align-items: end; }
  .v16 .people-count { padding: 8px 10px; }
  .v16 .people-count span { display: none; }
  .v16 .people-layout { grid-template-columns: 1fr; }
  .v16 .invite-panel { padding: 19px 16px; }
  .v16 .people-directory > header { padding: 14px 16px; }
  .v16 .person-row { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 0; gap: 13px 10px; padding: 15px; }
  .v16 .person-access { align-items: end; }
  .v16 .person-row time { padding-left: 44px; }
  .v16 .person-actions { position: relative; justify-content: end; }
  .v16 .person-actions details form { right: 0; width: min(260px,calc(100vw - 44px)); }
  .v16 .security-password { padding: 20px 16px; }
  .v16 .security-password-grid { grid-template-columns: 1fr; }
  .v16 .security-system > section { padding: 18px 16px; }
  .v16 .security-row { align-items: start; flex-direction: column; }
}

@media (max-width: 420px) {
  .v16 .command-intro-actions a { padding-inline: 10px; font-size: 10px; }
  .v16 .command-metrics dt { font-size: 8px; }
  .v16 .command-metrics small { font-size: 8px; }
  .v16 .command-creator > footer { align-items: stretch; flex-direction: column-reverse; }
  .v16 .command-creator > footer button { width: 100%; }
  .v16 .person-row { grid-template-columns: 1fr; }
  .v16 .person-access { align-items: start; padding-left: 44px; }
  .v16 .person-actions { justify-content: start; padding-left: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .v16 .command-intro-actions a,
  .v16 .command-toolstrip a,
  .v16 .command-creator > footer button { transition: none; transform: none !important; }
}

