/* Passes (buy, ask your boss, the boss's pay page, crew, claims). Phone first at 360px; status colours only for
   readiness and the legal clock (docs/DESIGN.md). Uses the kit's tokens from brand.css. */

.pp-wide { width: 100%; min-height: 56px; border-radius: var(--radius); font-size: 1.05rem; }
.pp-center { margin-left: auto; margin-right: auto; }
.pp-h2 { font-size: 1.375rem; margin: 0; }
.pp-h3 { font-size: 1.25rem; font-weight: 700; margin: 0; }
.pp-line { margin: 0; }
.pp-quiet { text-align: center; margin: 0.5rem 0 0; }
.pp-quiet a { display: inline-block; min-height: 48px; line-height: 48px; }
.pp-legal { text-align: center; margin-top: 1rem; }
.pp-plain-list { list-style: none; padding: 0; margin: 0; }
.pp-plain-list li + li { margin-top: 0.5rem; }

.pp-price { font-size: 2.5rem; font-weight: 700; line-height: 1.1; margin: 0; }
.pp-price .muted { font-size: 1.1rem; font-weight: 400; }

.pp-checks { list-style: none; padding: 0; margin: 0; }
.pp-checks li { position: relative; padding-left: 1.75rem; margin: 0 0 0.5rem; }
.pp-checks li::before {
  content: ""; position: absolute; left: 0.2rem; top: 0.45em; width: 0.45rem; height: 0.8rem;
  border: solid var(--form); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

.pp-promise { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem 1rem; background: var(--surface-alt); }
.pp-promise summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.pp-promise p { margin: 0.75rem 0 0; font-size: 1rem; }

/* The promise in three lines (_ui.html promise_lines): one weight for all three, so "not covered until Ready" reads
   exactly as plainly as "money back". */
.pp-promise-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.pp-promise-lines li { border-left: 3px solid var(--form); padding-left: 0.75rem; }
.pp-promise-why { margin: 0.5rem 0 0; }

.pp-share { display: grid; gap: 0.75rem; }

.pp-message { background: var(--surface-alt); border-radius: var(--radius); padding: 1rem; }
.pp-seat-pick { border: 0; margin: 0 0 0.75rem; padding: 0; }
.pp-seat-pick legend { font-weight: 800; margin-bottom: 0.5rem; }
.pp-radio {
  display: flex; align-items: center; gap: 0.75rem; min-height: 52px; padding: 0.4rem 0.85rem; margin-bottom: 0.5rem;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer;
}
.pp-radio input { width: 1.4rem; height: 1.4rem; flex: none; }
.pp-block { display: block; }
.pp-quote { white-space: pre-line; margin: 0.5rem 0 0; }

.pp-score { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem 1rem; }
.pp-score p { margin: 0; }
.pp-score-number { font-size: 2rem; font-weight: 700; }

.pp-pass .button { margin-top: 0.25rem; }

.pp-crew { max-width: 44rem; margin: 0 auto; }
.pp-crew > * + * { margin-top: 1.5rem; }
.pp-worker > * + * { margin-top: 0.5rem; }
.pp-worker-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; }
.pp-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 0; }
.pp-facts div { min-width: 0; }
.pp-facts dt { font-size: 1rem; color: var(--ink-muted); }
.pp-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
@media (max-width: 22rem) { .pp-facts { grid-template-columns: 1fr; } }

.pp-clock { border-radius: var(--radius); padding: 0.75rem 1rem; background: var(--surface-alt); }
.pp-clock p { margin: 0 0 0.25rem; }
.pp-clock-days { font-size: 1.25rem; font-weight: 700; }
.pp-clock-warn { background: #fff4dc; color: #8a5a00; }
.pp-clock-bad { background: #fdecea; color: #b42318; }
.pp-clock-warn .muted, .pp-clock-bad .muted { color: inherit; }
.pp-inline-form { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.5rem; }
.pp-inline-form input[type="date"] { min-height: 48px; font: inherit; padding: 0 0.5rem; border: 1px solid var(--border-strong); border-radius: var(--radius-small); }

.pp-total { margin: 0; padding: 0.75rem 1rem; background: var(--surface-alt); border-radius: var(--radius-small); font-weight: 600; }
.pp-prices { width: 100%; border-collapse: collapse; font-size: 1rem; }
.pp-prices th, .pp-prices td { text-align: left; padding: 0.5rem 0.25rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.pp-prices thead th { white-space: normal; } /* long tier names wrap, so the table fits a 360px phone */
.pp-prices caption { text-align: left; caption-side: bottom; padding-top: 0.5rem; }

.pp-sharing + .pp-sharing { border-top: 1px solid var(--border); padding-top: 1rem; margin-top: 1rem; }

/* Crew page seats: each says its number and who it is for; the stop-link and refund actions sit apart from Send. */
.pp-seat-no { font-size: 0.875rem; font-weight: 600; color: var(--ink-muted, #555); margin-left: 0.35rem; white-space: nowrap; }
.pp-inline-form input[type="text"] { min-height: 48px; font: inherit; padding: 0 0.6rem; border: 1px solid var(--border-strong); border-radius: var(--radius-small); flex: 1 1 10rem; min-width: 0; }
.pp-seat-more { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border, #ddd); }
.pp-seat-more > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--ink-muted, #555); }
.pp-seat-more[open] > summary { margin-bottom: 0.5rem; }
.pp-seat-more form + form { margin-top: 0.5rem; }
.pp-seat-more .button { white-space: normal; text-align: left; }

/* The promise in plain words (passes/_ui.html promise_plain): /promise, the buy page, the full-test start screen. */
.pp-promise-plain { border-left: 3px solid var(--form); padding: 0.25rem 0 0.25rem 0.75rem; margin: 0 0 1rem; }
.pp-promise-plain-title { margin: 0 0 0.5rem; }
.pp-next-steps { margin: 0; padding-left: 1.4rem; }
.pp-next-steps li + li { margin-top: 0.6rem; }
/* The link to copy and its button (ask_boss_send.html, passes/copy.js): side by side, the button hidden until the
   script can run it. */
.pp-copy-row { display: flex; gap: 0.5rem; align-items: stretch; flex-wrap: wrap; }
.pp-copy-row input { flex: 1 1 14rem; min-width: 0; }
.pp-copy-row .button { min-height: 48px; }
.pp-copy-row [hidden] { display: none; }
