/* Klasto landing page – brand "Plan", light theme of the app (src/web/src/styles/skins.css, skin "blueprint", light). */
:root {
  color-scheme: light;
  --bg: #f4f7fc;
  --surface: #ffffff;
  --surface-muted: #e9eff8;
  --selected: #dce7fb;
  --border: #d3ddec;
  --border-strong: #b4c3da;
  --text: #0f172a;
  --text-muted: #475569;
  --heading: #0b1e46;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --navy: #0b3d91;
  --navy-dark: #082f70;
  --sky: #7dd3fc;
  --header-muted: #c7d7f5;
  --grid: rgb(29 78 216 / 0.08);
  --crit: #d63a3a;
  --crit-bg: #fdecec;
  --crit-fg: #a61b1b;
  --warn: #f57c00;
  --warn-bg: #fff4e5;
  --warn-fg: #8a4300;
  --ok: #1e8e3e;
  --ok-bg: #e7f5ec;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgb(11 61 145 / 0.06), 0 8px 24px rgb(11 61 145 / 0.08);
  --shadow-lg: 0 2px 4px rgb(11 61 145 / 0.06), 0 24px 60px rgb(11 61 145 / 0.16);
  --mono: ui-monospace, 'Cascadia Mono', 'Segoe UI Mono', Consolas, 'Liberation Mono', monospace;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 16px/1.6 var(--sans);
  color: var(--text);
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg);
}
h1, h2, h3 { color: var(--heading); line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -0.01em; margin-bottom: 1em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
q { font-style: italic; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; padding: 0.5rem 1rem; background: var(--surface); z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: var(--navy); color: #fff; border-bottom: 1px solid var(--navy-dark); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: inherit; text-decoration: none; }
.word { font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 1.05rem; }
.mark-bg { fill: var(--accent); }
.mark-grid { fill: none; stroke: var(--sky); stroke-width: 1; stroke-opacity: 0.35; }
.mark-k { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: square; }
.mark-dim { fill: none; stroke: var(--sky); stroke-width: 2; }
.nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.nav a:not(.btn) { color: var(--header-muted); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 1.1rem; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; text-decoration: none; white-space: nowrap;
}
.btn-lg { min-height: 50px; padding: 0 1.5rem; font-size: 1.05rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--text-muted); }
.btn-light { background: #fff; color: var(--navy); min-height: 36px; }
.btn-light:hover { background: var(--selected); }
.btn-light.btn-lg { min-height: 50px; }

/* Hero */
.hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-copy { text-align: center; max-width: 52rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.eyebrow { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: var(--accent); margin-bottom: 0.9rem; }
.lead { font-size: 1.2rem; line-height: 1.55; color: #334155; font-weight: 400; }
.hero .lead { margin-inline: auto; max-width: 40rem; text-wrap: balance; }
.lead q { color: var(--text); }
.cta { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 1.75rem; }

.hero-gantt {
  margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 0.9rem; padding: 0.65rem 1rem; background: var(--surface-muted); border-bottom: 1px solid var(--border); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.window-title { flex: 1; font-weight: 600; font-size: 0.9rem; color: var(--heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: var(--radius-sm); white-space: nowrap; }
.pill-crit { background: var(--crit-bg); color: var(--crit-fg); }
.toolbar { display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap; padding: 0.55rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.78rem; color: var(--text-muted); }
.tb-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.tb-item::before { content: ''; width: 12px; height: 12px; border: 1px solid var(--border-strong); border-radius: 3px; background: var(--surface); }
.tb-on::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 2px var(--surface); }
.tb-sep { flex: 1; }
.tb-legend { display: inline-flex; align-items: center; gap: 0.35rem; }
.lg { display: inline-block; width: 14px; height: 8px; border-radius: 2px; }
.lg-crit { background: #1e40af; box-shadow: inset 0 0 0 1.5px var(--crit); }
.lg-task { background: #3b82f6; }
.lg-prog { background: var(--ok); height: 3px; }
.lg-stage { width: 0; height: 12px; border-left: 2px dashed var(--navy); border-radius: 0; }
.gantt-scroll { overflow-x: auto; }
.problem { display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.8rem 1rem; background: var(--crit-bg); color: var(--crit-fg); font-size: 0.9rem; border-top: 1px solid #f5c2c2; }
.problem-icon { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--crit); color: #fff; font-weight: 800; font-size: 0.8rem; }
.problem-fix { display: block; color: var(--text); margin-top: 0.15rem; }

/* Hero Gantt SVG (generated by tools/hero_gantt.py) */
.hg { display: block; width: 100%; min-width: 860px; height: auto; font-family: var(--sans); }
.hg-head { fill: var(--surface-muted); }
.hg-th { font-size: 11px; font-weight: 600; fill: var(--text-muted); }
.hg-year { font-size: 10px; font-weight: 700; fill: var(--heading); letter-spacing: 0.08em; }
.hg-month { stroke: var(--border-strong); stroke-width: 1; }
.hg-week { stroke: var(--surface-muted); stroke-width: 1; }
.hg-border { stroke: var(--border-strong); stroke-width: 1; }
.hg-rowline { stroke: var(--surface-muted); stroke-width: 1; }
.hg-grouprow { fill: #f6f9fd; }
.hg-badrow { fill: rgb(214 58 58 / 0.07); }
.hg-td { font-size: 11.5px; fill: var(--text); }
.hg-strong { font-weight: 700; fill: var(--heading); }
.hg-muted { fill: var(--text-muted); font-family: var(--mono); font-size: 10.5px; }
.hg-group { fill: #334155; }
.hg-bar { fill: #3b82f6; }
.hg-crit { fill: #1e40af; stroke: var(--crit); stroke-width: 1.5; }
.hg-bar-bad { fill: url(#hg-hatch); stroke: var(--crit); stroke-width: 1.5; stroke-dasharray: 4 3; }
.hg-hatch { fill: rgb(214 58 58 / 0.35); }
.hg-progress { fill: var(--ok); }
.hg-milestone { fill: var(--heading); stroke: #fff; stroke-width: 1.5; }
.hg-link { fill: none; stroke: #64748b; stroke-width: 1.3; }
.hg-link-crit { stroke: #334155; stroke-width: 1.5; }
.hg-link-bad { stroke: var(--crit); }
.hg-arrowhead { fill: #475569; }
.hg-today { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 4 3; }
.hg-today-pill { fill: var(--accent); }
.hg-stage { stroke: var(--navy); stroke-width: 1.5; stroke-dasharray: 2 3; }
.hg-stage-pill { fill: var(--heading); }
.hg-pill-text { font-size: 9.5px; font-weight: 700; fill: #fff; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-alt { background: rgb(233 239 248 / 0.75); border-block: 1px solid var(--border); }
.section-lead { color: var(--text-muted); font-size: 1.08rem; max-width: 46rem; margin-top: -0.5rem; margin-bottom: 2rem; }

/* Stats band */
.stats-band { background: var(--navy); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; }
.stats-band h2 { color: #fff; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stats li { border-top: 2px solid var(--sky); padding-top: 1rem; }
.stat-num { display: block; font-family: var(--mono); font-weight: 700; font-size: clamp(2.2rem, 4.5vw, 3.2rem); line-height: 1; color: #fff; margin-bottom: 0.5rem; }
.stat-txt { color: var(--header-muted); }
.stats-note { color: var(--header-muted); max-width: 52rem; margin: 2rem 0 0; font-size: 1.05rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-no { display: block; font-family: var(--mono); font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 0.6rem; border-bottom: 2px solid var(--sky); width: 3rem; }
.steps p { color: var(--text-muted); }

/* Features with visuals */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1rem 0.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.feature h3 { margin-top: 1rem; }
.feature p { color: var(--text-muted); font-size: 0.95rem; }
.visual {
  height: 190px; border-radius: var(--radius); border: 1px solid var(--border); padding: 0.9rem; font-size: 0.78rem;
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 20px 20px, var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 0.45rem; overflow: hidden;
}
.v-input { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 0.45rem 0.6rem; color: var(--text); box-shadow: var(--shadow); }
.v-arrow { text-align: center; color: var(--accent); font-weight: 700; line-height: 1; }
.v-card { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 0.5rem 0.6rem; display: flex; flex-direction: column; gap: 0.3rem; box-shadow: var(--shadow); }
.v-label { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; }
.v-rule { color: var(--text); }
.v-actions { display: flex; gap: 0.4rem; margin-top: 0.2rem; }
.v-btn { border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 0.1rem 0.5rem; background: var(--surface); font-weight: 600; font-size: 0.72rem; }
.v-btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.v-problem { display: grid; grid-template-columns: auto 1fr auto; gap: 0.5rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.45rem 0.6rem; box-shadow: var(--shadow); }
.v-problem-crit { border-left: 3px solid var(--crit); }
.v-problem-warn { border-left: 3px solid var(--warn); }
.v-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warn); }
.v-problem-crit .v-dot { background: var(--crit); }
.v-link { color: var(--accent); font-weight: 600; }
.v-chat { border-radius: 10px; padding: 0.5rem 0.7rem; max-width: 88%; box-shadow: var(--shadow); }
.v-chat-q { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 3px; }
.v-chat-a { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 3px; display: flex; flex-direction: column; gap: 0.3rem; }
.visual:has(.v-sheet) { flex-direction: row; align-items: center; }
.v-sheet { display: grid; grid-template-columns: 1.6fr 1fr 0.7fr; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); overflow: hidden; flex: 1.8; box-shadow: var(--shadow); }
.v-cell { padding: 0.25rem 0.4rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); white-space: nowrap; font-size: 0.7rem; }
.v-h { background: var(--ok-bg); font-weight: 700; color: var(--ok); }
.v-arrow-side { flex: none; padding: 0 0.15rem; }
.v-report { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.5rem; box-shadow: var(--shadow); }
.v-report-row { font-size: 0.72rem; font-weight: 600; }
.v-ok { color: var(--ok); }
.v-warn { color: var(--warn-fg); }
.v-tranches { position: relative; height: 70px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.v-tr-bars { position: absolute; inset: 8px 6px; display: flex; flex-direction: column; justify-content: space-between; }
.v-tr-bars span { position: relative; left: var(--l); width: var(--w); height: 9px; border-radius: 2px; background: #3b82f6; }
.v-tr-line { position: absolute; top: 0; bottom: 0; left: var(--l); border-left: 2px dashed var(--navy); }
.v-tr-line i { position: absolute; top: -8px; left: -11px; background: var(--heading); color: #fff; font-style: normal; font-size: 0.6rem; font-weight: 700; padding: 0 0.3rem; border-radius: 3px; }
.v-doc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.45rem 0.6rem; display: flex; flex-direction: column; gap: 0.2rem; box-shadow: var(--shadow); }
.v-doc-title { font-weight: 700; color: var(--heading); font-size: 0.74rem; }
.v-doc-row { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.7rem; border-bottom: 1px dotted var(--border-strong); }
.v-doc-sign { display: flex; gap: 1rem; margin-top: 0.3rem; }
.v-doc-sign i { flex: 1; border-bottom: 1px solid var(--text-muted); height: 10px; }
.v-money { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.6rem; display: flex; flex-direction: column; gap: 0.45rem; box-shadow: var(--shadow); }
.v-money-row { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 0.5rem; align-items: center; font-size: 0.72rem; }
.v-meter { height: 7px; border-radius: 4px; background: var(--surface-muted); overflow: hidden; }
.v-meter i { display: block; width: var(--p); height: 100%; background: var(--ok); }
.v-money-total { display: grid; grid-template-columns: auto 1fr auto 1fr; gap: 0.3rem 0.5rem; padding-top: 0.4rem; border-top: 1px solid var(--border); font-size: 0.72rem; color: var(--text-muted); }
.v-money-total b { color: var(--heading); }

/* Savings */
.savings { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.savings-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.savings-facts li { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius-lg); padding: 1.1rem; box-shadow: var(--shadow); }
.big { display: block; font-family: var(--mono); font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1.1; margin-bottom: 0.35rem; }
.savings-facts span:not(.big) { color: var(--text-muted); font-size: 0.95rem; }
.calc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.calc label { display: block; font-weight: 600; font-size: 0.9rem; margin: 0.9rem 0 0.35rem; }
.calc-input { display: flex; align-items: center; gap: 0.6rem; }
.calc-input input[type='number'] { width: 9rem; min-height: 42px; padding: 0 0.7rem; border: 1px solid #5b6b85; border-radius: var(--radius); font: inherit; }
.calc-input input[type='range'] { flex: 1; accent-color: var(--accent); }
.calc-input output, .calc-input span { color: var(--text-muted); white-space: nowrap; min-width: 4.5rem; }
.calc-out { margin: 1.25rem 0 0; padding: 0; }
.calc-out div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--border); }
.calc-out dt { color: var(--text-muted); }
.calc-out dd { margin: 0; font-weight: 700; font-family: var(--mono); white-space: nowrap; }
.calc-total dt, .calc-total dd { color: var(--heading); font-size: 1.1rem; }
.calc-save { background: var(--ok-bg); border-radius: var(--radius); padding: 0.7rem !important; margin-top: 0.6rem; border: 0 !important; }
.calc-save dt, .calc-save dd { color: var(--ok); }
.calc-note { font-size: 0.8rem; color: var(--text-muted); margin: 0.9rem 0 0; }

/* Audiences */
.audiences { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.audience { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem 1.5rem 0.75rem; box-shadow: var(--shadow); }
.aud-tag { display: inline-block; font-family: var(--mono); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); background: var(--selected); padding: 0.2rem 0.55rem; border-radius: var(--radius-sm); margin-bottom: 0.9rem; }
.audience p { color: var(--text-muted); }
.audience .quote { color: var(--heading); font-style: italic; border-left: 3px solid var(--sky); padding-left: 0.75rem; }

/* Benefits */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.benefits li { border-top: 2px solid var(--accent); padding-top: 1rem; }
.benefits p { color: var(--text-muted); font-size: 0.95rem; }

/* Contact */
.contact-band { background: var(--navy); color: #fff; }
.contact-band h2 { color: #fff; margin-bottom: 0.5rem; }
.contact-band .lead { color: var(--header-muted); margin: 0; }
.contact { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }

/* Footer */
.foot { padding: 1.5rem 0; color: var(--text-muted); font-size: 0.85rem; background: var(--surface); border-top: 1px solid var(--border); }
.foot-inner { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.sources { max-width: 46rem; text-align: right; }

@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .stats, .benefits { grid-template-columns: repeat(2, 1fr); }
  .savings { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .features, .audiences, .steps, .stats, .benefits, .savings-facts { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .toolbar .tb-legend, .toolbar .tb-sep { display: none; }
  .sources { text-align: left; }
}

/* Feature visuals added in v3: critical path, versions, roles */
.v-crit { position: relative; display: flex; flex-direction: column; gap: 9px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.7rem 0.5rem; box-shadow: var(--shadow); }
.v-crit-row { position: relative; height: 11px; }
.v-cb { position: absolute; top: 0; left: var(--l); width: var(--w); height: 11px; border-radius: 2px; background: #3b82f6; }
.v-cb-crit { background: #1e40af; box-shadow: inset 0 0 0 1.5px var(--crit); }
.v-cb-drag { outline: 2px dashed var(--accent); outline-offset: 2px; }
.v-cb-ghost { background: transparent; border: 1.5px dashed var(--border-strong); }
.v-drag-tag { position: absolute; left: 68%; top: -3px; font-size: 0.66rem; color: #fff; background: var(--accent); padding: 0 0.3rem; border-radius: 3px; }
.v-crit-note { display: block; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--crit); border-radius: var(--radius); padding: 0.4rem 0.6rem; box-shadow: var(--shadow); }
.v-dot-crit { background: var(--crit); display: inline-block; margin-right: 0.4rem; vertical-align: middle; }
.v-versions { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.v-ver { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 0.5rem; padding: 0.4rem 0.6rem; border-bottom: 1px solid var(--border); align-items: center; }
.v-ver:last-child { border-bottom: 0; }
.v-ver-current { background: var(--selected); font-weight: 600; }
.v-ver-name { color: var(--heading); }
.v-ver-date { color: var(--text-muted); font-family: var(--mono); font-size: 0.7rem; }
.v-ver-delta { font-family: var(--mono); font-weight: 700; font-size: 0.72rem; }
.v-late { color: var(--crit-fg); }
.v-roles { display: flex; flex-direction: column; gap: 0.35rem; }
.v-role { display: grid; grid-template-columns: auto 1fr auto; gap: 0.5rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.3rem 0.5rem; box-shadow: var(--shadow); }
.v-av { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 0.6rem; font-weight: 700; }
.v-av-ro { background: var(--text-muted); }
.v-badge { font-size: 0.66rem; font-weight: 700; color: var(--accent); background: var(--selected); padding: 0.05rem 0.4rem; border-radius: var(--radius-sm); }
.v-badge-ro { color: var(--text-muted); background: var(--surface-muted); }
