/* "The week ahead", /investor-days/week-ahead (docs/design/sunday-briefing/, approved by Roy on Oct 15; main's CC-4):
   the mockup's rules on the site's tokens (app.css), in the calendar page's frame (1,120 px, the site's gutter, the left
   edge on the wordmark's) with a reading column of about 860 px. The withheld rows are the calendar's treatment
   (calendar-public.css: blurred and faded, a gradient, the panel over them). Loaded by this page only. */

.wa.page { max-width: 1120px; padding-bottom: 80px; }
.wa :focus-visible { outline: 2px solid var(--sellier); outline-offset: 3px; }
.wa a { color: inherit; }
.wa__col { max-width: 860px; }

/* ---- head, with the lectern on the right (desktop) or above the label (phone) ---- */
.wa__head { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 0 40px; align-items: end; }
.wa__head .eyebrow { margin: 0 0 12px; }
.wa__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 60px; line-height: 1.04; color: var(--ink); }
.wa__week { margin: 8px 0 0; font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 24px; color: var(--ink-2); }
.wa__lede { margin: 16px 0 0; max-width: 62ch; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.wa__draw { display: block; width: 170px; height: 146px; }
.wa__draw path, .wa__draw rect { fill: none; stroke: var(--sellier); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }

.wa__line { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 22px 0 0; padding: 12px 0 0; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-2); }
.wa__line b { font-weight: 600; color: var(--ink); }
.wa__line a { color: var(--sellier); text-decoration: underline; text-underline-offset: 3px; }

/* ---- the contents: one row a company, each a link to its briefing below ---- */
.wa__toc { margin: 44px 0 0; }
.wa__toc-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.wa__toc-head h2 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 28px; }
.wa__toc-head span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.wa__row { display: grid; grid-template-columns: 150px 70px minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink); }
a.wa__row:hover .wa__co { text-decoration: underline; text-decoration-color: var(--sellier); text-underline-offset: 3px; }
.wa__when b { font-weight: 600; font-variant-numeric: tabular-nums; }
.wa__when span { display: block; font-size: 13px; color: var(--ink-2); }
.wa__tk { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; color: var(--sellier); }
.wa__co { font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.wa__fmt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); text-align: right; white-space: nowrap; }

.wa__late { margin: 30px 0 0; }
.wa__late-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
.wa__late-head h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 22px; }
.wa__late-note { margin: 8px 0 0; max-width: 62ch; font-size: 13px; color: var(--ink-2); }

/* ---- withheld: the calendar's treatment ---- */
.wa__locked { position: relative; display: grid; }
.wa__locked > * { grid-area: 1 / 1; }
.wa__ph { filter: blur(5px); opacity: 0.6; user-select: none; pointer-events: none; }
.wa__locked::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none; }
.wa__panel { position: relative; z-index: 1; align-self: start; justify-self: center; display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(520px, calc(100% - 24px)); margin: 40px 0 48px; padding: 30px 30px 26px; background: var(--surface); border: 1px solid var(--ink); box-shadow: 0 24px 60px -30px rgba(31, 27, 22, 0.45); text-align: center; }
.wa__panel-n { margin: 0; font-family: var(--font-display); font-size: 64px; line-height: 0.85; font-variant-numeric: lining-nums; color: var(--sellier); }
.wa__panel h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1.15; text-wrap: balance; }
.wa__from { margin: 2px 0 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sellier); }
.wa__points { display: flex; flex-direction: column; gap: 10px; max-width: 42ch; margin: 4px 0 6px; padding: 0; list-style: none; text-align: left; font-size: 14px; color: var(--ink-2); }
.wa__points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 10px; align-items: baseline; }
.wa__points p { margin: 0; }
.wa__points strong { font-weight: 600; color: var(--ink); }
.wa__point-n { font-family: var(--font-display); font-size: 22px; line-height: 1; color: var(--sellier); }
.wa__act { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: center; }
.wa__btn { display: inline-block; padding: 14px 22px; background: var(--ink); color: var(--paper) !important; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; }
.wa__btn:hover { background: var(--ink-2); }
.wa__signin { font-size: 14px; color: var(--ink-2) !important; text-decoration: underline; text-decoration-color: var(--sellier); text-underline-offset: 3px; }

/* ---- one briefing a company ---- */
.wa__co-brief { margin: 72px 0 0; padding-top: 26px; border-top: 2px solid var(--ink); }
.wa__co-when { margin: 0; font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sellier); }
.wa__co-late { display: inline-block; margin-left: 10px; padding: 1px 6px; border: 1px solid var(--rule); font-size: 10px; letter-spacing: 0.16em; color: var(--ink-2); vertical-align: 1px; }
.wa__co-brief h2 { margin: 8px 0 0; font-family: var(--font-display); font-weight: 500; font-size: 38px; line-height: 1.1; }
.wa__co-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }
.wa__co-meta b { font-weight: 600; letter-spacing: 0.06em; color: var(--ink); }
.wa__co-meta a { color: var(--ink) !important; text-decoration: underline; text-decoration-color: var(--sellier); text-underline-offset: 3px; }
.wa__sec { margin: 30px 0 0; }
.wa__sec h3 { margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }
.wa__sec p { max-width: 66ch; margin: 0 0 0.9em; font-size: 16.5px; line-height: 1.7; text-wrap: pretty; }
.wa__sec ul { max-width: 66ch; margin: 0; padding: 0; list-style: none; }
.wa__sec li { position: relative; padding: 6px 0 6px 20px; font-size: 16px; line-height: 1.6; }
.wa__sec li::before { content: ''; position: absolute; left: 2px; top: 1.05em; width: 6px; height: 6px; background: var(--sellier); }
.wa__sec a { text-decoration: underline; text-decoration-color: var(--sellier); text-underline-offset: 3px; }
.wa__sec--src li { padding-left: 0; font-size: 14px; }
.wa__sec--src li::before { display: none; }
.wa__missing { font-style: italic; color: var(--ink-2); }
.wa__sec .wa__date { margin: 10px 0 2px; font-weight: 600; }

.wa__q { overflow-x: auto; margin: 4px 0 14px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.wa__q table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.wa__q th, .wa__q td { padding: 10px 14px; border-bottom: 1px solid var(--rule); text-align: right; white-space: nowrap; }
.wa__q thead th { font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.wa__q tbody tr:last-child > * { border-bottom: 0; }
.wa__q th:first-child, .wa__q td:first-child { position: sticky; left: 0; padding-left: 0; text-align: left; background: var(--paper); }
.wa__q tbody th { font-weight: 600; }
.wa__q .wa__ltm { border-left: 1px solid var(--rule); }
.wa__q thead .wa__src > * { padding-top: 0; font-size: 10.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: none; color: var(--ink-3); }
.wa__q tr > :last-child { padding-right: 0; }
.wa__sec .wa__q-note { margin: -6px 0 12px; font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

/* ---- the cut, as on the recap wall ---- */
.wa__cut { max-width: 760px; margin: 72px 0 0; padding: 30px 32px 28px; background: var(--surface); border: 1px solid var(--rule); border-top: 3px solid var(--sellier); }
.wa__cut-eyebrow { margin: 0 0 8px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sellier); }
.wa__cut h3 { margin: 0 0 10px; font-family: var(--font-display); font-weight: 500; font-size: 30px; line-height: 1.12; text-wrap: balance; }
.wa__cut p { max-width: 58ch; margin: 0 0 14px; color: var(--ink-2); }
.wa__cut .wa__from { margin: 0 0 14px; }
.wa__cut .wa__act { justify-content: flex-start; }

/* ---- an empty week ---- */
.wa__empty { max-width: 640px; margin: 48px 0 0; padding: 36px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.wa__empty p { margin: 0 0 18px; font-family: var(--font-display); font-size: 26px; line-height: 1.35; }

.wa__foot { max-width: 66ch; margin: 56px 0 0; font-size: 13px; color: var(--ink-3); }

/* ---- phone ---- */
@media (max-width: 700px) {
  .wa.page { padding-top: 36px; padding-left: 16px; padding-right: 16px; }
  .wa__title { font-size: 40px; }
  .wa__week { font-size: 21px; }
  .wa__head { grid-template-columns: minmax(0, 1fr); }
  .wa__draw { order: -1; width: 92px; height: 79px; margin: 0 0 14px -6px; }
  .wa__row { grid-template-columns: 96px minmax(0, 1fr); gap: 2px 14px; }
  .wa__when { grid-row: 1 / span 2; }
  .wa__tk, .wa__co, .wa__fmt { grid-column: 2; }
  .wa__co { font-size: 20px; }
  .wa__fmt { text-align: left; white-space: normal; }
  .wa__ph > .wa__row:nth-child(n + 6) { display: none; }
  .wa__panel { margin-top: 24px; padding: 24px 18px 22px; }
  .wa__panel-n { font-size: 52px; }
  .wa__co-brief { margin-top: 56px; }
  .wa__co-brief h2 { font-size: 31px; }
  .wa__sec p { font-size: 16px; }
  .wa__q { margin-inline: -16px; }
  .wa__q th:first-child, .wa__q td:first-child { padding-left: 16px; box-shadow: inset -1px 0 0 var(--rule); }
  .wa__q tr > :last-child { padding-right: 16px; }
  .wa__cut { margin-inline: -16px; padding: 24px 16px 22px; border-inline: 0; }
  .wa__cut h3 { font-size: 26px; }
  .wa__empty p { font-size: 22px; }
}
