.panel-main { max-width: 1000px; }
.delivery-settings { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.panel-card .channel-switch { display: flex; align-items: center; gap: 12px; position: relative; cursor: pointer; }
.channel-switch > span:first-child { flex: 1; }
.panel-card .channel-switch input { position: absolute; right: 0; width: 48px; height: 28px; opacity: 0; cursor: pointer; }
.switch-track { width: 48px; height: 28px; border-radius: 20px; background: #839390; padding: 3px; }
.switch-track::before { content: ''; display: block; background: white; width: 22px; height: 22px; border-radius: 50%; transition: transform .15s; }
.channel-switch input:checked + .switch-track { background: var(--teal); }
.channel-switch input:checked + .switch-track::before { transform: translateX(20px); }
.channel-switch input:focus-visible + .switch-track { outline: 3px solid var(--ink); outline-offset: 3px; }
.celius-footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 18px; margin: 24px; color: var(--muted); font-size: 12px; }
.celius-footer img { object-fit: contain; }
.celius-footer a { color: var(--teal); text-underline-offset: 3px; }
.panel-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 24px 0; }
.panel-card h2 { margin-top: 0; }
.panel-card p, .clinic-banner p { line-height: 1.6; }
.panel-card label { display: grid; gap: 8px; margin: 18px 0; font-weight: 600; }
.panel-card input { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 9px; min-width: 0; }
.panel-card small { font-weight: 400; color: var(--muted); }
.panel-card textarea { min-height: 120px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button-row h2 { margin: 0 auto 0 0; }
.report-entry { border-top: 1px solid var(--line); padding: 20px 0; overflow-wrap: anywhere; }
.report-entry p { margin: 6px 0; white-space: pre-wrap; }
.report-location { margin: 12px 0; padding: 12px; border-radius: 10px; background: #f3f8f6; }
.report-location p { color: var(--muted); }
.clinic-banner { max-width: 1310px; margin: 0 auto 24px; padding: 18px; background: var(--mint); border-radius: 14px; }
.clinic-banner h2 { margin: 0 0 8px; }
.clinic-banner a { color: var(--teal); }
.consent-line { display: flex; gap: 10px; align-items: start; margin: 18px 0; font-size: 14px; line-height: 1.5; }
.consent-line input { flex: 0 0 20px; min-height: 20px; }
.top-actions { flex-wrap: wrap; gap: 10px; }
#panelStatus { white-space: pre-wrap; overflow-wrap: anywhere; }
#saveReport { margin-bottom: 12px; }
.panel-main a { color: var(--teal); }
@media(max-width: 600px) { .topbar { height: auto; min-height: 76px; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; } .panel-card { padding: 18px; } }
