/* Pursue › Demo › Overview (frontend/js/pursue-demo-overview.js). Layout only,
   tokens from design-review.css / app.css — none of its own, so theme-dark.css
   has nothing to mirror. Card look = the Studio's Overview card (12 px
   uppercase eyebrow, 22 px figure, one line under) on the §5.5 tile shell. */
.pdo { display: flex; flex-direction: column; gap: var(--sp-4); }
.pdo a:not(.pdo-card) { color: var(--accent); }
.pdo-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--sp-3); }
.pdo-card {
  display: flex; flex-direction: column; gap: var(--sp-1); min-height: 112px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4); box-shadow: var(--shadow-sm); color: var(--text-primary); text-decoration: none;
}
a.pdo-card:hover, a.pdo-card:focus-visible { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.pdo-card-k { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.pdo-card-n { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.25; }
.pdo-card-line { font-size: 13px; color: var(--text-secondary); }
.pdo-card-line[data-tone="muted"] { color: var(--text-muted); font-size: 12px; }
.pdo-card-line[data-tone="danger"] { color: var(--danger); }
.pdo-card-line[data-tone="warning"] { color: var(--warning); }
.pdo-card-line[data-tone="ok"] { color: var(--accent); }
.pdo-bar { height: 6px; border-radius: 3px; background: var(--border); overflow: hidden; margin: var(--sp-1) 0; }
.pdo-bar > span { display: block; height: 100%; background: var(--accent); }
.pdo-attn { margin: 0; padding: 0; list-style: none; font-size: 13px; display: flex; flex-direction: column; gap: 2px; }
.pdo .pdo-attn a { color: var(--text-secondary); }
.pdo-attn a:hover { color: var(--accent); }
.pdo-section { display: flex; flex-direction: column; gap: var(--sp-2); }
.pdo-section-head { display: flex; align-items: baseline; gap: var(--sp-2); flex-wrap: wrap; }
.pdo-section-k { font-size: 12px; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; }
.pdo-upcoming tr[data-stale="true"] td:first-child { box-shadow: inset 3px 0 0 var(--warning); }
.pdo-err { color: var(--danger); }
.pdo-grid-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.pdo-grid { margin: 0; }
.pdo-grid td.pdo-scn { position: sticky; left: 0; background: var(--bg-card); min-width: 240px; }
.pdo-grid th.pdo-env { min-width: 120px; text-align: left; }
.pdo-grid th.pdo-env.is-current { box-shadow: inset 0 -2px 0 var(--accent); }
.pdo-grid td { padding-top: 6px; padding-bottom: 6px; }
.pdo-cell a { display: inline-flex; align-items: center; gap: var(--sp-2); text-decoration: none; white-space: nowrap; }
.pdo-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--sp-4); align-items: start; }
.pdo-recent { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.pdo-recent li { display: flex; flex-wrap: wrap; gap: 2px var(--sp-2); align-items: baseline; padding: var(--sp-2) 0; border-bottom: 1px solid var(--border); }
.pdo-recent .pdo-who { margin-left: auto; }
@media (max-width: 640px) { .pdo-cards { grid-template-columns: 1fr 1fr; } .pdo-recent .pdo-who { margin-left: 0; } }
@media (max-width: 480px) { .pdo-cards { grid-template-columns: 1fr; } .pdo-card { min-height: 0; } }
/* the run sheet's Demo on field (pursue-demo.js demoDateHtml) */
.pursue-sheet-head input[data-change="demoat"] { max-width: 260px; }
