/* ==========================================================================
   Golf Lounge - a printed scorecard on a fairway.

   Deep green ground, off-white card stock panels, thin rules, a flagstick
   red accent, and every time and amount set in a monospace face so the
   columns line up like pencil on a card.
   ========================================================================== */

:root {
  --turf:        #0d3b2a;
  --turf-deep:   #082418;
  --turf-mid:    #124a35;
  --turf-line:   #1d5a42;

  --card:        #f5f2e8;
  --card-warm:   #ece8d9;
  --card-line:   #cec7b0;
  --card-rule:   #ded8c6;

  --ink:         #1a2a22;
  --ink-soft:    #5f6f65;
  --ink-faint:   #8c9990;

  --flag:        #b4232a;
  --flag-dark:   #8d181e;
  --free:        #1f7a4d;
  --free-soft:   #e2f0e6;

  --focus:       #f2c14e;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

  --pad: 1rem;
  --radius: 14px;     /* cards and panels */
  --radius-sm: 9px;   /* buttons, inputs, slots */
  --radius-xs: 6px;   /* small chips and swatches */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  /* A sketch of a hole, drawn in shades of green. It is a couple of kilobytes
     of SVG rather than a photograph, so it stays sharp at any size, costs
     nothing to load on a phone, and needs no third-party host. The flat green
     underneath means the page looks right even before it paints. */
  background-color: var(--turf);
  background-image: url("/course.svg");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

/* Phones handle a fixed background badly - it judders while scrolling and
   costs battery - so there it simply scrolls with the page. */
@media (max-width: 60rem) {
  body { background-attachment: scroll; }
}

/* Numbers, times and money always in the pencil face. */
.mono, .money, .time, td.num, th.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.money { white-space: nowrap; }

a { color: var(--flag); }
a:hover { color: var(--flag-dark); }

/* Keyboard focus must always be obvious. */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Page frame
   -------------------------------------------------------------------------- */

.wrap { max-width: 60rem; margin: 0 auto; padding: 0 var(--pad) 4rem; }

.masthead {
  border-bottom: 2px solid var(--turf-line);
  background: linear-gradient(180deg, var(--turf-deep), var(--turf));
}
.masthead__inner {
  max-width: 60rem; margin: 0 auto;
  padding: 0.85rem var(--pad);
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.masthead__club {
  font-weight: 700; font-size: 1.05rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--card); text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
}
.masthead__club:hover { color: #fff; }

/* The flagstick: a thin pole with a red pennant. */
.flagstick { width: 13px; height: 20px; flex: 0 0 auto; display: block; }

.masthead__who {
  margin-left: auto; display: flex; align-items: center; gap: 0.75rem;
  color: #b9cdc2; font-size: 0.82rem;
}
.masthead__who strong { color: var(--card); font-weight: 600; }

.signout {
  background: none; border: 1px solid var(--turf-line); color: #b9cdc2;
  font: inherit; font-size: 0.78rem; padding: 0.22rem 0.7rem;
  border-radius: 999px; cursor: pointer;
}
.signout:hover { border-color: var(--card); color: var(--card); }

/* --------------------------------------------------------------------------
   Navigation - tabs torn along the top of the card
   -------------------------------------------------------------------------- */

.nav {
  background: var(--turf-deep);
  border-bottom: 1px solid var(--turf-line);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.nav__inner {
  max-width: 60rem; margin: 0 auto; padding: 0 var(--pad);
  display: flex; gap: 0.15rem; min-width: max-content;
}
.nav a {
  color: #a9c0b4; text-decoration: none;
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: var(--card); background: rgba(255,255,255,0.04); }
.nav a.is-current { color: var(--card); border-bottom-color: var(--flag); }

/* --------------------------------------------------------------------------
   Cards - the scorecard stock itself
   -------------------------------------------------------------------------- */

.card {
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(0,0,0,0.10), 0 10px 30px rgba(0,0,0,0.22);
  margin-top: 1.25rem;
  overflow: hidden;
}
.card__head {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--card-line);
  background: var(--card-warm);
  display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap;
}
.card__title {
  margin: 0; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}
.card__note { font-size: 0.8rem; color: var(--ink-soft); margin-left: auto; }
.card__body { padding: 1rem; }
.card__body > :first-child { margin-top: 0; }
.card__body > :last-child { margin-bottom: 0; }

.page-title {
  color: var(--card); font-size: 1.5rem; margin: 1.5rem 0 0;
  letter-spacing: 0.02em; font-weight: 700;
}
.page-sub { color: #a9c0b4; margin: 0.25rem 0 0; font-size: 0.9rem; }

/* --------------------------------------------------------------------------
   The month meter - the memorable one.
   Fifteen boxes that fill hour by hour; anything past fifteen is free.
   -------------------------------------------------------------------------- */

.meter { margin: 0; }
.meter__row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.meter__box {
  width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--card-line);
  background: #fff;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink-faint);
  position: relative; flex: 0 0 auto;
}
.meter__box--filled {
  background: var(--turf); border-color: var(--turf-deep); color: var(--card);
  font-weight: 700;
}
/* A pencil tick through each hour that has been used. */
.meter__box--filled::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(135deg, transparent 46%, rgba(255,255,255,0.22) 46%, rgba(255,255,255,0.22) 54%, transparent 54%);
}
.meter__extra {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px;
}
.meter__box--free {
  background: var(--free-soft);
  border: 1px solid var(--free);
  color: var(--free);
  font-weight: 700;
}
.meter__legend {
  display: flex; gap: 1rem; flex-wrap: wrap;
  margin-top: 0.7rem; font-size: 0.78rem; color: var(--ink-soft);
}
.meter__legend span { display: flex; align-items: center; gap: 0.35rem; }
.swatch { width: 0.85rem; height: 0.85rem; border-radius: 3px; border: 1px solid var(--card-line); display: inline-block; }
.swatch--used { background: var(--turf); border-color: var(--turf-deep); }
.swatch--free { background: var(--free-soft); border-color: var(--free); }
.swatch--open { background: #fff; }

/* The rubber stamp that appears once the free hours begin. */
.stamp {
  display: inline-block;
  border: 2px solid var(--free);
  color: var(--free);
  font-family: var(--mono); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  transform: rotate(-6deg);
  border-radius: var(--radius-xs);
  opacity: 0.92;
}
.stamp--flag { border-color: var(--flag); color: var(--flag); }

.meter__headline {
  display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.meter__count { font-family: var(--mono); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.meter__of { color: var(--ink-soft); font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   The booking sheet - a grid of hour boxes you fill in
   -------------------------------------------------------------------------- */

.sheet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.5rem;
}

.slot {
  border: 1px solid var(--card-line);
  border-left: 5px solid var(--card-line);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 0.6rem 0.7rem;
  display: flex; flex-direction: column; gap: 0.3rem;
  min-height: 5.2rem;
  text-align: left;
}
.slot__time {
  font-family: var(--mono); font-weight: 700; font-size: 1rem;
  letter-spacing: -0.01em;
}
.slot__state { font-size: 0.75rem; color: var(--ink-soft); }
.slot__who { font-size: 0.78rem; color: var(--ink); font-weight: 600; }

/* free - a blank box waiting to be filled in */
.slot--free { border-left-color: var(--free); }
button.slot--free { cursor: pointer; font: inherit; width: 100%; }
button.slot--free:hover { background: var(--free-soft); border-left-color: var(--free); }
button.slot--free:active { transform: translateY(1px); }

/* taken by someone else - ruled through */
.slot--taken {
  background: repeating-linear-gradient(
    45deg, var(--card-warm), var(--card-warm) 6px, #e4dfcd 6px, #e4dfcd 12px
  );
  border-left-color: var(--ink-faint);
  color: var(--ink-soft);
}

/* mine - the flagstick red accent */
.slot--mine {
  border-left-color: var(--flag);
  background: #fff6f4;
}
.slot--mine .slot__state { color: var(--flag); font-weight: 600; }

.slot--past { opacity: 0.45; }
.slot--full { border-left-color: var(--ink-faint); }

.slot__badge {
  display: inline-block; font-family: var(--mono); font-size: 0.68rem;
  border: 1px solid currentColor; border-radius: 2px;
  padding: 0 0.3rem; margin-left: 0.3rem;
}

/* --------------------------------------------------------------------------
   The day strip
   -------------------------------------------------------------------------- */

.daystrip {
  display: flex; gap: 0.35rem; overflow-x: auto; padding-bottom: 0.35rem;
  -webkit-overflow-scrolling: touch;
}
.daystrip a {
  flex: 0 0 auto; text-decoration: none; text-align: center;
  border: 1px solid var(--card-line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
  padding: 0.4rem 0.6rem; min-width: 3.2rem;
}
.daystrip a:hover { background: var(--card-warm); }
.daystrip a.is-current { background: var(--turf); border-color: var(--turf-deep); color: var(--card); }
.daystrip__wd { display: block; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; }
.daystrip__d { display: block; font-family: var(--mono); font-weight: 700; font-size: 0.95rem; }
.daystrip a.is-weekend .daystrip__wd { color: var(--flag); }
.daystrip a.is-current.is-weekend .daystrip__wd { color: #ffb3b3; }

/* --------------------------------------------------------------------------
   Tables - ruled like a scorecard
   -------------------------------------------------------------------------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

table.sc { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
table.sc th, table.sc td {
  padding: 0.45rem 0.6rem; text-align: left;
  border-bottom: 1px solid var(--card-rule);
}
table.sc thead th {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 700;
  border-bottom: 2px solid var(--card-line);
  white-space: nowrap;
}
table.sc tbody tr:last-child td { border-bottom: none; }
table.sc tbody tr:hover { background: rgba(0,0,0,0.02); }
table.sc .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
table.sc tfoot td {
  border-top: 2px solid var(--card-line); font-weight: 700;
  background: var(--card-warm);
}
tr.is-free td { color: var(--free); }
tr.is-void td { text-decoration: line-through; color: var(--ink-faint); }

.totals-row td { font-weight: 700; }
.grand td { font-size: 1.05rem; border-top: 2px solid var(--ink); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--ink); margin-bottom: 0.25rem; }
.hint { font-size: 0.78rem; color: var(--ink-soft); font-weight: 400; margin: 0.2rem 0 0; }

input[type=text], input[type=email], input[type=password], input[type=number],
input[type=date], select, textarea {
  width: 100%; font: inherit;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--card-line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
}
input[type=number], input.mono, input[type=date] { font-family: var(--mono); }
textarea { min-height: 5rem; resize: vertical; }
input:disabled, select:disabled { background: var(--card-warm); color: var(--ink-faint); }

.field { margin-bottom: 0.9rem; }
.field--error input, .field--error select { border-color: var(--flag); }
.field__error { color: var(--flag); font-size: 0.8rem; margin: 0.25rem 0 0; font-weight: 600; }

.row { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: flex-end; }
.row > * { flex: 1 1 10rem; }
.row > .row__narrow { flex: 0 1 7rem; }
.row > .row__auto { flex: 0 0 auto; }

.btn {
  display: inline-block; font: inherit; font-weight: 600;
  padding: 0.5rem 1.1rem; border-radius: var(--radius-sm); cursor: pointer;
  border: 1px solid var(--turf-deep); background: var(--turf); color: var(--card);
  text-decoration: none; text-align: center;
}
.btn:hover { background: var(--turf-mid); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--flag { background: var(--flag); border-color: var(--flag-dark); color: #fff; }
.btn--flag:hover { background: var(--flag-dark); color: #fff; }
.btn--quiet {
  background: #fff; color: var(--ink); border-color: var(--card-line);
}
.btn--quiet:hover { background: var(--card-warm); color: var(--ink); }
.btn--small { padding: 0.28rem 0.6rem; font-size: 0.8rem; }
.btn--block { display: block; width: 100%; }

.inline-form { display: inline; }
.btn-row { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* --------------------------------------------------------------------------
   Messages
   -------------------------------------------------------------------------- */

.flash {
  margin-top: 1.25rem; padding: 0.7rem 1rem;
  border-radius: var(--radius); border: 1px solid;
  font-weight: 500;
}
.flash--ok { background: var(--free-soft); border-color: var(--free); color: #14562f; }
.flash--error { background: #fdecec; border-color: var(--flag); color: #7d1418; }

.notice {
  background: var(--card-warm); border-left: 5px solid var(--ink-faint);
  padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); font-size: 0.88rem;
}
.notice--flag { border-left-color: var(--flag); }
.notice--free { border-left-color: var(--free); background: var(--free-soft); }

.empty { color: var(--ink-soft); font-style: italic; margin: 0; }

.code-box {
  font-family: var(--mono); font-size: 1.6rem; font-weight: 700;
  letter-spacing: 0.12em;
  background: #fff; border: 2px dashed var(--flag); color: var(--flag);
  padding: 0.6rem 1rem; border-radius: var(--radius);
  display: inline-block; margin: 0.4rem 0; user-select: all;
}

.pill {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.1rem 0.45rem; border-radius: 999px;
  border: 1px solid var(--card-line); color: var(--ink-soft); background: #fff;
}
.pill--paid { border-color: var(--free); color: var(--free); background: var(--free-soft); }
.pill--due { border-color: var(--flag); color: var(--flag); background: #fdecec; }
.pill--paused { border-color: var(--ink-faint); color: var(--ink-faint); }
.pill--manager { border-color: var(--turf); color: var(--turf); }

/* Big figures on the today page */
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 0.75rem; }
.figure { border: 1px solid var(--card-line); border-radius: var(--radius-sm); padding: 0.8rem; background: #fff; }
.figure__label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.figure__value { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.figure__note { font-size: 0.76rem; color: var(--ink-soft); }
.figure--flag .figure__value { color: var(--flag); }
.figure--free .figure__value { color: var(--free); }

/* --------------------------------------------------------------------------
   Sign-in
   -------------------------------------------------------------------------- */

.auth { max-width: 24rem; margin: 3rem auto; padding: 0 var(--pad) 3rem; }
.auth__brand { text-align: center; margin-bottom: 1.25rem; }
.auth__brand h1 {
  color: var(--card); font-size: 1.2rem; letter-spacing: 0.16em;
  text-transform: uppercase; margin: 0.5rem 0 0;
}
.auth__brand p { color: #a9c0b4; font-size: 0.85rem; margin: 0.25rem 0 0; }
.auth__flag { width: 26px; height: 40px; }
.auth .card { margin-top: 0; }
/* This sits on the dark green ground, so it needs a light ink of its own -
   inheriting the default dark body colour left it almost unreadable. */
.auth__alt { text-align: center; margin-top: 1rem; font-size: 0.88rem; color: #a9c0b4; }
.auth__alt a { color: #e6efe9; }
.auth__alt a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Statement / print
   -------------------------------------------------------------------------- */

.statement { background: #fff; }
.statement__head { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.statement__club { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.statement__meta { font-family: var(--mono); font-size: 0.85rem; text-align: right; }
.statement address { font-style: normal; font-size: 0.85rem; color: var(--ink-soft); white-space: pre-line; }

.print-actions { margin-top: 1rem; }

@media print {
  body { background: #fff !important; color: #000; font-size: 11pt; }
  .masthead, .nav, .flash, .print-actions, .no-print { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  .card { box-shadow: none; border: none; margin: 0; }
  .card__head { background: none; border-bottom: 1px solid #000; padding-left: 0; padding-right: 0; }
  .card__body { padding-left: 0; padding-right: 0; }
  table.sc { font-size: 10pt; }
  a { color: #000; text-decoration: none; }
}

/* --------------------------------------------------------------------------
   Phone
   -------------------------------------------------------------------------- */

@media (max-width: 40rem) {
  :root { --pad: 0.75rem; }
  body { font-size: 15px; }
  .page-title { font-size: 1.25rem; }
  .sheet { grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); gap: 0.4rem; }
  .slot { min-height: 4.6rem; padding: 0.5rem; }
  /* Slightly smaller boxes on a phone so a full row still fits the width. */
  .meter__box { width: 2rem; height: 2rem; font-size: 0.66rem; }
  .meter__count { font-size: 1.6rem; }
  .masthead__inner { padding: 0.6rem var(--pad); }
  .masthead__who { width: 100%; margin-left: 0; }
  .figure__value { font-size: 1.3rem; }
  table.sc th, table.sc td { padding: 0.4rem 0.45rem; }
}

@media (max-width: 26rem) {
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Respect a preference for less motion. */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .btn:active, button.slot--free:active { transform: none; }
}

/* Visually hidden, but still read out by a screen reader. */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* An hour that has simply already happened - dimmed, but NOT struck through.
   Strike-through is reserved for things that were cancelled or voided. */
tr.is-past td { opacity: 0.5; }

/* Breathing room when a row of buttons follows a block in a card. */
.card__body > .btn-row { margin-top: 1rem; }
.card__body > .figures + .btn-row { margin-top: 1rem; }

/* Number boxes that only ever hold one or two digits. */
.input-tiny { max-width: 5rem; }

/* Give the statement's sections a little air between them. */
.statement-section { margin-top: 1.5rem; }
.statement-section > .card__title { margin-bottom: 0.5rem; display: block; }

/* A price or a count needs a small box, not the full width of the card. */
.field input[type=number], .field input.mono { max-width: 11rem; }
.field textarea, .field input[type=text]:not(.mono), .field input[type=email] { max-width: 34rem; }

/* A short list of choices does not need the full width of the card. */
.field select { max-width: 16rem; }

/* --------------------------------------------------------------------------
   Club logo
   The artwork is dark, and the header is dark green, so the logo sits on a
   light plate - like a printed sticker on the scorecard - which keeps it
   readable and works whatever colours the logo itself uses.
   -------------------------------------------------------------------------- */

/* White rather than cream: most logos are supplied on a white background,
   and a cream plate behind one leaves a visible white rectangle inside a
   cream one. White lets either kind - white-backed or transparent - sit
   cleanly. */
.masthead__club--logo {
  padding: 0.3rem 0.55rem;
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
.masthead__club--logo:hover { border-color: var(--card); }

/* Tall enough that a stacked logo (mark above a wordmark) is still legible,
   and wide enough that a landscape one is not cramped. */
.brandmark {
  display: block;
  height: 50px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.auth__logo {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.10), 0 10px 30px rgba(0,0,0,0.22);
  margin-bottom: 0.9rem;
  display: inline-block;
}
.auth__logo img {
  display: block;
  width: 100%;
  max-width: 12.5rem;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 40rem) {
  .brandmark { height: 40px; max-width: 170px; }
  .auth__logo img { max-width: 10rem; }
}

/* --------------------------------------------------------------------------
   Language switch - two small buttons that look like one control
   -------------------------------------------------------------------------- */

.langswitch { display: inline-flex; align-items: center; gap: 0; }
.langswitch__btn {
  background: none; border: none; cursor: pointer;
  font: inherit; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.06em;
  color: #8fa89b; padding: 0.15rem 0.3rem;
  border-radius: 2px;
}
.langswitch__btn:hover { color: var(--card); }
.langswitch__btn.is-current { color: var(--card); text-decoration: underline; text-underline-offset: 3px; }
.langswitch__sep { color: #4d6b5c; font-size: 0.76rem; }

/* Row actions sit together and wrap rather than pushing the table wider. */
.btn-row--actions { gap: 0.35rem; justify-content: flex-end; }
.btn-row--actions .btn { white-space: nowrap; }
