/* Tags (site/primer/founder-tags.js, founder-generated.js): the three tabs under the maths map since desk-v3-maths-map (2026-11-18; above it until then). Sims: one row a sim, its title, a node box, Tag. Missions: the filters, then one row a mission, then Pages, a fold of one row a page (desk-glass-tidy, item 6). Glass books: founder-missions.js. No rule lines (founder desk v3 shell, 2026-11-17): space sets the strip apart from the map. */
.tg { margin-top: 28px; padding-top: 20px; }
.tg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.tg-row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(180px, 1fr) auto; gap: 10px 14px; align-items: center; padding: 10px 0; min-width: 0; }
.tg-row.tg-done { grid-template-columns: minmax(0, 1fr) auto; }
.tg-sim { display: grid; gap: 2px; min-width: 0; font: 400 14px/1.4 var(--sans); overflow-wrap: anywhere; }
.tg-sim small { font-size: 12px; color: var(--desk-muted); }
.tg-row input { min-height: 40px; border: 1px solid #b9c9c0; border-radius: 6px; padding: 6px 10px; font: 14px var(--sans); }
.tg-fold { margin-top: 12px; }
.tg-fold > summary { font: 600 14px/1.4 var(--sans); cursor: pointer; min-height: 40px; display: flex; align-items: center; }
.tg-fold > summary > h3 { margin: 0; }
.tg-note:empty { display: none; }
@media (max-width: 700px) { .tg-row { grid-template-columns: minmax(0, 1fr); } .tg-row.tg-done { grid-template-columns: minmax(0, 1fr) auto; } }
.gt-tabs { margin-bottom: 14px; }
.gt-tabs .tool, .gt-filters .tool { min-height: 40px; }
.gt-filters { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: end; margin-bottom: 12px; }
.gt-filters label { display: grid; gap: 4px; min-width: 0; font: 500 12px/1.4 var(--sans); color: var(--desk-muted); }
.gt-filters .gt-node { flex: 1 1 240px; }
.gt-filters input, .gt-filters select { width: 100%; min-height: 40px; border: 1px solid #b9c9c0; border-radius: 6px; padding: 6px 10px; font: 14px var(--sans); background: #fff; color: inherit; }
.gt-row { display: grid; grid-template-columns: minmax(0, 1.8fr) 64px 96px minmax(0, 1fr) auto; gap: 8px 14px; align-items: center; padding: 10px 0; min-width: 0; }
.gt-marks { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; }
.gt-marks .dc-chip { white-space: normal; }
.dc-chip[data-status="held"] { border-color: var(--oxblood); }
[data-gt-note]:empty, [data-gt-player]:empty { display: none; }
[data-gt-player] { margin-bottom: 12px; }
@media (max-width: 900px) { .gt-row { grid-template-columns: minmax(0, 1fr) auto; } .gt-row > .tg-sim, .gt-row > .gt-marks, .gt-row > .dc-acts { grid-column: 1 / -1; } .gt-row > .gt-grade { grid-column: 1; } .gt-row > .gt-when { grid-column: 2; text-align: right; } }
