/* HvBackup components, copied by Build-Theme.ps1 from components/bundle.css. Do not edit by hand. */
/* HvBackup components: the reference the console's site.css copies. Every colour comes from a token. */
.hv { font-family: var(--font-sans); font-size: 14px; line-height: 20px; color: var(--ink); background: var(--canvas); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
.hv *, .hv *::before, .hv *::after { box-sizing: border-box; }

/* Pills: tint ground, ink word, solid dot. */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px 0 8px; border-radius: var(--radius-pill); font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.good { background: var(--good-tint); color: var(--good-ink); } .pill.good::before { background: var(--good); }
.pill.warn { background: var(--warn-tint); color: var(--warn-ink); } .pill.warn::before { background: var(--warn); }
.pill.bad { background: var(--bad-tint); color: var(--bad-ink); } .pill.bad::before { background: var(--bad); }
.pill.run { background: var(--run-tint); color: var(--run-ink); } .pill.run::before { background: var(--run); animation: hv-pulse 1.6s ease-in-out infinite; }
.pill.off { background: var(--off-tint); color: var(--off-ink); } .pill.off::before { background: var(--off); }
@keyframes hv-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .pill.run::before { animation: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: 600 14px/20px var(--font-sans); cursor: pointer; }
.btn:hover { background: var(--surface-sunken); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.danger { color: var(--bad-ink); }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.btn svg { width: 16px; height: 16px; }

/* Cards, tiles */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 24px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tile .label { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-3); }
.tile .value { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -.5px; }
.tile .value small { font-size: 14px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.tile .value.bad { color: var(--bad-ink); } .tile .value.warn { color: var(--warn-ink); }

/* Health banner: disc + one sentence + one action. */
.banner { display: flex; align-items: center; gap: 16px; padding: 20px 24px; }
.banner .disc { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.banner .disc svg { width: 26px; height: 26px; }
.banner.good .disc { background: var(--good-tint); color: var(--good-ink); }
.banner.warn .disc { background: var(--warn-tint); color: var(--warn-ink); }
.banner.bad .disc { background: var(--bad-tint); color: var(--bad-ink); }
.banner.run .disc { background: var(--run-tint); color: var(--run-ink); }
.banner.off .disc { background: var(--off-tint); color: var(--off-ink); }
.banner .text { flex: 1; min-width: 0; }
.banner .headline { font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.2px; }
.banner .fact { color: var(--ink-2); margin-top: 2px; }

/* Night strip: filled = result, outlined = nothing scheduled. */
.nights { display: inline-flex; gap: 2px; vertical-align: middle; }
.nights i { width: 8px; height: 18px; border-radius: 2px; display: block; }
.nights.big { gap: 4px; } .nights.big i { width: 18px; height: 26px; border-radius: 4px; }
.nights .ok { background: var(--good); } .nights .warn { background: var(--warn); } .nights .bad { background: var(--bad); } .nights .run { background: var(--run); }
.nights .none { background: transparent; box-shadow: inset 0 0 0 1.5px var(--night-empty); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* Capacity: used share with the minimum free share marked. */
.cap { display: flex; flex-direction: column; gap: 4px; min-width: 120px; }
.cap .track { position: relative; height: 6px; border-radius: var(--radius-pill); background: var(--surface-sunken); overflow: visible; }
.cap .used { height: 100%; border-radius: var(--radius-pill); background: var(--good); }
.cap.warn .used { background: var(--warn); } .cap.bad .used { background: var(--bad); }
.cap .min { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink-2); border-radius: 1px; }
.cap .note { font-size: 12px; line-height: 16px; color: var(--ink-3); }
.cap.warn .note { color: var(--warn-ink); } .cap.bad .note { color: var(--bad-ink); }

/* Progress */
.progress { height: 6px; border-radius: var(--radius-pill); background: var(--run-tint); overflow: hidden; }
.progress > div { height: 100%; background: var(--run); border-radius: var(--radius-pill); }

/* Tables */
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-card); overflow: hidden; }
.table th { text-align: left; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--ink-3); padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--surface-sunken); }
.table .num { text-align: right; }
.table .name { font-weight: 600; } .table .sub { display: block; font-size: 12px; line-height: 16px; color: var(--ink-3); font-weight: 400; }
.muted { color: var(--ink-3); } .ink2 { color: var(--ink-2); }

/* Chips (filters) */
.chips { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 28px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font: 500 13px/26px var(--font-sans); cursor: pointer; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.chip b { font-weight: 600; margin-left: 4px; }

/* Tabs */
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 10px 0; color: var(--ink-2); font-weight: 500; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }

/* Side menu */
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.side .brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; padding: 4px 10px 16px; color: var(--ink); text-decoration: none; }
.side .brand svg { flex: none; width: 24px; height: 24px; color: var(--accent); }
.side .group { font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--ink-3); padding: 14px 10px 6px; }
.side nav a, .side > a:not(.brand) { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 500; text-decoration: none; }
.side nav a svg, .side > a svg { width: 20px; height: 20px; flex: none; }
.side nav a:hover, .side > a:not(.brand):hover { background: var(--surface-sunken); color: var(--ink); }
.side nav a.on, .side > a.on { background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.side nav a .count, .side > a .count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }

/* Info tip: the place explanations go instead of paragraphs. */
.tip { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--ink-3); color: var(--ink-3); font: 700 10px/1 var(--font-sans); cursor: help; vertical-align: 1px; }
