:root {
  /* SendOff palette: brand/tokens.css is the source of truth.
     Grounds are the void/panel stack; the signal is the only saturated
     brand colour, so the pace signals (green / warm / red) stay legible
     as the things that actually change during a race. */
  --bg: #0a0f14;
  --bg-elevated: #121820;
  --bg-card: #182029;
  --border: #253340;
  --border-bright: #33454f;
  --text: #f0ece3;   /* matches the wordmark letters as drawn */
  --text-dim: #b6c2c9;
  --text-muted: #7a8d99;
  --accent: #0fb8bf;
  --accent-glow: rgba(15, 184, 191, 0.18);
  --accent-ink: #04181a;      /* text on a filled accent, 7.5:1 */
  --accent-hot: #22d3da;      /* accent hover fill */
  --green: #6ee7a8;
  --green-glow: rgba(110, 231, 168, 0.18);
  --yellow: #ffb07a;
  --red: #e5484d;
  --blue: #8aa9d0;            /* low-emphasis states: upcoming, done, viewer */

  /* SendOff brand: see brand/README.md. One hue, two values: the signal
     reads heavier on light grounds, so each ground gets its own. */
  --signal: #0fb8bf;          /* on dark grounds (the app) */
  --signal-on-light: #0a8b92; /* on cream / white (print, marketing) */
  --beam: #5efdf6;            /* glow only: 1.2:1 on white, never a surface */
}

/* ---------- SendOff wordmark ----------
   brand/sendoff-wordmark.svg inlined. Outlined paths, so no webfont needed.
   Height is set by --wm-size; the two colours come from CSS vars the SVG
   reads, so one copy of the markup serves every ground. */
.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  --wm-signal: var(--signal);
  --wm-letter: var(--text);
}
.wordmark svg {
  height: var(--wm-size, 30px);
  width: auto;
  display: block;
  overflow: visible;
}
a.wordmark:hover { --wm-signal: var(--beam); }
a.wordmark:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
/* On light grounds flip both values. */
.wordmark.on-light { --wm-signal: var(--signal-on-light); --wm-letter: #0d1117; }
.brand-meta .wordmark { --wm-size: 30px; }

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body {
  background-image:
    radial-gradient(circle at 15% 0%, rgba(15, 184, 191, 0.10) 0%, transparent 42%),
    radial-gradient(circle at 85% 100%, rgba(94, 253, 246, 0.045) 0%, transparent 40%);
  background-attachment: fixed;
  padding: 32px 40px 80px;
}
@media (max-width: 600px) { body { padding: 20px 16px 60px; } }

header.site {
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px; margin-bottom: 32px;
  flex-wrap: wrap; gap: 24px;
}
.brand { display: flex; flex-direction: column; gap: 6px; }
/* Where the race is, under what it is called. It belongs to the race, not to
   the app, so it reads beneath the name rather than beside the wordmark. */
.race-place {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 0.1em; color: var(--text-muted); margin-top: -1px;
}
.race-place:empty { display: none; }
.brand-meta {
  display: flex; gap: 14px; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--text-muted);
}
/* A long place name may wrap, but "← Hub" is two words that mean one thing and
   should not be taken apart. */
.brand-meta a:not(.wordmark) { white-space: nowrap; }
/* Reads as a state of the app, not as a warning. Outlined rather than filled
   so it sits beside the wordmark without competing with it, and pinned to the
   wordmark's baseline area rather than to the taller row. */
.beta-badge {
  /* Its own type, not the row's: it appears in the header, where the row is
     mono and uppercase, and in the intro dialog, where it is neither. */
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace; text-transform: uppercase;
  font-size: 9px; letter-spacing: 0.2em; line-height: 1;
  padding: 4px 6px 3px; border-radius: 3px; white-space: nowrap;
  color: var(--accent); border: 1px solid var(--accent);
  margin-left: -6px;   /* closes most of the row's 14px gap: it belongs to the name */
  cursor: default;
}
/* On a light ground, and on paper, the dark-ground teal is too pale to read. */
.brand-meta .wordmark.on-light + .beta-badge,
.on-light .beta-badge { color: var(--signal-on-light); border-color: var(--signal-on-light); }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
  cursor: pointer;
}
.pulse:hover { box-shadow: 0 0 16px var(--accent); }
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
h1.site {
  font-family: 'Barlow Condensed', ui-sans-serif, system-ui, sans-serif; font-weight: 800;
  font-size: 44px; line-height: 1; letter-spacing: -0.025em;
}
h1.site em { font-style: italic; color: var(--accent); font-weight: 600; }
@media (max-width: 600px) { h1.site { font-size: 32px; } }


.btn {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  padding: 10px 14px; border-radius: 4px; cursor: pointer;
  background: var(--bg-elevated); color: var(--text);
  border: 1px solid var(--border-bright);
}
.btn:hover:not(:disabled) { background: #1f2a33; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover:not(:disabled) { background: var(--accent-hot); border-color: var(--accent-hot); }
.btn.danger { color: var(--red); border-color: var(--red); }
.btn.danger:hover:not(:disabled) { background: rgba(229,72,77,0.10); }

footer.site {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted);
}

/* The account menu, appended into header.site by Race.mountAccountWidget().
   It sits at the top right, level with the wordmark, rather than taking a row
   of its own: the address it used to show now lives inside the menu. */
.account-bar {
  display: flex; align-items: center; gap: 10px;
  margin-left: auto; align-self: flex-start; order: 99;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.account-bar button.account-signin {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: 5px 10px; border-radius: 3px;
  cursor: pointer; text-decoration: none;
}
.account-bar button.account-signin:hover { color: var(--accent); border-color: var(--accent); }

/* The menu button: three bars drawn from a border and two pseudo-elements, so
   there is no icon font or SVG to load for something this small. Sized to the
   44px touch target a thumb expects, with the bars centred inside it. */
.account-bar { position: relative; }
/* A header that wraps on a narrow screen must not drop the menu onto its own
   line: it stays pinned to the top right of the header instead. */
header.site { position: relative; }
@media (max-width: 560px) {
  .account-bar { position: absolute; top: 0; right: 0; margin-left: 0; }
  /* Room for the button on the wordmark line. The tracking on this row is set
     for a wide screen; at this width the space it buys back is worth more than
     the airiness, and it is what keeps a long place name from going to four
     lines once the button has taken its 44px. */
  header.site > .brand { padding-right: 48px; }
  .brand-meta { letter-spacing: 0.1em; gap: 8px; }
}
.account-bar .account-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 34px; padding: 0; flex: none; position: relative;
  background: transparent; border: 1px solid var(--border);
  border-radius: 3px; cursor: pointer;
}
/* The drawn button is 40x34; the thing a thumb has to hit is 44 square. */
.account-bar .account-menu-btn::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}
.account-bar .account-menu-btn:hover { border-color: var(--accent); }
.account-bar .account-menu-btn:hover .account-bars,
.account-bar .account-menu-btn:hover .account-bars::before,
.account-bar .account-menu-btn:hover .account-bars::after { background: var(--accent); }
.account-bar .account-menu-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.account-bars, .account-bars::before, .account-bars::after {
  display: block; width: 15px; height: 1.5px; border-radius: 1px;
  background: var(--text-dim); transition: background 0.12s ease;
}
.account-bars { position: relative; }
.account-bars::before, .account-bars::after { content: ''; position: absolute; left: 0; }
.account-bars::before { top: -5px; }
.account-bars::after  { top: 5px; }

.account-bar .account-menu {
  position: absolute; top: calc(100% - 2px); right: 0; z-index: 900;
  min-width: 190px; max-width: min(88vw, 320px);
  background: var(--bg-card); border: 1px solid var(--border-bright);
  border-radius: 5px; padding: 5px; box-shadow: 0 10px 28px rgba(0,0,0,0.55);
  display: flex; flex-direction: column; gap: 1px;
}
/* display:flex above would otherwise win against the [hidden] default and
   leave the menu on screen permanently. */
.account-bar .account-menu[hidden] { display: none; }
/* Where you can go, above who you are, divided from it. */
.account-bar .account-menu-nav { display: flex; flex-direction: column; gap: 1px; }
.account-bar .account-menu-nav[hidden] { display: none; }
.account-bar .account-menu-nav:not([hidden]) + .account-menu-who,
.account-bar .account-menu-nav:not([hidden]) + .account-menu-item {
  border-top: 1px solid var(--border); margin-top: 4px; padding-top: 11px;
}
.account-bar .account-menu-who {
  font-size: 10px; letter-spacing: 0.04em; color: var(--text-muted);
  padding: 7px 10px 8px; border-bottom: 1px solid var(--border);
  margin-bottom: 4px; overflow-wrap: anywhere; text-transform: none;
}
.account-bar .account-menu-item {
  display: block; width: 100%; text-align: left;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: transparent; border: 0; border-radius: 3px;
  color: var(--text-dim); padding: 10px; cursor: pointer; text-decoration: none;
}
.account-bar .account-menu-item:hover,
.account-bar .account-menu-item:focus-visible {
  background: var(--bg-elevated); color: var(--accent); outline: none;
}
.account-bar .account-menu-item.danger:hover,
.account-bar .account-menu-item.danger:focus-visible { color: var(--red); }
/* Only the item that carries a count becomes a row, so the rest keep the
   block layout they were written for. */
.account-bar .account-menu-item.has-count {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.menu-count {
  font-size: 10px; letter-spacing: 0.06em; line-height: 1;
  padding: 3px 6px; border-radius: 10px; flex: none;
  background: var(--accent); color: var(--bg);
}
@media print { .account-bar { display: none !important; } }

/* Modal dialog (injected by race-core.js: sign-in, change-password) */
.modal-overlay {
  display: flex; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  /* Phone browsers report 100vh as the height with the toolbars retracted,
     which is taller than what you can actually see. dvh tracks the visible
     area, so a dialog measured against it never hides under the chrome. */
  height: 100vh;
  height: 100dvh;
  /* A box taller than its container and centred with plain `center` overflows
     equally above and below, and the half above is unreachable: scrolling only
     goes down. `safe` pins it to the top instead once it stops fitting. */
  align-items: center;
  align-items: safe center;
  padding: 20px;
  padding: max(20px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
  overflow-y: auto;
}
/* Dialogs cap against the overlay's content box rather than doing their own
   viewport arithmetic, so the padding and safe-area insets above are counted
   once, here, and every dialog inherits them. */
.modal-overlay > * { max-height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.modal-box {
  background: var(--bg-card); border: 1px solid var(--border-bright);
  border-radius: 6px; padding: 24px; width: 100%; max-width: 360px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.modal-title {
  font-family: 'Barlow Condensed', ui-sans-serif, system-ui, sans-serif; font-size: 20px; font-weight: 600;
  margin-bottom: 16px;
}
.modal-field { display: block; margin-bottom: 12px; }
.modal-field > span {
  display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 5px;
}
.modal-hint { font-size: 11px; color: var(--text-muted); line-height: 1.5; margin: 4px 0 0; }
/* A sentence of orientation above the fields, so the form does not have to be
   guessed at. */
.modal-lede { font-size: 12.5px; color: var(--text-dim); line-height: 1.55; margin: 0 0 14px; }
.modal-field textarea { resize: vertical; min-height: 88px; font-family: inherit; }

/* Hour bands in the profile modal. */
.modal-addrow {
  background: transparent; border: 1px dashed var(--border-bright);
  color: var(--text-dim); padding: 8px 12px; border-radius: 4px;
  cursor: pointer; width: 100%; margin: 8px 0 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.modal-addrow:hover { color: var(--accent); border-color: var(--accent); }
.prof-band {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 10px; margin: 8px 0; background: var(--bg-elevated);
}
.prof-band-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.prof-band-head > span {
  font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted);
  white-space: nowrap;
}
.prof-band-head input[type="number"] { width: 76px; flex: none; }
.prof-band-head input[type="text"] { flex: 1 1 auto; min-width: 0; }
.prof-band-del {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); width: 28px; height: 28px; border-radius: 3px;
  cursor: pointer; font-size: 15px; line-height: 1; flex: none;
}
.prof-band-del:hover { color: var(--red); border-color: var(--red); }
.prof-band-targets { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.prof-band-targets label { display: block; }
.prof-band-targets span {
  display: block; font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.modal-msg { font-size: 12px; min-height: 16px; margin: 4px 0 12px; }
.modal-msg.err { color: var(--red); }
.modal-msg.ok { color: var(--green); }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; }
@media print { .modal-overlay { display: none !important; } }

.error-banner {
  background: rgba(229, 72, 77, 0.10); border: 1px solid var(--red);
  color: var(--red); padding: 16px; border-radius: 4px; margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.info-banner {
  background: rgba(138, 169, 208, 0.08); border: 1px solid var(--blue);
  color: var(--blue); padding: 14px; border-radius: 4px; margin-bottom: 24px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}

input[type="text"], input[type="password"], input[type="number"],
input[type="datetime-local"], input[type="date"], input[type="time"],
input[type="email"], textarea, select {
  background: var(--bg-elevated); color: var(--text);
  border: 1px solid var(--border-bright); border-radius: 4px;
  padding: 10px 12px; font-family: 'JetBrains Mono', monospace; font-size: 13px;
  width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.7); cursor: pointer; }

/* Split date + time control (setup wizard) */
.datetime-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.datetime-row input[type="date"] { flex: 2 1 150px; width: auto; }
.datetime-row select { flex: 1 1 64px; width: auto; }
.datetime-row .dt-colon { color: var(--text-muted); font-weight: 700; }
label.field {
  display: block; margin-bottom: 14px;
}
label.field > .lbl {
  display: block;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 6px;
}
label.field > .hint {
  display: block;
  font-size: 11px; color: var(--text-muted); margin-top: 4px;
}

/* ---------- Manage access panel ----------
   Mounted by Race.access on any page that can manage a race: the dashboard and
   the pit board both host it, from this one set of rules. */
/* Manage access panel */
.access {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 6px; margin: 0 0 24px;
}
.access-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px; cursor: pointer; user-select: none;
  border-bottom: 1px solid transparent;
}
.access.open .access-head { border-bottom-color: var(--border); }
.access:not(.open) .access-body { display: none; }
.access-head-title {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted);
}
.access-head-toggle {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim);
  border: 1px solid var(--border-bright); border-radius: 3px; padding: 4px 9px;
}
.access-head:hover .access-head-toggle { color: var(--accent); border-color: var(--accent); }
.access:not(.open) .access-head-toggle::before { content: '▶ '; }
.access.open .access-head-toggle::before { content: '▼ '; }
.access-body { padding: 18px 22px 22px; }
.access-section { margin-bottom: 22px; }
.access-section:last-child { margin-bottom: 0; }
.access-section-title {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 10px;
}
.access-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.access-list .row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 12px;
  align-items: center; padding: 8px 12px;
  background: var(--bg-elevated); border-radius: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.access-list .row .who { color: var(--text); word-break: break-all; }
.access-list .row .tag {
  font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 2px; color: var(--text-muted);
  border: 1px solid var(--border-bright);
}
.seg-row.start .num { color: var(--text-muted); }
.seg-row.start .nm { color: var(--text-dim); }
.access-list .row .tag.creator { color: var(--green); border-color: var(--green); }
/* The role is a control, not a label: changing someone from Viewer to Pacer
   is one choice here rather than a revoke followed by a re-invite. */
.access-list .row .role-pick {
  background: var(--bg-card); border: 1px solid var(--border-bright);
  color: var(--text); border-radius: 3px; padding: 4px 6px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em; cursor: pointer;
}
.access-list .row .role-pick:hover { border-color: var(--accent); }
.access-list .row .role-pick:disabled { opacity: 0.5; cursor: default; }
.switch-row {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 13px; color: var(--text); margin-bottom: 8px;
}
.switch-row input { width: 16px; height: 16px; accent-color: var(--accent); cursor: pointer; }
.switch-row input:disabled { cursor: default; opacity: 0.5; }
@media (max-width: 480px) {
  .access-list .row { grid-template-columns: 1fr auto; row-gap: 8px; }
  .access-list .row .who { grid-column: 1 / -1; }
}
.access-list .row button {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: 4px 8px; border-radius: 3px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; cursor: pointer;
}
.access-list .row button:hover { color: var(--red); border-color: var(--red); }
.access-list .empty {
  padding: 10px 12px; color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  font-style: italic;
}
.access-add { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.access-add input[type="email"] {
  flex: 1 1 200px; padding: 8px 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.access-add select {
  padding: 8px 10px; background: var(--bg-elevated);
  border: 1px solid var(--border-bright); border-radius: 4px;
  color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 12px;
}
.access-add button {
  padding: 8px 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.access-help {
  font-size: 11px; color: var(--text-dim); line-height: 1.55;
  background: var(--bg-elevated); padding: 10px 12px; border-radius: 4px;
  border-left: 2px solid var(--accent); margin-top: 10px;
}
.access-invite-result, .access-share-result {
  margin-top: 10px; padding: 10px 12px;
  background: var(--bg-elevated); border: 1px solid rgba(110, 231, 168, 0.4);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  word-break: break-all;
}
.access-invite-result .url, .access-share-result .url { color: var(--green); margin-top: 6px; display: block; }
.access-invite-result .copy, .access-share-result .copy {
  margin-top: 8px; padding: 6px 10px;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
}
.access-err { color: var(--red); margin-top: 8px; font-size: 11px; }
/* Set apart from the rest of the panel: everything above it is reversible. */
.danger-zone { border-top: 1px solid var(--border); padding-top: 18px; }
.danger-zone .access-section-title { color: var(--red); }
.danger-zone .access-help { border-left-color: var(--red); }

.share-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; padding: 8px 12px;
  background: var(--bg-elevated); border-radius: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; align-items: center; }
/* Says what a link in this section actually does. Worth its own style because
   the difference between a public race's address and a view token is exactly
   the kind of thing people assume rather than read. */
.access-hint {
  color: var(--text-muted); font-size: 11px; line-height: 1.5;
  margin: 8px 0 12px; max-width: 62ch;
}
.share-row .lbl { color: var(--text-muted); }
.share-row .url { color: var(--text); word-break: break-all; }
.share-row button {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: 4px 8px; border-radius: 3px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; cursor: pointer;
}
.share-row button.copy:hover { color: var(--accent); border-color: var(--accent); }
.share-row button.revoke:hover { color: var(--red); border-color: var(--red); }
