/* Home and the top bar (ui/home/DESIGN.md). Every value is a token; the bar itself is shell.css's. */
.subnav[hidden], .shell-menu[hidden] { display: none; }
.topbar .spacer { flex: 1; }
/* The avatar keeps shell.css's gradient; the solid accent under it is what its letter is measured against. */
.chip .avatar { background-color: var(--accent); }
.shell-tab { background: none; border: 0; border-bottom: 2px solid transparent; font: inherit; font-size: 13px; cursor: pointer; }
.shell-tab.current { border-bottom-color: var(--accent); }
.shell-menu a { display: flex; align-items: center; min-height: var(--tap-min); padding: 0 14px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; background: var(--bg-2); }
.home-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--cp-gap); }
.home-tiles .cp-kpi { display: flex; flex-direction: column; gap: 4px; }
.home-tile-open { color: inherit; text-decoration: none; display: flex; flex-direction: column; min-height: var(--tap-min); justify-content: center; }
.home-tile-open:hover .cp-kpi-label { text-decoration: underline; }
.home-tile-items { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12px; }
.home-tile-items a { color: var(--text); }
.home-tile-zero { font-size: 12px; color: var(--text-2); margin: 0; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--cp-gap); margin-top: var(--cp-gap); }
.home-seats { list-style: none; margin: 0; padding: 0; }
.home-seats li a { display: flex; align-items: center; gap: 8px; min-height: var(--tap-min); color: var(--text); text-decoration: none; }
.home-seats li[data-under] a { padding-left: 24px; }
@media (max-width: 719.98px) {
  .topbar { gap: 8px; padding: 0 10px; }
  .topbar .chip .who, .shell-signout { display: none; }
  .home-tiles, .home-grid { grid-template-columns: 1fr; }
}
