/* IBEX PHONE V24 — Desktop quick-line choice, mobile simplification, deliberate dark surfaces.
   Loaded last. This is a design-only override except for the explicit mobile dock visibility. */

/* The iPhone already has a dedicated keypad. Never show a redundant floating dialer. */
@media (max-width:740px){
  #quick-dial-dock,.quick-dial-dock,#quick-dial-panel,#quick-dial-launch{display:none!important}
}

/* Color system: a quiet navy ink, neutral surfaces, orange only for the primary call action. */
.v24-quick-line-field{margin:13px 0 15px}
.quick-dial-panel .v24-quick-line-field>label{font-size:10px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:7px}
.v24-quick-select-wrap{height:47px;display:flex;align-items:center;position:relative;border-radius:12px;background:#f6f8fc;border:1px solid #dbe4ef;transition:border-color .18s,box-shadow .18s}
.v24-quick-select-wrap>.icon:first-child{width:18px;height:18px;flex:none;color:#426286;margin-left:12px;stroke-width:1.8}
.v24-quick-select-wrap select{appearance:none;-webkit-appearance:none;background:transparent;border:0;color:#16385b;font-size:12px;font-weight:740;min-width:0;width:100%;height:100%;padding:0 30px 0 10px;cursor:pointer;text-overflow:ellipsis;white-space:nowrap;outline:0}
.v24-quick-select-wrap:focus-within{border-color:#f58220;box-shadow:0 0 0 3px rgba(245,130,32,.13)}
.v24-quick-select-wrap select:disabled{opacity:1;cursor:default}
.v24-quick-select-wrap .v24-quick-chevron{position:absolute;right:12px;height:16px;width:16px;color:#687f9d;pointer-events:none}
.quick-dial-panel{border:1px solid #e1e6ee;border-radius:20px;padding:20px 19px;box-shadow:0 21px 68px rgba(3,27,55,.17)}
.quick-panel-heading{align-items:center;margin-bottom:10px}
.quick-panel-heading h2{font-size:20px;font-weight:800;letter-spacing:-.5px}
.quick-panel-heading>button{width:36px;height:36px;border-radius:11px}
.quick-dial-hint{font-size:11.5px;line-height:1.55;color:#6a7c94;margin:0}
.quick-number-wrap{min-height:47px;border-radius:12px;border-color:#dbe4ef}
.quick-pad{gap:9px;margin:14px 0}
.quick-pad button{background:#f4f7fb;color:#15375b;border:1px solid #e4eaf2;border-radius:13px;height:43px;transition:background .16s}
.quick-pad button:hover{background:#e9f0f8}
.quick-call-go{min-height:48px!important;border:1px solid #e76a0d!important;border-radius:12px!important;color:#fff!important;background:#f58220!important;box-shadow:0 7px 20px rgba(220,99,16,.14)!important;font-size:13px;letter-spacing:.1px}
.quick-call-go .icon{height:19px;width:19px;stroke-width:2.25}
.quick-call-go:hover{background:#e57212!important}
.quick-line-caption{font-size:10px;line-height:1.5;text-align:center;margin:11px 2px 0;color:#667b93}
.quick-dial-launch{background:#102f5a;border-color:#183b66;border-radius:15px;box-shadow:0 10px 28px rgba(8,33,70,.2)}
.quick-dial-launch:hover{background:#19447d}

/* Main dialer call key: a balanced, recognizable handset — not a tiny, distorted glyph. */
#page-dialer .dialer-panel .dial-actions{position:relative}
#page-dialer .dial-button#start-call{background:#f58220!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:50%!important;box-shadow:0 0 0 5px rgba(245,130,32,.085),0 8px 18px rgba(201,91,14,.22)!important;display:grid!important;place-items:center!important;transition:transform .16s ease,box-shadow .16s ease,background .16s ease!important}
#page-dialer .dial-button#start-call:hover{background:#e97513!important;transform:translateY(-1px)}
#page-dialer .dial-button#start-call:active{transform:scale(.96)}
#page-dialer .dial-button#start-call .handset-icon{width:29px!important;height:29px!important;stroke:#fff!important;fill:none!important;stroke-width:2!important;stroke-linecap:round!important;stroke-linejoin:round!important;transform:none!important}
@media(max-width:740px){
  #page-dialer .dialer-panel #start-call{width:57px!important;height:57px!important;min-width:57px!important;min-height:57px!important}
  #page-dialer .dial-button#start-call .handset-icon{width:26px!important;height:26px!important}
}

/* Voicemail recording: one well-proportioned disabled action, and readable explanatory copy. */
.v22-voicemail-audio{display:flex;flex-direction:column;gap:0;padding:15px 16px 16px!important;border-radius:15px!important;background:#f6f8fb!important;border:1px solid #e3eaf3!important;margin:18px 0 21px!important}
.v22-playback-row{min-height:42px;display:flex;align-items:center}
.v22-playback-row .v22-listen{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-height:40px;max-width:100%;padding:10px 14px!important;border:1px solid #cfd9e6!important;border-radius:11px!important;background:#eaf0f7!important;color:#5a6e86!important;font-size:12px;font-weight:720;letter-spacing:0;box-shadow:none!important;white-space:normal;text-align:center}
.v22-playback-row .v22-listen .icon{height:16px;width:16px;flex:none;stroke-width:1.8}
.v22-playback-row .v22-listen:disabled{opacity:1!important;cursor:not-allowed}
.v22-playback-row .v22-listen[hidden]{display:none!important}
.v22-voicemail-audio .v24-audio-message{display:block!important;margin:14px 0 0!important;padding:11px 0 0!important;border-top:1px solid #e1e7f0;color:#6c7e95!important;font-size:11.5px!important;line-height:1.55!important;font-weight:470}
.v22-playback-row audio{max-width:100%;border-radius:10px}
.v23-voicemail-body .voicemail-transcript{padding:16px 4px 12px}
.v23-voicemail-body .voicemail-actions{margin-top:18px;gap:10px}

/* Details drawer: hierarchy rather than a large solid blue slab. */
.v22-details-sheet{border-left:1px solid #e3eaf3}
.v22-detail-top{padding-bottom:16px;border-bottom:1px solid #e3eaf3}
.v22-detail-top .section-kicker{font-size:10px;letter-spacing:.16em;color:#d46c17;font-weight:850}
.v22-detail-top>button{width:38px;height:38px;border-radius:12px}
.v22-details-sheet h2{margin:27px 0 7px;font-size:27px;font-weight:810;letter-spacing:-.8px}
.v22-detail-subtitle{margin-bottom:25px;font-size:12px}
.v22-detail-rows{grid-template-columns:125px minmax(0,1fr);border-top:1px solid #e6ebf1}
.v22-detail-rows dt,.v22-detail-rows dd{padding:15px 3px;font-size:12px;line-height:1.55;border-bottom:1px solid #e8eef5}
.v22-detail-rows dt{font-weight:630;color:#698099}
.v22-detail-rows dd{font-weight:730;color:#17365c}
.v22-detail-primary{background:#f58220;color:white!important;border-radius:12px}
.v22-detail-primary:hover{background:#e67111}

/* Account: full visual-language refresh in both themes, keeping all existing forms and flows. */
#page-account{--v24-account-text:#162d4a;--v24-account-sub:#6b8099;--v24-account-card:#fff;--v24-account-border:#e2e8ef;--v24-account-soft:#f6f8fb}
#page-account .v16-page-intro{margin-bottom:20px!important}
#page-account .v16-account-hero{display:flex;align-items:center;gap:20px;padding:28px 30px!important;border-radius:20px!important;border:1px solid var(--v24-account-border)!important;background:var(--v24-account-card)!important;box-shadow:0 8px 28px rgba(10,39,72,.045)!important;color:var(--v24-account-text)!important;position:relative;isolation:isolate;overflow:hidden;margin-bottom:18px}
#page-account .v16-account-hero:before{content:'';position:absolute;inset:0 auto 0 0;width:4px;background:#f58220;z-index:1}
#page-account .v16-account-hero:after{content:'';position:absolute;right:-105px;top:-160px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(245,130,32,.07),transparent 67%);pointer-events:none;z-index:-1}
#page-account .v16-avatar{width:66px;height:66px;min-width:66px;border-radius:19px!important;background:#eaf0f8!important;border:1px solid #d8e3f0;color:#123b70!important;box-shadow:none!important;font-size:22px;display:grid;place-items:center;font-weight:800}
#page-account .v16-account-hero .v16-eyebrow{color:#b5682d!important;font-size:9.5px;letter-spacing:1.4px}
#page-account .v16-identity-copy{min-width:0}
#page-account .v16-identity-copy h2{color:var(--v24-account-text)!important;font-size:25px;line-height:1.18;letter-spacing:-.8px;margin:5px 0 6px!important}
#page-account .v16-identity-copy>p{font-size:12.5px;color:var(--v24-account-sub)!important;line-height:1.5}
#page-account .v16-identity-tags{gap:8px;margin-top:13px}
#page-account .v16-status-tag{background:#edf7f2;color:#23684e;border:1px solid #d1e9db}
#page-account .v16-status-tag:not(.v16-good){background:#fff5ea;color:#9e5d16;border:1px solid #f4debe}
#page-account .v16-identity-tags .v16-soft-tag{background:#f3f6fa;color:#536d89;border:1px solid #e0e8f2}
#page-account .v16-hero-link{background:#f5f8fc;color:#214c76;border:1px solid #dbe4ef;border-radius:12px;font-weight:720;min-height:42px}
#page-account .v16-hero-link:hover{background:#ebf2fa}
#page-account .v16-account-grid{gap:16px}
#page-account .v19-account-nav{border:1px solid var(--v24-account-border);border-radius:17px;background:var(--v24-account-card);box-shadow:0 4px 17px rgba(8,32,63,.025)}
#page-account .v19-account-tab,#page-account .v19-account-settings-link{border-radius:11px}
#page-account .v19-account-tab.current{background:#f0f4f9!important;border-color:transparent!important;box-shadow:inset 3px 0 0 #f58220;color:#10345b}
#page-account .v19-account-tab.current strong,#page-account .v19-account-tab.current .icon{color:#14385c!important}
#page-account .v16-panel{background:var(--v24-account-card)!important;border:1px solid var(--v24-account-border)!important;border-radius:17px!important;box-shadow:0 4px 17px rgba(8,32,63,.025)!important}
#page-account .v16-panel-title{padding-bottom:18px;margin-bottom:18px}
#page-account .v16-panel-icon{border-radius:12px;background:#eff4f9;color:#244e7a}
#page-account .v16-panel-title h2{font-size:19px;letter-spacing:-.35px}
#page-account .v16-profile-form input{min-height:47px;border-radius:12px}

/* Dark mode — a coherent graphite/navy palette, without competing saturated blue gradients. */
html[data-theme='dark'] .quick-dial-launch{background:#1c344b!important;border:1px solid #34506b!important;color:#f0f5fc!important;box-shadow:0 10px 28px rgba(0,0,0,.22)}
html[data-theme='dark'] .quick-dial-launch:hover{background:#29475f!important}
html[data-theme='dark'] .quick-dial-panel{background:#172638!important;color:#edf4ff!important;border:1px solid #35485d!important;box-shadow:0 24px 60px rgba(1,7,15,.5)!important}
html[data-theme='dark'] .quick-panel-heading h2{color:#f5f8ff!important}
html[data-theme='dark'] .quick-panel-heading>button{background:#25394d;color:#e9f2fc;border-color:#3b5269}
html[data-theme='dark'] .quick-dial-hint,html[data-theme='dark'] .quick-line-caption{color:#afc0d2!important}
html[data-theme='dark'] .quick-dial-panel label{color:#c4d3e2!important}
html[data-theme='dark'] .v24-quick-select-wrap{background:#1e3347!important;border-color:#40556b!important}
html[data-theme='dark'] .v24-quick-select-wrap select{color:#edf4fc!important}
html[data-theme='dark'] .v24-quick-select-wrap>.icon{color:#b9c9d9!important}
html[data-theme='dark'] .quick-number-wrap{background:#1e3347!important;border-color:#40556b!important}
html[data-theme='dark'] .quick-number-wrap input{color:#f2f6fc!important}
html[data-theme='dark'] .quick-pad button{background:#243a50!important;color:#f0f5fb!important;border-color:#3c536a!important}
html[data-theme='dark'] .quick-pad button:hover{background:#31506a!important}
html[data-theme='dark'] .quick-call-go{background:#f58220!important;border-color:#f58220!important;color:#fff!important;box-shadow:0 5px 16px rgba(245,130,32,.16)!important}
html[data-theme='dark'] .quick-call-go:hover{background:#e67414!important}

html[data-theme='dark'] .v22-details-sheet{background:#142334!important;color:#e5effb!important;border-left:1px solid #334a60!important;box-shadow:-18px 0 52px rgba(0,0,0,.32)!important}
html[data-theme='dark'] .v22-detail-top{border-color:#33475b!important}
html[data-theme='dark'] .v22-detail-top .section-kicker{color:#ffae73!important}
html[data-theme='dark'] .v22-detail-top>button{background:#22394f!important;color:#e6eef7!important;border-color:#3d5267!important}
html[data-theme='dark'] .v22-details-sheet h2{color:#f2f6ff!important}
html[data-theme='dark'] .v22-detail-subtitle{color:#b5c6d6!important}
html[data-theme='dark'] .v22-detail-rows{border-top-color:#36495e!important}
html[data-theme='dark'] .v22-detail-rows dt,html[data-theme='dark'] .v22-detail-rows dd{border-bottom-color:#34485c!important}
html[data-theme='dark'] .v22-detail-rows dt{color:#a7bace!important}
html[data-theme='dark'] .v22-detail-rows dd{color:#f0f5fa!important}
html[data-theme='dark'] .v22-detail-primary{background:#f58220!important;color:#fff!important;border-color:#f58220!important}
html[data-theme='dark'] .v22-detail-email{background:#22374e;color:#deebf8;border-color:#3d546e}

html[data-theme='dark'] .v22-voicemail-audio{background:#1c3045!important;border-color:#3c5067!important}
html[data-theme='dark'] .v22-playback-row .v22-listen{background:#283f56!important;color:#d0dce9!important;border-color:#455c72!important;box-shadow:none!important}
html[data-theme='dark'] .v22-voicemail-audio .v24-audio-message{color:#b9cadc!important;border-top-color:#3b5065!important}
html[data-theme='dark'] .v23-voicemail-sheet{background:#152637;color:#eaf3ff;border-top:1px solid #3d5269}
html[data-theme='dark'] .v23-voicemail-heading{border-bottom-color:#3a5066}
html[data-theme='dark'] .v23-voicemail-heading h2{color:#f3f7fb}
html[data-theme='dark'] .v23-voicemail-body .voicemail-transcript{background:transparent!important;border:0!important}

html[data-theme='dark'] #page-account{--v24-account-text:#edf4fb;--v24-account-sub:#aebfd2;--v24-account-card:#182a3d;--v24-account-border:#33485d;--v24-account-soft:#22374a}
html[data-theme='dark'] #page-account .v16-account-hero{background:#182b3e!important;border:1px solid #3a5064!important;box-shadow:0 8px 29px rgba(0,0,0,.12)!important}
html[data-theme='dark'] #page-account .v16-account-hero:after{background:radial-gradient(circle,rgba(245,130,32,.045),transparent 68%)}
html[data-theme='dark'] #page-account .v16-avatar{background:#263f57!important;color:#fff1e6!important;border:1px solid #46617b!important}
html[data-theme='dark'] #page-account .v16-account-hero .v16-eyebrow{color:#ffb781!important}
html[data-theme='dark'] #page-account .v16-identity-copy h2{color:#f2f6fc!important}
html[data-theme='dark'] #page-account .v16-identity-copy>p{color:#b9c9d9!important}
html[data-theme='dark'] #page-account .v16-identity-tags .v16-soft-tag{background:#253b50!important;border-color:#3a536c!important;color:#d5e1ef!important}
html[data-theme='dark'] #page-account .v16-status-tag{background:#214739!important;color:#b4eed4!important;border-color:#386c54!important}
html[data-theme='dark'] #page-account .v16-status-tag:not(.v16-good){background:#483526!important;border-color:#79552e!important;color:#f7cf9e!important}
html[data-theme='dark'] #page-account .v16-hero-link{background:#25394f!important;color:#e0edf8!important;border:1px solid #456077!important}
html[data-theme='dark'] #page-account .v19-account-nav{background:var(--v24-account-card)!important;border-color:var(--v24-account-border)!important}
html[data-theme='dark'] #page-account .v19-account-nav-title{color:#afc0d3!important}
html[data-theme='dark'] #page-account .v19-account-tab,html[data-theme='dark'] #page-account .v19-account-settings-link{color:#d9e8f8!important}
html[data-theme='dark'] #page-account .v19-account-tab strong,html[data-theme='dark'] #page-account .v19-account-settings-link strong{color:#edf5fe!important}
html[data-theme='dark'] #page-account .v19-account-tab small,html[data-theme='dark'] #page-account .v19-account-settings-link small{color:#a5bcd3!important}
html[data-theme='dark'] #page-account .v19-account-tab.current{background:#2b3c4b!important;box-shadow:inset 3px 0 0 #f58220!important}
html[data-theme='dark'] #page-account .v19-account-tab.current strong,html[data-theme='dark'] #page-account .v19-account-tab.current .icon{color:#fff6ed!important}
html[data-theme='dark'] #page-account .v16-panel{background:var(--v24-account-card)!important;border-color:var(--v24-account-border)!important}
html[data-theme='dark'] #page-account .v16-panel-title{border-color:#384d61!important}
html[data-theme='dark'] #page-account .v16-panel-icon{background:#273f55;color:#c8e1f8}
html[data-theme='dark'] #page-account .v16-profile-form input{background:#20364b!important;border-color:#40586c!important;color:#e8f0fb!important}
html[data-theme='dark'] #page-account .v16-profile-form input[readonly]{background:#1a2e42!important;color:#abbcd0!important}
html[data-theme='dark'] #page-account .v16-profile-form label,html[data-theme='dark'] #page-account .v16-panel-title h2{color:#f1f6fc!important}
@media(max-width:740px){
  #page-account .v16-account-hero{padding:19px!important;gap:12px;align-items:flex-start}
  #page-account .v16-avatar{height:52px!important;width:52px!important;min-width:52px!important;border-radius:15px!important;font-size:18px!important}
  #page-account .v16-identity-copy h2{font-size:21px!important}
  #page-account .v16-hero-link{width:100%;justify-content:center;margin-top:5px}
  #page-account .v19-account-nav{border-radius:13px!important}
  #page-account .v19-account-tab.current{box-shadow:inset 0 -3px 0 #f58220!important}
  html[data-theme='dark'] #page-account .v19-account-tab.current{box-shadow:inset 0 -3px 0 #f58220!important}
  .v22-detail-rows{grid-template-columns:110px minmax(0,1fr)}
}
