@font-face{font-family:"Geist";src:url("geist.acbd0c6c3b4d.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("geist-mono.66c377ff60b6.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"Geist Fallback";src:local("Arial"),local("Liberation Sans"),local("Helvetica");size-adjust:105.85%;ascent-override:94.94%;descent-override:27.87%;line-gap-override:0%}
@font-face{font-family:"Geist Mono Fallback";src:local("Courier New"),local("Liberation Mono"),local("Menlo");size-adjust:99.98%;ascent-override:100.52%;descent-override:29.5%;line-gap-override:0%}
:root{--surface-0: #0a0c0f;   
  --surface-1: #12161b;   
  --surface-2: #1a2027;   
  --surface-3: #222a33;   
  --petrol: #0e3b43;      
  --petrol-deep: #082429;
  --border-subtle: #26303a;
  --border-strong: #3a4652;

  
  --text-primary: #eef2f4;
  --text-secondary: #a9b4bc;
  --text-tertiary: #86929c;
  --text-on-accent: #03161a;

  
  --accent: #39d0e0;
  --accent-strong: #22b3c4;
  --accent-soft: rgba(57, 208, 224, 0.12);
  --accent-border: rgba(57, 208, 224, 0.35);

  
  --accent-2: #f2a33a;
  --accent-2-soft: rgba(242, 163, 58, 0.12);

  
  --diag: #ff5a4e;


  --font-sans: "Geist", "Geist Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", "Geist Mono Fallback", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  --step-xs: clamp(0.78rem, 0.76rem + 0.1vw, 0.85rem);
  --step-sm: clamp(0.88rem, 0.85rem + 0.15vw, 0.95rem);
  --step-base: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  --step-md: clamp(1.15rem, 1.1rem + 0.3vw, 1.3rem);
  --step-lg: clamp(1.4rem, 1.3rem + 0.6vw, 1.75rem);
  --step-xl: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
  --step-2xl: clamp(2.4rem, 1.9rem + 2.4vw, 3.6rem);
  --step-3xl: clamp(3rem, 2.2rem + 3.8vw, 4.75rem);
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;

  
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.25rem;
  --space-xl: 3.5rem;
  --space-2xl: 5.5rem;
  --space-3xl: 8rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.45);
  --shadow-accent: 0 0 0 1px var(--accent-border), 0 8px 24px rgba(57, 208, 224, 0.15);

  --container-max: 1280px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 260ms;
  --dur-slow: 480ms;

  color-scheme: dark;}
/* ---- TensorLynx app ---------------------------------------------------------------------------------------- */
:root { --ok: #4fd18b; --ok-soft: rgba(79,209,139,.12); --warn: #f2a33a; --warn-soft: rgba(242,163,58,.12); --err: #ff6b61; --err-soft: rgba(255,90,78,.12); --side-w: 264px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface-0); color: var(--text-primary); font: 400 var(--step-base)/1.55 var(--font-sans); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: var(--leading-tight); letter-spacing: -.01em; font-weight: 600; }
p { margin: 0 0 .8em; }
code, .mono { font-family: var(--font-mono); font-size: .9em; }
.block { display: block; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--surface-2); padding: .5rem .8rem; border-radius: 8px; }
.eyebrow { display: inline-block; font: 500 var(--step-xs)/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .55rem; }
.eyebrow a { color: inherit; }
.hint { display: block; color: var(--text-tertiary); font-size: var(--step-xs); line-height: 1.5; margin-top: .6rem; }
.link-sm { font-size: var(--step-sm); }
small { color: var(--text-tertiary); font-size: var(--step-xs); }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.t-right { text-align: right; }
.strong { font-weight: 600; color: var(--text-primary); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 42px; padding: .6rem 1.15rem; border-radius: 999px; border: 1px solid transparent; font: 600 var(--step-sm)/1.2 var(--font-sans); cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn--primary { background: var(--accent); color: var(--text-on-accent); box-shadow: 0 0 0 0 rgba(57,208,224,0); }
.btn--primary:hover { background: #5fdbe8; box-shadow: 0 6px 24px -8px rgba(57,208,224,.6); }
.btn--ghost { background: transparent; color: var(--text-primary); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent-border); background: var(--accent-soft); }
.btn--danger { background: var(--err-soft); color: var(--err); border-color: rgba(255,90,78,.35); }
.btn--danger:hover { background: rgba(255,90,78,.2); }
.btn--link { background: none; border: 0; padding: .3rem .2rem; min-height: 0; color: var(--accent); font-weight: 500; }
.btn--danger-t { color: var(--err); }
.btn--sm { min-height: 34px; padding: .4rem .85rem; font-size: var(--step-xs); }
.btn--lg { min-height: 50px; font-size: var(--step-base); }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: progress; }
.btn-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-group--v { flex-direction: column; }
.btn-stack { display: grid; gap: .6rem; }
form.inline { display: inline; }

/* forms */
.form { display: grid; gap: 1rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.form-actions:empty { display: none; }
.fld { display: grid; gap: .4rem; }
.fld > label { font-size: var(--step-sm); font-weight: 500; color: var(--text-secondary); }
.fld > label em { font-style: normal; color: var(--text-tertiary); font-weight: 400; font-size: .85em; margin-left: .3rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; min-height: 44px; padding: .65rem .85rem; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface-0); color: var(--text-primary); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
select { appearance: none; padding-right: 2.2rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9b4bc' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .7rem center; background-size: 16px; }
.table select { min-height: 34px; padding: .35rem 2rem .35rem .6rem; font-size: var(--step-sm); width: auto; }
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input::placeholder, textarea::placeholder { color: var(--text-tertiary); }
.has-err input, .has-err select, .has-err textarea { border-color: var(--err); }
.err { color: var(--err); font-size: var(--step-xs); }
.chk { display: flex; gap: .65rem; align-items: flex-start; cursor: pointer; font-size: var(--step-sm); color: var(--text-secondary); }
.chk input { width: 18px; height: 18px; margin: .15rem 0 0; accent-color: var(--accent); flex: none; }
.alert { padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--accent-border); background: var(--accent-soft); font-size: var(--step-sm); }
.alert--error { border-color: rgba(255,90,78,.4); background: var(--err-soft); color: #ffd2cf; }
.alert--warn { border-color: rgba(242,163,58,.4); background: var(--warn-soft); }
.or { display: flex; align-items: center; gap: .8rem; color: var(--text-tertiary); font-size: var(--step-xs); text-transform: uppercase; letter-spacing: .1em; margin: 1.2rem 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border-subtle); }
.details { margin-top: 1.2rem; border-top: 1px solid var(--border-subtle); padding-top: 1rem; }
.details summary { cursor: pointer; color: var(--text-secondary); font-size: var(--step-sm); list-style: none; display: flex; align-items: center; gap: .5rem; }
.details summary::before { content: "+"; width: 1.1rem; color: var(--accent); font-family: var(--font-mono); }
.details[open] summary::before { content: "\2212"; }
.details > div, .details > form { margin-top: 1rem; }
.hr { border: 0; border-top: 1px solid var(--border-subtle); margin: 1.4rem 0; }

/* entrance (sign-in, invitations, codes) */
.ent { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr; }
@media (min-width: 1000px) { .ent { grid-template-columns: minmax(460px, 45%) 1fr; } }
.ent-form { display: flex; flex-direction: column; padding: 28px clamp(16px, 5vw, 64px); }
.ent-top .brand img { height: 30px; width: auto; display: block; }
.ent-card { width: 100%; max-width: 400px; margin: auto; padding: 48px 0; }
.au-h1, .ent-card h1 { font-size: var(--step-xl); margin: 0 0 .5rem; }
.au-h2 { font-size: var(--step-md); margin: 1.4rem 0 .6rem; }
.au-p { color: var(--text-secondary); margin: 0 0 1.4rem; }
.ent-card .form { margin-top: .4rem; }
.ent-card .eyebrow { margin-bottom: .7rem; }
.ent-note { margin-top: 1.6rem; color: var(--text-tertiary); font-size: var(--step-xs); line-height: 1.6; }
.ent-foot { display: flex; gap: 1.2rem; font-size: var(--step-xs); }
.ent-foot a { color: var(--text-tertiary); }
.ent-side { display: none; position: relative; overflow: hidden; background: radial-gradient(60rem 40rem at 85% 10%, rgba(57,208,224,.16), transparent 60%), linear-gradient(160deg, var(--petrol-deep), var(--surface-1) 70%); border-left: 1px solid var(--border-subtle); }
@media (min-width: 1000px) { .ent-side { display: flex; align-items: center; } }
.ent-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(57,208,224,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(57,208,224,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.ent-side-in { position: relative; max-width: 520px; padding: 64px; }
.ent-h { font-size: var(--step-xl); line-height: 1.15; font-weight: 600; margin: 0 0 2rem; letter-spacing: -.015em; }
.ent-list { list-style: none; margin: 0 0 2.4rem; padding: 0; display: grid; gap: 1.2rem; }
.ent-list li { padding-left: 1.4rem; position: relative; }
.ent-list li::before { content: ""; position: absolute; left: 0; top: .5rem; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.ent-list strong { display: block; font-weight: 600; }
.ent-list span { color: var(--text-secondary); font-size: var(--step-sm); }
.ent-trust { list-style: none; margin: 0; padding: 1.2rem 0 0; border-top: 1px solid var(--border-subtle); display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font: 500 var(--step-xs)/1.4 var(--font-mono); color: var(--text-tertiary); letter-spacing: .02em; }
.ent-trust li::before { content: "\2713"; color: var(--accent); margin-right: .45rem; }
.ent .au-img { background: #fff; padding: 10px; border-radius: 10px; max-width: 220px; display: block; margin: 0 auto 1rem; }

/* shell */
.shell { display: grid; grid-template-columns: 1fr; min-height: 100vh; }
@media (min-width: 1000px) { .shell { grid-template-columns: var(--side-w) minmax(0, 1fr); background: linear-gradient(90deg, var(--surface-1) calc(var(--side-w) - 1px), var(--border-subtle) calc(var(--side-w) - 1px) var(--side-w), transparent var(--side-w)); } }
.side { position: fixed; inset: 0 auto 0 0; width: min(86vw, var(--side-w)); z-index: 50; display: flex; flex-direction: column; gap: 1rem; padding: 20px 14px; background: var(--surface-1); border-right: 1px solid var(--border-subtle); transform: translateX(-102%); transition: transform .25s var(--ease-out); overflow-y: auto; }
.side.is-open { transform: none; }
@media (min-width: 1000px) { .side { position: sticky; top: 0; height: 100vh; width: auto; transform: none; } }
.side-scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.55); }
@media (min-width: 1000px) { .side-scrim, .side-close { display: none !important; } }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.side-top .brand img { height: 26px; width: auto; display: block; }
.side-close { background: none; border: 0; color: var(--text-secondary); font-size: 28px; line-height: 1; cursor: pointer; }
.orgsw { display: grid; gap: .3rem; padding: .7rem .75rem; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--surface-0); }
.orgsw label, .orgsw span { font: 500 .68rem/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-tertiary); }
.orgsw select { min-height: 36px; padding: .35rem 2rem .35rem .55rem; font-size: var(--step-sm); font-weight: 600; border-color: var(--border-subtle); }
.orgsw strong { font-size: var(--step-sm); }
.orgsw--staff { border-color: var(--accent-border); background: var(--accent-soft); }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: .7rem; padding: .6rem .7rem; border-radius: 10px; color: var(--text-secondary); font-size: var(--step-sm); font-weight: 500; text-decoration: none; }
.side-nav a:hover { background: var(--surface-2); color: var(--text-primary); }
.side-nav a[aria-current=page] { background: var(--accent-soft); color: var(--text-primary); box-shadow: inset 2px 0 0 var(--accent); }
.side-nav a[aria-current=page] svg { color: var(--accent); }
.side-staff { margin-top: .6rem; border: 1px dashed var(--border-strong); }
.side-sep { height: 1px; background: var(--border-subtle); margin: .5rem .4rem; }
.side-foot { margin-top: auto; display: grid; gap: .7rem; padding-top: 1rem; border-top: 1px solid var(--border-subtle); }
.me { display: flex; gap: .65rem; align-items: center; min-width: 0; }
.me-t { display: grid; min-width: 0; }
.me-t strong { font-size: var(--step-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: linear-gradient(135deg, var(--petrol), var(--accent-strong)); color: #eafcff; font: 600 .78rem/1 var(--font-sans); letter-spacing: .03em; }
.avatar--sm { width: 30px; height: 30px; font-size: .7rem; }
.avatar--ghost { background: var(--surface-2); color: var(--text-tertiary); }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: .8rem; padding: 10px 16px; background: rgba(10,12,15,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-subtle); }
.topbar .brand img { height: 24px; width: auto; display: block; }
@media (min-width: 1000px) { .topbar { display: none; } }
.burger { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-subtle); background: var(--surface-1); display: grid; place-content: center; gap: 4px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text-primary); }
.main { padding: clamp(20px, 3vw, 40px) clamp(16px, 3.4vw, 48px) 64px; outline: none; }
.page { max-width: 1280px; margin: 0 auto; display: grid; gap: 1.4rem; }
.page--narrow { max-width: 760px; }
.page-h { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.page-h h1 { font-size: var(--step-xl); }
.page-a { display: flex; flex-wrap: wrap; gap: .6rem; }
.lede { color: var(--text-secondary); margin: .5rem 0 0; max-width: 62ch; }
.crumbs { font-size: var(--step-xs); color: var(--text-tertiary); font-family: var(--font-mono); }
.subnav { display: flex; flex-wrap: wrap; gap: .3rem; padding: .3rem; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--surface-1); }
.subnav a { padding: .45rem .8rem; border-radius: 8px; color: var(--text-secondary); font-size: var(--step-sm); }
.subnav a:hover { background: var(--surface-2); color: var(--text-primary); text-decoration: none; }
.au { display: grid; gap: 1rem; }
.au .au-h1 { font-size: var(--step-lg); }

/* cards and data */
.card { background: var(--surface-1); border: 1px solid var(--border-subtle); border-radius: 16px; padding: clamp(16px, 2vw, 24px); min-width: 0; }
.card--flush { padding: 0; overflow: hidden; }
.card-h { font-size: var(--step-md); margin-bottom: .9rem; }
.card-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .4rem; }
.card-hd .card-h { margin: 0 0 .5rem; }
.card-hd--pad { padding: 18px 20px 6px; }
.panel { display: grid; gap: .3rem; }
.panel .card-h { margin-bottom: .2rem; }
.panel-b p { color: var(--text-secondary); margin: 0; }
.panel-a { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.grid-2 { display: grid; gap: 1.2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1100px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-2--wide { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); } }
.stack { display: grid; gap: 1.2rem; min-width: 0; }
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stat { display: grid; gap: .2rem; padding: 16px 18px; border: 1px solid var(--border-subtle); border-radius: 14px; background: linear-gradient(180deg, rgba(255,255,255,.02), transparent), var(--surface-1); color: var(--text-primary); }
.stat span { font: 500 var(--step-xs)/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); }
.stat strong { font-size: var(--step-xl); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat .stat-t { font-size: var(--step-md); }
.stat--link { text-decoration: none !important; transition: border-color .15s, transform .15s; }
.stat--link:hover { border-color: var(--accent-border); transform: translateY(-1px); }
.stat--hot { border-color: var(--accent-border); background: radial-gradient(20rem 8rem at 0 0, rgba(57,208,224,.14), transparent 70%), var(--surface-1); }
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--accent-border); background: var(--accent-soft); }
.callout > svg { color: var(--accent); width: 26px; height: 26px; }
.callout > div { flex: 1 1 260px; }
.callout p { margin: .15rem 0 0; color: var(--text-secondary); font-size: var(--step-sm); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--step-sm); }
.table th { text-align: left; font: 500 var(--step-xs)/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--border-subtle); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: rgba(255,255,255,.015); }
.table--dense td { padding: 9px 16px; }
.row-muted td { color: var(--text-secondary); }
.who { display: flex; align-items: center; gap: .7rem; }
.pill, .badge { display: inline-flex; align-items: center; gap: .35rem; padding: .22rem .6rem; border-radius: 999px; font: 500 .72rem/1.3 var(--font-mono); letter-spacing: .02em; border: 1px solid var(--border-strong); color: var(--text-secondary); background: var(--surface-2); white-space: nowrap; }
.pill--ok, .pill--active, .pill--delivered, .pill--converted, .pill--accepted, .badge--ok { color: var(--ok); border-color: rgba(79,209,139,.35); background: var(--ok-soft); }
.pill--new, .pill--in_progress, .pill--verification, .pill--onboarding, .pill--qualified { color: var(--accent); border-color: var(--accent-border); background: var(--accent-soft); }
.pill--warn, .pill--pending, .pill--contacted, .pill--proposal, .pill--scoping, .pill--on_hold, .pill--paused, .badge--warn { color: var(--warn); border-color: rgba(242,163,58,.35); background: var(--warn-soft); }
.pill--closed, .pill--revoked, .pill--expired, .pill--offboarded { color: var(--text-tertiary); }
.pill--internal { color: #c9b8ff; border-color: rgba(155,140,255,.4); background: rgba(155,140,255,.12); }
.empty { padding: 28px 20px; text-align: center; color: var(--text-secondary); }
.empty strong { display: block; color: var(--text-primary); margin-bottom: .3rem; }
.empty p { margin: 0; font-size: var(--step-sm); }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-top: 1px solid var(--border-subtle); }
.list > li > a, .list > li:not(.empty) { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 12px 20px; color: var(--text-primary); font-size: var(--step-sm); text-decoration: none; }
.list > li > a:hover { background: var(--surface-2); }
.list > li > :first-child { min-width: 0; }
.list > li > a > :first-child, .list > li:not(.empty) > :first-child { flex: 1; }
.proj { display: grid; gap: .55rem; padding: 14px 0; border-top: 1px solid var(--border-subtle); color: var(--text-primary); text-decoration: none !important; }
.proj:first-of-type { border-top: 0; }
.proj:hover strong { color: var(--accent); }
.proj-top { display: flex; justify-content: space-between; gap: .6rem; font-size: var(--step-xs); color: var(--text-tertiary); }
.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.stages li { position: relative; padding-top: 12px; font: 500 .68rem/1.25 var(--font-mono); letter-spacing: .03em; color: var(--text-tertiary); }
.stages li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 3px; background: var(--surface-3); }
.stages li.is-done::before { background: var(--accent-strong); }
.stages li.is-cur::before { background: linear-gradient(90deg, var(--accent-strong), var(--accent)); box-shadow: 0 0 12px rgba(57,208,224,.5); }
.stages li.is-cur { color: var(--accent); }
.stages li.is-done { color: var(--text-secondary); }
@media (max-width: 560px) { .stages li span { display: none; } .stages li.is-cur span { display: inline; white-space: nowrap; } }
.feed { list-style: none; margin: 0; padding: 0; display: grid; }
.feed-i { position: relative; padding: 12px 0 12px 22px; border-left: 2px solid var(--border-subtle); margin-left: 6px; }
.feed-i::before { content: ""; position: absolute; left: -7px; top: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface-1); border: 2px solid var(--border-strong); }
.feed-i--milestone::before { border-color: var(--ok); background: var(--ok); }
.feed-i--message::before { border-color: var(--warn); }
.feed-i--stage::before { border-color: var(--accent); background: var(--accent); }
.feed-i--internal::before { border-color: #9b8cff; }
.feed-i--update::before { border-color: var(--accent); }
.feed-m { font-size: var(--step-xs); color: var(--text-tertiary); margin-bottom: .3rem; }
.feed-i p { margin: 0; color: var(--text-primary); font-size: var(--step-sm); overflow-wrap: anywhere; }
.facts { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.2rem 0 0; }
@media (min-width: 800px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .facts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.facts dt { font: 500 var(--step-xs)/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: .2rem; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.mini-h { font: 500 var(--step-xs)/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-tertiary); margin: 1rem 0 .3rem; }
.msg { white-space: normal; overflow-wrap: anywhere; }
.roles { display: grid; gap: .8rem; margin: 0; }
.roles dt { font-weight: 600; font-size: var(--step-sm); }
.roles dd { margin: 0; color: var(--text-secondary); font-size: var(--step-sm); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: var(--step-sm); color: var(--text-secondary); }
.checks li { display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.checks li::before { content: "\25CB"; color: var(--text-tertiary); }
.checks li.ok { color: var(--text-primary); }
.checks li.ok::before { content: "\2713"; color: var(--ok); font-weight: 700; }
.choices { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { display: grid; gap: .4rem; padding: 22px; border-radius: 16px; border: 1px solid var(--border-strong); background: var(--surface-1); color: var(--text-primary); text-decoration: none !important; transition: border-color .15s, transform .15s, box-shadow .15s; }
.choice:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.choice svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: .3rem; }
.choice span { color: var(--text-secondary); font-size: var(--step-sm); }
.choice--main { border-color: var(--accent-border); background: radial-gradient(24rem 10rem at 0 0, rgba(57,208,224,.14), transparent 70%), var(--surface-1); }
.filters { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; border: 1px solid var(--border-subtle); border-radius: 12px; background: var(--surface-1); }
.tabs a { padding: .4rem .75rem; border-radius: 8px; color: var(--text-secondary); font-size: var(--step-sm); text-decoration: none; }
.tabs a:hover { color: var(--text-primary); background: var(--surface-2); }
.tabs a[aria-current=page] { background: var(--accent-soft); color: var(--text-primary); }
.tabs .count { font-family: var(--font-mono); font-size: .75em; color: var(--text-tertiary); }
.search { flex: 1 1 260px; max-width: 380px; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; font-size: var(--step-sm); color: var(--text-tertiary); }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 160px; padding-top: 10px; }
.bar { display: grid; grid-template-rows: 1fr auto; gap: 4px; height: 100%; text-align: center; }
.bar span { align-self: end; height: max(var(--h), 3px); border-radius: 4px 4px 2px 2px; background: linear-gradient(180deg, var(--accent), var(--accent-strong)); opacity: .85; }
.bar small { font-family: var(--font-mono); font-size: .66rem; }
.stagebars { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.stagebars a { display: flex; justify-content: space-between; padding: .55rem .2rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); font-size: var(--step-sm); text-decoration: none; }
.stagebars a:hover { color: var(--text-primary); }
.stagebars strong { color: var(--text-primary); font-variant-numeric: tabular-nums; }
.ev { font-size: .76rem; color: var(--text-secondary); }
.ev--auth { color: var(--accent); }
.ev--staf { color: var(--warn); }
.toasts { position: fixed; z-index: 80; right: 16px; bottom: 16px; display: grid; gap: .5rem; max-width: min(420px, calc(100vw - 32px)); }
.toast { padding: .8rem 1rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--accent-border); box-shadow: var(--shadow-lg); font-size: var(--step-sm); transition: opacity .4s, transform .4s; }
.toast--error { border-color: rgba(255,90,78,.45); }
.toast--success { border-color: rgba(79,209,139,.45); }
.toast.is-out { opacity: 0; transform: translateY(8px); pointer-events: none; }
.ent .toasts { position: static; margin-bottom: 1rem; }
.au table { width: 100%; border-collapse: collapse; font-size: var(--step-sm); }
.au th, .au td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-subtle); }
.au th { font: 500 var(--step-xs)/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-tertiary); }
.au pre, .au code { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
