/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-kgxek3moza] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-kgxek3moza] {
    flex: 1;
    background-color: var(--ed-bg-body);
}

.sidebar[b-kgxek3moza] {
    background: linear-gradient(180deg, var(--ed-bg-body) 0%, var(--ed-bg-surface) 100%);
    border-right: 1px solid var(--ed-border-subtle);
}

.top-row[b-kgxek3moza] {
    background-color: var(--ed-bg-body);
    border-bottom: 1px solid var(--ed-border-subtle);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-kgxek3moza]  a, .top-row[b-kgxek3moza]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-kgxek3moza]  a:hover, .top-row[b-kgxek3moza]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-kgxek3moza]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-kgxek3moza] {
        justify-content: space-between;
    }

    .top-row[b-kgxek3moza]  a, .top-row[b-kgxek3moza]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-kgxek3moza] {
        flex-direction: row;
    }

    .sidebar[b-kgxek3moza] {
        width: 280px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-kgxek3moza] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-kgxek3moza]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

}

#blazor-error-ui[b-kgxek3moza] {
    background: #b32121;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.5);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
}

    #blazor-error-ui .dismiss[b-kgxek3moza] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-zl94eya9a9] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: #e0e0e0;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-zl94eya9a9] {
    background-color: rgba(240, 123, 5, 0.2);
}

.top-row[b-zl94eya9a9] {
    height: 4rem;
    background-color: transparent;
    border-bottom: 1px solid #2a2a3a;
}

.navbar-brand[b-zl94eya9a9] {
    font-size: 1.3rem;
    letter-spacing: 0.02em;
}

.text-orange[b-zl94eya9a9] {
    color: #f07b05 !important;
}

.nav-scrollable[b-zl94eya9a9] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-zl94eya9a9] {
    display: block;
}

.nav-item[b-zl94eya9a9] {
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.nav-icon[b-zl94eya9a9] {
    display: inline-block;
    width: 1.5rem;
    text-align: center;
    margin-right: 0.5rem;
}

.nav-link[b-zl94eya9a9] {
    color: #b0b0c0;
    border-radius: 4px;
    padding: 0.6rem 1rem !important;
    transition: all 0.2s;
}

.nav-link:hover[b-zl94eya9a9] {
    color: #f07b05;
    background-color: rgba(240, 123, 5, 0.1);
}

.nav-link.active[b-zl94eya9a9] {
    background-color: rgba(240, 123, 5, 0.2);
    color: #f07b05;
    font-weight: 500;
}

@media (min-width: 641px) {
    .navbar-toggler[b-zl94eya9a9] {
        display: none;
    }

    .nav-scrollable[b-zl94eya9a9] {
        display: block;
        height: calc(100vh - 4rem);
        overflow-y: auto;
        padding-top: 1rem;
    }
}
/* /Components/Pages/PdPagination.razor.rz.scp.css */
/* Scoped here (not in PowerDetail.razor.css) so the styles travel with
   the component — Blazor CSS isolation only attaches the scope attribute
   to elements rendered by the component that owns the .razor.css file. */

.pd-pagination[b-ynojjsvw2l] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 12px;
}

.pd-pagination-range[b-ynojjsvw2l] {
    font-size: 10.5px;
    color: var(--ed-text-muted, #95a0ab);
    letter-spacing: 0.06em;
    font-family: 'Consolas', 'Monaco', monospace;
}

.pd-pagination-controls[b-ynojjsvw2l] {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* .tp-btn / .tp-info used to live in app.css; they were inlined in the old
   Powers.razor <style> block and got dropped during the detail-page port.
   They're scoped here so the pagination is themed wherever it's used. */

.tp-btn[b-ynojjsvw2l] {
    background: transparent;
    border: 1px solid rgba(255, 113, 0, 0.25);
    color: #f07b05;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.tp-btn:hover:not(:disabled)[b-ynojjsvw2l] {
    background: rgba(240, 123, 5, 0.15);
    border-color: #f07b05;
    color: #ffae66;
}
.tp-btn:disabled[b-ynojjsvw2l] {
    opacity: 0.3;
    cursor: default;
}

.tp-info[b-ynojjsvw2l] {
    font-size: 0.75rem;
    color: var(--ed-text-muted, #95a0ab);
    font-family: 'Consolas', 'Monaco', monospace;
    min-width: 50px;
    text-align: center;
}
/* /Components/Pages/PowerDetail.razor.rz.scp.css */
/* ─────────────────────────────────────────────────────────────────────
   PowerDetail.razor.css — scoped styles for the redesigned Power Detail
   page. Variables: --pc (power color, set on .pd-page inline), --rank-color
   (set on .pd-rank-pill), --v-color (set on .pd-verdict), --state-color
   (set per state chip/segment), --accent (set per stat tile).
   ───────────────────────────────────────────────────────────────────── */

/* ── Page wash ──
   Background wash is intentionally fixed to the Winters blue (#5ab8ff) for
   every power so the ambient atmosphere is consistent across the site.
   Power-specific colour still drives the watermark, top accent stripe,
   logo glow, name shadow, chart line, stat-tile accents, etc. via --pc. */
.pd-page[b-gnqqr0qwxy] {
    width: 100%;
    background:
        radial-gradient(ellipse 90% 60% at top right, color-mix(in srgb, #5ab8ff 25%, transparent) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at bottom left, color-mix(in srgb, #5ab8ff 11%, transparent) 0%, transparent 55%),
        linear-gradient(180deg, color-mix(in srgb, #5ab8ff 12%, transparent) 0%,
                                  color-mix(in srgb, #5ab8ff 5%,  transparent) 40%,
                                  rgba(13,17,23,0) 70%);
    color: var(--ed-text, #e6edf3);
    font-family: 'Eurostile', 'Segoe UI', Arial, sans-serif;
}

/* ── Helper utilities (component-scoped) ── */
.pd-mono[b-gnqqr0qwxy]   { font-family: 'Consolas', 'Monaco', monospace; }
.pd-muted[b-gnqqr0qwxy]  { color: var(--ed-text-muted, #95a0ab); }
.pd-bold[b-gnqqr0qwxy]   { font-weight: 700; }
.pd-right[b-gnqqr0qwxy]  { text-align: right; }
.pd-green[b-gnqqr0qwxy]  { color: #00ff66; }
.pd-red[b-gnqqr0qwxy]    { color: #ff3333; }

/* ── Section 1 · Identity band ── */
.pd-identity[b-gnqqr0qwxy] {
    position: relative;
    padding: 28px 28px 22px;
    overflow: hidden;
}
.pd-identity .pd-watermark[b-gnqqr0qwxy] {
    position: absolute;
    right: -60px;
    top: -50px;
    width: 420px;
    height: 420px;
    object-fit: contain;
    opacity: 0.10;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}
.pd-identity .pd-top-accent[b-gnqqr0qwxy] {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pc) 0%, transparent 70%);
    z-index: 1;
}
.pd-id-row[b-gnqqr0qwxy] {
    position: relative;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    z-index: 2;
}
.pd-id-left[b-gnqqr0qwxy] {
    flex: 1;
    min-width: 0;
}
.pd-id-header[b-gnqqr0qwxy] {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}
.pd-back[b-gnqqr0qwxy] {
    font-size: 10.5px;
    color: var(--ed-orange, #ff7100);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    padding-top: 6px;
    min-width: 80px;
    flex-shrink: 0;
    align-self: center;
}
.pd-logo[b-gnqqr0qwxy] {
    flex-shrink: 0;
    /* brightness(0) invert(1) flattens the SVG to white; the drop-shadow
       still carries the power-colour glow so the identity reads. */
    filter: brightness(0) invert(1) drop-shadow(0 0 16px var(--pc));
}
.pd-id-text[b-gnqqr0qwxy] {
    min-width: 0;
    flex: 1;
}
.pd-name-line[b-gnqqr0qwxy] {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}
.pd-name[b-gnqqr0qwxy] {
    margin: 0;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 0.95;
    color: var(--ed-text, #e6edf3);
    text-shadow: 0 0 24px color-mix(in srgb, var(--pc) 40%, transparent);
}
.pd-shortname[b-gnqqr0qwxy] {
    font-size: 13px;
    color: var(--pc);
    font-weight: 600;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}
.pd-rank-pill[b-gnqqr0qwxy] {
    font-size: 11px;
    padding: 3px 9px;
    background: color-mix(in srgb, var(--rank-color) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--rank-color) 40%, transparent);
    color: var(--rank-color);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Consolas', 'Monaco', monospace;
}
.pd-verdict-line[b-gnqqr0qwxy] {
    margin-top: 14px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.pd-verdict[b-gnqqr0qwxy] {
    font-size: 22px;
    font-weight: 700;
    color: var(--v-color);
    letter-spacing: 0.06em;
    text-shadow: 0 0 16px color-mix(in srgb, var(--v-color) 40%, transparent);
}
.pd-dot[b-gnqqr0qwxy] {
    color: rgba(149,160,171,0.55);
    font-size: 18px;
}
.pd-verdict-sub[b-gnqqr0qwxy] {
    font-size: 15px;
    color: var(--ed-text-secondary, #b0b8c1);
    font-weight: 500;
}

/* ── Stat tiles strip ── */
.pd-tiles[b-gnqqr0qwxy] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: rgba(13, 17, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.pd-tile[b-gnqqr0qwxy] {
    position: relative;
    padding: 11px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    --accent: var(--pc);
}
.pd-tile + .pd-tile[b-gnqqr0qwxy] {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.pd-tile[b-gnqqr0qwxy]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0.55;
}
.pd-tile-bold[b-gnqqr0qwxy]::before {
    opacity: 1;
    box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 50%, transparent);
}
.pd-tile-label[b-gnqqr0qwxy] {
    font-size: 9.5px;
    color: var(--ed-text-muted, #95a0ab);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}
.pd-tile-value[b-gnqqr0qwxy] {
    font-size: 19px;
    font-weight: 700;
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--ed-text, #e6edf3);
    line-height: 1;
}
.pd-tile-bold .pd-tile-value[b-gnqqr0qwxy] {
    font-size: 22px;
    color: var(--accent);
    text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 40%, transparent);
}
.pd-tile-green .pd-tile-value[b-gnqqr0qwxy] { color: #00ff66; }
.pd-tile-red   .pd-tile-value[b-gnqqr0qwxy] { color: #ff3333; }
.pd-tile-green[b-gnqqr0qwxy] { --accent: #00ff66; }
.pd-tile-red[b-gnqqr0qwxy]   { --accent: #ff3333; }
.pd-tile-sub[b-gnqqr0qwxy] {
    font-size: 9px;
    color: rgba(149,160,171,0.55);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── LIVE telemetry block ── */
.pd-live[b-gnqqr0qwxy] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
    padding: 14px 16px;
    background: rgba(0, 255, 102, 0.04);
    border: 1px solid rgba(0, 255, 102, 0.25);
    border-left: 3px solid #00ff66;
    flex-shrink: 0;
}
.pd-live-header[b-gnqqr0qwxy] {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pd-live-dot[b-gnqqr0qwxy] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff66;
    box-shadow: 0 0 10px #00ff66, 0 0 4px #00ff66;
    animation: edpulse-b-gnqqr0qwxy 2s ease-in-out infinite;
}
.pd-live-dot.pd-live-dim[b-gnqqr0qwxy] {
    background: var(--ed-text-muted, #95a0ab);
    box-shadow: none;
    animation: none;
}
.pd-live-label[b-gnqqr0qwxy] {
    font-size: 14px;
    font-weight: 800;
    color: #00ff66;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.33);
}
.pd-live-row[b-gnqqr0qwxy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pd-live-row-label[b-gnqqr0qwxy] {
    font-size: 9.5px;
    color: var(--ed-text-muted, #95a0ab);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}
.pd-live-row-value[b-gnqqr0qwxy] {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--ed-text, #e6edf3);
    line-height: 1;
}
.pd-live-row-value-green[b-gnqqr0qwxy] { color: #00ff66; }
.pd-live-spark[b-gnqqr0qwxy] {
    display: flex;
    align-items: flex-end;
    gap: 1px;
    height: 28px;
}
.pd-live-bar[b-gnqqr0qwxy] {
    flex: 1;
    min-height: 2px;
    background: rgba(0, 255, 102, 0.4);
}
.pd-live-bar.pd-live-bar-now[b-gnqqr0qwxy] {
    background: #00ff66;
    box-shadow: 0 0 4px #00ff66;
}

/* ── Trend chart ── */
.pd-chart-wrap[b-gnqqr0qwxy] {
    position: relative;
    margin-top: 18px;
    z-index: 2;
}
.pd-chart-header[b-gnqqr0qwxy] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
    padding: 4px 6px 0;
}
.pd-chart-title[b-gnqqr0qwxy] {
    font-size: 10px;
    color: var(--ed-text-muted, #95a0ab);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}
.pd-chart-legend[b-gnqqr0qwxy] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
}
.pd-chart-legend .pd-chart-line[b-gnqqr0qwxy] {
    width: 12px;
    height: 2px;
}
.pd-chart-line.pc[b-gnqqr0qwxy]     { background: var(--pc); }
.pd-chart-line.orange[b-gnqqr0qwxy] { background: var(--ed-orange, #ff7100); opacity: 0.7; }
.pd-chart-legend:nth-of-type(2)[b-gnqqr0qwxy] { color: var(--pc); }
.pd-chart-legend:nth-of-type(3)[b-gnqqr0qwxy] { color: var(--ed-orange, #ff7100); }
.pd-chart-cycles[b-gnqqr0qwxy] {
    margin-left: auto;
    font-size: 10px;
    color: rgba(149,160,171,0.55);
    font-family: 'Consolas', 'Monaco', monospace;
}
.pd-chart-svg[b-gnqqr0qwxy] {
    width: 100%;
    height: auto;
    display: block;
}
.pd-chart-empty[b-gnqqr0qwxy] {
    padding: 36px;
    text-align: center;
    color: var(--ed-text-muted, #95a0ab);
    font-size: 12px;
}

/* ── Section wrapper ── */
.pd-section[b-gnqqr0qwxy] {
    padding: 22px 28px 26px;
    border-bottom: 1px solid rgba(255, 113, 0, 0.14);
}
.pd-section-last[b-gnqqr0qwxy] {
    border-bottom: none;
}
.pd-section-header[b-gnqqr0qwxy] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.pd-section-title[b-gnqqr0qwxy] {
    font-size: 12px;
    font-weight: 700;
    color: var(--ed-orange, #ff7100);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.pd-section-rule[b-gnqqr0qwxy] {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 113, 0, 0.2) 0%, transparent 80%);
}
.pd-section-right[b-gnqqr0qwxy] {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
}

/* ── State breakdown ── */
.pd-state-chips[b-gnqqr0qwxy] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}
.pd-state-chip[b-gnqqr0qwxy] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(13, 17, 23, 0.4);
    border-left: 3px solid var(--state-color);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pd-state-dot[b-gnqqr0qwxy] {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: var(--state-color);
    box-shadow: 0 0 6px color-mix(in srgb, var(--state-color) 50%, transparent);
}
.pd-state-text[b-gnqqr0qwxy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pd-state-name[b-gnqqr0qwxy] {
    font-size: 11px;
    color: var(--state-color);
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}
.pd-state-num-line[b-gnqqr0qwxy] {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.pd-state-count[b-gnqqr0qwxy] {
    font-size: 18px;
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--ed-text, #e6edf3);
    font-weight: 700;
    line-height: 1;
}
.pd-state-pct[b-gnqqr0qwxy] {
    font-size: 11px;
    color: var(--ed-text-muted, #95a0ab);
    font-family: 'Consolas', 'Monaco', monospace;
}
.pd-state-bar[b-gnqqr0qwxy] {
    display: flex;
    gap: 2px;
    height: 6px;
}
.pd-state-bar-seg[b-gnqqr0qwxy] {
    background: linear-gradient(90deg, var(--state-color) 0%, color-mix(in srgb, var(--state-color) 80%, transparent) 100%);
    box-shadow: inset 0 0 4px color-mix(in srgb, var(--state-color) 50%, transparent);
}

/* ── Cycle pressure ── */
.pd-pressure[b-gnqqr0qwxy] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.pd-pressure-card[b-gnqqr0qwxy] {
    background: rgba(13, 17, 23, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.15s;
}
.pd-pressure-card:hover[b-gnqqr0qwxy] { background: rgba(13, 17, 23, 0.7); }
.pd-pressure-red[b-gnqqr0qwxy]    { border-left: 3px solid #ff3333; }
.pd-pressure-yellow[b-gnqqr0qwxy] { border-left: 3px solid #ffaa00; }
.pd-pressure-green[b-gnqqr0qwxy]  { border-left: 3px solid #00ff66; }
.pd-pressure-head[b-gnqqr0qwxy] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.pd-pressure-icon[b-gnqqr0qwxy] { font-size: 12px; }
.pd-pressure-red    .pd-pressure-icon[b-gnqqr0qwxy] { color: #ff3333; }
.pd-pressure-yellow .pd-pressure-icon[b-gnqqr0qwxy] { color: #ffaa00; }
.pd-pressure-green  .pd-pressure-icon[b-gnqqr0qwxy] { color: #00ff66; }
.pd-pressure-label[b-gnqqr0qwxy] {
    font-size: 10px;
    color: var(--ed-text-muted, #95a0ab);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
}
.pd-pressure-system[b-gnqqr0qwxy] {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.pd-pressure-name[b-gnqqr0qwxy] {
    font-size: 16px;
    color: var(--ed-text, #e6edf3);
    font-weight: 600;
}
.pd-pressure-value[b-gnqqr0qwxy] {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: 4px;
}
.pd-pressure-num[b-gnqqr0qwxy] {
    font-size: 18px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-weight: 700;
}
.pd-pressure-red    .pd-pressure-num[b-gnqqr0qwxy] { color: #ff3333; }
.pd-pressure-yellow .pd-pressure-num[b-gnqqr0qwxy] { color: #ffaa00; }
.pd-pressure-green  .pd-pressure-num[b-gnqqr0qwxy] { color: #00ff66; }
.pd-pressure-unit[b-gnqqr0qwxy] {
    font-size: 10px;
    color: var(--ed-text-muted, #95a0ab);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.pd-pressure-empty[b-gnqqr0qwxy] {
    font-size: 11px;
    color: rgba(149,160,171,0.55);
    padding: 12px 0;
    font-style: italic;
}

/* ── List card (system lists + territory share this chrome) ── */
.pd-list-card[b-gnqqr0qwxy] {
    background: rgba(13, 17, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Tabs */
.pd-tabs[b-gnqqr0qwxy] {
    display: flex;
    border-bottom: 1px solid rgba(255, 113, 0, 0.14);
}
.pd-tab[b-gnqqr0qwxy] {
    padding: 11px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: transparent;
    color: var(--ed-text-muted, #95a0ab);
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pd-tab:hover[b-gnqqr0qwxy] { color: var(--ed-text, #e6edf3); }
.pd-tab.active[b-gnqqr0qwxy] {
    color: var(--ed-orange, #ff7100);
    border-bottom-color: var(--ed-orange, #ff7100);
}
.pd-tab-count[b-gnqqr0qwxy] {
    font-size: 9.5px;
    padding: 1px 6px;
    background: rgba(255,255,255,0.06);
    color: var(--ed-text-muted, #95a0ab);
    font-family: 'Consolas', 'Monaco', monospace;
    font-weight: 700;
}
.pd-tab.active .pd-tab-count[b-gnqqr0qwxy] {
    background: var(--ed-orange, #ff7100);
    color: #0d1117;
}
.pd-tabs-spacer[b-gnqqr0qwxy] { flex: 1; }
.pd-filter[b-gnqqr0qwxy] {
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 6px;
}
.pd-filter-input[b-gnqqr0qwxy] {
    padding: 5px 10px;
    font-size: 11.5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--ed-text, #e6edf3);
    outline: none;
    font-family: inherit;
    min-width: 160px;
}
.pd-filter-clear[b-gnqqr0qwxy] {
    padding: 4px 9px;
    font-size: 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--ed-text-muted, #95a0ab);
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
}

/* List table (the generic row/header inside pd-list-card) */
.pd-list-table[b-gnqqr0qwxy] { display: flex; flex-direction: column; }
.pd-list-header[b-gnqqr0qwxy] {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 10px;
    color: var(--ed-text-muted, #95a0ab);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-weight: 600;
    column-gap: 12px;
}
.pd-list-row[b-gnqqr0qwxy] {
    padding: 9px 16px;
    align-items: center;
    cursor: pointer;
    column-gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pd-list-row:last-of-type[b-gnqqr0qwxy] { border-bottom: none; }
.pd-list-row:hover[b-gnqqr0qwxy] { background: rgba(255, 113, 0, 0.04); }
.pd-row-name[b-gnqqr0qwxy] {
    font-size: 12px;
    color: var(--ed-text, #e6edf3);
    font-weight: 600;
}
.pd-open-btn[b-gnqqr0qwxy] {
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    background: rgba(255, 113, 0, 0.10);
    border: 1px solid var(--ed-orange, #ff7100);
    color: var(--ed-orange, #ff7100);
    cursor: pointer;
    font-family: inherit;
}
.pd-open-btn:hover[b-gnqqr0qwxy] { background: rgba(255, 113, 0, 0.2); }

/* Expansion-tab specific grid */
.pd-expansion-grid[b-gnqqr0qwxy] {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 1.4fr 0.7fr 1.2fr 90px;
}
.pd-progress-cell[b-gnqqr0qwxy] {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pd-progress-bar[b-gnqqr0qwxy] {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
}
.pd-progress-fill[b-gnqqr0qwxy] {
    height: 100%;
}
.pd-progress-fill.leading[b-gnqqr0qwxy] { background: #00ff66; }
.pd-progress-fill.losing[b-gnqqr0qwxy]  { background: #ff3333; }
.pd-rivals[b-gnqqr0qwxy] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
}

/* ── Territory table ── */
.pd-territory-table[b-gnqqr0qwxy] { display: flex; flex-direction: column; }
.pd-territory-header[b-gnqqr0qwxy],
.pd-territory-row[b-gnqqr0qwxy] {
    display: grid;
    grid-template-columns: 1.4fr 1.4fr 0.7fr 0.7fr;
    column-gap: 12px;
    align-items: center;
}
.pd-territory-header[b-gnqqr0qwxy] {
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 10px;
    color: var(--ed-text-muted, #95a0ab);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-weight: 600;
}
.pd-territory-row[b-gnqqr0qwxy] {
    padding: 9px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.pd-territory-row:last-of-type[b-gnqqr0qwxy] { border-bottom: none; }
.pd-territory-row:hover[b-gnqqr0qwxy] { background: rgba(255, 113, 0, 0.04); }
.pd-territory-transition[b-gnqqr0qwxy] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.pd-territory-arrow[b-gnqqr0qwxy] { font-size: 14px; }

/* Pagination styles live in PdPagination.razor.css (scoped to that
   component so they travel with it). */

/* ── Empty state ── */
.pd-empty[b-gnqqr0qwxy] {
    padding: 24px 16px;
    text-align: center;
    font-size: 12px;
    color: var(--ed-text-muted, #95a0ab);
    font-style: italic;
}

/* LIVE telemetry pulsing dot — keyframe referenced by .pd-live-dot above.
   Scoped CSS does not rewrite @keyframes names, so this stays global. */
@keyframes edpulse-b-gnqqr0qwxy {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .pd-tiles[b-gnqqr0qwxy] { grid-template-columns: repeat(3, 1fr); }
    .pd-tile:nth-child(3n)[b-gnqqr0qwxy] { border-right: none; }
    .pd-tile:nth-child(n+4)[b-gnqqr0qwxy] { border-top: 1px solid rgba(255,255,255,0.06); }
    .pd-pressure[b-gnqqr0qwxy] { grid-template-columns: 1fr; }
    .pd-state-chips[b-gnqqr0qwxy] { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
    .pd-identity[b-gnqqr0qwxy] { padding: 20px 16px; }
    .pd-section[b-gnqqr0qwxy] { padding: 18px 16px 22px; }
    .pd-id-row[b-gnqqr0qwxy] { flex-direction: column; }
    .pd-live[b-gnqqr0qwxy] { width: 100%; }
    .pd-name[b-gnqqr0qwxy] { font-size: 32px; }
    .pd-tiles[b-gnqqr0qwxy] { grid-template-columns: repeat(2, 1fr); }
    .pd-tile:nth-child(2n)[b-gnqqr0qwxy] { border-right: none; }
    .pd-tile:nth-child(n+3)[b-gnqqr0qwxy] { border-top: 1px solid rgba(255,255,255,0.06); }
    .pd-id-header[b-gnqqr0qwxy] { flex-direction: column; gap: 14px; }
    .pd-back[b-gnqqr0qwxy] { padding-top: 0; min-width: 0; }
    .pd-expansion-grid[b-gnqqr0qwxy] { grid-template-columns: 1.4fr 0.7fr 1.4fr 0.7fr; }
    .pd-expansion-grid > :nth-child(5)[b-gnqqr0qwxy],
    .pd-expansion-grid > :nth-child(6)[b-gnqqr0qwxy] { display: none; }
}
/* /Components/Pages/SystemDetail.razor.rz.scp.css */
/* ─────────────────────────────────────────────────────────────────────
   SystemDetail.razor.css — applies the dossier-style identity-band
   pattern from PowerDetail to the system detail page.

   Inline variables on .sdx-page: --pc = controlling power colour (or
   neutral if unaligned). The wash is fixed to Winters blue to match
   the rest of the site; --pc drives accents (top stripe, watermark,
   logo glow, name shadow, tile accents).

   The existing global .sd-* styles (app.css) still drive the hero
   chart + body cards. ::deep rules below de-chromify the hero so it
   sits flush with the new band instead of looking like a separate card.
   ───────────────────────────────────────────────────────────────────── */

.sdx-page[b-3x1nnvkknr] {
    width: 100%;
    background:
        radial-gradient(ellipse 90% 60% at top right,    color-mix(in srgb, #5ab8ff 25%, transparent) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at bottom left,  color-mix(in srgb, #5ab8ff 11%, transparent) 0%, transparent 55%),
        linear-gradient(180deg, color-mix(in srgb, #5ab8ff 12%, transparent) 0%,
                                  color-mix(in srgb, #5ab8ff 5%,  transparent) 40%,
                                  rgba(13,17,23,0) 70%);
    color: var(--ed-text, #e6edf3);
    font-family: 'Eurostile', 'Segoe UI', Arial, sans-serif;
}

/* ── Identity band ───────────────────────────────────────────────── */
.sdx-band[b-3x1nnvkknr] {
    position: relative;
    padding: 28px 28px 22px;
    overflow: hidden;
}
/* Sized smaller than PowerDetail's 420×420 watermark — this band has no
   chart inside it, so it's much shorter; a 420px logo would get clipped
   at the bottom by the band's overflow:hidden. */
.sdx-watermark[b-3x1nnvkknr] {
    position: absolute;
    right: -30px;
    top: -30px;
    width: 280px;
    height: 280px;
    object-fit: contain;
    opacity: 0.10;
    filter: brightness(0) invert(1);
    pointer-events: none;
    z-index: 0;
}
.sdx-top-accent[b-3x1nnvkknr] {
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pc) 0%, transparent 70%);
    z-index: 1;
}

.sdx-id-row[b-3x1nnvkknr] {
    position: relative;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    z-index: 2;
}
.sdx-id-left[b-3x1nnvkknr] {
    flex: 1;
    min-width: 0;
}
.sdx-id-header[b-3x1nnvkknr] {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}
.sdx-back[b-3x1nnvkknr] {
    font-size: 10.5px;
    color: var(--ed-orange, #ff7100);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding-top: 6px;
    min-width: 80px;
    flex-shrink: 0;
    align-self: center;
}
.sdx-back:hover[b-3x1nnvkknr] { text-shadow: 0 0 8px rgba(255,113,0,0.4); }

.sdx-id-text[b-3x1nnvkknr] { min-width: 0; flex: 1; }

.sdx-name-line[b-3x1nnvkknr] {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}
.sdx-name[b-3x1nnvkknr] {
    margin: 0;
    font-size: 44px;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 0.95;
    color: var(--ed-text, #e6edf3);
    text-shadow: 0 0 24px color-mix(in srgb, var(--pc) 40%, transparent);
}
.sdx-state-pill[b-3x1nnvkknr] {
    font-size: 11px;
    padding: 3px 9px;
    background: color-mix(in srgb, var(--state-color) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--state-color) 50%, transparent);
    color: var(--state-color);
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Consolas', 'Monaco', monospace;
}
.sdx-power-chip[b-3x1nnvkknr] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--pc);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--pc) 35%, transparent));
}

.sdx-sub-line[b-3x1nnvkknr] {
    margin-top: 14px;
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.sdx-verdict[b-3x1nnvkknr] {
    font-size: 22px;
    font-weight: 700;
    color: var(--v-color);
    letter-spacing: 0.06em;
    text-shadow: 0 0 16px color-mix(in srgb, var(--v-color) 40%, transparent);
}
.sdx-dot[b-3x1nnvkknr] { color: rgba(149,160,171,0.55); font-size: 18px; }
.sdx-sub[b-3x1nnvkknr] {
    font-size: 14px;
    color: var(--ed-text-secondary, #b0b8c1);
    font-weight: 500;
}
.sdx-coords[b-3x1nnvkknr] {
    font-size: 12px;
    color: var(--ed-text-muted, #95a0ab);
    font-family: 'Consolas', 'Monaco', monospace;
    letter-spacing: 0.05em;
}

/* ── Stat tiles strip ──────────────────────────────────────────── */
.sdx-tiles[b-3x1nnvkknr] {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: rgba(13, 17, 23, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.sdx-tile[b-3x1nnvkknr] {
    position: relative;
    padding: 11px 14px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    --accent: var(--pc);
}
.sdx-tile + .sdx-tile[b-3x1nnvkknr] {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}
.sdx-tile[b-3x1nnvkknr]::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    opacity: 0.55;
}
.sdx-tile-bold[b-3x1nnvkknr]::before {
    opacity: 1;
    box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 50%, transparent);
}
.sdx-tile-label[b-3x1nnvkknr] {
    font-size: 9.5px;
    color: var(--ed-text-muted, #95a0ab);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}
.sdx-tile-value[b-3x1nnvkknr] {
    font-size: 19px;
    font-weight: 700;
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--ed-text, #e6edf3);
    line-height: 1;
}
.sdx-tile-bold .sdx-tile-value[b-3x1nnvkknr] {
    font-size: 22px;
    color: var(--accent);
    text-shadow: 0 0 10px color-mix(in srgb, var(--accent) 40%, transparent);
}
.sdx-tile-green .sdx-tile-value[b-3x1nnvkknr] { color: #00ff66; }
.sdx-tile-red   .sdx-tile-value[b-3x1nnvkknr] { color: #ff3333; }
.sdx-tile-green[b-3x1nnvkknr] { --accent: #00ff66; }
.sdx-tile-red[b-3x1nnvkknr]   { --accent: #ff3333; }
.sdx-tile-sub[b-3x1nnvkknr] {
    font-size: 9px;
    color: rgba(149,160,171,0.55);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ── LIVE telemetry block (mirrors PowerDetail) ─────────────────── */
.sdx-live[b-3x1nnvkknr] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 220px;
    padding: 14px 16px;
    background: rgba(0, 255, 102, 0.04);
    border: 1px solid rgba(0, 255, 102, 0.25);
    border-left: 3px solid #00ff66;
    flex-shrink: 0;
}
.sdx-live-header[b-3x1nnvkknr] {
    display: flex; align-items: center; gap: 10px;
}
.sdx-live-dot[b-3x1nnvkknr] {
    width: 10px; height: 10px; border-radius: 50%;
    background: #00ff66;
    box-shadow: 0 0 10px #00ff66, 0 0 4px #00ff66;
    animation: edpulse-b-3x1nnvkknr 2s ease-in-out infinite;
}
.sdx-live-dot.sdx-live-dim[b-3x1nnvkknr] {
    background: var(--ed-text-muted, #95a0ab);
    box-shadow: none;
    animation: none;
}
.sdx-live-label[b-3x1nnvkknr] {
    font-size: 14px;
    font-weight: 800;
    color: #00ff66;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.33);
}
.sdx-live-row[b-3x1nnvkknr] {
    display: flex; flex-direction: column; gap: 2px;
}
.sdx-live-row-label[b-3x1nnvkknr] {
    font-size: 9.5px;
    color: var(--ed-text-muted, #95a0ab);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}
.sdx-live-row-value[b-3x1nnvkknr] {
    font-size: 16px;
    font-weight: 700;
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--ed-text, #e6edf3);
    line-height: 1;
}
.sdx-copy-btn[b-3x1nnvkknr] {
    margin-top: 4px;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    background: rgba(255, 113, 0, 0.10);
    border: 1px solid var(--ed-orange, #ff7100);
    color: var(--ed-orange, #ff7100);
    cursor: pointer;
    font-family: inherit;
}
.sdx-copy-btn:hover[b-3x1nnvkknr] { background: rgba(255, 113, 0, 0.20); }

/* ── Section wrapper (hairline-separated) ───────────────────────── */
.sdx-section[b-3x1nnvkknr] {
    padding: 22px 28px 26px;
    border-top: 1px solid rgba(255, 113, 0, 0.14);
}
.sdx-section-flush[b-3x1nnvkknr] {
    padding: 0 28px 26px;
    border-top: 1px solid rgba(255, 113, 0, 0.14);
}
.sdx-section-header[b-3x1nnvkknr] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-top: 22px;
}
.sdx-section-title[b-3x1nnvkknr] {
    font-size: 12px;
    font-weight: 700;
    color: var(--ed-orange, #ff7100);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.sdx-section-rule[b-3x1nnvkknr] {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 113, 0, 0.2) 0%, transparent 80%);
}
.sdx-section-right[b-3x1nnvkknr] {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    color: var(--ed-text-muted, #95a0ab);
    font-family: 'Consolas', 'Monaco', monospace;
}

/* ── De-chrome the existing .sd-hero so it sits flush in a section ── */
.sdx-section[b-3x1nnvkknr]  .sd-hero,
.sdx-section-flush[b-3x1nnvkknr]  .sd-hero {
    background: transparent;
    border: none;
}
.sdx-section[b-3x1nnvkknr]  .sd-hero-corner,
.sdx-section-flush[b-3x1nnvkknr]  .sd-hero-corner {
    display: none;
}
/* Hide the hero's own verdict line — the band's verdict supersedes it.
   We still want the band-pill (state · pct · CP) and the chart. */
.sdx-section[b-3x1nnvkknr]  .sd-hero .sd-hero-head .sd-verdict,
.sdx-section[b-3x1nnvkknr]  .sd-hero .sd-hero-head .sd-hero-sep,
.sdx-section[b-3x1nnvkknr]  .sd-hero .sd-hero-head .sd-verdict-detail,
.sdx-section-flush[b-3x1nnvkknr]  .sd-hero .sd-hero-head .sd-verdict,
.sdx-section-flush[b-3x1nnvkknr]  .sd-hero .sd-hero-head .sd-hero-sep,
.sdx-section-flush[b-3x1nnvkknr]  .sd-hero .sd-hero-head .sd-verdict-detail {
    display: none;
}

/* Body grid — keep two columns but lift the existing cards onto the wash */
.sdx-body[b-3x1nnvkknr] {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 18px;
}
@media (max-width: 1100px) {
    .sdx-body[b-3x1nnvkknr] { grid-template-columns: 1fr; }
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .sdx-tiles[b-3x1nnvkknr] { grid-template-columns: repeat(3, 1fr); }
    .sdx-tile:nth-child(3n)[b-3x1nnvkknr] { border-right: none; }
    .sdx-tile:nth-child(n+4)[b-3x1nnvkknr] { border-top: 1px solid rgba(255,255,255,0.06); }
}
@media (max-width: 800px) {
    .sdx-band[b-3x1nnvkknr] { padding: 20px 16px; }
    .sdx-section[b-3x1nnvkknr], .sdx-section-flush[b-3x1nnvkknr] { padding: 18px 16px 22px; }
    .sdx-id-row[b-3x1nnvkknr] { flex-direction: column; }
    .sdx-live[b-3x1nnvkknr] { width: 100%; }
    .sdx-name[b-3x1nnvkknr] { font-size: 32px; }
    .sdx-tiles[b-3x1nnvkknr] { grid-template-columns: repeat(2, 1fr); }
    .sdx-tile:nth-child(2n)[b-3x1nnvkknr] { border-right: none; }
    .sdx-tile:nth-child(n+3)[b-3x1nnvkknr] { border-top: 1px solid rgba(255,255,255,0.06); }
    .sdx-id-header[b-3x1nnvkknr] { flex-direction: column; gap: 14px; }
    .sdx-back[b-3x1nnvkknr] { padding-top: 0; min-width: 0; }
}

@keyframes edpulse-b-3x1nnvkknr {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.45; }
}
