:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#07111f;--panel:#101d2c;--panel-soft:#152538;--border:#2a3c50;--text:#f4f7fb;--muted:#9eb0c4;--primary:#42d3b2;--danger:#ff6b76;--warning:#ffd166}*{box-sizing:border-box}html,body{min-height:100%;margin:0;color:#f4f7fb!important;background-color:#07111f!important}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit}button,input,select,textarea{font:inherit}.shell{min-height:100vh}.topbar{border-bottom:1px solid var(--border);background:#091523;justify-content:space-between;align-items:center;gap:24px;min-height:68px;padding:7px 28px;display:flex;position:relative}.topbar-left{align-items:center;gap:26px;min-width:0;display:flex}.topbar-phone{z-index:31;width:min(390px,46vw);position:absolute;top:12px;left:50%;transform:translate(-50%)}.brand{max-width:300px;color:var(--primary);letter-spacing:.02em;text-overflow:ellipsis;white-space:nowrap;font-size:20px;font-weight:800;overflow:hidden}.brand span{color:var(--primary)}.top-actions{color:var(--muted);align-items:center;gap:12px;font-size:14px;display:flex}.add-company-button{border-radius:8px;gap:8px;height:36px;min-height:36px;padding:0 13px}.add-company-button b{font-size:20px;line-height:1}.language-select{border:1px solid var(--border);background:var(--panel-soft);height:36px;color:var(--muted);border-radius:8px;grid-template:none;align-items:center;gap:7px;padding:0 9px;font-size:11px;display:flex}.language-select select{width:auto;max-width:105px;color:inherit;cursor:pointer;box-shadow:none;background:0 0;border:0;border-radius:0;outline:0;padding:0 20px 0 0;font-size:11px}.language-select select option{color:var(--text);background:var(--panel)}.language-flag{background-clip:border-box;border-radius:2px;flex:0 0 20px;width:20px;height:14px;position:relative;overflow:hidden}.language-flag-svg{border:1px solid #ffffff38;border-radius:1px;flex:0 0 21px;width:21px;height:13px;display:block;overflow:hidden}.language-flag.flag-uk{background:linear-gradient(#1769aa 0 50%,#ffd83d 50%)}.language-flag.flag-ru{background:linear-gradient(#fff 0 33.33%,#2855a5 33.33% 66.66%,#d52b1e 66.66%)}.language-flag.flag-zh{background:#de2910}.language-flag.flag-zh:after{content:"★";color:#ffde00;font-size:8px;position:absolute;top:-2px;left:2px}.language-flag.flag-kk{background:#22a9d6}.language-flag.flag-kk:after{content:"☀";color:#f5d547;font-size:9px;position:absolute;top:-3px;left:5px}.language-flag.flag-uz{background:linear-gradient(#169b62 0 30%,#d82c3b 30% 35%,#fff 35% 65%,#d82c3b 65% 70%,#1684c5 70%)}.settings-button{border:1px solid var(--border);background:var(--panel-soft);width:36px;height:36px;min-height:36px;color:var(--muted);border-radius:8px;place-items:center;padding:0;font-size:17px;display:grid}.settings-button:hover{color:var(--text);border-color:#64788d}.log-button{border:1px solid var(--border);background:var(--panel-soft);width:36px;min-width:36px;height:36px;min-height:36px;color:var(--muted);border-radius:8px;place-items:center;padding:0;display:grid}.log-button:hover,.log-button.active{border-color:var(--primary);color:var(--text)}.log-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.security-events-button{border:1px solid var(--border);background:var(--panel-soft);width:36px;height:36px;min-height:36px;color:var(--muted);border-radius:8px;place-items:center;padding:0;display:grid;position:relative}.security-events-button:hover{color:var(--text);border-color:#64788d}.security-events-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.security-events-count{background:var(--danger);color:#fff;border:2px solid #091523;border-radius:999px;place-items:center;min-width:17px;height:17px;padding:0 4px;font-size:9px;font-weight:900;line-height:1;display:grid;position:absolute;top:-6px;right:-7px}.user-chip{min-height:38px;color:var(--text);text-align:left;background:0 0;border:0;align-items:center;gap:9px;padding:0;display:flex}.user-chip:hover{color:var(--primary);background:0 0}.user-chip:disabled{cursor:default;opacity:.7}.user-chip>span{background:var(--primary);color:#04251d;border-radius:10px;place-items:center;width:34px;height:34px;font-size:12px;font-weight:900;display:grid}.user-chip strong,.user-chip small{text-overflow:ellipsis;white-space:nowrap;max-width:220px;display:block;overflow:hidden}.user-chip strong{color:inherit;font-size:12px}.user-chip small{color:var(--muted);margin-top:2px;font-size:9px;font-weight:500}.logout-button{gap:7px;height:36px;min-height:36px;padding:0 11px}.managers-button{height:36px;min-height:36px;padding:0 12px;font-size:12px}.content{width:min(1180px,100% - 40px);margin:34px auto 80px}.company-map-dashboard{background:#071724;width:100vw;height:calc(100vh - 68px);min-height:560px;margin:-34px 0 -80px calc(50% - 50vw);position:relative;overflow:hidden}.world-map{touch-action:none;background:radial-gradient(circle at 50% 40%,#143149 0,#092033 55%,#06131f 100%);position:absolute;inset:0;overflow:hidden}.world-map svg{width:100%;height:100%;display:block}.map-land{transform-origin:50%;transition:transform .18s}.map-land>path{fill:#d9e2e8;stroke:#7190a5;stroke-width:1px;vector-effect:non-scaling-stroke}.map-borders path{fill:none;stroke:#8da6b6;stroke-width:.75px;vector-effect:non-scaling-stroke}.map-controls{grid-template-columns:repeat(2,38px);gap:7px;display:grid;position:absolute;top:18px;right:18px}.map-controls button{height:38px;min-height:38px;color:var(--text);background:#091523e6;border:1px solid #547087;border-radius:9px;padding:0;font-size:20px;box-shadow:0 8px 22px #00000040}.map-controls button:nth-child(3){grid-column:1/-1}.map-legend{border:1px solid var(--border);color:var(--muted);background:#091523e0;border-radius:9px;align-items:center;gap:8px;padding:9px 12px;font-size:11px;display:flex;position:absolute;bottom:18px;right:18px}.map-legend span{background:var(--primary);width:10px;height:10px;box-shadow:0 0 0 2px var(--primary);border:2px solid #06131f;border-radius:50%}.company-map-menu{z-index:4;border:1px solid var(--border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#091523f0;border-radius:13px;width:50px;max-height:calc(100% - 36px);padding:6px;transition:width .18s;position:absolute;top:18px;left:18px;box-shadow:0 18px 60px #00000061}.company-map-menu.open{width:max(240px,15vw)}.company-map-menu-toggle{background:var(--panel-soft);width:100%;min-height:42px;color:var(--text);justify-content:flex-start;gap:10px;padding:0 10px}.company-map-menu-toggle span{font-size:20px}.company-map-menu nav{gap:4px;margin-top:7px;display:grid}.company-map-menu nav button{width:100%;min-height:46px;color:var(--text);text-align:left;background:0 0;justify-content:flex-start;gap:11px;padding:7px 10px}.company-map-menu nav button:hover,.company-map-menu nav button.active{background:var(--panel-soft);color:var(--primary)}.company-map-menu nav button span{width:24px;color:var(--primary);text-align:center;flex:0 0 24px;font-size:18px}.company-map-menu nav button strong{font-size:12px;line-height:1.25}.map-section-placeholder{z-index:3;border:1px solid var(--border);text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#091523f2;border-radius:17px;place-items:center;width:min(430px,100% - 40px);min-height:210px;padding:32px;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 24px 80px #0000008c}.map-section-placeholder>.icon-button{position:absolute;top:12px;right:12px}.map-section-placeholder>span{color:var(--primary);font-size:34px}.map-section-placeholder h2{margin:7px 0 0}.map-section-placeholder p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.55}.narrow{width:min(520px,100% - 32px);margin:64px auto}.login-page{forced-color-adjust:none;width:100%;min-height:100vh;padding:1px 0 64px;position:relative;color:#f4f7fb!important;background-color:#07111f!important}.login-panel{z-index:1;position:relative}.login-language{z-index:2;position:absolute;top:22px;right:28px}.login-page .card{color:#f4f7fb!important;background-color:#101d2c!important}.login-page input{-webkit-text-fill-color:#f4f7fb;color:#f4f7fb!important;background-color:#091523!important}.grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;display:grid}.card{background:var(--panel);border:1px solid var(--border);border-radius:16px;padding:22px}.card h2,.card h3{margin-top:0}.muted{color:var(--muted)}.eyebrow{color:var(--primary);text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800}h1{margin:8px 0 12px;font-size:clamp(28px,5vw,42px)}h2{font-size:20px}.stack{gap:14px;display:grid}.row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.between{justify-content:space-between}label{color:var(--muted);gap:7px;font-size:14px;display:grid}input,select,textarea{width:100%;color:var(--text);border:1px solid var(--border);background:#091523;border-radius:10px;outline:none;padding:11px 12px}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #42d3b221}.password-field{display:block;position:relative}.password-field input{padding-right:48px}.password-visibility{width:34px;height:34px;min-height:34px;color:var(--muted);background:0 0;border-radius:8px;padding:0;font-size:18px;position:absolute;top:50%;right:6px;transform:translateY(-50%)}.password-visibility:hover{background:var(--panel-soft);color:var(--text)}textarea{resize:vertical;min-height:90px}button,.button{background:var(--primary);color:#04251d;cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;min-height:42px;padding:0 16px;font-weight:800;text-decoration:none;display:inline-flex}button:disabled{cursor:not-allowed;opacity:.48}.button.secondary,button.secondary{color:var(--text);background:var(--panel-soft);border:1px solid var(--border)}.button.danger,button.danger{color:#fff;background:#b52b38}.notice{border:1px solid var(--border);background:var(--panel-soft);border-radius:12px;padding:12px 14px}.notice.error{color:#ffd5d9;border-color:#8f3340}.notice.warning{color:var(--warning);border-color:#705d25}.impersonation{z-index:10;color:#281d00;background:#ffcf5a;justify-content:center;align-items:center;gap:16px;padding:10px 18px;font-weight:750;display:flex;position:sticky;top:0}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:13px 10px}th{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:12px}.badge{color:#c9d8e6;background:#22364a;border-radius:999px;padding:4px 9px;font-size:12px;display:inline-flex}.badge.good,.badge.company-status.active{color:#8ce5d0;background:#123b31}.badge.company-status.suspended{color:#ffb9bf;background:#51323a}.badge.company-status.archived{color:#c1cad3;background:#3a4149}.qr{background:#fff;border-radius:12px;width:220px;height:220px;margin:8px auto;padding:8px;display:block}code{color:#bdeee3;overflow-wrap:anywhere}.page-heading{min-height:62px}.company-table-card{padding:8px 18px 18px}.company-table{min-width:820px}.company-title{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.system-id{color:var(--primary);margin-top:6px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;display:inline-block}.inactive-row{background:#ffffff05}.inactive-row>td{opacity:.78}.compact-stack{gap:7px}.module-row{flex-wrap:nowrap}.small-button{white-space:nowrap;border-radius:8px;height:32px;min-height:32px;padding:0 10px;font-size:11px}.support-form{border:1px solid var(--border);background:#091523;border-radius:12px;min-width:300px;margin-top:12px;padding:14px}.company-actions{justify-items:stretch;gap:7px;min-width:140px;display:grid}.company-actions form,.company-actions button{width:100%}.company-status-summary{justify-items:start;gap:5px;display:grid}.company-status-summary small{color:var(--muted);font-size:10px}.company-management-modal{width:min(860px,100%)}.company-management-footer{padding:0 24px 24px}.company-sensitive-action>summary{width:min(260px,100%);list-style:none}.company-sensitive-action>summary::-webkit-details-marker{display:none}.company-lifecycle-actions{align-items:start}.danger-link{color:#ff929b;background:0 0;justify-content:flex-start;min-height:30px;padding:0;font-size:11px}.danger-link:hover{color:#ffc0c5}.user-action-primary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.user-action-primary details,.user-action-primary button{width:100%;min-width:0}.delete-user-button{color:#ff929b!important}.delete-user-button:hover{color:#ffc0c5!important;border-color:#8f3340!important}.user-live-status{font-size:12px;font-weight:800;display:block}.user-live-status.online{color:#63e5bd}.user-live-status.offline{color:var(--muted)}.user-live-status.blocked{color:#ff6b76}.user-live-status.banned{color:#ffb454}.user-status-time{color:var(--muted);white-space:nowrap;margin-top:5px;font-size:10px;display:block}.empty-state{color:var(--muted);text-align:center;padding:34px}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#00060dc7;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--border);background:var(--panel);border-radius:18px;width:min(620px,100%);max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 30px 100px #00000080}.profile-modal{width:min(760px,100%)}.settings-modal{width:min(1180px,100%);overflow-x:hidden}.line-edit-modal{width:min(680px,100%)}.security-events-modal{width:min(760px,100%)}.managers-modal{width:min(1460px,100%)}.managers-modal-content{padding-bottom:4px}.managers-modal-content>.stack{gap:16px}.danger-modal{border-color:#78333d;width:min(560px,100%)}.modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:flex-start;gap:18px;min-height:82px;padding:20px 24px;display:flex}.modal-header h2{margin:0;font-size:22px}.modal-header p{color:var(--muted);margin:7px 0 0;font-size:12px}.icon-button{background:var(--panel-soft);width:34px;min-height:34px;color:var(--muted);border-radius:9px;padding:0;font-size:24px;font-weight:400}.modal-tabs{border-bottom:1px solid var(--border);padding:0 24px;display:flex}.modal-tabs button{min-height:46px;color:var(--muted);background:0 0;border-bottom:2px solid #0000;border-radius:0;margin-right:22px;padding:0 2px;font-size:11px}.modal-tabs button.active{border-bottom-color:var(--primary);color:var(--primary)}.modal-form{padding:22px 24px 24px}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;display:grid}.profile-grid .profile-wide{grid-column:1/-1}.profile-grid label small{color:#778b9f;font-size:10px}.profile-grid input,.password-grid input{min-height:42px}.password-grid{gap:13px;display:grid}.identifier-note{border:1px dashed var(--border);border-radius:10px;align-content:center;padding:8px 12px}.identifier-note span{color:var(--primary);font-size:18px;font-weight:800}.modal-actions{justify-content:flex-end;gap:10px;padding-top:8px;display:flex}.security-events-list{gap:10px;max-height:min(620px,100vh - 190px);padding:18px 24px 4px;display:grid;overflow-y:auto}.security-events-list article{gap:6px;display:grid}.security-events-list article strong{font-size:13px;line-height:1.45}.security-events-list time{color:var(--muted);font-size:11px}.security-events-actions{padding:14px 24px 22px}.settings-section h3{margin:0 0 7px;font-size:19px}.settings-section>p{margin:0 0 15px;font-size:12px;line-height:1.55}.timeout-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.timeout-grid.single{grid-template-columns:minmax(220px,1fr);max-width:320px}.timeout-input{border:1px solid var(--border);background:#091523;border-radius:10px;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:42px;display:grid;overflow:hidden}.timeout-input:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #42d3b221}.timeout-input input{min-width:0;height:40px;box-shadow:none;border:0;border-radius:0;padding:0 10px}.timeout-input input:focus{box-shadow:none;border:0}.timeout-input small{color:var(--muted);padding-right:10px;font-size:10px}.success-text,.error-text{min-height:18px;margin:0;font-size:12px}.success-text{color:#8ce5d0}.error-text{color:#ffb9bf}.enterprise-settings{padding:0 24px 10px}.enterprise-settings .settings-section{border-top:1px solid var(--border);padding:18px 0}.enterprise-settings>.settings-section:first-child{border-top:0}.settings-accordion{padding:0!important}.settings-accordion>summary{min-height:58px;color:var(--text);cursor:pointer;justify-content:space-between;align-items:center;gap:14px;padding:0 4px;font-size:18px;font-weight:800;list-style:none;display:flex}.settings-accordion>summary::-webkit-details-marker{display:none}.settings-accordion>summary b{border:1px solid var(--border);width:26px;height:26px;color:var(--primary);border-radius:7px;place-items:center;font-size:19px;line-height:1;transition:transform .16s;display:grid}.settings-accordion[open]>summary b{transform:rotate(45deg)}.settings-accordion-body{padding:4px 4px 20px}.personal-workplace-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.personal-workplace-grid+button{justify-self:start}.manager-invite-grid{grid-template-columns:repeat(3,minmax(180px,1fr));align-items:end;gap:13px;display:grid}.manager-search{width:min(440px,100%)}.dashboard-heading{justify-content:space-between;align-items:end;gap:18px;display:flex}.dashboard-heading h1{margin-bottom:0}.dashboard-user-filters{grid-template-columns:225px 90px max-content;align-items:center;gap:8px;display:grid}.dashboard-user-filters input,.dashboard-user-filters select{border-radius:8px;height:32px;min-height:32px;padding:0 9px;font-size:11px}.company-users-table{padding:0;overflow-x:hidden}.company-users-table table{table-layout:fixed;width:100%;min-width:0;font-size:15px}.company-users-table th,.company-users-table td{overflow-wrap:anywhere;padding:9px 6px}.company-users-table td>small{color:var(--muted);margin-top:4px;font-size:15px;display:block}.company-users-table .user-live-status{display:inline-block}.sortable-heading,.monitor-link{min-height:0;color:inherit;font:inherit;text-align:left;background:0 0;border:0;border-radius:0;justify-content:flex-start;padding:0}.sortable-heading:hover,.monitor-link:hover{color:var(--primary);background:0 0}.tiny-button{height:25px;min-height:25px;margin-top:6px;padding:0 7px;font-size:9px}.monitoring-toggle{white-space:nowrap;height:32px;min-height:32px;padding-inline:10px}.authentication-log{padding:14px}.authentication-log>header{justify-content:space-between;align-items:center;gap:14px;margin-bottom:12px;display:flex}.authentication-log h2{margin:0}.authentication-log-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.monitoring-summary .dashboard-user-filters{flex-wrap:nowrap;grid-template-columns:225px 90px max-content;justify-content:end;width:auto;display:grid}.authentication-log header label{color:var(--muted);align-items:center;gap:8px;font-size:11px;display:flex}.authentication-log header select{width:84px}.authentication-log .table-wrap{overflow-x:hidden}.authentication-log table{table-layout:fixed;width:100%;min-width:0;font-size:13.5px}.authentication-log .company-users-table table{font-size:15px}.authentication-log th,.authentication-log td{overflow-wrap:anywhere;padding:8px 5px}.authentication-log th:first-child{width:16%}.authentication-log th:nth-child(2){width:12%}.authentication-log th:nth-child(3){width:10%}.authentication-log th:nth-child(4){width:13%}.authentication-log th:nth-child(5){width:8%}.authentication-log th:nth-child(6){width:10%}.authentication-log th:nth-child(7){width:13%}.authentication-log th:nth-child(8){width:18%}.authentication-log th{vertical-align:top;font-size:13.5px;line-height:1.25}.authentication-log .company-users-table th:first-child{width:15%}.authentication-log .company-users-table th:nth-child(2){width:10%}.authentication-log .company-users-table th:nth-child(3),.authentication-log .company-users-table th:nth-child(4){width:15%}.authentication-log .company-users-table th:nth-child(5){width:10%}.authentication-log .company-users-table th:nth-child(6){width:12%}.authentication-log .company-users-table th:nth-child(7),.authentication-log .company-users-table th:nth-child(8){width:11.5%}.monitor-date-time{gap:3px;display:grid}.monitor-date-time-value{color:var(--muted)}.column-filters input{min-width:110px;height:32px;padding:0 7px;font-size:10px}.authentication-log .column-filters input{width:100%;min-width:0}.date-range-filter{width:100%;position:relative}.date-range-filter>summary{border:1px solid var(--line);background:var(--panel-strong);width:100%;min-height:31px;color:var(--text);cursor:pointer;white-space:nowrap;text-overflow:ellipsis;border-radius:7px;align-items:center;padding:5px 7px;list-style:none;display:flex;overflow:hidden}.date-range-filter>summary::-webkit-details-marker{display:none}.date-range-filter>summary:after{content:"▾";color:var(--muted);margin-left:auto;padding-left:5px}.date-range-filter[open]>summary:after{content:"▴"}.date-range-popover{z-index:20;border:1px solid var(--line);background:var(--panel);border-radius:9px;gap:7px;min-width:180px;padding:9px;display:grid;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 12px 32px #00000059}.date-range-popover label{color:var(--muted);gap:3px;font-size:9px;display:grid}.date-range-popover input{width:100%;height:31px!important;font-size:10px!important}.user-agent-cell{overflow-wrap:anywhere;max-width:260px;color:var(--muted);font-size:10px}.monitoring-pagination{justify-content:center;align-items:center;gap:12px;padding-top:12px;display:flex}.monitoring-pagination button{width:38px;min-height:32px;padding:0}.security-policy-table table{table-layout:fixed;min-width:1080px}.security-policy-table th:first-child{width:170px}.security-policy-table td{min-width:210px}.security-policy-table td label{color:var(--muted);gap:4px;margin-bottom:7px;font-size:10px;display:grid}.security-policy-table td input[type=number]{height:34px;min-height:34px;padding:0 7px}.security-policy-table .permanent-check{align-items:center;gap:6px;display:flex}.security-policy-table .permanent-check input{width:16px;height:16px}.ip-protection{border-top:1px solid var(--border);margin-top:20px;padding-top:18px}.ip-protection h3{margin-bottom:4px}.ip-protection table{min-width:860px}.ip-protection td>small{color:var(--muted);margin-top:3px;display:block}.ip-protection-history>summary{cursor:pointer;color:var(--primary);font-weight:700}.connection-status-card{border:1px solid var(--border);background:var(--panel-soft);border-radius:12px;gap:10px;padding:14px;display:grid}.connection-status-card>div{justify-content:space-between;align-items:center;gap:16px;display:flex}.connection-status-card button{justify-self:start}.connection-actions{flex-wrap:wrap;align-items:center;justify-content:flex-start!important;gap:8px!important;display:flex!important}.vpn-saved-row{align-items:center;margin-top:8px}.module-setting-row{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;padding:11px 0;display:flex}.module-setting-row strong,.module-setting-row small{display:block}.module-setting-row small{color:var(--muted);margin-top:4px}.switch-row{grid-template:none;align-items:center;gap:9px;display:flex}.switch-row input{width:38px;height:20px;accent-color:var(--primary)}.line-list{flex-wrap:wrap;gap:7px;display:flex}.webphone{border-radius:11px;width:100%;min-height:44px;margin:0;padding:3px 7px}.webphone-bar{grid-template-columns:12px 94px minmax(90px,1fr) 36px 46px;align-items:center;gap:5px;height:36px;display:grid}.sip-status-dot{cursor:help;background:#ff6b76;border-radius:50%;width:10px;height:10px;display:block;box-shadow:0 0 0 3px #ff6b7621}.sip-status-dot.registered{background:#42d3b2;box-shadow:0 0 0 3px #42d3b221}.phone-presence{min-width:0;position:relative}.phone-presence-button{border-radius:9px;justify-content:flex-start;gap:6px;width:100%;min-width:0;height:34px;min-height:34px;padding:0 8px;font-size:10px}.phone-presence-button>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.phone-presence-button b{color:var(--muted);margin-left:auto;font-size:9px}.phone-presence-menu{z-index:45;border:1px solid var(--border);background:var(--panel);border-radius:11px;gap:3px;width:178px;padding:6px;display:grid;position:absolute;top:calc(100% + 7px);left:0;box-shadow:0 16px 50px #0000008c}.phone-presence-menu button{min-height:34px;color:var(--text);background:0 0;justify-content:flex-start;gap:8px;padding:0 9px;font-size:11px}.phone-presence-menu button:hover,.phone-presence-menu button.active{background:var(--panel-soft)}.phone-number-input{text-overflow:ellipsis;white-space:nowrap;border-radius:9px;min-width:0;height:34px;padding:0 8px;font-size:10px;overflow:hidden}.call-button{border-radius:50%;width:36px;height:36px;min-height:36px;padding:0}.dialpad-toggle{width:46px;height:34px;min-height:34px;color:var(--text);border-radius:9px;gap:4px;padding:0 5px}.dialpad-toggle svg{fill:currentColor;width:19px;height:19px}.dialpad-toggle span{color:var(--muted);font-size:9px}.topbar-phone .dialer{z-index:40;border:1px solid var(--border);background:var(--panel);border-radius:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;width:min(690px,94vw);max-height:min(680px,100vh - 70px);padding:14px;display:grid;position:absolute;top:calc(100% + 8px);left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 20px 60px #0000008c}.dialer{width:min(690px,100%);margin:14px auto 0}.dialer-controls{scrollbar-width:thin;min-width:0;height:min(460px,100vh - 110px);overflow:hidden auto}.phone-lines{justify-content:center;align-items:center;gap:6px;height:24px;margin:0 0 5px;display:flex}.phone-lines button{border:1px solid var(--border);color:#d7e0e9;background:#3a4654;border-radius:5px;width:22px;min-width:22px;height:22px;min-height:22px;padding:0;font-size:9px;line-height:1}.phone-lines button.selected{outline-offset:1px;outline:2px solid #fffc}.phone-lines button.established,.phone-lines button.conference{color:#fff;background:#16a56a;border-color:#4cdda1}.phone-lines button.incoming{color:#fff;background:#e74655;border-color:#ff8994;animation:1s steps(2,end) infinite phone-line-red}.phone-lines button.held{color:#fff;background:#16a56a;border-color:#4cdda1;animation:1.2s steps(2,end) infinite phone-line-green}.phone-lines button.calling{color:#fff;background:#bd8a1e;border-color:#f0bd4d}@keyframes phone-line-red{50%{background:#551920;border-color:#8d303a}}@keyframes phone-line-green{50%{background:#123f30;border-color:#26795a}}.audio-controls{border:1px solid var(--border);background:#0b1725;border-radius:9px;gap:2px;padding:5px 7px;display:grid}.audio-controls label{grid-template-columns:66px minmax(0,1fr);align-items:center;gap:6px;min-height:15px;font-size:9px;display:grid}.audio-controls input[type=range]{height:13px;box-shadow:none;accent-color:var(--primary);border:0;padding:0}.audio-meter{grid-template-columns:repeat(10,1fr);gap:0;padding-left:72px;display:grid}.audio-meter i{background:#1d2a38;border:1px solid #405064;border-right-width:0;border-radius:0;justify-self:stretch;width:100%;height:7px}.audio-meter i:last-child{border-right-width:1px}.audio-meter.output i.active{box-shadow:none;background:#16b66f;border-color:#16b66f}.audio-meter.microphone i.active{box-shadow:none;background:#ec3446;border-color:#ec3446}.dialpad{grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px;display:grid}.dialpad button{background:var(--panel-soft);min-height:51px;color:var(--text);font-size:16px}.call-tools{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;display:grid}.call-tools button{min-height:36px;font-size:11px}.call-tools button.active{border-color:var(--danger);color:#ffb9bf}.conference-tools{grid-template-columns:repeat(6,minmax(0,1fr))}.conference-tools button:nth-child(-n+3){grid-column:span 2}.conference-tools button:nth-child(n+4){grid-column:span 3}.transfer-form{grid-template-columns:minmax(0,1fr) auto;gap:7px;margin-top:9px;display:grid}.transfer-form input,.transfer-form button{height:36px;min-height:36px}.phone-detail{color:var(--muted);margin:9px 0 0;font-size:11px}.call-history{grid-template-rows:auto auto auto minmax(0,1fr);min-width:0;height:min(460px,100vh - 110px);min-height:0;display:grid}.call-history h3{margin:0 0 9px;font-size:15px}.call-history-search{grid-template-columns:minmax(0,1fr) 36px;gap:7px;display:grid}.call-history-search input,.call-history-search button{height:36px;min-height:36px}.call-history-search button{padding:0;font-size:19px}.call-history-list{align-content:start;gap:5px;min-height:0;margin-top:9px;display:grid;overflow-y:auto}.call-history-item{background:#0b1725;border:1px solid #0000;border-radius:9px;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:8px;display:grid}.call-history-item:hover{border-color:var(--border)}.call-direction{color:var(--primary);text-align:center;font-size:19px;font-weight:900}.call-history-item.missed .call-direction,.call-history-item.failed .call-direction{color:var(--danger)}.call-history-item>span:nth-child(2){gap:3px;min-width:0;display:grid}.call-history-item strong,.call-history-item small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.call-history-item small,.call-history-item time{color:var(--muted);font-size:9px}.call-history-empty{text-align:center;margin:18px 0}.topbar-chat-button{border:1px solid var(--border);background:var(--panel);min-width:102px;height:36px;min-height:36px;color:var(--text);border-radius:10px;justify-content:space-between;padding:0 11px;font-size:14px;position:relative}.topbar-chat-button>span{align-items:center;gap:7px;display:flex}.topbar-chat-button svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.topbar-chat-button b{background:var(--danger);color:#fff;border-radius:999px;place-items:center;min-width:19px;height:19px;padding:0 5px;font-size:9px;display:grid}.chat-backdrop{z-index:120}.chat-modal{border:1px solid var(--border);background:var(--panel);border-radius:18px;grid-template-rows:auto minmax(0,1fr);width:min(1050px,100%);height:min(760px,100vh - 48px);display:grid;overflow:hidden;box-shadow:0 30px 100px #00000094}.chat-modal-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:14px;min-height:72px;padding:14px 18px;display:flex}.chat-modal-header h2{margin:0 0 3px}.chat-modal-header small{color:var(--muted)}.chat-app{grid-template-columns:310px minmax(0,1fr);min-height:0;display:grid}.chat-conversations{border-right:1px solid var(--border);background:#0b1725;min-height:0;padding:8px;overflow-y:auto}.chat-conversations>button{width:100%;min-height:64px;color:var(--text);text-align:left;background:0 0;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;padding:9px 10px;display:flex}.chat-conversations>button:hover,.chat-conversations>button.active{background:var(--panel-soft)}.chat-conversations>button span{gap:5px;min-width:0;display:grid}.chat-conversations>button strong,.chat-conversations>button small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-conversations>button small{color:var(--muted);font-weight:400}.chat-conversations>button>b{background:var(--primary);color:#04251d;border-radius:999px;place-items:center;min-width:20px;height:20px;font-size:10px;display:grid}.chat-thread{grid-template-rows:auto minmax(0,1fr) auto auto auto;min-height:0;padding:10px 14px 14px;display:grid;position:relative}.chat-thread.dragging{outline:2px solid var(--primary);outline-offset:-2px}.chat-drop-overlay{z-index:20;border:2px dashed var(--primary);color:var(--primary);pointer-events:none;background:#07121feb;border-radius:14px;place-items:center;font-size:16px;font-weight:800;display:grid;position:absolute;inset:8px}.chat-thread-actions{justify-content:flex-end;gap:7px;min-height:36px;display:flex}.chat-address-book{z-index:3;border:1px solid var(--border);background:#0b1725;border-radius:12px;max-height:calc(100% - 16px);padding:10px;position:absolute;inset:8px 8px auto;overflow-y:auto;box-shadow:0 18px 55px #0000008c}.chat-address-book header{justify-content:space-between;align-items:center;gap:10px;padding:4px 5px 10px;display:flex}.chat-address-book>button{width:100%;min-height:52px;color:var(--text);text-align:left;background:0 0;justify-content:flex-start;gap:10px;padding:8px;display:flex}.chat-address-book>button:hover{background:var(--panel-soft)}.chat-address-book>button span:last-child{gap:3px;display:grid}.chat-address-book small{color:var(--muted);font-weight:400}.presence-dot{background:#6c7e90;border-radius:50%;flex:0 0 9px;width:9px;height:9px}.presence-dot.available{background:#42d3b2}.chat-layout{gap:10px;display:grid}.chat-toolbar{grid-template-columns:1fr 1fr auto;gap:6px;margin-top:10px;display:grid}.chat-group-builder{border:1px solid var(--border);border-radius:10px;gap:7px;max-height:220px;padding:10px;display:grid;overflow-y:auto}.chat-group-builder label{align-items:center;gap:8px;display:flex}.chat-messages{align-content:start;gap:8px;min-height:0;max-height:none;margin:4px 0 10px;padding:8px;display:grid;overflow-y:auto}.chat-messages article{background:var(--panel-soft);border-radius:11px;max-width:88%;padding:9px 11px}.chat-messages article.own{background:#123b31;justify-self:end}.chat-messages p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}.chat-messages p a{color:#6edbd0;overflow-wrap:anywhere;text-decoration:underline}.chat-messages small{color:var(--muted)}.chat-compose{grid-template-columns:42px minmax(0,1fr) auto;gap:8px;display:grid}.file-button{border:1px solid var(--border);background:var(--panel-soft);width:42px;min-height:42px;color:var(--text);cursor:pointer;border-radius:10px;place-items:center;display:grid}.file-button input{display:none}.file-button:has(input:disabled){cursor:not-allowed;opacity:.45}.received-file a{color:var(--primary)}.file-status{margin:4px 0;font-size:11px}.line-test-result{gap:4px;display:grid}.line-test-result small{overflow-wrap:anywhere;max-width:260px}.good-text{color:#8ce5d0}.line-actions{grid-template-columns:repeat(2,minmax(0,1fr));min-width:180px}.line-actions details,.line-actions>button{width:100%}.line-actions .danger-link{grid-column:1/-1}.telephony-lines-table{width:100%;overflow-x:visible}.telephony-lines-table table{table-layout:fixed}.telephony-lines-table th:first-child{width:10%}.telephony-lines-table th:nth-child(2){width:13%}.telephony-lines-table th:nth-child(3){width:17%}.telephony-lines-table th:nth-child(4){width:27%}.telephony-lines-table th:nth-child(5){width:15%}.telephony-lines-table th:nth-child(6){width:18%}.telephony-lines-table td{overflow-wrap:anywhere}.corporate-email{color:var(--accent);font-size:.86rem}.mailbox-controls{min-width:300px}.secret-output{color:#8ef0d2;overflow-wrap:anywhere;background:#06131f;border-radius:8px;padding:9px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}@media (max-width:640px){.topbar{padding:12px 16px}.top-actions{gap:5px}.add-company-button span,.user-chip>div,.logout-label{display:none}.add-company-button{width:36px;padding:0}.language-select{justify-content:center;width:36px;padding:0;position:relative}.language-select select{opacity:0;width:100%;max-width:none;position:absolute;inset:0}.logout-button{width:36px;padding:0}.settings-button,.security-events-button,.log-button{flex:0 0 36px}.managers-button{color:#0000;width:36px;padding:0;overflow:hidden}.managers-button:before{content:"M";color:var(--text)}.content{width:min(100% - 24px,1180px);margin-top:22px}.company-map-dashboard{height:calc(100vh - 150px);margin-top:-22px}.company-map-menu{top:10px;left:10px}.company-map-menu.open{width:min(280px,100vw - 76px)}.modal-backdrop{padding:10px}.modal-card{max-height:calc(100vh - 20px)}.settings-modal{overflow-x:auto}.profile-grid,.timeout-grid{grid-template-columns:1fr}.profile-grid .profile-wide{grid-column:auto}.webphone{height:auto;min-height:44px}.webphone-bar{grid-template-columns:10px 88px minmax(70px,1fr) 36px 48px;gap:5px;height:auto}.phone-presence-button{padding:0 6px}.phone-presence-button>span:nth-child(2){display:none}.topbar-phone .dialer{grid-template-columns:1fr;overflow-y:auto}.dialer-controls,.call-history{height:auto;min-height:0;overflow:visible}.call-history-list{max-height:300px}.chat{bottom:12px;right:16px}.chat-toolbar{grid-template-columns:1fr}.login-language{top:12px;right:12px}.login-panel{margin-top:76px}.topbar{flex-wrap:wrap}.topbar-left{justify-content:space-between;gap:8px;width:100%}.topbar-chat-button{flex:1;min-width:0}.topbar-phone{order:3;width:100%;position:relative;top:auto;left:auto;transform:none}.top-actions{justify-content:flex-end;width:100%}.chat-app{grid-template-columns:118px minmax(0,1fr)}.chat-conversations>button{padding:7px}.chat-modal{height:calc(100vh - 20px)}.telephony-lines-table{overflow-x:auto}.telephony-lines-table table{table-layout:auto;min-width:900px}.personal-workplace-grid,.manager-invite-grid,.dashboard-user-filters{grid-template-columns:1fr}.monitoring-summary .dashboard-user-filters{grid-template-columns:1fr;width:100%}.dashboard-heading{flex-direction:column;align-items:stretch}}
