/* module: dashboard — tokens only (docs/BRAND.md) */
.grid-main-side > *, .grid-2 > * { min-width: 0; } /* let wide tables scroll inside their card instead of widening the page */
.dash-shows td { vertical-align: middle; }
.dash-show-name { color: var(--graphite); font-weight: 600; }
.dash-show-name:hover { color: var(--teal); text-decoration: none; }
.dash-sub { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; color: var(--steel); margin-top: 3px; }
.dash-sub .tape { font-size: 12px; }
.dash-dates { font-family: var(--font-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dash-short { color: var(--bad); font-weight: 700; }
.dash-ok { margin: 0; color: var(--steel); }
.dash-list { list-style: none; margin: 0; padding: 0; }
.dash-list li { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule-soft); }
.dash-list li:last-child { border-bottom: 0; }
.dash-li-main { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.dash-li-main small { font-size: 12px; }
.dash-scan { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.dash-scan .badge { min-width: 38px; text-align: center; }
.dash-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; color: var(--steel); }
.dash-facts .tape { font-size: 12px; }
.dash-when { white-space: nowrap; font-size: 13px; }
.dash-list .overdue { color: var(--bad); font-weight: 600; }

/* System Settings hub (lead) */
/* hub home: grouped tiles */
.set-hub-search { margin: -4px 0 20px; max-width: 420px; }
.set-hub-search input { width: 100%; height: 40px; }
.set-tiles { columns: 3 300px; column-gap: 16px; }
.set-tile { break-inside: avoid; margin-bottom: 16px; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 16px 8px 8px; }
.set-tile-head { display: flex; gap: 12px; align-items: flex-start; padding: 0 8px 12px; border-bottom: 1px solid var(--rule-soft); margin-bottom: 4px; }
.set-tile-ico { width: 36px; height: 36px; border-radius: var(--r-ctl); background: var(--concrete); color: var(--graphite); display: grid; place-items: center; flex-shrink: 0; }
.set-tile-head h2 { font-size: 17px; }
.set-tile-head p { margin: 3px 0 0; font-size: 13px; color: var(--steel); }
.set-tile-list { list-style: none; margin: 0; padding: 0; }
.set-tile .set-link { display: flex; flex-direction: column; gap: 1px; padding: 8px; border-radius: var(--r-ctl); color: var(--graphite); text-decoration: none !important; }
.set-tile .set-link:hover { background: var(--concrete); }
.set-tile .set-link:hover .set-link-label { color: var(--teal-dark); }
.set-link-label { font-weight: 600; }
.set-link-desc { font-size: 13px; color: var(--steel); line-height: 1.35; }
.set-none { margin-top: 12px; }

/* section page: crumb + compact list + body */
.set-crumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--steel); margin-bottom: 14px; }
.set-crumb a { font-weight: 600; }
.set-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.set-menu { position: sticky; top: 76px; max-height: calc(100vh - 100px); overflow: auto; padding: 0 2px 12px 0; }
.set-search { padding: 0 0 10px; } .set-search input { width: 100%; }
.set-group { margin-bottom: 10px; }
.set-group-title { font-size: 12px; font-weight: 600; color: var(--steel); padding: 6px 10px 3px; }
.set-menu .set-link { display: block; position: relative; padding: 5px 10px; border-radius: var(--r-ctl); color: var(--graphite); font-size: 13.5px; text-decoration: none !important; }
.set-menu .set-link:hover { background: var(--paper); }
.set-menu .set-link.active { background: var(--teal-wash); color: var(--teal-dark); font-weight: 600; }
.set-menu .set-link.active::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 3px; border-radius: 0 3px 3px 0; background: var(--teal); }
.set-menu .set-none { padding: 4px 10px; font-size: 13px; }
.set-jump { display: none; }
.set-body { min-width: 0; }
@media (max-width: 900px) {
  .set-layout { grid-template-columns: 1fr; gap: 12px; }
  .set-menu { display: none; }
  .set-jump { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
  .set-jump select { height: 40px; }
}
