/* panel-hub: the few rules the hub adds to the console's design system v2 (tokens.css, app.css, served from the
   assets directory). Without those files the dashboard stays readable with these fallbacks. */
.hub { font-family: system-ui, sans-serif; line-height: 1.45; }
.hub-narrow { max-width: 24rem; margin: 0 auto; }
.hub .stack { display: flex; flex-direction: column; gap: .75rem; }
.hub .grid-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: .75rem; }
.hub .page-actions, .hub .inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.hub .mono { font-family: ui-monospace, monospace; }
.hub .nowrap { white-space: nowrap; }
.hub .table-wrap { overflow-x: auto; }
.hub table { width: 100%; border-collapse: collapse; }
.hub th, .hub td { text-align: left; padding: .35rem .5rem; vertical-align: top; }
.hub th.num, .hub td.num { text-align: right; font-variant-numeric: tabular-nums; }
.hub .page-actions { margin-top: var(--space-4, 1rem); }
.hub .page-head .page-actions { margin-top: 0; }
.hub .card + .card, .hub .tiles + .card { margin-top: var(--space-4, 1rem); }
.hub .codeblock code { user-select: all; overflow-wrap: anywhere; }

/* a meter and its text on one line */
.hub .meter-line { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3, .75rem); margin-top: var(--space-2, .5rem); }
.hub td meter { vertical-align: middle; }

/* the licence timeline: a vertical rule with a dot per event, upcoming events dimmed */
.hub .timeline { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 2px solid var(--border, rgba(127, 127, 127, .35)); }
.hub .timeline li { position: relative; display: grid; grid-template-columns: minmax(10rem, 12rem) 1fr; gap: .25rem 1rem; padding: .4rem 0; }
.hub .timeline li::before { content: ""; position: absolute; left: calc(-1.25rem - 6px); top: .85rem; width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent, currentColor); border: 2px solid var(--surface, #fff); }
.hub .timeline .timeline-future::before { background: var(--surface, #fff); border-color: var(--border, rgba(127, 127, 127, .6)); }
.hub .timeline .timeline-future { opacity: .8; }
.hub .timeline-when { font-variant-numeric: tabular-nums; color: var(--muted, inherit); }
@media (max-width: 560px) { .hub .timeline li { grid-template-columns: 1fr; } }
