.radio-shell { max-width: 820px; }
.radio-shell [hidden] { display: none !important; }
.radio-header { margin-bottom: 24px; }
.radio-header h1 { margin: 20px 0 8px; font-size: clamp(1.8rem, 5vw, 2.6rem); }
.radio-header p, .radio-eyebrow { color: var(--muted, #aaa); }
.radio-result { border-left: 5px solid #70869a; }
.radio-result[data-state="pending"] { border-left-color: #70c9ee; }
.radio-result[data-state="failed"] { border-left-color: #ff8993; }
.radio-result[data-state="passed"] { border-left-color: #70d4ad; }
.radio-result[data-state="failed"] h2 { color: #ffb4bc; }
.radio-result[data-state="passed"] h2 { color: #8fe3bd; }
.radio-result h2 { font-size: 1.9rem; margin: 8px 0 14px; }
.radio-eyebrow { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.radio-next { padding: 14px 0; border-top: 1px solid #344654; }
.radio-safety { font-size: .85rem; margin-bottom: 0; }
.radio-details { padding: 18px 22px; }
.radio-details summary { font-weight: 600; cursor: pointer; }
.radio-shell button:disabled { opacity: .45; cursor: not-allowed; }
.radio-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.radio-controls label { display: block; margin-bottom: 6px; }
.radio-controls input { width: 110px; text-transform: uppercase; }
.radio-readings { display: flex; flex-wrap: wrap; gap: 24px; }
.radio-readings dt { color: var(--muted, #aaa); }
.radio-readings dd { margin: 8px 0; font-size: 1.3rem; }
#radio-log { max-height: 260px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; }
.radio-shell li { margin: 10px 0; }
.radio-shell details { margin-top: 18px; }

.radio-progress { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; }
.radio-progress[hidden] { display: none; }
.radio-spinner {
    width: 22px; height: 22px; flex: 0 0 auto;
    border: 3px solid var(--muted, #aaa); border-top-color: transparent;
    border-radius: 50%; animation: radio-spin .8s linear infinite;
}
@keyframes radio-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .radio-spinner { animation: none; }
}

.radio-result[data-state="partial"] { border-left-color: #efc16e; }
.radio-result[data-state="partial"] h2 { color: #efc16e; }
