/* HUB 0.1.5 | Dashnix 1.0 integration. Keep Bootstrap components and both theme attributes in sync. */
/* 1. Colour tokens, local typography and accessibility. */
:root,[data-bs-theme=light]{--hub-sidebar-width:260px;--hub-header-height:74px;--hub-accent:#4f46e5;--hub-accent-soft:rgba(79,70,229,.1);--hub-ink:#08062d;--hub-muted:#69758b;--hub-surface:#fff;--hub-canvas:#f8f7fa;--hub-line:#e6e8ee;--hub-hover:#f4f3fa;--hub-shadow:0 2px 6px rgba(28,21,67,.045);--bs-primary:#4f46e5;--bs-primary-rgb:79,70,229;--bs-body-bg:var(--hub-canvas);--bs-body-color:var(--hub-ink);--bs-secondary-color:var(--hub-muted);--bs-tertiary-bg:var(--hub-hover);--bs-secondary-bg:#efedf6;--bs-border-color:var(--hub-line);--bs-link-color:#4f46e5;--bs-link-color-rgb:79,70,229;--bs-link-hover-color:#3930bc;--bs-link-hover-color-rgb:57,48,188;--bs-emphasis-color:var(--hub-ink);--bs-emphasis-color-rgb:8,6,45;--bs-heading-color:var(--hub-ink);--bs-body-color-rgb:8,6,45;--ff-body:ui-rounded,'Segoe UI',system-ui,-apple-system,sans-serif;--ff-title:var(--ff-body);--ff-p:var(--ff-body)}
:root[data-theme-mode=dark]{--hub-ink:#d1d4df;--hub-muted:#9aa7b3;--hub-surface:#05041b;--hub-canvas:#020109;--hub-line:#24253d;--hub-hover:#141329;--hub-accent:#a49aff;--hub-accent-soft:rgba(130,112,248,.14);--hub-shadow:0 2px 6px rgba(0,0,0,.12);--bs-body-bg:var(--hub-canvas);--bs-body-bg-rgb:2,1,9;--bs-body-color:var(--hub-ink);--bs-body-color-rgb:209,212,223;--bs-secondary-color:var(--hub-muted);--bs-emphasis-color:var(--hub-ink);--bs-emphasis-color-rgb:209,212,223;--bs-secondary-bg:#18172e;--bs-tertiary-bg:var(--hub-hover);--bs-border-color:var(--hub-line);--bs-border-color-translucent:var(--hub-line);--bs-link-color:var(--hub-accent);--bs-link-color-rgb:164,154,255;--bs-link-hover-color:#c8c0ff;--bs-link-hover-color-rgb:200,192,255;--bs-heading-color:var(--hub-ink);--color-heading:var(--hub-ink);--color-body:var(--hub-ink);--color-border:var(--hub-line)}
html{font-size:16px}body.hub-ui{margin:0;min-height:100vh;font-family:var(--ff-body);font-size:14px;line-height:1.55;color:var(--hub-ink);background:var(--hub-canvas);letter-spacing:0}
.hub-ui *{box-sizing:border-box}.hub-ui [hidden]{display:none!important}.hub-ui h1,.hub-ui h2,.hub-ui h3,.hub-ui h4,.hub-ui h5,.hub-ui h6{color:var(--hub-ink);font-weight:650;letter-spacing:-.015em}.hub-ui p{color:inherit}.hub-ui a{color:var(--bs-link-color);text-decoration:none}.hub-ui a:hover{color:var(--bs-link-hover-color)}.hub-ui :focus-visible{outline:3px solid var(--hub-accent);outline-offset:3px}.hub-ui a,.hub-ui button,.hub-ui input,.hub-ui select,.hub-ui textarea{transition:background-color .15s,color .15s,border-color .15s,box-shadow .15s}.hub-ui .small,.hub-ui small{font-size:12px}.hub-icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}.hub-skip{position:fixed;top:-100px;left:15px;padding:10px 20px;z-index:3000;background:var(--hub-surface)}.hub-skip:focus{top:10px}
.hub-icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:38px;height:38px;padding:7px;border:0;border-radius:6px;background:transparent;color:var(--hub-muted);cursor:pointer;line-height:1}.hub-icon-button:hover{background:var(--hub-hover);color:var(--hub-accent)}.hub-icon-sun{display:none}[data-theme-mode=dark] .hub-icon-sun{display:block}[data-theme-mode=dark] .hub-icon-moon{display:none}
/* 2. Dashnix sidebar, compact groups, context selectors and header. */
.hub-page{min-height:100vh}.hub-sidebar.app-sidebar{width:var(--hub-sidebar-width);background:var(--hub-surface);border-right:1px solid var(--hub-line);height:100dvh;z-index:1040;display:flex;flex-direction:column;transition:transform .18s ease}
.hub-sidebar .app-sidebar-header{position:static;width:100%;height:var(--hub-header-height);min-height:var(--hub-header-height);display:flex!important;padding:16px 20px;background:var(--hub-surface);border:0;border-bottom:1px solid var(--hub-line);justify-content:space-between}.hub-brand{display:flex;align-items:center;gap:10px;min-width:0;color:var(--hub-ink)!important}.hub-brand-mark{display:grid;place-items:center;width:35px;height:40px;flex-shrink:0}.hub-brand-mark img{width:30px;height:30px}.hub-brand-name{font-size:17px;font-weight:750;letter-spacing:-.025em;white-space:nowrap}.hub-brand-name b{color:var(--hub-accent);font-weight:750}.hub-brand-name small{display:block;font-size:10px;letter-spacing:.035em;color:var(--hub-muted);font-weight:400}.hub-sidebar .app-sidebar-wrapper{flex:1;height:auto;min-height:0;position:static;margin:0;padding:12px 10px 16px!important;border:0;background:var(--hub-surface);overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--hub-line) transparent}.hub-sidebar .app-sidebar-main-menu{list-style:none;padding:0;margin:0}.hub-sidebar .sidebar-menu-category{padding:18px 15px 8px;font-size:10px;font-weight:700;letter-spacing:.12em;color:var(--hub-muted)}
.hub-sidebar .sidebar-menu-item{display:flex;width:100%;align-items:center;gap:10px;border:0;border-radius:6px;background:transparent;color:var(--hub-muted);padding:10px 13px;margin:2px 0;font-size:13px;line-height:1.4;text-align:left;min-height:40px}.hub-sidebar .sidebar-menu-label{color:inherit;white-space:normal;font-size:13px;font-weight:550}.hub-sidebar .side-menu-icon{display:inline-flex;color:inherit;width:21px}.hub-sidebar .side-menu-icon svg{width:20px;height:20px}.hub-sidebar .side-menu-icon svg *{fill:none!important;stroke:currentColor}.hub-sidebar .sidebar-menu-item:hover,.hub-sidebar .sidebar-menu-item.active{background:var(--hub-accent-soft);color:var(--hub-accent)}.hub-sidebar .sidebar-menu-item.active .sidebar-menu-label{color:var(--hub-accent)}.hub-sidebar .hub-menu-toggle[aria-expanded=true]{color:var(--hub-ink)}.hub-menu-chevron{margin-left:auto;width:13px;height:13px;transition:transform .15s}.hub-menu-toggle[aria-expanded=true] .hub-menu-chevron{transform:rotate(90deg)}.hub-submenu{list-style:none;margin:0;padding:2px 0 4px 27px}.hub-submenu .sidebar-menu-item{font-size:12px;padding:8px 12px;min-height:34px;gap:9px}.hub-submenu .sidebar-menu-item:before{content:'';width:5px;height:5px;border:1px solid currentColor;border-radius:50%;flex-shrink:0}.hub-submenu .sidebar-menu-item.active:before{background:currentColor}.hub-menu-search{display:flex;align-items:center;gap:8px;color:var(--hub-muted);padding:0 8px;margin:0 0 10px;border:1px solid var(--hub-line);border-radius:6px}.hub-menu-search .hub-icon{width:17px;height:17px}.hub-menu-search input{border:0!important;background:transparent!important;box-shadow:none!important;min-height:35px;font-size:12px;padding:6px 0}.hub-sidebar-foot{padding:13px 22px;border-top:1px solid var(--hub-line);font-size:11px;color:var(--hub-muted);display:flex;justify-content:space-between;gap:10px}.hub-mobile-close{display:none}
.hub-header.app-header-area{position:fixed;top:0;left:var(--hub-sidebar-width);right:0;width:auto;padding:0;z-index:1020;min-height:var(--hub-header-height);background:var(--hub-surface);border-bottom:1px solid var(--hub-line);box-shadow:none}.hub-header-inner{display:flex;align-items:center;min-height:var(--hub-header-height);gap:12px;padding:12px 24px;flex-wrap:wrap}.hub-header-title{font-size:13px;color:var(--hub-muted);white-space:nowrap}.hub-context{display:flex;gap:10px;align-items:center;margin-left:auto;min-width:0}.hub-context-field{display:flex;flex-direction:column;gap:2px;min-width:0}.hub-context-field label{font-size:9px;letter-spacing:.06em;text-transform:uppercase;font-weight:650;color:var(--hub-muted)}.hub-context select.form-select{width:175px;max-width:100%;min-height:28px;height:28px;font-size:12px;padding:2px 25px 2px 0;border:0;background-color:transparent;color:var(--hub-ink);border-radius:0;line-height:1.4}.hub-header-actions{display:flex;align-items:center;gap:6px}.hub-timer{display:inline-flex;gap:6px;align-items:center;background:var(--hub-accent-soft);border-radius:5px;padding:8px 10px;font-size:11px;white-space:nowrap;font-weight:650;font-variant-numeric:tabular-nums;color:var(--hub-accent)!important}.hub-timer .hub-icon{width:16px;height:16px}.hub-alert-count{position:absolute;right:1px;top:0;display:grid;place-items:center;min-width:15px;height:15px;border-radius:20px;background:#e63232;color:#fff;font-size:9px;padding:0 3px}.hub-profile{border:0;padding:0 0 0 6px;background:transparent;display:flex;align-items:center;gap:9px;color:var(--hub-ink);text-align:left}.hub-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--hub-accent-soft);color:var(--hub-accent);font-weight:750;font-size:13px}.hub-profile-meta{max-width:110px;overflow:hidden;text-overflow:ellipsis;font-size:12px;white-space:nowrap;line-height:1.3}.hub-profile-meta small{display:block;color:var(--hub-muted);font-size:10px}.hub-profile .hub-icon{width:12px;height:12px;transform:rotate(90deg)}
.hub-main.app-content-area{padding:0;margin:var(--hub-header-height) 0 0 var(--hub-sidebar-width);min-height:calc(100vh - var(--hub-header-height));display:flex;flex-direction:column}.hub-content{padding:26px;max-width:1800px;width:100%;margin:0 auto;flex:1;min-width:0}.hub-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}.hub-heading{font-size:23px;font-weight:700;margin:0 0 6px!important;letter-spacing:-.025em}.hub-subtitle{font-size:13px;color:var(--hub-muted);max-width:880px}.hub-breadcrumb{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:var(--hub-muted);margin-top:8px}.hub-breadcrumb .hub-icon{width:10px;height:10px}.hub-footer{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;border-top:1px solid var(--hub-line);padding:14px 26px;background:var(--hub-surface);font-size:11px;color:var(--hub-muted)}.hub-footer strong{color:var(--hub-ink);font-weight:600}
.hub-nav-collapsed .hub-sidebar{transform:translateX(-100%)}.hub-nav-collapsed .hub-header{left:0}.hub-nav-collapsed .hub-main{margin-left:0}.hub-sidebar-backdrop{display:none}
/* 3. Cards, tables, state badges, form controls, dialogs and every existing module. */
.hub-ui .card{display:block;background:var(--hub-surface);border:1px solid var(--hub-line);border-radius:8px;padding:0;box-shadow:var(--hub-shadow);margin-bottom:0;color:var(--hub-ink)}.hub-ui .card.shadow-sm{box-shadow:var(--hub-shadow)!important}.hub-ui .card-body{padding:22px}.hub-ui .card.mb-4{margin-bottom:24px!important}.hub-card-head{margin-bottom:20px}.hub-card-head h5{font-size:16px;line-height:1.4;margin:0 0 4px}.hub-card-head p{margin:0;color:var(--hub-muted);font-size:12px;line-height:1.6}.hub-ui .alert{font-size:13px;line-height:1.6;border-radius:6px;padding:13px 16px;margin:0 0 20px;overflow-wrap:anywhere}.hub-ui .alert-danger{color:var(--bs-danger-text-emphasis);background:var(--bs-danger-bg-subtle);border:1px solid var(--bs-danger-border-subtle)}.hub-ui .alert-warning{color:var(--bs-warning-text-emphasis);background:var(--bs-warning-bg-subtle);border:1px solid var(--bs-warning-border-subtle)}.hub-ui .alert-success{color:var(--bs-success-text-emphasis);background:var(--bs-success-bg-subtle);border:1px solid var(--bs-success-border-subtle)}.hub-ui .alert-info{color:var(--bs-info-text-emphasis);background:var(--bs-info-bg-subtle);border:1px solid var(--bs-info-border-subtle)}.hub-ui .alert p{color:inherit}.hub-ui .text-bg-success{background:#198754!important;color:#fff!important}.hub-ui .text-bg-secondary{background:#657087!important;color:#fff!important}.hub-ui .text-bg-danger{background:#bf3040!important;color:#fff!important}.hub-ui .badge{font-weight:600;font-size:10px;border-radius:4px;line-height:1.45;white-space:normal}.hub-ui .btn{min-height:37px;font-size:13px;font-weight:550;padding:8px 15px;line-height:1.4;border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:normal;box-shadow:none}.hub-ui .btn .hub-icon{width:16px;height:16px}.hub-ui .btn-sm{font-size:12px;min-height:31px;padding:5px 10px}.hub-ui .btn-lg{min-height:44px}.hub-ui .btn-primary{background:#4f46e5!important;border-color:#4f46e5!important;color:#fff!important;box-shadow:0 3px 7px rgba(79,70,229,.13)}.hub-ui .btn-primary:hover{background:#433ac8!important;border-color:#433ac8!important}.hub-ui .btn-outline-primary{border-color:var(--hub-accent);background:transparent;color:var(--hub-accent)}.hub-ui .btn-outline-primary:hover{background:var(--hub-accent-soft);color:var(--hub-accent)}.hub-ui .btn-outline-secondary,.hub-ui .btn-outline-dark{border-color:var(--hub-line);color:var(--hub-muted);background:transparent}.hub-ui .btn-outline-secondary:hover,.hub-ui .btn-outline-dark:hover{background:var(--hub-hover);color:var(--hub-ink)}.hub-ui .btn:disabled{opacity:.6;cursor:not-allowed}.hub-ui .btn-danger{background:#bf3040;color:white}.hub-ui .form-label{display:block;font-size:12px;line-height:1.5;font-weight:550;color:var(--hub-ink);margin-bottom:6px}.hub-ui .form-control,.hub-ui .form-select{font-family:inherit;font-size:13px;line-height:1.5;background-color:var(--hub-surface);border:1px solid var(--hub-line);color:var(--hub-ink);padding:9px 12px;min-height:39px;border-radius:5px;box-shadow:none;width:100%;max-width:100%}.hub-ui .form-select{padding-right:32px;background-image:var(--bs-form-select-bg-img);background-position:right 10px center;background-size:14px 10px}.hub-ui .form-control::placeholder{color:var(--hub-muted);opacity:.85}.hub-ui .form-control:focus,.hub-ui .form-select:focus{border-color:var(--hub-accent);box-shadow:0 0 0 3px var(--hub-accent-soft);outline:0}.hub-ui textarea.form-control{min-height:110px;resize:vertical}.hub-ui .form-text{font-size:11px;color:var(--hub-muted);margin:6px 0 0}.hub-ui .form-check{font-size:12px;color:var(--hub-ink)}.hub-ui .form-check-input{width:16px;height:16px;border-color:var(--hub-line);background-color:var(--hub-surface);margin-top:2px}.hub-ui .form-check-input:checked{background-color:#4f46e5;border-color:#4f46e5}.hub-ui .dropdown-menu{border:1px solid var(--hub-line);border-radius:7px;box-shadow:0 8px 30px rgba(20,14,51,.12);background:var(--hub-surface);font-size:13px;min-width:215px;padding:8px}.hub-ui .dropdown-item{font-size:12px;border-radius:4px;color:var(--hub-ink);padding:9px 10px;display:flex;align-items:center;gap:8px;white-space:normal;overflow-wrap:anywhere}.hub-ui .dropdown-item:hover{background:var(--hub-hover);color:var(--hub-accent)}.hub-ui .dropdown-item-text{font-size:11px;overflow-wrap:anywhere}.hub-ui .dropdown-divider{border-color:var(--hub-line)}.hub-ui .modal-content,.hub-ui .offcanvas{background:var(--hub-surface);border-color:var(--hub-line);color:var(--hub-ink)}.hub-ui .input-group-text{background:var(--hub-hover);border-color:var(--hub-line);color:var(--hub-muted);font-size:13px}.hub-ui .text-body-secondary,.hub-ui .text-muted{color:var(--hub-muted)!important}.hub-ui .text-body{color:var(--hub-ink)!important}.hub-ui hr{border-color:var(--hub-line);opacity:1;margin:16px 0}.hub-ui pre{padding:12px;border:1px solid var(--hub-line);border-radius:5px;background:var(--hub-hover);overflow:auto;color:var(--hub-ink);font-size:12px}.hub-ui code,.hub-data{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;word-break:break-word;font-size:12px}.hub-ui .hub-data{color:inherit}
.hub-table-card{width:100%;max-width:100%;overflow:auto;border:1px solid var(--hub-line);border-radius:6px;scrollbar-width:thin}.hub-ui .table{--bs-table-bg:transparent;--bs-table-color:var(--hub-ink);--bs-table-hover-bg:var(--hub-hover);--bs-table-hover-color:var(--hub-ink);--bs-table-border-color:var(--hub-line);font-size:12px;width:100%;margin:0;vertical-align:middle}.hub-ui .table thead th{background:var(--hub-hover);font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:650;padding:12px 14px;color:var(--hub-muted);border-bottom:1px solid var(--hub-line);white-space:nowrap}.hub-ui .table td{padding:13px 14px;color:var(--hub-ink);border-bottom:1px solid var(--hub-line);max-width:320px;min-width:60px;overflow-wrap:anywhere;vertical-align:middle}.hub-ui .table tr:last-child td{border-bottom:0}.hub-ui .table .hub-empty-cell{text-align:center;padding:38px 16px!important;color:var(--hub-muted)}.hub-empty-cell .hub-icon{display:block;width:34px;height:34px;margin:0 auto 12px;color:var(--hub-muted);opacity:.7}.hub-status{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:4px;font-size:10px;font-weight:650;white-space:nowrap;background:var(--hub-hover);color:var(--hub-muted)}.hub-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.hub-status-success{color:#197b48;background:rgba(40,167,69,.1)}.hub-status-warning{color:#a06004;background:rgba(255,131,15,.1)}.hub-status-danger{color:#ba2a39;background:rgba(230,50,50,.1)}.hub-status-info{color:#4f46e5;background:var(--hub-accent-soft)}[data-theme-mode=dark] .hub-status-success{color:#60d497}[data-theme-mode=dark] .hub-status-warning{color:#f9bb70}[data-theme-mode=dark] .hub-status-danger{color:#ff8898}[data-theme-mode=dark] .hub-status-info{color:var(--hub-accent)}.hub-chip{font-size:11px;padding:4px 9px;border-radius:4px;background:var(--hub-hover)}
/* 4. Live dashboard data; no template demonstration numbers or artificial chart data. */
.hub-kpi{height:100%}.hub-kpi .card-body{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:22px}.hub-kicker{font-size:12px;font-weight:500;letter-spacing:0;text-transform:none;color:var(--hub-muted)}.hub-stat{font-size:29px;font-weight:700;line-height:1.2;letter-spacing:-.035em;color:var(--hub-ink);margin:7px 0 4px}.hub-kpi small{font-size:10px;color:var(--hub-muted)}.hub-kpi-symbol{display:grid;place-items:center;width:48px;height:48px;border-radius:7px;background:var(--hub-accent-soft);color:var(--hub-accent);flex-shrink:0}.hub-kpi-symbol .hub-icon{width:24px;height:24px}.hub-kpi-symbol.orange{background:rgba(254,187,123,.18);color:#c68136}.hub-kpi-symbol.green{background:rgba(40,167,69,.12);color:#239558}.hub-kpi-symbol.blue{background:rgba(20,147,255,.1);color:#1487df}.hub-quick-link{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--hub-line);color:var(--hub-ink)!important}.hub-quick-link:last-child{border:0}.hub-quick-link .hub-kpi-symbol{width:36px;height:36px}.hub-quick-link .hub-kpi-symbol .hub-icon{width:18px;height:18px}.hub-quick-link strong{display:block;font-size:12px;font-weight:600}.hub-quick-link small{font-size:11px;color:var(--hub-muted)}.hub-quick-link>.hub-icon{margin-left:auto;width:15px;color:var(--hub-muted)}.hub-security-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--hub-line);font-size:12px}.hub-security-row:last-child{border-bottom:0}.hub-empty{border:1px dashed var(--hub-line);padding:40px 24px;border-radius:7px;text-align:center;color:var(--hub-muted)}.hub-empty .hub-icon{width:36px;height:36px;margin-bottom:12px}.hub-empty h3{font-size:16px;margin-bottom:8px}.hub-empty p{max-width:430px;margin:0 auto 16px;color:var(--hub-muted);font-size:12px}.hub-context-summary{background:var(--hub-accent-soft);border-radius:7px;padding:18px}.hub-context-summary .hub-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:10px}.hub-context-summary h3{font-size:18px;margin:7px 0 5px}.hub-dashboard-note{font-size:11px;color:var(--hub-muted);margin-top:16px}
/* 5. The same theme for login, password confirmation, reset and installer. */
.hub-auth{padding:40px 20px;background:var(--hub-canvas);min-height:100dvh}.hub-auth-inner{width:440px;max-width:100%}.hub-auth-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;padding:0 4px}.hub-ui .authentication-inner .card{width:100%;margin:0;max-width:100%}.hub-auth-card{position:relative}.hub-auth-card .card-body{padding:32px}.hub-auth-emblem{display:grid;place-items:center;width:42px;height:42px;background:var(--hub-accent-soft);color:var(--hub-accent);border-radius:7px;margin-bottom:21px}.hub-auth-emblem .hub-icon{width:23px;height:23px}.hub-auth-title{font-size:23px;line-height:1.35;margin:0 0 10px!important;font-weight:700}.hub-auth-description{font-size:13px;line-height:1.7;color:var(--hub-muted)!important;margin:0 0 24px}.hub-auth form>.btn-primary{width:100%}.hub-auth-footer{display:flex;justify-content:space-between;gap:12px;padding:18px 4px 0;font-size:10px;color:var(--hub-muted)}.hub-password-wrap{position:relative}.hub-password-wrap input{padding-right:44px!important}.hub-password-wrap .hub-icon-button{position:absolute;right:2px;top:2px;height:35px}.hub-password-wrap .hub-icon{width:18px;height:18px}.hub-ui .recovery-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px;font-size:11px}.hub-auth .hint{color:var(--hub-muted);font-size:12px;line-height:1.6}.hub-install{max-width:1040px;margin:auto;padding:35px 24px 45px}.hub-install-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}.hub-install-title{max-width:760px;margin-bottom:25px}.hub-install-title h1{font-size:28px;font-weight:700;line-height:1.3;margin:10px 0}.hub-install-title p{font-size:13px;color:var(--hub-muted);margin:0}.hub-install-step{display:inline-grid;place-items:center;width:26px;height:26px;background:var(--hub-accent-soft);color:var(--hub-accent);border-radius:5px;font-size:12px;margin-right:9px}.hub-install .card h5{font-size:16px}.hub-install .card .badge{font-size:10px}.hub-install-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:24px}.hub-deploy-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:16px 0}.hub-deploy-summary div{background:var(--hub-hover);padding:15px;border-radius:6px}.hub-deploy-summary strong{display:block;font-size:19px;margin-top:6px}.hub-file-list{min-height:180px;max-height:460px;overflow:auto;list-style:none;padding:0;margin:0}.hub-file-list li{border-bottom:1px solid var(--hub-line)}.hub-file-list button{display:flex;align-items:center;text-align:left;width:100%;gap:8px;background:transparent;border:0;color:var(--hub-muted);font-size:12px;padding:8px}.hub-file-list button:hover{background:var(--hub-hover);color:var(--hub-accent)}.hub-file-list .hub-icon{width:14px;height:14px}.hub-path-counter{font-size:11px;color:var(--hub-muted);margin:8px 0}.hub-toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);padding:10px 18px;background:var(--hub-ink);color:var(--hub-surface);font-size:12px;border-radius:6px;z-index:2000;max-width:90%;box-shadow:var(--hub-shadow)}
/* 6. Responsive desktop/tablet/mobile layout. */
@media(min-width:1200px){.hub-header-title{display:none}.hub-nav-collapsed .hub-sidebar{pointer-events:none}}
@media(min-width:1550px){.hub-header-title{display:block}.hub-context select.form-select{width:210px}}
@media(max-width:1199.98px){.hub-header.app-header-area{left:0}.hub-main.app-content-area{margin-left:0}.hub-sidebar.app-sidebar{transform:translateX(-100%);pointer-events:none}.hub-mobile-open .hub-sidebar{transform:translateX(0);pointer-events:auto}.hub-mobile-close{display:inline-flex}.hub-mobile-open .hub-sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(5,4,27,.5);border:0;z-index:1039}.hub-mobile-open body{overflow:hidden}.hub-content{padding:24px}.hub-header-inner{padding:12px 18px;gap:8px}.hub-header-title{display:none}}
@media(max-width:767.98px){:root{--hub-header-height:123px}.hub-sidebar .app-sidebar-header{height:70px;min-height:70px}.hub-header-inner{min-height:123px;gap:8px;padding:10px 14px}.hub-context{order:3;width:100%;margin:0;gap:18px;padding:5px 1px 0;border-top:1px solid var(--hub-line)}.hub-context-field{flex:1;max-width:50%}.hub-context select.form-select{width:100%;font-size:12px;min-height:26px;height:26px}.hub-header-actions{margin-left:auto;gap:3px}.hub-profile-meta{display:none}.hub-profile>.hub-icon{display:none}.hub-header .hub-icon-button{min-width:32px;width:32px}.hub-header .hub-timer{padding:7px;font-size:10px}.hub-avatar{width:32px;height:32px}.hub-content{padding:20px 14px}.hub-heading{font-size:21px}.hub-subtitle{font-size:12px}.hub-breadcrumb{display:none}.hub-ui .card-body{padding:18px}.hub-page-heading{margin-bottom:20px}.hub-footer{padding:14px}.hub-kpi .card-body{padding:18px}.hub-kpi-symbol{width:39px;height:39px}.hub-stat{font-size:27px}.hub-install{padding:25px 16px}.hub-install-title h1{font-size:24px}.hub-install-actions{flex-direction:column;align-items:stretch}.hub-deploy-summary{grid-template-columns:1fr}.hub-auth{padding:25px 16px}.hub-auth-card .card-body{padding:25px}.hub-auth-title{font-size:22px}.hub-ui .dropdown-menu{max-width:calc(100vw - 30px)}}
@media(prefers-reduced-motion:reduce){.hub-ui *,.hub-ui *::before,.hub-ui *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.hub-sidebar,.hub-header,.hub-sidebar-backdrop,.hub-footer,.hub-icon-button{display:none!important}.hub-main.app-content-area{margin:0!important}.hub-content{padding:0}.hub-ui .card{break-inside:avoid}.hub-table-card{overflow:visible}}
/* 7. Preserve normal Bootstrap alert text flow; Dashnix demo alerts otherwise use flex. */
.hub-ui .alert{display:block}.hub-sidebar .sidebar-menu-item,.hub-sidebar .sidebar-menu-label{text-transform:none}
/* 8. Neutralize demo !important spacing and retain readable outlined controls in dark mode. */
.hub-ui .card{padding:0!important;border:1px solid var(--hub-line)!important;border-radius:8px!important;margin-bottom:0!important}
.hub-ui .card.mb-4{margin-bottom:24px!important}
.hub-ui .card-body{color:var(--hub-ink)}
.hub-ui .btn-outline-primary{border:1px solid var(--hub-accent)!important;color:var(--hub-accent)!important;background:transparent!important}
.hub-ui .btn-outline-primary:hover{background:var(--hub-accent-soft)!important;color:var(--hub-accent)!important}
.hub-ui .btn-outline-secondary,.hub-ui .btn-outline-dark{border:1px solid var(--hub-line)!important;color:var(--hub-muted)!important;background:transparent!important}
.hub-ui .btn-outline-secondary:hover,.hub-ui .btn-outline-dark:hover{background:var(--hub-hover)!important;color:var(--hub-ink)!important}
