/* Shared Acrylic surfaces with an opaque fallback and recessed navigation. */
:root{--acrylic:rgba(255,255,255,.74);--acrylic-line:rgba(255,255,255,.94);--glass-shadow:0 16px 44px #39437312,0 3px 10px #3239580a,inset 0 1px #ffffffc9}
body{background:radial-gradient(ellipse at 14% 8%,#eae5ff9c,transparent 48%),radial-gradient(ellipse at 92% 73%,#d5f2eea0,transparent 52%),#f4f6fa;background-attachment:fixed}
#appView main{background:transparent}.panel,.stat,.customer-card,.monitor-device{background:linear-gradient(145deg,#ffffffdf,#f4f2facb 58%,#effaf8c9);backdrop-filter:blur(26px) saturate(150%);-webkit-backdrop-filter:blur(26px) saturate(150%);border:1px solid var(--acrylic-line);border-radius:20px;box-shadow:var(--glass-shadow)}
.workspace-header{background:#ffffffa8;backdrop-filter:blur(26px) saturate(145%);-webkit-backdrop-filter:blur(26px) saturate(145%);border:1px solid #ffffffc7;border-radius:20px;box-shadow:0 12px 34px #39437310,inset 0 1px #ffffffd9}
button,.quiet{border-radius:12px}.nav-item.active{border-radius:12px;background:#e9e5f6;color:#5341be;box-shadow:inset 3px 3px 6px #786aab30,inset -3px -3px 6px #fff;border:1px solid #d8d0ed}
.recessed-tabs{display:flex;gap:6px;width:fit-content;max-width:100%;padding:6px;margin:0 0 22px;background:#e8e8f1;border:1px solid #dfdfe9;border-radius:16px;box-shadow:inset 2px 2px 5px #44405f18,inset -2px -2px 5px #ffffff}
.recessed-tabs button{background:transparent;color:#687087;padding:12px 24px;border:1px solid transparent;box-shadow:none}.recessed-tabs button.active{color:#5142ba;background:#faf9ff;border-color:#fff;box-shadow:0 2px 5px #48396020,inset 0 -2px 3px #e9e3f5}
.connection-dot{display:inline-block;width:11px;height:11px;flex:0 0 11px;border-radius:50%;background:#9aa3b3;box-shadow:0 0 0 4px #9aa3b31a;vertical-align:middle;margin:4px 8px}.connection-dot.is-online{background:#18a970;box-shadow:0 0 0 4px #18a97018}
.device-link{font-weight:700!important}.company-initial{background:linear-gradient(145deg,#f1eeff,#e5e1f9);border:1px solid #ffffff;border-radius:15px;box-shadow:inset 1px 1px 3px #fff,0 4px 10px #756c9c12}.company-initial svg{width:25px;height:25px}.company-contact:empty{display:none}.company-profile{margin:12px;border:1px solid #e5e5f070;border-radius:16px;padding:20px;background:#ffffff6b}.company-profile+.company-profile{border-top:1px solid #e5e5f070}.company-profile-head{gap:14px}.company-contact{gap:16px;margin-top:12px}.company-profile .link{font-size:12px}.company-profile .link,.company-contact{margin-left:64px}#customersPage .grid-two{align-items:start;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}#customerForm{position:sticky;top:18px}#customerForm h3:before{content:'＋';color:#6a58c8;margin-right:8px}#customersPage label{font-size:13px}
#usersTable .table-actions{gap:8px}#usersTable td{vertical-align:top}#usersTable .table-actions button{font-size:12px;min-height:36px;border-radius:10px}.action-enable,.action-disable{font-weight:600;border:1px solid;padding:10px 16px;box-shadow:none}.action-enable{color:#087848;background:#e5f7ee;border-color:#a9dfc5}.action-disable{color:#b33049;background:#fff0f2;border-color:#f0bac5}.action-enable:hover{background:#cff0df}.action-disable:hover{background:#ffe1e7}.otp-pill,.account-state{display:inline-block;width:fit-content;margin:8px 5px 0 0;padding:5px 8px;border-radius:8px;background:#edf0f5;color:#748094;font-size:11px}.otp-pill.enabled,.account-state.enabled{background:#e4f5ec;color:#0b8558}.role-pill{font-size:11px}#usersResult:empty{display:none}.table-panel th{font-size:10px;letter-spacing:.045em}
.insights-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.insights-grid .panel{min-width:0}.company-ranking{grid-column:span 2}.health-chart{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;padding:20px}.health-chart .chart-key{flex:1;min-width:130px}.donut-wrap{width:160px;height:160px;flex:0 0 160px}.donut-segment{animation:donut-reveal 1.2s cubic-bezier(.22,.8,.25,1) both}.bar-track>span{animation:bar-reveal .8s ease both;transform-origin:left}.chart-note{font-size:11px;padding:16px 20px;border-top:1px solid #e5e5ef80}.operations-panel{padding:24px}.operations-panel .attention-item{padding:10px 0}.operations-panel .pulse-number{margin:18px 0}.live-label{font-size:10px}.panel-head .eyebrow{font-size:9px}
@keyframes donut-reveal{from{stroke-dasharray:0 var(--circumference)}to{stroke-dasharray:var(--arc) var(--circumference)}}@keyframes bar-reveal{from{transform:scaleX(0)}to{transform:scaleX(1)}}
#liveViewDialog,#monitorGalleryDialog,#monitorUsersDialog,#securityDialog,#userDialog,#scopeDialog,#confirmActionDialog{background:linear-gradient(135deg,#ffffffdf,#f2f0fbd9 55%,#e9f6f3db);backdrop-filter:blur(28px) saturate(145%);-webkit-backdrop-filter:blur(28px) saturate(145%);border:1px solid #ffffffbd;box-shadow:0 24px 100px #25304e38;color:#202b42}dialog::backdrop{background:#26324955;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
#liveViewDialog .live-view-head,#liveViewDialog .live-view-foot{background:#ffffff5e;color:#586377;border-color:#ffffffa6}#liveViewTitle{color:#243048}#liveViewDialog .view-only-badge{color:#087f80;border-color:#74bcb4;background:#e5f8f38c}#liveViewDialog .live-view-canvas{background:#182338}#liveViewDialog .live-view-head{border-bottom:1px solid #ffffffb0}#liveViewDialog .live-view-foot{border-top:1px solid #ffffffb0}#stopLiveView{border-radius:12px;background:#fff0f2;color:#ae2e47;border:1px solid #ecb6c2}#monitorGalleryDialog>.live-view-head{background:#fdfcffbd;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.gallery-time-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-time-fields label{min-width:0}#galleryFilterForm input[type=time],#galleryFilterForm input[type=date]{appearance:none;-webkit-appearance:none;box-sizing:border-box;min-width:0;width:100%;max-width:100%}#galleryFilterForm input::-webkit-date-and-time-value{text-align:left;min-width:0}.gallery-tools form{background:#ffffffb5}.gallery-tools{flex-wrap:wrap}.gallery-tools details{flex-basis:calc(100% - 120px)}
.security-dialog{width:min(560px,94vw);padding:26px;border-radius:22px;max-height:90dvh;overflow:auto}.security-dialog .panel-head{padding:0 0 18px}.security-dialog h2{font-size:20px}.security-dialog label{display:block;margin:16px 0 10px}.security-dialog label input:not([type=checkbox]){width:100%;margin-top:8px}.security-intro{display:flex;gap:14px;background:#ece9f787;padding:18px;border-radius:14px}.security-intro>svg{width:26px;flex:0 0 26px;color:#6654c4}.security-intro p{margin:7px 0 0;color:#6a758b;font-size:13px}.otp-key{display:block;overflow-wrap:anywhere;padding:16px;background:#fff;border-radius:10px;color:#57439a;user-select:all}.otp-steps{padding-left:22px;font-size:13px;line-height:1.7}.recovery-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}.recovery-codes code{font-size:12px;padding:8px;background:#fff;border-radius:6px;overflow-wrap:anywhere}.security-dialog p{line-height:1.6}.security-dialog .check-label{display:flex;align-items:center;gap:10px}.security-dialog .check-label input{width:18px;height:18px}
.local-account-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.local-account{display:flex;align-items:center;gap:14px;padding:20px;border:1px solid #fff;border-radius:16px;background:#ffffffb3}.local-account-name{flex:1;min-width:0;overflow-wrap:anywhere}.local-account-name small{display:block;font-size:12px;color:#7b8295;margin-top:5px}.local-account-name p{font-size:11px;color:#7b8295;margin-bottom:0}.local-user-icon{padding:12px;border-radius:14px;color:#6553bd;background:#ece9f7}.local-user-icon svg{width:22px;height:22px}.local-account>button{border-radius:30px}.local-account>.muted{font-size:11px}
@supports not (backdrop-filter:blur(1px)){.panel,.stat,.customer-card,.monitor-device,dialog{background:#f9faff!important}}
@media(max-width:1100px){.insights-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.company-ranking{grid-column:auto}.local-account-list{grid-template-columns:1fr}}
@media(max-width:760px){
 #customersPage .grid-two,.insights-grid{grid-template-columns:minmax(0,1fr)}#customerForm{position:static}.company-profile{margin:8px;padding:16px}.company-profile .link,.company-contact{margin-left:0}.header-actions #accountSecurity .ui-icon{width:20px}.phone-table tbody tr{background:#ffffffb3;box-shadow:var(--glass-shadow);border:1px solid #fff;border-radius:18px}.security-dialog{height:auto!important;max-height:92dvh!important;width:calc(100% - 24px)!important;margin:auto!important;border-radius:20px!important;padding:22px!important}.recovery-codes{gap:6px}.local-account{padding:14px;gap:10px}.local-user-icon{display:none}
 #loginView{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100svh;min-height:100dvh;height:auto;background:linear-gradient(150deg,#e9e5fb,#f8fafd 48%,#e4f4ef);padding:0}
 #loginView.hidden{display:none}#loginView .login-brand{min-height:0;padding:20px 24px 16px;border-radius:0;background:transparent;color:#2c2844;display:block}#loginView .login-kicker{font-size:9px;color:#827991;letter-spacing:1.5px}#loginView .login-title{font-size:25px;line-height:1.15;max-width:none;margin:8px 0 0;color:#35304e}#loginView .login-tagline,#loginView .login-orbit{display:none}#loginView .login-brand-footer{display:none}
 #loginView .login-card{width:100%;max-width:440px;align-self:start;justify-self:center;padding:20px 24px 24px;margin:0;background:transparent;border:0;box-shadow:none}#loginView .login-card h2{font-size:24px;margin:0 0 8px}#loginView .login-card>p:first-of-type{font-size:13px;margin:0 0 22px;line-height:1.4}#loginView .login-card label{font-size:13px;margin:12px 0 6px}#loginView .login-card input{height:46px;min-height:46px;margin-top:6px;padding:12px;background:#ffffffc9}#loginView .password-field{margin:0 0 16px}#loginView .password-field input{margin:0}#loginView .password-field button{height:46px;min-height:46px}#loginView .login-card>button[type=submit]{height:46px;min-height:46px;margin:12px 0 0;padding:10px}#loginView .login-contact{margin-top:16px;font-size:12px}#loginView .login-product{margin-top:18px;padding-top:14px;font-size:11px}#loginView .login-product p{display:none}#loginView .login-product a{font-size:11px}#loginError:empty{display:none}#loginError{font-size:12px;margin:10px 0 0;line-height:1.4}#loginOtpLabel.hidden{display:none}
 .gallery-tools details[open]{flex-basis:100%;order:2}.gallery-tools>button{margin-left:auto;order:1}.gallery-filter-actions button{padding:10px 8px;font-size:13px}.gallery-time-fields{gap:10px}.gallery-time-fields input{padding:10px 8px}#galleryFilterForm .muted{font-size:11px}.recessed-tabs{width:100%}.recessed-tabs button{flex:1;padding:10px 16px}
}
@media(max-width:760px) and (max-height:650px){#loginView .login-brand{padding-top:12px;padding-bottom:4px}#loginView .login-card{padding-top:14px}#loginView .login-card>p:first-of-type{margin-bottom:12px}#loginView .login-product{display:none}#loginView .login-contact{margin-top:10px}#loginView .login-card h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){.donut-segment,.bar-track>span{animation:none}}

[hidden]{display:none!important}
@media(max-width:760px){
 #loginView .login-title{-webkit-text-fill-color:#35304e;color:#35304e;background:none;animation:none}
 #loginView .login-brand-footer{display:flex;margin:10px 0 0;padding:0;gap:0}
 #loginView .login-brand-footer>span{display:none}
 #loginView .login-brand-footer a{padding:0;line-height:0}
 #loginView .login-brand-footer img{width:150px;filter:brightness(0);opacity:.62}
}
@media(max-width:760px) and (max-height:650px){#loginView .login-kicker{display:none}}

#liveViewDialog .live-view-foot p{color:#586377}

@media(max-width:760px){
 #loginView .login-brand{background:linear-gradient(135deg,#3679ed 0%,#5143ea 58%,#624c9f 100%);color:#fff;overflow:hidden;border-radius:0 0 24px 24px;box-shadow:0 8px 26px #5143a51c}
 #loginView .login-kicker{color:#e1e8ff}
 #loginView .login-title{color:#fff;-webkit-text-fill-color:#fff}
 #loginView .login-brand-footer img{filter:none;opacity:.95}
}
.local-emergency-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.local-account-actions{display:grid;gap:8px;max-width:160px}.local-account-actions button{border-radius:14px;font-size:12px}
.emergency-hint{font-size:12px;line-height:1.5;color:#74657a;margin:0 0 16px}
@media(max-width:760px){#localUsersContent>.panel-head{flex-wrap:wrap;gap:12px}.local-account-actions{max-width:130px}.local-account-actions button{padding:9px 10px}}

#monitorUsersDialog{width:min(1000px,calc(100vw - 40px));max-height:90dvh;padding:0;border-radius:24px;overflow:auto}
.monitor-users-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;background:#f7f8fff0;backdrop-filter:blur(24px);border-bottom:1px solid #ffffffbf}
.monitor-users-head h2{min-width:0;overflow-wrap:anywhere;font-size:21px;margin:0}.monitor-users-head button{flex-shrink:0}
#monitorUsersBody{padding:24px;min-height:220px}#monitorUsersBody>.panel-head{flex-wrap:wrap;gap:12px}
.local-command-history{margin-top:24px;padding:16px;border:1px solid #fff;border-radius:16px;background:#ffffff9c}.local-command-history summary{cursor:pointer;font-weight:600}.local-command-history ul{padding:0;list-style:none}.local-command-history li{padding:12px 0;border-bottom:1px solid #dbe0ed;overflow-wrap:anywhere}.local-command-history li>div{display:flex;gap:14px;justify-content:space-between}.local-command-history p,.local-command-history small{font-size:12px;color:#566278}.local-account-actions button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:760px){#monitorUsersDialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;inset:0;margin:0;border-radius:0;padding:0}.monitor-users-head{padding:14px 16px}.monitor-users-head h2{font-size:18px}#monitorUsersBody{padding:16px 14px 30px}.monitor-device-actions [data-monitor-users]{flex-basis:100%}}
/* Access security and license dialogs */
#passkeyLogin{width:100%;margin-top:10px;min-height:44px}#loginCaptcha:not(:empty){margin:12px 0;max-width:100%;overflow:hidden}
#loginBlocksDialog{width:min(1000px,94vw);max-height:90dvh;overflow:auto;padding:24px;border:1px solid #e3e1ef;border-radius:20px;background:#f9faff;color:#202b42}
#loginBlocksDialog .panel-head{gap:12px;flex-wrap:wrap}#mfaReminder{margin:12px 0;color:#493c84}#mfaReminder[hidden]{display:none}
.header-actions{flex-wrap:wrap}.workspace-header{flex-wrap:wrap}#loginBlocks,#licenseAlertsButton{font-size:12px}
@media(max-width:760px){#loginBlocksDialog{padding:16px;width:calc(100% - 20px);max-height:90dvh}#loginBlocks,#licenseAlertsButton{min-height:36px;padding:6px 8px}}

/* Mobile company header and enrollment reminder: no clipped text or competing button widths. */
#mfaReminder{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 22px;border:1px solid #fff;border-radius:20px;background:linear-gradient(120deg,#f5f0ffed,#effaffed);overflow:visible}
#mfaReminder .mfa-reminder-copy{min-width:0;flex:1}
#mfaReminder strong{display:block;font-size:14px;line-height:1.5}
#mfaReminder p{font-size:12px;line-height:1.65;margin:4px 0 0;overflow-wrap:anywhere}
#mfaReminder button{flex:none;white-space:nowrap;min-height:44px;border-radius:12px}
@media(max-width:760px){
 .workspace-header{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px 12px;align-items:center;padding-top:12px;padding-bottom:12px}
 .workspace-header>div:first-of-type{min-width:0}
 .workspace-header h2,.monitoring-only .workspace-header h2{font-size:17px;line-height:1.4;overflow-wrap:anywhere}
 .workspace-header .header-actions{grid-column:1/-1;display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px!important;min-width:0}
 .workspace-header .header-actions button{width:auto;min-width:44px;height:44px;min-height:44px;padding:8px 10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:11px!important;border-radius:10px;white-space:nowrap;flex:none}
 .workspace-header .header-actions button .ui-icon{width:16px;height:16px;flex-basis:16px}
 .workspace-header .header-actions button[hidden]{display:none}
 .workspace-header .mobile-menu-button{align-self:start;margin-top:0;border-radius:12px}
 #mfaReminder{align-items:stretch;flex-direction:column;gap:12px;padding:16px;border-radius:18px;margin:12px 0 18px}
 #mfaReminder button{align-self:flex-start;padding:10px 15px;font-size:12px}
}

.local-password-dialog{width:min(540px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid #fff;border-radius:22px;background:linear-gradient(135deg,#f5f9ff,#f1edff);box-shadow:0 24px 80px #17264d55}
.local-password-dialog .panel-head{padding:0;gap:12px}.local-password-dialog p{font-size:12px;overflow-wrap:anywhere}.local-password-dialog label{font-size:12px}.local-reset-confirm{display:flex;gap:10px;align-items:flex-start;line-height:1.5}.local-reset-confirm input{width:18px;min-width:18px;margin:1px 0 0}.local-account-actions{flex-wrap:wrap}
