/* The calm redesign (Oct 16, 2026): Greg's Wrap-up (board/wrapup.js). Loaded after styles.css, so a rule here wins over the same rule there.
   Docs/Hub design standard.md has the rules (Motion; Calm and focus). Colours only from the tokens in styles.css. */

/* Two columns on a computer: the jobs on the left; the yard, the summary and Send on the right. */
.wu-cols { display: flex; flex-direction: column; gap: 16px; }
.wu-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 1000px) {
  .screen.wu, .screen.wu ~ .req-foot { max-width: 1040px; }
  .wu-cols { flex-direction: row; align-items: flex-start; gap: 24px; }
  .wu-col { flex: 1 1 0; }
}

/* Quieter sent / practice banners. */
.wu .banner, .wu .banner.ok { padding: 12px 16px; font-size: .9375rem; }
.wu .banner .b-main { display: flex; flex-wrap: wrap; gap: 0 8px; }

/* The hero: the same height whether it counts or sends, so nothing below it moves when it turns into the button. */
.wu-hero[hidden] { display: none; }
.wu-hero .hero-v { font-size: 3rem; }
body.big-text .wu-hero .hero-v { font-size: 3.25rem; }
.wu-hero .hero-a { min-height: 56px; margin-top: 8px; }
.wu-hero .hero-a .btn.full { flex: 1 1 100%; min-height: 56px; border-radius: var(--r-pill); font: 700 1.375rem/1 var(--rt-cond); letter-spacing: .02em; text-transform: none; }
.wu-hero .hero-a .btn.cta.full { border: 0; }
.wu-bar { flex: 1; display: flex; gap: 3px; height: 8px; }
.wu-bar i { flex: 1; height: 8px; border-radius: 4px; background: var(--surface-2); }
.wu-bar i.on { background: var(--cta); }
.hero-solid .wu-bar i { background: var(--hero-line); }
.hero-solid .wu-bar i.on { background: var(--hero-btn); }
.hero-calm .hero-ct { font-size: 1.0625rem; }

/* The jobs: one soft card each, folded to a line once answered. */
.wu-jobs.sec { gap: 12px; }
.wu .card.wu-job { border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.wu-late { background: var(--alert); color: var(--on-alert); font: 700 .8125rem/1 var(--rt-body); letter-spacing: 0; text-transform: none; }
.seg.wu-res button { font: 700 1.0625rem/1.15 var(--rt-body); letter-spacing: 0; text-transform: none; }
.wu .more > .more-s { min-height: 44px; }
.wu-jobs > .more select { width: 100%; min-height: 48px; border-radius: 12px; background: var(--surface); }
.wu-addr .ib { margin-left: auto; }

/* The yard: one card, the question, No / Yes. */
.wu-stock.sec { gap: 12px; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); }
.wu-stock > .lab { font: 600 1.0625rem/1.3 var(--rt-body); }
.wu-stock .stockrow .wu-rm { display: flex; justify-content: flex-end; }
.wu-stock .btn.link .ic { width: 18px; height: 18px; }

/* Today's summary: a title, one short line, the box, then what the crew wrote. */
.wu-sum.sec { gap: 8px; }
.wu-sum .eb { font: 600 1.0625rem/1.3 var(--rt-body); }
.wu-sum .sec-help { font-size: .8125rem; color: var(--text-3); }
.wu-sum .field textarea, .wu #wu-notes { border: 1px solid var(--border); }
.wu .wu-crew { border: 1px solid var(--border); background: var(--surface-2); }

/* Send at the end of the form: it stays where it is (it no longer follows Greg down the page). */
.wu .sendbar { margin-inline: 0; padding: 8px 0 24px; background: none; }
.wu .sendbar .btn.cta.full { text-transform: none; font: 700 1.375rem/1 var(--rt-cond); letter-spacing: .02em; }
@media (min-width: 720px) { .wu-hero .hero-a .btn.full { flex: 0 1 340px; } }
.wu .more > .more-s { padding: 0; }
