/* Specialized call-flow and protected-access layouts retained. */
.path-builder{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:22px;align-items:start}.path-palette{border:1px solid var(--border);border-radius:14px;padding:18px;background:#fff;position:sticky;top:94px}.path-palette h3{margin:0 0 10px;font-size:15px}.path-palette p{font-size:12px;line-height:1.6;color:var(--ink-muted)}#path-types{display:grid;gap:8px}#path-types>button{display:flex;gap:11px;text-align:left;border:1px solid var(--border-strong);background:#fff;border-radius:9px;padding:12px;cursor:pointer}#path-types>button[aria-pressed=true]{border-color:#0868ed;background:#edf4ff}#path-types strong{font-size:12px;display:block;color:var(--ink-strong)}#path-types small{font-size:10px;display:block;margin-top:4px;color:var(--ink-muted)}.path-type-icon{color:#0868ed;width:20px;flex-shrink:0}.path-type-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}#flow-inspector{border-top:1px solid var(--border);margin-top:16px;padding-top:16px;display:grid;gap:12px}#flow-inspector:empty{display:none}#flow-inspector label{display:grid;gap:8px;font-size:12px;font-weight:600}.path-canvas{padding:22px;background:radial-gradient(#c9daef 1px,transparent 1px) 0 0/18px 18px,#f1f6fd;border:1px solid var(--border);border-radius:14px;min-height:330px}.path-entry{display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);gap:10px;align-items:center}.path-arrow{text-align:center;color:#0868ed;font-size:23px}.path-block{padding:18px 20px;border:1px solid var(--border-strong);border-radius:12px;background:#fff;text-align:left;display:grid;gap:8px;min-width:0;width:100%;box-shadow:0 3px 10px #183b7010;color:var(--ink-strong)}.path-block small{font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.1em;color:#667d9a}.path-block strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.path-block span{font-size:11px;color:var(--ink-muted);line-height:1.5}.path-block.time{background:#fff8df;border-color:#ecd17a}.path-block.mail{background:#e9f6f1;border-color:#a9d8c8}.path-block.selected{outline:2px solid #74aafa;outline-offset:2px}.path-drop{margin:12px 0;padding:17px;border:2px dashed #c6d7eb;border-radius:10px;background:#ffffffc9;display:grid;gap:5px;text-align:center;color:#0868ed;font-weight:700;font-size:12px;width:100%;cursor:pointer}.path-drop small{font-weight:400;color:var(--ink-muted);font-size:10px}.path-drop.accepting{border-color:#0868ed;background:#e7f1ff}.path-row{display:grid;grid-template-columns:76px minmax(0,1.4fr) minmax(130px,1fr);gap:15px;align-items:center;margin-top:16px}.path-branch-label{font-size:10px;letter-spacing:.07em;text-transform:uppercase;font-weight:750;color:#647995}.path-branch-label small{display:block;font-size:9px;letter-spacing:0;margin-top:5px}.path-row.dormant .path-block{background:#f8faff}.path-row .path-drop{margin:0;min-height:90px}#path-summary{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 16px;font-size:12px}#path-summary>span:last-child{color:var(--ink-muted)}.flow-toolbar{grid-template-columns:1.3fr 1fr 1fr;margin-bottom:24px}.flow-toolbar label{font-size:12px}.form-error:not(:empty){padding:16px;border:1px solid #e3a5b3;background:#fff1f4;color:#942c43;border-radius:10px;margin-top:16px}#flow-workspace .routing-lower{margin-top:24px}#flow-workspace{margin-top:20px}
/* Admin access uses the shared console cards and controls. */
.admin-access-summary{display:flex;align-items:end;gap:20px;flex-wrap:wrap;margin-bottom:16px}
.admin-access-summary>div{min-width:190px;flex:1}
.admin-access-summary strong{display:block;font-size:20px;overflow-wrap:anywhere;margin-top:6px}
.admin-access-summary label{min-width:250px;flex:1}
.admin-access-card .actions{margin:20px 0}
.admin-access-card details{margin-top:24px;padding-top:16px;border-top:1px solid var(--line,#d9e4ed)}
.admin-access-card summary{cursor:pointer;font-weight:600}
.admin-access-events{padding-left:20px;line-height:1.9}
@media(max-width:700px){.admin-access-summary{display:grid;grid-template-columns:minmax(0,1fr)}.admin-access-summary label{min-width:0}.admin-access-card .card-head{flex-wrap:wrap}}

.admin-access-card .sub{font-size:12px;line-height:1.6}.admin-access-card .table strong{font-size:13px}.admin-access-card .eyebrow{font-size:10px;font-weight:750;letter-spacing:.12em;color:#0868ed}
@media(max-width:700px){.admin-access-card .table-wrap{overflow:visible}.admin-access-card .table thead{display:none}.admin-access-card .table,.admin-access-card .table tbody,.admin-access-card .table tr{display:block}.admin-access-card .table tr{padding:12px 0;border-bottom:1px solid var(--border)}.admin-access-card .table td{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;border:0;overflow-wrap:anywhere}.admin-access-card .table td:before{font-size:11px;color:var(--ink-muted);flex-shrink:0}.admin-access-card .table td:nth-child(1):before{content:'Address / network'}.admin-access-card .table td:nth-child(2):before{content:'Label'}.admin-access-card .table td:nth-child(3){justify-content:flex-end}}

/* r26: actual Hybrid console hierarchy and final customer-console brand tokens. */
:root {
 --canvas:#f6f9fd;--surface:#fff;--surface-subtle:#f0f5fc;--surface-strong:#e7effa;
 --ink-strong:#081735;--ink:#263b55;--ink-muted:#64718a;--border:#dce6f2;--border-strong:#c7d5e8;--line:var(--border);
 --action:#0965d9;--action-hover:#0357d7;--primary:#0877ff;--info-soft:#eaf3ff;
 --success:#16785a;--success-soft:#eaf6f1;--warning:#8b650c;--warning-soft:#fff7df;--danger:#a9362d;--danger-soft:#fff1ef;
 --shadow-sm:0 4px 18px rgba(12,40,80,.045);--shadow-md:0 14px 40px rgba(11,31,47,.13);
 --font-console:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,"DejaVu Sans",sans-serif;
}
html,body {font-family:var(--font-console);background:var(--canvas);color:var(--ink)}
body {font-size:14px;line-height:1.5}button,input,select,textarea {font-family:inherit}button {color:inherit}
.main,.content {background:var(--canvas)}
.app {grid-template-columns:240px minmax(0,1fr)}
.sidebar {background:linear-gradient(180deg,#031022,#061d3f);height:100dvh;color:#bbcae0;border-right:1px solid #17304e;z-index:40}
.sidebar .brand {width:calc(100% - 32px);min-height:76px;margin:0 16px;padding:15px 4px;border-bottom:1px solid #203754;flex-shrink:0;gap:12px}
.brand-mark {width:33px;height:32px}.brand-mark i {background:linear-gradient(#19bdd6,#0877ff)}
.brand strong {font-size:17px;letter-spacing:.13em;color:#fff}.brand span {font-size:9px;color:#39a9ff}
.workspace-identity {display:grid;gap:5px;margin:12px 12px 6px;padding:12px;border:1px solid #233c58;border-radius:11px;background:#0a1b2e;flex-shrink:0}
.workspace-identity strong {color:#f0f5fc;font-size:12px;overflow-wrap:anywhere;line-height:1.45}
.workspace-caption {font-size:8px;letter-spacing:.12em;color:#6e91b9;font-weight:700}
.workspace-identity small {font-size:10px;color:#9cb3cf;overflow-wrap:anywhere}
.nav {padding:5px 10px 14px;scrollbar-width:thin;scrollbar-color:#345074 transparent;overscroll-behavior:contain}
.nav button {display:grid;grid-template-columns:20px minmax(0,1fr);gap:11px;min-height:39px;padding:8px 11px;color:#bbcae0;border-radius:8px;font-size:12px;font-weight:600;line-height:1.4}
.nav button span {color:inherit}.nav button svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nav button:hover {background:#102d4e;color:#fff}
.nav button.active {background:linear-gradient(110deg,#0b2d55,#0a213d);color:#fff;box-shadow:inset 3px 0 #00a8ff}
.nav button.active svg {color:#4bb9ff}
.nav-label {margin:12px 0 5px;padding:9px 10px 4px;color:#829bb9;font-size:9px;line-height:1.4;font-weight:700;letter-spacing:.12em}
.hx-nav-search {padding:6px 2px 9px}.hx-nav-search input.control {min-height:35px;padding:7px 10px;color:#d7e7f9;background:#0b223c;border:1px solid #294361;font-size:11px;border-radius:8px;width:100%}
.hx-nav-search input::placeholder {color:#8ba3c2}
.hx-nav-group {border-top:1px solid #1a324f;margin-top:8px;padding-top:2px}
.hx-nav-group summary.nav-label {display:flex;align-items:center;justify-content:space-between;margin-top:2px;cursor:pointer;list-style:none;padding-block:10px 8px}
.hx-nav-group summary::-webkit-details-marker {display:none}
.hx-nav-group summary:after {content:'›';font-size:15px;line-height:1;transform:rotate(90deg);color:#9bb1ce}
.hx-nav-group[open] summary:after {transform:rotate(-90deg)}
.hx-nav-items {display:grid;gap:2px}.hx-nav-empty {padding:12px;color:#b5c8e0;font-size:12px}
.sidebar-foot {padding:10px 16px 14px;border-top:1px solid #203754;flex-shrink:0}
.sidebar-collapse {width:100%;background:none;border:0;color:#a6bfdd;padding:7px 0;text-align:left;font-size:11px;cursor:pointer}
.console-label {font-size:10px;color:#a6bfdd}.sidebar-foot p {font-size:9px;color:#6f90b7;margin-top:4px}
.topbar {min-height:72px;padding:12px 28px;gap:16px;background:var(--canvas);border-bottom:1px solid var(--border);backdrop-filter:none;z-index:30}
.top-title {min-width:150px}.top-title span {font-size:8px;font-weight:700;letter-spacing:.16em;color:var(--ink-muted);margin:0 0 3px}.top-title strong {font-size:14px;color:var(--ink-strong)}
.tenant-select {flex:1;max-width:420px;min-width:150px;padding:4px 12px;background:var(--surface);border:1px solid var(--border-strong);border-radius:10px}
.tenant-select label {font-size:9px;font-weight:700;color:var(--ink-muted);letter-spacing:.08em}.tenant-select select {min-height:38px;font-size:12px;color:var(--ink-strong);background:transparent;font-weight:600}
.avatar {width:34px;height:34px;border-radius:50%;background:#0877ff;font-size:10px}.user-chip {gap:9px}.user-chip strong {font-size:11px;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-chip span {font-size:10px}
.content {width:min(100%,1680px);padding:24px 28px 56px;margin:0 auto}
.page-head {min-height:0;align-items:flex-start;gap:20px;margin-bottom:24px}
.page-head>div:first-child {min-width:0}.page-head h1 {font-size:28px;line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere}.page-head p {max-width:710px;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.section-kicker {font-size:9px;letter-spacing:.14em;color:var(--action);margin-bottom:7px}
.page-head .actions {padding-top:5px}.actions,.row-actions {gap:8px}
.button {min-height:40px;padding:9px 13px;font-size:12px;line-height:1.4;font-weight:650;border-radius:9px;background:var(--surface);color:var(--ink-strong);border-color:var(--border-strong);box-shadow:none;text-decoration:none}
.button:hover {background:var(--surface-subtle);border-color:#85b4ed}.button.primary {background:linear-gradient(135deg,#0877ff,#0357d7);color:#fff;border-color:#0877ff;box-shadow:0 4px 12px #0877ff12}.button.primary:hover {background:#0357d7;border-color:#0357d7}
.button.small {min-height:33px;padding:6px 10px;font-size:11px}.button.danger {color:var(--danger);background:var(--danger-soft);border-color:#e8bdb8}
button:disabled {opacity:.5;cursor:not-allowed;box-shadow:none}
.grid {gap:18px}.grid>.card {margin-bottom:0}.card,.module,.department-card,.route-flow-card {background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-sm)}
.card-head,.module-head {padding:20px 22px;gap:16px;flex-wrap:wrap;border-color:var(--border)}.card-head h2,.module-head h2 {font-size:16px;letter-spacing:-.015em}.card-head p,.module-head p {font-size:12px;line-height:1.6}.card-body,.module-body {padding:22px}
.table-wrap {max-width:100%;overflow:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.table th {padding:12px 16px;font-size:10px;letter-spacing:.07em;font-weight:700;color:var(--ink-muted);background:var(--surface-subtle);border-color:var(--border)}
.table td {padding:16px;font-size:12px;line-height:1.5;border-color:var(--border)}.table strong {font-size:12px;font-weight:650}.table tbody tr:hover {background:var(--surface-subtle)}.table td>.button+.button {margin-left:6px}.table td .button {margin-block:2px}
.sub,.table .sub {font-size:11px;line-height:1.5;color:var(--ink-muted);margin-top:4px}
.badge {font-size:10px;font-weight:650;line-height:1.5;padding:4px 8px;background:var(--surface-strong);color:var(--ink-muted)}
.badge.success {background:var(--success-soft);color:var(--success)}.badge.warning {background:var(--warning-soft);color:var(--warning)}.badge.danger {background:var(--danger-soft);color:var(--danger)}
.control {min-height:42px;border-radius:9px;padding:10px 12px;background:var(--surface);color:var(--ink-strong);border-color:var(--border-strong);font-size:13px;max-width:100%;min-width:0}
select.control {appearance:auto}.control::placeholder {color:var(--ink-muted);opacity:.85}.field {min-width:0;gap:7px}.field label {color:var(--ink-strong);font-size:12px}.help {font-size:11px;color:var(--ink-muted);line-height:1.6}.form {gap:18px}.form input[type=checkbox] {width:18px;height:18px;accent-color:#0877ff}
.searchbar {background:var(--surface);border-color:var(--border-strong);max-width:100%;min-width:210px}.searchbar input {font-size:12px;color:var(--ink);background:transparent}
.notice {font-size:12px;line-height:1.6}.health-item {background:var(--surface-subtle);border-color:var(--border);padding:12px 14px}.health-item strong,.health-item b,.health-item span {font-size:12px}
.empty {padding:36px 22px}.empty h3 {font-size:16px;margin-top:14px}.empty p {font-size:12px;line-height:1.6;max-width:56ch}.empty-icon {width:44px;height:44px;border-radius:12px;background:var(--info-soft);color:#0877ff;font-size:22px}
.stat {padding:22px;min-height:135px}.stat-value {font-size:30px;margin-top:12px}.stat-label {font-size:12px}.stat-icon {background:var(--info-soft)}
.dialog {max-height:calc(100dvh - 48px);border:1px solid var(--border);border-radius:16px;background:var(--surface)}.dialog-head {position:sticky;top:0;z-index:2;background:var(--surface);padding:22px 24px}.dialog-head h2 {font-size:21px}.dialog-head p {font-size:12px;line-height:1.6}.dialog-foot {padding:18px 24px;background:var(--surface-subtle)}.close {flex-shrink:0;width:34px;height:34px;font-size:22px;background:var(--surface-subtle);color:var(--ink-muted)}
.toast {max-width:min(480px,calc(100vw - 32px));right:24px;bottom:24px;z-index:120;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.preferences-nav button {font-size:12px;min-height:40px;padding:12px 14px}.preferences-nav button.active {background:var(--info-soft);border-color:#b1d0f7;color:var(--action)}.workspace-save {z-index:10;background:var(--surface)}
.publication-banner {font-size:12px;padding:14px 18px;margin-bottom:20px}.publication-banner span {font-size:12px}
.setup-step h3 {font-size:15px}.setup-step p {font-size:12px}.step-number {background:var(--info-soft);color:var(--action)}
.department-note,.department-card-head p,.member-chip {font-size:11px}.department-fact span,.topology-fact span {font-size:10px}.department-fact strong,.topology-fact strong,.feature-row strong {font-size:12px}.feature-row span,.route-flow-foot span {font-size:11px}
.topology-hero {background:linear-gradient(115deg,#04172c,#0b3971)}.topology-hero p,.route-flow-head p {font-size:12px}.route-flow-foot strong,.flow-node strong {font-size:12px}.flow-node small,.flow-branch-label,.flow-fallback button small {font-size:11px}
.skip-link {position:fixed;left:12px;top:12px;z-index:200;padding:12px 18px;background:var(--surface);color:var(--ink-strong);border:2px solid #0877ff;border-radius:8px;transform:translateY(-180%)}.skip-link:focus {transform:translateY(0)}
.content:focus {outline:none}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.table-wrap:focus-visible {outline:2px solid #529ef9;outline-offset:3px}.tenant-select:focus-within,.searchbar:focus-within {outline:2px solid #529ef9;outline-offset:2px}.nav button:focus-visible,.brand:focus-visible,.sidebar-collapse:focus-visible {outline-offset:-2px}

/* Hybrid overview: strong command header, compact KPI cards, useful workflows. */
.hx-hero {display:flex;align-items:center;justify-content:space-between;gap:28px;padding:27px 30px;margin-bottom:22px;border:1px solid #173f6f;border-radius:18px;background:radial-gradient(ellipse at 80% 0,rgba(8,119,255,.3),transparent 60%),linear-gradient(120deg,#031022,#06264f 72%,#061d3f);color:#fff;box-shadow:0 10px 24px #03102212}
.hx-hero>div:first-child {min-width:0;max-width:680px}.hx-hero .section-kicker,.hx-hero .hx-kicker {display:block;color:#82dcff;font-size:9px;font-weight:700;letter-spacing:.16em;margin-bottom:10px}
.hx-hero h1,.hx-hero h2 {font-size:30px;line-height:1.2;font-weight:700;letter-spacing:-.035em;margin:0 0 9px;color:#fff;overflow-wrap:anywhere}
.hx-hero p {margin:0;color:#c3d6ee;font-size:13px;line-height:1.6;max-width:65ch}
.hx-hero .actions,.hx-hero-actions {display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:wrap;flex-shrink:0}
.hx-hero .button:not(.primary) {background:#ffffff09;color:#e4efff;border-color:#8baed644}.hx-hero .button:not(.primary):hover {background:#ffffff14;border-color:#75b2ff}
.hx-section {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 10px}.hx-section h2,.hx-section h3,.hx-section strong {margin:0;font-size:12px;color:var(--ink-strong);font-weight:650}.hx-section p,.hx-section>span,.hx-section small {margin:0;font-size:11px;color:var(--ink-muted)}
.hx-kpis {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:20px}
.hx-kpi {display:flex;align-items:center;gap:15px;min-width:0;padding:22px 20px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-sm)}
.hx-kpi-icon {width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:13px;background:#eaf3ff;color:#0877ff}
.hx-kpi-icon svg {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.hx-kpi:nth-child(2) .hx-kpi-icon {background:#eaf6f1;color:#15805b}.hx-kpi:nth-child(3) .hx-kpi-icon {background:#fff2f0;color:#bf473b}.hx-kpi:nth-child(4) .hx-kpi-icon {background:#f0ebff;color:#8155d5}
.hx-kpi-label {display:block;font-size:12px;font-weight:600;color:var(--ink)}.hx-kpi-value {display:block;font-size:29px;font-weight:700;line-height:1.25;letter-spacing:-.035em;color:var(--ink-strong);margin:4px 0}.hx-kpi small,.hx-kpi-note {display:block;color:var(--ink-muted);font-size:11px;line-height:1.5}
.hx-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:stretch;margin-bottom:20px}
.hx-panel {min-width:0;border:1px solid var(--border);border-radius:15px;background:var(--surface);box-shadow:var(--shadow-sm);overflow:hidden}
.hx-panel>.card-head,.hx-panel-head {padding:20px 22px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:16px}
.hx-panel h2 {font-size:17px;letter-spacing:-.02em;color:var(--ink-strong);margin:0}.hx-panel h3 {font-size:14px;margin:0;color:var(--ink-strong)}.hx-panel p {font-size:12px;line-height:1.6;color:var(--ink-muted)}
.hx-panel-head p {margin:4px 0 0}.hx-panel-body {padding:22px}.hx-panel .office-row {padding:16px 0}.hx-panel .office-row:first-child {padding-top:0}.hx-panel .office-row:last-child {border-bottom:0;padding-bottom:0}
.hx-panel .office-row span {font-size:12px}.hx-shortcuts {display:grid;gap:0}.hx-shortcuts>button,.hx-shortcuts>a {display:flex;width:100%;align-items:center;gap:13px;padding:16px 20px;text-align:left;background:none;border:0;border-bottom:1px solid var(--border);color:var(--ink);text-decoration:none;font-size:13px}
.hx-shortcuts>:last-child {border-bottom:0}.hx-shortcuts>button:hover,.hx-shortcuts>a:hover {background:var(--surface-subtle)}.hx-shortcuts svg {width:21px;height:21px;color:#0877ff;stroke:currentColor;stroke-width:1.7;fill:none;flex:0 0 21px}.hx-shortcuts strong {display:block;font-size:12px;color:var(--ink-strong)}.hx-shortcuts small,.hx-shortcuts span.sub {display:block;margin-top:3px;font-size:11px;color:var(--ink-muted)}
.hx-health {display:grid;gap:0;padding:4px 20px}.hx-health>div {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-bottom:1px solid var(--border);font-size:12px}.hx-health>div:last-child {border-bottom:0}.hx-health span {color:var(--ink-muted)}.hx-health strong {color:var(--ink-strong);font-size:12px;text-align:right}
.hx-customer-card {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid var(--border)}.hx-customer-card:last-child {border-bottom:0}.hx-customer-card>div {min-width:0}.hx-customer-card h3,.hx-customer-card strong {font-size:13px;color:var(--ink-strong)}.hx-customer-card p,.hx-customer-card small {margin:3px 0 0;color:var(--ink-muted);font-size:11px;overflow-wrap:anywhere}

/* People matches the Hybrid avatar, aligned status, and Manage/More pattern. */
.hx-team-panel {overflow:visible}.hx-team-panel .card-head {border-bottom:1px solid var(--border)}.hx-team-total {font-size:12px;color:var(--ink-muted);font-weight:500}
.hx-team-toolbar {display:flex;align-items:end;justify-content:space-between;gap:18px;padding:18px 22px;border-bottom:1px solid var(--border)}.hx-team-toolbar label {display:grid;gap:7px;font-size:11px;font-weight:600;color:var(--ink-muted)}.hx-team-toolbar label:first-child {flex:1;max-width:400px}.hx-team-toolbar .control {width:100%}
.hx-person {display:flex;align-items:center;gap:11px;min-width:140px}.hx-person-avatar,.hx-avatar {display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border-radius:50%;background:var(--info-soft);color:#1764c8;font-weight:600;font-size:12px}.hx-person strong {display:block;font-size:13px}.hx-person small {display:block;font-size:11px;color:var(--ink-muted);margin-top:3px}
.hx-extension {display:inline-flex;padding:4px 8px;border:1px solid var(--border);border-radius:6px;background:var(--surface-subtle);font-size:12px;font-weight:600;color:var(--ink-strong);font-variant-numeric:tabular-nums}
.hx-team-table td {padding:16px 20px;vertical-align:middle}.hx-team-table th {padding:12px 20px}.hx-call-treatment {font-size:12px;color:var(--ink-muted)}.hx-call-treatment strong {color:var(--ink-strong)}.hx-phone-status {white-space:nowrap}
.hx-row-actions {display:flex;align-items:start;justify-content:flex-end;gap:7px}.hx-row-actions .button {margin:0!important}.hx-more {position:relative;min-width:62px}.hx-more summary {list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.hx-more summary::-webkit-details-marker {display:none}.hx-more summary:after {content:'⌄';font-size:13px}.hx-more[open] summary:after {content:'⌃'}
.hx-more-menu {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px;margin-top:8px;background:var(--surface-subtle);border:1px solid var(--border);border-radius:9px;min-width:250px}.hx-more-menu .button {white-space:normal;font-size:11px;padding:7px;min-height:34px}.hx-more-menu .button.danger {grid-column:1/-1}
.hx-pagination {display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;border-top:1px solid var(--border);font-size:12px;color:var(--ink-muted)}.hx-pagination .actions {display:flex;width:auto}

/* Theme maps all inherited workspaces into the same Hybrid surface family. */
.dark-theme {color-scheme:dark;--canvas:#031022;--surface:#0a1b33;--surface-subtle:#102540;--surface-strong:#17324f;--ink-strong:#edf5ff;--ink:#ccddf1;--ink-muted:#9aaec7;--border:#233e5e;--border-strong:#375778;--line:var(--border);--action:#70b5ff;--info-soft:#102f57;--success:#5dd5a4;--success-soft:#103f34;--warning:#edc979;--warning-soft:#44371d;--danger:#ffaca4;--danger-soft:#452627;--shadow-sm:0 4px 18px rgba(0,0,0,.1);background:var(--canvas);color:var(--ink)}
.dark-theme .main,.dark-theme .content {background:var(--canvas)}
.dark-theme .nav button {color:#bbcae0}.dark-theme .nav button.active,.dark-theme .nav button:hover {color:#fff}.dark-theme .nav-label,.dark-theme .sidebar-foot {color:#829bb9}
.dark-theme .card,.dark-theme .module,.dark-theme .dialog,.dark-theme .dialog-head,.dark-theme .topbar,.dark-theme .form-panel,.dark-theme .department-card,.dark-theme .route-flow-card,.dark-theme .workspace-save {background:var(--surface);color:var(--ink);border-color:var(--border)}
.dark-theme h1,.dark-theme h2,.dark-theme h3,.dark-theme strong,.dark-theme label {color:var(--ink-strong)}.dark-theme p,.dark-theme .sub,.dark-theme .help,.dark-theme .office-row span,.dark-theme .workspace-save span {color:var(--ink-muted)}
.dark-theme .control,.dark-theme .table th,.dark-theme .button:not(.primary):not(.danger),.dark-theme .searchbar,.dark-theme .tenant-select,.dark-theme .tenant-select select,.dark-theme .close {background:var(--surface-subtle);color:var(--ink);border-color:var(--border-strong)}
.dark-theme .table td,.dark-theme .card-head,.dark-theme .module-head,.dark-theme .dialog-head,.dark-theme .dialog-foot {border-color:var(--border)}
.dark-theme .health-item,.dark-theme .department-fact,.dark-theme .feature-row,.dark-theme .segmented,.dark-theme .dialog-foot,.dark-theme .route-flow-foot {background:var(--surface-subtle);border-color:var(--border)}
.dark-theme .segmented button,.dark-theme .preferences-nav button {color:var(--ink-muted)}.dark-theme .segmented button.active {background:var(--surface);color:var(--ink-strong)}.dark-theme .preferences-nav button.active {background:var(--info-soft);color:var(--action);border-color:var(--border-strong)}
.dark-theme .badge {background:var(--surface-strong);color:var(--ink-muted)}.dark-theme .badge.success {background:var(--success-soft);color:var(--success)}.dark-theme .badge.warning {background:var(--warning-soft);color:var(--warning)}.dark-theme .badge.danger,.dark-theme .button.danger {background:var(--danger-soft);color:var(--danger);border-color:#795051}
.dark-theme .department-note,.dark-theme .notice,.dark-theme .member-chip {background:#102f47;color:#bdd8ed;border-color:#315470}.dark-theme .notice.warning {background:var(--warning-soft);color:var(--warning);border-color:#806a39}
.dark-theme .flow-canvas {background:#071b32}.dark-theme .flow-branch,.dark-theme .flow-fallback {background:var(--surface-subtle);border-color:var(--border-strong)}.dark-theme .flow-branch.active {background:#103f34;border-color:#39785e}.dark-theme .flow-node {background:var(--surface);border-color:var(--border-strong)}
.dark-theme .mobile-menu {background:var(--surface-subtle);color:var(--ink)}.dark-theme .step-number,.dark-theme .stat-icon,.dark-theme .empty-icon {background:var(--info-soft);color:var(--action)}
.dark-theme .hx-hero h1,.dark-theme .hx-hero h2 {color:#fff}.dark-theme .hx-hero p {color:#c3d6ee}.dark-theme .hx-hero .button:not(.primary) {background:#ffffff09;color:#e4efff;border-color:#8baed644}.dark-theme .hx-kpi-icon {background:#102f57;color:#70b5ff}.dark-theme .hx-kpi:nth-child(2) .hx-kpi-icon {background:#103f34;color:#5dd5a4}.dark-theme .hx-kpi:nth-child(3) .hx-kpi-icon {background:#452627;color:#ffaca4}.dark-theme .hx-kpi:nth-child(4) .hx-kpi-icon {background:#30274a;color:#c6a9ff}
.dark-theme .hx-person-avatar,.dark-theme .hx-avatar {background:var(--info-soft);color:var(--action)}
.dark-theme .path-palette,.dark-theme #path-types>button,.dark-theme .path-block {background:var(--surface);color:var(--ink-strong)}.dark-theme .path-canvas {background:radial-gradient(#233e5e 1px,transparent 1px) 0 0/18px 18px,#071b32}.dark-theme .path-block.time {background:#343020;border-color:#77672b}.dark-theme .path-block.mail {background:#103f34;border-color:#39785e}.dark-theme .path-drop {background:var(--surface-subtle);border-color:var(--border-strong);color:var(--action)}.dark-theme #path-types>button[aria-pressed=true],.dark-theme .path-row.dormant .path-block {background:var(--surface-subtle)}.dark-theme .path-block small,.dark-theme .path-branch-label {color:var(--ink-muted)}.dark-theme .form-error:not(:empty) {background:var(--danger-soft);color:var(--danger)}
.dark-theme #tp-phones {--surface:#0a1b33;--surface-subtle:#102540;--ink:#ccddf1;--ink-muted:#9aaec7;--border:#233e5e;--border-strong:#375778;--action:#0965d9;--action-hover:#0357d7}
.dark-theme .feature-codes-workspace,.dark-theme .queue-agents-workspace,.dark-theme .registration-details-popover {--surface:#0a1b33;--surface-subtle:#102540;--ink:#ccddf1;--ink-strong:#edf5ff;--ink-muted:#9aaec7;--border:#233e5e;--border-strong:#375778;--action:#70b5ff}
.dark-theme .registration-details-trigger {background:var(--surface-subtle);color:var(--action);border-color:var(--border-strong)}

/* Collapsed and small-screen workspaces retain every navigation and action. */
.sidebar-collapsed .app {grid-template-columns:76px minmax(0,1fr)}.sidebar-collapsed .sidebar {width:76px}.sidebar-collapsed .main {margin-left:0}.sidebar-collapsed .sidebar .brand {width:calc(100% - 20px);margin-inline:10px;padding:16px 9px}.sidebar-collapsed .workspace-identity,.sidebar-collapsed .hx-nav-search,.sidebar-collapsed .hx-nav-group summary,.sidebar-collapsed .sidebar-foot {display:none}.sidebar-collapsed .nav button {display:flex;justify-content:center;padding:10px;font-size:0}.sidebar-collapsed .nav button span {display:none}.sidebar-collapsed .hx-nav-group {padding:0;margin:6px 0;border:0}.sidebar-collapsed .hx-nav-group:not([open]) .hx-nav-items {display:grid}
@media(max-width:1250px) {.top-title {display:none}.topbar {gap:12px;padding-inline:22px}.hx-hero {gap:20px}.hx-hero h1,.hx-hero h2 {font-size:27px}.hx-hero .actions {max-width:300px}.content {padding-inline:22px}.path-builder {grid-template-columns:minmax(0,1fr) 225px}.path-row {grid-template-columns:65px 1fr}.path-row>.path-drop {grid-column:2;min-height:50px}}
@media(max-width:1050px) {.user-chip>div:not(.avatar) {display:none}.hx-kpis {grid-template-columns:repeat(2,minmax(0,1fr))}.hx-grid {grid-template-columns:minmax(0,1fr)}.hx-hero {align-items:flex-start;flex-direction:column}.hx-hero .actions {max-width:none;justify-content:flex-start}.page-head {flex-wrap:wrap}.page-head .actions {justify-content:flex-start}.path-builder {grid-template-columns:1fr}.path-palette {position:static}.flow-toolbar {grid-template-columns:1fr}.path-entry {grid-template-columns:1fr}.path-arrow {transform:rotate(90deg)}}
@media(max-width:760px) {
 .app,.sidebar-collapsed .app {display:block}.sidebar,.sidebar-collapsed .sidebar {width:240px}.sidebar.open {box-shadow:16px 0 60px #03102266}.sidebar-collapsed .sidebar.open .workspace-identity {display:grid}.sidebar-collapsed .sidebar.open .hx-nav-search,.sidebar-collapsed .sidebar.open .sidebar-foot {display:block}.sidebar-collapsed .sidebar.open .hx-nav-group summary {display:flex}.sidebar-collapsed .sidebar.open .nav button {display:grid;grid-template-columns:20px minmax(0,1fr);font-size:12px;text-align:left}.sidebar-collapsed .sidebar.open .nav button span {display:inline}.sidebar-collapsed .sidebar.open .sidebar .brand {width:calc(100% - 32px);margin-inline:16px;padding:15px 4px}.sidebar-collapsed .sidebar.open .brand>div:last-child {display:block}
 .topbar {padding:10px 14px;gap:10px;flex-wrap:wrap;backdrop-filter:none}.tenant-select {flex:1 1 180px;max-width:calc(100% - 48px);min-width:0;margin-right:0}.tenant-select label {display:none}.topbar .user-chip {margin-left:auto}.topbar .avatar {display:none}.topbar #theme-toggle {margin-left:48px}.mobile-menu {width:38px;height:38px;background:var(--surface);color:var(--ink);border-color:var(--border-strong)}
 .content {padding:18px 16px 40px}.page-head {gap:14px;margin-bottom:18px}.page-head h1 {font-size:25px}.page-head .actions {padding-top:0}.card-head,.card-body,.module-head,.module-body {padding:18px}.table {min-width:700px}.table th,.table td {padding:13px 14px}.admin-access-card .table {min-width:0}
 .hx-hero {padding:23px 22px;border-radius:15px;gap:20px}.hx-hero h1,.hx-hero h2 {font-size:27px}.hx-hero .actions {width:100%}.hx-hero .actions .button {flex:1;white-space:normal}.hx-section {align-items:start}.hx-section small {text-align:right}.hx-kpis {gap:12px}.hx-kpi {padding:17px 14px;gap:11px;align-items:flex-start}.hx-kpi-icon {width:34px;height:34px;flex-basis:34px;border-radius:10px}.hx-kpi-icon svg {width:19px;height:19px}.hx-kpi-value {font-size:26px}.hx-kpi-label {font-size:11px}.hx-kpi-note,.hx-kpi small {font-size:10px}.hx-panel-body,.hx-panel-head {padding:18px}.hx-customer-card {padding:16px}.hx-health {padding-inline:18px}
 .hx-team-toolbar {padding:16px;flex-direction:column;align-items:stretch;gap:12px}.hx-team-toolbar label:first-child {max-width:none}.hx-team-table {min-width:0!important}.hx-team-table thead {display:none}.hx-team-table,.hx-team-table tbody,.hx-team-table tr,.hx-team-table td {display:block;width:100%}.hx-team-table tr {padding:16px;border-bottom:1px solid var(--border)}.hx-team-table td {padding:7px 0;border:0}.hx-team-table td[data-label]:not(:first-child) {display:flex;align-items:center;justify-content:space-between;gap:14px}.hx-team-table td[data-label]:not(:first-child):before {content:attr(data-label);font-size:11px;color:var(--ink-muted);flex-shrink:0}.hx-team-table td:last-child {padding-top:12px}.hx-row-actions {flex-wrap:wrap;flex:1}.hx-more[open] {flex-basis:100%;display:grid;justify-items:end}.hx-more-menu {width:100%;min-width:0}.hx-pagination {padding:16px;flex-wrap:wrap}.hx-pagination .actions {display:flex;width:auto;margin-left:auto}
 .dialog {max-height:calc(100dvh - 24px)}.modal {padding:12px}.dialog-head,.dialog-foot,.dialog .form {padding:18px}.toast {right:16px;bottom:16px}.path-canvas {padding:14px}.path-row {grid-template-columns:1fr}.path-row>.path-drop {grid-column:auto}.path-block {padding:16px}.publication-banner {flex-wrap:wrap}.directory-toolbar .searchbar {min-width:0}
}
@media(max-width:430px) {.hx-kpi {display:block}.hx-kpi-icon {margin-bottom:10px}.hx-kpi-value {margin-block:3px}.page-head>.actions {display:flex;align-items:stretch;width:100%}.page-head>.actions>.button {flex:1;white-space:normal}.hx-panel .office-row {align-items:flex-start;flex-direction:column}.hx-customer-card {align-items:flex-start;flex-wrap:wrap}.hx-customer-card>.button {margin-left:auto}}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after {scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Login shares the product identity; authentication logic is unchanged. */
.login-shell {grid-template-columns:1fr 1fr;min-height:100dvh;background:var(--surface)}.login-story {padding:48px clamp(30px,6vw,80px);background:radial-gradient(ellipse at 90% 0,rgba(8,119,255,.32),transparent 60%),linear-gradient(125deg,#031022,#06264f);color:#fff}.login-story .brand {padding:0;margin:0;border:0;width:auto}.login-story h1 {font-size:clamp(38px,4vw,58px);line-height:1.08;letter-spacing:-.045em;font-weight:700;max-width:600px}.login-story p {font-size:15px;line-height:1.75;max-width:440px;color:#bfd4ec}.login-story small {color:#8ba9cb;font-size:11px}.login-panel {background:var(--canvas);padding:36px}.login-box {max-width:390px}.login-box>.brand {margin:0 0 28px;padding:0;width:auto;border:0;justify-content:flex-start}.login-box>.brand span {color:var(--action)}.login-box h2 {font-size:30px;letter-spacing:-.035em;margin-bottom:8px}.login-box>p {font-size:13px;margin-bottom:28px}.login-form {gap:19px}.login-form .control {min-height:46px}.login-form .button {min-height:46px}.error-copy {font-size:12px;line-height:1.5}
@media(max-width:760px) {.login-shell {display:block}.login-story {display:none}.login-panel {min-height:100dvh;padding:28px}.login-box {width:100%;max-width:390px}}

/* Bind the shared overview components to the same Hybrid visual contract. */
.hx-eyebrow {display:block;font-size:9px;font-weight:700;letter-spacing:.13em;color:var(--ink-muted);margin-bottom:8px}
.hx-hero .hx-eyebrow {color:#82dcff;letter-spacing:.16em;margin-bottom:10px}
.hx-hero-actions {max-width:385px}.hx-freshness {flex-basis:100%;color:#a7c0df;text-align:right;font-size:10px;margin-top:4px}
.hx-kpi {text-align:left}.hx-kpi-copy {display:block;min-width:0;flex:1}.hx-kpi-copy>span {display:block;font-size:12px;font-weight:600;color:var(--ink)}.hx-kpi-copy>strong {display:block;font-size:29px;line-height:1.25;font-weight:700;letter-spacing:-.035em;color:var(--ink-strong);margin:5px 0}.hx-kpi-arrow {color:#9aabc2;font-size:18px;margin-left:auto}button.hx-kpi:hover {border-color:#94bff3;box-shadow:0 5px 18px #0877ff0d}
.hx-stack {display:grid;gap:20px;min-width:0}.hx-panel>.actions {padding:0 20px 18px;justify-content:flex-start}.hx-panel>.hx-note {margin:0;padding:3px 20px 18px;font-size:11px}
.hx-health {margin:0}.hx-health dt {color:var(--ink-muted)}.hx-health dd {margin:0;color:var(--ink-strong);font-weight:650;font-variant-numeric:tabular-nums}
.hx-shortcuts>button>b {margin-left:auto;font-size:17px;color:#9aabc2;font-weight:400}
.hx-customer-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:20px}
.hx-customer-card {width:100%;background:var(--surface);border:1px solid var(--border)!important;border-radius:11px;text-align:left;justify-content:flex-start;padding:16px;gap:12px}.hx-customer-card:hover {background:var(--surface-subtle);border-color:#8ab8f0!important}.hx-customer-card>span:nth-child(2) {min-width:0}.hx-customer-card strong,.hx-customer-card small {display:block;overflow-wrap:anywhere}.hx-customer-card>b {margin-left:auto;color:#9aabc2;font-size:18px;font-weight:400}.hx-customer-avatar {display:grid;place-items:center;width:39px;height:39px;flex:0 0 39px;border-radius:11px;background:var(--info-soft);color:#1764c8;font-size:12px;font-weight:650}
.hx-change {display:flex;align-items:center;gap:13px;padding:17px 22px;border-bottom:1px solid var(--border)}.hx-change:last-child {border-bottom:0}.hx-change>div {min-width:0;flex:1}.hx-change strong {display:block;font-size:12px}.hx-change small {display:block;font-size:11px;color:var(--ink-muted);margin-top:4px}.hx-change-mark {display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:var(--surface-subtle);color:var(--ink-muted)}.hx-change-mark svg {width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7}
.hx-office {margin:20px;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.hx-office-head {display:flex;align-items:center;justify-content:space-between;gap:14px}.hx-office-head h3 {font-size:19px;letter-spacing:-.02em;line-height:1.3}.hx-call-path {display:grid;grid-template-columns:minmax(0,1fr) 26px minmax(0,1fr);align-items:center;gap:10px;margin:18px 0}.hx-call-path>div {padding:14px;background:var(--surface-subtle);border:1px solid var(--border);border-radius:10px;min-width:0}.hx-call-path>div>span {display:block;color:var(--ink-muted);font-size:10px}.hx-call-path>div>strong {display:block;color:var(--ink-strong);font-size:12px;overflow-wrap:anywhere;margin:5px 0}.hx-call-path>div>small {display:block;color:var(--ink-muted);font-size:10px;line-height:1.5}.hx-call-path>span {font-size:22px;color:#9ab1ce;text-align:center}.hx-office footer {display:flex;align-items:center;justify-content:flex-end;gap:8px}.hx-config-state {display:flex;gap:12px;align-items:center;padding:18px 20px;font-size:11px;color:var(--ink-muted)}
.hx-team-panel>.card-body {padding:0}.hx-team-table {margin:0}.hx-more summary>span {display:none}.hx-pagination>div {display:flex;align-items:center;gap:8px}.hx-pagination>div>span {margin-right:6px;font-size:11px}
.dark-theme .hx-customer-avatar {color:var(--action)}
@media(max-width:1250px) {.hx-hero-actions {max-width:310px}.hx-customer-grid {grid-template-columns:1fr}}
@media(max-width:1050px) {.hx-hero-actions {max-width:none;justify-content:flex-start}.hx-freshness {text-align:left}.hx-customer-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px) {.hx-hero-actions {width:100%}.hx-hero-actions>.button {flex:1;white-space:normal}.hx-customer-grid {grid-template-columns:1fr;padding:16px}.hx-kpi-copy>strong {font-size:26px}.hx-office {margin:16px;padding:16px}.hx-call-path {grid-template-columns:1fr}.hx-call-path>span {transform:rotate(90deg);line-height:1}.hx-change {padding:16px;flex-wrap:wrap}.hx-pagination>div {flex-wrap:wrap}.hx-hero .hx-eyebrow {font-size:8px}}
.sr-only {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.hx-nav-search {display:block}.hx-nav-search input {display:block;width:100%;min-height:35px;padding:7px 10px;color:#d7e7f9;background:#0b223c;border:1px solid #294361;font-size:11px;border-radius:8px}
.hx-period {display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 2px 10px;font-size:11px;color:var(--ink-muted)}.hx-period>span:first-child {font-weight:650;color:var(--ink)}
@media(max-width:760px) {.hx-period {align-items:flex-start;font-size:10px}.hx-period>span:last-child {text-align:right}}
@media(max-width:760px) {
 .hx-team-panel .table-wrap {overflow:visible}
 .hx-team-table td[data-label]:not(:first-child) {display:grid;grid-template-columns:85px minmax(0,1fr);column-gap:12px;row-gap:4px;align-items:center;justify-content:normal}
 .hx-team-table td[data-label]:not(:first-child):before {grid-column:1;grid-row:1;color:var(--ink-muted)}
 .hx-team-table td[data-label]:not(:first-child)>* {grid-column:2;min-width:0;justify-self:end;max-width:100%;text-align:right}
 .hx-team-table td[data-label]:not(:first-child)>.sub {margin-top:0;font-size:10px}
 .hx-team-table td:last-child>.hx-row-actions {display:flex;gap:7px;width:100%;justify-content:flex-end}
 .hx-team-table .hx-more-menu {text-align:left}
}
.hx-wide-shortcuts {margin-top:20px}.hx-wide-shortcuts .hx-shortcuts {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px 4px}.hx-wide-shortcuts .hx-shortcuts>button {border-bottom:0;border-right:1px solid var(--border);align-items:flex-start;padding:15px 18px}.hx-wide-shortcuts .hx-shortcuts>button:last-child {border-right:0}.hx-wide-shortcuts .hx-shortcuts>button>b {display:none}
@media(max-width:1100px) {.hx-wide-shortcuts .hx-shortcuts {grid-template-columns:repeat(2,minmax(0,1fr))}.hx-wide-shortcuts .hx-shortcuts>button:nth-child(2) {border-right:0}.hx-wide-shortcuts .hx-shortcuts>button:nth-child(-n+2) {border-bottom:1px solid var(--border)}}
@media(max-width:760px) {.hx-team-table .table {display:block;min-width:0!important;width:100%}.hx-wide-shortcuts .hx-shortcuts {grid-template-columns:1fr;padding:0}.hx-wide-shortcuts .hx-shortcuts>button {border-right:0;border-bottom:1px solid var(--border);padding:16px 18px}.hx-wide-shortcuts .hx-shortcuts>button:last-child {border-bottom:0}}

/* Workspace selection belongs to the navigation it changes. Keep the native
   select and its existing event contract, with one visible workspace identity. */
.workspace-identity {gap:4px;padding:13px 12px}
.workspace-identity .workspace-caption {color:#8aa8cc;font-size:9px;letter-spacing:.1em;cursor:pointer}
.workspace-identity .tenant-select {display:block;flex:none;width:100%;min-width:0;max-width:none;margin:0;padding:0;background:transparent;border:0;border-radius:6px}
.workspace-identity .tenant-select select {display:block;width:100%;min-width:0;max-width:100%;min-height:36px;padding:5px 2px;color:#f0f5fc;background:transparent;border:0;border-radius:5px;font-size:13px;font-weight:650;cursor:pointer;color-scheme:dark}
.workspace-identity #workspace-domain {font-size:10px;line-height:1.5;color:#9cb3cf;margin:0 2px;overflow-wrap:anywhere}
.workspace-identity:focus-within {border-color:#529ef9;background:#10243c}
.workspace-identity .tenant-select:focus-within {outline-offset:2px}
.topbar .top-title {display:block;min-width:0;margin-right:auto}
.topbar #theme-toggle {margin-left:auto;flex-shrink:0}
.topbar .user-chip {flex-shrink:0}

/* Four summary cards and two half-width panels share the same vertical grid.
   Stretch each panel row without imposing fixed heights on growing content. */
.hx-grid>.hx-panel {height:100%}
.hx-grid>.hx-stack {align-self:stretch}
.hx-customer-card small {white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:760px) {
 .topbar {flex-wrap:nowrap}
 .topbar #theme-toggle {margin-left:auto}
 .topbar .top-title strong {font-size:12px}
 .topbar .top-title span {font-size:7px}
 .hx-kpis,.hx-grid {gap:16px;margin-bottom:16px}
}
@media(max-width:430px) {.topbar .top-title {display:none}}

/* Mobile invitation dialog: scoped layout, independent of extension forms. */
.mobile-invite-dialog{width:min(940px,100%);display:flex;flex-direction:column;overflow:hidden;max-height:calc(100dvh - 32px)}
.mobile-invite-dialog .dialog-head,.mobile-invite-dialog .dialog-foot{flex:0 0 auto;position:static;padding:16px 22px}
.mobile-invite-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:16px;padding:20px 22px;font-size:14px;line-height:1.5}
.mobile-invite-body>.full,.mobile-invite-details{grid-column:1/-1}
.mobile-invite-body p{margin:0;overflow-wrap:anywhere}
.mobile-invite-body [role=status]:empty{display:none}
.mobile-invite-body>.full:nth-child(2){padding:10px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle);font-weight:600}
.mobile-invite-details{display:grid;grid-template-columns:220px minmax(0,1fr);gap:16px 24px;padding:18px;border:1px solid var(--border);border-radius:12px}
.mobile-invite-dialog [hidden]{display:none!important}
.mobile-invite-status{grid-column:1/-1;font-weight:700;color:var(--ink-strong)}
.mobile-invite-qr{align-self:start;background:#fff;border-radius:8px;overflow:hidden}
.mobile-invite-qr img{display:block;width:220px;max-width:100%;height:auto;aspect-ratio:1;image-rendering:pixelated}
.mobile-invite-setup{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.mobile-invite-setup output{display:block;white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2;color:var(--ink-strong)}
.mobile-invite-setup .actions{justify-content:flex-start;gap:8px;flex-wrap:wrap}
.mobile-invite-setup .button{min-height:38px;padding:8px 11px;font-size:12px}
.mobile-invite-setup label{display:grid;gap:6px;font-size:12px;font-weight:600}
.mobile-invite-setup>button{align-self:flex-start}
.mobile-invite-setup .sub{font-size:11px;line-height:1.4}
.mobile-invite-history,.mobile-invite-devices{min-width:0;padding:14px;border:1px solid var(--border);border-radius:10px;font-size:12px}
.mobile-invite-history>p{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.mobile-invite-history>p:last-child{margin-bottom:0}
.mobile-invite-history button{flex-shrink:0}
.mobile-invite-devices h3{font-size:14px;margin:0 0 10px}
.mobile-invite-devices .card{margin-top:8px;padding:12px}
@media(max-width:640px){.mobile-invite-body{grid-template-columns:1fr;padding:16px;gap:12px}.mobile-invite-details{grid-template-columns:1fr;padding:14px;gap:14px}.mobile-invite-qr{justify-self:center}.mobile-invite-history,.mobile-invite-devices{grid-column:1/-1}.mobile-invite-dialog .dialog-head,.mobile-invite-dialog .dialog-foot{padding:14px 16px}.mobile-invite-dialog{max-height:calc(100dvh - 24px)}}
