/* Shared visual components explicitly approved for phone and desktop. */
body:has(.site-header--panel) :is(.support-symbol,.module-symbol){background:#282d38;color:#fff}
body:has(.site-header--panel) .module-card-action{display:flex;align-items:center;justify-content:center;gap:12px;height:44px;min-height:44px;box-sizing:border-box;padding:0 16px;border-radius:6px;background:var(--blue,#0866ff);color:#fff;font-size:13px;font-weight:650;margin-top:auto}
body:has(.site-header--panel) :is(#company-switch-wrap,#portal-company-switch-wrap,.ticket-toolbar>.ticket-sort,.ticket-toolbar>.operator-mobile-view,.module-filter){position:relative}
body:has(.site-header--panel) :is(#company-switch-wrap,#portal-company-switch-wrap,.ticket-toolbar>.ticket-sort,.ticket-toolbar>.operator-mobile-view,.module-filter)>select{appearance:none;-webkit-appearance:none;height:44px;min-height:44px;box-sizing:border-box;background-color:#fff;background-image:none;padding-right:44px;border-radius:6px}
body:has(.site-header--panel) :is(#company-switch-wrap,#portal-company-switch-wrap,.ticket-toolbar>.ticket-sort,.ticket-toolbar>.operator-mobile-view,.module-filter)::before{content:"";position:absolute;right:1px;bottom:1px;width:34px;height:42px;background:var(--blue,#0866ff);border-radius:0 5px 5px 0;pointer-events:none;z-index:1}
body:has(.site-header--panel) :is(#company-switch-wrap,#portal-company-switch-wrap,.ticket-toolbar>.ticket-sort,.ticket-toolbar>.operator-mobile-view,.module-filter)::after{content:"";position:absolute;right:14px;top:auto;bottom:22px;width:7px;height:7px;border-right:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:translateY(50%) rotate(45deg);pointer-events:none;z-index:2}
.admin-launcher[hidden]{display:none!important}
.admin-launcher{width:100%;max-width:1320px;box-sizing:border-box;margin-inline:auto;padding:64px clamp(24px,4vw,72px) 28px}
.admin-launcher>.eyebrow{font-size:12px;font-weight:550;letter-spacing:.02em;margin:0 0 26px}
.admin-launcher h1{margin:0 0 12px;font-size:clamp(30px,3.2vw,44px);letter-spacing:-1.7px;line-height:1.15}
.admin-launcher-intro{font-size:14px;line-height:1.7;color:#6a7c93;margin:0 0 34px}
.admin-launcher-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:24px}
.admin-launcher .module-card{display:flex;flex-direction:column;gap:24px;min-height:280px;max-width:420px;box-sizing:border-box;padding:32px;background:#fff;border:1px solid #dce2ec;border-radius:10px;text-decoration:none;color:#282d38;transition:border-color .2s,transform .2s}
.admin-launcher .module-card:hover{border-color:#8fb6ff;transform:translateY(-3px)}
.admin-launcher .module-card:focus-visible{outline:2px solid var(--blue,#0866ff);outline-offset:3px}
.admin-launcher .module-symbol{display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:8px}
.admin-launcher .module-symbol svg{width:25px;height:25px}
.admin-launcher .module-card h2{font-size:23px;letter-spacing:-.7px;margin:0 0 12px}
.admin-launcher .module-card p{font-size:14px;line-height:1.7;color:#6a7c93;margin:0}
body[data-admin-home-view="true"] #panel-workspace:not([hidden]){display:flex;align-items:stretch;overflow:auto}
body[data-admin-home-view="true"] #panel-workspace>:is(.workspace-sidebar,.workspace-content){display:none!important}
body[data-admin-home-view="true"] .site-header .brand-sections>:is(.brand-help,.brand-help-rule){display:none}
.desktop-login-mark{display:none;pointer-events:none;user-select:none}
@media(max-width:760px){.admin-launcher{padding:28px 20px}.admin-launcher .module-card{max-width:none}}
@media(min-width:761px){
 .admin-launcher .module-card{max-width:none}
 body:has(#portal-login:not([hidden]))>.desktop-login-mark{position:fixed;inset:auto 0 20px;display:flex;justify-content:center;z-index:0}
 .desktop-login-mark>.brand{display:inline-flex;align-items:center;gap:12px;color:#282d38;opacity:.16}
 .desktop-login-mark .brand-mark{width:90px;height:auto;display:block}
 .desktop-login-mark .brand-rule{width:1px;height:22px;background:currentColor}
 .desktop-login-mark .brand-name{font-size:8px;font-weight:600;letter-spacing:.35em;white-space:nowrap}
 body:has(#panel-login:not([hidden])) .panel-watermark{position:fixed;inset:auto 0 20px;display:flex;padding:0;justify-content:center;z-index:0}
 body:has(#panel-login:not([hidden])) .panel-watermark .watermark-mark>.brand{visibility:visible!important}
 body:has(#panel-login:not([hidden])) .panel-watermark .watermark-pieces{display:none!important}
 body:has(.site-header--panel) .login-layout{position:relative;z-index:1}
}

