header.theme-navy {
    --header: #0f2744;
}

.start-panel.acr {
    border-left-color: #0f2744;
}

.status-badge.active {
    background: #e3eaf3;
    color: #0f2744;
}

.cycle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.cycle-box {
    padding: 14px;
    border-radius: 12px;
    background: var(--surface2);
    text-align: center;
}

.cycle-box strong {
    display: block;
    font-family: monospace;
    font-size: 28px;
    line-height: 1.1;
}

.cycle-box span {
    color: var(--muted);
    font-size: 12px;
}

.cycle-box.alert {
    background: var(--orange-light);
}

.cycle-box.danger {
    background: var(--red-light);
}

.shock-panel {
    text-align: center;
}

.shock-count {
    font-family: monospace;
    font-size: clamp(48px, 8vw, 84px);
    font-weight: 800;
    letter-spacing: -3px;
    color: #0f2744;
}

.shock-hint {
    min-height: 42px;
    margin: 8px 0 16px;
    color: var(--muted);
    font-size: 14px;
}

.shock-hint.ready {
    color: var(--orange);
    font-weight: 700;
}

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

.rhythm-grid button.active-shockable {
    background: var(--red);
    color: white;
    border-color: var(--red);
}

.rhythm-grid button.active-asystole {
    background: #263238;
    color: white;
    border-color: #263238;
}

.rhythm-grid button.active-rosc {
    background: var(--green);
    color: white;
    border-color: var(--green);
}

.ecmo-banner {
    display: none;
    background: var(--red-light);
    border: 1px solid #ef9a9a;
    color: var(--red);
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-weight: 700;
}

.ecmo-banner.visible {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.med-card.adrenaline {
    background: #fff3e0;
    border-color: #ffcc80;
}

.med-card.adrenaline .med-time {
    color: var(--orange);
}

.med-card.amio {
    background: #e3eaf3;
    border-color: #90a4ae;
}

.med-card.amio .med-time {
    color: #0f2744;
}

@media (max-width: 850px) {
    .rhythm-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cycle-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .cycle-box {
        padding: 10px 6px;
    }

    .cycle-box strong {
        font-size: 22px;
    }

    .cycle-box span {
        font-size: 11px;
    }

    .ecmo-banner.visible {
        flex-direction: column;
        align-items: stretch;
    }

    .ecmo-banner button {
        width: 100%;
    }
}
