/* The full console frame uses its own layout, independent of the legacy shell. */
:root { --xh-bg:#070911; --xh-paper:rgba(10,18,38,0.62); --xh-panel:rgba(11,20,42,0.56); --xh-ink:#f2f7ff; --xh-muted:#94add0; --xh-line:rgba(188,226,237,0.16); --xh-soft:rgba(188,226,237,0.08); --xh-accent:#64f4d4; --xh-blue:#5ad2f4; --xh-shadow:0 18px 44px rgba(2,5,16,0.50),inset 0 1px 0 rgba(255,255,255,0.08); }
:root[data-console-theme="dark"] { --xh-bg:#070911; --xh-paper:rgba(10,18,38,0.62); --xh-panel:rgba(11,20,42,0.56); --xh-ink:#f2f7ff; --xh-muted:#94add0; --xh-line:rgba(188,226,237,0.16); --xh-soft:rgba(188,226,237,0.08); --xh-accent:#64f4d4; --xh-blue:#5ad2f4; --xh-shadow:0 18px 44px rgba(2,5,16,0.50),inset 0 1px 0 rgba(255,255,255,0.08); }
body.console-view { background:radial-gradient(ellipse at 50% 53%,#14263842,transparent 46%),radial-gradient(ellipse at 62% 90%,#352a4c30,transparent 52%),var(--xh-bg); color:var(--xh-ink); }
body.console-view::before { display:none; }
:root[data-console-theme="dark"] body.console-view { background:radial-gradient(ellipse at 50% 53%,#14263842,transparent 46%),radial-gradient(ellipse at 62% 90%,#352a4c30,transparent 52%),var(--xh-bg); }
.xh-console { min-height:100vh; font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; color:var(--xh-ink); }
.xh-icon { display:block; height:18px; width:18px; flex:none; stroke-linecap:round; stroke-linejoin:round; }
.xh-glass { background:var(--xh-paper); border:1px solid var(--xh-line); box-shadow:var(--xh-shadow); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px); }
.xh-header { position:fixed; top:16px; left:16px; right:16px; height:56px; display:grid; grid-template-columns:1fr auto 1fr; align-items:start; gap:20px; z-index:35; pointer-events:none; }
.xh-header > * { pointer-events:auto; }
.xh-header-left,.xh-header-center,.xh-header-right { display:flex; align-items:center; height:56px; border-radius:30px; width:max-content; }
.xh-header-left { padding:6px 17px 6px 13px; gap:14px; }
.xh-brand { display:flex; align-items:center; gap:9px; color:var(--xh-ink); white-space:nowrap; font-size:18px; text-decoration:none; }
.xh-brand-icon { width:29px; height:29px; display:grid; place-items:center; border-radius:7px; background:linear-gradient(135deg,#4ef6dc,#5ad2f4); box-shadow:0 1px 8px rgba(78,246,220,0.3); color:#04121b; }
.xh-brand-icon .xh-icon { width:19px; height:19px; }
.xh-header-divider { height:25px; border-left:1px solid var(--xh-line); }
.xh-workspace { display:flex; align-items:center; gap:8px; text-decoration:none; color:#adc0de; }
.xh-workspace-icon { display:grid; place-items:center; width:26px; height:28px; border-radius:6px; color:#7efce2; background:rgba(100,244,212,0.14); border:1px solid rgba(100,244,212,0.28); }
.xh-workspace-icon .xh-icon { width:16px; height:16px; }
.xh-workspace b { display:block; font-size:13px; font-weight:500; color:#eef5ff; }
.xh-workspace small { display:block; margin-top:2px; color:var(--xh-muted); font-size:9px; white-space:nowrap; }
.xh-header-center { padding:7px; gap:1px; justify-self:center; }
.xh-header-center a { height:40px; padding:0 13px; display:flex; align-items:center; gap:7px; color:#9bb1cf; text-decoration:none; font-size:13px; border-radius:23px; white-space:nowrap; }
.xh-header-center a .xh-icon { width:16px; height:16px; }
.xh-header-center a.active { color:#ecfffb; background:linear-gradient(135deg,rgba(100,244,212,0.22),rgba(90,210,244,0.14)); border:1px solid rgba(100,244,212,0.38); }
.xh-header-center a:hover:not(.active) { background:var(--xh-soft); color:#eef5ff; }
.xh-header-right { justify-self:end; padding:6px 13px; gap:11px; }
.xh-header-icon,.xh-account-button { display:flex; align-items:center; justify-content:center; border:0; background:transparent; color:var(--xh-ink); padding:5px; cursor:pointer; min-height:31px; border-radius:20px; }
.xh-header-icon:hover,.xh-account-button:hover { background:var(--xh-soft); }
.xh-header-icon .xh-icon { width:17px; height:17px; }
.xh-account-button { gap:9px; font-family:inherit; font-size:12px; padding-right:3px; }
.xh-account-button > .xh-icon { width:13px; height:13px; color:var(--xh-muted); }
.xh-account-label { max-width:195px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.xh-avatar { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; color:#04121b; background:linear-gradient(135deg,#64f4d4,#5ad2f4); font-weight:600; font-size:12px; }
.xh-menu-wrap { position:relative; }
.xh-dropdown { position:absolute; top:43px; right:0; padding:6px; width:155px; background:rgba(9,17,36,0.92); backdrop-filter:blur(18px); border:1px solid var(--xh-line); border-radius:12px; box-shadow:0 16px 40px rgba(0,0,0,0.65); z-index:80; }
.xh-dropdown[hidden] { display:none; }
.xh-dropdown > button,.xh-dropdown > a { display:block; padding:9px 10px; width:100%; border:0; background:transparent; color:var(--xh-ink); font:inherit; font-size:12px; text-decoration:none; text-align:left; border-radius:7px; }
.xh-dropdown > button:hover,.xh-dropdown > a:hover { background:var(--xh-soft); }
.xh-user-dropdown { width:230px; }
.xh-user-caption { padding:9px 10px 12px; margin-bottom:3px; border-bottom:1px solid var(--xh-line); }
.xh-user-caption strong { display:block; font-size:12px; font-weight:500; overflow-wrap:anywhere; }
.xh-user-caption small { display:block; margin-top:5px; color:var(--xh-muted); font-size:10px; }
.xh-mobile-toggle { display:none; }
.xh-sidebar { position:fixed; z-index:25; top:94px; bottom:16px; left:16px; width:220px; border-radius:20px; padding:11px 10px 0; display:flex; flex-direction:column; overflow:hidden; }
.xh-sidebar > nav { overflow-y:auto; overflow-x:hidden; scrollbar-width:thin; scrollbar-color:rgba(188,226,237,0.2) transparent; min-height:0; padding-bottom:16px; flex:1; }
.xh-nav-item { display:flex; gap:10px; align-items:center; min-height:39px; border-radius:11px; padding:9px 12px; color:#9bb1cf; font-size:13px; line-height:1.4; text-decoration:none; margin:2px 0; border:1px solid transparent; transition:all .15s; }
.xh-nav-item .xh-icon { width:16px; height:16px; }
.xh-nav-item:hover { color:var(--xh-ink); background:var(--xh-soft); }
.xh-nav-item.active { color:#ecfffb; background:linear-gradient(90deg,rgba(100,244,212,0.18),rgba(90,210,244,0.08)); border-color:rgba(100,244,212,0.34); }
.xh-nav-indent { width:0; flex:none; }
.xh-nav-divider { height:1px; background:var(--xh-line); margin:13px 0 8px; }
.xh-more-button { display:flex; align-items:center; gap:9px; width:100%; text-align:left; padding:9px 12px; border:1px solid rgba(188,226,237,0.18); background:rgba(13,24,48,0.62); color:#e4f0ff; border-radius:11px; font:inherit; font-size:13px; min-height:38px; }
.xh-more-button .xh-icon { width:16px; height:16px; }
.xh-more-button .xh-icon:last-child { margin-left:auto; width:13px; height:13px; }
.xh-more-groups[hidden] { display:none; }
.xh-nav-label { font-size:11px; color:var(--xh-muted); margin:20px 12px 7px; letter-spacing:.06em; text-transform:uppercase; }
.xh-nav-section .xh-nav-item { min-height:37px; }
.xh-collapse { flex:none; display:flex; align-items:center; gap:10px; width:calc(100% + 20px); margin:0 -10px; min-height:51px; padding:13px 21px; border:0; border-top:1px solid var(--xh-line); border-radius:0; background:transparent; color:#8ba3c4; font:inherit; font-size:12px; }
.xh-collapse .xh-icon { width:16px; height:16px; }
.console-view .xh-content { width:calc(100% - 290px); max-width:1620px; padding:0; margin:116px 24px 40px 276px; min-height:calc(100vh - 160px); }
.xh-collapsed .xh-sidebar { width:58px; padding-left:8px; padding-right:8px; }
.xh-collapsed .xh-nav-item { padding:11px; justify-content:center; }
.xh-collapsed .xh-nav-item > span,.xh-collapsed .xh-more-button,.xh-collapsed .xh-more-groups,.xh-collapsed .xh-nav-divider,.xh-collapsed .xh-collapse > span { display:none; }
.xh-collapsed .xh-collapse { width:calc(100% + 16px); margin-left:-8px; margin-right:-8px; padding:15px; justify-content:center; }
.xh-collapsed .xh-content { width:calc(100% - 125px); margin-left:110px; }
.xh-nav-backdrop[hidden] { display:none; }

/* Starlight Crystal & Obsidian Glass Components */
.xh-content .page-heading { border:0; margin-bottom:24px; padding:0; min-height:0; display:flex; justify-content:space-between; align-items:flex-end; gap:18px; }
.xh-content .eyebrow { display:inline-flex; align-items:center; gap:7px; color:#7efce2!important; background:linear-gradient(135deg,rgba(100,244,212,0.16),rgba(90,210,244,0.08)); border:1px solid rgba(100,244,212,0.36); border-radius:999px; padding:4px 12px; font-family:inherit; font-size:11px; font-weight:600; letter-spacing:.08em; margin-bottom:10px; box-shadow:0 0 18px rgba(100,244,212,0.14); }
.xh-content .eyebrow::before { content:""; width:6px; height:6px; border-radius:50%; background:#64f4d4; box-shadow:0 0 8px #64f4d4; }
.xh-content .page-heading h1,.xh-content .pool-heading h1 { color:#f6faff!important; font-family:inherit; font-size:30px; line-height:1.2; font-weight:650; letter-spacing:.01em; text-shadow:0 0 26px rgba(134,197,255,0.16); margin:0; }
.xh-content .page-heading p,.xh-content .pool-heading p { margin:8px 0 0; color:#94add0!important; font-size:13px; }
.xh-content .page-heading .heading-actions { display:flex; gap:10px; align-items:center; }
.xh-content .btn { display:inline-flex; align-items:center; justify-content:center; gap:7px; font-family:inherit; font-size:12.5px; font-weight:500; border-radius:999px; min-height:36px; padding:6px 15px; color:#dceaff!important; background:rgba(13,24,48,0.66); border:1px solid rgba(188,226,237,0.22); box-shadow:inset 0 1px 0 rgba(255,255,255,0.08); backdrop-filter:blur(10px); transition:all .18s ease; }
.xh-content .btn:hover { color:#ffffff!important; border-color:rgba(100,244,212,0.46); background:rgba(19,35,68,0.84); box-shadow:0 0 18px rgba(100,244,212,0.16),inset 0 1px 0 rgba(255,255,255,0.14); transform:translateY(-1px); }
.xh-content .btn.primary { background:linear-gradient(135deg,#4ef6dc 0%,#5ad2f4 100%)!important; border-color:rgba(126,252,226,0.65)!important; color:#04131e!important; font-weight:600; box-shadow:0 6px 20px rgba(78,246,220,0.24); }
.xh-content .btn.primary:hover { filter:brightness(1.05); transform:translateY(-1px); }
.xh-content .btn .icon { width:14px; height:14px; }
.xh-content .panel { position:relative; background:linear-gradient(160deg,rgba(13,23,46,0.62) 0%,rgba(8,14,30,0.52) 100%); border:1px solid rgba(188,226,237,0.16); border-radius:16px; box-shadow:0 18px 44px rgba(2,5,16,0.50),inset 0 1px 0 rgba(255,255,255,0.08); backdrop-filter:blur(14px) saturate(140%); -webkit-backdrop-filter:blur(14px) saturate(140%); transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease; }
.xh-content .panel-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px 16px; border-bottom:1px solid rgba(188,226,237,0.10); }
.xh-content .panel-title { color:#f2f7ff!important; font-size:15px; font-weight:600; letter-spacing:.01em; }
.xh-content .panel-sub { color:#849ec0!important; font-size:12px; margin-top:4px; }
.xh-content .callout { display:flex; align-items:center; gap:10px; padding:13px 18px; margin-bottom:18px; border-radius:12px; border:1px solid rgba(90,210,244,0.28); color:#bce2ed!important; background:linear-gradient(90deg,rgba(14,34,62,0.62),rgba(11,24,48,0.48)); font-size:12.5px; backdrop-filter:blur(10px); }
.xh-content .callout.warn { border-color:rgba(244,192,102,0.36); background:linear-gradient(90deg,rgba(54,38,18,0.62),rgba(38,28,14,0.48)); color:#f6d594!important; }
.xh-content .toolbar { border-color:var(--xh-line); display:flex; align-items:center; }
.xh-content .input-wrap,.xh-content select.filter,.xh-content .field-control { background:rgba(7,13,28,0.72)!important; border:1px solid rgba(188,226,237,0.20)!important; border-radius:10px; min-height:39px; color:#e4f0ff!important; transition:border-color .16s,box-shadow .16s; }
.xh-content .input-wrap:focus-within,.xh-content select.filter:focus,.xh-content .field-control:focus { border-color:rgba(100,244,212,0.52)!important; box-shadow:0 0 0 3px rgba(100,244,212,0.12); outline:none; }
.xh-content .input-wrap input { background:transparent!important; border:0!important; box-shadow:none!important; font-family:inherit; font-size:12.5px; color:#f2f7ff!important; }
.xh-content .input-wrap input::placeholder { color:#6f88ab; }
.xh-content .data-table th { background:rgba(8,15,34,0.62)!important; color:#97b0d1!important; border-color:rgba(188,226,237,0.16)!important; font-weight:600; font-size:11.5px; letter-spacing:.03em; padding-top:15px; padding-bottom:15px; }
.xh-content .data-table td { color:#cde0f8!important; border-color:rgba(188,226,237,0.09)!important; font-size:12.5px; }
.xh-content .data-table .main-text,.xh-content .pool-row-title { color:#f2f8ff!important; font-size:13px; font-weight:600; }
.xh-content .sub-text { color:#819bc0!important; font-size:11.5px; }
.xh-content .data-table tbody tr { transition:background .15s ease; }
.xh-content .data-table tbody tr:hover { background:rgba(100,244,212,0.05)!important; }
.xh-content .tag { display:inline-flex; align-items:center; padding:2px 8px; background:rgba(90,210,244,0.12)!important; color:#9ce6ff!important; border:1px solid rgba(90,210,244,0.28)!important; border-radius:999px; font-size:10.5px; font-weight:500; }
.xh-content .badge { display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:999px; font-size:10.5px; font-weight:600; background:rgba(100,244,212,0.14); color:#7efce2; border:1px solid rgba(100,244,212,0.30); }
.xh-content .badge.warn { background:rgba(244,192,102,0.15); color:#f8d486; border-color:rgba(244,192,102,0.34); }
.xh-content .badge.error { background:rgba(255,107,139,0.16); color:#ff9eb3; border-color:rgba(255,107,139,0.36); }
.xh-content .badge.neutral { background:rgba(188,226,237,0.10); color:#b2c7e5; border-color:rgba(188,226,237,0.22); }
.xh-content .pool-operations,.xh-content .pool-provider-panel,.xh-content .pool-account-panel { border-radius:16px; }
.xh-content .pool-window-grid { background:rgba(6,12,26,0.38); border-top:1px solid rgba(188,226,237,0.12); }
.xh-content .pool-meter { background:rgba(188,226,237,0.10); height:6px; border-radius:999px; overflow:hidden; }
.xh-content .pool-meter > i { background:linear-gradient(90deg,#64f4d4,#5ad2f4,#8ca8ff); box-shadow:0 0 10px rgba(100,244,212,0.35); border-radius:999px; }
.xh-content .pool-metric { padding:16px 18px; border-radius:13px; background:rgba(7,13,28,0.42); border:1px solid rgba(188,226,237,0.11); }
.xh-content .pool-metric strong { color:#f6fbff!important; font-size:26px; font-weight:650; }
.xh-content .pool-metric > span { color:#9cb4d6!important; font-size:11.5px; font-weight:500; }
.xh-content .pool-metric small { color:#7a93b6!important; font-size:10.5px; }
.xh-content .pool-metric.warn strong { color:#f8d284!important; }
.xh-content .pool-fault-filters button { color:#94add0; border-radius:999px; padding:5px 11px; transition:all .16s; }
.xh-content .pool-fault-filters button.active { background:rgba(100,244,212,0.16); color:#7efce2; border-color:rgba(100,244,212,0.36); }
.xh-content .pool-detail-list dt { color:#819bc0!important; }
.xh-content .pool-detail-list dd { color:#e6f2ff!important; font-weight:500; }
.xh-content .pool-filterbar { padding-top:20px; }
.xh-content .pool-batchbar { border-color:rgba(188,226,237,0.12); background:rgba(7,13,28,0.35); }
.xh-content .table-footer { display:flex; align-items:center; justify-content:space-between; padding:14px 22px; color:#8ba3c4; border-top:1px solid rgba(188,226,237,0.10); font-size:12px; }
.xh-search-dialog { width:min(560px,calc(100vw - 30px)); padding:0; border:1px solid var(--xh-line); border-radius:17px; background:rgba(9,17,36,0.92); backdrop-filter:blur(22px); box-shadow:0 28px 90px rgba(0,0,0,0.75); color:var(--xh-ink); }
.xh-search-dialog::backdrop { background:rgba(4,8,20,0.65); backdrop-filter:blur(4px); }
.xh-search-heading { display:flex; align-items:center; gap:12px; padding:19px; border-bottom:1px solid var(--xh-line); }
.xh-search-heading > .xh-icon { color:var(--xh-muted); }
.xh-search-heading input { flex:1; background:transparent; border:0; outline:none; color:var(--xh-ink); font-size:14px; min-width:0; }
.xh-search-heading button { padding:4px 7px; font-size:10px; color:var(--xh-muted); border:1px solid var(--xh-line); background:var(--xh-soft); border-radius:6px; }
#xh-search-results { max-height:380px; overflow:auto; padding:9px; }
.xh-search-result { display:flex; align-items:center; gap:12px; padding:12px; color:var(--xh-ink); text-decoration:none; border-radius:9px; font-size:13px; }
.xh-search-result small { margin-left:auto; color:var(--xh-muted); font-size:10px; }
.xh-search-result:hover,.xh-search-result:focus { background:var(--xh-soft); outline:0; }
.xh-search-result .xh-icon { width:16px; height:16px; color:var(--xh-muted); }
.xh-search-hint { border-top:1px solid var(--xh-line); padding:12px 20px; color:var(--xh-muted); font-size:10px; }
.xh-search-empty { color:var(--xh-muted); text-align:center; padding:35px; font-size:12px; }

/* Business pages share one table/form vocabulary, rather than placeholder cards. */
.ca-resource-panel { overflow:hidden; }
.ca-filterbar { padding:20px 24px; flex-wrap:wrap; gap:12px; border-bottom:1px solid rgba(188,226,237,0.10); }
.ca-filterbar .input-wrap { flex:1 1 280px; max-width:440px; display:flex; align-items:center; gap:9px; padding:0 13px; }
.ca-filterbar .filter { min-width:145px; }
.ca-filterbar .btn { margin-left:auto; }
.ca-table { min-width:850px; }
.ca-table td,.ca-table th { white-space:normal; vertical-align:top; padding:16px 18px; }
.ca-table td:first-child { min-width:150px; }
.ca-table td .sub-text { display:block; margin-top:6px; line-height:1.55; overflow-wrap:anywhere; }
.ca-table .mono { font-size:10.5px; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
.ca-row-actions { display:flex; flex-wrap:wrap; align-items:center; gap:7px; max-width:260px; }
.ca-row-actions .btn { min-height:26px; font-size:11px; padding:4px 10px; background:rgba(14,26,52,0.65); color:#bce2ed!important; border:1px solid rgba(188,226,237,0.18); border-radius:999px; }
.ca-row-actions .btn:hover { background:rgba(100,244,212,0.16); border-color:rgba(100,244,212,0.42); color:#ffffff!important; }
.ca-pagination { flex-wrap:wrap; gap:12px; }
.ca-pagination .pagination { display:flex; gap:8px; align-items:center; }
.ca-pagination .pagination label { display:flex; gap:7px; align-items:center; font-size:11px; color:#8ba3c4; }
.ca-pagination select { border:1px solid var(--xh-line); background:rgba(7,13,28,0.72); color:#e4f0ff; padding:4px 8px; border-radius:7px; min-height:28px; }
.ca-pagination .btn { min-height:28px; min-width:30px; padding:3px 9px; }
.ca-empty { text-align:center; padding:60px 25px 65px; color:var(--xh-muted); }
.ca-empty > .icon { width:38px; height:38px; margin:0 auto 16px; color:#64f4d4; opacity:.75; }
.ca-empty h3 { font-weight:600; font-size:17px; color:#eef6ff!important; margin:0 0 10px; }
.ca-empty p { font-size:12.5px; line-height:1.8; color:#8ba3c4!important; }
.ca-route-line { display:flex; flex-wrap:wrap; gap:6px; padding:0 0 7px; min-width:200px; font-size:11px; }
.ca-route-line > span { color:#8ba3c4; }
.ca-route-line > b { font-weight:600; color:#7efce2!important; }
.ca-route-line > small { color:#94add0; }
.ca-checkbox label { display:flex; gap:9px; align-items:center; }
.ca-scope-options,.ca-permission-options { display:flex; flex-wrap:wrap; gap:16px; margin:10px 0; }
.ca-scope-options label,.ca-permission-options label { display:flex; gap:7px; align-items:center; font-size:12px; }
.ca-multiselect { min-height:100px; }
.ca-routes-editor { border:1px solid var(--xh-line); padding:14px; border-radius:11px; background:rgba(7,13,28,0.65); }
.ca-route-row { display:grid; grid-template-columns:1fr 1.6fr 75px 24px; gap:8px; align-items:end; padding-bottom:15px; }
.ca-route-row label { display:block; font-size:10.5px; color:#94add0; margin-bottom:6px; }
.ca-route-row .field-control { font-size:11.5px; padding:8px; }
.ca-route-row .icon-btn { margin-bottom:5px; }
.ca-modal-section-title { font-size:13.5px; font-weight:600; color:#eef6ff!important; margin:22px 0 12px; }
.ca-home-hero { padding:55px 40px 70px; max-width:1000px; }
.ca-hero-kicker { font-size:10px; letter-spacing:3px; color:#7efce2; font-family:system-ui,sans-serif; }
.ca-home-hero h1 { font-size:64px; line-height:1.22; font-weight:650; letter-spacing:-1.5px; margin:23px 0; color:#f4f9ff; }
.ca-home-hero h1 em { font-style:normal; color:#64f4d4; }
.ca-home-hero > p { font-size:16px; color:#9bb3d4; line-height:2; margin-bottom:28px; }
.ca-home-hero > div { display:flex; gap:12px; align-items:center; }
.ca-home-hero .btn { min-height:43px; padding:10px 18px; font-size:13px; }
.ca-home-note { margin-top:25px; color:#8ba3c4; font-size:11.5px; }
.ca-home-note .dot { color:#64f4d4; }
.ca-home-features { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:17px; }
.ca-home-features > a { padding:26px; text-decoration:none; }
.ca-home-features .icon { color:#64f4d4; width:25px; height:25px; margin-bottom:20px; }
.ca-home-features h2 { color:#f2f8ff; font-weight:600; font-size:17px; margin-bottom:12px; }
.ca-home-features p { color:#8fa8ca; font-size:12.5px; line-height:1.85; }
.ca-guide-grid { display:grid; grid-template-columns:190px minmax(0,1fr); gap:24px; align-items:start; }
.ca-guide-toc { position:sticky; top:96px; padding:14px 12px; }
.ca-guide-toc a { display:block; color:#a6bddb!important; text-decoration:none; font-size:12.5px; padding:10px 12px; border-radius:9px; transition:all .16s; }
.ca-guide-toc a:hover { background:rgba(100,244,212,0.12); color:#7efce2!important; }
.ca-guide-section { padding:26px 30px; margin-bottom:20px; scroll-margin-top:98px; }
.ca-guide-section h2 { font-size:20px; font-weight:600; color:#f2f8ff!important; margin:0 0 16px; }
.ca-guide-section h3 { font-size:14px; font-weight:600; color:#dceaff!important; }
.ca-guide-section p,.ca-guide-section li { font-size:13px; line-height:1.95; color:#9bb3d4!important; }
.ca-guide-section ol { padding-left:20px; }
.ca-guide-section a { color:#64f4d4!important; }
.ca-base-url { background:rgba(7,13,28,0.72)!important; border:1px solid rgba(188,226,237,0.20)!important; padding:13px 16px; border-radius:11px; color:#7efce2!important; font-size:13px; display:flex; gap:12px; align-items:center; overflow-wrap:anywhere; }
.ca-base-url > button { margin-left:auto; flex:none; }
.ca-code-heading { display:flex; align-items:center; justify-content:space-between; margin-top:26px; margin-bottom:8px; }
.ca-guide-section .code-block { background:rgba(6,11,24,0.78)!important; color:#cde2ff!important; font-size:11.5px; line-height:1.75; border:1px solid rgba(188,226,237,0.16)!important; border-radius:11px; padding:14px 16px; }
.ca-error-guide { margin:0; }
.ca-error-guide > div { border-top:1px solid rgba(188,226,237,0.10); padding:15px 0; }
.ca-error-guide dt { color:#f2f8ff!important; font-weight:600; font-size:13px; margin-bottom:6px; }
.ca-error-guide dd { color:#94add0!important; line-height:1.85; font-size:12.5px; margin:0; }
.ca-quote { margin-top:22px; padding-bottom:24px; }
.ca-quote form { padding:18px 25px 0; }
.ca-quote .form-row { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:end; gap:18px; }
.ca-quote .form-row > button { margin-bottom:20px; }
.ca-quote-result { background:rgba(10,22,44,0.68)!important; border:1px solid rgba(100,244,212,0.28)!important; border-radius:12px; padding:18px 20px; display:flex; align-items:baseline; gap:14px; margin-top:12px; }
.ca-quote-result small { color:#94add0!important; font-size:12px; }
.ca-quote-result strong { color:#7efce2!important; font-size:26px; font-weight:650; }
.ca-quote-result span { color:#94add0!important; font-size:11.5px; }
.ca-wallet-grid { display:grid; grid-template-columns:.95fr 1.25fr; gap:22px; align-items:stretch; }
.ca-wallet-card { padding:32px; background:linear-gradient(145deg,rgba(14,32,62,0.72),rgba(9,18,38,0.62))!important; border:1px solid rgba(100,244,212,0.28)!important; }
.ca-wallet-card > small { color:#9cb4d6!important; font-size:12px; font-weight:500; }
.ca-wallet-card > strong { display:block; font-size:44px; font-weight:650; color:#f6fbff!important; margin:20px 0; text-shadow:0 0 28px rgba(100,244,212,0.22); }
.ca-wallet-card > p { color:#8ba3c4!important; font-size:11.5px; }
.ca-wallet-card > div { display:flex; flex-wrap:wrap; gap:16px; margin-top:24px; }
.ca-wallet-card a { color:#7efce2!important; font-size:12px; text-decoration:none; font-weight:500; }
.ca-topup-panel,.ca-redeem-panel { padding:28px 30px; }
.ca-topup-panel h2,.ca-redeem-panel h2 { color:#f2f8ff!important; font-size:20px; font-weight:600; margin:0 0 12px; }
.ca-topup-panel p,.ca-redeem-panel p { color:#94add0!important; font-size:12.5px; line-height:1.8; margin-bottom:22px; }
.ca-redeem-panel form > label { color:#adc2e0!important; font-size:12px; display:block; margin-bottom:9px; }
.ca-redeem-panel form > button { margin-top:18px; }
.ca-plan-section { margin-top:35px; }
.ca-section-heading { display:flex; align-items:center; justify-content:space-between; padding:0 5px; margin-bottom:20px; }
.ca-section-heading h2 { color:#f2f8ff!important; font-size:22px; font-weight:600; margin:0; }
.ca-section-heading a { color:#7efce2!important; font-size:12px; text-decoration:none; }
.ca-plan-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.ca-plan-grid > .ca-empty { grid-column:1/-1; }
.ca-plan-card { padding:28px; }
.ca-plan-card h3 { color:#f2f8ff!important; font-size:22px; font-weight:600; margin:16px 0; }
.ca-plan-price { color:#7efce2!important; font-size:32px; font-weight:650; }
.ca-plan-price small { color:#8ba3c4!important; font-size:11.5px; font-weight:400; }
.ca-plan-card dl { margin:24px 0; }
.ca-plan-card dl > div { display:flex; justify-content:space-between; font-size:12.5px; margin:13px 0; }
.ca-plan-card dt { color:#8ba3c4!important; }
.ca-plan-card dd { margin:0; color:#e6f2ff!important; font-weight:500; }
.ca-plan-card > button { width:100%; }
.ca-subscription-list { padding:0 25px; }
.ca-subscription-row { display:grid; grid-template-columns:1fr 1fr auto; gap:25px; align-items:center; padding:24px 5px; border-top:1px solid rgba(188,226,237,0.10); }
.ca-subscription-row h3 { font-size:19px; color:#f2f8ff!important; font-weight:600; margin:10px 0; }
.ca-subscription-row small { color:#8ba3c4!important; font-size:10.5px; }
.ca-subscription-row p { color:#94add0!important; font-size:12px; line-height:1.85; }
.ca-payment-instructions { padding:18px; background:rgba(7,13,28,0.68)!important; border:1px solid rgba(188,226,237,0.18)!important; border-radius:11px; margin-top:20px; }
.ca-payment-instructions h3 { font-size:13.5px; font-weight:600; color:#eef6ff!important; margin-bottom:10px; }
.ca-payment-instructions p { color:#9bb3d4!important; font-size:12.5px; line-height:1.85; white-space:pre-wrap; }
.ca-trace-attempts { padding:0; list-style:none; }
.ca-trace-attempts li { display:flex; gap:13px; padding:14px 0; border-top:1px solid rgba(188,226,237,0.10); }
.ca-trace-attempts li > span { display:grid; place-items:center; width:24px; height:24px; flex:none; border-radius:50%; background:rgba(100,244,212,0.16); border:1px solid rgba(100,244,212,0.32); color:#7efce2; font-size:11px; font-weight:600; }
.ca-trace-attempts strong { color:#eef6ff!important; font-size:12.5px; font-weight:600; }
.ca-trace-attempts small { display:block; font-size:10.5px; color:#8ba3c4!important; margin-top:5px; }
.ca-trace-attempts p { color:#9bb3d4!important; font-size:12px; line-height:1.8; margin:8px 0; }

/* Request-centred dashboard and the full usage ledger. */
.ca-range-buttons { display:inline-flex; align-items:center; gap:3px; background:rgba(7,13,28,0.72)!important; border:1px solid rgba(188,226,237,0.18); padding:3px; border-radius:999px; box-shadow:inset 0 1px 3px rgba(0,0,0,0.4); }
.xh-content .ca-range-buttons .btn { background:transparent!important; border-color:transparent!important; box-shadow:none!important; padding:5px 13px; min-height:30px; color:#95add0!important; border-radius:999px; transform:none!important; }
.xh-content .ca-range-buttons .btn:hover { color:#eef6ff!important; background:rgba(188,226,237,0.06)!important; }
.xh-content .ca-range-buttons .btn[aria-pressed="true"] { background:linear-gradient(135deg,rgba(100,244,212,0.24),rgba(90,210,244,0.16))!important; border-color:rgba(100,244,212,0.46)!important; color:#ecfffb!important; font-weight:600; box-shadow:0 0 16px rgba(100,244,212,0.18),inset 0 1px 0 rgba(255,255,255,0.14)!important; }
.ca-dashboard-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.ca-dashboard-kpi { padding:22px 24px; overflow:hidden; position:relative; }
.ca-dashboard-kpi::before { content:""; position:absolute; top:-38px; right:-38px; width:130px; height:130px; border-radius:50%; background:radial-gradient(circle,rgba(100,244,212,0.15) 0%,transparent 70%); pointer-events:none; }
.ca-dashboard-kpi:nth-child(2)::before { background:radial-gradient(circle,rgba(90,210,244,0.16) 0%,transparent 70%); }
.ca-dashboard-kpi:nth-child(3)::before { background:radial-gradient(circle,rgba(140,168,255,0.16) 0%,transparent 70%); }
.ca-dashboard-kpi:nth-child(4)::before { background:radial-gradient(circle,rgba(92,242,184,0.16) 0%,transparent 70%); }
.ca-dashboard-kpi:hover { border-color:rgba(100,244,212,0.36)!important; transform:translateY(-2px); box-shadow:0 22px 48px rgba(2,6,20,0.64),0 0 28px rgba(100,244,212,0.10),inset 0 1px 0 rgba(255,255,255,0.14)!important; }
.ca-dashboard-kpi > div { display:flex; align-items:center; justify-content:space-between; color:#abc0de!important; font-size:13px; font-weight:500; }
.ca-dashboard-kpi .icon { width:34px; height:34px; padding:7px; border-radius:10px; background:linear-gradient(135deg,rgba(100,244,212,0.16),rgba(90,210,244,0.08)); border:1px solid rgba(100,244,212,0.30); color:#64f4d4; box-shadow:0 0 16px rgba(100,244,212,0.12); }
.ca-dashboard-kpi:nth-child(2) .icon { background:linear-gradient(135deg,rgba(90,210,244,0.18),rgba(114,152,255,0.08)); border-color:rgba(90,210,244,0.32); color:#5ad2f4; }
.ca-dashboard-kpi:nth-child(3) .icon { background:linear-gradient(135deg,rgba(140,168,255,0.18),rgba(180,140,255,0.08)); border-color:rgba(140,168,255,0.34); color:#a8bcff; }
.ca-dashboard-kpi:nth-child(4) .icon { background:linear-gradient(135deg,rgba(92,242,184,0.18),rgba(100,244,212,0.08)); border-color:rgba(92,242,184,0.34); color:#64f4d4; }
.ca-dashboard-kpi > strong { display:block; color:#f7fbff!important; font-size:34px; font-weight:650; letter-spacing:-.02em; font-variant-numeric:tabular-nums; margin:16px 0 10px; text-shadow:0 0 24px rgba(188,226,237,0.18); }
.ca-dashboard-kpi > small { display:block; font-size:11.5px; color:#7e96b8!important; }
.ca-dashboard-meta { display:flex; flex-wrap:wrap; gap:12px 28px; align-items:center; padding:12px 20px; margin:16px 0 22px; background:linear-gradient(90deg,rgba(11,20,42,0.58),rgba(14,25,50,0.44)); border:1px solid rgba(188,226,237,0.15); border-radius:13px; color:#94add0!important; font-size:12px; backdrop-filter:blur(12px); box-shadow:inset 0 1px 0 rgba(255,255,255,0.06); }
.ca-dashboard-meta > span { display:inline-flex; align-items:center; gap:7px; }
.ca-dashboard-meta > span::before { content:""; width:5px; height:5px; border-radius:50%; background:#5ad2f4; box-shadow:0 0 8px #5ad2f4; }
.ca-dashboard-meta b { font-weight:600; color:#7efce2!important; font-variant-numeric:tabular-nums; padding-left:3px; }
.ca-dashboard-meta a { margin-left:auto; color:#7efce2!important; text-decoration:none; font-weight:500; padding:5px 14px; border-radius:999px; background:rgba(100,244,212,0.10); border:1px solid rgba(100,244,212,0.28); transition:all .18s ease; }
.ca-dashboard-meta a:hover { background:rgba(100,244,212,0.20); border-color:rgba(100,244,212,0.50); box-shadow:0 0 16px rgba(100,244,212,0.20); color:#ffffff!important; }
.ca-dashboard-traffic { padding-bottom:18px; margin-bottom:22px; }
.ca-chart-tabs { display:inline-flex; align-items:center; gap:3px; background:rgba(7,13,28,0.68); border:1px solid rgba(188,226,237,0.16); padding:3px; border-radius:999px; }
.xh-content .ca-chart-tabs > button { min-height:28px; font-size:11.5px; padding:4px 12px; background:transparent!important; border:1px solid transparent!important; border-radius:999px; color:#95add0!important; box-shadow:none!important; transform:none!important; }
.xh-content .ca-chart-tabs > button:hover { color:#eef6ff!important; }
.xh-content .ca-chart-tabs > button[aria-pressed="true"] { background:linear-gradient(135deg,rgba(100,244,212,0.22),rgba(90,210,244,0.15))!important; border-color:rgba(100,244,212,0.44)!important; color:#ecfffb!important; font-weight:600; box-shadow:0 0 14px rgba(100,244,212,0.16)!important; }
.ca-dashboard-chart { display:block; width:calc(100% - 40px); height:250px; margin:12px 20px 0; overflow:visible; }
.ca-dashboard-chart line { stroke:rgba(188,226,237,0.11)!important; stroke-dasharray:4 5; stroke-width:1; }
.ca-dashboard-chart text { fill:#849ec0!important; font-size:10.5px; font-family:inherit; }
.ca-dashboard-rankings { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-bottom:22px; }
.ca-dashboard-rankings .panel-head a,.ca-recent-panel .panel-head a { font-size:12px; color:#7efce2!important; text-decoration:none; font-weight:500; padding:4px 12px; border-radius:999px; background:rgba(100,244,212,0.08); border:1px solid rgba(100,244,212,0.24); transition:all .18s ease; }
.ca-dashboard-rankings .panel-head a:hover,.ca-recent-panel .panel-head a:hover { background:rgba(100,244,212,0.18); border-color:rgba(100,244,212,0.46); color:#ffffff!important; }
.ca-rankings { padding:18px 24px 22px; }
.ca-ranking-row { padding:13px 15px; border-radius:12px; background:rgba(6,12,26,0.42); border:1px solid rgba(188,226,237,0.09); margin-bottom:12px; transition:border-color .18s ease,background .18s ease; }
.ca-ranking-row:hover { border-color:rgba(100,244,212,0.28); background:rgba(10,20,42,0.56); }
.ca-ranking-row:last-child { margin-bottom:0; }
.ca-ranking-row > div:first-child { display:flex; align-items:center; justify-content:space-between; gap:15px; font-size:12.5px; margin-bottom:10px; }
.ca-ranking-row > div:first-child > span { color:#eef6ff!important; font-weight:500; display:flex; gap:10px; align-items:center; overflow-wrap:anywhere; }
.ca-ranking-row > div:first-child small { display:inline-grid; place-items:center; width:22px; height:22px; border-radius:6px; background:linear-gradient(135deg,rgba(100,244,212,0.18),rgba(90,210,244,0.10)); border:1px solid rgba(100,244,212,0.32); color:#7efce2!important; font-size:11px; font-weight:600; min-width:22px; }
.ca-ranking-row b { color:#f4f9ff!important; font-weight:600; white-space:nowrap; font-size:12px; font-variant-numeric:tabular-nums; }
.ca-ranking-row em { font-style:normal; color:#849ec0!important; font-size:11px; font-weight:400; }
.ca-ranking-meter { background:rgba(188,226,237,0.10)!important; height:6px; border-radius:999px; overflow:hidden; }
.ca-ranking-meter i { display:block; height:100%; background:linear-gradient(90deg,#64f4d4 0%,#5ad2f4 60%,#8ea8ff 100%)!important; box-shadow:0 0 12px rgba(100,244,212,0.35); border-radius:999px; }
.ca-ranking-row > small { display:block; margin-top:8px; color:#7e96b8!important; font-size:11px; font-variant-numeric:tabular-nums; }
.ca-dashboard-operations { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:20px 26px; margin-bottom:22px; }
.ca-dashboard-operations p { margin:9px 0 0; color:#adc2e0!important; font-size:12.5px; }
.ca-dashboard-operations > div:last-child { display:flex; flex-wrap:wrap; gap:10px; }
.ca-recent-panel { overflow:hidden; }
.ca-usage-panel { overflow:hidden; }
.ca-usage-filters { padding:22px 24px 18px; border-bottom:1px solid rgba(188,226,237,0.10); }
.ca-usage-primary { display:grid; grid-template-columns:minmax(240px,1.5fr) minmax(110px,.7fr) 1fr 1fr; align-items:end; gap:15px; }
.ca-usage-primary .field { margin:0; }
.ca-usage-primary .field label { font-size:11px; color:#94add0!important; margin-bottom:7px; display:block; }
.ca-usage-primary .input-wrap { height:39px; display:flex; align-items:center; gap:8px; padding:0 12px; }
.ca-usage-primary .field-control { min-height:39px; font-size:12px; }
.ca-usage-more { margin-top:15px; }
.ca-usage-more summary { display:flex; align-items:center; gap:7px; width:max-content; color:#7efce2!important; font-size:12px; cursor:pointer; list-style:none; }
.ca-usage-more summary::-webkit-details-marker { display:none; }
.ca-usage-more summary .icon { height:13px; width:13px; }
.ca-usage-advanced { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px 18px; padding-top:20px; }
.ca-usage-advanced .field { margin-bottom:5px; }
.ca-usage-advanced .field label { color:#94add0!important; font-size:11px; display:block; margin-bottom:6px; }
.ca-usage-advanced .field-control { font-size:12px; }
.ca-usage-query { display:flex; gap:9px; align-items:center; margin-top:19px; }
.ca-usage-query > span { margin-left:auto; color:#8ba3c4!important; font-size:11.5px; }
.ca-usage-table { min-width:1470px; }
.ca-usage-table td,.ca-usage-table th { padding-left:14px; padding-right:14px; }
.ca-usage-table td:first-child { min-width:175px; }
.ca-usage-table td:first-child .mono { max-width:210px; white-space:normal; overflow-wrap:anywhere; }
.ca-active-streams { margin-bottom:22px; overflow:hidden; }
.ca-active-empty { font-size:12.5px; color:#8ba3c4!important; padding:18px 24px 22px; }
.ca-trace-events { list-style:none; margin:0; padding:0; }
.ca-trace-events > li { display:grid; grid-template-columns:88px 150px 1fr; gap:10px; padding:11px 0; border-bottom:1px solid rgba(188,226,237,0.10); font-size:11px; }
.ca-trace-events time { color:#8ba3c4!important; }
.ca-trace-events strong { color:#7efce2!important; font-weight:600; }
.ca-trace-events span { color:#cde0f8!important; overflow-wrap:anywhere; }
.ca-redemption-history { margin-top:24px; overflow:hidden; }
dialog#modal { background:rgba(9,17,36,0.94)!important; color:#f2f7ff!important; border:1px solid rgba(188,226,237,0.26)!important; border-radius:16px; backdrop-filter:blur(22px); }
#modal .modal-head,#modal .modal-footer { border-color:rgba(188,226,237,0.14)!important; background:rgba(7,13,28,0.65)!important; }
#modal .field-control { background:rgba(6,11,24,0.78)!important; color:#eef6ff!important; border-color:rgba(188,226,237,0.22)!important; }
#modal .field label,#modal .help { color:#94add0!important; }
#modal .code-block,#modal .ca-routes-editor { background:rgba(6,11,24,0.82)!important; border-color:rgba(188,226,237,0.18)!important; color:#cde2ff!important; }
.xh-login-link { text-decoration:none; gap:8px; padding-right:5px; }
.xh-login-link .xh-avatar { background:linear-gradient(135deg,#64f4d4,#5ad2f4); }
.xh-login-link .xh-avatar .xh-icon { width:16px; height:16px; }
.ca-user-subscription { display:grid; grid-template-columns:1fr auto; gap:8px 18px; padding:15px 0; border-bottom:1px solid rgba(188,226,237,0.10); }
.ca-user-subscription strong { font-weight:600; color:#eef6ff!important; font-size:13px; }
.ca-user-subscription span { color:#7efce2!important; font-size:11.5px; }
.ca-user-subscription small { grid-column:1/-1; color:#8ba3c4!important; font-size:10.5px; }
.ca-subscription-caption h3 { color:#f2f8ff!important; font-weight:600; font-size:19px; }
.ca-subscription-caption p { color:#94add0!important; font-size:12px; margin:12px 0 22px; }
.ca-subscription-windows { display:grid; gap:16px; }
.ca-subscription-windows section { padding:19px; border:1px solid rgba(188,226,237,0.16); background:rgba(7,13,28,0.58); border-radius:12px; }
.ca-subscription-windows section > div:first-child { display:flex; justify-content:space-between; color:#eef6ff!important; font-size:12.5px; margin-bottom:13px; }
.ca-subscription-windows strong { font-weight:600; color:#7efce2!important; }
.ca-subscription-windows dl { display:grid; grid-template-columns:1fr 1fr; gap:14px 20px; margin:17px 0 0; }
.ca-subscription-windows dl > div { display:flex; gap:15px; justify-content:space-between; font-size:11px; }
.ca-subscription-windows dt { color:#8ba3c4!important; }
.ca-subscription-windows dd { margin:0; color:#e6f2ff!important; font-weight:500; }
.console-view .xh-content,.xh-header > div,.xh-header > nav,.ca-guide-grid > div,.ca-wallet-grid > section,.ca-dashboard-rankings > section,.ca-plan-grid > section { min-width:0; }
.xh-content .table-scroll { max-width:100%; overflow-x:auto; }
.xh-header { grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
.xh-content .field-control { max-width:100%; box-sizing:border-box; }
.xh-content button:focus-visible,.xh-content a:focus-visible,.xh-header button:focus-visible,.xh-header a:focus-visible,.xh-sidebar a:focus-visible { outline:2px solid #64f4d4; outline-offset:3px; }
@media (max-width:1200px) {
  .xh-header { gap:12px; }
  .xh-account-label { max-width:120px; }
  .xh-header-left { gap:10px; padding-right:13px; }
  .xh-brand { font-size:16px; }
  .xh-workspace small { font-size:8px; }
  .xh-header-center a { padding:0 10px; font-size:12px; }
  .ca-home-features { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:1100px) and (min-width:721px) {
  .ca-dashboard-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ca-dashboard-kpi > strong { overflow-wrap:anywhere; }
}
@media (max-width:1000px) {
  .xh-header-center { display:none; }
  .xh-header { grid-template-columns:minmax(0,1fr) auto; }
  .xh-sidebar { width:205px; }
  .console-view .xh-content { margin-left:247px; width:calc(100% - 268px); }
  .ca-guide-grid { grid-template-columns:1fr; }
  .ca-guide-toc { position:static; display:flex; flex-wrap:wrap; padding:5px; }
  .ca-wallet-grid { grid-template-columns:1fr; }
  .ca-plan-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ca-home-hero { padding-left:10px; padding-right:10px; }
  .ca-home-hero h1 { font-size:54px; }
  .ca-usage-primary { grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .ca-usage-advanced { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:720px) {
  .xh-header { top:10px; left:10px; right:10px; height:49px; gap:8px; }
  .xh-header-left,.xh-header-right { height:49px; }
  .xh-header-left { padding:5px 10px; gap:8px; }
  .xh-header-right { padding:5px 8px; gap:4px; }
  .xh-header-divider,.xh-workspace,.xh-account-label,.xh-account-button > .xh-icon { display:none; }
  .xh-brand { gap:7px; font-size:16px; }
  .xh-brand-icon { width:26px; height:26px; }
  .xh-mobile-toggle { display:flex; padding:3px; border:0; color:#94add0; background:transparent; }
  .xh-mobile-toggle .xh-icon { width:17px; height:17px; }
  .xh-avatar { width:25px; height:25px; }
  .xh-sidebar { top:74px; left:10px; bottom:10px; width:220px; transform:translateX(calc(-100% - 22px)); transition:transform .18s; z-index:50; }
  .xh-sidebar.xh-mobile-open { transform:translateX(0); }
  .xh-nav-backdrop { position:fixed; inset:0; z-index:45; background:rgba(4,8,20,0.65); backdrop-filter:blur(2px); border:0; border-radius:0; }
  .console-view .xh-content,.xh-collapsed .xh-content { margin:88px 14px 30px; width:calc(100% - 28px); max-width:none; }
  .xh-content .page-heading { min-height:0; gap:17px; align-items:flex-start; flex-wrap:wrap; padding:0; margin-bottom:22px; }
  .xh-content .page-heading h1 { font-size:26px; }
  .xh-content .page-heading p { font-size:12px; line-height:1.8; }
  .xh-content .heading-actions { flex-wrap:wrap; max-width:100%; }
  .xh-content .btn { font-size:11.5px; min-height:33px; }
  .xh-content .panel { border-radius:14px; }
  .xh-collapsed .xh-sidebar { width:220px; }
  .xh-collapsed .xh-nav-item { justify-content:flex-start; }
  .xh-collapsed .xh-nav-item > span,.xh-collapsed .xh-more-button,.xh-collapsed .xh-more-groups,.xh-collapsed .xh-nav-divider,.xh-collapsed .xh-collapse > span { display:flex; }
  .xh-collapsed .xh-more-groups { display:block; }
  .ca-filterbar { padding:17px; }
  .ca-filterbar .input-wrap { max-width:none; }
  .ca-filterbar .filter { flex:1; min-width:100px; }
  .ca-table { min-width:800px; }
  .ca-dashboard-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .ca-dashboard-kpi { padding:18px; min-width:0; }
  .ca-dashboard-kpi > strong { font-size:27px; margin-top:16px; overflow-wrap:anywhere; }
  .ca-dashboard-kpi > small { font-size:10px; }
  .ca-dashboard-kpi > div { font-size:11.5px; }
  .ca-dashboard-meta { gap:12px 20px; font-size:11px; padding:12px 16px; }
  .ca-dashboard-meta a { margin-left:0; }
  .ca-dashboard-chart { width:calc(100% - 20px); margin:10px 10px 0; height:210px; }
  .ca-dashboard-rankings { grid-template-columns:1fr; }
  .ca-dashboard-operations { align-items:flex-start; flex-direction:column; }
  .ca-usage-filters { padding:20px 17px; }
  .ca-usage-primary { grid-template-columns:1fr 1fr; gap:14px; }
  .ca-usage-primary .input-wrap { grid-column:1/-1; }
  .ca-usage-advanced { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; }
  .ca-trace-events > li { grid-template-columns:75px 1fr; }
  .ca-trace-events span { grid-column:1/-1; }
  .ca-guide-section { padding:22px 20px; }
  .ca-guide-section pre { max-width:100%; overflow-x:auto; }
  .ca-wallet-card { padding:25px; }
  .ca-wallet-card > strong { font-size:37px; }
  .ca-plan-grid { grid-template-columns:1fr; }
  .ca-topup-panel,.ca-redeem-panel { padding:24px; }
  .ca-quote .form-row { grid-template-columns:1fr; gap:0; }
  .ca-subscription-row { grid-template-columns:1fr; gap:18px; }
  .ca-route-row { grid-template-columns:1fr 70px 24px; }
  .ca-route-row > div:first-child { grid-column:1/-1; }
  .ca-home-features { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:12px; }
}
@media (max-width:380px) {
  .xh-header-left { gap:6px; padding:5px 8px; }
  .xh-brand { font-size:14px; }
  .xh-header-right { gap:1px; padding:4px 6px; }
  .xh-header-icon { padding:4px; }
  .ca-dashboard-kpis { gap:9px; }
  .ca-dashboard-kpi { padding:15px 12px; }
  .ca-dashboard-kpi > strong { font-size:24px; }
  .ca-usage-primary,.ca-usage-advanced,.ca-home-features { grid-template-columns:minmax(0,1fr); }
}
