/* Population Health specific panels. Layout lives in shared/layout.css. */
/* geo */
.tiles { display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(8, minmax(0, 1fr)) auto; gap: 3px; padding: 6px 10px; height: 100%; max-width: 900px; margin: 0 auto; }
.tile { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; font-size: 10px; line-height: 1.1; border: 1px solid rgba(255,160,40,.25); cursor: default; min-height: 0; overflow: hidden; }
.tile b { font-size: 11px; }
.legend { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; color: var(--gray); font-size: 10px; margin-top: 4px; }
.legend i { flex: 0 0 160px; height: 7px; background: linear-gradient(90deg, hsl(0 70% 38%), hsl(40 15% 22%), hsl(140 60% 32%)); }
.league { padding: 6px 10px; }
.league .lrow { display: grid; grid-template-columns: 90px 1fr 60px; gap: 8px; align-items: center; padding: 1px 0; }
.league .bar { height: 9px; background: var(--amber-dim); } .league .bar.hi { background: var(--amber); }

.pc { padding: 4px 8px; display: grid; grid-template-columns: auto 1fr auto; gap: 1px 10px; }
.pc .n { color: var(--white); text-align: right; font-variant-numeric: tabular-nums; }

.halt { display: none; background: var(--amber); color: #000; padding: 3px 10px; font-weight: 700; letter-spacing: .06em; }
body.halted .halt { display: block; }
body.halted .tape-track { animation-play-state: paused; }

.hm { display: grid; grid-template-columns: 34px repeat(24, minmax(0, 1fr)); grid-template-rows: 16px repeat(7, minmax(0, 1fr)) auto; gap: 2px; padding: 6px 10px; height: 100%; }
.hm .lbl { color: var(--gray); font-size: 10px; display: flex; align-items: center; }
.hm .lbl.h { justify-content: center; }
.hm .c { min-height: 0; border: 1px solid transparent; }
.hm .c.now { border-color: #fff; }
.hm .foot { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; color: var(--gray); font-size: 10px; margin-top: 2px; flex-wrap: wrap; }
.hm .foot i { flex: 0 0 120px; height: 7px; background: linear-gradient(90deg, #120c04, var(--amber), #fff); }

.ss { padding: 4px 8px; display: grid; grid-template-columns: auto 1fr auto; gap: 1px 10px; }
.ss .n { color: var(--white); text-align: right; font-variant-numeric: tabular-nums; }
.ss .note { grid-column: 1 / -1; color: var(--gray); font-size: 10px; margin-top: 4px; }

.alloc { padding: 8px; }
.alloc .bar { display: flex; height: 14px; margin-bottom: 8px; }
.alloc .bar span { display: block; height: 100%; }
.alloc .al { display: grid; grid-template-columns: 12px 1fr auto; gap: 1px 8px; align-items: center; }
.alloc .al i { width: 8px; height: 8px; display: block; }
.alloc .al b { color: var(--white); font-weight: 400; text-align: right; }
