/* Marketing playbook screens (growth.js). Flat panels and 1px rules; colour only on status and the data that matters. */
.gp-cite { margin: 14px 0 0; font-size: 12px; line-height: 18px; color: var(--muted); }
.gp-cite a, .gp-src { color: var(--muted); text-decoration: underline; text-decoration-color: var(--control); text-underline-offset: 2px; }
.gp-cite a:hover, .gp-src:hover { color: var(--accent); }
.gp-src { font-size: 12px; }
.gp-say { margin: 14px 0 0; font-size: 14px; color: var(--text); }
.gp-lbl { font-size: 12px; color: var(--muted); margin-right: 4px; }
.gp-hint { font-size: 12px; color: var(--faint); margin-left: 4px; }
.gp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.title-row + .gp-tags { margin: -4px 0 16px; }
.gp-bar-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: var(--gap); }
.gp-seg { flex-wrap: wrap; }

/* stage tabs */
.gp-stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--card); overflow: hidden; margin-bottom: var(--gap); }
.gp-stages button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 12px 16px; border: 0; border-left: 1px solid var(--border); background: none; color: var(--muted); cursor: pointer; text-align: left; font: inherit; }
.gp-stages button:first-child { border-left: 0; }
.gp-stages button b { font: 600 15px/20px var(--display); color: var(--text); }
.gp-stages button span { font-size: 12px; }
.gp-stages button[aria-selected="true"] { background: var(--active); box-shadow: inset 0 -2px 0 var(--accent); }
.gp-stages button:hover { background: var(--raised); }

/* tier ladder */
.gp-ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 12px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.gp-rung { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-left: 1px solid var(--border); min-width: 0; }
.gp-rung:first-child { border-left: 0; }
.gp-rung span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-family: var(--display); font-weight: 600; }
.gp-rung b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-rung small { font-size: 11px; color: var(--muted); }
.gp-rung.hit { background: var(--accent-soft); box-shadow: inset 0 3px 0 var(--accent); }
.gp-rung.hit span { color: var(--accent-ink); }
.gp-btbl td.gp-hit { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }

/* next steps and module links */
.gp-next { list-style: none; margin: 0; padding: 0; }
.gp-next li { border-top: 1px solid var(--rule); }
.gp-next li:first-child { border-top: 0; }
.gp-next a { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 10px; padding: 10px 0; color: var(--text); text-decoration: none; }
.gp-next a:hover b { color: var(--accent); }
.gp-next .pill { grid-row: span 2; justify-content: center; width: 24px; padding: 0; }
.gp-next b { font-weight: 500; }
.gp-next a > span:last-child { font-size: 13px; color: var(--muted); }
.gp-mods { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--gap); }
.gp-mod { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--card); color: var(--text); text-decoration: none; }
.gp-mod:hover { border-color: var(--accent); text-decoration: none; }
.gp-mod > svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gp-mod b { display: flex; align-items: center; gap: 6px; font: 600 15px/20px var(--display); }
.gp-mod b svg { width: 13px; height: 13px; stroke: var(--muted); fill: none; stroke-width: 1.8; }
.gp-mod span { font-size: 13px; line-height: 19px; color: var(--muted); }
.gp-checks small.gp-tlinks { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.gp-checks small.gp-tlinks span { color: var(--faint); text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; }
.gp-checks small.gp-tlinks a { font-size: 12px; }
.gp-credits p { margin: 0 0 10px; font-size: 14px; line-height: 21px; color: var(--text); max-width: 900px; }
.gp-credits p.small { font-size: 12px; line-height: 19px; color: var(--muted); }

/* doctor */
.gp-first { display: flex; flex-direction: column; gap: 6px; }
.gp-first h2 { margin: 4px 0 0; font: 600 22px/28px var(--display); }
.gp-first p { margin: 0; color: var(--text); font-size: 14px; line-height: 21px; }
.gp-first .gp-val { color: var(--negative); font-weight: 500; }
.gp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 10px; }
.gp-kpis2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-self: stretch; }
.gp-kpis2 .kpi:nth-child(3) { border-left: 0; }
.gp-kpis2 .kpi:nth-child(n+3) { border-top: 1px solid var(--border); }
.gp-steps { display: flex; flex-direction: column; }
.gp-step { border-top: 1px solid var(--rule); }
.gp-step:first-child { border-top: 0; }
.gp-step summary { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; cursor: pointer; list-style: none; }
.gp-step summary::-webkit-details-marker { display: none; }
.gp-n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--control); display: inline-flex; align-items: center; justify-content: center; font: 600 12px/1 var(--display); color: var(--muted); }
.gp-step.is-bad .gp-n { border-color: var(--negative); color: var(--negative); }
.gp-step.is-good .gp-n { border-color: var(--positive); color: var(--positive); }
.gp-step.is-warn .gp-n { border-color: var(--accent); color: var(--accent); }
.gp-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gp-t b { font-weight: 500; }
.gp-t span { font-size: 13px; color: var(--muted); }
.gp-body { padding: 0 0 14px 42px; }
.gp-body p { margin: 0 0 8px; font-size: 14px; line-height: 21px; color: var(--text); max-width: 820px; }
.gp-rew { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gp-rew blockquote { margin: 0; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--raised); font-size: 14px; line-height: 21px; }
.gp-rew small { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }

/* your numbers */
.gp-drop { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px dashed var(--control); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.gp-drop.over { border-color: var(--accent); background: var(--accent-soft); }
.gp-drop label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px; cursor: pointer; }
.gp-drop label svg { grid-row: span 2; width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gp-drop label b { font-weight: 500; }
.gp-drop label span { font-size: 12px; color: var(--muted); }
.gp-form { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* bars, weeks and milestones */
.gp-bars { display: flex; flex-direction: column; gap: 10px; }
.gp-bar { display: grid; grid-template-columns: minmax(120px, 190px) minmax(60px, 1fr) minmax(70px, auto); gap: 12px; align-items: center; font-size: 13px; }
.gp-bar b { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.gp-bar.hl span { color: var(--text); }
.gp-bar span { color: var(--muted); }
.gp-weeks { display: grid; grid-template-columns: repeat(16, minmax(0, 1fr)); gap: 4px; height: 120px; align-items: end; }
.gp-wk { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.gp-wk i { display: block; background: var(--comp); border-radius: 3px 3px 0 0; min-height: 2px; }
.gp-wk span { font-size: 10px; color: var(--faint); text-align: center; margin-top: 4px; }
.gp-wk.me i { background: var(--accent); }
.gp-wk.me span { color: var(--accent); font-weight: 600; }
.gp-ms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--gap); }
.gp-m { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--card); }
.gp-m b { font: 600 20px/26px var(--display); font-variant-numeric: tabular-nums; }
.gp-m p { margin: 0; font-size: 12px; line-height: 18px; color: var(--muted); }
.gp-m.is-bad { border-top: 2px solid var(--negative); }
.gp-m.is-warn { border-top: 2px solid var(--accent); }
.gp-m.is-good { border-top: 2px solid var(--positive); }

/* fans */
.gp-ai { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.gp-ai li { display: flex; flex-direction: column; gap: 2px; }
.gp-ai li::marker { color: var(--positive); font-weight: 600; }
.gp-ai.neg li::marker { color: var(--negative); }
.gp-ai b { font-weight: 500; }
.gp-ai span { font-size: 13px; color: var(--text); }
.gp-ai small { font-size: 12px; color: var(--muted); }
.gp-ftbl details summary { cursor: pointer; }
.gp-qs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 10px 0 4px; }
.gp-qs q { display: block; font-size: 13px; line-height: 19px; padding-left: 10px; border-left: 2px solid var(--comp); }
.gp-qs q.pos { border-color: var(--positive); }
.gp-qs q.neg { border-color: var(--negative); }
.gp-qs .src { font-size: 11px; color: var(--muted); margin-top: 4px; }
.gp-two { font-size: 13px; white-space: nowrap; }
.gp-games { list-style: none; margin: 0; padding: 0; }
.gp-games li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.gp-games li:first-child { border-top: 0; }
.gp-games li span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.gp-games li.me a { color: var(--accent); font-weight: 600; }
.gp-ol { counter-reset: gp; }
.gp-ol li { counter-increment: gp; }
.gp-ol li a::before { content: counter(gp) ". "; color: var(--faint); }

@media (max-width: 1100px) { .gp-ms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .gp-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-rung:nth-child(3) { border-left: 0; }
  .gp-rung:nth-child(n+3) { border-top: 1px solid var(--border); }
  .gp-form { grid-template-columns: minmax(0, 1fr); }
  .gp-rew, .gp-qs { grid-template-columns: minmax(0, 1fr); }
  .gp-ms { grid-template-columns: minmax(0, 1fr); }
  .gp-bar { grid-template-columns: minmax(90px, 120px) minmax(40px, 1fr) auto; }
  .gp-body { padding-left: 0; }
  .gp-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gp-stages button { border-left: 0; border-top: 1px solid var(--border); }
}
@media print { .gp-stages, .gp-drop, .gp-tags, .gp-seg { display: none; } }
