/* TeamSport Navigator. Brand tokens follow the TeamSport UK site: Electric Blue
   accents, the red Book Now gradient, Rich Yellow highlights, Bebas capitals
   for headings and a condensed DIN-style face for data. */
:root {
  --bg: #060a1a;
  --bg2: #0a1026;
  --panel: rgba(16, 24, 56, 0.72);
  --panel-solid: #0e1533;
  --panel2: #131c42;
  --hair: rgba(120, 160, 255, 0.14);
  --hair2: rgba(120, 160, 255, 0.24);
  --ink: #eef2ff;
  --ink2: #c4cbe6;
  --muted: #8e98bd;
  --faint: #5d6890;
  --blue: #0085ca;
  --blue-hi: #27a9ef;
  --blue-soft: rgba(0, 133, 202, 0.16);
  --red: #d12a2a;
  --red2: #b91c1c;
  --alert: #f9423a;
  --yellow: #eec100;
  --orange: #ed8b00;
  --green: #26d07c;
  --violet: #b79dff;
  --charcoal: #474b50;
  --radius: 14px;
  --display: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --cond: 'Barlow Condensed', 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Roboto', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: var(--body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; min-height: 100vh;
  background: radial-gradient(1400px 800px at 75% -10%, #13205a 0%, rgba(10, 16, 38, 0) 60%), radial-gradient(900px 600px at -10% 110%, #0b1a44 0%, rgba(6, 10, 26, 0) 60%), var(--bg); background-attachment: fixed; }
a { color: var(--blue-hi); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 18px; padding: 22px 16px 18px; border-right: 1px solid var(--hair); background: linear-gradient(180deg, rgba(8, 13, 32, 0.96), rgba(6, 10, 26, 0.96)); }
.brand { display: flex; flex-direction: column; gap: 6px; padding: 0 6px 14px; border-bottom: 1px solid var(--hair); }
.brand img { width: 150px; height: auto; display: block; }
.brand .prod { font-family: var(--display); font-size: 22px; letter-spacing: 0.06em; line-height: 1; color: var(--blue-hi); }
.brand .prod b { color: #fff; font-weight: 400; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav .grp { font-family: var(--cond); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); padding: 12px 10px 4px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px; color: var(--ink2); font-family: var(--cond); font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; position: relative; }
.nav a svg { width: 17px; height: 17px; flex: none; opacity: 0.8; }
.nav a:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.nav a.on { background: linear-gradient(90deg, rgba(0, 133, 202, 0.24), rgba(0, 133, 202, 0.04)); color: #fff; }
.nav a.on::before { content: ''; position: absolute; left: -16px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue-hi); }
.nav a .live { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(38, 208, 124, 0.6); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(38, 208, 124, 0.55); } 80%, 100% { box-shadow: 0 0 0 7px rgba(38, 208, 124, 0); } }
.side .foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px 8px 0; border-top: 1px solid var(--hair); font-size: 12px; color: var(--muted); }
.side .foot .who { display: flex; align-items: center; gap: 9px; color: var(--ink2); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--blue), #0b3d7a); font-family: var(--cond); font-weight: 600; font-size: 13px; color: #fff; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; padding: 12px 28px; border-bottom: 1px solid var(--hair); background: rgba(6, 10, 26, 0.82); backdrop-filter: blur(14px); }
.crumb { font-family: var(--cond); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.crumb b { color: #fff; font-weight: 500; }
.top .sp { flex: 1; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--hair2); font-family: var(--cond); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; }
.pill.demo { border-color: rgba(238, 193, 0, 0.45); color: var(--yellow); background: rgba(238, 193, 0, 0.07); }
.pill.ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.menu-btn { display: none; background: none; border: 1px solid var(--hair2); border-radius: 9px; width: 36px; height: 36px; place-items: center; cursor: pointer; }
.page { padding: 26px 28px 60px; display: flex; flex-direction: column; gap: 20px; max-width: 1560px; width: 100%; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--cond); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-hi); font-weight: 600; }
.h1 { font-family: var(--display); font-size: clamp(34px, 3.6vw, 50px); line-height: 0.98; letter-spacing: 0.01em; text-transform: uppercase; }
.h1 em { font-style: normal; color: var(--yellow); }
.lede { color: var(--ink2); max-width: 860px; font-size: 16px; }
.title-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px; justify-content: space-between; }
.title-row > div { display: flex; flex-direction: column; gap: 8px; }
.speed { display: block; width: 74px; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--red), #e4157a); margin-top: 4px; }
.h2 { font-family: var(--display); font-size: 26px; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
.h3 { font-family: var(--cond); font-size: 18px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }
.lab { font-family: var(--cond); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.small { font-size: 13px; color: var(--muted); }
.note { font-size: 12.5px; color: var(--faint); max-width: 980px; }

/* ---------- panels and tiles ---------- */
.panel { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--radius); padding: 18px; min-width: 0; }
.panel.tight { padding: 14px; }
.panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.split { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) 380px; }
.kpi { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hair); background: rgba(16, 24, 56, 0.6); min-width: 0; }
.kpi .v { font-family: var(--cond); font-size: 30px; font-weight: 600; line-height: 1.05; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.kpi .x { font-size: 12.5px; color: var(--muted); }
.kpi.hero { border-color: rgba(39, 169, 239, 0.5); background: linear-gradient(150deg, rgba(0, 133, 202, 0.24), rgba(16, 24, 56, 0.6)); }
.kpi.hero .v { color: #bfe6ff; }
.kpi.warn .v { color: #ffb3ae; }
.kpi .delta { font-family: var(--cond); font-size: 13px; font-weight: 600; }
.up { color: var(--green); }
.down { color: var(--alert); }

/* ---------- controls ---------- */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--hair); }
.seg button { height: 30px; padding: 0 14px; border: 0; border-radius: 999px; background: none; cursor: pointer; color: var(--muted); font-family: var(--cond); font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; }
.seg button:hover { color: #fff; }
.seg button.on { background: rgba(0, 133, 202, 0.32); color: #fff; }
select.sel, input.inp { height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hair2); background: rgba(255, 255, 255, 0.04); color: var(--ink); font: 500 14px var(--body); outline: none; max-width: 100%; }
select.sel option { background: #0e1533; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 9px; border: 1px solid var(--hair2); background: rgba(255, 255, 255, 0.04); cursor: pointer; font-family: var(--cond); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.btn:hover { border-color: var(--blue-hi); }
.btn.primary { border: 0; background: linear-gradient(180deg, var(--red), var(--red2)); color: #fff; box-shadow: 0 6px 18px rgba(209, 42, 42, 0.3); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.blue { border: 0; background: var(--blue); color: #fff; }
.btn.sm { height: 28px; padding: 0 11px; font-size: 13px; border-radius: 7px; }
.btn.ghost { background: none; }
.round { width: 40px; height: 40px; padding: 0; border-radius: 50%; }
input[type=range] { accent-color: var(--blue-hi); width: 100%; }
.slider { display: flex; flex-direction: column; gap: 4px; }
.slider .row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.slider .row b { font-family: var(--cond); font-size: 17px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--hair2); font-family: var(--cond); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink2); white-space: nowrap; font-weight: 500; }
.chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.chip.m { color: #ffd0cd; border-color: rgba(249, 66, 58, 0.45); background: rgba(249, 66, 58, 0.1); }
.chip.f { color: #bfe6ff; border-color: rgba(39, 169, 239, 0.45); background: rgba(39, 169, 239, 0.1); }
.chip.d { color: #ffe9a0; border-color: rgba(238, 193, 0, 0.4); background: rgba(238, 193, 0, 0.08); }
.chip.s { color: #ddd0ff; border-color: rgba(183, 157, 255, 0.45); background: rgba(183, 157, 255, 0.1); }
.chip.g { color: #b6f5d4; border-color: rgba(38, 208, 124, 0.45); background: rgba(38, 208, 124, 0.1); }
.chip.o { color: #ffd59a; border-color: rgba(237, 139, 0, 0.45); background: rgba(237, 139, 0, 0.1); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }
.dot.ghost { background: none !important; border: 1.5px dashed var(--violet); }

/* ---------- tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-family: var(--cond); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 8px 10px; border-bottom: 1px solid var(--hair2); white-space: nowrap; position: sticky; top: 0; background: var(--panel-solid); z-index: 1; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.tbl tr.click { cursor: pointer; }
.tbl tr.click:hover td { background: rgba(0, 133, 202, 0.07); }
.tbl tr.sel td { background: rgba(0, 133, 202, 0.12); }
.tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.scroll { overflow: auto; }

/* ---------- company brain ---------- */
.stage { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--hair); height: clamp(440px, 68vh, 760px); background: radial-gradient(1100px 680px at 50% 46%, #11204f 0%, #0a1230 45%, #060a1a 100%); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.stage .corner { position: absolute; font-family: var(--cond); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); pointer-events: none; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.legend b { color: #fff; font-family: var(--cond); font-size: 15px; font-weight: 600; }
.aside { display: flex; flex-direction: column; gap: 14px; height: clamp(440px, 68vh, 760px); overflow: auto; }
.sec { display: flex; flex-direction: column; gap: 7px; border-top: 1px solid var(--hair); padding-top: 12px; }
.flow { display: flex; flex-direction: column; }
.flow .st { position: relative; display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; padding-bottom: 10px; }
.flow .st:not(:last-child)::after { content: ''; position: absolute; left: 8px; top: 18px; bottom: 0; width: 2px; background: var(--hair2); }
.flow .st .b { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.2); background: #0b1230; }
.flow .st .b.hot { border-color: var(--alert); box-shadow: 0 0 10px rgba(249, 66, 58, 0.6); }
.flow .st .t { font-size: 14px; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.tag-red { font-family: var(--cond); font-size: 12px; letter-spacing: 0.04em; padding: 1px 8px; border-radius: 999px; color: #ff9f99; background: rgba(249, 66, 58, 0.14); border: 1px solid rgba(249, 66, 58, 0.3); }
.bar { height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 4px; }
.journey { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.journey .when { min-width: 140px; font-family: var(--cond); font-size: 20px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.1; }
.journey .when small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.journey .rng { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ticks { display: flex; justify-content: space-between; font-family: var(--cond); font-size: 12px; color: var(--faint); letter-spacing: 0.04em; }
.areas { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding: 14px; position: absolute; inset: 0; overflow: auto; align-content: start; }
.area-card { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; border: 1px solid var(--hair); background: rgba(14, 21, 51, 0.8); }
.wf-btn { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 8px; align-items: center; text-align: left; padding: 5px 6px; border: 0; border-radius: 7px; background: none; cursor: pointer; font-size: 14px; color: var(--ink2); }
.wf-btn:hover { background: rgba(0, 133, 202, 0.12); color: #fff; }

/* ---------- charts ---------- */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font-family: var(--cond); fill: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.chart .axis { stroke: rgba(255, 255, 255, 0.12); }
.chart .gridl { stroke: rgba(255, 255, 255, 0.06); }
.tip { position: fixed; z-index: 60; pointer-events: none; padding: 9px 11px; border-radius: 9px; background: #0b1230; border: 1px solid var(--hair2); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); font-size: 13px; color: var(--ink2); min-width: 160px; display: none; }
.tip b { color: #fff; font-family: var(--cond); font-size: 15px; letter-spacing: 0.03em; }
.tip .r { display: flex; justify-content: space-between; gap: 14px; }

/* ---------- pricing ---------- */
.heat { display: grid; gap: 3px; grid-template-columns: 54px repeat(13, minmax(0, 1fr)); font-family: var(--cond); }
.heat .hd { font-size: 12px; color: var(--faint); text-align: center; letter-spacing: 0.04em; }
.heat .rl { font-size: 13px; color: var(--muted); display: flex; align-items: center; text-transform: uppercase; letter-spacing: 0.06em; }
.heat .c { border-radius: 6px; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; border: 1px solid transparent; transition: transform 0.12s; }
.heat .c:hover { border-color: rgba(255, 255, 255, 0.5); transform: scale(1.04); }
.heat .c.on { border-color: #fff; }
.heat .c b { font-size: 15px; font-weight: 600; color: #fff; line-height: 1.1; }
.heat .c s { text-decoration: none; font-size: 11px; color: rgba(255, 255, 255, 0.7); }
.scale { display: flex; align-items: center; gap: 8px; font-family: var(--cond); font-size: 12px; color: var(--muted); }
.scale .g { width: 160px; height: 8px; border-radius: 4px; }
.guard { display: flex; flex-direction: column; gap: 14px; }

/* ---------- signals ---------- */
.feed { display: flex; flex-direction: column; gap: 10px; }
.sig { display: grid; grid-template-columns: 4px minmax(0, 1fr); gap: 0; border-radius: 12px; border: 1px solid var(--hair); background: rgba(14, 21, 51, 0.82); overflow: hidden; animation: slidein 0.45s ease-out; }
@keyframes slidein { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.sig .rail { background: var(--blue); }
.sig.hi .rail { background: var(--alert); }
.sig.md .rail { background: var(--orange); }
.sig.op .rail { background: var(--green); }
.sig .bd { padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; }
.sig .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-family: var(--cond); font-size: 13px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }
.sig .meta .src { color: var(--blue-hi); font-weight: 600; }
.sig .ttl { font-size: 15.5px; font-weight: 600; color: #fff; }
.sig .act { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; align-items: start; padding: 9px 11px; border-radius: 9px; background: rgba(0, 133, 202, 0.1); border: 1px solid rgba(39, 169, 239, 0.22); font-size: 14px; color: var(--ink2); }
.sig .act .lab { padding-top: 2px; color: var(--blue-hi); }
.sig .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.sig.done { opacity: 0.6; }
.venues { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.vt { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--hair); background: rgba(14, 21, 51, 0.7); display: flex; flex-direction: column; gap: 3px; transition: border-color 0.4s, background 0.4s; }
.vt .n { font-family: var(--cond); font-size: 15px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; color: #fff; display: flex; justify-content: space-between; gap: 6px; }
.vt .n small { color: var(--muted); font-weight: 500; font-size: 12px; }
.vt.flash { border-color: var(--orange); background: rgba(237, 139, 0, 0.12); }
.vt.flash-hi { border-color: var(--alert); background: rgba(249, 66, 58, 0.12); }
.vt svg { display: block; width: 100%; height: 26px; }
.log { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.log .li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--hair); }
.log .li .tm { font-family: var(--cond); color: var(--faint); }

/* ---------- t-map ---------- */
.tmap { display: grid; gap: 8px; grid-template-columns: 210px repeat(3, minmax(0, 1fr)); }
.tmap .hd { font-family: var(--display); font-size: 21px; letter-spacing: 0.04em; padding: 6px 4px; text-transform: uppercase; }
.tmap .hd small { display: block; font-family: var(--cond); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); }
.tmap .dom { font-family: var(--cond); font-size: 15px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink2); padding: 10px 6px; border-top: 1px solid var(--hair); }
.tmap .cell { display: flex; flex-direction: column; gap: 6px; padding: 6px 0; border-top: 1px solid var(--hair); }
.card { text-align: left; border-radius: 9px; padding: 8px 10px; border: 1px solid var(--hair); background: rgba(14, 21, 51, 0.8); cursor: pointer; display: flex; flex-direction: column; gap: 4px; border-left-width: 3px; }
.card:hover { background: rgba(0, 133, 202, 0.12); }
.card.on { outline: 1px solid #fff; }
.card .rf { font-family: var(--cond); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
.card .tt { font-size: 13.5px; color: var(--ink); line-height: 1.3; }
.card.Mandatory { border-left-color: var(--alert); }
.card.Foundational { border-left-color: var(--blue-hi); }
.card.Desirable { border-left-color: var(--yellow); }
.card.Moonshot { border-left-color: var(--violet); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(460px, 100vw); background: #0b1230; border-left: 1px solid var(--hair2); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5); padding: 22px; overflow: auto; transform: translateX(105%); transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1); display: flex; flex-direction: column; gap: 14px; }
.drawer.open { transform: none; }
.xbtn { align-self: flex-end; background: none; border: 1px solid var(--hair2); border-radius: 8px; height: 30px; padding: 0 10px; cursor: pointer; color: var(--muted); font-family: var(--cond); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- ask ---------- */
.ask { display: flex; gap: 10px; }
.ask input { flex: 1; height: 50px; border-radius: 12px; border: 1px solid var(--hair2); background: rgba(255, 255, 255, 0.04); color: #fff; font: 500 16px var(--body); padding: 0 16px; outline: none; }
.ask input:focus { border-color: var(--blue-hi); }
.sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.sugg button { border: 1px solid var(--hair2); background: rgba(255, 255, 255, 0.03); border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 13.5px; color: var(--ink2); }
.sugg button:hover { border-color: var(--blue-hi); color: #fff; }
.answer { display: flex; flex-direction: column; gap: 12px; }
.answer p { margin: 0; color: var(--ink2); }
.src-row { display: flex; flex-wrap: wrap; gap: 6px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-hi); animation: bl 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bl { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* ---------- systems ---------- */
.sys { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 12px; border: 1px solid var(--hair); background: rgba(14, 21, 51, 0.7); }
.sys .hdr { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sys .nm { font-family: var(--cond); font-size: 18px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }

/* ---------- misc ---------- */
.find { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.find:last-child { border-bottom: 0; }
.find .t { font-weight: 600; color: #fff; }
.find .v { font-family: var(--cond); font-size: 20px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.find .d { grid-column: 1 / -1; font-size: 13.5px; color: var(--muted); }
.hero-band { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--hair); padding: 30px 30px 26px; background: linear-gradient(115deg, rgba(6, 12, 34, 0.96) 35%, rgba(6, 12, 34, 0.55)), radial-gradient(800px 400px at 85% 30%, #1c3f9a 0%, #0a1230 70%); }
.hero-band .lines { position: absolute; right: -60px; top: -40px; width: 520px; height: 420px; opacity: 0.55; pointer-events: none; }
.hero-band > * { position: relative; }
.steps { counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.steps > div { counter-increment: s; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: start; }
.steps > div::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); border: 1px solid rgba(39, 169, 239, 0.4); font-family: var(--cond); font-weight: 600; color: var(--blue-hi); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 70; padding: 10px 16px; border-radius: 10px; background: #0f1a44; border: 1px solid rgba(39, 169, 239, 0.45); color: #fff; font-size: 14px; transition: all 0.35s; pointer-events: none; }
.toast.on { opacity: 1; transform: translateX(-50%); }

@media (max-width: 1200px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .aside { height: auto; max-height: none; }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; z-index: 40; left: 0; width: 260px; transform: translateX(-102%); transition: transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1); }
  .side.open { transform: none; box-shadow: 20px 0 60px rgba(0, 0, 0, 0.5); }
  .menu-btn { display: grid; }
  .top { padding: 10px 16px; }
  .top .pill:not(.demo) { display: none; }
  .page { padding: 18px 16px 50px; }
  .g2, .g3 { grid-template-columns: minmax(0, 1fr); }
  .g5, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tmap { grid-template-columns: minmax(0, 1fr); }
  .tmap .hd.lead, .tmap .hz { display: none; }
  .heat { grid-template-columns: 40px repeat(13, minmax(26px, 1fr)); min-width: 560px; }
  .heat .c b { font-size: 12px; }
  .heat .c s { display: none; }
  .hero-band { padding: 22px 18px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.chart text { font-size: 13px; }
@media (max-width: 1200px) { .split { grid-template-columns: minmax(0, 1fr) !important; } }
@media (max-width: 900px) {
  .seg { flex-wrap: wrap; border-radius: 14px; }
  .title-row > div { min-width: 0; }
  .kpi .v { font-size: 24px; }
  .journey .when { min-width: 0; }
}
#case { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; align-items: end; }
@media (max-width: 900px) { #case { grid-template-columns: minmax(0, 1fr); } }

/* ---------- portfolio ---------- */
.ptiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.pt { display: flex; flex-direction: column; gap: 7px; text-align: left; padding: 14px; border-radius: 12px; border: 1px solid var(--hair); background: linear-gradient(170deg, rgba(20, 30, 70, 0.85), rgba(12, 18, 44, 0.85)); cursor: pointer; transition: border-color 0.2s, transform 0.2s; min-width: 0; }
.pt:hover { border-color: rgba(39, 169, 239, 0.6); transform: translateY(-2px); }
.pt-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.pt-n { font-family: var(--cond); font-size: 18px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; line-height: 1.1; color: #fff; }
.pt-p { font-size: 12.5px; color: var(--muted); }
.pt-v { font-family: var(--cond); font-size: 28px; font-weight: 600; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.pt-v small { font-size: 13px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0.03em; }
.pt svg { width: 100%; height: 24px; display: block; }
.pt-i { display: flex; flex-wrap: wrap; gap: 5px; min-height: 22px; }

/* ---------- fix board ---------- */
.kanban { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.kcol { display: flex; flex-direction: column; gap: 8px; border-radius: 12px; border: 1px solid var(--hair); background: rgba(10, 16, 40, 0.6); min-height: 420px; transition: background 0.2s, border-color 0.2s; }
.kcol.over { border-color: var(--blue-hi); background: rgba(0, 133, 202, 0.1); }
.kcol header { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 8px; border-radius: 12px 12px 0 0; }
.kdrop { display: flex; flex-direction: column; gap: 8px; padding: 0 8px 10px; flex: 1; }
.kcard { display: flex; flex-direction: column; gap: 7px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--hair2); background: linear-gradient(170deg, rgba(22, 33, 76, 0.95), rgba(13, 20, 48, 0.95)); cursor: grab; }
.kcard.drag { opacity: 0.4; }
.kcard .kt { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.3; }
.karrows { display: flex; gap: 4px; justify-content: flex-end; }
.karrows button { width: 24px; height: 22px; border: 1px solid var(--hair); border-radius: 6px; background: none; color: var(--muted); cursor: pointer; font-size: 9px; }
.karrows button:hover { color: #fff; border-color: var(--blue-hi); }
@media (max-width: 900px) { .kanban { grid-template-columns: repeat(5, 260px); } }

/* ---------- sentiment heatmap ---------- */
.shm { display: flex; flex-direction: column; gap: 3px; min-width: 760px; }
.shm-row { display: grid; grid-template-columns: 200px 120px 44px repeat(9, minmax(48px, 1fr)); gap: 3px; align-items: stretch; cursor: pointer; border-radius: 6px; }
.shm-row.months { grid-template-columns: 200px 120px 44px repeat(var(--m), minmax(60px, 1fr)); }
.shm-row:not(.shm-head):hover { background: rgba(255, 255, 255, 0.04); }
.shm-row > span { display: flex; align-items: center; font-size: 13.5px; min-height: 26px; }
.shm-head { cursor: default; position: sticky; top: 0; }
.shm-head > span { font-family: var(--cond); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); justify-content: center; }
.shm-head > span:first-child { justify-content: flex-start; }
.shm-est { cursor: default; border-bottom: 1px solid var(--hair2); padding-bottom: 4px; margin-bottom: 3px; }
.shm-est > span:first-child { font-family: var(--cond); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue-hi); }
.shm-est .shc { font-family: var(--cond); font-size: 12.5px; color: #fff; justify-content: center; }
.shn { color: #fff; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 4px; }
.shnps { position: relative; gap: 6px; }
.shnps i { display: block; height: 8px; border-radius: 4px; max-width: 78px; }
.shnps b { font-family: var(--cond); font-size: 15px; color: #fff; }
.shc { border-radius: 5px; transition: transform 0.12s; }
.shc:hover { transform: scale(1.08); outline: 1px solid rgba(255, 255, 255, 0.6); }
.shc.worst { outline: 2px solid #fff; outline-offset: -2px; }
.shm-row > span:nth-child(3) { justify-content: center; font-family: var(--cond); color: var(--ink2); }
