/* Huber 5.0 - shared dark glass skin. Screen only: print and drawing output remain unchanged. */
.hub-app-icon{display:inline-block;flex:none;object-fit:contain;vertical-align:middle;width:36px;height:36px}
@media screen {
:is(body.hub-portal, body.hub-module:not(.print-page)){
--hub-ink:#eff6ff;--hub-muted:#b8cde8;--hub-border:rgba(156,202,248,.28);
--hub-pane:linear-gradient(145deg,rgba(48,103,166,.48),rgba(10,40,88,.88));
--hub-solid:#123562;--hub-soft:rgba(136,186,242,.09);--hub-input:rgba(186,217,255,.09);
--hub-shadow:inset 0 1px 0 rgba(222,241,255,.14),0 16px 42px rgba(0,10,36,.22);
--hub-primary:linear-gradient(105deg,#168dfd,#0074f5 60%,#3faeff);
--hub-danger:#ffc6cd;--hub-success:#9ef2cf;--hub-warning:#ffdc98;
--bg:#081f46!important;--surface:#123562;--surface-2:#193e6d;--surface-3:#214c80;
--text:var(--hub-ink);--ink:var(--hub-ink);--muted:var(--hub-muted);--line:var(--hub-border)!important;
--border:var(--hub-border)!important;--border-strong:rgba(148,203,255,.5);--navy:#e7f2ff;--navy2:#184984;
--white:#102e59;--blue:#64bbff!important;--primary:#64bbff!important;--primary-hover:#94d5ff!important;--primary-soft:rgba(82,166,255,.17)!important;
--danger:#ffb5c0;--danger-soft:#633347;--success:#93e9c8;--warning:#ffdb96;
--ssi-panel:#10335e;--ssi-soft:#193e69;--ssi-border:var(--hub-border);--ssi-muted:#b8cde8;
--navy-950:#edf5ff;--navy-900:#e5f1ff;--navy-800:#dcf0ff;
--slate-950:#edf5ff;--slate-900:#e5f1ff;--slate-800:#dbeaff;--slate-700:#d0e0f6;--slate-650:#c6d9ef;
--slate-600:#b9cde7;--slate-500:#9cb6d7;--slate-400:#7899bf;--slate-300:#496b97;--slate-250:#30537d;--slate-200:#2e527e;--slate-150:#204672;--slate-100:#123562;--slate-50:#173d6b;
--blue-100:#163f71;--blue-50:#153864;--blue-600:#70c1ff;--blue-500:#55b2ff;
--green-100:#154d47;--green-700:#b8f5dd;--green-600:#167250;
--red-100:#5b3048;--red-700:#ffd0d6;--red-600:#b72e50;
--amber-100:#58492f;--amber-700:#ffe0a6;--amber-600:#94651b;
--orange:#64bbff!important;--orange-hover:#91d0ff!important;
position:relative;isolation:isolate;color:var(--hub-ink)!important;background:#071d43!important;
color-scheme:dark!important;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
-webkit-font-smoothing:antialiased;scrollbar-color:#507fb3 #0e2b52;
}
:is(body.hub-portal, body.hub-module:not(.print-page))::before{content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;
background:linear-gradient(105deg,rgba(3,18,49,.63),rgba(5,29,75,.36) 58%,rgba(4,22,58,.54)),url('huber-wallpaper.webp') center/cover no-repeat!important;transform:translateZ(0)}
:is(body.hub-portal, body.hub-module:not(.print-page))::after{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(180deg,rgba(15,55,108,.04),rgba(3,17,43,.35))!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(h1,h2,h3,h4,legend){color:var(--hub-ink)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(label,.topbar-path,.user-name,.project-title button,.brand>span,.topbar-title,.topbar-user,.home-greeting strong,.room-details strong){color:var(--hub-ink)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.muted,.small,.eyebrow,.nav-label,.date,.page-heading p,.home-greeting,.card-subtitle,.field small,.field-help,.hint,.help,.version,.sidebar-note,.panel-header .icon,.activity time,.auth-instruction){color:var(--hub-muted)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.workspace,.main-column,.page-content,.page-shell,.editor-app,.workspace-shell,.app-shell,.ht-shell){background:transparent!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.sidebar,.rooms-panel,.inspector,.editor-sidebar,.ssi-sheets-panel,.ssi-entry-panel,.ssi-preview-panel){color:var(--hub-ink)!important;background:rgba(7,29,66,.9)!important;border-color:var(--hub-border)!important;box-shadow:8px 0 32px #00113330!important;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.topbar,.app-header,.editor-toolbar,.ssi-editor-toolbar,.drawing-toolbar,.workspace-heading,.workspace-toolbar,.instruction-bar,.workspace-metrics,.canvas-options,.app-footer,.sheet-bar,.sticky-form-actions,.mobile-bottom-nav){color:var(--hub-ink)!important;background:rgba(9,36,78,.88)!important;border-color:var(--hub-border)!important;box-shadow:0 4px 20px #00133618!important;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.brand,.brand-block,.sidebar-bottom,.sidebar-footer){background:transparent!important;border-color:var(--hub-border)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.brand img:not(.hub-app-icon),.hub-module-logo){filter:drop-shadow(0 0 15px rgba(203,230,255,.48));background:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) .brand{position:relative;isolation:isolate}
:is(body.hub-portal, body.hub-module:not(.print-page)) .brand::after{content:"";position:absolute;z-index:-1;left:0;top:50%;width:190px;height:48px;transform:translateY(-50%);background:radial-gradient(ellipse,rgba(222,237,255,.66),rgba(161,204,253,.16) 64%,transparent 76%)!important;filter:blur(10px);pointer-events:none}
:is(body.hub-portal, body.hub-module:not(.print-page)) .brand-block .hub-module-logo{filter:drop-shadow(0 0 12px rgba(238,246,255,.76))}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.sidebar nav>a,.sidebar-nav a,.main-nav a,.hub-back,.hub-app-back,.logout-button,.sidebar-nav .hub-back,.user-card){color:#c4d9f3!important;border-color:transparent!important;background:transparent!important;box-shadow:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.sidebar nav>a:hover,.sidebar-nav a:hover,.main-nav a:hover,.hub-back:hover,.logout-button:hover,.topbar-user:hover){background:rgba(116,182,255,.13)!important;border-color:var(--hub-border)!important;color:#fff!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.sidebar nav>a[aria-current=page],.sidebar-nav a.active,.main-nav a.active){color:#fff!important;background:linear-gradient(120deg,rgba(43,130,225,.38),rgba(38,97,173,.2))!important;border:1px solid rgba(120,192,255,.39)!important;box-shadow:inset 0 1px 0 #b7dbff14!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.topbar-user small,.brand-block strong,.brand-block span,.user-card span){color:var(--hub-muted)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) .avatar{color:#e8f5ff!important;background:linear-gradient(145deg,#2465a8,#134379)!important;border-color:#7cbcf34d!important;box-shadow:inset 0 1px 0 #e6faff24!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) .sidebar .hub-app-icon{width:28px;height:28px;margin-left:-3px}
:is(body.hub-portal, body.hub-module:not(.print-page)) .topbar-path{display:flex;align-items:center;gap:12px}
:is(body.hub-portal, body.hub-module:not(.print-page)) .topbar-path .hub-app-icon{width:30px;height:30px}
:is(body.hub-portal, body.hub-module:not(.print-page)) .hub-module-identity{display:flex!important;align-items:center;gap:10px}
:is(body.hub-portal, body.hub-module:not(.print-page)) .hub-module-identity .hub-app-icon{width:30px;height:30px}
:is(body.hub-portal, body.hub-module:not(.print-page)) .brand .hub-app-icon{width:30px!important;height:30px!important;max-width:none;margin-left:12px;filter:none}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.panel,.app-card,.card,.form-card,.site-list-card,.site-mini-card,.stat-card,.workflow-callout,.report-progress,.list-row,.timeline-list>article,.change-list>article,.check-card,.commissioning-test-card,.correlation-card,.defect-card,.toolbar-card,.project-card,.template-card,.export-card,.library-table-wrap,.install-shell,.versions-list,.ht-panel,.ht-stats>div,.ht-transfer-card,.ht-user-row,.resource-card,.kb-card,.doc-card,.category-card,.formula-panel,.reference-card,.detector-card,.canvas-empty,.ht-notice,.project-entry,.ht-list-tools,.site-profile-panel){color:var(--hub-ink)!important;background:var(--hub-pane)!important;border:1px solid var(--hub-border)!important;border-radius:20px;box-shadow:var(--hub-shadow)!important;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.app-card:hover,.project-card:hover,.resource-card:hover,.doc-card:hover){border-color:rgba(151,211,255,.66)!important;box-shadow:inset 0 1px 0 #d1edff24,0 22px 54px #00112c60!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.app-card p,.card p,.project-card p,.ht-section-title p,.ht-help,.ht-stats small,.ht-stats>div>span,.ht-optional,.ht-selection-total,.ht-transfer-meta,.ht-transfer-detail,.resource-card p,.site-mini-card p){color:var(--hub-muted)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.app-card,.project-card){text-decoration:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.app-card .app-icon,.app-card:hover .app-icon){width:64px;height:64px;background:none!important;box-shadow:none!important;border:0!important;border-radius:17px!important;padding:0!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) .app-card .hub-app-icon{width:64px;height:64px}
:is(body.hub-portal, body.hub-module:not(.print-page)) .app-card .card-action{color:#9cd6ff!important;border-color:var(--hub-border)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) .app-feature-label{display:block;font-size:9px;letter-spacing:1.7px;font-weight:700;color:#91d3ff;margin-bottom:8px}
:is(body.hub-portal, body.hub-module:not(.print-page)) .app-card-featured{background:linear-gradient(125deg,rgba(35,104,188,.6),rgba(12,51,110,.82))!important;border-color:rgba(132,205,255,.52)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) .app-card-featured .card-action{color:#e0f2ff!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) .status-dot{background:#65c6ff;box-shadow:0 0 12px #40aaff42}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=file]),select,textarea){color:var(--hub-ink)!important;background:var(--hub-input)!important;border:1px solid var(--hub-border)!important;border-radius:13px!important;box-shadow:inset 0 1px 1px #ffffff06!important;transition:border-color .18s,box-shadow .18s,background .18s}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(input,textarea)::placeholder{color:#aec4e0!important;opacity:1}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(input,textarea,select):focus{border-color:#89ceff!important;box-shadow:0 0 0 3px #68b9ff21!important;outline:none}
:is(body.hub-portal, body.hub-module:not(.print-page)) option{color:#edf6ff!important;background:#143964!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(input,select,textarea):disabled{opacity:.6;cursor:not-allowed}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:#41aaff}
:is(body.hub-portal, body.hub-module:not(.print-page)) input:-webkit-autofill{-webkit-text-fill-color:var(--hub-ink);caret-color:var(--hub-ink);transition:background-color 9999s ease-in-out 0s}
:is(body.hub-portal, body.hub-module:not(.print-page)) :focus-visible{outline:3px solid #90d4ff!important;outline-offset:3px}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.app-search,.room-search){color:var(--hub-muted)!important;background:var(--hub-input)!important;border-color:var(--hub-border)!important;border-radius:13px!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.app-search input,.room-search input){background:transparent!important;border:0!important;box-shadow:none!important;color:var(--hub-ink)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.btn,.button,.primary-btn,.ghost-btn,button.primary,button.secondary,.add-room-button){min-height:40px;border-radius:999px!important;padding:10px 17px;border:1px solid var(--hub-border)!important;background:rgba(169,210,255,.08)!important;color:var(--hub-ink)!important;box-shadow:inset 0 1px 0 #e0f3ff12!important;font-weight:600;line-height:1.35;text-decoration:none!important;transition:background .18s,border-color .18s,box-shadow .18s}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.btn:not(.secondary):not(.danger),.button.primary,.button.dark,.primary-btn,button.primary){background:var(--hub-primary)!important;color:#fff!important;border-color:#89ceff!important;box-shadow:inset 0 1px 2px #c2e9ff4d,0 7px 22px #047ef737!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.btn,.button,.primary-btn,.ghost-btn,button.primary,button.secondary,.add-room-button):hover:not(:disabled){border-color:#91ceff!important;background:rgba(145,204,255,.17)!important;transform:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.btn:not(.secondary):not(.danger),.button.primary,.button.dark,.primary-btn,button.primary):hover:not(:disabled){background:linear-gradient(105deg,#2f9fff,#1186ff 60%,#69c4ff)!important;box-shadow:inset 0 1px 2px #c2e9ff4d,0 9px 26px #0784ff55!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.btn.danger,.button.danger,.button.danger-ghost,.ghost-btn.danger,.primary-btn.danger){color:var(--hub-danger)!important;background:rgba(136,37,66,.42)!important;border-color:#ff98ad66!important;box-shadow:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.button.success,.btn.success){color:#dcffef!important;background:rgba(18,107,77,.82)!important;border-color:#72dcb278!important;box-shadow:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.btn.compact,.button.compact,.button.small,.primary-btn.compact,.ghost-btn.compact){min-height:34px;padding:7px 13px;font-size:12px}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.icon-button,.tool,.tool-button,.ht-file-download,.ssi-mini-button,.dialog-close){color:var(--hub-ink)!important;background:rgba(146,197,255,.09)!important;border:1px solid var(--hub-border)!important;border-radius:11px!important;box-shadow:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.icon-button,.tool,.tool-button,.ssi-mini-button):hover:not(:disabled){color:#fff!important;background:rgba(129,195,255,.2)!important;border-color:#86c7ff80!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.tool.active,.tool-button.active,.layer-icon-button.active){color:#bae4ff!important;background:#1e62a3a6!important;border-color:#87caff80!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.text-button,.link-button){color:#a6dbff!important;background:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(button:disabled,.button[aria-disabled=true]){opacity:.5!important;cursor:not-allowed!important;transform:none!important;box-shadow:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.tabs,.ht-tabs,.main-nav,.segmented,.anchor-tabs,.report-mobile-nav,.report-page-nav,.viewer-tabs){background:rgba(6,26,61,.44)!important;border-color:var(--hub-border)!important;box-shadow:inset 0 1px 0 #c2e9ff08!important;border-radius:14px}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.tabs a,.ht-tabs button,.segmented button,.tab,.sheet-tab,.viewer-tab,.sidebar-tabs button,.report-mobile-nav a,.report-page-nav button,.commissioning-groups button,.page-menu-list button){color:var(--hub-muted)!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.tabs a[aria-current=page],.ht-tabs button.active,.segmented button.active,.tab.active,.sheet-tab.active,.viewer-tab.active,.sidebar-tabs button.active,.report-mobile-nav a.active,.report-page-nav button.active,.commissioning-groups button.active,.page-menu-list button.active){color:#f1faff!important;background:rgba(64,146,236,.24)!important;border-color:rgba(114,194,255,.55)!important;box-shadow:inset 0 1px 0 #ceebff0f!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.table-wrap,.report-table-wrap,.data-table,.summary-table-wrap,.ssi-table-host,.ssi-table-section,.ssi-sheet-settings){color:var(--hub-ink);background:rgba(9,35,73,.68)!important;border-color:var(--hub-border)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(table th,.data-table th,.ssi-entry-table th,.ssi-entry-table th.sticky-col){color:var(--hub-muted)!important;background:#163966!important;border-color:var(--hub-border)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(table td,.ssi-entry-table td,.ssi-entry-table .sticky-col){border-color:var(--hub-border)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) .ssi-entry-table td{background:#0e305a!important;color:var(--hub-ink)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(tbody tr:hover,.ssi-entry-table tr:hover td){background:rgba(73,137,211,.12)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.ssi-entry-table tr.selected td,.ssi-module-table tr.active-module td){background:#214a7c!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(dialog,.modal-dialog,.modal-card,.dialog-shell,.dialog-content,.print-options-shell,.context-menu){color:var(--hub-ink)!important;background:linear-gradient(140deg,#214e82,#0d2b56)!important;border:1px solid rgba(154,207,255,.38)!important;border-radius:22px;box-shadow:0 28px 90px #000b306e!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) dialog::backdrop{background:rgba(1,12,34,.66)!important;backdrop-filter:blur(7px)}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.modal-header,.modal-footer,.dialog-header,.dialog-actions,.dialog-shell>header,.dialog-shell>footer,.print-options-shell>footer){color:var(--hub-ink)!important;background:rgba(13,42,82,.86)!important;border-color:var(--hub-border)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.context-menu button,.context-menu a){color:var(--hub-ink)!important;background:transparent!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.ht-dropzone,.photo-uploader,.branding-uploader){color:var(--hub-muted)!important;background:rgba(112,179,251,.07)!important;border:1px dashed #8ccaff73!important;border-radius:18px!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) .ht-dropzone:hover{background:rgba(91,174,255,.15)!important;border-color:#a8deff!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.ht-dropzone strong,.ht-dropzone b,.ht-selection-total strong,.ht-stats strong,.ht-section-title h2,.ht-file-name){color:var(--hub-ink)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.ht-step,.ht-upload-symbol,.ht-file-icon,.room-glyph,.room-badge,.count,.count-badge,.profile-icon){color:#c1e7ff!important;background:#20558d80!important;border-color:#8bcaff3d!important;box-shadow:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.ht-file,.ht-file-row,.ht-selected-file,.ht-progress-file,.ht-advanced,.ht-transfer-footer,.ht-transfer-head,.ht-meta-grid,.ht-detail-files,.ht-selection-total){color:var(--hub-ink)!important;background:rgba(105,164,231,.05)!important;border-color:var(--hub-border)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) progress{accent-color:#49b5ff}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.ht-help a,.ht-warning a,.ht-link-row a){color:#b4dfff!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.item-card,.item-body,.item-card>summary,.parameter-card,.system-state-card,.switch-card,.inline-item,.test-panel,.result-matrix,.measurement-grid,.quick-test-strip,.module-toolbar,.check-section-toolbar,.module-tile,.scenario-actions,.scenario-action,.site-summary-strip,.site-summary-strip a,.technical-details,.technical-details>summary,.summary-columns,.summary-columns>div,.technical-kpis>div,.correlation-card>header,.commissioning-test-card>header,.commissioning-summary article,.commissioning-toolbar,.commissioning-queue,.commissioning-queue button,.campaign-value-with-unit em,.scenario-guidance article,.scenario-chain,.site-profile-panel>header,.validation-summary>div,.validation-group,.validation-group>header,.document-row,.print-option-card,.print-preset-bar,.print-option-card:has(input:checked),.user-list article,.library-item,.port-editor-row,.connection-endpoint-card,.multi-connection-panel,.sheet-settings-group,.sheet-checkbox,.ssi-sheet-button,.ssi-symbol-category,.ssi-subtable-heading,.ssi-table-toolbar,.ssi-preview-panel>footer,.ssi-validation-panel){color:var(--hub-ink)!important;background:var(--hub-soft)!important;border-color:var(--hub-border)!important;box-shadow:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.room-item,.library-group-title,.project-entry .title-button,.project-totals,.inspector,.room-details,.room-details small,.sidebar-bottom .text-button){color:var(--hub-muted)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.room-item.active,.room-item:hover,.library-item:hover,.ssi-sheet-button.active,.module-tile.active,.commissioning-queue button.active){color:var(--hub-ink)!important;background:rgba(67,146,235,.22)!important;border-color:#83c7ff66!important;box-shadow:none!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.rooms-panel h2,.project-totals>div>span,.inspector strong,.room-item strong){color:var(--hub-ink)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.result-button,.campaign-result):not(.active){color:var(--hub-muted)!important;background:rgba(130,187,245,.08)!important;border-color:var(--hub-border)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.result-button.ok.active,.campaign-result.ok.active){color:#ecfff7!important;background:#19664e!important;border-color:#75dab4!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.result-button.ko.active,.campaign-result.ko.active){color:#fff1f3!important;background:#91334e!important;border-color:#ff9fb5!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.result-button.na.active,.result-button.not_checked.active,.campaign-result.na.active,.campaign-result.not_checked.active,.campaign-result.not_accessible.active){color:#ffedc6!important;background:#6e5428!important;border-color:#e0b965!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.notice.error,.ht-notice.ht-error,.ht-notice.error,.flash.error,.alert.error,.toast.error,.chip.error,.result-status.error,.validation-item.error){color:#ffe0e6!important;background:rgba(100,32,60,.86)!important;border-color:#ee9aab6b!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.notice.success,.ht-notice.ht-success,.flash.success,.alert.success,.toast.success,.chip.success,.validation-ok){color:#c8ffe7!important;background:rgba(16,75,64,.86)!important;border-color:#72d7b26b!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.notice.warning,.ht-warning,.flash.warning,.alert.warning,.chip.warning,.result-status.warning,.inline-notice,.inactive-banner,.correlation-warnings,.ssi-validation-item.warning){color:#ffe4af!important;background:rgba(87,67,34,.88)!important;border-color:#f5ce825e!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.notice.info,.flash.info,.alert.info,.notice:not(.error):not(.success):not(.warning),.toast:not(.error):not(.success),.empty-state){color:var(--hub-ink)!important;background:#163e71!important;border-color:var(--hub-border)!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(pre,code,kbd,.token-value){color:#d6ebff!important;background:rgba(2,19,49,.6)!important;border-color:var(--hub-border)!important}

body.hub-detecteurs .canvas-wrap{background:#f7faff!important;color:#203449;--ink:#203449;--muted:#738194;--line:#e3e9ef;--blue:#397fba;--paper:#fff;--bg:#f4f7fa;color-scheme:light}
body.hub-detecteurs .canvas-wrap :is(.canvas-legend,.canvas-zoom,.canvas-empty,.busy){--hub-ink:#edf6ff;--hub-muted:#bed3ed;--hub-input:#26466a;--hub-border:#507bab;background:rgba(10,43,86,.94)!important;color:#edf6ff!important}
body.hub-synoptique .canvas-viewport{background:#d9e2ee!important}
body.hub-synoptique :is(.canvas-world,.ssi-preview-paper,.viewer-canvas){color:#172033;--text:#172033;--muted:#667085;--surface:#fff;--surface-2:#f8fafc;--border:#dbe2ea;--primary:#2457d6;--danger:#c62828;--success:#137547;color-scheme:light}
body.hub-synoptique :is(.canvas-world,.ssi-preview-paper){background-color:#fff!important}
body.hub-reports :is(.signature-card canvas,.profile-signature-card canvas,.branding-preview){background:#fff!important;color-scheme:light}
body.hub-reports :is(.report-document,.settings-report-preview){--navy-950: #071a2b;--navy-900: #0b2239;--navy-800: #10324f;--navy-700: #194565;--blue-600: #1769aa;--blue-500: #2381c4;--blue-100: #e8f3fb;--red-700: #a9272c;--red-600: #c43b40;--red-100: #fcebec;--green-700: #15704b;--green-600: #1d8a5e;--green-100: #e7f7f0;--amber-700: #99600b;--amber-600: #b97912;--amber-100: #fff4da;--slate-950: #17202b;--slate-800: #334155;--slate-700: #475569;--slate-600: #64748b;--slate-500: #7b8a9d;--slate-400: #a7b1bf;--slate-300: #cbd3dd;--slate-200: #e1e6ec;--slate-150: #edf0f4;--slate-100: #f3f5f8;--slate-50: #f8fafc;--white: #fff;--shadow-xs: 0 1px 2px rgba(7, 26, 43, .06);--shadow-sm: 0 4px 14px rgba(7, 26, 43, .08);--shadow-md: 0 12px 32px rgba(7, 26, 43, .12);--radius-sm: 8px;--radius-md: 13px;--radius-lg: 19px;--radius-xl: 26px;--touch: 46px;--content: 1480px;--sidebar: 274px;--bottom-nav: 68px;--hub-ink:#172337;--hub-muted:#6d7a8d;--hub-border:#d9e2ec;--hub-input:#fff;--hub-soft:#f3f6fa;--hub-pane:#fff;color:#172337!important;background:#fff!important;color-scheme:light}
body.hub-reports .report-document :is(th,.report-table th){background:#edf2f7!important;color:#243b53!important}

@media(min-width:1150px){body.hub-portal .app-card-featured{grid-column:span 2;display:grid;grid-template-columns:72px minmax(0,1fr);column-gap:24px;align-items:center;min-height:220px}body.hub-portal .app-card-featured .card-action{grid-column:1/-1}body.hub-portal .app-card-featured h2{font-size:25px}}
@media(max-width:900px){
:is(body.hub-portal, body.hub-module:not(.print-page))::before{background:linear-gradient(140deg,rgba(3,20,53,.55),rgba(4,22,58,.6)),url('huber-wallpaper-mobile.webp') center/cover no-repeat!important}
:is(body.hub-portal, body.hub-module:not(.print-page)) :is(.sidebar,.rooms-panel,.inspector){background:rgba(7,29,66,.97)!important}
body.hub-synoptique .brand .hub-app-icon{margin-left:8px}
}
@media(max-width:650px){body.hub-portal .app-card-featured{grid-column:auto}body.hub-detecteurs .brand .hub-app-icon{display:none}body.hub-synoptique .brand .hub-app-icon{width:27px!important;height:27px!important}}
@media(prefers-reduced-motion:reduce){
:is(body.hub-portal, body.hub-module:not(.print-page)) *{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}
}
@media print{.hub-app-icon{display:none!important}}

@media screen and (max-width:900px){
body.hub-synoptique.editor-page .editor-app{width:100%;min-width:0;max-width:100vw;overflow:hidden}
body.hub-synoptique.editor-page .editor-toolbar{min-width:0;max-width:100vw}
body.hub-synoptique.editor-page .editor-main{min-width:0;overflow:hidden}
body.hub-synoptique.ssi-editor-page .app-header{height:auto;min-height:88px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 12px}
body.hub-synoptique.ssi-editor-page .app-header .brand{grid-column:1;grid-row:1}
body.hub-synoptique.ssi-editor-page .app-header .header-user{grid-column:2;grid-row:1;margin:0}
body.hub-synoptique.ssi-editor-page .app-header .main-nav{position:static;grid-column:1/-1;grid-row:2;justify-content:flex-start;overflow:auto;margin:0;transform:none}
}
@media screen{body.hub-portal .app-search input{background:transparent!important;border:0!important;box-shadow:none!important}}

/* Huber 6: contrast pairs and a single navigation anchor. Screen only. */
@media screen {
:root{--hub-nav-height:56px}
body.hub-with-nav{padding-top:var(--hub-nav-height)!important;box-sizing:border-box}
.hub-global-nav{position:fixed;inset:0 0 auto 0;height:var(--hub-nav-height);z-index:1200;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 20px;box-sizing:border-box;background:#081e3b;border-bottom:1px solid #42668e;color:#f1f7ff;font:600 14px/1.3 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.hub-portal-return{display:inline-flex;align-items:center;gap:9px;min-height:40px;padding:0 13px;background:#193b62;color:#f6faff!important;border:1px solid #658cb6;border-radius:999px;text-decoration:none!important;white-space:nowrap;flex-shrink:0}
.hub-portal-return:hover{background:#255383;color:#fff!important;border-color:#b2d8ff}
.hub-portal-return:focus-visible{outline:3px solid #c2e6ff;outline-offset:2px}
.hub-global-current{display:flex;align-items:center;gap:9px;min-width:0;color:#d3e5fa}
.hub-global-current .hub-app-icon{width:28px;height:28px}
.hub-global-current>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.hub-with-nav.hub-portal>.sidebar,body.hub-with-nav.hub-reports .sidebar{top:var(--hub-nav-height)!important;height:calc(100dvh - var(--hub-nav-height))!important}
body.hub-with-nav.hub-portal .topbar,body.hub-with-nav.hub-reports .topbar,body.hub-with-nav.hub-synoptique .app-header{top:var(--hub-nav-height)!important}
body.hub-with-nav.hub-detecteurs .app-shell{height:calc(100dvh - var(--hub-nav-height));min-height:620px}
body.hub-with-nav.hub-synoptique.editor-page{height:100dvh}
body.hub-with-nav.hub-synoptique .editor-app,body.hub-with-nav.hub-synoptique .ssi-editor-app{height:calc(100dvh - var(--header-height) - var(--hub-nav-height))}
body.hub-with-nav.hub-portal .sidebar nav{overflow-y:auto;min-height:0}
:is(body.hub-portal,body.hub-module:not(.print-page)){
 --hub-primary:linear-gradient(110deg,#07529b,#1264ac);--hub-pane:linear-gradient(145deg,rgba(25,61,106,.96),rgba(9,34,72,.97));
 --hub-ink:#f0f6ff;--hub-muted:#c0d2e9;--hub-input:#193b63;--hub-soft:#16365c;--hub-border:#4c719b;
}
/* Complete foreground/background pairs prevent old light hover rules from leaking. */
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.kb-category,.doc-row,.kb-layout .toc,.attachment,.stat,.metric-card,.result-card,.empty-list,.shortcut-card,.preview-info,.mini-card,.checkbox-card,.ssi-group-header,.template-card-body,.form-section,.form-section-heading,.connection-hint,.connection-empty,.help-box,.sheet-format-presets,.section-subheader,.data-card,.calculation-card,.material-card){color:var(--hub-ink)!important;background:#15375e!important;border-color:var(--hub-border)!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.kb-category,.doc-row,.attachment,.template-card,.library-item,.project-entry,.ht-file-row,.data-card,.material-card):hover{color:#fff!important;background:#224b7c!important;border-color:#96c5f5!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.kb-category,.doc-row,.attachment,.stat,.metric-card,.result-card,.empty-list,.template-card,.data-card,.material-card)::before{background:none!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.kb-category strong,.kb-category .icon,.doc-row h3,.doc-row h3 a,.attachment strong,.section-title h2,.kb-article,.kb-article th,.kb-article td,.result-value,.value-large){color:var(--hub-ink)!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.kb-category small,.doc-row small,.doc-row p,.section-title>span,.kb-meta,.attachment small,.result-label,.result-note,.toolbar-hint,.project-date,.owner-line,.project-subtitle,.project-stats dt,.stat>span,.stat small){color:var(--hub-muted)!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.kb-article a,.toc a,.pagination a,.source-note a,.link-button,.text-button){color:#b6dcff!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.kb-article blockquote,.kb-article pre,.kb-article code,.kb-article th,.kb-article tr:nth-child(even),.kb-article tbody tr:hover,.toc,.search-result,.search-result:hover){color:#edf6ff!important;background:#102d51!important;border-color:#5279a5!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.btn:not(.secondary):not(.danger),.button.primary,.button.dark,.primary-btn,button.primary):hover:not(:disabled){color:#fff!important;background:linear-gradient(110deg,#105ea5,#1668ad)!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(input,select,textarea,button,.button,.btn):disabled,:is(body.hub-portal,body.hub-module:not(.print-page)) [aria-disabled="true"]{opacity:1!important;color:#b3c6dd!important;background:#203852!important;border-color:#55708e!important;box-shadow:none!important;cursor:not-allowed}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.badge,.status-badge,.origin-badge,.tag,.chip,.pill,.connection-label-editor,.selected-count){color:#deefff!important;background:#244b76!important;border-color:#789fc7!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.badge.warn,.status-review,.origin-badge.custom,.badge.warning,.status-pending){color:#ffe8b9!important;background:#62471d!important;border-color:#c3a264!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.badge.success,.badge.ok,.status-approved,.status-as_built,.result-status:not(.error):not(.warning)){color:#d5ffea!important;background:#15533e!important;border-color:#78c6a4!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.badge.danger,.badge.error,.status-rejected){color:#ffe0e6!important;background:#752d46!important;border-color:#de95a7!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.segmented .active,.tabs [aria-current="page"],.tabs .active,.tab.active,.ht-tabs button.active,.sheet-tab.active,.template-card:has(input:checked)){color:#fff!important;background:#245c99!important;border-color:#a3d0ff!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.ssi-table input,.ssi-table select,.ssi-editor-table input,.ssi-editor-table select){color:#f0f6ff!important;background:#193b63!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(.error-list,.danger-link){color:#ffb9c8!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) :is(tbody tr:hover,tbody tr:nth-child(even)):not(.print-page *){background:#183e68!important}
:is(body.hub-portal,body.hub-module:not(.print-page)) input::file-selector-button{color:#f1f7ff;background:#204d7e;border:1px solid #719ac4;border-radius:10px;padding:10px;cursor:pointer}
body.hub-portal .kb-category{border:1px solid #527ba9;border-radius:20px;box-shadow:var(--hub-shadow);text-decoration:none}
body.hub-portal .doc-row{border-radius:12px;padding:16px 12px;transition:background .15s}
body.hub-portal .doc-row a:focus-visible,body.hub-portal .kb-category:focus-visible{outline:3px solid #c1e4ff;outline-offset:3px}
/* Canvas and printable document surfaces intentionally retain dark ink on paper. */
body.hub-reports :is(.report-document,.settings-report-preview) :is(th,td,p,span,small,strong,div,h1,h2,h3){color:inherit}
body.hub-reports :is(.report-document,.settings-report-preview) :is(tbody tr:hover,tbody tr:nth-child(even)){background:#f1f4f8!important;color:#172337!important}
@media(max-width:1000px){
 body.hub-with-nav.hub-synoptique .ssi-editor-app{height:auto;min-height:calc(100dvh - var(--header-height) - var(--hub-nav-height))}
 body.hub-with-nav.hub-synoptique .ssi-preview-panel{top:calc(var(--header-height) + 56px + var(--hub-nav-height))}
}
@media(max-width:900px){
 body.hub-with-nav.hub-detecteurs .app-shell{height:auto;min-height:calc(100dvh - var(--hub-nav-height))}
 body.hub-with-nav.hub-synoptique.editor-page .editor-app{height:calc(100dvh - var(--hub-nav-height))}
}
@media(max-width:650px){
 .hub-global-nav{padding:0 10px;gap:8px;font-size:12px}
 .hub-portal-return{padding:0 10px;gap:7px;min-height:42px}
 .hub-global-current{font-size:11px;gap:6px}
 .hub-global-current .hub-app-icon{width:25px;height:25px}
 body.hub-with-nav.hub-detecteurs .topbar{top:var(--hub-nav-height)}
}
}
@media print{.hub-global-nav{display:none!important}body.hub-with-nav{padding-top:0!important}}

/* UI6 contrast completion: disclosure blocks, rich-text editing and code previews. */
@media screen {
 :is(body.hub-portal,body.hub-module:not(.print-page)) :is(details.ht-method,.kb-editor,.kb-editor-toolbar,.kb-article pre,.kb-article code,.kb-article blockquote){background:#133355!important;color:#e8f2ff!important;border-color:#587d9e!important}
 :is(body.hub-portal,body.hub-module:not(.print-page)) details.ht-method{padding:14px 16px;border-radius:12px}
 :is(body.hub-portal,body.hub-module:not(.print-page)) details.ht-method>summary{background:transparent!important;color:#e8f2ff!important;min-height:36px;display:list-item}
 :is(body.hub-portal,body.hub-module:not(.print-page)) details.ht-method>summary:hover{color:#fff!important}
}
@media screen {
 :is(body.hub-portal,body.hub-module:not(.print-page)) .skip{color:#112c4b!important;background:#f0f6ff!important;z-index:2000}
 :is(body.hub-portal,body.hub-module:not(.print-page)) details{color:var(--hub-ink)!important;background:#133355!important;border-color:#587d9e!important}
 :is(body.hub-portal,body.hub-module:not(.print-page)) details>summary{color:var(--hub-ink)!important;background:transparent!important}
 :is(body.hub-portal,body.hub-module:not(.print-page)) :is(.ht-dropzone>span,.ht-advanced small,.ht-advanced summary,#scale-label,#mode-label){color:#c6daf0!important}
 :is(body.hub-portal,body.hub-module:not(.print-page)) :is(.step-number,.library-group-title){color:#eff6ff!important;background:#1e4774!important;border-color:#648bac!important}
 :is(body.hub-portal,body.hub-module:not(.print-page)) .canvas-empty-hint :is(strong,span){color:#344860!important}
}
@media screen {
 :is(body.hub-portal,body.hub-module:not(.print-page)) .topbar-title>span{color:#d4e3f5!important}
 :is(body.hub-portal,body.hub-module:not(.print-page)) #canvas-empty p{color:#ccdef2!important}
}

/* V7 shared additions */
.hub-beta{display:inline-flex!important;align-items:center;vertical-align:middle;margin-left:6px;padding:2px 7px;border-radius:5px;background:#fcd34d!important;color:#172554!important;font-size:10px;font-weight:800;letter-spacing:.06em;white-space:nowrap;line-height:1.5}
.hub-background-preview{display:block;max-width:700px;width:100%;height:240px;object-fit:cover;border-radius:14px;margin:18px 0}
.hub-module-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.hub-module-tabs a[aria-current="page"]{background:#19529b!important;color:#fff!important;border-color:#93c5fd!important}
.hub-module-tabs img{width:23px;height:23px;margin-right:7px}
.ht-formula{border-left:3px solid #7dbbff;background:#0c284f;color:#f1f5fb;padding:12px 14px;margin:10px 0;overflow-wrap:anywhere}
.ht-formula code{display:block;white-space:pre-wrap;color:inherit;background:none}
#html-editor{color:#172b45!important;background:#f8fafc!important;min-height:340px;line-height:1.65;padding:20px;font-size:16px;overflow-wrap:anywhere}
#html-editor :is(p,li,div,span,strong,em,td,th,blockquote,h2,h3,h4){color:inherit!important}
#html-editor a{color:#124a90!important;text-decoration:underline}
#html-editor img{max-width:100%;height:auto;border-radius:6px;display:block;margin:12px 0}
#html-editor table{color:#172b45!important;background:#fff!important;border-collapse:collapse;width:100%}
#html-editor :is(td,th){border:1px solid #94a3b8!important;padding:8px;background:#fff!important}
#html-editor ::selection{background:#bfdbfe;color:#10233e}
.editor-toolbar{position:sticky;top:54px;z-index:5;gap:6px;flex-wrap:wrap;padding:10px!important;background:#102b52!important}
#body-source{font-family:ui-monospace,monospace!important;background:#071b34!important;color:#f1f5f9!important}
@media print{.hub-beta,.editor-toolbar{display:none!important}}

.ht-receive-file{grid-template-columns:auto auto minmax(0,1fr) auto!important}.ht-receive-file input[type=checkbox]{width:18px;height:18px;accent-color:#77b7ff}#kb-zip>.buttons{flex-wrap:nowrap}#kb-zip .attachment{flex:1;min-width:0}.html-editor img{max-width:100%;height:auto}

/* SSI symbol editor: identical white preview surface to printed diagrams. */
.ssi-symbol-row{grid-template-columns:50px minmax(180px,2fr) minmax(90px,1fr) 65px minmax(100px,1fr) minmax(160px,1.5fr) auto!important;align-items:start!important}.ssi-symbol-preview{display:grid!important;place-items:center;background:#fff!important;color:#111!important;width:48px!important;height:48px!important}.ssi-symbol-row small{color:#bdcce0!important}.ssi-symbol-image input{max-width:210px}.ssi-symbol-row select{min-width:90px}@media(max-width:1100px){.ssi-symbol-row{grid-template-columns:50px minmax(150px,1fr) minmax(100px,1fr)!important}.ssi-symbol-image{grid-column:2/-1}}@media print{.ssi-symbol-preview{color:#111!important}}

/* V7 field and mobile symbol completion. Native checkboxes must not inherit text input height. */
@media screen {
 :is(body.hub-portal,body.hub-module:not(.print-page)) input:is([type="checkbox"],[type="radio"]){width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-height:18px!important;padding:0!important;display:inline-block!important;flex:0 0 18px!important;box-shadow:none!important;accent-color:#7fc8ff;background:transparent!important;vertical-align:middle}
 body.hub-detecteurs .check-field{display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;font-size:12px!important;line-height:1.5!important}
 body.hub-detecteurs .source-note{color:#d3e3f5!important;font-size:12px!important;line-height:1.55!important;border-left-color:#8fc5fd!important}
 body.hub-detecteurs .metric-status:not(.error) .metric-value{color:#a3f5cf!important}
 body.hub-detecteurs .metric-status.error .metric-value{color:#ffc4d1!important}
 body.hub-synoptique .ssi-symbol-category{color:#ecf5ff!important;background:#183c64!important}
 body.hub-synoptique .ssi-symbol-image input[type="file"]{color:#e8f2ff!important;background:#123357!important;max-width:100%;border:1px solid #6184aa;padding:6px;font-size:12px!important}
}
@media screen and (max-width:640px){
 body.hub-synoptique .ssi-symbol-row{grid-template-columns:44px minmax(0,1fr)!important}
 body.hub-synoptique .ssi-symbol-row>label{display:flex!important;flex-direction:column;grid-column:2!important;min-width:0}
 body.hub-synoptique .ssi-symbol-row>button{grid-column:2}
 body.hub-synoptique .ssi-symbol-row :is(input,select){min-width:0!important;max-width:100%;font-size:13px!important}
 body.hub-synoptique .ssi-symbol-row input[type="color"]{width:100%;min-height:40px}
 body.hub-synoptique .ssi-symbol-row .ssi-symbol-preview{grid-row:1/span 2}
}
