

.club-crest {
  width: 40px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ok-bg);
  flex-shrink: 0;
  background: var(--navy-3);
  border-color: var(--navy-3);
  color: var(--yellow);
  border-radius: var(--radius);
}

.match-crest {
  height: 48px;
  width: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);
  margin-bottom: 11px;
  background: var(--blue);
  color: var(--yellow);
}

.match-crest.away {
  background: var(--blue-soft);
  color: var(--faint);
}

.activity-list>div {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
  border-color: var(--line);
}

.activity-list strong {
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.5;
  display: block;
  color: var(--navy-3);
}

.activity-list small {
  display: block;
  font-size: var(--text-small);
  margin-top: 6px;
  color: var(--muted);
}

.activity-panel {
  margin-top: 25px;
}

.activity-panel .activity-list {
  padding: 0 25px 20px;
}

.filter-chip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  color: var(--muted);
  font-size: var(--text-small);
}

.filter-chip strong {
  color: var(--ink);
}

/* "Hoje" (dashboard/show): the date and the greeting, with the office's two
   quick actions on the right; on a phone they share one row. */
@media (min-width: 701px) { .today-head { align-items: flex-end; } }

@media (max-width: 700px) {
  .today-head .head-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .today-head .head-actions .btn { justify-content: center; padding-inline: var(--space-3); }
  .today-head .head-actions .btn > svg { display: none; }
}

/* Words and buttons the phone and laptop boards draw differently: the
   game-at-risk hero's eyebrow and note, its second button. */
@media (max-width: 700px) { .today-laptop { display: none !important; } }
@media (min-width: 701px) { .today-phone { display: none !important; } }

/* The game-at-risk hero's note reads as one line of text, the team badge
   first, wrapping like a sentence; its "+N" opens the call-up. */
.today-first .hero-note { display: block; line-height: 1.5; }
.today-first .hero-note .badge.team { margin-right: 6px; vertical-align: 1px; }
.today-first .hero-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.today-first .hero-note a:hover { color: var(--on-navy); }

/* The office's games coming up: the heading's link in blue, and no
   chevron on a game (the boards draw none; the whole line still opens it).
   On a phone the state is in the line, so the right-hand marks go. */
.today-layout .section-title a { color: var(--blue); }
.today-layout .section-title a:hover { color: var(--blue-deep); }
.upcoming-office > svg:last-child { display: none; }
@container (max-width: 460px) {
  .upcoming-office { flex-wrap: nowrap; }
  .upcoming-office .row-aside { order: 0; flex-basis: auto; padding-left: 0 !important; }
}
@media (max-width: 700px) { .upcoming-office .row-aside { display: none; } }
.upcoming-office .row-main strong { color: var(--ink); font-weight: 700; }

/* "Precisa de si": each line's title leads with its count, in bold. */
.today-attention .row-title { font-weight: 700; }

/* Under the hero, what needs doing (or the coach's next game) beside the
   next 7 days; one column below 1100px. Each block is a section title over
   a card or a list. */
.today-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--space-5); align-items: start; }
.today-column { display: grid; gap: 28px; min-width: 0; }
.today-column > .hero { margin: 0; }

.today-calm { display: flex; align-items: center; gap: var(--space-3); margin: 0; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); color: var(--muted); }
.today-calm span { display: flex; flex-direction: column; gap: 3px; }
.today-calm strong { color: var(--ink); font-size: var(--text-body); }
.today-calm small { color: var(--muted); font-size: var(--text-small); }

/* The coach's next game: when and who on the left, with the meeting and
   kick-off times as figures; on the right what's left to prepare and the
   call-up. The map and the map apps open from "Como chegar". */
.next-game-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); padding: 22px var(--space-5); }
.next-game-when { margin: 0; color: var(--muted); font-size: var(--text-small); }
.next-game-when strong { color: var(--ink); }
.next-game-opponent { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) 10px; margin: var(--space-2) 0 0; }
.next-game-opponent a { color: var(--ink); font-family: var(--display); font-size: 1.875rem; font-style: italic; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.next-game-opponent a:hover { color: var(--blue); }
.next-game-times { display: flex; gap: var(--space-5); margin: 14px 0 0; }
.next-game-times dt { color: var(--muted); font-size: .75rem; }
.next-game-times dd { margin: 0; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.next-game-where, .next-game-distance { margin: 10px 0 0; color: var(--muted); font-size: var(--text-small); }
.next-game-distance { margin-top: 2px; }
.next-game-details .text-btn { margin-top: var(--space-2); padding: 0; }
.next-game-prep { display: flex; flex-direction: column; gap: var(--space-4); }
.next-game-prep ul { display: grid; gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.next-game-step { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: var(--text-label); }
.next-game-step strong, .next-game-step small { display: block; }
.next-game-step small { margin-top: 2px; color: var(--muted); font-size: var(--text-small); }
.next-game-step > svg { flex: none; margin-top: 2px; color: var(--muted); }
.next-game-step > .tone-dot { margin-top: 5px; }
a.next-game-step:hover strong { color: var(--blue); }
.next-game-actions { display: flex; gap: var(--space-2); margin-top: auto; }
.next-game-actions > .btn { flex: 1 1 auto; justify-content: center; }
.next-game-line, .next-game-map { display: none; }

@media (max-width: 1100px) {
  .today-layout { grid-template-columns: minmax(0, 1fr); }
  /* In one column the coach's week comes before "Para acompanhar", as
     C-Hoje-P orders them: the column's blocks join the layout's grid. */
  .today-layout.coach { gap: 28px; }
  .today-layout.coach > .today-column { display: contents; }
  .today-layout.coach > .today-column > .today-follow { order: 1; }
}

@media (max-width: 700px) {
  .today-column { gap: var(--space-5); }
  .next-game-card { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .today-layout.coach { gap: var(--space-5); }
  /* C-Hoje-P: the day and the times on one line (home or away on its right)
     instead of the two figures, and "Como chegar" as a pin button beside
     the call-up's. */
  .next-game-when, .next-game-times, .next-game-details .text-btn { display: none; }
  .next-game-line { display: flex; justify-content: space-between; gap: var(--space-3); margin: 0; color: var(--muted); font-size: var(--text-small); }
  .next-game-line strong { color: var(--ink); }
  .next-game-opponent { margin-top: 10px; }
  .next-game-map { display: inline-flex; flex: none; width: 52px; background: var(--surface-3); color: var(--ink); }
  .next-game-card { gap: var(--space-4); }
}

/* "Hoje": the games of the next 7 days; a game in progress is grouped
   first, in blue. The postponed ones without a date are named under the list. */
.row-group.live { color: var(--blue); }
.upcoming-postponed { margin: 10px var(--space-1) 0; color: var(--muted); font-size: var(--text-small); }
.upcoming-postponed a { display: inline; }

/* The management view (management_reports/show, boards VisaoGestao-D/-P):
   the season and team fields beside the heading, the figures, what came in
   each month, then each team's collection and attendance side by side, and
   a note on how it is counted. Its source lists (details) are row lists. */
.management-report { overflow-wrap: anywhere; }
.management-report > :is(.section-card, .panel, .mg-teams) { margin-top: var(--space-5); }
.management-report .page-head { align-items: flex-end; }
.management-filters { display: flex; gap: var(--space-2); }
.management-filters .list-toolbar { margin: 0; }
.management-filters select { width: auto; min-width: 150px; max-width: 220px; min-height: 38px; color: var(--ink); font-weight: 600; }
.management-report .section-card { padding: 22px 24px; }
.management-report .section-card h2 { margin: 0 0 4px; font-size: var(--text-subheading); }
.mg-lead { margin: 0 0 18px; color: var(--muted); font-size: var(--text-small); }
.mg-foot { margin: 6px 0 0; color: var(--faint); font-size: .75rem; }
.mg-phone { display: none; }
.mg-teams { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: var(--space-5); }
.mg-teams .section-card { margin: 0; }
.management-report > .needs-card { padding: 0; }
/* The board draws only the overdue amount as a link; the other notes open
   their lists too, in the note's grey. */
.management-report .figure > span a.mg-quiet { color: inherit; }
.management-report .figure > span a.mg-quiet:hover { color: var(--ink); text-decoration: underline; }
.mg-bars { margin: 0; padding: 0; list-style: none; }
.mg-bars li { display: grid; grid-template-columns: 72px minmax(0, 1fr) 150px; gap: 14px; align-items: center; padding: 10px 0; font-size: var(--text-label); }
.mg-bars li + li { border-top: 1px solid var(--surface-3); }
.mg-bars .badge { justify-self: start; }
.mg-track { display: block; width: var(--size, 100%); }
.mg-track:hover .progress .done { background: var(--blue-deep); }
.mg-bars .progress { height: 12px; }
.mg-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mg-num > span { color: var(--muted); }
.mg-note { margin: 20px 4px 0; color: var(--muted); font-size: var(--text-small); }
.mg-note .text-btn { display: inline; min-height: 0; padding: 0; font-size: inherit; }

@media (max-width: 700px) {
  .management-report .page-head { display: block; }
  .management-filters { margin-top: var(--space-3); }
  .management-filters .list-toolbar { flex: 1; }
  .management-filters select { width: 100%; max-width: none; min-width: 0; color: var(--ink); }
  .management-report > :is(.section-card, .panel, .mg-teams) { margin-top: var(--space-4); }
  .mg-teams { gap: var(--space-4); }
  .management-report .section-card { padding: 18px 16px 10px; }
  .mg-lead { margin-bottom: 14px; }
  .mg-wide { display: none; }
  .mg-phone { display: inline; }
  p.mg-phone { display: block; }
  .mg-bars li { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; font-size: var(--text-small); }
  .mg-bars li + li { border-top: 0; }
  .mg-track { width: 100%; }
  .mg-bars .progress { height: 10px; }
  .mg-num { font-weight: 600; }
  .mg-num > span { color: inherit; }
  /* A month's name stays whole ("novembro", "fevereiro"). */
  .mg-months .bar-cell { grid-template-columns: 76px minmax(0, 1fr) 118px; }
  .mg-months .bar-label { overflow-wrap: normal; white-space: nowrap; }
}

/* Money screens (Payments by charge, statements). Amounts and
   their headings line up on the right, a status stays on one line, and the
   row's actions sit in a normal table cell, beside the row and never past the
   panel's edge. Below 1100px the money-table cards (components.css) take over. */
.money-table .money-actions { text-align: right; vertical-align: middle; }
.money-table .money-actions .row-actions { justify-content: flex-end; flex-wrap: nowrap; }
.money-table .money-actions .btn { white-space: nowrap; }
.money-table small.block { white-space: normal; }
.money-table td.money-what { min-width: 11rem; white-space: normal; }

@media (min-width: 1101px) {
  .money-table .num { text-align: right; }
  .money-table .badge { white-space: nowrap; overflow-wrap: normal; }
}

/* Below 1100px the payments list by charge keeps one compact row per
   charge instead of a card of labelled lines: who and how much on top,
   what and its state under it, then the date, with the one action on the
   right. */
@media (max-width: 1100px) {
  .money-table.charges-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px var(--space-3);
    align-items: center;
    padding: var(--space-3) var(--space-4);
  }

  .money-table.charges-table td,
  .money-table.charges-table td[data-label] { display: block; padding: 0; text-align: left; }

  .money-table.charges-table td[data-label]::before { content: none; }
  .money-table.charges-table td.num { text-align: right; }
  .money-table.charges-table .row-actions:not(:empty) { padding-top: 0; }
  .money-table.charges-table .row-actions .btn { width: auto; }

  .charges-table td:nth-child(1) { grid-area: 1 / 1; }
  .charges-table td.num { grid-area: 1 / 2; }
  .charges-table td.money-what { grid-area: 2 / 1; min-width: 0; color: var(--muted); font-size: var(--text-small); }
  .charges-table td:nth-child(5) { grid-area: 2 / 2; justify-self: end; }
  .charges-table td:nth-child(3) { grid-area: 3 / 1; color: var(--muted); font-size: var(--text-small); }
  .money-table.charges-table td:nth-child(3)[data-label]::before { content: attr(data-label) " "; }
  .charges-table td.money-actions { grid-area: 3 / 2; justify-self: end; }
  .charges-table td.money-actions:has(.row-actions:empty) { display: none; }

}

/* A statement (statements/show; boards Extrato-D and Extrato-P). Over
   1100px the figures panel, then the charges and the payments side by side
   as tables; up to 1100px the figures on navy (the hero), then both as row
   lists, with the family links at the end. The title carries the team. */
.statement-narrow { display: none; }
.statement .page-head h1 { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) 10px; }
.statement .page-head h1 .badge.team { font-size: .75rem; }
.statement .page-head p a { color: var(--blue); font-weight: 600; }
@media (min-width: 701px) { .statement .page-head { align-items: flex-end; } }

/* The figures: what is still to pay, big, then the paid and charged ones in
   grey, then the progress bar with its key. */
.statement-figures { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--space-3) 48px; margin-bottom: 20px; padding: 20px 24px; }
.statement-figure { display: grid; margin: 0; color: var(--ink); font-size: var(--text-small); }
.statement-figure small { color: var(--muted); font-size: var(--text-small); }
.statement-figure strong { font-family: var(--display); font-size: 2.125rem; font-style: italic; font-weight: 400; line-height: 1.15; font-variant-numeric: tabular-nums; }
.statement-figure.muted :is(strong, span) { color: var(--muted); }
.statement-overdue { font-weight: 600; }
.statement-progress { flex: 1 1 260px; align-self: center; }
.statement-progress > p:first-child { display: flex; justify-content: space-between; gap: var(--space-3); margin: 0 0 var(--space-2); color: var(--muted); font-size: var(--text-small); }

/* The two tables: the charges wider than the payments. What is still to pay
   is in ink; a paid charge or a voided payment is grey. The first column
   wraps, so both fit beside each other from 1100px up. */
.statement-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.statement-table :is(th, td) { padding-inline: 10px; }
.statement-table :is(th, td):first-child { padding-left: 20px; }
.statement-table :is(th, td):last-child { padding-right: 20px; }
.statement-table td.wrap-cell { min-width: 0; white-space: normal; }
.statement-table .panel-head small { color: var(--muted); font-size: var(--text-small); }
.statement-table td { color: var(--ink); }
.statement-table td small { color: var(--muted); font-size: var(--text-small); }
.statement-table tr.is-settled td { color: var(--muted); }
.statement-table .num { text-align: right; white-space: nowrap; }
.statement-table .badge { white-space: nowrap; overflow-wrap: normal; }
.statement-table td .text-btn { min-height: 0; padding: 0; font-size: var(--text-small); }

@media (max-width: 1100px) {
  .statement-wide { display: none; }
  .statement-narrow { display: block; }
  /* The family links move to the end of the page. */
  .statement:has(.statement-narrow) .page-head p:not(.print-only) { display: none; }
}

/* The hero: the figure in yellow, the overdue line, the bar, the paid and
   charged totals, then "Record payment" across the whole width. */
.statement-hero { flex-direction: column; align-items: stretch; margin: 0; }
.statement-hero :is(.hero-main, .hero-actions) { flex: none; }
.statement-hero .hero-figure strong { color: var(--yellow); }
/* The board's eyebrow is a plain "Por pagar" on a plain navy card. */
.statement-hero .hero-eyebrow { color: var(--on-navy-muted); font-size: var(--text-label); font-weight: 400; letter-spacing: 0; text-transform: none; }
.statement-hero .hero-eyebrow::before, .statement-hero .pitch-lines { display: none; }
.statement-hero .hero-note { color: var(--on-navy); font-weight: 600; }
.statement-hero .hero-actions { flex-direction: column; align-items: stretch; gap: var(--space-2); }
.statement-hero .hero-actions .btn.primary { margin-top: var(--space-2); }
.statement-hero-totals { display: flex; justify-content: space-between; gap: var(--space-3); margin: 0; color: var(--on-navy-muted); font-size: var(--text-small); }

/* The lists: the amount over its state stays on the right, even on a
   phone; a line's title is the button that opens its dialog. Grey once
   settled. */
.statement-list { margin-top: 28px; }
.statement-list .row-item { flex-wrap: nowrap; }
.statement-list .row-main { flex: 1 1 0; }
.statement-list .row-aside { order: 0; flex-basis: auto; flex-direction: column; align-items: flex-end; gap: 2px; font-size: var(--text-body); }
.statement-list button.row-open { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.statement-list .is-settled :is(.row-title, .row-aside) { color: var(--muted); font-weight: 600; }
.statement-list .is-settled .row-title { font-weight: 400; }
.statement-people { margin: var(--space-3) var(--space-2) 0; color: var(--muted); font-size: var(--text-small); }
.statement-people a { color: var(--blue); font-weight: 600; }
.statement-person { white-space: nowrap; }

/* On a phone the way back and the document's icon button share the top line, centred on each other. */
@media (max-width: 700px) {
  .statement .page-head { position: relative; }
  .statement .head-actions { position: absolute; top: -10px; right: 0; width: auto; }
  .statement .head-actions > * { flex: none; }
  .statement .head-actions .statement-document { width: 40px; min-height: 40px; padding: 0; border-radius: 12px; color: var(--ink); }
  .statement-document span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Money forms (payment, charge): a two-column row keeps the same gap to the
   next field as the stacked fields do. */
.money-form .form-grid > label { margin-bottom: 0; }
.money-form .form-grid + label,
.money-form .form-grid + details { margin-top: var(--space-4); }

.management-report dl.order-money { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: var(--space-2) var(--space-3); }
.management-report summary { cursor: pointer; font-weight: 700; }

/* Payments (balances/index, balances/claims, charges/index): the head's
   "Mais ações" and Record payment, the round "…" by the title on a phone;
   the tabs with the toolbar on their right, over one line (on a narrow
   laptop the toolbar narrows first, then the tabs scroll sideways; it never
   drops under them); a sentence about the list; the overdue athletes as a
   table on a laptop and as a row list on a phone, with a hint under it. */
.payments-head { position: relative; }
.payments-menu-phone { display: none; }
.payments-tabs { display: flex; align-items: flex-end; justify-content: space-between; gap: 0 var(--space-3); margin-top: var(--space-5); border-bottom: 1px solid var(--line); }
.payments-tabs .tabs { margin: 0; border-bottom: 0; }
.payments-tabs .list-toolbar { gap: var(--space-2); margin: 0 0 var(--space-2); }
.payments-tabs + .panel { margin-top: 18px; }
.payments-summary { margin: 18px var(--space-1) var(--space-3); color: var(--muted); font-size: var(--text-label); }
.payments-summary strong { color: var(--ink); }
.payments-hint { margin: var(--space-3) var(--space-2) 0; color: var(--faint); font-size: var(--text-small); }
.overdue-table :is(th, td) { padding-inline: 12px; }
.overdue-table td { vertical-align: middle; }
/* The family's name and number on one line where it fits, as plain text
   (the number still dials). */
.overdue-family .contact { color: inherit; white-space: nowrap; }
.overdue-family .contact svg { display: none; }
.overdue-table .person { gap: 10px; }
.overdue-table .avatar { width: 32px; height: 32px; font-size: .75rem; }
.overdue-name { color: var(--ink); font-weight: 600; }
.overdue-name:hover { color: var(--blue); }
.overdue-since { white-space: nowrap; }
.overdue-rows, .payments-hint { display: none; }

@media (min-width: 701px) {
  .payments-head .page-head { align-items: flex-end; }
  .payments-tabs .tabs { min-width: 0; }
  .payments-tabs .list-toolbar { flex: 0 100 auto; flex-wrap: nowrap; }
  .payments-tabs .list-toolbar > .search { flex: 0 1 170px; width: auto; min-width: 120px; }
  .payments-tabs .list-toolbar > select { flex: 0 1 auto; min-width: 120px; max-width: 180px; }
}

@media (max-width: 700px) {
  .payments-menu { display: none; }
  .payments-menu-phone { display: block; position: absolute; top: 0; right: 0; }
  .payments-head .page-head h1 { padding-right: 52px; }
  .payments-tabs { display: block; border-bottom: 0; }
  .payments-tabs .tabs { margin: 0 calc(-1 * var(--space-4)); padding: 0 var(--space-4); border-bottom: 1px solid var(--line); }
  .payments-tabs .list-toolbar { margin: var(--space-4) 0 0; }
  /* The phone board draws no age group. */
  .payments-tabs .list-toolbar > select[name=team] { display: none; }
  .overdue-table { display: none; }
  .overdue-rows, .payments-hint { display: block; }
  .overdue-rows .row-item { flex-wrap: nowrap; gap: var(--space-3); }
  .overdue-rows .row-main { flex: 1 1 0; }
  .overdue-rows .row-aside { order: 0; flex-basis: auto; font-size: 1rem; }
  .overdue-rows .icon-btn, .payments-menu-phone .icon-btn { width: 44px; height: 44px; border-radius: 10px; background: var(--surface-3); color: var(--ink); }
}

/* Record payment (payments/new, board B-Painel) in the form panel: the grey
   note of what is owed, amount and date side by side, the method as chips
   (radios; "Outro…" opens a field), the optional reference, the charges the
   payment covers with the other split folded under a link, and the button
   with the amount. On a phone the charges fold into one grey line. */
.pay-form label { gap: 6px; font-weight: 600; }
.pay-form :is(input:not([type=radio]), select) { min-height: 46px; padding-block: 0; font-size: var(--text-input); }
.pay-note { padding: 14px 16px; border-radius: var(--radius); background: var(--surface-2); color: var(--muted); font-size: var(--text-label); line-height: 1.25; }
.pay-note b { color: var(--ink); }
.pay-form .pay-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pay-pair > label { margin: 0; }
.pay-methods { display: flex; flex-direction: column; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.pay-methods legend { margin-bottom: 6px; padding: 0; color: var(--ink); font-size: var(--text-label); font-weight: 600; }
.pay-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.pay-form .pay-chip { position: relative; display: inline-flex; flex-direction: row; align-items: center; min-height: 38px; margin: 0; padding: 0 14px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); font-size: var(--text-label); font-weight: 600; white-space: nowrap; cursor: pointer; }
.pay-chip:hover { background: var(--blue-soft); }
.pay-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pay-form .pay-chip:has(:checked) { background: var(--navy); box-shadow: none; color: var(--on-navy); }
.pay-chip:has(:focus-visible) { outline: 3px solid var(--blue-line); outline-offset: 1px; }
.pay-other { margin-top: var(--space-1); }
.pay-optional { color: var(--faint); font-weight: 400; }
.pay-form .pay-covers { margin-top: var(--space-1); }
.pay-covers-title { margin: 0 0 6px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pay-charges { margin: 0; padding: 0; list-style: none; }
.pay-charges li { display: flex; align-items: center; gap: var(--space-3); padding: 11px 0; border-top: 1px solid var(--surface-3); font-size: var(--text-label); line-height: 1.25; }
.pay-charges li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pay-charges small { color: var(--muted); font-size: var(--text-small); }
.pay-charges-short, .pay-phone { display: none; }
.pay-split > summary { display: inline-flex; align-items: center; min-height: 36px; margin-top: var(--space-1); color: var(--blue); font-size: var(--text-label); font-weight: 600; list-style: none; cursor: pointer; }
.pay-split > summary::-webkit-details-marker { display: none; }
.pay-split > summary:hover { color: var(--blue-deep); }
.pay-split label { margin: 0 0 var(--space-3); }

@media (max-width: 700px) {
  .pay-form :is(input:not([type=radio]), select) { min-height: 48px; }
  .pay-note { padding: 12px 14px; }
  .pay-form .pay-pair { gap: 12px; }
  .pay-form .pay-chip { min-height: 40px; }
  .pay-covers { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--space-3); }
  .pay-covers-title, .pay-charges, .pay-laptop { display: none; }
  .pay-charges-short { display: block; flex: 1; min-width: 0; margin: 0; overflow: hidden; color: var(--muted); font-size: var(--text-label); text-overflow: ellipsis; white-space: nowrap; }
  .pay-phone { display: inline; }
  .pay-split > summary { margin-top: 0; }
  .pay-split[open] { flex-basis: 100%; }
  .modal > .pay-form + .helper { display: none; }
}

/* "Hoje": the person's own match-day jobs (match_duties/mine), above the
   rest of the page. */
.today-duties { margin-bottom: var(--space-5); }
