/* bloqy Hub: only what the admin stylesheet of bloqy (admin.css, copied unchanged) does not have. */
.brand { display: inline-flex; align-items: center; gap: .45rem; }
.brand-hub { font-weight: 700; font-size: 1rem; color: var(--muted); }
.auth-box .brand { display: flex; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hub-lights { display: inline-flex; gap: .3rem; vertical-align: middle; }
.hub-lights .dash-dot { width: .6rem; height: .6rem; }
.hub-check { width: 2rem; }
.explorer .num, .num { text-align: right; font-variant-numeric: tabular-nums; }
.hub-problems span { display: block; color: var(--error-text); font-size: .8125rem; }
.hub-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .75rem; }
.hub-bulk .checkbox { display: inline-flex; align-items: center; gap: .4rem; margin-right: .5rem; font-size: .8125rem; }
.hub-queue { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.hub-tiles .dash-head input { margin: 0; }
.hub-tiles .dash-path { margin: -.4rem 0 .7rem; }
.hub-figure { margin: 0; font-size: 1.9rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.hub-section { margin: 2rem 0 .75rem; font-size: 1rem; }
.hub-form { margin-top: 1.5rem; }
.hub-indent { display: grid; gap: .4rem; padding-left: 1.6rem; }
.hub-explorer .settings-nav a { display: flex; align-items: center; gap: .45rem; }
.hub-explorer .settings-section { max-width: 40rem; }
.hub-explorer .settings-section form { margin: 0; }
.hub-copy { display: flex; align-items: center; gap: .35rem; }
.hub-copy input { flex: 1; min-width: 0; }
.hub-provision { margin: 0 0 1.5rem; }
.hub-steps { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .8rem; padding: 0; list-style: none; }
.hub-steps li { padding: .1rem .6rem; border-radius: 999px; background: var(--surface-sunken); color: var(--muted); font-size: .75rem; font-weight: 600; }
.hub-steps li.done { background: var(--success-bg); color: var(--success-text); }
.hub-steps li.active { background: var(--accent-soft); color: var(--accent-text); }
.hub-steps li.failed { background: var(--error-bg); color: var(--error-text); }
.hub-message { margin: 0 0 .6rem; font-size: .8125rem; }
.hub-log { margin: 0; padding: .6rem .75rem; max-height: 14rem; overflow: auto; border-radius: var(--radius-sm); background: var(--surface-sunken); font: .75rem/1.5 var(--font-mono); white-space: pre-wrap; }
.hub-access code { font-size: .78rem; }
.hub-tiles { grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); }

/* Overview of the installations: the first look of the hub (kept on request), scoped to .hub-overview. */
.hub-overview { --ok: #1F9D61; --warn: #D99A00; --bad: #D92D20; --warning-bg: #FFF6DB; font-size: 14px; }
@media (prefers-color-scheme: dark) { .hub-overview { --ok: #4ADE80; --warn: #FBBF24; --bad: #F97066; --warning-bg: #33280A; } }
.hub-overview svg.icon { width: 18px; height: 18px; }
.hub-overview .small { font-size: .8125rem; }
.hub-overview .mono, .hub-overview code { font-family: var(--font-mono); font-size: .8125rem; }
.hub-overview .page-header { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hub-overview .page-header h1 { margin: 0 auto 0 0; padding-right: .5rem; }
.hub-overview .page-header form { display: inline-flex; margin: 0; }
.hub-overview .button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 40px; font: inherit; font-weight: 600; padding: .45rem 1rem; border-radius: var(--radius); border: 1px solid transparent; background: var(--secondary); color: var(--on-secondary); text-decoration: none; cursor: pointer; }
.hub-overview .button:hover { background: var(--secondary-hover); }
.hub-overview .button.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
.hub-overview .button.primary:hover { background: var(--primary-hover); }
.hub-overview .button.small-button { min-height: 32px; padding: .3rem .75rem; font-size: .8125rem; border-radius: var(--radius-sm); }
.hub-overview .button:disabled { opacity: .5; cursor: not-allowed; }
.hub-overview .icon-button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: var(--radius-sm); background: none; color: var(--muted); cursor: pointer; }
.hub-overview .icon-button:hover, .hub-overview .icon-button.active { background: var(--secondary); color: var(--text); }
.hub-overview .view-switch { gap: .15rem; }
.hub-overview .notice { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .6rem 1rem; border-radius: var(--radius); background: var(--warning-bg); margin: 0 0 1rem; }
.hub-overview .empty { padding: 2rem; text-align: center; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.hub-overview .filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 .75rem; }
.hub-overview .filters input { flex: 1 1 16rem; max-width: 24rem; }
.hub-overview .bulk-bar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: 0 0 .75rem; }
.hub-overview input, .hub-overview select, .hub-overview textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: .45rem .65rem; min-height: 38px; }
.hub-overview input[type="checkbox"], .hub-overview input[type="radio"] { min-height: 0; accent-color: var(--primary); width: 16px; height: 16px; }
.hub-overview .form label.check, .hub-overview label.check { display: flex; align-items: center; gap: .5rem; font-weight: 500; }
.hub-overview .table-wrap { overflow-x: auto; }
.hub-overview table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.hub-overview th, .hub-overview td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.hub-overview th { font-size: .75rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.hub-overview tr:last-child td { border-bottom: 0; }
.hub-overview .num { text-align: right; font-variant-numeric: tabular-nums; }
.hub-overview .narrow { width: 2rem; }
.hub-overview .lights { display: inline-flex; gap: .3rem; }
.hub-overview .light { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.hub-overview .light-ok { background: var(--ok); }
.hub-overview .light-warn { background: var(--warn); }
.hub-overview .light-bad { background: var(--bad); }
.hub-overview .badge { display: inline-block; padding: .05rem .45rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--secondary); color: var(--muted); }
.hub-overview .badge.ok { background: var(--success-bg); color: var(--success-text); }
.hub-overview .badge.warn { background: var(--warning-bg); color: var(--warning); }
.hub-overview .badge.bad { background: var(--error-bg); color: var(--error-text); }
.hub-overview .problem { display: block; color: var(--error-text); font-size: .8125rem; }
.hub-overview .tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.hub-overview .tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem; display: grid; gap: .5rem; align-content: start; }
.hub-overview .tile.has-problems { background: var(--error-bg); }
.hub-overview .tile header { display: flex; align-items: center; gap: .5rem; font-weight: 700; }
.hub-overview .tile header a { color: var(--text); text-decoration: none; }
.hub-overview .tile p { margin: 0; }
.hub-overview .figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; }
.hub-overview .figures dt { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.hub-overview .figures dd { margin: 0; font-weight: 700; }
.hub-overview .filters :is(input, select) { min-height: 38px !important; padding: .45rem .65rem !important; border: 1px solid var(--border-strong) !important; border-radius: var(--radius-sm) !important; font-size: 14px !important; }
.hub-overview .filters select { padding-right: 1.75rem !important; }
.hub-overview .filters select { min-width: 12rem; }
.hub-overview th { white-space: nowrap; }
