/* Scoped to panels, authentication and support. The Landing retains its original theme. */
.display-settings{--ink:#18372e;--muted:#607065;--line:#d7e0d4;--green:#234d3e;color:var(--ink);background:#fbfcf8;border:1px solid var(--line);border-radius:22px;padding:28px;width:min(450px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box;box-shadow:0 22px 70px #10261c25;font:inherit}
.display-settings::backdrop{background:#10261c80}.display-settings-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.display-settings h2{font-size:22px;margin:0}.display-settings p{font-size:14px;color:var(--muted);line-height:1.9}.display-settings .field{margin:18px 0}.display-settings label{display:block;margin-bottom:8px}.display-settings select{width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit}.display-settings button{min-width:44px;min-height:44px}.display-settings-note{border-top:1px solid var(--line);padding-top:14px}.display-open{position:fixed;left:94px;right:auto;top:8px;z-index:72;min-width:44px;min-height:44px;padding:8px;font-size:20px}.support-display-open{position:absolute;left:12px;top:12px}.support-embedded .support-display-open{display:none}[data-ui-auth] .display-open{left:12px;top:12px}
html[data-display-theme="dark"]{color-scheme:dark;--ink:#e6eee6;--muted:#a9b8ad;--line:#344a40;--green:#b5d8ba;--green-deep:#10261c;--cream:#15251e;--surface:#1c3027;--paper:#1c3027;--bg:#15251e;--text:#e6eee6;--ok:#82ce9d;--bad:#f5a7a7;--shadow:0 12px 35px #0003}
html[data-display-theme="dark"] :is([data-panel-role],[data-ui-auth],.tc-visitor){background:#14251d;color:#e6eee6}
html[data-display-theme="dark"] :is(.card,.stat-card,.workspace-topbar,.workspace-sidebar,.ac-sidebar,.ac-header,.ac-intro,.dashboard-banner,.auth-box,.auth-main,.ps-mobile-nav,.tc-create,.tc-list,.tc-detail,.tc-form,.support-help-card,.support-channel,.support-page-intro,.panel-role-details,.ph-summary,.ac-call-banner){background:#1c3027!important;color:#e6eee6;border-color:#344a40!important}
html[data-display-theme="dark"] :is(.workspace-main,.ac-content,.auth-page,.tc-workspace,.tc-visitor-header,.support-canvas,.tc-messages,.tc-item,.tc-message,.tc-switch,.department-row){background:#14251d!important;color:#e6eee6}
html[data-display-theme="dark"] :is(h1,h2,h3,h4,strong,.state-summary,.logout,.brand,.sidebar-link,.ac-nav button,.tc-item,.pill,.ps-menu,.display-open,.secondary,.panel-header-toggle,.status-btn,.ps-mobile-item){color:#e6eee6!important}
html[data-display-theme="dark"] :is(input,select,textarea){background:#12251c!important;border-color:#476052!important;color:#e6eee6!important}
html[data-display-theme="dark"] :is(.pill,.secondary,.ps-menu,.display-open,.panel-header-toggle,.status-btn,.tc-tab,.tc-message[data-own="true"],.ps-mobile-item.active,.sidebar-link.active,.ac-nav button.active){background:#2b4737!important;border-color:#476052!important}
html[data-display-theme="dark"] :is(.status-btn.active,.ac-call-banner .btn:not(.secondary)){background:#accd9a!important;color:#173322!important}
html[data-display-theme="dark"] :is(.hint,.helper,.muted,.section-label,.ac-nav-label,.date-label,.tc-meta,.tc-presence,.tc-count,.tc-detail-line,.auth-security){color:#a9b8ad!important}
:is(.display-settings,.us-drawer,.us-preparing-screen)[data-display-theme="dark"]{color-scheme:dark;--ink:#e6eee6;--muted:#a9b8ad;--line:#344a40;--green:#b5d8ba;background:#192e24!important;color:#e6eee6!important;border-color:#344a40!important}
.us-drawer[data-display-theme="dark"] :is(.tc-drawer-top,.us-tabs,.us-hint,.us-channel-intro,.ec-sup-panel,.ec-sup-header,.ec-sup-body,.ec-sup-dept,.ec-sup-form,.ec-sup-chat,.us-tab-icon,.us-tab-words){background:#192e24!important;color:#e6eee6!important;border-color:#344a40!important}
.us-drawer[data-display-theme="dark"] :is(button,input,select,textarea){background:#294635!important;color:#e6eee6!important;border-color:#476052!important}.us-drawer[data-display-theme="dark"] :is(h2,strong,b,label,.us-tab-label){color:#e6eee6!important}.us-drawer[data-display-theme="dark"] :is(p,small){color:#b9c8bd!important}.display-settings[data-display-theme="dark"] select{background:#12251c;color:#e6eee6}.display-settings[data-display-theme="dark"] .btn{background:#2b4737;color:#e6eee6;border-color:#476052}
html[dir="ltr"] [data-panel-role] .workspace-sidebar{right:auto;left:0}html[dir="ltr"] [data-panel-role] .workspace{margin-right:0;margin-left:248px}html[dir="ltr"] [data-panel-role].ps-sidebar-collapsed .workspace{margin-left:0}html[dir="ltr"] [data-panel-role] :is(.workspace-sidebar,.ac-sidebar){text-align:left;padding-top:64px}html[dir="ltr"] [data-panel-role] :is(.workspace-topbar,.ac-header){padding-left:150px;padding-right:16px}html[dir="ltr"] [data-panel-role] .panel-header-toggle{right:12px;left:auto}.us-drawer[dir="ltr"] :is(.us-channel-intro,.us-tab-words,.ec-sup-dept){text-align:left!important}
.operator-loader{position:fixed;inset:0;z-index:120;background:#f4f7ed;color:var(--ink);padding:32px;display:flex;align-items:center;justify-content:center;gap:72px;overflow:auto}.operator-loader[hidden]{display:none}html.operator-loading .operator-loader[hidden]{display:flex!important}.operator-loading-mark{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:180px}.operator-loading-mark strong{font-size:27px}.operator-loading-mark span{color:var(--muted)}.operator-loading-copy{max-width:460px;width:100%}.operator-loading-copy h1{font-size:31px;margin:8px 0 12px}.operator-loading-copy p{line-height:1.8;color:var(--muted)}.operator-loading-copy ul{padding:0;list-style:none;display:grid;gap:10px}.operator-loading-copy li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 16px;background:#ffffffb3;border:1px solid var(--line);border-radius:12px}.operator-loading-copy li small{color:var(--muted);font-size:12px}.operator-loading-copy li[data-ready="true"] small{color:#27623b}.operator-loading-copy li[data-ready="true"] small::before{content:'✓ ';}.operator-loading-actions{display:flex;gap:10px;flex-wrap:wrap}.operator-loading-actions button{min-height:44px}.message-live-status{font-size:12px;color:var(--muted);padding:7px 18px;text-align:center;border-bottom:1px solid var(--line);background:var(--cream,#f4f7ed)}.message-live-status[data-state="live"]{color:var(--ok,#27623b)}.message-live-status[data-state="fallback"],.message-live-status[data-state="auth"]{color:var(--bad,#a43d36)}html[data-display-theme="dark"] .operator-loader{background:#14251d}html[data-display-theme="dark"] .operator-loading-copy li{background:#1c3027}html[data-display-theme="dark"] .operator-loading-copy li[data-ready="true"] small{color:#82ce9d}
@media(max-width:850px){html[dir="ltr"] [data-panel-role] .workspace{margin-left:0}html[dir="ltr"] [data-panel-role] :is(.workspace-sidebar,.ac-sidebar){transform:translateX(-100%)}html[dir="ltr"] [data-panel-role] :is(.workspace-sidebar.open,.ac-sidebar.open){transform:none}.display-open{left:87px;top:10px}html[dir="rtl"] [data-panel-role] :is(.workspace-topbar,.ac-header){padding-left:145px;padding-right:16px}html[dir="ltr"] [data-panel-role] :is(.workspace-topbar,.ac-header){padding-left:145px;padding-right:16px}.operator-loader{flex-direction:column;gap:24px;padding:24px 20px}.operator-loading-mark{min-width:0;gap:8px}.operator-loading-mark img{width:58px;height:58px}.operator-loading-mark strong{font-size:23px}.operator-loading-copy h1{font-size:25px}.operator-loading-copy li{padding:11px 12px}.operator-loading-copy li small{font-size:11px}.display-settings{padding:22px}.display-settings select{font-size:16px}}
@media(max-height:620px){.operator-loader{align-items:flex-start;justify-content:flex-start}.operator-loading-mark{display:none}.operator-loading-copy{margin:auto}.operator-loading-copy h1{font-size:23px}}
@media(prefers-reduced-motion:no-preference) and (max-width:850px){.display-settings[open]{animation:display-enter .18s ease-out}@keyframes display-enter{from{opacity:.6;transform:translateY(6px)}to{opacity:1;transform:none}}}
html[dir="ltr"] :is([data-panel-role],.tc-visitor) :is(.tc-shell,.tc-item,.ac-nav button,.tc-composer,.tc-thread,.field,.profile-summary){text-align:left}html[dir="ltr"] [data-panel-role] .ac-cockpit{direction:ltr}html[dir="ltr"] :is([data-panel-role],.tc-visitor) .tc-inbox{border-left:0;border-right:1px solid var(--line)}html[data-display-theme="dark"] :is(.tc-layout,.tc-thread,.tc-inbox,.tc-filters,.tc-thread-empty,.tc-thread-header,.tc-management,.tc-composer,.tc-new,.tc-visitor .tc-new,.ac-body #voice-workspace){background:#1c3027!important;color:#e6eee6!important;border-color:#344a40!important}html[data-display-theme="dark"] :is(.tc-message[data-own="true"],.tc-item[aria-current="true"]){background:#294635!important}.us-drawer[dir="ltr"] .ec-sup-dept::after{content:'→';float:right}.us-drawer[dir="ltr"] .us-tabs button{text-align:left}.us-drawer[data-display-theme="dark"] :is(.ec-sup-status,.ec-sup-label,.ec-sup-body label){color:#b9c8bd!important}.us-preparing-screen[data-display-theme="dark"] :is(h2,strong){color:#e6eee6!important}.us-preparing-screen[data-display-theme="dark"] :is(p,span){color:#b9c8bd!important}
html[data-display-theme="dark"] :is([data-panel-role],.tc-visitor,[data-ui-auth]){--ok:#82ce9d;--bad:#f5a7a7;--warn:#dbc390;--panel-2:#1c3027}html[data-display-theme="dark"] :is(label,.eyebrow,.tc-visitor .tc-new label,.tc-visitor .tc-composer label,.section-label){color:#b9c8bd!important}html[data-display-theme="dark"] .ac-header .logout{background:#294635!important;border-color:#476052!important;color:#e6eee6!important}.message-live-status{margin:0 0 16px;text-align:start;border-radius:8px;font-size:11px}
html[data-display-theme="dark"] :is(.support-loader,.support-loader-copy,.support-loader-brand){background:#14251d!important;color:#e6eee6!important}html[data-display-theme="dark"] .support-loader :is(h1,h2,strong){color:#e6eee6!important}html[data-display-theme="dark"] .support-loader :is(p,small,span){color:#b9c8bd!important}
html[dir="ltr"] [data-panel-role="user"] .department-row{min-width:0;flex-wrap:wrap;gap:8px}html[dir="ltr"] [data-panel-role="user"] .department-row .pill{white-space:normal;overflow-wrap:anywhere}
@media(min-width:851px) and (max-width:1100px){html[dir="ltr"] [data-panel-role] .workspace{margin-left:220px}html[dir="ltr"] [data-panel-role].ps-sidebar-collapsed .workspace{margin-left:0}}
.us-drawer.tc-drawer[dir="ltr"]{direction:ltr;inset-inline-end:auto;inset-inline-start:auto;right:22px;left:auto}.us-preparing-screen[dir="ltr"]{direction:ltr}.us-drawer.tc-drawer[dir="ltr"] .ec-sup-panel{direction:ltr!important;text-align:left}
@media(max-width:850px){.us-drawer.tc-drawer[dir="ltr"]{left:12px;right:12px}}
.display-settings[data-display-theme="dark"] label{color:#b9c8bd!important}.display-settings[data-display-theme="dark"] .btn{background:#294635!important;color:#e6eee6!important;border-color:#476052!important}.us-drawer[data-display-theme="dark"] :is(.us-tab-words,.us-tab-icon){background:transparent!important}

[data-ui-landing] .display-open{position:static;left:auto;right:auto;top:auto;margin:0}
