#liveView, #live-replayView { margin-top: 18px; }
#liveView .card h3 { margin: 0 0 4px; }
.live-heading, .live-fields, .live-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.live-heading { justify-content: space-between; margin-bottom: 16px; }
.live-heading h2 { font: 500 30px/1.2 Georgia, serif; margin: 0 0 4px; }
.live-heading .inspect { margin: 0; }
.live-login h3, .live-run h3 { margin: 0 0 9px; }
.live-fields { align-items: end; }
.live-fields label { display: grid; gap: 3px; font-size: 14px; font-weight: 600; max-width: 100%; }
.live-fields input { font: inherit; width: 15rem; max-width: 100%; padding: 8px 12px; border: 1px solid #8798ad; border-radius: 7px; }
.live-fields button { background: #204f91; color: #fff; border: 0; border-radius: 7px; padding: 9px 18px; font: inherit; cursor: pointer; }
.live-fields button:disabled { opacity: .65; cursor: wait; }
#liveNotice { margin: 12px 0; }
#liveNotice:empty { margin: 0; }
.live-summary { justify-content: space-between; gap: 18px 32px; }
#liveRoom { color: #204f91; font-size: clamp(30px, 5vw, 48px); }
.live-summary h3 { font-size: 20px; margin-bottom: 4px; }
#liveCondition { color: #275b4b; font-weight: 650; }
#liveCondition[data-tone="attention"] { color: #864309; }
#liveCondition[data-tone="neutral"] { color: #526176; }
.live-times { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin-top: 8px; font-size: 14px; }
.live-times dt, .live-metrics dt { color: #526176; }
.live-times dd { overflow-wrap: anywhere; }
.live-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(235px,100%),1fr)); gap: 12px; margin-top: 12px; }
.live-groups h3 { font-size: 16px; margin: 0 0 10px; }
.live-metrics > div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid #e7ecf1; }
.live-metrics dd { text-align: right; font-weight: 650; }
.live-details { margin: 14px 0; }
.live-details summary { cursor: pointer; color: #204f91; }
@media (max-width: 520px) {
  .switch { max-width: 100%; flex-wrap: wrap; }
  .switch button { padding: 7px 12px; }
  .live-fields { align-items: stretch; flex-direction: column; }
  .live-fields input { width: 100%; }
}
