/* L4-35 /teams: "Know before the invoice". Head with the alarm-clock sticker and the live reach strip, two short numbered rows,
   a dark NOTICES board (twin of the departures and arrivals boards; tiles from gates.css), the status sign and the form. */
.tm-head{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);align-items:end;gap:24px;padding:24px 0 48px;
  border-bottom:2px solid var(--line)}
.tm-eyebrow{display:flex;align-items:center;gap:8px;color:var(--ink-3)}
.tm-glyph{width:18px;height:18px;flex:none;color:var(--ember-fill)}
.tm-title{margin-bottom:20px}
.tm-copy .lead{margin:0 0 28px}
.tm-actions{display:flex;flex-wrap:wrap;gap:12px}
.tm-reach{display:flex;align-items:center;gap:16px;max-width:600px;margin-top:32px;padding:14px 18px;border-radius:16px;
  background:#0b0907;color:#ffbf47;border-bottom:4px solid #ffbf47;--tw:30px;--g:3px}
.tm-reach p{margin:0;font-size:15px;line-height:1.45;color:#e6dac4}
.tm-art{justify-self:center;width:auto;max-width:100%;height:300px;object-fit:contain;object-position:center bottom}
.tm-block{padding-top:72px}
.tm-block>.lead{margin-bottom:24px}

/* Numbered rows, top rule only (like Arrivals "What is a brief"). */
.tm-points{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.tm-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.tm-points li{display:flex;flex-direction:column;gap:10px;padding-top:16px;border-top:2px solid var(--ink)}
.tm-n{font-size:14px;color:var(--link)}
.tm-points p{margin:0;font-size:16px;color:var(--ink-2)}
.tm-points b{display:block;margin-bottom:4px;font:600 20px/1.25 var(--sans);color:var(--ink)}

/* NOTICES board: dark in both themes. Each tile column is a fixed number of tiles, so rows line up with the labels. */
.tm-board{padding:22px clamp(18px,2.6vw,34px) 8px;border-radius:24px;background:linear-gradient(#ffffff0a,#0000 120px),#070605;
  color:#ffbf47;border:1px solid #000;box-shadow:inset 0 1px 0 #ffffff14,0 0 0 7px #1d1a16,0 0 0 8px #34302a,0 34px 70px -24px #000d;
  --tw:20px;--g:3px}
.tm-board-head{display:flex;align-items:center;gap:12px;margin:0 0 14px;font:800 clamp(26px,3vw,40px)/1 var(--display);
  letter-spacing:-.03em;color:#fff4de}
.tm-board-glyph{width:.85em;height:.85em;flex:none;color:#ffbf47}
.tm-board-meta{margin-left:auto;font:500 12px var(--mono);letter-spacing:.14em;text-transform:uppercase;color:#a99d88}
.tm-row{display:grid;align-items:center;column-gap:18px;padding:14px 0;border-top:1px solid #ffffff12;
  grid-template-columns:calc(12*var(--tw) + 11*var(--g)) minmax(0,1fr) calc(6*var(--tw) + 5*var(--g)) calc(6*var(--tw) + 5*var(--g))
    calc(3*var(--tw) + 2*var(--g))}
.tm-labels{padding:0 0 10px;border:0;font:500 11px var(--mono);letter-spacing:.16em;text-transform:uppercase;color:#a99d88}
.tm-what{display:flex;flex-direction:column;gap:4px;min-width:0}
.tm-what a{font:700 17px/1.3 var(--sans);color:#fff4de;text-decoration:none}
.tm-what a:hover{text-decoration:underline;text-decoration-color:#ffbf47}
.tm-meta{font-size:13px;line-height:1.4;color:#a99d88}
.tm-days{color:#ff8a4c}
.tm-foot{margin:14px 0 0;max-width:760px;color:var(--ink-3)}
.tm-more{display:flex;flex-wrap:wrap;gap:4px 28px;margin:6px 0 0}
.tm-more .more{display:inline-flex;align-items:center;gap:6px}

/* Status: an airport sign, not a badge. */
.tm-status{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;max-width:760px;margin:64px 0 0;padding:16px 20px;
  border-radius:14px;background:#0b0907;color:#fff4de;border-bottom:4px solid #ffbf47;font-weight:700;line-height:1.4}
.tm-status-k{display:grid;place-items:center;height:30px;padding:0 10px;border-radius:6px;background:#ffbf47;color:#0b0907;
  font-size:13px;letter-spacing:.12em;text-transform:uppercase}

/* The form: one column of plain fields; the three selects share a row on wide screens. */
.tm-form.panel{display:grid;gap:10px;max-width:760px;padding:32px}
.tm-form .h2{margin:0}
.tm-form-lead{margin:0 0 6px;color:var(--ink-2)}
.tm-form label,.tm-radios legend{font-size:15px;font-weight:700}
.tm-form input,.tm-form select,.tm-form textarea{width:100%}
.tm-form .muted{font-weight:500}
.tm-selects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:6px 0}
.tm-selects>div{display:flex;flex-direction:column;justify-content:space-between;gap:8px}
.tm-radios{margin:8px 0 0;padding:0;border:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0 12px;min-width:0}
.tm-radios legend{margin-bottom:4px;padding:0}
.tm-form .tm-choice{display:flex;align-items:center;gap:12px;min-height:44px;font-weight:500}
.tm-choice input{width:20px;height:20px;min-height:0;flex:none;accent-color:var(--accent)}
.tm-form .btn{justify-self:start;margin-top:10px}
.tm-form .notice{margin:0}
.tm-thanks{padding:24px 0 40px}
.tm-thanks .tm-points{margin:32px 0 28px}

@media(max-width:1100px) {
  .tm-points{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tm-three{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tm-board{--tw:16px}
}
@media(max-width:820px) {
  .tm-head{grid-template-columns:1fr;padding-bottom:40px}
  .tm-art{order:-1;height:180px}
  .tm-block{padding-top:52px}
  .tm-three{grid-template-columns:1fr}
  .tm-selects{grid-template-columns:1fr}
  /* Phones: the title on top, then told · act by · days, each with its own small label; vendor tiles go (the title names it). */
  .tm-board{--tw:15px;--g:2px;padding:20px 14px 6px;border-radius:18px}
  .tm-labels,.tm-vendor{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  .tm-row{grid-template-columns:auto auto auto;justify-content:start;column-gap:12px;row-gap:10px}
  .tm-what{grid-column:1/-1}
  .tm-cell[data-label]::before{content:attr(data-label);display:block;margin-bottom:4px;font:500 10px var(--mono);letter-spacing:.14em;
    text-transform:uppercase;color:#a99d88}
  .tm-board-meta{display:none}
}
@media(max-width:560px) {
  .tm-points{grid-template-columns:1fr}
  .tm-reach{--tw:24px;padding:12px 14px}
  .tm-form.panel{padding:20px}
  .tm-status{margin-top:48px}
}
