/* IBEX Phone V84 — contrast-safe unified cards, queues, reports, recordings */
html[data-theme="dark"] .v79-presence-card,body.dark .v79-presence-card,
html[data-theme="dark"] .v75-card,body.dark .v75-card,
html[data-theme="dark"] .v75-panel,body.dark .v75-panel,
html[data-theme="dark"] .v76-video-choice,body.dark .v76-video-choice{
 background:#1e2b40!important;border-color:#3e526b!important;color:#ecf2ff!important;
}
html[data-theme="dark"] .v79-presence-card *,body.dark .v79-presence-card *,
html[data-theme="dark"] #v75-queue-list,html[data-theme="dark"] #v75-queue-list *{
 color:#e6efff!important;
}
html[data-theme="dark"] .v79-presence-card .v75-pill,body.dark .v79-presence-card .v75-pill{color:#b9f0d2!important;background:#183c36!important}
html[data-theme="dark"] .v79-refresh-hint{color:#aebdd0!important}
html[data-theme="dark"] #v75-queue-list input,html[data-theme="dark"] #v75-queue-list select,
html[data-theme="dark"] #v75-queue-list .v75-input{background:#18253a!important;color:#f2f6fc!important;border:1px solid #51627a!important}
html[data-theme="dark"] #v75-queue-list option{color:#12243e!important;background:#fff!important}
#v75-queue-list .v78-queue-editor{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:12px!important}
#v75-queue-list .v78-edit-field .v75-input{min-height:40px!important;height:40px!important;font-size:13px!important;line-height:1.2!important;padding:7px 10px!important}
#v75-queue-list .v78-queue-editor button{min-height:38px!important;font-size:12px!important}
#v75-queue-list .v75-list-row,#v75-queue-list .v75-card{min-width:0!important}
.v75-list-row button,.v75-list-row select{max-width:100%}
.v51-reports-grid .v51-report-wide .v51-trend{max-height:190px!important;height:190px!important}
.v51-reports-grid .v51-report-wide{min-height:0!important}
.v51-report-card,.v70-report-view .v51-report-card{border-radius:16px!important}
.v65-voice-preview{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;padding:14px!important;border-radius:15px!important}
.v65-voice-preview button{width:auto!important;max-width:100%!important;padding:10px 16px!important;min-height:39px!important;border-radius:10px!important}
.v65-voice-preview audio{max-width:330px!important;width:min(100%,330px)!important}
#v65-siren-voice-help.is-error{color:#ce485a!important;background:transparent!important;font-weight:500!important}
html[data-theme="dark"] #v65-siren-voice-help.is-error{color:#ffafbd!important}
@media(max-width:760px){#v75-queue-list .v78-queue-editor{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:440px){#v75-queue-list .v78-queue-editor{grid-template-columns:1fr!important}}

/* Make presence and meeting choice surfaces stay dark in either theme mechanism. */
body[data-theme="dark"] .v79-presence-card,html.dark .v79-presence-card,
body[data-theme="dark"] .v76-video-choice,html.dark .v76-video-choice,
html[data-theme="dark"] .v75-video-choice,body[data-theme="dark"] .v75-video-choice,
html[data-theme="dark"] #v76-phone-meetings-content .v75-card,
html[data-theme="dark"] #v76-queues-content .v75-card{
 background:#1b2a42!important;border:1px solid #394e6d!important;color:#e9f1ff!important;
}
html[data-theme="dark"] .v79-presence-team,html[data-theme="dark"] .v79-presence-team *,
html[data-theme="dark"] .v76-video-choice *,html[data-theme="dark"] #v76-phone-meetings-content .v75-card * {color:#edf3ff!important}
html[data-theme="dark"] .v79-presence-card .v79-refresh-hint {color:#a7bbd7!important}
html[data-theme="dark"] #v75-queue-list .v75-button{color:#ecf3ff!important}
