/* One Talibon: "Tidal", the design language. Loaded last: it retunes the kit's tokens and
   redraws the surfaces people see first. Deep ocean for the moments that sell the vision
   (hero, sign-in, Live operations, chrome); crisp cool paper for the screens people work in.
   Two accents only: aqua is signal, gold is a decision. Chart colours are not touched here. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../assets/fonts/InterVariable.woff2") format("woff2"); }

:root {
  --page: #f3f5f8; --sand: #eef1f5; --sand-200: #e0e6ed; --surface: #ffffff;
  --line: #e2e7ee; --line-strong: #c8d1dc;
  --ink: #0b1622; --ink-2: #2a3949; --muted: #5c6b7b;
  --sea-950: #030810; --sea-900: #07121d; --sea-800: #0b1d30; --sea-700: #0e2942; --sea-600: #0c5d7c; --sea-500: #0a7ea4;
  --sea-300: #6ccfe6; --sea-200: #b6e6f2; --sea-100: #e3f4f9; --sea-50: #f1f9fc;
  --aqua: #37e0e6; --aqua-ink: #032630;
  --trace: #19a7b6; --trace-live: #bd8b24;   /* data marks on the dark map: validated with the dataviz script against #040a12 */
  --gold: #f2b441; --gold-600: #cf8e12; --gold-100: #fdf0d2; --gold-ink: #7a5300;
  --info-bg: #e3f4f9; --info-ink: #0c5d7c;
  --focus: #0a7ea4; --focus-dark: #f2b441;
  --deep: #040a12; --deep-line: rgba(108, 207, 230, .14); --deep-text: #dbe8f1; --deep-muted: rgba(160, 186, 204, .82);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --r-sm: 6px; --r-md: 9px; --r-lg: 14px; --r-xl: 20px;
  --shadow-sm: 0 1px 0 rgba(11, 22, 34, .03), 0 1px 2px rgba(11, 22, 34, .04);
  --shadow-md: 0 1px 2px rgba(11, 22, 34, .05), 0 16px 36px -20px rgba(11, 22, 34, .3);
  --shadow-lg: 0 2px 6px rgba(11, 22, 34, .08), 0 34px 80px -28px rgba(11, 22, 34, .5);
}

/* ------------------------------------------------------------------ base */
html { background: var(--page); }
body { font-family: var(--font-sans); letter-spacing: -.008em; font-feature-settings: "cv11", "calt"; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -.026em; font-weight: 650; }
h1 { letter-spacing: -.034em; }
a { color: var(--sea-500); }
a:hover { color: var(--sea-700); }
::selection { background: rgba(55, 224, 230, .34); }
.num, .tnum, .s-value, .tbl .r { font-feature-settings: "tnum", "cv11"; }
.eyebrow { letter-spacing: .15em; font-weight: 650; }
table.sr-only { display: block; }

/* ------------------------------------------------------------------ kit */
.btn { border-radius: 10px; font-weight: 600; letter-spacing: -.012em; border-color: var(--line-strong); box-shadow: 0 1px 0 rgba(11, 22, 34, .03); transition: background .15s, border-color .15s, box-shadow .15s, color .15s, transform .08s; }
.btn:hover { background: #f7fafc; border-color: #aab7c5; color: var(--ink); }
.btn-primary { background: linear-gradient(180deg, #16385a, #0b2036); border-color: #0b2036; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 1px 2px rgba(11, 22, 34, .28); }
.btn-primary:hover { background: linear-gradient(180deg, #1d4873, #0e2942); border-color: #0e2942; color: #fff; }
.btn-gold { background: linear-gradient(180deg, #f8c75f, #eeaa2c); border-color: #d99a1e; color: #1c1400; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 2px rgba(122, 83, 0, .28); }
.btn-gold:hover { background: linear-gradient(180deg, #fbd27a, #f2b441); border-color: #d99a1e; color: #1c1400; }
.btn-ghost { color: var(--sea-600); box-shadow: none; }
.btn-ghost:hover { background: var(--sea-100); color: var(--sea-700); }
.btn-lg { border-radius: 12px; }
.card { border-radius: 16px; }
.card-title { color: var(--ink); letter-spacing: -.015em; }
.card.tone-sea { background: radial-gradient(120% 130% at 100% 0%, rgba(55, 224, 230, .17), transparent 56%), linear-gradient(165deg, #0c2137, #06111c); border: 1px solid var(--deep-line); color: var(--deep-text); box-shadow: 0 24px 50px -30px rgba(4, 10, 18, .8); }
.card.tone-sea .card-sub { color: var(--deep-muted); }
.card.is-link:hover, a.stat:hover { border-color: var(--sea-300); }
.stat { border-radius: 16px; }
.stat .s-value { letter-spacing: -.04em; font-weight: 650; color: var(--ink); }
.tab[aria-selected="true"]::after { background: var(--ink); height: 2px; border-radius: 2px; }
.tabs.pills .tab[aria-selected="true"], .chip[aria-pressed="true"], .chip.is-on { background: #0b2036; border-color: #0b2036; }
.tbl th { background: #f8fafc; letter-spacing: .08em; }
.tbl td { border-bottom-color: #eef1f5; }
.input, .select, .textarea { border-radius: 10px; }
.input:focus, .select:focus, .textarea:focus { outline-color: rgba(55, 224, 230, .45); }
.avatar { border-radius: 11px !important; background: linear-gradient(160deg, #12365a, #081828) !important; color: #a6eef2 !important; font-weight: 650; letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgba(108, 207, 230, .28); }
.modal { border-radius: 18px; }
.ot-flash { animation-name: th-flash; }
@keyframes th-flash { 0% { background-color: rgba(242, 180, 65, .38); box-shadow: 0 0 0 3px rgba(242, 180, 65, .42); } 100% { background-color: transparent; box-shadow: 0 0 0 3px transparent; } }
.poc-pill { background: rgba(6, 15, 25, .88); border: 1px solid rgba(108, 207, 230, .24); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 600; letter-spacing: .01em; box-shadow: 0 10px 30px -12px rgba(4, 10, 18, .7); }
.poc-pill::before { box-shadow: 0 0 10px var(--gold); }

/* ------------------------------------------------------------------ public chrome */
.pubhead { background: #050c15; -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid var(--deep-line); }
.brand, .brand:hover { color: #fff; }
.brand .word { font-size: 19px; font-weight: 700; letter-spacing: -.035em; }
.brand .sub { color: rgba(140, 200, 216, .86); letter-spacing: .2em; font-weight: 600; font-size: 10px; }
.pubnav a { color: #c5d2de; font-weight: 550; border-radius: 9px; }
.pubnav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.pubnav a[aria-current="page"] { color: #fff; }
.pubnav a[aria-current="page"]::after { background: var(--aqua); box-shadow: 0 0 10px var(--aqua); height: 2px; }
.pubnav a.login { background: #fff; color: #06121e; border-radius: 10px; font-weight: 650; }
.pubnav a.login:hover { background: #d9fbff; color: #06121e; }
.menu-btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: #fff; }
.pubfoot { background: #050c15; color: #a9bccb; margin-top: var(--s8); border-top: 1px solid var(--deep-line); }
.pubfoot::before { display: none; }
.pubfoot .tag { color: #e6eef5; letter-spacing: -.02em; font-weight: 550; }
.pubfoot a { color: #c9d6e2; }
.pubfoot a:hover { color: var(--aqua); }
.pubfoot h4 { letter-spacing: .16em; font-size: 11px; color: rgba(160, 186, 204, .9); }
.pub-wave { display: none; }
@media (max-width: 860px) {
  .pubnav { background: #050c15; border-bottom: 1px solid var(--deep-line); }
  .pubnav a[aria-current="page"] { background: rgba(255, 255, 255, .08); }
}

/* ------------------------------------------------------------------ app chrome */
.rail { background: radial-gradient(150% 46% at 0% 0%, rgba(55, 224, 230, .11), transparent 62%), linear-gradient(180deg, #08131f, #040a12); border-right: 1px solid rgba(108, 207, 230, .1); color: #aebccb; }
.rail .brand .word { font-size: 18px; }
.rail .brand .sub { color: rgba(111, 232, 238, .8); }
.rail .nav-label { color: rgba(130, 160, 180, .75); letter-spacing: .18em; font-size: 10px; }
.nav a { color: #aebccb; font-weight: 550; border-radius: 10px; min-height: 42px; }
.nav a:hover { background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { background: linear-gradient(90deg, rgba(55, 224, 230, .17), rgba(55, 224, 230, .04)); box-shadow: inset 0 0 0 1px rgba(108, 207, 230, .2); color: #fff; }
.nav a[aria-current="page"]::before { background: var(--aqua); box-shadow: 0 0 12px var(--aqua); width: 3px; }
.nav a[aria-current="page"] .icon { color: var(--aqua); opacity: 1; }
.rail .badge-count, .tabbar .badge-count { background: rgba(242, 180, 65, .16); color: #f8cf7c; box-shadow: inset 0 0 0 1px rgba(242, 180, 65, .4); }
.rail .rail-foot { border-top-color: rgba(108, 207, 230, .1); }
.topbar { background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); }
.topbar h1 { font-size: 19px; font-weight: 650; letter-spacing: -.03em; }
.tabbar { background: rgba(5, 12, 21, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--deep-line); }

/* ------------------------------------------------------------------ the living map */
.lv { position: relative; width: 100%; height: 100%; }
.lv-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.lv-shelf path { fill: none; stroke: var(--aqua); stroke-linejoin: round; stroke-linecap: round; }
.lv-shelf-1 { stroke-opacity: .032; } .lv-shelf-2 { stroke-opacity: .055; } .lv-shelf-3 { stroke-opacity: .095; }
.lv-brgy { fill: #0a2335; stroke: rgba(108, 207, 230, .4); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.lv-coast { fill: none; stroke: var(--aqua); stroke-opacity: .5; stroke-width: 1.3; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 5px rgba(55, 224, 230, .8)); pointer-events: none; }
.lv-node { fill: #84ebf0; opacity: .7; transform-box: fill-box; transform-origin: center; }
.lv-node.is-island { fill: #fff; opacity: .96; filter: drop-shadow(0 0 4px rgba(55, 224, 230, .95)); }
.lv-node.is-hit { animation: lv-hit 1.5s ease-out; }
.lv-label { font: 500 15px/1 var(--font-sans); letter-spacing: .01em; fill: rgba(206, 228, 238, .6); paint-order: stroke; stroke: #06121e; stroke-width: 3.5px; stroke-linejoin: round; }
.lv-label.is-island { font-size: 16px; font-weight: 600; fill: rgba(228, 246, 250, .9); }
.lv-label.is-hall { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; fill: #f8cf7c; }
.lv-hall-dot { fill: var(--gold); filter: drop-shadow(0 0 8px rgba(242, 180, 65, .95)); }
.lv-hall-ring { fill: none; stroke: var(--gold); stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; opacity: 0; animation: lv-ring 3.4s cubic-bezier(.2, .6, .3, 1) infinite; }
.lv-hall-ring.r2 { animation-delay: 1.7s; }
.lv-trail { fill: none; stroke: var(--trace); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(25, 167, 182, .9)); opacity: 0; animation: lv-trail calc(var(--d, 1.4s) + 2s) ease-out forwards; }
.lv-comet { fill: none; stroke: #cdfcff; stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: .2 1; stroke-dashoffset: .2; animation: lv-run var(--d, 1.4s) cubic-bezier(.45, .05, .35, 1) forwards; filter: drop-shadow(0 0 6px var(--aqua)); }
.lv-arc.is-live .lv-trail { stroke: var(--trace-live); stroke-width: 3.2; filter: drop-shadow(0 0 6px rgba(189, 139, 36, .95)); animation-name: lv-trail-live; }
.lv-arc.is-live .lv-comet { stroke: #fff6dc; stroke-width: 6; filter: drop-shadow(0 0 10px var(--gold)) drop-shadow(0 0 3px #fff); }
.lv-arc.is-still .lv-trail { animation: none; opacity: .62; }
.lv-arc.is-still.is-live .lv-trail { opacity: .95; }
.lv-burst { fill: none; stroke: var(--trace); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; animation: lv-burst 1.5s ease-out forwards; }
.lv-burst.is-late { animation-delay: var(--d, .35s); }
.lv-burst.is-live { stroke: var(--trace-live); stroke-width: 3; animation-duration: 2s; }
@keyframes lv-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(6.5); opacity: 0; } }
@keyframes lv-hit { 0% { transform: scale(3.4); fill: #fff; opacity: 1; } 100% { transform: scale(1); } }
@keyframes lv-trail { 0% { opacity: 0; } 16% { opacity: .95; } 70% { opacity: .5; } 100% { opacity: 0; } }
@keyframes lv-trail-live { 0% { opacity: 0; } 14% { opacity: 1; } 72% { opacity: .7; } 100% { opacity: 0; } }
@keyframes lv-run { to { stroke-dashoffset: -1; } }
@keyframes lv-burst { 0% { transform: scale(.4); opacity: .95; } 100% { transform: scale(5.5); opacity: 0; } }
@keyframes lv-blink { 50% { opacity: .35; } }
.lv-cap { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 30px; font-size: 13.5px; color: rgba(226, 240, 248, .86); }
.lv-cap.lv-cap-in { animation: lv-cap .5s ease-out; }
@keyframes lv-cap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lv-tag { flex: none; position: relative; padding: 5px 9px 5px 22px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; color: #a6eef2; background: rgba(55, 224, 230, .1); box-shadow: inset 0 0 0 1px rgba(55, 224, 230, .3); }
.lv-tag::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 8px var(--aqua); }
.lv-cap.is-live .lv-tag { color: #ffe3a6; background: rgba(242, 180, 65, .15); box-shadow: inset 0 0 0 1px rgba(242, 180, 65, .5); }
.lv-cap.is-live .lv-tag::before { background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: lv-blink 1s ease-in-out infinite; }
.lv-cap-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lv-cap-time { flex: none; font-size: 12px; color: var(--deep-muted); }

/* ------------------------------------------------------------------ home: hero */
.pub-hero { color: var(--deep-text); background: var(--deep); min-height: clamp(620px, calc(100vh - 73px), 940px); display: flex; flex-direction: column; isolation: isolate; }
.pub-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(56% 72% at 75% 42%, rgba(14, 112, 150, .5), transparent 64%), radial-gradient(38% 46% at 10% 108%, rgba(242, 180, 65, .1), transparent 62%), linear-gradient(180deg, #050c16, #06121e 55%, #040a12); }
.pub-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(108, 207, 230, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 207, 230, .055) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(75% 75% at 72% 45%, #000 22%, transparent 82%); mask-image: radial-gradient(75% 75% at 72% 45%, #000 22%, transparent 82%); }
.pub-hero-in { flex: 1; position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: var(--s6); padding-top: 48px; padding-bottom: 48px; min-height: 0; }
.pub-hero-copy { max-width: 640px; position: relative; z-index: 1; }
.pub-hero-art { position: absolute; z-index: 0; right: -4%; top: 50%; width: min(60%, 800px); height: 106%; transform: translateY(-50%); pointer-events: none; max-width: none; margin: 0; }
.pub-welcome { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 500 15.5px/1.4 var(--font-sans); font-style: normal; letter-spacing: .005em; color: #f8cf7c; }
.pub-welcome::before { content: ""; flex: none; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.pub-hero h1 { font-family: var(--font-sans); font-size: clamp(46px, 6.7vw, 98px); line-height: .96; letter-spacing: -.052em; font-weight: 700; color: #fff; margin: 0 0 28px; }
.th-h1-prov { display: block; font-size: .44em; font-weight: 600; letter-spacing: -.025em; line-height: 1.12; color: #7fe6ee; margin-top: .16em; }
.th-h1-pre { display: block; font-size: .4em; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; color: rgba(219, 232, 241, .74); margin-bottom: .34em; }
.th-h1-main { display: block; padding-bottom: .09em; background: linear-gradient(94deg, #fff 0%, #dcfcff 46%, #6fe8ee 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.pub-values { margin: 0 0 18px; font: 600 12.5px/1.4 var(--font-sans); letter-spacing: .27em; text-transform: uppercase; color: rgba(190, 214, 228, .88); }
.pub-values .sep { color: var(--gold); letter-spacing: 0; padding: 0 .3em; }
.pub-tag { font-family: var(--font-sans); font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; color: rgba(205, 222, 234, .8); max-width: 34ch; margin: 0 0 34px; }
.pub-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pub-hero .btn, .pub-hero .pub-cta .btn-secondary { min-height: 50px; padding: 0 22px; border-radius: 12px; font-size: 15px; font-weight: 600; background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .17) !important; color: #f1f7fb !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: none; }
.pub-hero .btn:hover, .pub-hero .pub-cta .btn-secondary:hover { background: rgba(255, 255, 255, .13) !important; border-color: rgba(255, 255, 255, .36) !important; }
.pub-hero .btn-gold { background: linear-gradient(180deg, #86f6f1, #2fd6de); border-color: transparent !important; color: var(--aqua-ink) !important; box-shadow: 0 0 0 1px rgba(55, 224, 230, .6), 0 12px 36px -8px rgba(55, 224, 230, .62); }
.pub-hero .btn-gold:hover { background: linear-gradient(180deg, #abfbf7, #4be3e9) !important; }
.th-strip { position: relative; z-index: 1; border-top: 1px solid var(--deep-line); background: linear-gradient(180deg, rgba(8, 20, 33, .5), rgba(4, 10, 18, .88)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.th-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 76px; padding-right: 250px; }
.th-stats { display: flex; gap: 38px; flex: none; margin: 0; }
.th-stat { margin: 0; }
.th-stat dd { margin: 0; font-size: 22px; font-weight: 650; letter-spacing: -.035em; line-height: 1.1; color: #fff; font-feature-settings: "tnum", "cv11"; }
.th-stat dt { font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--deep-muted); margin-top: 3px; }
@media (max-width: 980px) {
  .pub-hero { min-height: 0; }
  .pub-hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 410px; padding-bottom: 32px; }
  .pub-hero-art { right: auto; left: 50%; top: 6px; width: min(100%, 560px); height: 400px; transform: translateX(-50%); -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent); mask-image: linear-gradient(180deg, #000 62%, transparent); }
  .th-strip .container { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 18px 16px; }
  .th-stats { justify-content: space-between; gap: 12px; }
}
@media (max-width: 640px) {
  .pub-hero-in { padding-top: 338px; padding-bottom: 28px; }
  .pub-hero-art { top: 4px; width: 100%; height: 336px; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent); }
  .pub-hero h1 { font-size: clamp(42px, 13.2vw, 60px); margin-bottom: 20px; }
  .pub-welcome { font-size: 14px; margin-bottom: 14px; }
  .pub-values { font-size: 10.5px; letter-spacing: .2em; }
  .pub-tag { margin-bottom: 24px; }
  .pub-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pub-hero .pub-cta .btn { font-size: 13.5px; padding: 0 8px; min-height: 50px; gap: 6px; }
  .th-stat dd { font-size: 19px; }
}

/* ------------------------------------------------------------------ home: sections */
.pub-sechead h2, .pub-head h1 { letter-spacing: -.04em; font-weight: 680; }
.pub-sec.sand { background: linear-gradient(180deg, #edf1f5, #f3f5f8); border-color: var(--line); }
.pub-tile-name, .pub-panel-head h3, .pub-svc h3, .pub-adv-title { font-weight: 650; letter-spacing: -.025em; }
.pub-tile-name { font-size: 19px; color: var(--ink); }
.pub-tile.is-planned { background: #f8fafc; }
.pub-strip { background: radial-gradient(60% 160% at 50% 0%, rgba(14, 112, 150, .38), transparent 70%), #050c15; border-block: 1px solid var(--deep-line); }
.pub-strip p { font-weight: 450; letter-spacing: -.012em; }
.pub-bigpct, .pub-done-id, .pub-status-now { letter-spacing: -.045em; }

/* ------------------------------------------------------------------ sign-in */
.th-login { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 28px; align-items: stretch; padding: 36px 0 12px; }
.th-login-side { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; min-height: 640px; padding: 40px 38px 30px; border-radius: 24px; color: var(--deep-text); border: 1px solid var(--deep-line); background: radial-gradient(90% 70% at 82% 34%, rgba(14, 112, 150, .52), transparent 66%), linear-gradient(170deg, #07121e, #040a12); box-shadow: var(--shadow-lg); }
.th-login-side .eyebrow { color: #6fe8ee; }
.th-login-side h1 { color: #fff; font-size: clamp(32px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -.045em; margin: 14px 0 14px; }
.th-login-side p { margin: 0; max-width: 32ch; color: rgba(205, 222, 234, .8); }
.th-login-map { position: absolute; z-index: -1; right: -16%; bottom: 4%; width: 96%; height: 74%; pointer-events: none; opacity: .92; }
.th-login-side .th-login-note { margin-top: auto; padding-top: 18px; font-size: 12.5px; line-height: 1.5; color: var(--deep-muted); max-width: 44ch; }
.th-login-main { display: flex; flex-direction: column; min-width: 0; }
.th-login-main h2 { font-size: 22px; margin: 6px 0 4px; }
.th-login-main > p { margin: 0 0 18px; color: var(--muted); }
.pub-personas { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 12px; flex: 1; }
.pub-persona { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; align-items: center; grid-row: auto; gap: 8px 14px; padding: 16px 16px 14px; border-radius: 16px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.pub-persona:hover { border-color: var(--sea-300); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.pub-persona h3 { font-size: 15.5px; letter-spacing: -.02em; }
.pub-persona .row.top { grid-column: 1; grid-row: 1; min-width: 0; }
.pub-persona-blurb { grid-column: 1 / -1; grid-row: 2; align-self: start; font-size: 13px; line-height: 1.45; color: var(--muted); }
.pub-persona-btn { grid-column: 2; grid-row: 1; width: auto; min-width: 92px; min-height: 40px; align-self: center; }
@media (max-width: 980px) { .th-login { grid-template-columns: minmax(0, 1fr); padding-top: 20px; } .th-login-side { min-height: 340px; padding: 28px 24px 22px; } .th-login-map { width: 78%; height: 86%; right: -14%; bottom: -6%; opacity: .6; } }
@media (max-width: 560px) { .pub-personas { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ Live operations */
.cc { position: fixed; inset: 0; z-index: 80; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--deep-text); display: grid; grid-template-columns: 318px minmax(0, 1fr) 372px; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "top top top" "left map right" "bottom bottom bottom"; }
.cc::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(52% 68% at 50% 46%, rgba(14, 112, 150, .46), transparent 66%), radial-gradient(34% 40% at 4% 104%, rgba(242, 180, 65, .09), transparent 62%), linear-gradient(180deg, #050c16, #040a12); }
.cc::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(108, 207, 230, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 207, 230, .05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 70% at 50% 46%, #000 20%, transparent 82%); mask-image: radial-gradient(70% 70% at 50% 46%, #000 20%, transparent 82%); }
.cc-top { grid-area: top; display: flex; align-items: center; gap: 20px; padding: 14px 26px; border-bottom: 1px solid var(--deep-line); }
.cc-brand { display: flex; align-items: center; gap: 12px; }
.cc-title { font-size: 18px; font-weight: 700; letter-spacing: -.035em; line-height: 1.1; color: #fff; }
.cc-sub { margin-top: 3px; font-size: 10.5px; font-weight: 650; letter-spacing: .24em; text-transform: uppercase; color: #6fe8ee; }
.cc-clock { margin-left: auto; font-size: 14px; color: rgba(205, 222, 234, .88); }
.cc-actions { display: flex; gap: 8px; }
.cc .btn { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .15); color: #e7f1f7; box-shadow: none; }
.cc .btn:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .32); color: #fff; }
.cc-map { grid-area: map; position: relative; min-height: 0; padding: 4px 0; }
.cc-left { grid-area: left; display: flex; min-height: 0; padding: 20px 0 20px 26px; }
.cc-kpis { flex: 1; min-height: 0; display: grid; grid-template-rows: repeat(7, minmax(0, 1fr)); gap: 9px; }
.cc-kpi { min-height: 0; display: flex; flex-direction: column; justify-content: center; padding: 8px 16px; border-radius: 13px; border: 1px solid rgba(108, 207, 230, .13); background: linear-gradient(180deg, rgba(14, 34, 54, .6), rgba(8, 20, 33, .6)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cc-kpi-l { display: flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; color: rgba(165, 194, 212, .88); }
.cc-kpi-v { margin-top: 1px; font-size: clamp(24px, 3.5vh, 40px); font-weight: 650; letter-spacing: -.045em; line-height: 1.06; color: #fff; }
.cc-kpi-s { font-size: 12.5px; color: var(--deep-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-kpi.is-gold .cc-kpi-v { color: #f8cf7c; }
.cc-kpi.is-warn .cc-kpi-l { color: #ffb9ab; }
.cc-kpi-bar { height: 3px; margin: 5px 0 4px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .1); }
.cc-kpi-bar i { display: block; height: 100%; border-radius: 2px; background: linear-gradient(90deg, #2fd6de, #86f6f1); }
.cc-kpi.is-changed { animation: cc-changed 2s ease-out; }
@keyframes cc-changed { 0% { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 34px -6px rgba(242, 180, 65, .75); } 100% { border-color: rgba(108, 207, 230, .13); box-shadow: 0 0 0 1px transparent; } }
.cc-right { grid-area: right; display: flex; flex-direction: column; min-height: 0; padding: 20px 26px 20px 0; }
.cc-h { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(190, 214, 228, .92); }
.cc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: lv-blink 1.4s ease-in-out infinite; }
.cc-feed { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cc-feed-row { display: grid; gap: 3px; padding: 10px 14px; border-radius: 11px; border: 1px solid rgba(108, 207, 230, .1); background: rgba(10, 24, 39, .6); }
.cc-feed-t { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(140, 170, 190, .82); }
.cc-feed-x { font-size: 13.5px; line-height: 1.4; color: #e3eef5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cc-feed-row.is-new { animation: cc-new 2.4s ease-out; }
@keyframes cc-new { 0% { opacity: 0; transform: translateX(16px); background: rgba(242, 180, 65, .3); border-color: var(--gold); } 16% { opacity: 1; transform: none; } 100% { background: rgba(10, 24, 39, .6); border-color: rgba(108, 207, 230, .1); } }
.cc-bottom { grid-area: bottom; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 56px; padding: 10px 250px 10px 26px; border-top: 1px solid var(--deep-line); }
.cc-legend { flex: none; display: flex; align-items: center; gap: 22px; font-size: 12px; color: var(--deep-muted); }
.cc-lg::before { content: ""; display: inline-block; width: 18px; height: 2px; margin-right: 8px; border-radius: 2px; vertical-align: middle; background: var(--trace); box-shadow: 0 0 8px var(--trace); }
.cc-lg.is-live::before { height: 3px; background: var(--trace-live); box-shadow: 0 0 8px var(--trace-live); }
.cc-note { opacity: .75; }
@media (max-width: 1180px) { .cc { grid-template-columns: 270px minmax(0, 1fr) 300px; } .cc-legend .cc-lg.is-recent { display: none; } }
@media (max-width: 900px) {
  .cc { display: block; overflow-y: auto; padding-bottom: calc(var(--tabbar-h) + 60px + var(--safe-b)); }
  .cc-top { position: sticky; top: 0; z-index: 2; padding: 10px 14px; gap: 10px; background: rgba(4, 10, 18, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .cc-clock, .cc-actions .btn:first-child { display: none; }
  .cc-actions { margin-left: auto; }
  .cc-map { height: 62vh; }
  .cc-left, .cc-right { padding: 14px; }
  .cc-kpis { grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cc-kpi { padding: 12px 14px; }
  .cc-kpi-v { font-size: 28px; }
  .cc-bottom { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 14px; }
}

/* ------------------------------------------------------------------ module touches */
.dash-hello { letter-spacing: -.045em; font-weight: 680; }
.ask-asked, .pj-title, .pj-prof-name { letter-spacing: -.035em; font-weight: 650; }

@media (prefers-reduced-motion: reduce) {
  .lv-hall-ring { animation: none; opacity: .5; transform: scale(2.6); }
  .lv-cap.lv-cap-in, .cc-kpi.is-changed, .cc-feed-row.is-new, .lv-node.is-hit, .cc-dot, .lv-cap.is-live .lv-tag::before { animation: none; }
}
.th-stat { display: flex; flex-direction: column-reverse; }

/* ------------------------------------------------------------------ public sub-pages: deep-ocean band
   Each sub-page opens with a compact full-width band that continues the dark header. The full bleed is a
   spread shadow clipped to the band's own height, so no markup is involved. */
.pub-head, .pub-track-head { position: relative; background: #050c15; box-shadow: 0 0 0 100vmax #050c15; clip-path: inset(0 -100vmax); }
.pub-head::before, .pub-track-head::before { content: ""; position: absolute; z-index: 0; inset: 0 -100vmax; pointer-events: none; background: radial-gradient(40% 140% at 78% 0%, rgba(14, 112, 150, .32), transparent 70%); }
.pub-head > *, .pub-track-head > * { position: relative; z-index: 1; }
.pub-head { max-width: none; padding: 40px 0 36px; margin-bottom: var(--s6); }
.pub-head > * { max-width: 760px; }
.pub-head h1, .pub-track-head h1 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; letter-spacing: -.04em; font-weight: 680; margin: 8px 0 10px; }
.pub-head .eyebrow, .pub-track-head .eyebrow { color: #6fe8ee; }
.pub-head .pub-lede { color: var(--deep-muted); font-size: 16px; line-height: 1.55; margin: 0; }
.pub-track-head { padding: 34px 0 32px; margin-bottom: var(--s6); align-items: center; }
.pub-track-head h1 { letter-spacing: -.01em; }
.pub-track-head p, .pub-track-head .muted { color: var(--deep-muted); }
.pub-track-head .btn { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #f1f7fb; box-shadow: none; }
.pub-track-head .btn:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .36); color: #fff; }
.pub-sechead h2 { font-size: clamp(22px, 2.4vw, 28px); }
@media (max-width: 640px) { .pub-head { padding: 28px 0 26px; margin-bottom: var(--s5); } .pub-track-head { padding: 26px 0 24px; margin-bottom: var(--s5); } .pub-head .pub-lede { font-size: 15px; } }

/* public dark panels, retuned to the deep tones */
.pub-status, .pub-klik, .pub-seal-big { background: radial-gradient(60% 120% at 100% 0%, rgba(14, 112, 150, .4), transparent 66%), linear-gradient(165deg, #0b1d30, #050c15); border: 1px solid var(--deep-line); box-shadow: 0 24px 50px -30px rgba(4, 10, 18, .8); }
.pub-klik .eyebrow, .pub-status .eyebrow, .pub-seal-big .eyebrow { color: #6fe8ee; }
.pub-seal-big .eyebrow { letter-spacing: .15em; }
.pub-status-now, .pub-seal-big h2, .pub-klik h2 { font-family: var(--font-sans); letter-spacing: -.04em; }
.pub-step-dot { background: #0b1d30; border-color: rgba(108, 207, 230, .28); }
.pub-steps::before { background: rgba(108, 207, 230, .2); }
.pub-steps li.done .pub-step-dot { background: var(--sea-500); border-color: var(--aqua); }
.pub-steps li.now .pub-step-dot { background: var(--gold); border-color: var(--gold); color: #1c1400; box-shadow: 0 0 0 5px rgba(242, 180, 65, .22); }
.pub-klik-items li, .pub-seal-meter, .pub-seal-kv div { background: rgba(255, 255, 255, .04); border: 1px solid var(--deep-line); }
.pub-klik-items .icon, .pub-checks .icon { color: var(--aqua); }
.pub-seal-ring { background: rgba(242, 180, 65, .08); box-shadow: none; }
.pub-svc.is-planned, .pub-tile.is-planned { background: #f8fafc; }
.pub-svc-help { background: var(--sand); }
.pub-core-item.on { border-color: var(--sea-200); background: var(--sea-50); }
.pub-asof { background: var(--sea-50); color: var(--sea-600); box-shadow: inset 0 0 0 1px var(--sea-200); }
.pub-asof.live { background: var(--sea-50); color: var(--sea-600); }
.pub-asof .dot { background: var(--aqua); box-shadow: 0 0 0 3px rgba(55, 224, 230, .25); }
.pub-advisory { background: #fffaf0; border: 1px solid #f1dfb4; border-left: 4px solid var(--gold); }
.pub-done-num { background: var(--sea-50); border: 1px dashed var(--sea-300); }
.pub-phase { border-top-width: 3px; }

/* ------------------------------------------------------------------ work screens: one family
   Navy primary; gold is kept for approving and signing; badges and chips crisp; hairlines everywhere. */
.page-intro .lede { font-size: 15px; line-height: 1.55; color: var(--muted); }
.btn-ok { background: linear-gradient(180deg, #16385a, #0b2036); border-color: #0b2036; color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .13), 0 1px 2px rgba(11, 22, 34, .28); }
.btn-ok:hover { background: linear-gradient(180deg, #1d4873, #0e2942); border-color: #0e2942; color: #fff; }
.pub-klik .btn-gold, .pub-seal-big .btn-gold, .pub-seal .btn-gold, .pub-strip .btn-gold { background: linear-gradient(180deg, #86f6f1, #2fd6de); border-color: transparent; color: var(--aqua-ink); box-shadow: 0 0 0 1px rgba(55, 224, 230, .6), 0 10px 30px -8px rgba(55, 224, 230, .5); }
.pub-klik .btn-gold:hover, .pub-seal-big .btn-gold:hover, .pub-seal .btn-gold:hover, .pub-strip .btn-gold:hover { background: linear-gradient(180deg, #abfbf7, #4be3e9); color: var(--aqua-ink); }
.badge, .b-sea, .b-neutral { letter-spacing: .01em; }
.tone-sand { background: var(--sand); }

/* procurement: the heaviest screen, brought down to the dashboard's calm */
.proc { gap: var(--s4); }
.proc > .page-intro .lede { font-size: 13px; letter-spacing: .01em; color: var(--muted); }
.proc-chain { gap: 8px; }
.proc-step { min-height: 100px; padding: 12px 12px 10px; border-radius: 12px; box-shadow: none; gap: 3px; }
.proc-step:hover { border-color: var(--sea-300); }
.proc-step-n { width: 20px; height: 20px; font-size: 11.5px; font-weight: 650; background: var(--sand); color: var(--ink-2); }
.proc-step-count { font-size: 22px; font-weight: 650; letter-spacing: -.04em; color: var(--ink); }
.proc-step-label { font-size: 12.5px; font-weight: 600; }
.proc-step-amt { font-size: 12px; }
.proc-step.is-on { background: linear-gradient(180deg, #0e2942, #0b2036); border-color: #0b2036; }
.proc-step.is-on .proc-step-count, .proc-step.is-on .proc-step-label { color: #fff; }
.proc-step.is-on .proc-step-n { background: rgba(108, 207, 230, .2); color: #bff4f8; }
.proc-step.is-on .proc-step-amt { color: var(--deep-muted); }
.proc-step.is-on .proc-step-flag { color: #f8cf7c; }
.proc-step:not(:last-child)::after { border-color: var(--line-strong); }
.proc-board { grid-auto-columns: minmax(232px, 1fr); gap: 12px; }
.proc-col { background: var(--sand); border: 1px solid var(--line); border-radius: 14px; padding: 12px; gap: 10px; }
.proc-col.is-on { box-shadow: inset 0 0 0 1px var(--sea-500); border-color: var(--sea-500); }
.proc-col-n { width: 22px; height: 22px; font-size: 11.5px; font-weight: 650; background: #0b2036; }
.proc-col-head h3 { font-size: 14.5px; font-weight: 650; letter-spacing: -.02em; }
.proc-col-sum { font-size: 12px; }
.proc-cards { gap: 10px; }
.proc-card { padding: 12px 12px 12px 14px; border-radius: 10px; box-shadow: none; gap: 6px; }
.proc-card:hover { box-shadow: var(--shadow-md); }
.proc-card.is-waiting::before { width: 3px; }
.proc-id { font-size: 11.5px; font-weight: 600; letter-spacing: .04em; }
.proc-c-title { font-size: 14px; line-height: 1.35; font-weight: 620; letter-spacing: -.015em; color: var(--ink); }
.proc-c-office { font-size: 12.5px; }
.proc-c-amount { font-size: 15px; font-weight: 650; letter-spacing: -.02em; }
.proc-c-meta { font-size: 12px; }
.proc-c-prj { font-size: 12px; font-weight: 600; color: var(--sea-600); }
.proc-c-act .btn { min-height: 34px; font-size: 13px; border-radius: 8px; }
.proc-d-title { font-weight: 650; letter-spacing: -.03em; color: var(--ink); }

/* ------------------------------------------------------------------ floating panels: presenter guide and pill menu */
.pg-panel, .pg-menu { background: linear-gradient(180deg, rgba(10, 24, 39, .97), rgba(5, 12, 21, .98)); border: 1px solid var(--deep-line); color: var(--deep-text); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .75), 0 0 0 1px rgba(4, 10, 18, .6); }
.pg-head { background: transparent; border-bottom: 1px solid var(--deep-line); }
.pg-eyebrow { color: #6fe8ee; letter-spacing: .16em; }
.pg-count { color: #fff; }
.pg-bar { background: transparent; height: 3px; }
.pg-bar i { background: rgba(108, 207, 230, .16); }
.pg-bar i.done { background: var(--aqua); }
.pg-bar i.now { background: #fff; }
.pg-title { color: #fff; font-size: 19px; font-weight: 650; letter-spacing: -.03em; }
.pg-say { color: rgba(205, 222, 234, .82); }
.pg-note { color: var(--deep-muted); }
.pg-note.ok { color: #8fe3b3; } .pg-note.err { color: #ffb9ab; }
.pg-body .btn-primary { background: linear-gradient(180deg, #86f6f1, #2fd6de); border-color: transparent; color: var(--aqua-ink); box-shadow: 0 0 0 1px rgba(55, 224, 230, .55), 0 10px 28px -10px rgba(55, 224, 230, .55); }
.pg-body .btn-primary:hover { background: linear-gradient(180deg, #abfbf7, #4be3e9); color: var(--aqua-ink); }
.pg-panel .btn:not(.btn-primary), .pg-foot .btn { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #e7f1f7; box-shadow: none; }
.pg-panel .btn:not(.btn-primary):hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .32); color: #fff; }
.pg-foot { background: rgba(255, 255, 255, .025); border-top: 1px solid var(--deep-line); }
.pg-foot .btn { background: transparent; border-color: transparent; color: #a6eef2; }
.pg-foot .btn:hover { background: rgba(255, 255, 255, .08); }
.pg-foot .btn.is-on { background: rgba(242, 180, 65, .16); color: #ffe3a6; }
.pg-ibtn:focus-visible, .pg-panel .btn:focus-visible, .pg-mitem:focus-visible { outline-color: var(--aqua); }
.pg-tab { background: rgba(6, 15, 25, .92); border-color: var(--deep-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pg-tab-n { color: var(--aqua); }
.pg-menu-h { color: var(--deep-muted); letter-spacing: .16em; }
.pg-mitem { color: #fff; }
.pg-mitem:hover { background: rgba(255, 255, 255, .07); }
.pg-mitem .icon { color: var(--aqua); }
.pg-mitem small { color: var(--deep-muted); }

/* ------------------------------------------------------------------ work-screen map: white land on a soft sea */
.otmap svg { background: radial-gradient(120% 90% at 28% 18%, #eef6fa, #dde9f0); box-shadow: inset 0 0 0 1px var(--line); }
.otmap .region { fill: #fbfcfd; stroke: #b6c4d0; stroke-width: .9; }
.otmap .region:hover, .otmap .region.hover { fill: #fff; stroke: var(--sea-700); }
.otmap .halo { fill: rgba(255, 255, 255, .6); stroke: #9fb3c2; }

/* ------------------------------------------------------------------ procurement board: quiet card actions, one loud button per screen */
.proc-card .btn[data-act="advance"] { background: var(--surface); border-color: var(--line-strong); color: var(--ink); box-shadow: none; min-height: 34px; font-size: 13px; }
.proc-card .btn[data-act="advance"]:hover { background: #0b2036; border-color: #0b2036; color: #fff; }

/* ------------------------------------------------------------------ live room: join screen, Invite overlay, devices chip */
.sync .txt { text-transform: capitalize; }
.sync[data-state="connecting"] .dot { background: var(--gold); }
.sync[data-state="offline"] .dot { background: #d9553f; }

.rm-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 16px; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); background: var(--sea-50); border: 1px solid var(--sea-200); }
.rm-note .icon { flex: none; margin-top: 2px; color: var(--sea-600); }
.rm-watch { display: flex; align-items: flex-start; gap: 9px; margin: 0; padding: 11px 14px; border-radius: 12px; font-size: 14px; line-height: 1.45; color: var(--gold-ink); background: var(--gold-100); border: 1px solid rgba(207, 142, 18, .35); }
.rm-watch .icon { flex: none; margin-top: 2px; }

.rm-dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 3px rgba(55, 224, 230, .18), 0 0 12px rgba(55, 224, 230, .7); }
[data-state="connecting"] > .rm-dot { background: var(--gold); box-shadow: 0 0 0 3px rgba(242, 180, 65, .18), 0 0 12px rgba(242, 180, 65, .6); }
[data-state="offline"] > .rm-dot { background: #ff8a76; box-shadow: 0 0 0 3px rgba(255, 138, 118, .16); }

/* the join screen: first thing an official sees on a phone */
.rm-join .pub-head { padding-bottom: 28px; }
.rm-join .pub-head h1 { font-size: clamp(30px, 8.4vw, 40px); }
.rm-conn { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--ink-2); }
.rm-choices { display: grid; gap: 14px; margin: 0 0 18px; }
.rm-choice { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 104px; padding: 18px 18px 18px 16px; border-radius: 20px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-md); transition: transform .12s, border-color .15s, box-shadow .15s; }
.rm-choice:hover { color: var(--ink); border-color: var(--sea-300); transform: translateY(-1px); }
.rm-choice:active { transform: scale(.99); }
.rm-choice:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.rm-choice-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: #a6eef2; background: linear-gradient(160deg, #12365a, #081828); box-shadow: inset 0 0 0 1px rgba(108, 207, 230, .28); }
.rm-choice-t { display: grid; gap: 4px; min-width: 0; }
.rm-choice-t b { font-size: 19px; font-weight: 680; letter-spacing: -.03em; line-height: 1.15; }
.rm-choice-t span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.rm-choice-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--sea-600); background: var(--sea-50); }
.rm-choice.is-primary { background: radial-gradient(120% 130% at 100% 0%, rgba(55, 224, 230, .22), transparent 58%), linear-gradient(165deg, #0c2137, #06111c); border-color: rgba(108, 207, 230, .3); color: #fff; box-shadow: 0 24px 50px -26px rgba(4, 10, 18, .85), 0 0 0 1px rgba(55, 224, 230, .12); }
.rm-choice.is-primary:hover { color: #fff; border-color: rgba(108, 207, 230, .6); }
.rm-choice.is-primary .rm-choice-ico { color: var(--aqua-ink); background: linear-gradient(180deg, #86f6f1, #2fd6de); box-shadow: 0 0 0 1px rgba(55, 224, 230, .6), 0 10px 28px -10px rgba(55, 224, 230, .6); }
.rm-choice.is-primary .rm-choice-t span { color: var(--deep-muted); }
.rm-choice.is-primary .rm-choice-go { color: var(--aqua-ink); background: var(--aqua); }
.rm-extra { margin: 0 0 18px; }
@media (min-width: 700px) { .rm-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rm-choice { min-height: 150px; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; align-items: start; } .rm-choice-ico { grid-column: 1; } .rm-choice-t { grid-column: 1 / -1; grid-row: 2; align-self: end; } .rm-choice-go { grid-column: 2; grid-row: 1; } }

/* Live operations: devices chip and Invite */
.rm-top { display: flex; align-items: center; gap: 10px; }
.rm-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: var(--deep-text); background: rgba(10, 24, 39, .6); border: 1px solid var(--deep-line); white-space: nowrap; }
.rm-chip .rm-n { font-weight: 700; color: #fff; }
.rm-chip .rm-l { margin-left: -4px; color: var(--deep-muted); }
.rm-chip .rm-n:empty + .rm-l { margin-left: 0; }
@media (max-width: 900px) { .cc-top { flex-wrap: wrap; } .rm-top { order: 3; width: 100%; justify-content: space-between; } }

/* Invite overlay: the shared screen of a video call. White panel so the QR code scans from across a room. */
.rm-lock { overflow: hidden; }
.rm-invite { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 2.5vh 3vw; overflow-y: auto; color: var(--deep-text); background: radial-gradient(60% 70% at 50% 40%, rgba(14, 112, 150, .5), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(242, 180, 65, .1), transparent 70%), var(--deep); }
.rm-invite::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(108, 207, 230, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 207, 230, .05) 1px, transparent 1px); background-size: 54px 54px; -webkit-mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); mask-image: radial-gradient(70% 70% at 50% 45%, #000, transparent); }
.rm-invite-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: clamp(10px, 2.2vh, 24px); width: min(94vw, 980px); text-align: center; }
.rm-invite-head .eyebrow { color: #6fe8ee; }
.rm-invite-head h2 { margin: 6px 0 0; color: #fff; font-size: clamp(22px, 4vh, 44px); font-weight: 680; letter-spacing: -.04em; line-height: 1.08; }
.rm-invite-panel { padding: clamp(10px, 1.8vh, 22px); border-radius: clamp(18px, 3vh, 30px); background: #fff; box-shadow: 0 0 0 1px rgba(55, 224, 230, .4), 0 0 80px -10px rgba(55, 224, 230, .45), 0 40px 90px -30px rgba(0, 0, 0, .8); }
.rm-invite-qr svg { display: block; width: min(61vh, 82vw, 680px); height: auto; aspect-ratio: 1; }
.rm-invite-link { max-width: 100%; }
.rm-invite-url { display: block; font-size: clamp(22px, 4.6vh, 52px); font-weight: 680; letter-spacing: -.035em; line-height: 1.15; color: #fff; word-break: break-all; font-feature-settings: "tnum", "cv11"; }
.rm-invite-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.rm-invite .btn { min-height: 48px; font-size: 16px; padding: 0 22px; }
.rm-invite .btn-secondary { background: linear-gradient(180deg, #86f6f1, #2fd6de); border-color: transparent; color: var(--aqua-ink); box-shadow: 0 0 0 1px rgba(55, 224, 230, .6), 0 10px 30px -8px rgba(55, 224, 230, .5); }
.rm-invite .btn-secondary:hover { background: linear-gradient(180deg, #abfbf7, #4be3e9); color: var(--aqua-ink); }
.rm-invite .btn-ghost { color: #e7f1f7; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); }
.rm-invite .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.rm-invite .btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.rm-invite-note { margin: 0; font-size: 14px; color: var(--deep-muted); }
@media (max-height: 940px) { .rm-invite-note { display: none; } }
.rm-invite:focus { outline: none; }

/* AI helper (presenter only): Read with AI, routing suggestions, reply drafts. All of it is drawn only for the host. */
.docs-pickcard.is-ai { background: linear-gradient(165deg, #0c2137, #06111c); border-color: rgba(108, 207, 230, .35); color: #fff; }
.docs-pickcard.is-ai .pc-ic { background: linear-gradient(180deg, #86f6f1, #2fd6de); color: var(--aqua-ink); }
.docs-pickcard.is-ai .pc-s { color: var(--deep-muted); }
.docs-pickcard.is-ai:hover { border-color: var(--aqua); }
.docs-pickcard.is-ai.is-active { box-shadow: 0 0 0 3px rgba(55, 224, 230, .28); border-color: var(--aqua); background: linear-gradient(165deg, #0c2137, #06111c); }
.docs-pickcard.is-ai.is-active .pc-ic { background: linear-gradient(180deg, #86f6f1, #2fd6de); color: var(--aqua-ink); }
.docs-pickcard.is-ai:disabled { opacity: .62; cursor: not-allowed; transform: none; box-shadow: none; }
.docs-aihint { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 9px 12px; font-size: var(--fs-sm); color: var(--ink-2); background: var(--sand); border: 1px solid var(--sand-200); border-radius: var(--r-md); }
.docs-aihint .icon { flex: none; margin-top: 2px; color: var(--sea-500); }
.docs-actions .docs-aihint { flex: 1 1 100%; }
.docs-aicard { border-color: rgba(10, 126, 164, .35); }
.docs-aik { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.docs-aitext-in { width: 100%; min-height: 110px; resize: vertical; font-family: inherit; }
.docs-aithumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.docs-aithumbs.one { grid-template-columns: minmax(150px, 220px); }
.docs-aithumb { appearance: none; position: relative; display: grid; grid-template-rows: auto auto auto; gap: 2px; text-align: left; padding: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-md); color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.docs-aithumb:hover:not(:disabled):not(.is-off) { border-color: var(--sea-500); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.docs-aithumb:focus-visible, .docs-aithumb:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.docs-aithumb:disabled, .docs-aithumb.is-off { opacity: .55; cursor: not-allowed; }
.docs-aithumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 4px; border: 1px solid var(--line); background: #fbf9f2; }
.docs-aithumb .at-t { font-weight: 650; font-size: 13px; line-height: 1.25; margin-top: 4px; }
.docs-aithumb .at-s { font-size: 11.5px; line-height: 1.3; color: var(--muted); }
.docs-aithumb.is-photo { place-content: center; justify-items: center; text-align: center; min-height: 120px; border-style: dashed; }
.docs-aithumb .at-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sea-100); color: var(--sea-700); }
.docs-aitext { padding: 16px; background: #fbf9f2; border: 1px solid var(--line); border-radius: 6px; }
.docs-aitext p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--fs-sm); line-height: 1.55; }
.docs-aitags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.docs-aitag { color: var(--sea-700); background: var(--sea-100); }
.docs-conf.b-ok { background: var(--ok-bg); color: var(--ok-ink); }
.docs-aireason { color: var(--ink-2); }
.docs-aireason-by { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-left: 2px; font-weight: 600; color: var(--sea-700); }
.docs-readstat.is-error { background: var(--overdue-bg); border-color: #f1c9c1; }
.docs-readstat.is-error .rs-ic { background: var(--overdue); }
.docs-readstat.is-error .rs-text { color: var(--overdue-ink); }
.docs-readbar.indet span { width: 40% !important; animation: docs-indet 1.3s ease-in-out infinite; }
@keyframes docs-indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .docs-readbar.indet span { animation: none; width: 100% !important; opacity: .5; } }
.docs-aisum { margin: 0; font-size: var(--fs-md, 16px); line-height: 1.55; }
.docs-aisug .kv dd, .docs-aisug .kv dt { overflow-wrap: anywhere; }

/* the reply draft: editable, on letter paper */
.docs-draft .dp-sheet { padding-bottom: clamp(22px, 5cqw, 40px); }
.docs-draft-subj { display: flex; gap: .4em; align-items: baseline; margin: .4em 0 1em; }
.docs-draft-subj b { flex: none; }
.docs-draft-subject, .docs-draft-body { width: 100%; font: inherit; color: inherit; text-shadow: inherit; background: rgba(255, 255, 255, .55); border: 1px dashed rgba(75, 74, 68, .35); border-radius: .3em; padding: .3em .5em; }
.docs-draft-body { display: block; min-height: 260px; resize: none; line-height: 1.55; white-space: pre-wrap; overflow: hidden; }
.docs-draft-subject:focus, .docs-draft-body:focus { outline: 2px solid var(--focus); outline-offset: 1px; background: #fff; border-style: solid; }
.dp-pre { white-space: pre-line; text-indent: 0; }
#ot-print-root .docs-paper { box-shadow: none; background: #fff; border-radius: 0; }
#ot-print-root .docs-printdraft .dp-sheet { filter: none; background: #fff; text-shadow: none; padding: 0; font-size: 12pt; line-height: 1.5; }
#ot-print-root .docs-printdraft .dp-p, #ot-print-root .docs-printdraft .dp-pre { text-align: left; margin: 0 0 .8em; }
@media (max-width: 640px) { .docs-aithumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .docs-aithumbs.one { grid-template-columns: 1fr; } }
.docs-aicard .field > div:last-child { margin-top: 10px; }
.docs-aicard .stack > .docs-aik { margin: 10px 0 -2px; }

/* AI opened to everyone: the presenter's switch (light panels and the dark Live operations bar) and the quiet line everyone else sees */
.ai-switch { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 6px 10px 6px 8px; border-radius: 999px; background: var(--sea-50, #eef6f9); border: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.ai-sw { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 4px; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.ai-sw:disabled { opacity: .6; cursor: progress; }
.ai-sw:focus-visible, .ai-close:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
.ai-sw-track { position: relative; flex: none; width: 40px; height: 24px; border-radius: 999px; background: #9aa9b3; transition: background .15s; }
.ai-sw-knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .15s; }
.ai-sw[aria-checked="true"] .ai-sw-track { background: var(--ok, #2e8b57); }
.ai-sw[aria-checked="true"] .ai-sw-knob { transform: translateX(16px); }
.ai-count { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ai-close { min-height: 32px; }
.ai-sw-hint { flex-basis: 100%; font-size: 12.5px; color: var(--muted); padding-left: 52px; }
.ai-switch.is-open { background: var(--ok-bg, #e6f4ec); border-color: rgba(46, 139, 87, .35); }
.rm-top .ai-switch { min-height: 36px; padding: 0 10px 0 6px; gap: 6px 10px; background: rgba(10, 24, 39, .6); border-color: var(--deep-line); color: var(--deep-text); font-size: 13px; }
.rm-top .ai-switch.is-open { border-color: rgba(55, 224, 230, .5); }
.rm-top .ai-sw-hint { color: var(--deep-muted); }
.rm-top .ai-close { color: var(--deep-text); }
.ai-openline { display: flex; align-items: center; gap: 8px; margin: 4px 2px 0; font-size: 13px; color: var(--muted); }
.ai-openline .icon { flex: none; color: var(--sea-500); }
@media (max-width: 900px) { .rm-top { flex-wrap: wrap; } }

/* ------------------------------------------------------------------ the municipal seal */
.logo img { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.pubhead .brand .logo { width: 46px !important; height: 46px !important; }
.rail .brand .logo { width: 42px !important; height: 42px !important; }
.cc-brand .logo { width: 44px !important; height: 44px !important; }
.pubfoot .brand .logo { width: 54px !important; height: 54px !important; }
.th-lockup { display: flex; align-items: center; gap: 18px; margin: 0 0 26px; }
.th-lockup .logo { flex: none; filter: drop-shadow(0 0 22px rgba(242, 180, 65, .28)); }
.th-lockup-place { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: rgba(190, 214, 228, .82); }
.th-lockup .pub-welcome { margin: 0; }
.th-lockup .pub-welcome::before { display: none; }
.th-login-seal { margin-bottom: 18px; }
.docs-slip .sl-head .logo { width: 46px !important; height: 46px !important; }
@media (max-width: 640px) {
  .th-lockup { gap: 12px; margin-bottom: 18px; }
  .th-lockup .logo { width: 54px !important; height: 54px !important; }
  .th-lockup-place { font-size: 9.5px; letter-spacing: .14em; }
}

/* ------------------------------------------------------------------ presenter story: the join page and the Live operations QR */
/* /join is passive: a dark panel with the living map and the last few public-safe lines, then clearly optional choices */
.rm-join-live { overflow: hidden; margin: 0 0 22px; border-radius: 20px; color: var(--deep-text); background: radial-gradient(70% 60% at 60% 20%, rgba(14, 112, 150, .45), transparent 70%), var(--deep); border: 1px solid var(--deep-line); box-shadow: var(--shadow-md); }
.rm-join-map { position: relative; width: 100%; height: clamp(250px, 62vw, 380px); pointer-events: none; }
.rm-join-cap { padding: 0 16px 12px; }
.rm-join-cap .lv-cap { min-height: 28px; font-size: 13px; }
.rm-feed { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--deep-line); background: var(--deep-line); }
.rm-feed-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 16px; font-size: 13.5px; line-height: 1.35; color: #e3eef5; background: rgba(6, 17, 28, .96); }
.rm-feed-row.is-empty { color: var(--deep-muted); }
.rm-feed-t { flex: none; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--deep-muted); }
.rm-feed-row.is-new { animation: cc-new 2.4s ease-out; }
.rm-optional { margin: 0 0 18px; }
.rm-optional-h { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rm-optional .rm-choices { gap: 10px; margin: 0; }
.rm-optional .rm-choice { min-height: 80px; padding: 14px 14px 14px 12px; box-shadow: var(--shadow-sm, none); }
.rm-optional .rm-choice-ico { width: 46px; height: 46px; border-radius: 14px; }
.rm-optional .rm-choice-t b { font-size: 17px; }
.rm-optional .rm-choice-t span { font-size: 13.5px; }
@media (min-width: 700px) {
  .rm-optional .rm-choices { grid-template-columns: 1fr; }
  .rm-optional .rm-choice { min-height: 84px; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto; align-items: center; }
  .rm-optional .rm-choice-ico { grid-column: auto; } .rm-optional .rm-choice-t { grid-column: auto; grid-row: auto; align-self: center; } .rm-optional .rm-choice-go { grid-column: auto; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .rm-feed-row.is-new { animation: none; } }

/* Live operations: a small QR code of the join page in a corner of the map, for latecomers */
.cc-qr { position: absolute; z-index: 3; top: 10px; right: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 8px 7px; border-radius: 12px; background: rgba(6, 17, 28, .78); border: 1px solid var(--deep-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cc-qr-code { display: block; line-height: 0; border-radius: 6px; overflow: hidden; background: #fff; }
.cc-qr-code svg { display: block; width: 96px; height: 96px; }
.cc-qr-l { max-width: 112px; font-size: 10px; font-weight: 650; letter-spacing: .12em; line-height: 1.25; text-align: center; text-transform: uppercase; color: #a6eef2; }
.cc-qr.is-left { right: auto; left: 14px; }
@media (max-width: 820px) { .cc-qr.is-left { left: 8px; } }
@media (max-width: 820px) { .cc-qr { top: 6px; right: 8px; padding: 6px 6px 5px; } .cc-qr-code svg { width: 72px; height: 72px; } .cc-qr-l { max-width: 84px; font-size: 9px; } }

/* the presenter guide, fifteen-step story: deep-ocean colours for the checklist, the questions list, the chip, the clock and the act line */
.pg-act { color: #f8cf7c; }
.pg-count { white-space: nowrap; }
.pg-target { color: var(--deep-muted); background: rgba(255, 255, 255, .06); border-color: var(--deep-line); }
.pg-line2 { color: var(--deep-muted); }
.pg-note.work { color: #a6eef2; }
.pg-ck { border-bottom-color: rgba(108, 207, 230, .12); }
.pg-ck-ic { color: #ff9c8a; }
.pg-ck[data-ok="1"] .pg-ck-ic { color: #8fe3b3; }
.pg-ck-ic.is-dot::before { background: rgba(165, 194, 212, .5); }
.pg-ck-t b { color: #fff; }
.pg-ck-s { color: var(--deep-muted); }
.pg-ck[data-ok="1"] .pg-ck-s { color: #8fe3b3; }
.pg-cmd { color: #a6eef2; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(108, 207, 230, .25); }
.pg-ck.is-tick label { color: var(--deep-text); }
.pg-ck.is-tick input { accent-color: #2fd6de; }
.pg-qs { background: transparent; border-top-color: var(--deep-line); }
.pg-q { border-bottom-color: rgba(108, 207, 230, .12); }
.pg-q summary { color: #fff; }
.pg-q summary::after { border-color: var(--deep-muted); }
.pg-qa { color: rgba(205, 222, 234, .9); }
.pg-qnote { color: var(--deep-muted); }
.pg-mine { color: #ffe3a6; background: rgba(242, 180, 65, .12); box-shadow: inset 3px 0 0 var(--gold); }
.pg-second .btn-gold { color: #2a1a00; }
.pg-chip[data-chip="live"] { color: var(--aqua-ink, #04222a); background: linear-gradient(180deg, #86f6f1, #2fd6de); }
.pg-clock.is-late { color: #2a1a00; background: var(--gold); }
.pg-panel .pg-second .btn { background: rgba(242, 180, 65, .14); border-color: rgba(242, 180, 65, .55); color: #ffe3a6; }
.pg-panel .pg-second .btn:hover { background: rgba(242, 180, 65, .26); border-color: var(--gold); color: #fff; }
.rm-join-map { height: clamp(290px, 78vw, 420px); }
.rm-join-cap .lv-cap-text { white-space: normal; }

/* ------------------------------------------------------------------ procurement: every step on a card is as quiet as Advance; the card's gold edge says it is yours */
.proc-card .proc-c-act .btn { background: var(--surface); border-color: var(--line-strong); color: var(--ink); box-shadow: none; min-height: 34px; font-size: 13px; }
.proc-card .proc-c-act .btn:hover:not(:disabled) { background: #0b2036; border-color: #0b2036; color: #fff; }
.proc-card .proc-c-act .btn:disabled { opacity: .55; cursor: not-allowed; }
