/* IBEX Phone V86 - coherent dark surfaces and compact professional controls */
html[data-theme="dark"] #v79-presence-card,
html[data-theme="dark"] .v79-presence-card,
html[data-theme="dark"] #v79-presence-card .v79-presence-team,
html[data-theme="dark"] #v79-presence-card .v75-list-row,
html[data-theme="dark"] #v76-phone-meetings-content,
html[data-theme="dark"] #v76-phone-meetings-content > *,
html[data-theme="dark"] .v76-meeting-intro > *,
html[data-theme="dark"] [data-panel="meetings"] .v75-tool,
html[data-theme="dark"] [data-panel="meetings"] .v75-card,
html[data-theme="dark"] [data-panel="meetings"] .v75-list-row,
html[data-theme="dark"] .v75-video-choice,
html[data-theme="dark"] .v76-video-choice,
html[data-theme="dark"] .v75-phone-tools,
html[data-theme="dark"] [data-panel="queues"] .v75-tool,
html[data-theme="dark"] [data-panel="queues"] .v76-queue-card,
html[data-theme="dark"] [data-panel="queues"] .v78-queue-editor,
html[data-theme="dark"] [data-panel="recordings"] .v75-tool,
html[data-theme="dark"] [data-panel="recordings"] .v77-record-item,
html[data-theme="dark"] .v67-siren-workspace .v62-siren-card,
html[data-theme="dark"] .v67-siren-workspace .v65-siren-section,
html[data-theme="dark"] .v67-siren-workspace .v67-action-grid > *,
html[data-theme="dark"] .v70-report-view .v51-report-card {
 background:#17263b!important;background-image:none!important;
 color:#eef4ff!important;border-color:#354c69!important;
}
html[data-theme="dark"] #v79-presence-card :is(strong,span,small,p),
html[data-theme="dark"] [data-panel="meetings"] :is(h3,strong,small,p),
html[data-theme="dark"] [data-panel="queues"] :is(h3,h4,strong,label,span,small),
html[data-theme="dark"] .v67-siren-workspace :is(h3,h4,label,strong){color:#ecf3ff!important}
html[data-theme="dark"] #v79-presence-card :is(.v79-refresh-hint,.v75-muted),
html[data-theme="dark"] [data-panel="queues"] .v76-queue-title small,
html[data-theme="dark"] .v67-siren-workspace :is(small,.v65-hint){color:#afc1d8!important}
html[data-theme="dark"] [data-panel="queues"] :is(input,select,textarea),
html[data-theme="dark"] .v67-siren-workspace :is(input:not([type=range]),select,textarea){background:#101d31!important;color:#f1f5fe!important;border:1px solid #47607f!important;box-shadow:none!important;}
html[data-theme="dark"] :is(#v75-queue-list,.v67-siren-workspace) option{background:#132238;color:#fff}
/* Queue editor: compact data form, no gigantic selects. */
#v75-queue-list{gap:16px!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,350px),1fr))!important}
#v75-queue-list .v76-queue-card{padding:18px!important;border-radius:17px!important}
#v75-queue-list .v78-queue-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:end;gap:9px!important;padding:12px!important}
#v75-queue-list .v78-edit-field{max-width:100%;gap:6px;font-weight:700;min-width:0}
#v75-queue-list .v78-edit-field .v75-input{box-sizing:border-box;min-width:0;width:100%;height:36px!important;min-height:36px!important;max-height:36px!important;padding:6px 10px!important;border-radius:9px;font-size:12px!important}
#v75-queue-list .v78-queue-editor .v75-button{height:36px;min-height:36px!important;padding:7px 12px!important;flex:0 1 auto!important;width:auto!important}
#v75-queue-list .v76-queue-meter{margin:15px 0 6px!important}
#v75-queue-list .v76-queue-meter strong{font-size:32px!important}
/* Siren: clear design system with constrained form controls, readable groups. */
.v67-siren-workspace #v62-siren-config-form{max-width:960px!important}
.v67-siren-workspace #v62-siren-config-form>.v65-siren-section{border-radius:16px!important;padding:22px!important;margin:0 0 12px!important}
.v67-siren-workspace #v62-siren-config-form .v65-two-col{gap:16px!important}
.v67-siren-workspace #v62-siren-config-form select{min-height:40px!important;height:40px!important;max-width:100%!important;box-sizing:border-box;padding:7px 12px!important}
.v67-siren-workspace #v62-siren-config-form textarea{line-height:1.55!important;border-radius:11px;resize:vertical}
.v67-siren-workspace #v65-siren-voice-select{font-weight:700!important}
.v67-siren-workspace #v65-siren-voice-help{padding:6px 0!important;font-size:12px!important;line-height:1.5}
.v67-siren-workspace .v65-voice-preview{border-radius:13px!important;gap:10px!important}
.v67-siren-workspace .v65-voice-preview button{min-height:38px!important;width:auto!important}
.v67-siren-workspace .v67-nav small{font-size:11px;line-height:1.35}
.v67-siren-workspace #v67-pane-advanced .surface{max-width:890px;min-width:0;overflow-wrap:anywhere}
/* Recordings: show last acknowledged action even when carrier reports none */
.v86-recording-status{background:#f0f5fb;border:1px solid #cfdeef;color:#304c67;border-radius:12px;padding:10px 14px;font-size:12px;line-height:1.55;margin:10px 0!important}
html[data-theme="dark"] .v86-recording-status{background:#233950;border-color:#4c6684;color:#e3edfb}
#v77-recordings-feedback{display:block!important;margin:8px 0!important;font-size:12px!important;line-height:1.5}
html[data-theme="dark"] #v77-recordings-feedback{color:#d5e4f9!important}
#v76-recordings-list .v77-record-player{width:100%;border-radius:10px}
#v76-recordings-list .v77-record-item{padding:15px!important;gap:10px!important}
/* Activity trend: reduce visual dominance, keep pricing in billing */
#v70-report-activity .v51-report-wide{width:100%!important;max-width:100%!important;min-height:0!important}
#v70-report-activity #v51-trend,.v51-reports-grid .v51-trend{height:132px!important;max-height:132px!important;min-height:132px!important}
#v70-report-activity .v51-report-wide header{padding-bottom:6px!important}
#v70-report-activity .v51-reports-grid{gap:12px!important}
#v70-report-activity .v51-report-card{min-height:0!important;padding:15px!important}
#v70-report-billing #v53-pricing-details{margin-top:12px!important}
@media(max-width:720px){#v75-queue-list .v78-queue-editor{grid-template-columns:repeat(2,minmax(0,1fr))!important}.v67-siren-workspace #v62-siren-config-form>.v65-siren-section{padding:15px!important}}
@media(max-width:440px){#v75-queue-list .v78-queue-editor{grid-template-columns:1fr!important}}
