/* Today: the front page of the hotel's housekeeping, and the team briefing's band at its foot. */

.today-title { margin: 0; padding: clamp(56px, 9vw, 136px) 0 0; font: 700 clamp(48px, 7vw, 80px) / 0.9 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.today-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 20px; min-height: 60px; margin-top: clamp(48px, 7.5vw, 112px); }
.filter { display: flex; flex-direction: column; gap: 8px; }
.filter-label { font: 600 11px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.filter .seg button { padding: 9px 14px; }
#brief[aria-busy="true"] { opacity: 0.55; transition: opacity 160ms ease 120ms; }
.today .below { margin: 32px 0 0; }

.front-figures { gap: 40px; padding: 32px 0 clamp(80px, 10vw, 144px); }
.front-figures .small-caps { font-size: 12px; }
.front-figures .figure-value { font-size: 64px; }
.figure-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.front-figures .line { margin-top: 8px; }
.front-notice { max-width: 820px; margin: 56px 0 24px; padding: 30px 34px 32px; }
.front-notice h3 { margin-top: 12px; font-size: 32px; }
.front-notice p { margin-top: 12px; text-wrap: pretty; }
.front-notice .link { margin-top: 16px; }

.front-sec + .front-sec { padding-top: 96px; }
.front-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.front-head > div { display: flex; align-items: baseline; gap: 18px; }
.front-num { font: 600 12px/1.2 var(--sans); letter-spacing: 0.14em; color: var(--faint); }
.front-head h2 { margin: 0; font: 700 40px/1.1 var(--serif); }
.front-head .link { border-bottom-width: 1px; }
.front-aside { font-size: 14px; color: var(--muted); }
.front-empty { margin: 0; padding: 22px 0; color: var(--muted); border-bottom: 1px solid var(--line); }

/* The weakest check, on black. */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px 56px; margin-top: 28px; padding: clamp(28px, 3.6vw, 48px) clamp(24px, 3.6vw, 52px) clamp(28px, 3.6vw, 52px); background: var(--ink); color: #fff; }
.hero-text { display: flex; flex-direction: column; min-width: 0; }
.hero-kicker { font: 600 12px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.6); }
.hero-name { margin-top: 18px; font: 700 clamp(48px, 6vw, 84px) / 1 var(--serif); text-wrap: balance; }
.hero-miss { margin-top: 16px; font: 400 22px/1.4 var(--sans); color: rgb(255 255 255 / 0.82); }
.hero-score { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; margin-top: 40px; }
.hero-pct { font: 700 clamp(80px, 9vw, 132px) / 0.8 var(--serif); white-space: nowrap; }
.hero-score > div { display: flex; flex-direction: column; gap: 8px; padding-bottom: 4px; }
.hero .delta { font-size: 15px; color: #fff; }
.hero .delta.is-worse { color: #ff8a75; }
.hero-vs { font-size: 15px; line-height: 1.45; color: rgb(255 255 255 / 0.7); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: auto; padding-top: 44px; }
.link.is-light { border-bottom: 1px solid #fff; color: #fff; }
.hero-chart { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.dbars { display: flex; align-items: flex-end; gap: 6px; height: 130px; border-bottom: 1px solid rgb(255 255 255 / 0.3); }
.dbar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-width: 0; height: 100%; }
.dbar span { font: 500 11px/1 var(--sans); text-align: center; color: rgb(255 255 255 / 0.75); white-space: nowrap; }
.dbar i { display: block; background: #4a4a4a; }
.dbar.is-on i { background: #fff; }
.dbar-labels { display: flex; gap: 6px; padding-top: 8px; }
.dbar-labels span { flex: 1; min-width: 0; font-size: 11px; text-align: center; color: rgb(255 255 255 / 0.55); white-space: nowrap; }

/* The two after it. */
.runners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 56px; margin-top: 56px; }
.runner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px; padding-top: 20px; border-top: 1px solid var(--ink); }
.runner-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.runner .small-caps { font-size: 12px; }
.runner-name { font: 700 40px/1.05 var(--serif); text-wrap: balance; }
.runner-miss { font-size: 15px; line-height: 1.45; color: var(--muted); }
.runner-score { display: flex; align-items: baseline; gap: 14px; margin-top: 6px; }
.runner-score > span:first-child { font: 700 64px/1 var(--serif); white-space: nowrap; }
.runner-vs { font-size: 13px; color: var(--faint); }
.runner .add { align-self: flex-start; margin-top: 12px; }
.runner-line { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-width: 0; }

/* The rest, the weakest first. */
.others { margin-top: 72px; }
.others-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 20px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.others-head h3 { margin: 0; font: 700 26px/1.1 var(--serif); }
.others-head span { font-size: 13px; color: var(--faint); }
.other { display: grid; grid-template-columns: 40px minmax(0, 1fr) 200px 96px 96px 190px; align-items: center; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.other-rank { font: 500 13px/1 var(--sans); color: var(--faint); }
.other-what { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.other-what strong { font: 500 17px/1.25 var(--sans); }
.other-what span { font-size: 13px; color: var(--muted); }
.other-line .line polyline { stroke-width: 1.4; }
.other-pct { font: 700 28px/1 var(--serif); text-align: right; white-space: nowrap; }
.other > .delta { font-size: 13px; text-align: right; }
.other-add { display: flex; justify-content: flex-end; }
.other-add .add { padding: 10px 14px; font-size: 13px; }
.others-more { margin-top: 22px; }

/* What was raised at the last briefings. */
.raised { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 56px; padding-top: 32px; }
.raised-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 32px; }
.raised-card .small-caps { font-size: 12px; }
.raised-name { margin-top: 10px; font: 700 32px/1.1 var(--serif); }
.then-now { display: flex; align-items: baseline; gap: 14px; margin-top: 14px; font: 700 56px/1 var(--serif); white-space: nowrap; }
.then-now .then { color: #b4b4b4; }
.then-now .arrow { font: 400 28px/1 var(--sans); color: var(--faint); }
.raised-line { margin-top: 10px; font-size: 14px; color: var(--muted); }
.raised-side { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }

/* The team briefing: its slides in a band at the foot, black, the cover first. */
body:has(.band:not([hidden])) .page { padding-bottom: 120px; }
.band { --edge: max(var(--pad), calc((100vw - 1368px) / 2)); position: sticky; bottom: 0; z-index: 5; height: 163px; background: var(--ink); color: #fff; }
.band-strip { position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #4a4a4a var(--ink); }
.band-strip::before { content: ""; flex: none; width: calc(var(--edge) + 384px); }
.band-strip::after { content: ""; flex: none; width: calc(var(--edge) + 312px); }
.band-card { position: relative; flex: none; display: flex; flex-direction: column; justify-content: space-between; width: 176px; height: 99px; padding: 12px 14px; background: #fff; color: var(--ink); cursor: pointer; transition: transform 140ms ease; }
.band-card:hover { transform: translateY(-3px); }
.band-card:focus-visible { outline: 2px solid var(--electric); outline-offset: 2px; }
.band-card small { padding-right: 18px; font: 600 10px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.band-card strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font: 700 18px/1.1 var(--serif); }
.band-x { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; padding: 0; border: 0; background: none; font: 400 18px/1 var(--sans); color: #c4c4c4; cursor: pointer; transition: color 120ms ease; }
.band-card:hover .band-x, .band-x:focus-visible { color: var(--muted); }
.band-x:hover { color: var(--bad); }
.band-left { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--edge) + 384px); display: flex; flex-direction: column; justify-content: center; padding-left: var(--edge); background: linear-gradient(90deg, var(--ink) 80%, rgb(18 18 18 / 0)); pointer-events: none; }
.band-kicker { font: 600 12px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.6); }
.band-title { margin-top: 10px; font: 700 38px/1.05 var(--serif); }
.band-right { position: absolute; right: 0; top: 0; bottom: 0; width: calc(var(--edge) + 304px); display: flex; align-items: center; justify-content: flex-end; padding-right: var(--edge); background: linear-gradient(270deg, var(--ink) 80%, rgb(18 18 18 / 0)); pointer-events: none; }
.band-go { display: inline-flex; gap: 10px; padding: 17px 24px; border: 0; background: #fff; color: var(--ink); font: 600 16px/1 var(--sans); white-space: nowrap; cursor: pointer; pointer-events: auto; }
.band-go span { transition: transform 160ms ease; }
.band-go:hover span { transform: translateX(3px); }

/* The slides over the page. */
.presenting { position: fixed; inset: 0; z-index: 100; background: var(--ink); }
.presenting iframe { display: block; width: 100%; height: 100%; border: 0; }
.is-presenting, .is-presenting body { overflow: hidden; }

@media (max-width: 1100px) {
  .other { grid-template-columns: 32px minmax(0, 1fr) 72px 72px; gap: 8px 16px; }
  .other-line { display: none; }
  .other-add { grid-column: 2 / -1; justify-content: flex-start; }
}
@media (max-width: 900px) {
  .front-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .front-figures .figure-value { font-size: 52px; }
}
@media (max-width: 760px) {
  .band { height: auto; }
  .band-left, .band-right { position: static; width: auto; padding: 18px var(--pad) 0; background: none; }
  .band-right { justify-content: flex-start; padding-bottom: 18px; }
  .band-strip { position: static; padding: 14px 0 0; }
  .band-strip::before, .band-strip::after { width: var(--pad); }
  .band { display: flex; flex-direction: column; }
  .band-strip { order: 2; }
  .band-right { order: 3; }
  .band-title { font-size: 28px; }
  .raised-card { grid-template-columns: 1fr; }
  .raised-side { align-items: flex-start; }
}
@media (max-width: 560px) {
  .front-figures { grid-template-columns: 1fr; }
}
