/* Shared styles for the Home pages' mockups: compact cards, brand-tint variants, status dots. */
html, body { margin: 0; height: 100%; background: var(--background); color: var(--foreground); }
[data-theme=dark] { color-scheme: dark; }
#root { height: 100%; }
.brand-img { height: 34px; width: auto; display: block; }

.v-navy  { --hue: var(--primary); }
.v-clay  { --hue: var(--accent); }
.v-slate { --hue: var(--chart-3); }
.v-rose  { --hue: var(--chart-4); }
.v-stone { --hue: var(--chart-5); }
.v-navy, .v-clay, .v-slate, .v-rose, .v-stone {
  --tint: color-mix(in srgb, var(--hue) 10%, var(--card));
  --tint-line: color-mix(in srgb, var(--hue) 28%, var(--border));
}

.card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); min-width: 0; overflow: hidden; }
.card-head { width: 100%; display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: var(--tint, var(--helm-s2)); border: 0; border-bottom: 1px solid var(--tint-line, var(--border)); font: inherit; color: inherit; text-align: left; }
button.card-head { cursor: pointer; }
button.card-head:focus-visible { outline: 2px solid var(--ring); outline-offset: -2px; }
.card.is-closed .card-head { border-bottom-color: transparent; }
.chip { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: var(--hue, var(--primary)); color: var(--card); flex: none; }
.chip svg { width: 14px; height: 14px; }
.card-title { font-weight: 600; font-size: 0.9375rem; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { color: var(--helm-text-dim); white-space: nowrap; }
.card-body { padding: 6px 10px 8px; }
.card.is-closed .card-body, .card.is-closed .card-foot { display: none; }
.card-summary { display: none; padding: 0 10px 7px 40px; background: var(--tint, var(--helm-s2)); color: var(--helm-text-dim); }
.card.is-closed .card-summary { display: block; }
.card-foot { padding: 5px 10px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
.chev { color: var(--muted-foreground); display: flex; transition: transform var(--duration-base) var(--easing-ease); }
.card.is-closed .chev { transform: rotate(-90deg); }

.dots { display: inline-flex; gap: 4px; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: block; flex: none; }
.dot.danger { background: var(--helm-red); } .dot.warning { background: var(--helm-orange); }
.dot.success { background: var(--helm-green); } .dot.info { background: var(--helm-blue); }
.dot.neutral { background: var(--muted-foreground); opacity: .5; }

.eyebrow { color: var(--helm-text-dim); }
.dim { color: var(--muted-foreground); }
.num { font-variant-numeric: tabular-nums; }
.link { color: var(--primary); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

.pq { display: flex; flex-direction: column; gap: 6px; padding: 8px; }
.pq-head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 2px 0; }
.pq-head .text-overline { color: var(--helm-text-dim); }

/* Deb, 2026-09-26: tighter gutter between content and the side panels on every page.
   Design-system change to PageContainer (row gap 16 -> 6, page padding 28/32 -> 12/8). */
[class*="_row_"] { gap: 6px !important; }
[class*="_page_"] { padding: 12px 8px !important; }
/* Phone and tablet: stacked panels must not shrink, or an opened panel is clipped and cannot scroll. */
@media (max-width: 1023px) { [class*="_row_"] > * { flex-shrink: 0 !important; } }
