/* ==========================================================================
   TrailTracker Admin console
   Same light palette / orange accent as the user-facing app; desktop-first
   with a tablet fallback at 900px.
   ========================================================================== */

:root {
  --accent:        #ff6a00;
  --accent-dark:   #e05c00;
  --accent-soft:   #fff1e6;

  --ink:           #1d1c1a;
  --ink-muted:     #6b6862;
  --ink-faint:     #9a968e;

  --surface:       #ffffff;
  --surface-sunk:  #f5f3ef;
  --hairline:      #e7e3dc;

  --danger:        #d1443b;
  --danger-soft:   #fdeceb;

  --ok:            #1d8a4d;
  --ok-soft:       #e5f4ea;

  --warn:          #9a6300;
  --warn-soft:     #fdf1da;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 9px;

  --shadow-card: 0 1px 2px rgba(29, 28, 26, .06), 0 6px 20px rgba(29, 28, 26, .08);
  --shadow-pop:  0 8px 20px rgba(29, 28, 26, .14), 0 32px 60px rgba(29, 28, 26, .18);

  --topbar-h: 60px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

/* Our own `display` rules out-specify the UA's [hidden] rule, so restate it. */
[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; min-height: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface-sunk);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }

/* --------------------------------------------------------------------------
   Boot + gate
   -------------------------------------------------------------------------- */

.boot {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 100vh;
  color: var(--ink-faint);
  font-size: 13.5px;
}

.gate {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.gate__card {
  width: min(420px, 100%);
  padding: 34px 32px 30px;
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.gate__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.gate__mark svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gate__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.gate__body {
  margin: 8px 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* --------------------------------------------------------------------------
   Shell
   -------------------------------------------------------------------------- */

.app {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  grid-template-rows: var(--topbar-h) minmax(0, 1fr);
  min-height: 100vh;
}

.topbar {
  grid-column: 1 / -1;
  position: sticky;
  top: 0;
  z-index: 20;

  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;

  background: var(--surface);
  border-bottom: 1px solid var(--hairline);
}

.topbar__mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}

.topbar__mark svg { width: 20px; height: 20px; }

.topbar__brand {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--ink-muted);
}

.topbar__brand b { font-weight: 700; color: var(--ink); }

.topbar__back {
  margin-left: 10px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-muted);
  text-decoration: none;
}

.topbar__back:hover { background: var(--surface-sunk); color: var(--ink); }

.topbar__spacer { flex: 1; }

.topbar__user {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.sidenav {
  grid-row: 2;
  position: sticky;
  top: var(--topbar-h);
  align-self: start;
  height: calc(100vh - var(--topbar-h));

  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px;

  background: var(--surface);
  border-right: 1px solid var(--hairline);
}

.sidenav__item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 10px 12px;

  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--ink-muted);

  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color .13s var(--ease), color .13s var(--ease);
}

.sidenav__item svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidenav__item:hover { background: var(--surface-sunk); color: var(--ink); }

.sidenav__item.is-active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.main {
  grid-row: 2;
  min-width: 0;
  padding: 26px 28px 60px;
}

.section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1240px;
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 4px 20px;
}

.section__title {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.section__sub {
  grid-column: 1;
  max-width: 78ch;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}

.section__head .btn { grid-row: 1 / span 2; grid-column: 2; }

.section__actions {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.section__actions .btn { grid-row: auto; grid-column: auto; }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  padding: 18px 20px 20px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.card--table { padding: 4px 0 0; }

.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 14px;
}

.card--table .card__head { padding: 14px 20px 12px; }

.card__title {
  flex: 1;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.card__count {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}

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

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }

.field--inline {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.field--inline label { margin: 0; }
.field--inline select { max-width: 380px; }

.field > label,
.field-label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.opt { text-transform: none; letter-spacing: 0; font-weight: 500; }

input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

textarea { resize: vertical; min-height: 76px; line-height: 1.45; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

input[type="file"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px dashed var(--hairline);
  border-radius: var(--radius-sm);
  background: var(--surface-sunk);
  font: inherit;
  font-size: 13px;
  color: var(--ink-muted);
}

input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 6px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.form-grid__actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}

.form-note {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-faint);
}

.form-note--strong { color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--surface-sunk);
  color: var(--ink);

  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .13s var(--ease), border-color .13s var(--ease), color .13s var(--ease);
}

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn[disabled] { opacity: .55; cursor: default; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover:not([disabled]) { background: var(--accent-dark); }

.btn--ghost { background: var(--surface); border-color: var(--hairline); color: var(--ink-muted); }
.btn--ghost:hover:not([disabled]) { background: var(--surface-sunk); color: var(--ink); }

.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover:not([disabled]) { background: #b93a32; }

.btn--danger-ghost { background: var(--surface); border-color: var(--hairline); color: var(--danger); }
.btn--danger-ghost:hover:not([disabled]) { background: var(--danger-soft); border-color: var(--danger-soft); }

.btn--sm { padding: 6px 10px; font-size: 12.5px; border-radius: 7px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-muted);
  cursor: pointer;
}

.icon-btn:hover { background: var(--surface-sunk); color: var(--ink); }
.icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

/* Inline spinner used inside busy buttons. */
.spinner {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  opacity: .8;
  animation: spin .7s linear infinite;
}

.spinner--lg { width: 26px; height: 26px; border-width: 2.5px; color: var(--accent); }

@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */

/* Horizontal scroll with edge shadows, so a clipped Actions column is obvious
   on narrow screens. The white "cover" layers scroll with the content (local)
   and hide the shadow layers (scroll) once you reach either end. */
.tbl-wrap {
  overflow-x: auto;
  background:
    linear-gradient(to right, var(--surface) 12px, rgba(255, 255, 255, 0) 30px) left center / 30px 100% no-repeat local,
    linear-gradient(to left,  var(--surface) 12px, rgba(255, 255, 255, 0) 30px) right center / 30px 100% no-repeat local,
    linear-gradient(to right, rgba(29, 28, 26, .11), rgba(29, 28, 26, 0)) left center / 14px 100% no-repeat scroll,
    linear-gradient(to left,  rgba(29, 28, 26, .11), rgba(29, 28, 26, 0)) right center / 14px 100% no-repeat scroll;
}

.tbl {
  width: 100%;
  /* Keeps columns readable instead of crushing them; .tbl-wrap scrolls. */
  min-width: 860px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.tbl th {
  padding: 9px 14px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface-sunk);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: left;
  white-space: nowrap;
}

.tbl td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: middle;
}

.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: #fbfaf8; }

.tbl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .act { text-align: right; width: 1%; white-space: nowrap; }
.tbl td:first-child { min-width: 190px; }

.tbl__name { font-weight: 620; overflow-wrap: anywhere; }
.tbl__sub { margin-top: 2px; font-size: 12px; color: var(--ink-faint); overflow-wrap: anywhere; }
.tbl__muted { color: var(--ink-faint); }

.tbl__used {
  display: block;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-muted);
}

.row-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
}

.tbl__state {
  padding: 30px 16px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 13.5px;
}

.tbl__state .spinner { color: var(--accent); vertical-align: -2px; margin-right: 8px; }

/* New rows land highlighted so they are easy to spot at the top of the table. */
@keyframes row-flash { from { background: var(--accent-soft); } }
.tbl tr.is-new td { animation: row-flash 1.6s var(--ease); }

/* --------------------------------------------------------------------------
   Chips
   -------------------------------------------------------------------------- */

.chip {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--surface-sunk);
  color: var(--ink-muted);
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}

.chip--draft     { background: var(--surface-sunk); color: var(--ink-muted); }
.chip--published { background: var(--ok-soft);      color: var(--ok); }
.chip--admin     { background: var(--accent-soft);  color: var(--accent-dark); }
.chip--user      { background: var(--surface-sunk); color: var(--ink-muted); }
.chip--warn      { background: var(--warn-soft);    color: var(--warn); }

/* --------------------------------------------------------------------------
   Alerts
   -------------------------------------------------------------------------- */

.alert {
  margin-top: 14px;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.45;
}

.alert--error { background: var(--danger-soft); color: #9c2f28; }
.alert--ok    { background: var(--ok-soft);     color: #12633a; }
.alert--warn  { background: var(--warn-soft);   color: var(--warn); }
.alert--info  { background: var(--surface-sunk); color: var(--ink-muted); }

.alert b { font-weight: 700; }

/* --------------------------------------------------------------------------
   Inline confirm (replaces a row's action cluster; no window.confirm)
   -------------------------------------------------------------------------- */

.confirm {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.confirm__text { text-align: right; max-width: 340px; line-height: 1.35; white-space: normal; }

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(29, 28, 26, .38);
  animation: fade-in .15s var(--ease);
}

.modal {
  position: fixed;
  z-index: 41;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  display: flex;
  flex-direction: column;
  width: min(660px, calc(100vw - 32px));
  max-height: calc(100vh - 56px);

  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop);
  animation: modal-in .18s var(--ease);
}

.modal.is-wide { width: min(940px, calc(100vw - 32px)); }

@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translate(-50%, calc(-50% + 10px)); } }

.modal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px 14px 22px;
  border-bottom: 1px solid var(--hairline);
}

.modal__title {
  flex: 1;
  font-size: 16.5px;
  font-weight: 680;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}

.modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 20px 22px;
}

.modal__foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 18px;
  border-top: 1px solid var(--hairline);
}

.modal__foot .form-note { flex: 1; }
.modal__foot .modal__foot-end { margin-left: auto; display: flex; gap: 10px; }

/* --------------------------------------------------------------------------
   Trail checklist (challenge editor)
   -------------------------------------------------------------------------- */

.picker {
  max-height: 264px;
  overflow-y: auto;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
}

.pick {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
}

.pick:last-child { border-bottom: 0; }
.pick:hover { background: var(--surface-sunk); }

.pick input { width: 16px; height: 16px; accent-color: var(--accent); flex: 0 0 auto; }

.pick__name { flex: 1; font-weight: 600; overflow-wrap: anywhere; }

.pick__km {
  font-size: 12.5px;
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.picker-summary {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 9px;
  font-size: 13px;
  color: var(--ink-muted);
}

.picker-summary b {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Maps
   -------------------------------------------------------------------------- */

.map {
  height: 420px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-sunk);
}

.map--picker { height: 320px; }

.map-hint {
  margin-top: 7px;
  font-size: 12.5px;
  color: var(--ink-faint);
}

/* Trail editor: Select/Draw mode toggle + drawing toolbar */
.mode-toggle {
  display: inline-flex;
  margin-bottom: 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.mode-toggle .btn {
  border: 0;
  border-radius: 0;
  background: var(--surface);
}
.mode-toggle .btn + .btn { border-left: 1px solid var(--hairline); }
.mode-toggle .btn.is-active {
  background: var(--accent);
  color: #fff;
}

.draw-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.draw-bar input[type="text"] {
  flex: 1 1 180px;
  min-width: 140px;
}

/* Draggable vertex handle on the line being drawn.
   No `position` here — it must not override .maplibregl-marker's absolute positioning. */
.draw-vertex {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #1d6fd0;
  box-shadow: 0 1px 4px rgba(29, 28, 26, .35);
  cursor: grab;
}
.draw-vertex:active { cursor: grabbing; }

/* Bulk point creation */
.points-bar {
  display: flex;
  gap: 18px;
  align-items: end;
  margin-top: 12px;
  flex-wrap: wrap;
}
.points-bar .field { margin: 0; }

.check-row {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--ink-muted);
  padding-bottom: 9px;
  cursor: pointer;
}

.points-list {
  margin-top: 10px;
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.points-list__row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.points-list__row input { flex: 1; }

.maplibregl-popup-content { font-family: inherit; }

.pin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid #fff;
  box-shadow: 0 1px 5px rgba(29, 28, 26, .4);
}

/* --------------------------------------------------------------------------
   Secret (temp password) panel
   -------------------------------------------------------------------------- */

.secret {
  display: flex;
  gap: 8px;
  align-items: center;
}

.secret input {
  flex: 1;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: .04em;
  background: var(--surface-sunk);
}

/* --------------------------------------------------------------------------
   Toasts
   -------------------------------------------------------------------------- */

.toast-host {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;

  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;

  width: max-content;
  max-width: min(400px, calc(100vw - 36px));
  pointer-events: none;
}

.toast {
  padding: 11px 15px;
  border-radius: var(--radius-md);
  background: rgba(29, 28, 26, .94);
  color: #fff;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: var(--shadow-card);
  animation: toast-in .2s var(--ease);
}

.toast--error { background: var(--danger); }
.toast--ok    { background: #17663d; }
.toast.is-leaving { animation: toast-out .2s var(--ease) forwards; }

@keyframes toast-in  { from { opacity: 0; transform: translateY(8px); } }
@keyframes toast-out { to   { opacity: 0; transform: translateY(6px); } }

/* --------------------------------------------------------------------------
   Tablet — sidebar folds into a horizontal strip
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: var(--topbar-h) auto minmax(0, 1fr);
  }

  .sidenav {
    grid-row: 2;
    position: static;
    height: auto;
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 12px;
    border-right: 0;
    border-bottom: 1px solid var(--hairline);
  }

  .sidenav__item { width: auto; padding: 8px 12px; }

  .main { grid-row: 3; padding: 20px 16px 48px; }

  .section__head { grid-template-columns: minmax(0, 1fr); }
  .section__head .btn { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 6px; }

  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .field--wide { grid-column: 1; }

  .card--table .card__head { flex-wrap: wrap; }

  .modal { max-height: calc(100vh - 24px); }
  .map { height: 320px; }
}

@media (max-width: 620px) {
  .topbar { padding: 0 12px; gap: 8px; }
  .topbar__brand, .topbar__user { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  /* Spinners are status indicators, so keep them turning. */
  .spinner { animation: spin 1.1s linear infinite !important; }
}
