/* Compact TV controls in the existing receptionist board */
.ops-tv-call-btn{border-color:rgba(1,164,167,.48)!important;color:#087b83!important;background:rgba(0,212,194,.08)!important;font-weight:700!important}
.ops-tv-manage-btn{border-color:rgba(59,130,246,.3)!important}
.ops-tv-modal{display:grid;gap:12px;max-height:min(65vh,580px);overflow-y:auto;padding:4px}
.ops-tv-patient{padding:12px 14px;background:rgba(0,212,194,.09);border:1px solid rgba(0,212,194,.3);border-radius:12px;display:flex;align-items:center;gap:10px}
.ops-tv-device{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--border,#dde5f0);border-radius:12px;padding:10px 12px;margin-block:6px}
.ops-tv-device small{display:block;font-size:11px;color:var(--text-muted,#728096)}
body.night .ops-tv-call-btn{color:#59ede0!important;background:rgba(0,212,194,.14)!important}
@media(max-width:760px){.ops-tv-modal{max-height:60vh}.ops-tv-device{flex-wrap:wrap}.ops-tv-call-btn{white-space:normal}}

/* v1.21.84: don't let TV pairing occupy or overlap waiting-room patient controls. */
.ops-panel-board .ops-tv-manage-btn{width:30px!important;min-width:30px!important;max-width:30px!important;height:30px!important;min-height:30px!important;padding:0!important;display:inline-grid!important;place-items:center!important;font-size:16px!important;line-height:1!important;flex:0 0 30px!important;border-radius:9px!important;white-space:nowrap!important}
.ops-panel-board .ops-section-toolbar .ops-section-tools{flex:0 1 auto;flex-wrap:wrap;justify-content:flex-end;max-width:100%;row-gap:4px}
.ops-panel-board .ops-section-toolbar>h2.ops-section-label{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.ops-panel-board .ops-section-toolbar{flex-wrap:wrap;row-gap:4px}.ops-panel-board .ops-section-toolbar>h2.ops-section-label{flex:1 1 auto}.ops-panel-board .ops-section-toolbar .ops-section-tools{flex:0 1 auto;gap:4px}}
.clinic-global-portal-setting{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:16px;margin:10px 0 16px;border:1px solid #9bc9dd;border-inline-start:4px solid #0a99a9;background:var(--surface-2,#eff9fb);color:var(--text,#19334a);border-radius:15px}
.clinic-portal-global-copy{flex:1 1 240px;display:grid;gap:6px}.clinic-portal-global-copy strong{font-size:16px}.clinic-portal-global-copy small{line-height:1.45;opacity:.85}.clinic-portal-global-copy span{font-size:12px;font-weight:650}
.clinic-global-portal-switch{display:flex;gap:8px;align-items:center;font-weight:700;cursor:pointer}.clinic-global-portal-switch input{width:22px;height:22px;accent-color:#009da8}
