/* translators.armagi.co: page-specific rules on top of base.css */
.across { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; animation: fade .3s ease-out; }
.across .panel + .panel { margin-top: 0; }
.across p { margin: 8px 0 0; font-size: 17px; }
.across .tag { color: var(--muted); }
.across .drop { background: var(--red-bg); border-color: transparent; }
.across .pick-up { background: var(--tint); border-color: transparent; }
.first { margin-top: 12px; }
.first .tag { color: var(--gold-ink); }
.first ol { margin: 10px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.gives { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); }

.curve-box { position: relative; padding: 18px 18px 0; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.curve { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; height: 220px; align-items: end; }
.phase { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 6px; padding: 0 0 8px; border: 0; background: none; }
.phase .col { display: block; border-radius: 10px 10px 4px 4px; background: #c9d6ee; transition: background .2s; }
.phase.low .col { background: var(--gold-soft); }
.phase[aria-pressed="true"] .col { background: #1B3A7B; box-shadow: 0 0 0 2px var(--gold); }
.phase .lab { font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: center; min-height: 2.4em; }
.phase[aria-pressed="true"] .lab { color: var(--navy); }
.base { position: absolute; left: 18px; right: 18px; bottom: calc(8px + 2.4em + 6px + (220px - 8px - 2.4em - 6px) * .5); border-top: 1.5px dashed var(--muted); pointer-events: none; }
.base span { position: absolute; right: 0; top: -20px; font-family: var(--mono); font-size: 11px; color: var(--muted); background: var(--card); padding: 0 4px; }
.phase-card { margin-top: 12px; animation: fade .3s ease-out; }
.phase-card .tag { color: var(--navy); }
.feel { font-size: 19px; font-weight: 500; margin: 8px 0 0; }
.phase-card .answer { margin-top: 12px; }

.pipeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.stage { padding: 18px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.stage:nth-child(3) { background: var(--gold-bg); border-color: var(--gold-line); }
.stage:nth-child(n+4) { background: #0f1d3d; border-color: #0f1d3d; color: #e6ebf5; }
.stage .n { font-family: var(--mono); font-size: 12px; color: var(--gold-ink); }
.stage:nth-child(n+4) .n, .stage:nth-child(n+4) .out { color: var(--gold-soft); }
.stage b { display: block; font-size: 19px; margin-top: 4px; }
.stage p { margin: 6px 0 8px; font-size: 15px; color: var(--ink-2); }
.stage:nth-child(n+4) p { color: #a4b0c8; }
.stage .out { font-family: var(--mono); font-size: 12.5px; color: var(--gold-ink); }

@media (max-width: 860px) {
  .across, .pipeline { grid-template-columns: minmax(0, 1fr); }
  .curve { height: 180px; gap: 4px; }
  .phase .lab { font-size: 11px; }
  .base { bottom: calc(8px + 2.4em + 6px + (180px - 8px - 2.4em - 6px) * .5); }
}
