/* Generated by scripts/build-guides.mjs from web/public/index.html — do not edit. */
    .roster-card {
      border: 1px solid var(--line);
      border-radius: 12px;
      overflow: hidden;
      background: linear-gradient(180deg, rgba(19, 31, 50, .95), rgba(14, 22, 36, .96));
      box-shadow: 0 16px 30px var(--shadow);
    }
    .roster-card.faction-terran {
      background:
        linear-gradient(180deg, rgba(22, 38, 63, .96), rgba(13, 22, 36, .96)),
        radial-gradient(circle at 82% 12%, rgba(125, 180, 255, .14), transparent 42%);
    }
    .roster-card.faction-zerg {
      background:
        linear-gradient(180deg, rgba(46, 22, 44, .92), rgba(17, 18, 33, .97)),
        radial-gradient(circle at 78% 14%, rgba(247, 109, 178, .16), transparent 40%);
    }
    .roster-card.faction-protoss {
      background:
        linear-gradient(180deg, rgba(19, 39, 59, .95), rgba(12, 25, 39, .97)),
        radial-gradient(circle at 82% 10%, rgba(var(--protoss-rgb), .2), transparent 42%);
    }
    .roster-header {
      padding: 16px 20px;
      border-bottom: 1px solid var(--line-soft);
      background: linear-gradient(90deg, rgba(89, 143, 232, .14), rgba(var(--protoss-rgb), .08) 58%, rgba(247, 109, 178, .05));
    }
    .roster-header.has-panel-toolbar {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      grid-template-areas:
        "faction toolbar"
        "meta toolbar";
      gap: 6px 14px;
      align-items: start;
    }
    .roster-faction {
      grid-area: faction;
      font-size: 1.32rem;
      font-family: 'Orbitron', sans-serif;
      letter-spacing: .05em;
      text-transform: uppercase;
      font-weight: 700;
    }
    .roster-faction.Terran  { color: var(--terran); }
    .roster-faction.Protoss { color: var(--protoss); }
    .roster-faction.Zerg    { color: var(--zerg); }
    .roster-meta {
      grid-area: meta;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 12px;
      margin-top: 6px;
      color: var(--muted);
      font-size: .82rem;
    }
    .roster-header.has-panel-toolbar .roster-meta {
      margin-top: 0;
    }
    .roster-header.has-panel-toolbar > .panel-toolbar {
      grid-area: toolbar;
    }
    .meta-minerals { color: var(--accent-2); }
    .meta-gas { color: var(--green); }
    .meta-supply { color: var(--red); }
    .resource-icon {
      display: inline-block;
      min-width: 1.05em;
      text-align: center;
      font-weight: 700;
    }
    .resource-faction-terran { color: var(--terran); }
    .resource-faction-zerg { color: var(--zerg); }
    .resource-faction-protoss { color: var(--protoss); }
    .slot-breakdown {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin-top: 10px;
    }
    .slot-breakdown-inline {
      display: inline-flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      line-height: 1;
    }
    .slot-breakdown-label {
      display: inline-flex;
      align-items: center;
      color: var(--muted);
      font-size: .66rem;
      font-family: 'Orbitron', sans-serif;
      letter-spacing: .1em;
      text-transform: uppercase;
      line-height: 1;
    }
    .slot-chip {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.38em;
      min-height: 22px;
      border: 1px solid var(--line);
      border-radius: 14px;
      padding: 4px 10px;
      background: rgba(15, 27, 43, .58);
      color: var(--text);
      font-family: 'Orbitron', sans-serif;
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .03em;
      line-height: 1;
      vertical-align: middle;
      white-space: nowrap;
    }
    .slot-chip-type {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 1ch;
      color: inherit;
      font-family: 'Orbitron', sans-serif;
      font-size: 1em;
      font-weight: inherit;
      letter-spacing: inherit;
      line-height: 1;
    }
    .slot-chip-value {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 3.2ch;
      font-family: inherit;
      font-size: 1em;
      font-weight: inherit;
      font-variant-numeric: tabular-nums;
      letter-spacing: inherit;
      line-height: 1;
    }
    .slot-chip.slot-hero {
      color: var(--yellow);
      border-color: rgba(241, 191, 89, .55);
      background: rgba(241, 191, 89, .1);
    }
    .slot-chip.slot-core {
      color: var(--accent-2);
      border-color: rgba(69, 242, 255, .55);
      background: rgba(69, 242, 255, .12);
    }
    .slot-chip.slot-elite {
      color: var(--red);
      border-color: rgba(255, 98, 107, .55);
      background: rgba(255, 98, 107, .1);
    }
    .slot-chip.slot-support {
      color: var(--green);
      border-color: rgba(70, 212, 138, .55);
      background: rgba(70, 212, 138, .1);
    }
    .slot-chip.slot-air {
      color: var(--accent);
      border-color: rgba(102, 182, 255, .55);
      background: rgba(102, 182, 255, .1);
    }
    .slot-chip.slot-other {
      color: var(--muted);
      border-color: rgba(147, 168, 196, .48);
      background: rgba(147, 168, 196, .08);
    }
    .tag {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      min-height: 22px;
      border: 1px solid var(--line);
      border-radius: 999px;
      padding: 2px 8px;
      color: var(--muted);
      background: rgba(23, 36, 58, .7);
      font-size: .72rem;
      line-height: 1;
      vertical-align: middle;
    }
    .tag .tact-tag-name { color: var(--muted); }
    .tag .tact-tag-resource { color: var(--protoss); }
    .tag .tact-tag-gas { color: var(--yellow); }
    .tag .tact-tag-supply { color: var(--green); }
    .tag .tact-slot-bracket { color: var(--muted); }
    .tag .tact-slot-core { color: var(--accent-2); }
    .tag .tact-slot-elite { color: var(--red); }
    .tag .tact-slot-support { color: var(--green); }
    .tag .tact-slot-hero { color: var(--yellow); }
    .tag .tact-slot-air { color: var(--accent); }
    .tag .tact-slot-other { color: var(--muted); }
    .seed-tag {
      align-self: center;
      color: var(--accent);
      border-color: rgba(102, 182, 255, .52);
      font-family: var(--mono);
      letter-spacing: .07em;
    }

    .unit-list { padding: 0; }
    .unit-row {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      padding: 11px 20px;
      border-bottom: 1px solid var(--line-soft);
      transition: background .16s ease;
    }
    .unit-row:hover { background: rgba(var(--protoss-rgb), .06); }
    .roster-card.faction-terran .unit-row { border-bottom-color: rgba(125, 180, 255, .26); }
    .roster-card.faction-zerg .unit-row { border-bottom-color: rgba(247, 109, 178, .26); }
    .roster-card.faction-protoss .unit-row { border-bottom-color: rgba(var(--protoss-rgb), .35); }
    .roster-card.faction-terran .unit-row:hover { background: rgba(125, 180, 255, .08); }
    .roster-card.faction-zerg .unit-row:hover { background: rgba(247, 109, 178, .085); }
    .roster-card.faction-protoss .unit-row:hover { background: rgba(var(--protoss-rgb), .14); }
    .unit-row:last-child { border-bottom: none; }
    .unit-type-badge {
      min-width: 30px;
      height: 22px;
      border-radius: 4px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .68rem;
      font-family: 'Orbitron', sans-serif;
      letter-spacing: .07em;
      flex-shrink: 0;
      border: 1px solid transparent;
    }
    .badge-Hero    { background: rgba(241, 191, 89, .14); color: var(--yellow); border-color: rgba(241, 191, 89, .65); }
    .badge-Core    { background: rgba(69, 242, 255, .14); color: var(--accent-2);  border-color: rgba(69, 242, 255, .58); }
    .badge-Elite   { background: rgba(255, 98, 107, .12); color: var(--red); border-color: rgba(255, 98, 107, .62); }
    .badge-Support { background: rgba(70, 212, 138, .13); color: var(--green); border-color: rgba(70, 212, 138, .62); }
    .badge-Air     { background: rgba(102, 182, 255, .13); color: var(--accent); border-color: rgba(102, 182, 255, .62); }
    .badge-Other   { background: rgba(147, 168, 196, .12); color: var(--muted); border-color: rgba(147, 168, 196, .5); }

    .unit-info { flex: 1; min-width: 0; }
    .unit-main {
      display: flex;
      flex-wrap: nowrap;
      align-items: baseline;
      gap: 10px;
      margin-top: 1px;
      min-width: 0;
    }
    .unit-name { font-weight: 700; font-size: .96rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .unit-main-meta {
      color: var(--muted);
      font-family: var(--mono);
      font-size: .78rem;
      letter-spacing: .01em;
      flex-shrink: 0;
      white-space: nowrap;
    }
    .unit-size { color: var(--muted); }
    .unit-sep { color: rgba(147, 168, 196, .65); }
    .unit-supply { color: var(--red); }
    .unit-main-cost { color: var(--yellow); }
    .unit-sub { margin-top: 2px; font-size: .78rem; color: var(--muted); }
    .unit-sub-line {
      margin-top: 4px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
    }
    .unit-stats-inline {
      color: var(--muted);
      font-family: var(--mono);
      font-size: .72rem;
    }
    .unit-stats-line {
      margin-top: 4px;
      color: var(--muted);
      font-family: var(--mono);
      font-size: .72rem;
    }
    .unit-upgrades { display: inline-flex; flex-wrap: wrap; gap: 5px; }
    .upg-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      min-height: 22px;
      border-radius: 999px;
      border: 1px solid rgba(70, 212, 138, .44);
      background: rgba(70, 212, 138, .08);
      color: var(--green);
      padding: 1px 9px;
      font-size: .72rem;
      line-height: 1;
      vertical-align: middle;
    }
    .upg-pill strong { color: var(--yellow); }
    .unit-cost { padding-top: 2px; white-space: nowrap; font-family: var(--mono); font-size: .88rem; color: var(--yellow); font-weight: 700; }

    .tact-section {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      align-items: center;
      padding: 10px 20px;
      border-top: 1px solid var(--line-soft);
      background: rgba(14, 23, 37, .7);
    }
    .tact-label {
      margin-right: 5px;
      color: var(--muted);
      font-size: .66rem;
      font-family: 'Orbitron', sans-serif;
      letter-spacing: .1em;
      text-transform: uppercase;
    }
