/* The calm redesign (Oct 16, 2026): the manager'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 the manager 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; }

/* On a phone the count and its bar share one slim row, so the first job's Done / Partly / Didn't get to it is on the first screen. */
@media (max-width: 719px) {
  .wu-hero .hero { flex-direction: row; align-items: center; gap: 14px; padding: 12px 18px; }
  .wu-hero .hero-v { flex: none; font-size: 2.25rem; }
  body.big-text .wu-hero .hero-v { font-size: 2.5rem; }
  .wu-hero .hero-u { font-size: 1.0625rem; }
  .wu-hero .hero-a { flex: 1; min-width: 0; margin-top: 0; min-height: 48px; }
  .wu-hero .hero-a .btn.full { min-height: 48px; font-size: 1.125rem; }
  /* With Larger text the third answer takes its own row instead of wrapping inside its pill. */
  body.big-text .seg.wu-res { flex-wrap: wrap; }
  body.big-text .seg.wu-res button:last-child { flex: 1 1 100%; }
}
