/* ==========================================================
   Linecraft AI - Ikshana Product Page
   Page-specific styles only. Shared nav/footer/modal/typography
   primitives live in css/base.css.
   File: css/ikshana.css
   ========================================================== */

.dropdown-popover.modules-mega {
    min-width: 560px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

/* ==========================================================
   Module Card Customizations
   ========================================================== */
.mc-icon-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.mc-icon-title-row .mc-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.mc-icon-title-row .mc-title {
    margin-bottom: 0;
}

.mc-visual {
    background: none;
    padding: 0;
}

.mc-visual img {
    border-radius: 24px;
    border: 16px solid #050040;
    box-sizing: border-box;
}

.mc-visual-shadowed {
    background: none;
    padding: 0;
}

.mc-visual-shadowed img {
    border-radius: 24px;
    border: 16px solid #050040;
    box-sizing: border-box;
}

/* ==========================================================
   Product Hero (page-specific: wider copy area for line-physics positioning)
   ========================================================== */
.prod-hero-copy {
    max-width: 980px;
    margin: 0 auto;
}

.prod-hero-title {
    font-size: 3.1rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--ink-heavy);
    margin-bottom: 22px;
}

.prod-hero-lead {
    font-size: 1.16rem;
    line-height: 1.68;
    color: var(--ink-muted);
    max-width: 880px;
    margin: 0 auto 32px auto;
}

.hero-docs-link {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-heavy);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.hero-docs-link:hover {
    color: var(--accent-blue);
    background: var(--bg-surface-elevated);
}

.hero-positioning-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--border-standard);
    padding: 6px 16px 6px 8px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--ink-standard);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-top: 24px;
}

.hero-positioning-pill .pill-tag {
    background: var(--bg-inverse);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-positioning-pill strong {
    color: var(--accent-blue);
}

.prod-hero-mockup {
    margin-top: 40px;
    padding-bottom: 70px;
    position: relative;
    background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 65%), linear-gradient(180deg, transparent 0%, var(--bg-surface-elevated) 100%);
}

/* ==========================================================
   Line Physics vs Isolated OEE Contrast Table
   ========================================================== */
.line-physics-contrast-section {
    padding: 88px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.contrast-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px auto;
}

.contrast-title {
    font-size: 2.35rem;
    color: var(--ink-heavy);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 10px 0 14px 0;
}

.contrast-lead {
    font-size: 1.05rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

.contrast-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-standard);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(5, 0, 64, 0.04), 0 1px 3px rgba(5, 0, 64, 0.02);
    overflow: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.contrast-matrix-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
    font-size: 0.92rem;
    table-layout: fixed;
}

.contrast-matrix-table th {
    padding: 22px 24px;
    text-align: left;
    vertical-align: bottom;
    border-bottom: 1px solid var(--border-standard);
}

.contrast-matrix-table th.col-dim {
    width: 22%;
    background: #f8fafc;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
    border-right: 1px solid var(--border-subtle);
}

.contrast-matrix-table th.col-legacy {
    width: 39%;
    background: #fafafc;
    border-right: 1px solid var(--border-subtle);
}

.contrast-matrix-table th.col-ikshana {
    width: 39%;
    background: linear-gradient(180deg, #f0f7ff 0%, #edf5ff 100%);
    border-top: 3px solid var(--accent-blue);
}

.th-label-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.th-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: inline-block;
    width: fit-content;
    padding: 2px 8px;
    border-radius: 4px;
}

.th-badge.status-quo {
    background: #f1f5f9;
    color: var(--ink-muted);
}

.th-badge.ikshana-tag {
    background: #dbeafe;
    color: var(--accent-blue);
}

.th-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink-heavy);
    margin-top: 2px;
}

.contrast-matrix-table td {
    padding: 22px 24px;
    vertical-align: top;
    border-bottom: 1px solid var(--border-subtle);
}

.contrast-matrix-table tr:last-child td {
    border-bottom: none;
}

.contrast-matrix-table td.dim-cell {
    background: #f8fafc;
    border-right: 1px solid var(--border-subtle);
}

.dim-name {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--ink-heavy);
    margin-bottom: 4px;
}

.dim-sub {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--ink-faint);
    letter-spacing: 0.02em;
}

.contrast-matrix-table td.legacy-cell {
    background: #ffffff;
    border-right: 1px solid var(--border-subtle);
}

.contrast-matrix-table td.ikshana-cell {
    background: #f8faff;
}

.cell-status-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cell-status-wrap strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ink-heavy);
    margin-bottom: 4px;
}

.cell-status-wrap p {
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--ink-muted);
    margin: 0;
}

.ikshana-cell .cell-status-wrap strong {
    color: #050040;
}

.ikshana-cell .cell-status-wrap p {
    color: var(--ink-standard);
}

.cross-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fee2e2;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #dbeafe;
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 860px) {
    .contrast-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .prod-hero-title {
        font-size: 2.15rem;
    }
    .prod-hero-lead {
        font-size: 1.02rem;
    }
}

/* ==========================================================
   How It Works / Blueprint
   ========================================================== */
.how-it-works-section {
    padding: 100px 0;
    background: var(--bg-canvas);
    border-top: 1px solid var(--border-subtle);
}

.how-it-works-section {
    padding: 104px 0 110px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    border-top: 1px solid var(--border-subtle);
}

.hiw-layout {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 40px;
    align-items: start;
}

.hiw-layout > * {
    min-width: 0;
}

.hiw-blueprint-card {
    max-width: 100%;
    box-sizing: border-box;
}

.hiw-steps-pane {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hiw-step-row {
    display: flex;
    gap: 18px;
    padding: 22px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: #ffffff;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.25s ease, background 0.2s ease;
    position: relative;
    overflow: hidden;
}

.hiw-step-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3.5px;
    background: #3b82f6;
    opacity: 0;
    transform: scaleY(0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hiw-step-row:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateX(4px);
}

.hiw-step-row.active {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 14px 35px -8px rgba(37, 99, 235, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
    transform: translateX(8px);
}

.hiw-step-row.active::before {
    opacity: 1;
    transform: scaleY(1);
}

.hiw-step-number {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 800;
    color: #94a3b8;
    flex-shrink: 0;
    width: 28px;
    padding-top: 2px;
}

.hiw-step-row.active .hiw-step-number {
    color: var(--accent-blue);
}

.hiw-step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink-heavy);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.hiw-step-content p {
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.6;
}

.hiw-visual-pane {
    position: sticky;
    top: 100px;
}

/* Antigravity Glassmorphic Telemetry Console */
.hiw-blueprint-card {
    background: radial-gradient(circle at 50% 0%, #161b2c 0%, #090c15 80%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 26px 28px 22px 28px;
    box-shadow: 0 24px 60px -15px rgba(2, 6, 23, 0.65), 0 0 1px 1px rgba(255, 255, 255, 0.08) inset;
    backdrop-filter: blur(16px);
}

.blueprint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 10px;
}

.bp-header-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bp-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.06em;
}

.bp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: pulseGlow 2s infinite ease-in-out;
}

.bp-sub-status {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: #64748b;
    letter-spacing: 0.05em;
}

.bp-step-indicator {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 9999px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    letter-spacing: 0.04em;
}

.blueprint-canvas {
    padding: 24px 16px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Phase Dynamic Canvas Layouts */
.bp-stage-layout {
    width: 100%;
    animation: bpFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bpFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Phase 1: Connect & Map */
.phase-connect {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.bp-col-sources {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.bp-device-pill {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 600;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-pill-dot.green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

.bp-bus-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
}

.bp-bus-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    position: relative;
}

.bp-bus-line::after {
    content: '';
    position: absolute;
    top: -3px;
    right: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 8px #3b82f6;
    animation: flowPulseLine 1.5s infinite ease-in-out;
}

@keyframes flowPulseLine {
    0% { transform: translateX(-40px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(0); opacity: 0; }
}

.bp-bus-label {
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: #64748b;
    letter-spacing: 0.06em;
    text-align: center;
}

.bp-col-hub {
    flex: 1.1;
}

.bp-hub-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ==========================================================
   Second Module Section: Horizontal Layout with Stacking
   ========================================================== */
.me-content-horizontal {
    grid-column: 1 / -1 !important;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 60px 0;
}

.me-content-horizontal .module-card {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    grid-template-rows: auto auto auto auto;
    gap: 0 40px;
    align-items: start;
    cursor: pointer;
    will-change: transform;
    height: 480px;
}

.me-content-horizontal .module-card:hover {
    box-shadow: 0 4px 16px rgba(5, 0, 64, 0.12);
}

.me-content-horizontal .mc-icon-title-row {
    grid-column: 1;
    grid-row: 1;
}

.me-content-horizontal .mc-desc {
    grid-column: 1;
    grid-row: 2;
}

.me-content-horizontal .mc-features {
    grid-column: 1;
    grid-row: 3;
}

.me-content-horizontal .mc-visual {
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
    align-items: center;
    height: 100%;
}

.bp-hub-badge {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.bp-hub-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.bp-hub-meta {
    font-size: 0.76rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.bp-hub-stats {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Phase 2: Stream Signals */
.phase-stream .bp-stream-visual {
    width: 100%;
}

.bp-stream-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bp-pulse-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    display: inline-block;
}

.bp-rate-tag {
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    padding: 2px 8px;
    border-radius: 4px;
}

.bp-data-matrix-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100px;
    padding: 0 10px;
    margin-bottom: 14px;
}

.bp-bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 100%;
    justify-content: flex-end;
}

.bp-bar-col span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #64748b;
}

.bp-bar-fill {
    width: 28px;
    background: linear-gradient(180deg, #38bdf8, #0284c7);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
    transition: height 0.5s ease;
}

.bp-bar-fill.alert {
    background: linear-gradient(180deg, #fb7185, #e11d48);
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.35);
}

.bp-bar-fill.h-80 { height: 75px; }
.bp-bar-fill.h-95 { height: 95px; }
.bp-bar-fill.h-60 { height: 55px; }
.bp-bar-fill.h-75 { height: 70px; }
.bp-bar-fill.h-40 { height: 40px; }

.bp-stream-footer .bp-spec-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #94a3b8;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Phase 3: Mathematical Model */
.phase-model .bp-patent-callout-hud {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 8px;
    padding: 6px 12px;
}

.bp-patent-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 800;
    color: #c4b5fd;
    background: rgba(124, 58, 237, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
}

.bp-patent-title {
    font-size: 0.76rem;
    color: #e2e8f0;
    font-weight: 600;
}

.bp-model-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bp-model-cell {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.bp-model-cell.active-engine {
    border-color: rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.08);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.bp-model-cell .cell-lbl {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: #64748b;
    margin-bottom: 4px;
}

.bp-model-cell strong {
    font-size: 0.88rem;
    color: #ffffff;
    margin-bottom: 2px;
}

.bp-model-cell small {
    font-size: 0.68rem;
    color: #94a3b8;
}

.bp-model-arrow {
    color: #64748b;
    font-size: 1.1rem;
}

/* Phase 4: Bottleneck HUD */
.phase-bottleneck .bp-constraint-hud {
    width: 100%;
}

.bp-hud-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.bp-alert-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.bp-loss-val {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 800;
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.35);
    padding: 3px 8px;
    border-radius: 4px;
}

.bp-hud-station-card {
    background: rgba(244, 63, 94, 0.08);
    border: 1px solid rgba(244, 63, 94, 0.35);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.stn-hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 0.95rem;
}

.badge-red {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: #fda4af;
    background: rgba(244, 63, 94, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

.stn-hud-root {
    font-size: 0.8rem;
    color: #fca5a5;
}

.bp-cascade-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 6px 12px;
}

.cascade-item.amber { color: #fbbf24; }
.cascade-item.blue { color: #60a5fa; }
.cascade-divider { color: #475569; }

/* Phase 5: Action Outcome */
.phase-action .bp-action-outcome-card {
    width: 100%;
}

.outcome-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.outcome-kicker {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 800;
    color: #10b981;
    letter-spacing: 0.06em;
}

.badge-green {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.outcome-stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
}

.stat-lbl {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    color: #64748b;
    margin-bottom: 4px;
}

.stat-text {
    font-size: 0.88rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-sub {
    font-size: 0.74rem;
    color: #94a3b8;
}

.text-gold { color: #f59e0b !important; }

/* Console Terminal Footer */
.blueprint-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 14px;
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bp-log-icon {
    color: #38bdf8;
    margin-top: 1px;
    flex-shrink: 0;
}

.blueprint-footer p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.5;
    color: #94a3b8;
    margin: 0;
}

.bp-connector-line.dashed {
    background: repeating-linear-gradient(to bottom, #1f2538 0 4px, transparent 4px 8px);
}

.bp-connector-line.highlight-active {
    background: var(--accent-blue);
}

.bp-connector-line.dashed.highlight-active {
    background: repeating-linear-gradient(to bottom, var(--accent-blue) 0 4px, transparent 4px 8px);
}

.blueprint-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.blueprint-footer p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* ==========================================================
   Responsive Adaptations
   ========================================================== */
@media (max-width: 992px) {
    .me-content-horizontal {
        gap: 40px;
        padding: 40px 0;
    }

    .me-content-horizontal .module-card {
        grid-template-columns: 1fr;
        gap: 24px;
        height: auto;
        min-height: 0;
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }

    .me-content-horizontal .mc-icon-title-row {
        grid-column: 1;
        grid-row: auto;
    }

    .me-content-horizontal .mc-desc {
        grid-column: 1;
        grid-row: auto;
    }

    .me-content-horizontal .mc-features {
        grid-column: 1;
        grid-row: auto;
    }

    .me-content-horizontal .mc-visual {
        grid-column: 1;
        grid-row: auto;
    }

    .hiw-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hiw-visual-pane {
        position: static;
    }
}

@media (max-width: 600px) {
    .hiw-step-row {
        padding: 18px 16px;
        gap: 12px;
    }

    .hiw-blueprint-card {
        padding: 18px 14px;
    }

    .blueprint-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .blueprint-canvas {
        padding: 16px 8px;
        overflow-x: auto;
    }

    .phase-connect {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .dropdown-popover.modules-mega {
        min-width: 0;
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   Hero macOS Window & Looping Carousel
   ========================================================== */
.mac-window-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Floating Segmented macOS Tabs with Progress Bar */
.mac-carousel-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    box-shadow: 0 10px 30px -5px rgba(5, 0, 64, 0.25);
    margin: 0 auto 28px auto;
    width: fit-content;
    max-width: 100%;
    flex-wrap: wrap;
}

.mac-tab-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: none;
    background: transparent;
    border-radius: 9999px;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.mac-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.mac-tab-btn.active {
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.45);
}

.mac-tab-btn .tab-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 700;
}

.mac-tab-btn .tab-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.mac-tab-btn.active .tab-progress {
    display: block;
}

.mac-tab-btn.active .tab-progress-bar {
    display: block;
    height: 100%;
    width: 0%;
    background: #93c5fd;
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Authentic macOS App Frame */
.mac-window-frame {
    background: #090d16;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06),
                0 30px 90px -20px rgba(0, 0, 0, 0.85),
                0 0 100px -20px rgba(37, 99, 235, 0.2);
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.3s ease;
}

.mac-window-frame:hover {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14),
                0 36px 100px -20px rgba(0, 0, 0, 0.9),
                0 0 120px -15px rgba(37, 99, 235, 0.28);
}

/* macOS Titlebar / Chrome */
.mac-window-header {
    background: linear-gradient(180deg, #1e2434 0%, #131824 100%);
    height: 46px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    user-select: none;
}

/* Traffic Lights */
.mac-traffic-lights {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mac-traffic-lights .light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    line-height: 1;
    font-weight: 700;
    color: transparent;
    transition: color 0.15s ease, transform 0.15s ease;
    cursor: default;
}

.mac-traffic-lights:hover .light {
    color: rgba(0, 0, 0, 0.65);
}

.mac-traffic-lights .light.red {
    background: #ff5f56;
    border: 1px solid #e0443e;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.mac-traffic-lights:hover .light.red::before { content: '×'; }

.mac-traffic-lights .light.yellow {
    background: #ffbd2e;
    border: 1px solid #dea123;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.mac-traffic-lights:hover .light.yellow::before { content: '−'; }

.mac-traffic-lights .light.green {
    background: #27c93f;
    border: 1px solid #1aab29;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4);
}
.mac-traffic-lights:hover .light.green::before { content: '+'; }

/* macOS Address Bar / Context Pill */
.mac-address-bar {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: #cbd5e1;
    max-width: 90%;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.mac-lock-icon {
    color: #38bdf8;
    flex-shrink: 0;
}

.mac-url-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mac-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 0.68rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 6px;
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 6px #34d399;
    animation: livePulse 2s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Window Actions */
.mac-window-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.mac-shift-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.mac-loop-toggle {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mac-loop-toggle:hover {
    background: rgba(37, 99, 235, 0.3);
    border-color: #3b82f6;
    color: #ffffff;
}

/* Window Body & Viewport */
.mac-window-body {
    position: relative;
    background: #060912;
}

.carousel-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(0.995);
}

.carousel-slide.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.slide-media {
    background: #060912;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    max-height: 680px;
    overflow: hidden;
}

.slide-media img {
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: contain;
    display: block;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* macOS Window Bottom Status Bar */
.mac-window-footer {
    background: #080c15;
    padding: 12px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-dots .dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dots .dot.active {
    width: 24px;
    border-radius: 9999px;
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

/* Responsive Mac view tuning */
@media (max-width: 992px) {
    .mac-window-header {
        grid-template-columns: 70px 1fr;
    }
    .mac-window-actions {
        display: none;
    }
    .mac-carousel-tabs {
        border-radius: 14px;
        padding: 4px;
    }
    .mac-tab-btn {
        padding: 7px 14px;
        font-size: 0.76rem;
    }
}

@media (max-width: 680px) {
    .mac-window-header {
        grid-template-columns: 1fr;
        height: auto;
        padding: 10px 14px;
        gap: 8px;
    }
    .mac-traffic-lights {
        display: none;
    }
    .mac-address-bar {
        max-width: 100%;
        font-size: 0.68rem;
    }
    .slide-media {
        min-height: 240px;
    }
}

/* ==========================================================
   Line Flow Architecture Visual Showcase (Spatial Holographic UI)
   ========================================================== */
.lineflow-showcase-section {
    margin: 40px 0 60px 0;
    background: radial-gradient(circle at 50% 10%, rgba(18, 26, 48, 0.95) 0%, rgba(6, 10, 18, 0.98) 100%);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 32px 80px -15px rgba(2, 6, 23, 0.8), 0 0 40px -10px rgba(59, 130, 246, 0.15);
    backdrop-filter: blur(20px);
    position: relative;
}

.lineflow-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.8), transparent);
    z-index: 2;
}

.lf-header {
    padding: 44px 36px 24px 36px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.lf-header-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.lf-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 9999px;
    padding: 3px 10px;
    letter-spacing: 0.06em;
}

.lf-title {
    font-size: 2.25rem;
    color: #f8fafc;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin: 10px 0 16px 0;
}

.lf-lead {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.65;
}

/* Scenario Switcher Bar (Industrial Flight Deck) */
.lf-control-dock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 14px 24px;
    background: rgba(11, 16, 28, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    backdrop-filter: blur(12px);
}

.lf-dock-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dock-radar-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: radarPulse 2s infinite ease-in-out;
}

@keyframes radarPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}

.lf-scenario-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lf-scenario-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 9px 18px;
    color: #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.lf-scenario-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.lf-scenario-btn.active {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.35) 0%, rgba(30, 64, 175, 0.25) 100%);
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.lf-tab-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.22);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Spatial Holographic Canvas */
.lf-pipeline-canvas {
    padding: 38px 32px 32px 32px;
    background: 
        radial-gradient(circle at 50% 30%, rgba(29, 39, 68, 0.3) 0%, rgba(7, 10, 18, 0.9) 70%),
        radial-gradient(rgba(59, 130, 246, 0.08) 1px, transparent 1px);
    background-size: 100% 100%, 24px 24px;
    position: relative;
    perspective: 1200px;
}

.lf-canvas-badge {
    position: absolute;
    top: 14px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.6);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.canvas-grid-icon {
    color: #3b82f6;
}

.lf-pipeline-track {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 28px;
    position: relative;
    overflow-x: auto;
    padding: 10px 4px 14px 4px;
}

.lf-node-col {
    flex: 1;
    min-width: 185px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lf-node-col.buffer-col {
    flex: 0 0 120px;
    min-width: 110px;
}

.lf-node-col.exit-col {
    flex: 0 0 135px;
    min-width: 125px;
}

.lf-node-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    margin-top: 10px;
}

/* Weightless Station Boxes with Glassmorphism */
.lf-station-box {
    width: 100%;
    background: linear-gradient(135deg, rgba(17, 24, 43, 0.85) 0%, rgba(10, 15, 28, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(14px);
}

.lf-station-box:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.75), 0 0 24px rgba(59, 130, 246, 0.2);
}

.lf-station-box.state-blocked {
    border-color: rgba(245, 158, 11, 0.5);
    background: linear-gradient(145deg, rgba(28, 25, 23, 0.85) 0%, rgba(15, 17, 24, 0.95) 100%);
    box-shadow: 0 16px 36px -10px rgba(245, 158, 11, 0.2);
}

.lf-station-box.state-constraint {
    border-color: rgba(244, 63, 94, 0.7);
    background: linear-gradient(145deg, rgba(38, 16, 28, 0.9) 0%, rgba(18, 12, 22, 0.95) 100%);
    box-shadow: 0 16px 40px -8px rgba(244, 63, 94, 0.35);
    animation: constraintPulse 3s infinite ease-in-out;
}

.lf-station-box.state-starved {
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(145deg, rgba(14, 25, 48, 0.85) 0%, rgba(9, 14, 26, 0.95) 100%);
    box-shadow: 0 16px 36px -10px rgba(59, 130, 246, 0.2);
}

.lf-station-box.state-optimal {
    border-color: rgba(16, 185, 129, 0.55);
    background: linear-gradient(145deg, rgba(13, 33, 26, 0.85) 0%, rgba(8, 19, 16, 0.95) 100%);
    box-shadow: 0 16px 36px -10px rgba(16, 185, 129, 0.2);
}

.lf-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.lf-stn-tag-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.stn-beacon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 6px #fbbf24;
}

.beacon-rose {
    background: #f43f5e;
    box-shadow: 0 0 8px #f43f5e;
}

.beacon-blue {
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
}

.beacon-green {
    background: #34d399;
    box-shadow: 0 0 8px #34d399;
}

.lf-stn-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: #e2e8f0;
}

.lf-stn-tag.constraint-tag {
    color: #fda4af;
}

.lf-status-pill {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.06em;
}

.pill-blocked {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

.pill-constraint {
    background: rgba(244, 63, 94, 0.2);
    color: #fda4af;
    border: 1px solid rgba(244, 63, 94, 0.5);
}

.pill-starved {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.35);
}

.pill-optimal {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.lf-stn-name {
    font-size: 0.86rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
    min-height: 40px;
    line-height: 1.35;
}

.lf-stn-meter {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
}

.lf-meter-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    color: #94a3b8;
    margin-bottom: 5px;
}

.lf-meter-row:last-child {
    margin-bottom: 0;
}

.lf-meter-row strong {
    font-family: var(--font-mono);
}

.text-green { color: #4ade80 !important; }
.text-amber { color: #fbbf24 !important; }
.text-rose { color: #fb7185 !important; }
.text-blue { color: #60a5fa !important; }
.text-gold { color: #f59e0b !important; }
.text-muted { color: #64748b !important; }

.lf-box-footer {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 8px;
}

.lf-footer-flag {
    display: block;
}

.lf-footer-flag.constraint-flag {
    color: #fca5a5;
    font-weight: 600;
}

.lf-box-inspect-cue {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: #60a5fa;
    opacity: 0.7;
    margin-top: 8px;
    text-align: right;
    transition: all 0.2s ease;
}

.lf-station-box:hover .lf-box-inspect-cue,
.lf-buffer-box:hover .lf-box-inspect-cue,
.lf-exit-box:hover .lf-box-inspect-cue {
    opacity: 1;
    color: #93c5fd;
    text-shadow: 0 0 8px rgba(147, 197, 253, 0.6);
}

/* Conveyor Tracks & Energized Flow */
.lf-conveyor-track {
    width: 100%;
    height: 18px;
    background: #0b101c;
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 9px;
    position: relative;
    margin-bottom: 8px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lf-flow-arrow {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.lf-flow-particle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 8px #38bdf8;
    animation: particleMove 1.6s infinite linear;
}

.lf-flow-particle.p-1 { animation-delay: 0s; }
.lf-flow-particle.p-2 { animation-delay: 0.5s; }
.lf-flow-particle.p-3 { animation-delay: 1.0s; }

.lf-flow-particle.starved {
    background: #334155;
    box-shadow: none;
    animation: none;
}

/* Buffer Accumulators */
.lf-buffer-box {
    width: 100%;
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.85) 0%, rgba(9, 14, 26, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
}

.lf-buffer-box:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
}

.lf-buf-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.68rem;
    font-family: var(--font-mono);
    margin-bottom: 6px;
}

.lf-buf-tag {
    color: #94a3b8;
    font-weight: 700;
}

.lf-buf-bar {
    height: 6px;
    width: 100%;
    background: #1e293b;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.lf-buf-fill {
    height: 100%;
    background: #fbbf24;
    transition: width 0.4s ease, background-color 0.4s ease;
}

/* Dynamic Physical Part Tokens */
.lf-buf-tokens {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;
    margin-bottom: 8px;
    padding: 4px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 6px;
}

.part-token {
    height: 8px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.part-token.active {
    background: #fbbf24;
    border-color: #f59e0b;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
}

.part-token.active-green {
    background: #10b981;
    border-color: #059669;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
}

.lf-buf-meta {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #94a3b8;
}

/* Exit Rate Box */
.lf-exit-box {
    width: 100%;
    background: linear-gradient(145deg, rgba(12, 17, 30, 0.85) 0%, rgba(7, 10, 18, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    cursor: pointer;
    transition: all 0.25s ease;
}

.lf-exit-box:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
}

.lf-exit-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 6px;
}

.lf-exit-rate {
    font-size: 1.9rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.lf-exit-rate .lf-unit {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94a3b8;
}

.lf-exit-target {
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 6px;
}

.lf-exit-penalty {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
}

/* Interactive Station Telemetry Inspector HUD */
.lf-inspector-hud {
    background: rgba(13, 20, 36, 0.95);
    border: 1px solid rgba(59, 130, 246, 0.45);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(20px);
    animation: hudSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hudSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

.hud-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
}

.hud-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hud-glyph {
    color: #60a5fa;
    font-size: 1rem;
}

.hud-station-code {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: #93c5fd;
    letter-spacing: 0.08em;
}

.hud-station-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.hud-close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.hud-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: rotate(90deg);
}

.hud-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hud-data-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 14px 16px;
}

.hud-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 8px;
}

.hud-val-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.hud-metric {
    font-family: var(--font-mono);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
}

.hud-metric-sub {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
}

.hud-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hud-tags-row code {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 6px;
    border-radius: 4px;
    color: #93c5fd;
}

.hud-impact-text {
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.hud-action-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #93c5fd;
}

/* Dynamic Explanation Banner */
.lf-scenario-card {
    background: rgba(12, 18, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent-blue);
    border-radius: 10px;
    padding: 22px 26px;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    margin-bottom: 28px;
}

.lf-scenario-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.lf-scenario-card h4 {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.015em;
}

.lf-scenario-card p {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 18px;
}

.lf-scenario-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.lf-stat-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.78rem;
    display: flex;
    gap: 6px;
}

.lf-stat-label {
    color: #64748b;
}

.lf-stat-val {
    color: #f1f5f9;
    font-weight: 600;
}

/* Demonstrated Flow Potential: Floating Glass Tiles */
.lf-potential-card {
    background: rgba(10, 15, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(16px);
}

.lf-potential-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.lf-pot-tag-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lf-pot-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #34d399;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 4px;
    padding: 3px 8px;
}

.lf-pot-sub {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #64748b;
}

.lf-pot-caption {
    font-size: 0.86rem;
    color: #94a3b8;
    max-width: 500px;
}

.lf-pot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.lf-pot-stat-box {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 18px 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lf-pot-stat-box:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.6);
}

.pot-box-glass-flare {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.pot-stat-lbl {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 6px;
    display: block;
}

.pot-stat-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.pot-stat-val .pot-unit {
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
}

.pot-stat-sub {
    font-size: 0.72rem;
    line-height: 1.35;
    display: block;
}

.lf-pot-footer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
}

.pot-footer-icon {
    color: #3b82f6;
    font-weight: 700;
}

.lf-pot-footer p {
    margin: 0;
}

/* Dual Real-World Snapshot & Telemetry Architecture */
.lf-preview-dock {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 32px;
    padding: 40px 36px;
    background: #060910;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    align-items: center;
}

.lf-dock-kicker {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #60a5fa;
    margin-bottom: 8px;
}

.lf-dock-h4 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 12px;
    letter-spacing: -0.015em;
}

.lf-dock-p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 22px;
}

.lf-dock-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lf-dock-checklist li {
    display: flex;
    gap: 12px;
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.5;
}

.lf-dock-checklist strong {
    color: #f1f5f9;
    display: block;
    margin-bottom: 2px;
}

.lf-dock-checklist p {
    margin: 0;
}

.lf-check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Telemetry Screen Frame with Interactive Radar Pins */
.lf-screenshot-frame {
    background: #0d1322;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.15);
}

.lf-frame-header {
    background: #111827;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lf-frame-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #94a3b8;
}

.lf-live-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lf-frame-body {
    position: relative;
    overflow: visible;
}

.lf-overview-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Radar Hotspot Pins */
.lf-hotspot-pin {
    position: absolute;
    width: 26px;
    height: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lf-hotspot-pin.pin-1 { top: 38%; left: 32%; }
.lf-hotspot-pin.pin-2 { top: 22%; right: 28%; }
.lf-hotspot-pin.pin-3 { bottom: 28%; right: 18%; }

.pin-halo {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(244, 63, 94, 0.3);
    border: 1px solid rgba(244, 63, 94, 0.7);
    animation: pinHaloPulse 2s infinite ease-out;
}

.pin-halo.halo-blue {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.7);
}

.pin-halo.halo-green {
    background: rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.7);
}

.pin-point {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f43f5e;
    box-shadow: 0 0 10px #f43f5e;
    border: 2px solid #ffffff;
    position: relative;
    z-index: 2;
}

.pin-point.point-blue {
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}

.pin-point.point-green {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

@keyframes pinHaloPulse {
    0% { transform: scale(0.6); opacity: 0.9; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Rich Glassmorphic Popover */
.pin-popover {
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 16, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    width: 220px;
    box-shadow: 0 14px 35px -6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(59, 130, 246, 0.25);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
    text-align: left;
}

.pin-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(10, 16, 30, 0.95);
}

.lf-hotspot-pin:hover .pin-popover,
.lf-hotspot-pin:focus .pin-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.popover-badge {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #fda4af;
    background: rgba(244, 63, 94, 0.2);
    border: 1px solid rgba(244, 63, 94, 0.4);
    border-radius: 3px;
    padding: 2px 6px;
    display: inline-block;
    margin-bottom: 6px;
}

.popover-badge.badge-blue {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
}

.popover-badge.badge-green {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

.pin-popover strong {
    display: block;
    font-size: 0.82rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.pin-popover p {
    font-size: 0.72rem;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

.lf-frame-footer {
    background: #0a0f1d;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 8px;
}

.lf-frame-footer strong {
    color: #cbd5e1;
}

@keyframes constraintPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(244, 63, 94, 0.2);
    }
    50% {
        box-shadow: 0 0 36px rgba(244, 63, 94, 0.55);
    }
}

@keyframes particleMove {
    0% { transform: translateX(0); opacity: 0.2; }
    50% { opacity: 1; }
    100% { transform: translateX(20px); opacity: 0.2; }
}

@media (max-width: 992px) {
    .lf-preview-dock {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 20px;
    }
    .lf-pipeline-track {
        min-width: 800px;
    }
    .lf-pipeline-canvas {
        padding: 24px 16px;
    }
    .lf-header {
        padding: 32px 20px 16px 20px;
    }
    .lf-title {
        font-size: 1.8rem;
    }
    .lf-pot-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .lf-pot-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   Demonstrated Flow Potential Card
   ========================================================== */
.lf-potential-card {
    background: linear-gradient(180deg, #0e1628 0%, #070c17 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 10px;
    padding: 22px 24px;
    margin-top: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.lf-potential-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.lf-pot-tag-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lf-pot-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 4px 10px;
    border-radius: 4px;
}

.lf-pot-sub {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #94a3b8;
    letter-spacing: 0.06em;
}

.lf-pot-caption {
    font-size: 0.84rem;
    color: #cbd5e1;
}

.lf-pot-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.lf-pot-stat-box {
    background: #060a14;
    border: 1px solid #1a253a;
    border-radius: 8px;
    padding: 14px 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.lf-pot-stat-box:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.pot-stat-lbl {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pot-stat-val {
    font-size: 1.65rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 4px;
}

.pot-unit {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
}

.pot-stat-sub {
    font-size: 0.72rem;
    display: block;
    line-height: 1.3;
}

.text-gold {
    color: #facc15 !important;
}

.lf-pot-footer {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.5;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
}

.pot-footer-icon {
    color: #38bdf8;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.lf-pot-footer p {
    margin: 0;
}

.lf-pot-footer strong {
    color: #e2e8f0;
}

/* ==========================================================
   Dual-Persona Workspace Switcher (#mod-dashboard)
   ========================================================== */
.persona-switcher-bar {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 9999px;
    margin: 16px 0 20px 0;
    gap: 4px;
    border: 1px solid var(--border-subtle);
    max-width: 100%;
    overflow-x: auto;
}

.persona-tab-btn {
    padding: 7px 18px;
    border-radius: 9999px;
    background: transparent;
    border: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ink-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.persona-tab-btn:hover {
    color: var(--ink-heavy);
}

.persona-tab-btn.active {
    background: var(--accent-blue);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.persona-pane {
    display: none;
}

.persona-pane.active {
    display: block;
    animation: personaFadeIn 0.25s ease;
}

.persona-kicker {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--accent-blue);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.persona-lead {
    font-size: 0.98rem;
    color: var(--ink-heavy);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

@keyframes personaFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}


