/* Mobile workspace: one task per screen, with the existing phone and inbox data. */
@media (min-width:681px){
  .mobile-bottom-nav,.mobile-conversation-bar,.mobile-settings,.mobile-inbox-heading,#mobileNewCall{display:none!important}
}
@media (max-width:680px){
  body.call-workspace{
    --mobile-bg:#191d1e;--mobile-panel:#232728;--mobile-rule:#343839;--mobile-text:#f5f6f6;--mobile-muted:#a4a9aa;--mobile-blue:#568cf8;
    color-scheme:dark;background:var(--mobile-bg);color:var(--mobile-text);height:100vh;height:100dvh;width:100%;max-width:100%;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  }
  .call-workspace *{min-width:0;box-sizing:border-box}
  .call-workspace button,.call-workspace input,.call-workspace select,.call-workspace textarea{font:inherit}
  .call-workspace button{color:var(--mobile-text);background:var(--mobile-panel);border-color:#424748}
  .call-workspace button:hover:not(:disabled){background:#303638}
  .call-workspace button.primary{background:#4283fa;border-color:#4283fa;color:#fff}
  .call-workspace button.danger{color:#ff8a8a}
  .call-workspace a{color:#91b4ff}
  .call-workspace button:focus-visible,.call-workspace input:focus-visible,.call-workspace select:focus-visible,.call-workspace summary:focus-visible{outline-color:#8eb4ff}
  .call-workspace .app-header{height:calc(150px + env(safe-area-inset-top,0px));min-height:0;display:flex;align-items:flex-end;gap:0;padding:calc(88px + env(safe-area-inset-top,0px)) 17px 14px;background:var(--mobile-bg);border:0;position:relative;z-index:10}
  .call-workspace .app-header .brand,.call-workspace .app-header .connection{display:none}
  .call-workspace .global-search{width:100%;height:42px;flex:none;gap:9px;padding:0 12px;border:0;border-radius:11px;background:#343839}
  .call-workspace .global-search input{font-size:17px;color:#f3f4f4;min-height:40px;-webkit-appearance:none;appearance:none}
  .call-workspace .global-search input::placeholder{color:#b7bbbd;opacity:1}
  .call-workspace .global-search svg{width:20px;stroke:#b7bbbd}
  .mobile-inbox-heading{position:fixed;z-index:12;top:calc(26px + env(safe-area-inset-top,0px));left:18px;right:18px;height:50px;display:flex;align-items:center;gap:10px;color:var(--mobile-text)}
  .call-workspace #mobileInboxPicker{display:flex;align-items:center;gap:11px;max-width:100%;padding:0;background:none;border:0;border-radius:0;text-align:left;font-size:30px;line-height:1.1;font-weight:750;letter-spacing:-.8px;min-height:44px}
  #mobileInboxTitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #mobileInboxTotal{font-size:27px;color:#a2a7a8;font-weight:600;letter-spacing:-.4px}
  #mobileInboxPicker::after{content:"⌄";font-size:24px;font-weight:400;line-height:1;color:#d4d7d7;padding-left:2px}
  .call-workspace .inbox-layout{height:calc(100vh - 150px - env(safe-area-inset-top,0px));height:calc(100dvh - 150px - env(safe-area-inset-top,0px));width:100%;max-width:100%;display:block;overflow:hidden;background:var(--mobile-bg)}
  .call-workspace .inbox-list{height:100%;min-height:0;max-height:none;width:100%;border:0;background:var(--mobile-bg);display:flex;flex-direction:column;overflow:hidden}
  .call-workspace .inbox-list-heading,.call-workspace .inbox-list>.inbox-tools,.call-workspace .inbox-list-footer{display:none}
  .call-workspace .inbox-state{color:var(--mobile-muted);font-size:12px;padding:0 18px 9px;border:0;background:var(--mobile-bg);line-height:1.4;flex-shrink:0}
  .call-workspace .inbox-state:empty{display:none}
  .call-workspace .conversation-list{flex:1;min-height:0;max-height:none;height:auto;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:0 0 calc(116px + env(safe-area-inset-bottom,0px));scrollbar-width:none}
  .conversation-list::-webkit-scrollbar{display:none}
  .call-workspace .conversation-list.empty{padding:22px 18px calc(116px + env(safe-area-inset-bottom,0px));color:var(--mobile-muted)}
  .call-workspace .caller-button,.call-workspace .caller-button.selected,.call-workspace .caller-button[aria-selected=true],.call-workspace .caller-button.active{width:100%;min-height:126px;padding:20px 17px 18px;border:0;border-bottom:1px solid var(--mobile-rule);border-radius:0;background:transparent;color:var(--mobile-text);text-align:left;font-size:17px;line-height:1.4;font-weight:600}
  .call-workspace .caller-button:hover:not(:disabled),.call-workspace .caller-button:active{background:#262b2d}
  .call-workspace .thread-row{display:flex;gap:13px;align-items:flex-start;width:100%}
  .call-workspace .thread-avatar{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:50%;background:#3b4042;color:#f3f4f4;font-size:19px;margin-top:2px}
  .call-workspace .thread-content{display:block;flex:1;overflow:hidden;min-width:0}
  .call-workspace .thread-top{display:flex;align-items:baseline;justify-content:space-between;gap:7px;min-width:0}
  .call-workspace .thread-name{font-size:17px;font-weight:650;letter-spacing:-.15px;color:#fafafa;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .call-workspace .thread-date{font-size:12px;color:#b0b5b6;flex:none;font-weight:400;letter-spacing:-.15px;white-space:nowrap}
  .call-workspace .thread-preview{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;white-space:normal;overflow:hidden;font-size:16px;line-height:1.35;font-weight:400;color:#b0b6b8;margin-top:4px;overflow-wrap:anywhere}
  .call-workspace .thread-meta{display:flex;align-items:center;gap:7px;margin-top:9px;min-width:0;flex-wrap:wrap;color:#b0b6b8;font-size:12px}
  .call-workspace .thread-badge,.call-workspace .badge{color:#b8bfc1;background:#282d2f;border:1px solid #454b4d;border-radius:5px;padding:2px 7px;font-size:11px;line-height:1.4;font-weight:450}
  .call-workspace .caller-button small{font-size:12px;color:var(--mobile-muted)}
  .call-workspace .workspace{display:none;max-width:100%;min-width:0;background:var(--mobile-bg);color:var(--mobile-text)}
  .mobile-bottom-nav{position:fixed;z-index:30;left:50%;bottom:calc(14px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:5px;max-width:calc(100% - 100px);padding:6px;border:1px solid #41494c;background:#2b3235ed;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:40px;box-shadow:0 8px 30px #0004}
  .call-workspace .mobile-bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:58px;min-height:48px;border:0;border-radius:28px;background:none;color:#c7cdcf;padding:5px 10px;font-size:11px;font-weight:500;line-height:1.1}
  .mobile-bottom-nav button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8}
  .mobile-bottom-nav button>span:first-child{font-size:21px;line-height:1}
  .call-workspace .mobile-bottom-nav button[aria-current=page],.call-workspace .mobile-bottom-nav button[aria-pressed=true],.call-workspace .mobile-bottom-nav button.active{background:#40494f;color:#91b6ff}
  .call-workspace #mobileNewCall{position:fixed;z-index:31;right:20px;bottom:calc(102px + env(safe-area-inset-bottom,0px));width:54px;height:54px;border:1px solid #58626a;border-radius:50%;padding:0;background:#343d43;color:#fff;font-size:35px;font-weight:350;line-height:1;display:grid;place-items:center;box-shadow:0 5px 14px #0003}
  .call-workspace .inbox-sidebar{display:none;position:fixed;z-index:40;inset:0;width:100%;max-width:100%;height:100vh;height:100dvh;padding:calc(95px + env(safe-area-inset-top,0px)) 17px calc(95px + env(safe-area-inset-bottom,0px));background:#202526;border:0;overflow-y:auto;overscroll-behavior:contain}
  body.call-workspace[data-mobile-folders=open] .inbox-sidebar{display:flex;flex-direction:column}
  body.call-workspace[data-mobile-folders=open] .mobile-inbox-heading{z-index:42}
  .call-workspace .inbox-sidebar .new-call,.call-workspace .inbox-sidebar .nav-section-label,.call-workspace .inbox-sidebar .sidebar-channel,.call-workspace .inbox-sidebar .sidebar-footer,.call-workspace .inbox-sidebar .admin-cost-link{display:none}
  .call-workspace .inbox-sidebar .inbox-navigation{display:flex;flex-direction:column;gap:0;overflow:visible;padding:0;max-width:100%;clear:none}
  .call-workspace .inbox-navigation .nav-item{display:flex;flex:0 0 auto;justify-content:flex-start;align-items:center;gap:15px;width:100%;min-height:62px;padding:16px 13px;font-size:19px;font-weight:500;line-height:1.3;color:#eef1f1;background:none;border:0;border-bottom:1px solid #343a3c;border-radius:0;white-space:normal;text-decoration:none}
  .call-workspace .inbox-navigation .nav-item.active,.call-workspace .inbox-navigation .nav-item[aria-pressed=true]{background:#343c40;border-radius:10px;color:#fff;border-bottom-color:transparent}
  .call-workspace .inbox-navigation .nav-icon{display:grid;place-items:center;width:25px;min-width:25px;font-size:23px;color:#e5e8e9}
  .mobile-folder-count{margin-left:auto;flex:none;color:#c0c6c8;font-size:16px;font-weight:450}
  .mobile-conversation-bar,.mobile-settings{display:none}
  body.call-workspace[data-mobile-screen=conversation] .app-header,body.call-workspace[data-mobile-screen=phone] .app-header,body.call-workspace[data-mobile-screen=admin] .app-header,
  body.call-workspace[data-mobile-screen=conversation] .mobile-inbox-heading,body.call-workspace[data-mobile-screen=phone] .mobile-inbox-heading,body.call-workspace[data-mobile-screen=admin] .mobile-inbox-heading,
  body.call-workspace[data-mobile-screen=conversation] .inbox-list,body.call-workspace[data-mobile-screen=phone] .inbox-list,body.call-workspace[data-mobile-screen=admin] .inbox-list{display:none}
  body.call-workspace[data-mobile-screen=conversation] #mobileNewCall,body.call-workspace[data-mobile-screen=phone] #mobileNewCall,body.call-workspace[data-mobile-screen=admin] #mobileNewCall{display:none}
  body.call-workspace[data-mobile-screen=conversation] .mobile-conversation-bar,body.call-workspace[data-mobile-screen=phone] .mobile-conversation-bar,body.call-workspace[data-mobile-screen=admin] .mobile-conversation-bar{display:flex;position:relative;z-index:15;align-items:center;gap:12px;height:calc(76px + env(safe-area-inset-top,0px));padding:calc(12px + env(safe-area-inset-top,0px)) 15px 12px;border-bottom:1px solid var(--mobile-rule);background:var(--mobile-bg);color:var(--mobile-text)}
  .mobile-conversation-bar h1,.mobile-conversation-bar h2,.mobile-conversation-bar strong{font-size:20px;line-height:1.3;font-weight:650;letter-spacing:-.35px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}
  .call-workspace #mobileBackInbox{flex:none;min-width:44px;min-height:44px;border:0;background:none;color:#9bbcff;font-size:16px;padding:8px 3px}
  body.call-workspace[data-mobile-screen=conversation] .inbox-layout,body.call-workspace[data-mobile-screen=phone] .inbox-layout,body.call-workspace[data-mobile-screen=admin] .inbox-layout{height:calc(100vh - 76px - env(safe-area-inset-top,0px));height:calc(100dvh - 76px - env(safe-area-inset-top,0px));overflow:hidden}
  body.call-workspace[data-mobile-screen=conversation] .workspace,body.call-workspace[data-mobile-screen=phone] .workspace{display:block;width:100%;height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;padding-bottom:calc(105px + env(safe-area-inset-bottom,0px))}
  .call-workspace .handset{position:relative;top:auto;background:#252b2d;border-bottom:1px solid #3b4244;padding:13px 16px;color:#f1f4f4;box-shadow:none;max-width:100%}
  .call-workspace .handset-heading{flex-direction:row;align-items:center;flex-wrap:wrap;gap:12px}
  .call-workspace .handset-label{flex:1;min-width:140px}
  .call-workspace .handset-label strong{color:#edf1f1;font-size:13px;white-space:normal}
  .call-workspace .handset-label p,.call-workspace .phone-status{color:#b0b9bd;font-size:12px;line-height:1.45}
  .call-workspace .handset-icon{background:#35434c;border:0;color:#9bbcff;width:30px;height:30px}
  .call-workspace .handset-actions{width:100%;min-width:0;gap:8px;flex:1 0 100%}
  .call-workspace .handset-actions button{font-size:12px;padding:9px 8px;flex:1;min-height:38px}
  .call-workspace .extension-label{color:#afbfc8}
  body.call-workspace[data-mobile-screen=conversation] .handset .phone-panel,body.call-workspace[data-mobile-screen=conversation] .handset .phone-tools{display:none}
  body.call-workspace[data-mobile-screen=phone] .conversation-detail{display:none}
  body.call-workspace[data-mobile-screen=phone] .handset{padding:24px 20px;border:0;background:var(--mobile-bg)}
  body.call-workspace[data-mobile-screen=phone] .handset-label strong{font-size:20px}
  body.call-workspace[data-mobile-screen=phone] .handset-label p{font-size:14px}
  .call-workspace .phone-panel summary{font-size:14px;color:#a6c1f5;margin-top:16px;min-height:32px}
  .call-workspace .phone-expanded{display:grid;grid-template-columns:minmax(0,1fr);gap:0;width:100%;max-width:400px;margin:16px auto 0}
  .call-workspace .phone-expanded>label,.call-workspace .phone-expanded>.dial,.call-workspace .phone-expanded>.keypad{grid-column:1;min-width:0}
  .call-workspace .phone-expanded>.transfer-controls{grid-column:1;grid-row:4;border:0;border-top:1px solid #3b4244;margin:24px 0 0;padding:20px 0 0}
  .call-workspace .phone-expanded label{font-size:14px;color:#bac2c6}
  .call-workspace .dial input,.call-workspace .transfer-controls select{background:#2c3336;color:#f5f6f6;border-color:#495357;font-size:17px;padding:13px}
  .call-workspace .dial button{font-size:15px;padding:10px 15px}
  .call-workspace .keypad{gap:12px;margin:8px auto 0;width:min(100%,300px)}
  .call-workspace .keypad button{font-size:26px;font-weight:400;min-height:64px;border:0;border-radius:50%;background:#323a3e;color:#fff;padding:12px;aspect-ratio:1}
  .call-workspace .transfer-controls p{color:#abb6bd;font-size:13px}
  .call-workspace .transfer-controls button{font-size:13px;min-height:42px}
  .call-workspace .phone-tools{position:static;margin-top:15px}
  .call-workspace .phone-tools button{font-size:13px;color:#a2bdf1}
  .call-workspace .conversation-detail{padding:20px 16px 28px;background:var(--mobile-bg);max-width:100%;min-width:0}
  .call-workspace .section-heading h2{color:#f1f4f4;font-size:21px;overflow-wrap:anywhere}
  .call-workspace .section-heading .eyebrow,.call-workspace .detail-hint{color:#9faeb7}
  .call-workspace .refresh-button{color:#b3c6e7;border-color:#46515b;background:#252e34}
  .call-workspace .conversation-detail>.inbox-tools{grid-template-columns:minmax(0,1fr) auto;align-items:end;padding:0 0 10px;gap:9px}
  .call-workspace .inbox-tools label{background:#2b3235;border-color:#424b50;color:#b7c2c8;font-size:11px;min-width:0}
  .call-workspace .inbox-tools select{color:#f4f6f7;font-size:15px;min-width:0}
  .call-workspace #assignmentStatus{grid-column:1/-1;color:#a8b4ba;font-size:12px;line-height:1.4;margin:0}
  .call-workspace .notice{color:#c0d1dd;background:#27323a;border-color:#3a4a58;font-size:13px}
  .call-workspace .notice.error{color:#ffd0c9;background:#432c2b;border-color:#70504a}
  .call-workspace .metrics{grid-template-columns:repeat(2,minmax(0,1fr));border-color:#363f45;gap:16px 0;margin-top:20px}
  .call-workspace .metric{padding:0 12px;border-color:#363f45}
  .call-workspace .metric:nth-child(odd){padding-left:0}
  .call-workspace .metric:nth-child(even){border:0}
  .call-workspace .metric>span,.call-workspace .metric small{color:#a5b2bb;font-size:12px}
  .call-workspace .metric strong{color:#edf4f8;font-size:23px;overflow-wrap:anywhere}
  .call-workspace .detail-section{border-color:#363f45}
  .call-workspace .detail-section h3{color:#ced9e1;font-size:15px}
  .call-workspace .section-icon{color:#9fb0bf}
  .call-workspace .timeline.empty,.call-workspace .empty{color:#a9b5bc}
  .call-workspace .date-divider{color:#a9b4ba;font-size:12px}
  .call-workspace .date-divider::before,.call-workspace .date-divider::after{background:#394146}
  .call-workspace .timeline .history-row{max-width:94%;background:#30383d;border-color:#48535a;color:#e2e9ee;padding:13px 14px}
  .call-workspace .timeline .history-row strong{color:#b1c0ca;font-size:12px}
  .call-workspace .timeline .history-row p{color:#e2e9ee;font-size:16px;line-height:1.55}
  .call-workspace .timeline .history-row small,.call-workspace .timeline time{color:#a7b6c1;font-size:11px}
  .call-workspace .timeline .message-outbound{background:#285fae}
  .call-workspace .timeline .message-outbound p,.call-workspace .timeline .message-outbound strong{color:#fff}
  .call-workspace .timeline .event-call{max-width:100%;background:#252c31;border:1px solid #404b54;border-radius:10px}
  .call-workspace .timeline .message-internal_note,.call-workspace .timeline .message-note,.call-workspace .timeline .internal-note{background:#393424;border-color:#675d3a}
  .call-workspace .timeline .message-internal_note p,.call-workspace .timeline .message-note p,.call-workspace .timeline .internal-note p{color:#eadfb8}
  .call-workspace .supplemental-details{grid-template-columns:1fr;border-color:#363f45;gap:8px}
  .call-workspace .conversation-extra,.call-workspace .conversation-extra summary,.call-workspace .history-row strong{color:#b8cad8;font-size:14px}
  .call-workspace .history-row p{color:#c5d0d9}
  .call-workspace .history-row small{color:#a5b2bb}
  .call-workspace .note-composer{background:#312f25;border-color:#5f573c;padding:13px}
  .call-workspace .note-composer-heading label{color:#e1d3a8;font-size:14px}
  .call-workspace .note-composer-heading span,.call-workspace .note-composer-footer p{color:#beb28f;font-size:11px}
  .call-workspace .note-composer textarea{color:#f1e7c8;font-size:16px;min-height:82px}
  .call-workspace .note-composer textarea::placeholder{color:#b9ad8d}
  .call-workspace .note-composer-footer button{background:#49432e;border-color:#716644;color:#f0e3bb;font-size:13px;white-space:normal}
  body.call-workspace[data-mobile-screen=admin] .mobile-settings{display:block;height:100%;overflow-y:auto;overscroll-behavior:contain;padding:24px 18px calc(110px + env(safe-area-inset-bottom,0px));background:var(--mobile-bg);color:var(--mobile-text)}
  .mobile-settings h2{font-size:28px;letter-spacing:-.6px;margin:0 0 10px}
  .mobile-settings p{font-size:15px;line-height:1.55;color:#aab5bc}
  .mobile-settings a,.mobile-settings button{display:flex;align-items:center;gap:12px;width:100%;min-height:58px;padding:15px 13px;border:0;border-bottom:1px solid #394146;border-radius:0;background:none;color:#e3edf4;font-size:17px;text-align:left;text-decoration:none;margin:0}
  .mobile-settings a::after{content:"›";margin-left:auto;color:#98a7b2;font-size:24px;line-height:1}
  .mobile-settings .admin-cost-link{margin:0}
  .mobile-settings #signout,.mobile-settings [data-mobile-signout]{color:#f59c9c;margin-top:20px}
  .call-workspace dialog{background:#293136;border-color:#4c5963;color:#f1f5f8;max-width:calc(100vw - 28px);padding:23px;border-radius:18px}
  .call-workspace dialog h2{color:#f3f6f8}
  .call-workspace dialog p,.call-workspace dialog .eyebrow{color:#b8c8d4}
  .call-workspace dialog::backdrop{background:#060a10a8}
  .call-workspace dialog .call-actions{flex-wrap:wrap}
  .call-workspace dialog .call-actions button{min-height:46px;font-size:14px}
  .call-workspace #companionCode{color:#a1bfff}
}
/* Screen containers match the shared DOM without duplicating the phone state. */
@media(min-width:681px){
  .mobile-page-heading,.mobile-folder-backdrop,.mobile-new-call{display:none!important}
}
@media(max-width:680px){
  .mobile-page-heading{display:none}
  .mobile-picker-chevron{display:none}
  .mobile-folder-backdrop{position:fixed;inset:0;z-index:35;background:#111a;border:0;border-radius:0}
  body.call-workspace[data-mobile-folders=open] .app-header{z-index:45;background:transparent;height:calc(95px + env(safe-area-inset-top,0px));padding:0;pointer-events:none}
  body.call-workspace[data-mobile-folders=open] .mobile-inbox-heading{pointer-events:auto}
  body.call-workspace[data-mobile-folders=open] .global-search{display:none}
  body.call-workspace[data-mobile-screen=conversation] .inbox-layout{height:100vh;height:100dvh}
  body.call-workspace[data-mobile-screen=conversation] .mobile-conversation-bar{position:sticky;top:0;flex-shrink:0}
  body.call-workspace[data-mobile-screen=phone] .app-header,body.call-workspace[data-mobile-screen=admin] .app-header{display:flex;align-items:center;height:calc(84px + env(safe-area-inset-top,0px));padding:calc(21px + env(safe-area-inset-top,0px)) 20px 17px;background:var(--mobile-bg);border-bottom:0}
  body.call-workspace[data-mobile-screen=phone] .global-search,body.call-workspace[data-mobile-screen=admin] .global-search{display:none}
  body.call-workspace[data-mobile-screen=phone] .mobile-page-heading,body.call-workspace[data-mobile-screen=admin] .mobile-page-heading{display:block}
  .mobile-page-heading h1{color:#f5f7f7;font-size:30px;font-weight:750;letter-spacing:-.8px;line-height:1.2;margin:0}
  body.call-workspace[data-mobile-screen=phone] .inbox-layout{height:calc(100vh - 84px - env(safe-area-inset-top,0px));height:calc(100dvh - 84px - env(safe-area-inset-top,0px))}
  body.call-workspace[data-mobile-screen=phone] .mobile-conversation-bar{display:none}
  body.call-workspace[data-mobile-screen=admin] .inbox-layout{display:none}
  body.call-workspace[data-mobile-screen=admin] .mobile-settings{height:calc(100vh - 84px - env(safe-area-inset-top,0px));height:calc(100dvh - 84px - env(safe-area-inset-top,0px));padding:2px 17px calc(112px + env(safe-area-inset-bottom,0px))}
  .mobile-profile-card{text-align:center;padding:7px 12px 27px}
  .mobile-profile-avatar{display:grid;place-items:center;width:80px;height:80px;border-radius:50%;margin:0 auto 15px;background:#444b4f;color:#e9edef;border:1px solid #626b70;font-size:26px;font-weight:600;letter-spacing:-1px}
  .mobile-profile-card h2{color:#f6f7f7;font-size:23px;font-weight:650;letter-spacing:-.5px;line-height:1.25;margin:0 0 8px;overflow-wrap:anywhere}
  .mobile-profile-card p{font-size:15px;color:#aeb7bc;margin:0}
  .mobile-settings-group{margin:0 0 26px}
  .mobile-settings-group>h2{font-size:13px;font-weight:500;letter-spacing:.4px;text-transform:uppercase;color:#a1aaaf;margin:0 12px 9px}
  .mobile-settings-card{background:#2b3134;border:1px solid #353d41;border-radius:13px;overflow:hidden}
  .call-workspace .mobile-settings-card>a,.call-workspace .mobile-settings-card>button,.mobile-account-row{display:flex;align-items:center;gap:13px;min-height:56px;padding:14px 15px;margin:0;color:#edf2f5;background:transparent;border:0;border-bottom:1px solid #41484c;border-radius:0;font-size:16px;line-height:1.4;text-align:left;width:100%;text-decoration:none}
  .mobile-settings-card>:last-child{border-bottom:0}
  .mobile-settings-card>a>span:first-child{flex:none;display:grid;place-items:center;width:23px;color:#c4ced5;font-size:23px;line-height:1}
  .mobile-settings-card a::after{display:none}
  .mobile-settings-chevron{margin-left:auto;flex:none;color:#9ba7ad;font-size:25px;line-height:1}
  .mobile-account-row>span{color:#c0c9cf;font-size:15px;flex:none}
  .mobile-account-row>strong{font-weight:400;color:#aab7c0;margin-left:auto;text-align:right;font-size:14px;overflow-wrap:anywhere}
  .call-workspace .mobile-settings-card>#mobileSignout{margin:0;color:#f19b9e;font-size:16px}
  .call-workspace #mobileNewCall svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
  .call-workspace dialog.mobile-compose-sheet:not([open]){display:none}
  .call-workspace dialog.mobile-compose-sheet[open]{position:fixed;inset:auto 17px calc(101px + env(safe-area-inset-bottom,0px)) auto;width:calc(100vw - 34px);max-width:390px;max-height:calc(100dvh - 155px - env(safe-area-inset-bottom,0px) - env(safe-area-inset-top,0px));overflow-y:auto;margin:0;padding:12px 0;background:transparent;border:0;border-radius:0;box-shadow:none;color:#fff;text-align:right}
  .call-workspace dialog.mobile-compose-sheet::backdrop{background:#080f17bf;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
  .call-workspace dialog.mobile-compose-sheet h2{font-size:17px;font-weight:550;letter-spacing:0;color:#c8d2db;margin:0 7px 17px}
  .call-workspace .mobile-compose-action{display:flex;align-items:center;justify-content:flex-end;gap:17px;width:100%;min-height:72px;border:0;background:transparent;padding:7px 0;color:#fff;font-size:19px;font-weight:500;text-align:right}
  .call-workspace .mobile-compose-action:hover:not(:disabled){background:transparent}
  .mobile-compose-icon{display:grid;place-items:center;width:57px;height:57px;flex:none;border-radius:50%;background:#39454e;border:1px solid #65727c;color:#f4f8fc}
  .mobile-compose-icon svg{width:27px;height:27px;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round}
  .call-workspace .mobile-compose-action:disabled{opacity:.4}
  .call-workspace dialog.mobile-compose-sheet p{font-size:12px;color:#b1c0cc;line-height:1.5;margin:17px 2px 10px;max-width:280px;margin-left:auto}
  .call-workspace #mobileComposeClose{min-width:57px;min-height:44px;margin-top:6px;padding:10px 13px;border-radius:24px;background:#36424c;border:1px solid #68747f;color:#edf4fa;font-size:14px}
}

@media(max-width:680px){
  #mobileInboxTotal::before{content:"("}
  #mobileInboxTotal::after{content:")"}
  .call-workspace #mobileNewCall{background:#709df6;border-color:#709df6;color:#102238}
  .mobile-folder-backdrop:not([hidden]){position:fixed;inset:0;z-index:35;background:#0006;border:0;padding:0}
}

@media(max-width:680px){
  #mobileInboxPicker[aria-expanded=true]::after{display:inline-block;transform:rotate(180deg)}
  .call-workspace .mobile-profile-card{display:block;text-align:left;padding:20px;margin:0 0 24px;background:#232728;border:1px solid #303637;border-radius:18px}
  .call-workspace .mobile-profile-avatar{display:grid;place-items:center;width:60px;height:60px;margin:0 0 14px;border-radius:50%;background:#f0f4f6;color:#28527a;font-size:20px}
  .call-workspace .mobile-profile-card h2{margin:0 0 7px;font-size:23px;line-height:1.3;text-align:left}
  .call-workspace .mobile-profile-card p{margin:0;text-align:left}
}

@media(max-width:680px){
  body.call-workspace[data-mobile-screen=conversation] .handset{padding:10px 16px}
  body.call-workspace[data-mobile-screen=conversation] .handset-heading{flex-direction:row;align-items:center;gap:8px}
  body.call-workspace[data-mobile-screen=conversation] .handset-label strong{font-size:12px}
  body.call-workspace[data-mobile-screen=conversation] .handset-label p{display:none}
  body.call-workspace[data-mobile-screen=conversation] .handset-actions{width:auto;margin-left:auto;gap:5px}
  body.call-workspace[data-mobile-screen=conversation] .handset-actions button{min-height:34px;padding:7px;font-size:11px}
  body.call-workspace[data-mobile-screen=conversation] .phone-status{margin:5px 0 0;font-size:11px}
  body.call-workspace[data-mobile-screen=conversation] .section-heading>div{display:none}
  body.call-workspace[data-mobile-screen=conversation] .section-heading{justify-content:flex-end;margin-bottom:8px}
  body.call-workspace[data-mobile-screen=conversation] #message:not(.error){display:none}
  body.call-workspace[data-mobile-screen=conversation] .metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:12px 0;margin:12px 0}
  body.call-workspace[data-mobile-screen=conversation] .metric{padding:0 8px;border-left:1px solid #343839}
  body.call-workspace[data-mobile-screen=conversation] .metric:first-child{padding-left:0;border-left:0}
  body.call-workspace[data-mobile-screen=conversation] .metric>span{font-size:10px}
  body.call-workspace[data-mobile-screen=conversation] .metric>strong{font-size:20px}
  body.call-workspace[data-mobile-screen=conversation] .metric>small{font-size:9px}
}
