/* GENERATED from squadable.css for the public marketing pages. Do not edit by hand.
   Regenerate whenever squadable.css, a marketing page, a partial or a JS file they
   load changes:  python3 -I .tools/build_marketing_css.py <web root>
   It keeps every rule a marketing page or the JS it loads could match. */
@view-transition { navigation: auto; }
::view-transition-group(root) { background: var(--sq-bg-solid); }
::view-transition-old(root) { animation: 150ms ease-out both sq-fade-out; }
::view-transition-new(root) { animation: 200ms ease-in both sq-fade-in; }
::view-transition-old(sq-mobile-nav),
::view-transition-new(sq-mobile-nav),
::view-transition-old(sq-header),
::view-transition-new(sq-header) { animation: none; mix-blend-mode: normal; }
@keyframes sq-fade-out { to { opacity: 0; } }
@keyframes sq-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
:root {
  /* Brand Colors - Refined Green/Teal Theme */
  --sq-primary: #0f766e;           /* Teal primary */
  --sq-primary-light: #14b8a6;     /* Lighter teal for accents */
  --sq-primary-dark: #0d5f57;      /* Darker teal for depth */
  --sq-primary-soft: #ccfbf1;      /* Soft teal backgrounds */
  --sq-success: #22c55e;           /* Green for success */
  --sq-success-light: #bbf7d0;     /* Light success for text */
  --sq-warning: #f59e0b;           /* Amber for warnings */
  --sq-danger: #ef4444;            /* Red for errors/danger */
  --sq-danger-dark: #dc2626;       /* Darker danger for hover */
  --sq-danger-light: #fecaca;      /* Light danger for text */

  /* Aliases used across the JS and page-level styles. These were referenced in
     80+ places but defined nowhere, so `color: var(--sq-muted)` was an invalid
     declaration and the colour simply inherited: "muted" labels rendered at
     full body brightness and error text looked like ordinary copy. */
  --sq-muted: #aab4c2;             /* alias of --sq-text-muted */
  --sq-error: #ef4444;             /* alias of --sq-danger */
  --sq-accent: #14b8a6;            /* alias of --sq-primary-light */

  /* Backgrounds - Consistent Dark Theme */
  --sq-bg: #020617;                /* Deep slate background */
  --sq-surface: #0f172a;           /* Card/surface background */
  --sq-surface-elevated: #1e293b;  /* Elevated surfaces */
  --sq-surface-hover: rgba(15, 118, 110, 0.1); /* Hover state with primary color */

  /* Text Colors */
  --sq-text: #e5e7eb;              /* Primary text */
  --sq-text-secondary: #9ca3af;    /* Secondary text (alias for muted) */
  --sq-text-muted: #aab4c2;        /* Muted text */
  --sq-text-disabled: #8b95a5;     /* Disabled text */

  /* Borders */
  --sq-border: rgba(148, 163, 184, 0.2);      /* Subtle borders */
  --sq-border-strong: rgba(148, 163, 184, 0.3); /* Stronger borders */

  /* Border Radius - Consistent rounding */
  --sq-radius-xs: 4px;             /* Extra small - details */
  --sq-radius-sm: 8px;             /* Small - buttons, badges */
  --sq-radius-md: 10px;            /* Medium - cards; same as --sq-panel-radius since Nov 2026 */
  --sq-radius-lg: 16px;            /* Large - modals, containers */
  --sq-radius-pill: 999px;         /* Pill-shaped elements */

  /* Shadows - Depth system */
  --sq-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --sq-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --sq-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --sq-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.2);
  --sq-shadow-glow: 0 0 20px rgba(15, 118, 110, 0.3);
  --sq-shadow-glow-danger: 0 0 15px rgba(239, 68, 68, 0.4);
  --sq-shadow-focus: 0 0 0 3px rgba(15, 118, 110, 0.15);

  /* Typography */
  --sq-font: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  --sq-font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  /* Type scale (theme-unify, Nov 2026): 12 / 13 / 14 / 16 / 20 / 24px.
     Use these for new text; near-duplicate sizes were snapped to them. */
  --sq-fs-xs: 0.75rem;
  --sq-fs-sm: 0.8125rem;
  --sq-fs-base: 0.875rem;
  --sq-fs-md: 1rem;
  --sq-fs-lg: 1.25rem;
  --sq-fs-xl: 1.5rem;

  /* Theme tokens (swapped per [data-theme]) */
  --sq-bg-solid: #020617;
  --sq-pitch-marking: rgba(255, 255, 255, 0.18);
  --sq-pitch-border: rgba(255, 255, 255, 0.14);

  /* Panels: the one box style across the app (Nov 2026). It is the look the
     group Settings boxes had inline: flat, a faint tint over the page, a
     hairline border, no shadow. Floating layers (modals, drawers, toasts,
     the sign-in card) keep their own surface and shadow. */
  --sq-panel-bg: rgba(255, 255, 255, 0.03);
  --sq-panel-bg-strong: rgba(255, 255, 255, 0.055); /* table heads, hover */
  --sq-panel-border: var(--sq-border);
  --sq-panel-border-hover: var(--sq-border-strong);
  --sq-panel-radius: 10px;
  --sq-panel-pad: 16px;
  /* One backdrop behind every dialog, side panel and drawer (13 Nov 2026) */
  --sq-scrim: rgba(0, 0, 0, 0.6);
  /* A table's header row and row hover: the strong tint drawn over the panel tint.
     Side-panel rows use this so their highlight matches a table's exactly. */
  --sq-panel-bg-raised: linear-gradient(var(--sq-panel-bg-strong), var(--sq-panel-bg-strong)), var(--sq-panel-bg);

  /* Status tints and text (theme-unify, Nov 2026). Dark values are exactly the
     literals these replace, so the dark theme is unchanged; the light block
     below gives each a value that reads on a light ground. Solid fills that
     carry white text (live badge, injury badges, armband) keep their colours. */
  --sq-success-soft: rgba(34, 197, 94, 0.15);
  --sq-warning-soft: rgba(245, 158, 11, 0.15);
  --sq-danger-soft: rgba(239, 68, 68, 0.15);
  --sq-info: #3b82f6;
  --sq-info-soft: rgba(59, 130, 246, 0.15);
  --sq-info-text: #93c5fd;
  --sq-success-text: #4ade80;      /* chip/badge text on a soft tint */
  --sq-warning-text: #fbbf24;
  --sq-gold: #facc15;              /* captain / unpaid highlight text and edges */
  /* Guest / dependant chips (Nov 2026): the dark values are the literal they replace */
  --sq-purple: #c084fc;
  --sq-purple-soft: rgba(192, 132, 252, 0.15);
  --sq-purple-text: #c084fc;

  /* a11y, 17 Nov 2026 (contrast computed). --sq-primary (#0f766e) is a fill
     colour: as text on the dark ground it was 2.7-3.8:1. Teal text uses this
     token instead: #14b8a6 is 8.10 on #020617, 5.88 on #1e293b. */
  --sq-primary-text: #14b8a6;
  /* Form fields: the hairline border was 1.2-1.7:1 against the page. #6b7a8f
     is 4.62 on #020617 and 3.35 on the #1e293b field fill; placeholders
     #94a3b8 are 5.71 on the fill (was 3.2). */
  --sq-input-border: #6b7a8f;
  --sq-placeholder: #94a3b8;
  color-scheme: dark;
}
[data-theme="light"] {
  --sq-bg: #e2e8f0;
  --sq-surface: #f1f5f9;
  --sq-surface-elevated: #ffffff;
  --sq-surface-hover: rgba(15, 118, 110, 0.08);

  /* a11y, 17 Nov 2026: the lower stop was #94a3b8, which took muted text to
     2.4:1 and links to 2.1:1 at the bottom of the screen. The page is now a
     flat #cbd5e1 (24 Nov 2026, gradient removed), so text tokens only have to
     clear 4.5:1 on #cbd5e1 and the 45% white panel over it. */
  --sq-bg-solid: #cbd5e1;
  color-scheme: light;

  --sq-text: #0f172a;
  --sq-text-secondary: #475569;
  /* #475569: 5.10 on #cbd5e1, 6.14 on a panel, 7.58 on white (was #51637a, 4.14 on the page) */
  --sq-text-muted: #475569;
  --sq-text-disabled: #5b6779;      /* was #6b7a90, 3.5:1 on light panels where it marks times and "No data yet" (UI audit, 25 Nov 2026) */

  --sq-muted: #475569;             /* alias of --sq-text-muted */
  --sq-error: #dc2626;             /* alias of --sq-danger-dark, for contrast */
  --sq-accent: #115e59;            /* accent text: 5.11 on #cbd5e1, 6.15 panel, 7.58 white */
  --sq-primary-text: #115e59;
  /* field border #64748b: 4.76 on the white fill, 3.21 on #cbd5e1, 3.86 on a panel */
  --sq-input-border: #64748b;
  --sq-placeholder: #64748b;       /* 4.76 on white */

  --sq-border: rgba(15, 23, 42, 0.14);
  --sq-border-strong: rgba(15, 23, 42, 0.24);

  --sq-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.10);
  --sq-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.12);
  --sq-shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.18);
  --sq-shadow-soft: 0 2px 8px rgba(15, 23, 42, 0.08);

  --sq-pitch-marking: rgba(15, 23, 42, 0.35);
  --sq-pitch-border: rgba(15, 23, 42, 0.25);

  /* A white wash is the light-ground version of the dark theme's faint tint */
  --sq-panel-bg: rgba(255, 255, 255, 0.45);
  --sq-panel-bg-strong: rgba(255, 255, 255, 0.7);
  --sq-scrim: rgba(15, 23, 42, 0.45);

  /* Status colours, darkened for light surfaces.
     The dark-theme values are tuned for a near-black ground and were never
     redefined here, so accent, success and warning TEXT rendered at 1.96-2.49:1
     on light surfaces against AA's 4.5:1 -- affecting paid/modified badges, the
     active mobile-nav tab, link buttons, club Stats figures and chatbot links.
     These clear AA on both light surfaces (#ffffff and #f1f5f9): 5.47/5.00,
     5.02/4.58 and 5.02/4.58 respectively. Same hue families as the existing
     light-theme --sq-accent (#0f766e) and --sq-error (#dc2626). */
  /* Re-darkened 17 Nov 2026 (a11y round 2) so they also clear 4.5:1 on the
     page ground #cbd5e1, not only on white: #115e59 5.11, #166534 4.80,
     #92400e 4.78; on a 45% white panel 6.15 / 5.78 / 5.75. */
  --sq-primary-light: #115e59;
  --sq-success: #166534;
  --sq-warning: #92400e;

  /* Status tints and text for light surfaces; text values clear 4.5:1 on #ffffff */
  --sq-success-soft: rgba(21, 128, 61, 0.12);
  --sq-warning-soft: rgba(180, 83, 9, 0.12);
  --sq-danger-soft: rgba(220, 38, 38, 0.10);
  --sq-info: #1d4ed8;
  --sq-info-soft: rgba(37, 99, 235, 0.10);
  /* chip text sits on its 10-12% tint: these are >= 5.2 on the tint over the
     page ground and >= 6.2 over a panel */
  --sq-info-text: #1e40af;
  --sq-success-text: #14532d;
  --sq-warning-text: #78350f;
  --sq-gold: #854d0e;              /* 4.61 on #cbd5e1, 5.55 panel, 6.85 white */
  /* #6b21a8 on its 10% tint: 5.07 over the page, 6.05 over a panel, 7.39 on white */
  --sq-purple: #7e22ce;
  --sq-purple-soft: rgba(126, 34, 206, 0.10);
  --sq-purple-text: #6b21a8;

  /* Danger/error red for light surfaces (a11y, 17 Nov 2026). The dark theme's
     #ef4444 is 3.76:1 on white and 2.3:1 on a panel low on the page, so error
     text, NO-SHOW, danger buttons and the Unpaid badge failed AA. #991b1b
     (computed): white 8.31, #f1f5f9 7.59, #e2e8f0 6.74, a 45% white panel 6.73
     mid-page and 5.13 at the darkest end of the gradient, and 8.31 for white
     text on a red fill. --sq-danger-dark (#7f1d1d, hover and text on a red
     tint) is 10.0 on white and 5.40 on the tint over the darkest panel. */
  --sq-danger: #991b1b;
  --sq-danger-dark: #7f1d1d;
  --sq-danger-light: #991b1b;      /* "light red for text" on dark = dark red here */
  --sq-error: #991b1b;
}
.sq-export-dark,
.sq-theme-dark {
  --sq-bg: #020617;
  --sq-surface: #0f172a;
  --sq-surface-elevated: #1e293b;
  --sq-surface-hover: rgba(15, 118, 110, 0.1);
  --sq-bg-solid: #020617;
  --sq-text: #e5e7eb;
  --sq-text-secondary: #9ca3af;
  --sq-text-muted: #aab4c2;
  --sq-text-disabled: #8b95a5;
  --sq-muted: #aab4c2;
  --sq-error: #ef4444;
  --sq-danger: #ef4444;
  --sq-danger-dark: #dc2626;
  --sq-danger-light: #fecaca;
  --sq-accent: #14b8a6;
  --sq-border: rgba(148, 163, 184, 0.2);
  --sq-border-strong: rgba(148, 163, 184, 0.3);
  --sq-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --sq-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --sq-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --sq-shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.2);
  --sq-pitch-marking: rgba(255, 255, 255, 0.18);
  --sq-pitch-border: rgba(255, 255, 255, 0.14);
  --sq-panel-bg: rgba(255, 255, 255, 0.03);
  --sq-panel-bg-strong: rgba(255, 255, 255, 0.055);
  --sq-scrim: rgba(0, 0, 0, 0.6);
  --sq-primary-light: #14b8a6;
  --sq-success: #22c55e;
  --sq-warning: #f59e0b;
  --sq-success-soft: rgba(34, 197, 94, 0.15);
  --sq-warning-soft: rgba(245, 158, 11, 0.15);
  --sq-danger-soft: rgba(239, 68, 68, 0.15);
  --sq-info: #3b82f6;
  --sq-info-soft: rgba(59, 130, 246, 0.15);
  --sq-info-text: #93c5fd;
  --sq-success-text: #4ade80;
  --sq-warning-text: #fbbf24;
  --sq-gold: #facc15;
  --sq-purple: #c084fc;
  --sq-purple-soft: rgba(192, 132, 252, 0.15);
  --sq-purple-text: #c084fc;
  --sq-primary-text: #14b8a6;
  --sq-input-border: #6b7a8f;
  --sq-placeholder: #94a3b8;
  /* built from the tokens above, so it must be rebuilt here too */
  --sq-panel-bg-raised: linear-gradient(var(--sq-panel-bg-strong), var(--sq-panel-bg-strong)), var(--sq-panel-bg);
  color-scheme: dark;
}
[data-theme="light"] .sq-header {
  background: linear-gradient(to bottom, rgba(241, 245, 249, 0.95), rgba(226, 232, 240, 0.85));
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}
[data-theme="light"] .sq-logo-text {
  color: #0f172a;
}
[data-theme="light"] .sq-logo-icon {
  filter: invert(1);
}
[data-theme="light"] .sq-nav a,
[data-theme="light"] .sq-notification-bell {
  color: var(--sq-text);
}
[data-theme="light"] .sq-nav a:hover {
  color: #0f172a;
}
[data-theme="light"] .sq-footer {
  background: #cbd5e1;
  border-top: 1px solid rgba(15, 23, 42, 0.18);
}
[data-theme="light"] .sq-footer-links a:hover {
  color: #0f172a;
}
[data-theme="light"] .sq-mobile-nav {
  background: linear-gradient(to top, rgba(241, 245, 249, 0.98), rgba(226, 232, 240, 0.95));
  border-top: 1px solid rgba(15, 23, 42, 0.14);
}
[data-theme="light"] .sq-empty-state {
  /* was rgba(15, 23, 42, 0.55): 3.5:1 on the light page (UI audit, 25 Nov 2026) */
  color: var(--sq-text-muted);
}
[data-theme="light"] .sq-field label,
[data-theme="light"] #sq-session-info-grid span,
[data-theme="light"] #sq-club-info-grid span,
[data-theme="light"] #sq-group-info-grid span,
[data-theme="light"] .sq-weather-temp,
[data-theme="light"] .sq-weather-desc,
[data-theme="light"] .sq-pitch-player-label,
[data-theme="light"] #sq-group-players-list .sq-player-name,
[data-theme="light"] #sq-players-list .sq-player-name,
[data-theme="light"] .sq-session-waitlist .sq-waitlist li,
[data-theme="light"] .sq-team-list li,
[data-theme="light"] .sq-table-box .sq-table tbody td {
  color: var(--sq-text);
}
[data-theme="light"] .sq-team-heading {
  color: var(--sq-text-muted);
}
[data-theme="light"] .sq-session-card-title,
[data-theme="light"] .sq-club-card-new .sq-club-card-header .sq-club-card-name,
[data-theme="light"] .sq-player-name,
[data-theme="light"] .sq-player-link,
[data-theme="light"] #sq-sessions-list a {
  color: var(--sq-text);
}
[data-theme="light"] #sq-sessions-list a:hover {
  color: var(--sq-primary-text);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--sq-primary);
}
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background: var(--sq-border);
  border-radius: var(--sq-radius-xs);
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--sq-text-muted);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--sq-border) transparent;
}
body {
  margin: 0;
  font-family: var(--sq-font);
  background: transparent;
  color: var(--sq-text);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 0;
}
:where(a:not([class]), a.sq-link) {
  color: var(--sq-primary-text);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* Flat page colour, the same as the emails (24 Nov 2026; was a radial gradient) */
  background-color: var(--sq-bg-solid);
}
body > main,
body > [class^="sq-main"] {
  flex: 1;
}
#sq-footer {
  flex-shrink: 0;
  margin-top: auto;
}
input,
textarea,
select,
button {
  font-family: inherit;
}
.sq-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.sq-muted {
  /* No opacity. This multiplied whatever colour was inherited, pulling muted
     secondary text under AA: on light surfaces --sq-text-muted (#51637a) is a
     comfortable 6.15:1 on a card and 5.61:1 on --sq-surface, but at 0.85 those
     became 4.38:1 and 4.06:1, both under the 4.5:1 floor. The token is already
     the right colour; dimming it was the bug.

     Known remaining gap, not fixable here: muted text placed directly on the
     page GRADIENT reaches 2.40:1 even at full opacity, because the gradient
     ends at #94a3b8. That needs either a darker surface behind the text or a
     different token, which is a design decision rather than a CSS tweak. */
  color: var(--sq-text-muted, var(--sq-muted));
}
.sq-header {
  view-transition-name: sq-header;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(15,23,42,0.95), rgba(15,23,42,0.85));
  border-bottom: 1px solid rgba(148,163,184,0.2);
}
.sq-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
}
.sq-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  min-height: 44px;   /* tap target (UI audit, 25 Nov 2026); the header is taller than this */
}
.sq-logo-icon {
  width: 28px;
  height: 28px;
  display: block;
}
.sq-logo-text {
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #ffffff;
}
.sq-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: var(--sq-fs-base);
}
.sq-nav a {
  text-decoration: none;
  color: var(--sq-text-muted);
}
.sq-nav a:hover {
  color: #e5e7eb;
}
.sq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sq-radius-sm);
  border: none;
  background: var(--sq-primary);
  color: #ecfeff;
  font-weight: 600;
  font-size: var(--sq-fs-base);
  padding: 0.625rem 1.25rem;
  /* min-height, not height: at 200% text or 320px a fixed height cut long
     labels off (a11y, 17 Nov 2026). Labels wrap and stay centred. */
  min-height: 40px;
  text-align: center;
  line-height: 1.25;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--sq-shadow-md);
  /* Named properties, not `all`: with `all`, the filter, shadow, border and
     background each animated separately on hover, so the button settled
     in two visible steps. */
  transition: background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  /* Wrap rather than ellipsis, so no label is ever cut off */
  white-space: normal;
  overflow-wrap: break-word;
  min-width: 0;
  box-sizing: border-box;
}
.sq-button:hover {
  box-shadow: var(--sq-shadow-sm);
}
.sq-button:not(.sq-button-secondary):not(.sq-button--secondary):not(.sq-button-ghost):not(.sq-button-outline):not(.sq-button-danger-ghost):not(.sq-button-danger):hover {
  filter: brightness(0.85);
}
.sq-button:active {
  box-shadow: var(--sq-shadow-sm);
}
.sq-button-large {
  padding: 0.7rem 1.6rem;
  font-size: var(--sq-fs-md);
}
.sq-button-full {
  width: 100%;
}
.sq-button-warning {
  background: linear-gradient(135deg, var(--sq-danger), var(--sq-danger-dark));
  box-shadow: var(--sq-shadow-md);
}
.sq-button-warning:hover {
  box-shadow: var(--sq-shadow-lg);
}
.sq-button-warning:active {
  box-shadow: var(--sq-shadow-sm);
}
.sq-button-ghost {
  background: var(--sq-surface);
  border: 1px solid var(--sq-border-strong);
  box-shadow: var(--sq-shadow-sm);
  color: var(--sq-text);
  padding: 0.625rem 1.25rem;
  box-sizing: border-box;
}
.sq-button-ghost:hover {
  background: var(--sq-surface-hover);
  border-color: var(--sq-primary);
  color: var(--sq-primary-text);
  box-shadow: var(--sq-shadow-md);
}
.sq-button-ghost:active {
  background: var(--sq-surface);
  box-shadow: var(--sq-shadow-sm);
}
.sq-button-danger {
  background: var(--sq-danger-dark) !important;
  border: 1px solid var(--sq-danger-dark) !important;
  color: #ffffff !important;
  box-shadow: var(--sq-shadow-md) !important;
}
.sq-button-danger:hover {
  background: color-mix(in srgb, var(--sq-danger-dark), #000 15%) !important;
  border-color: color-mix(in srgb, var(--sq-danger-dark), #000 15%) !important;
  box-shadow: var(--sq-shadow-lg);
}
.sq-button-danger:active {
  background: color-mix(in srgb, var(--sq-danger-dark), #000 30%) !important;
}
.sq-button-small {
  padding: 0.35rem 0.75rem;
  font-size: var(--sq-fs-sm);
}
.sq-button-primary,
.sq-button--primary {
  background: var(--sq-primary);
  color: #ecfeff;
}
.sq-button-secondary,
.sq-button--secondary,
.sq-button.sq-button-secondary {
  background: var(--sq-surface) !important;
  background-image: none !important;
  border: 1px solid var(--sq-border-strong);
  box-shadow: var(--sq-shadow-sm);
  color: var(--sq-text);
}
.sq-button-secondary:hover,
.sq-button--secondary:hover {
  background: var(--sq-surface-hover);
  border-color: var(--sq-primary);
  color: var(--sq-primary-text);
}
.sq-button-outline {
  background: transparent;
  border: 1px solid var(--sq-border-strong);
  color: var(--sq-text);
  box-shadow: none;
}
.sq-button-outline:hover {
  border-color: var(--sq-primary);
  color: var(--sq-primary-text);
  background: var(--sq-surface-hover);
}
.sq-button-danger-ghost {
  background: transparent;
  border: 1px solid var(--sq-danger);
  color: var(--sq-danger);
  box-shadow: none;
}
.sq-button-danger-ghost:hover {
  background: rgba(239, 68, 68, 0.1);
}
.sq-link-button {
  border: none;
  background: none;
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-base);
  cursor: pointer;
  padding: 0.4rem 0.6rem;
}
.sq-link-button:hover {
  color: var(--sq-text);
}
.sq-hero-text h1 {
  font-size: clamp(2.2rem, 3.1vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.sq-hero-text p {
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-md);
  max-width: 34rem;
}
.sq-hero-actions {
  margin: 1.5rem 0 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: var(--sq-radius-pill);
  display: inline-block;
}
.sq-pill {
  padding: 0.18rem 0.7rem;
  border-radius: var(--sq-radius-pill);
  font-size: var(--sq-fs-xs);
  border: 1px solid rgba(148,163,184,0.55);
}
.sq-section {
  padding: 2.8rem 0;
}
.sq-section-contrast {
  background: #0f172a;
  border-top: 1px solid rgba(148,163,184,0.24);
  border-bottom: 1px solid rgba(148,163,184,0.24);
}
.sq-section h2 {
  font-size: var(--sq-fs-xl);
  margin-bottom: 1rem;
  text-align: center;
}
h2.sq-h3-look,
.sq-section h2.sq-h3-look {
  font-size: 1.17em;
  text-align: inherit;
  margin-bottom: 1em;
}
.sq-section-intro {
  color: var(--sq-text-muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.sq-section--left h2,
.sq-section--left .sq-section-intro {
  text-align: left;
  margin-left: 0;
  max-width: none;
}
.sq-panel,
.sq-settings-section {
  background: var(--sq-panel-bg);
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
  padding: var(--sq-panel-pad);
}
.sq-panel-group {
  background: var(--sq-panel-bg);
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
  overflow: hidden;
  margin-bottom: 16px;
}
.sq-panel-group > .sq-settings-section,
.sq-panel-group > .sq-panel {
  margin: 0;
  background: none;
  border: 0;
  border-radius: 0;
}
.sq-panel-group > * + *,
.sq-panel-group > .sq-settings-section + .sq-settings-section,
.sq-panel-group > .sq-panel + .sq-panel {
  border-top: 1px solid var(--sq-panel-border);
}
.sq-club-member-card + .sq-club-member-card,
.sq-request-card + .sq-request-card,
.sq-public-session + .sq-public-session,
.sq-dependent-item + .sq-dependent-item {
  border-top-width: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.sq-club-member-card:has(+ .sq-club-member-card),
.sq-request-card:has(+ .sq-request-card),
.sq-public-session:has(+ .sq-public-session),
.sq-dependent-item:has(+ .sq-dependent-item) {
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.sq-club-member-card:hover,
.sq-request-card:hover,
.sq-public-session:hover {
  border-color: var(--sq-panel-border);
}
.sq-card {
  border-radius: var(--sq-panel-radius);
  border: 1px solid var(--sq-panel-border);
  padding: var(--sq-panel-pad);
  background: var(--sq-panel-bg);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sq-card:hover {
  border-color: var(--sq-panel-border-hover);
}
.sq-session-box {
  background: var(--sq-panel-bg);
  border-radius: var(--sq-panel-radius);
  border: 1px solid var(--sq-panel-border);
  padding: 1rem;
}
.sq-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: var(--sq-fs-md);
}
.sq-card p {
  margin: 0;
  font-size: var(--sq-fs-base);
  color: var(--sq-text-muted);
}
.sq-small {
  font-size: var(--sq-fs-sm);
  color: var(--sq-text-muted);
}
.sq-body-auth {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.sq-main-auth {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sq-auth-wrapper {
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.25rem;
}
@media (max-width: 799px) {
.sq-auth-wrapper {
    align-items: flex-start;
    padding-top: 2rem;
  }
}
@media (max-height: 500px) {
.sq-auth-wrapper {
    align-items: flex-start;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}
.sq-auth-card {
  width: 100%;
  max-width: 420px;
  background: rgba(15,23,42,0.96);
  border-radius: var(--sq-radius-lg);
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: var(--sq-shadow-soft);
  padding: 1.6rem 1.5rem 1.5rem;
}
.sq-auth-card h1 {
  margin: 0 0 0.3rem;
  font-size: 1.4rem;
}
.sq-auth-card p {
  margin: 0 0 1.3rem;
  font-size: var(--sq-fs-base);
  color: var(--sq-text-muted);
}
[data-theme="light"] .sq-auth-card {
  background: var(--sq-surface-elevated);
  border-color: var(--sq-border-strong);
}
[data-theme="light"] .sq-auth-footer-text a {
  color: var(--sq-primary-text);
}
[data-theme="light"] #sq-login-error,
[data-theme="light"] #sq-otp-error,
[data-theme="light"] #sq-invite-error,
[data-theme="light"] #sq-preview-error {
  color: var(--sq-error) !important;
}
[data-theme="light"] #sq-login-success,
[data-theme="light"] #sq-invite-success {
  color: var(--sq-success) !important;
}
.sq-field {
  margin-bottom: 0.9rem;
  min-width: 0;
  overflow: hidden;
}
.sq-field label {
  display: block;
  font-size: var(--sq-fs-sm);
  margin-bottom: 0.25rem;
  color: #e5e7eb;
}
.sq-field:has(> input[required], > select[required], > textarea[required]) > label:first-child::after {
  content: ' *';
  color: var(--sq-danger);
}
.sq-field-hint {
  font-size: var(--sq-fs-xs);
  color: var(--sq-text-muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}
.sq-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.sq-form-group {
  margin-bottom: 1rem;
}
.sq-form-group > label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--sq-text);
}
.sq-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--sq-radius-sm);
  border: 1px solid var(--sq-input-border);
  background: var(--sq-surface-elevated);
  padding: 0.625rem 0.875rem;
  font-family: var(--sq-font);
  font-size: var(--sq-fs-base);
  color: var(--sq-text);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.sq-input:hover {
  border-color: var(--sq-primary-light);
}
.sq-input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--sq-placeholder);
  opacity: 1;
}
.sq-input:focus {
  /* Mouse focus keeps the subtle treatment; the real ring is on
     :focus-visible below, which is what keyboard users get. */
  outline: none;
  border-color: var(--sq-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
  background: var(--sq-surface);
}
.sq-input[list]::-webkit-calendar-picker-indicator {
  display: none !important;
}
.sq-input[list] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
select.sq-input {
  padding: 0.625rem 2rem 0.625rem 0.875rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}
[data-theme="light"] select.sq-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}
select.sq-input option,
select.sq-input optgroup {
  background: var(--sq-surface-elevated);
  color: var(--sq-text);
  padding: 0.5rem;
}
select.sq-input optgroup {
  font-weight: 600;
}
.sq-input[type="datetime-local"]::-webkit-calendar-picker-indicator,
.sq-input[type="date"]::-webkit-calendar-picker-indicator,
.sq-input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(42%) sepia(93%) saturate(352%) hue-rotate(131deg) brightness(92%) contrast(88%);
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.sq-input[type="datetime-local"]::-webkit-calendar-picker-indicator:hover,
.sq-input[type="date"]::-webkit-calendar-picker-indicator:hover,
.sq-input[type="time"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}
.sq-input[type="datetime-local"],
.sq-input[type="date"],
.sq-input[type="time"] {
  max-width: 100%;
  min-width: 0;
  height: 42px;
  -webkit-appearance: none;
}
.sq-auth-footer-text {
  margin-top: 0.9rem;
  font-size: var(--sq-fs-sm);
  color: var(--sq-text-muted);
}
.sq-auth-footer-text a {
  color: var(--sq-primary-text);   /* was indigo #a5b4fc, not a theme colour (UI audit, 25 Nov 2026) */
  text-decoration: none;
}
.sq-auth-footer-text a:hover {
  text-decoration: underline;
}
.sq-footer {
  border-top: 1px solid rgba(148,163,184,0.3);
  padding: 1rem 0;
  background: #020617;
}
.sq-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sq-footer-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: var(--sq-fs-base);
}
.sq-footer-links a {
  color: var(--sq-text-muted);
  text-decoration: none;
}
.sq-footer-links a:hover {
  color: #e5e7eb;
}
.sq-app-store-badge {
  display: inline-flex;
  align-items: center;
}
@media (max-width: 800px) {
.sq-app-store-badge { display: none !important; }
}
@media (display-mode: standalone) {
.sq-app-store-badge { display: none !important; }
}
@media (display-mode: fullscreen) {
.sq-app-store-badge { display: none !important; }
}
body.sq-native-app .sq-app-store-badge { display: none !important; }
@media (max-width: 800px) {
.sq-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}
@media (max-width: 640px) {
.sq-header-inner {
    gap: 0.8rem;
  }
.sq-nav {
    gap: 0.7rem;
    font-size: var(--sq-fs-sm);
  }
.sq-hero-text h1 {
    font-size: 1.9rem;
  }
}
.sq-page-header {
  margin-bottom: 1.6rem;
}
.sq-page-header h1 {
  margin: 0 0 0.3rem;
  font-size: 1.7rem;
}
.sq-page-header p {
  margin: 0;
  max-width: 26rem;
}
.sq-dashboard-actions {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}
#sq-join-code-toggle {
  margin-left: auto;
}
.sq-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}
.sq-sessions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1px;
  gap: 0 1.2rem;
  margin-top: 0.9rem;
  align-items: start;
}
.sq-sessions-list > * {
  width: 100%;
}
.sq-session-card {
  border-radius: var(--sq-panel-radius);
  border: 1px solid var(--sq-panel-border);
  background: var(--sq-panel-bg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-size: var(--sq-fs-base);
  padding: 0 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 1.2rem;
}
.sq-session-card:hover {
  border-color: var(--sq-primary);
}
.sq-session-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem !important;
  height: 2.5rem !important;
  box-sizing: border-box;
  border-bottom: 1px solid var(--sq-border);
  background: var(--sq-surface-elevated);
}
.sq-session-card-title {
  font-size: var(--sq-fs-md) !important;
  font-weight: 700;
  letter-spacing: 0 !important;
  text-transform: none;
  color: #f8fafc;
  margin: 0 !important;
  line-height: 1.3 !important;
}
.sq-session-card-badge {
  font-size: var(--sq-fs-xs);
  font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--sq-radius-pill);
  background: var(--sq-success-soft);
  color: var(--sq-success);
  white-space: nowrap;
  flex-shrink: 0;
}
.sq-session-progress {
  margin-top: 0;
}
.sq-session-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.sq-session-progress-label {
  font-size: var(--sq-fs-sm);
  color: var(--sq-text-muted);
}
.sq-session-progress-count {
  font-size: var(--sq-fs-sm);
  font-weight: 600;
  color: var(--sq-primary-light);
}
.sq-session-progress-track {
  height: 6px;
  background: var(--sq-bg);
  border-radius: var(--sq-radius-xs);
  overflow: hidden;
}
.sq-session-progress-fill {
  height: 100%;
  width: 0;
  background: var(--sq-primary);
  border-radius: var(--sq-radius-xs);
  transition: width 0.8s ease-out;
}
.sq-session-divider {
  height: 1px;
  background: rgba(148,163,184,0.18);
  margin: 0.35rem 0 0.55rem 0;
}
.sq-session-teams-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2.5rem;
}
.sq-team-column {
  flex: 1 1 0;
}
.sq-session-teams-row .sq-team-column:nth-child(2) {
  text-align: right;
}
.sq-session-teams-row .sq-team-column:nth-child(2) .sq-team-list li {
  text-align: right;
}
.sq-team-heading {
  font-size: var(--sq-fs-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0.4rem 0 0.3rem;
  /* Prevent iOS Safari from auto-inflating font size */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.sq-team-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sq-team-list li {
  font-size: var(--sq-fs-base);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}
#sq-sessions-list a {
  color: #e5e7eb;
  text-decoration: none;
}
#sq-sessions-list a:hover {
  color: #f9fafb;
  text-decoration: underline;
}
@media (max-width: 800px) {
.sq-sessions-list {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }
.sq-session-teams-row {
    gap: 1rem;
  }
.sq-team-heading,
  .sq-session-unassigned .sq-team-heading,
  .sq-session-card h4.sq-team-heading,
  .sq-session-unassigned h4,
  .sq-team-column h4 {
    font-size: var(--sq-fs-xs) !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
    /* Additional iOS Safari fixes */
    max-height: 1.5em;
    line-height: 1.3;
  }
.sq-team-list li {
    font-size: var(--sq-fs-sm);
  }
}
@media (max-width: 640px) {
.sq-page-header {
    text-align: left;
  }
.sq-page-header p {
    max-width: 100%;
  }
.sq-form-actions .sq-link-button {
    text-align: center;
    width: 100%;
  }
.sq-session-card {
    padding: 0 !important;
  }
}
html,
body {
  color: var(--sq-text);
}
html {
  background: var(--sq-bg-solid) !important;
}
body {
  background: transparent !important;
}
.sq-session-preview-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: 0.3rem !important;
  padding: 0.5rem 0.9rem 0.5rem !important;
  border-top: 1px solid rgba(148,163,184,0.24);
}
.sq-session-preview-body > .sq-session-preview-meta {
  width: 100%;
}
.sq-session-preview-body > .sq-session-preview-meta:last-child {
  align-items: flex-start;
  text-align: left;
}
.sq-session-preview-meta {
  display: flex;
  flex-direction: column;
  gap: 0.3rem !important;
}
.sq-session-preview-label {
  font-size: var(--sq-fs-sm);
  color: var(--sq-text-muted);
}
.sq-session-preview-value {
  font-size: var(--sq-fs-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.sq-session-preview-meta .sq-session-chip-row {
  width: 100%;
  justify-content: space-between;
  gap: 0.75rem;
}
.sq-session-preview-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
}
.sq-session-preview-row .sq-session-preview-label {
  flex: 0 0 auto;
}
.sq-session-preview-row .sq-session-preview-value {
  margin-left: auto;
  text-align: right;
}
.sq-session-preview-row--payments {
  margin-top: 0.25rem;
  margin-bottom: 0;
}
.sq-session-preview-row--payments .sq-session-chip-row {
  width: 100%;
  justify-content: space-between;
  gap: 0.75rem;
}
.sq-session-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.14rem 0.7rem;
  border-radius: var(--sq-radius-pill);
  font-size: var(--sq-fs-sm);
  border: 1px solid rgba(148,163,184,0.55);
}
.sq-session-chip--paid {
  border-color: rgba(34,197,94,0.7);
  background: var(--sq-success-soft);
  color: var(--sq-success-text);
}
.sq-session-chip--unpaid {
  border-color: rgba(250,204,21,0.8);
  background: rgba(234,179,8,0.16);
  color: var(--sq-gold);
}
.sq-session-preview-row--payments,
.sq-session-chip--paid,
.sq-session-chip--unpaid {
  display: none !important;
}
.sq-session-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.25rem;
  padding: 4px;
  border-radius: var(--sq-radius-lg);
  background: var(--sq-surface);
  border: 1px solid var(--sq-border-strong);
  box-shadow: var(--sq-shadow-sm);
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.sq-session-tabs::-webkit-scrollbar {
  display: none;
}
.sq-tabs-wrapper {
  position: relative;
  width: 100%;
}
.sq-tabs-scroll-indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  display: flex;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 2;
  /* Match the tab bar's rounded corners */
  border-radius: var(--sq-radius-lg);
}
.sq-tabs-scroll-indicator.visible {
  opacity: 1;
}
.sq-tabs-scroll-indicator:not(.visible) {
  pointer-events: none;
}
.sq-tabs-scroll-indicator-right {
  right: 0;
  background: linear-gradient(to right, transparent 0%, var(--sq-surface) 50%);
  justify-content: flex-end;
  padding-right: 8px;
  border-radius: 0 var(--sq-radius-lg) var(--sq-radius-lg) 0;
}
.sq-tabs-scroll-indicator-left {
  left: 0;
  background: linear-gradient(to left, transparent 0%, var(--sq-surface) 50%);
  justify-content: flex-start;
  padding-left: 8px;
  border-radius: var(--sq-radius-lg) 0 0 var(--sq-radius-lg);
}
.sq-tabs-scroll-indicator svg {
  width: 16px;
  height: 16px;
  color: var(--sq-text-muted);
}
.sq-tabs-scroll-indicator:hover svg {
  color: var(--sq-text);
}
.sq-tabs-scroll-indicator-right svg {
  animation: sq-scroll-hint-right 1s ease-in-out infinite;
}
.sq-tabs-scroll-indicator-left svg {
  animation: sq-scroll-hint-left 1s ease-in-out infinite;
}
@keyframes sq-scroll-hint-right {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}
@keyframes sq-scroll-hint-left {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-3px); }
}
.sq-session-tab {
  border: none;
  background: transparent;
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-base);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--sq-radius-md);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  /* Grow to fill bar, don't shrink below content - scroll if overflow */
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sq-session-tab:hover:not(.sq-session-tab-active) {
  background: var(--sq-surface-hover);
  color: var(--sq-text);
}
.sq-session-tab-active {
  background: var(--sq-primary);
  color: #ecfeff;
  box-shadow: var(--sq-shadow-md);
}
.sq-section-title {
  margin: 0;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.sq-pitch-board {
  position: relative;
  width: 100%;
  border: 1px solid var(--sq-pitch-border);
  border-radius: 22px;
  background: rgba(84, 214, 126, 0.06);
  padding-top: 64.8%; /* football 105x68m; JS overrides per sport from the template aspect */
  overflow: hidden;
  margin-bottom: 1.25rem;
  min-height: 200px; /* Prevent too much vertical compression */
}
body[data-markings="netball"] .sq-pitch-board {
  background-image:
    linear-gradient(90deg, transparent calc(33.33% - 1px), rgba(255, 255, 255, 0.4) 33.33%, transparent calc(33.33% + 1px)),
    linear-gradient(90deg, transparent calc(66.66% - 1px), rgba(255, 255, 255, 0.4) 66.66%, transparent calc(66.66% + 1px));
}
body[data-markings="netball"] .sq-pitch-board::before,
body[data-markings="netball"] .sq-pitch-board::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 15%;
  height: 58%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
body[data-markings="netball"] .sq-pitch-board::before {
  left: 0;
  border-left: none;
  border-radius: 0 100% 100% 0 / 0 50% 50% 0;
}
body[data-markings="netball"] .sq-pitch-board::after {
  right: 0;
  border-right: none;
  border-radius: 100% 0 0 100% / 50% 0 0 50%;
}
.sq-session-card form {
  display: none !important;
}
.sq-session-card .sq-field,
.sq-session-card .sq-form-actions {
  display: none !important;
}
.sq-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.sq-pref-desc {
  font-size: var(--sq-fs-sm);
  color: var(--sq-text-muted);
}
.sq-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sq-scrim);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.sq-modal-content {
  background: var(--sq-bg-solid);
  border: 1px solid var(--sq-border-strong);
  border-radius: var(--sq-radius-lg);
  padding: 0;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--sq-shadow-lg);
}
.sq-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--sq-border);
}
.sq-modal-header h2 {
  margin: 0;
  color: var(--sq-text);
  font-size: 1.2rem;
}
.sq-modal-option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px;
  background: var(--sq-panel-bg);
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  width: 100%;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
}
.sq-modal-option-card:hover {
  border-color: var(--sq-club-color, #0f766e);
  background: var(--sq-panel-bg-strong);
}
.sq-modal-close {
  background: none;
  border: none;
  color: var(--sq-text-muted);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sq-radius-xs);
  transition: all 0.2s;
}
.sq-modal-close::after {
  content: '';
  display: block;
  width: 1.1rem;
  height: 1.1rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.sq-modal-close:hover {
  background: var(--sq-surface-hover);
  color: var(--sq-text);
}
#series-modal-form,
/* The club fixture/session modal had no padding at all, on any side: sq-modal-content
   is padding: 0 by design and every modal body supplies its own, and this one never
   did. */
#club-group-modal-form {
  padding: 24px;
}
.sq-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.sq-modal-actions .sq-button {
  min-width: 0;
  box-sizing: border-box;
  min-height: 42px;
}
.sq-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--sq-surface);
  border-top: 1px solid var(--sq-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  padding: 1rem;
  display: none;
}
.sq-cookie-banner.visible {
  display: block;
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.sq-cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sq-cookie-banner-text {
  flex: 1;
  min-width: 280px;
}
.sq-cookie-banner-text p {
  margin: 0;
  font-size: var(--sq-fs-base);
  color: var(--sq-text);
  line-height: 1.5;
}
@media (max-width: 600px) {
.sq-cookie-banner { padding: 0.6rem 0.75rem; }
.sq-cookie-banner-inner { flex-wrap: nowrap; gap: 0.75rem; }
.sq-cookie-banner-text { min-width: 0; }
.sq-cookie-banner-text p { font-size: var(--sq-fs-sm); line-height: 1.35; }
}
.sq-cookie-banner-text a {
  color: var(--sq-primary-light);
  text-decoration: underline;
}
.sq-cookie-banner-text a:hover {
  color: var(--sq-primary-text);
}
.sq-cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}
.sq-cookie-banner-actions .sq-button {
  white-space: nowrap;
}
@media (max-width: 600px) {
.sq-cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }
.sq-cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }
}
.sq-section-title {
  font-size: var(--sq-fs-lg);
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: var(--sq-text);
}
.sq-club-home-content {
  line-height: 1.7;
  color: var(--sq-text);
}
.sq-club-home-content p {
  margin: 0 0 1rem 0;
}
.sq-club-home-content p:last-child {
  margin-bottom: 0;
}
.sq-club-home-content h1,
.sq-club-home-content h2,
.sq-club-home-content h3 {
  color: var(--sq-text);
  margin: 0 0 1rem 0;
  font-weight: 600;
}
.sq-club-home-content h1 { font-size: 1.75rem; }
.sq-club-home-content h2 { font-size: var(--sq-fs-xl); }
.sq-club-home-content h3 { font-size: var(--sq-fs-lg); }
.sq-club-home-content ul,
.sq-club-home-content ol {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}
.sq-club-home-content li {
  margin-bottom: 0.5rem;
}
.sq-club-home-content a {
  color: var(--sq-accent);
  text-decoration: underline;
}
.sq-club-home-content strong {
  font-weight: 600;
}
.sq-club-home-content blockquote {
  border-left: 3px solid var(--sq-accent);
  padding-left: 1rem;
  margin: 0 0 1rem 0;
  color: var(--sq-text-muted);
}
.sq-club-home-content hr {
  border: none;
  border-top: 1px solid var(--sq-border);
  margin: 1.5rem 0;
}
.sq-homepage-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 800px) {
.sq-homepage-cards {
    grid-template-columns: 1fr;
  }
}
.sq-homepage-card {
  pointer-events: none;
}
.sq-session-chip-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sq-session-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--sq-radius-pill);
  font-size: var(--sq-fs-xs);
  font-weight: 600;
}
.sq-session-chip--paid {
  background: var(--sq-success-soft);
  color: var(--sq-success-text);
}
.sq-session-chip--unpaid {
  background: var(--sq-warning-soft);
  color: var(--sq-warning-text);
}
.sq-team-player {
  font-size: var(--sq-fs-base);
  color: var(--sq-text-muted);
  padding: 0.25rem 0;
}
.sq-text-muted {
  color: var(--sq-text-disabled);
  font-style: italic;
}
.sq-session-tree-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}
.sq-series-pattern {
  font-size: var(--sq-fs-sm);
  color: var(--sq-text-muted);
  margin: 0;
}
.sq-badge {
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--sq-radius-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sq-badge.cancelled {
  background: #7f1d1d;
  color: #fca5a5;
}
.sq-badge.overridden {
  background: #78350f;
  color: #fdba74;
}
.sq-badge.intra-squad {
  background: #134e4a;
  color: #5eead4;
}
[data-theme="light"] .sq-badge.cancelled {
  background: var(--sq-danger-soft);
  color: var(--sq-danger-dark);
}
[data-theme="light"] .sq-badge.overridden {
  background: var(--sq-warning-soft);
  color: var(--sq-warning-text);
}
[data-theme="light"] .sq-badge.intra-squad {
  background: var(--sq-surface-hover);
  color: var(--sq-primary-text);
}
.sq-no-sessions {
  padding: 32px;
  text-align: center;
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-base);
}
.sq-tree-loading {
  padding: 32px;
  text-align: center;
  color: var(--sq-text-muted);
}
.sq-tree-loading::after {
  content: "...";
  animation: sq-dots 1.5s steps(4, end) infinite;
}
@keyframes sq-dots {
  0%, 20% { content: "."; }
  40% { content: ".."; }
  60%, 100% { content: "..."; }
}
@keyframes sq-spin { to { transform: rotate(360deg); } }
.sq-skeleton {
  position: relative;
  overflow: hidden;
  background: var(--sq-surface-elevated);
  border-radius: var(--sq-radius-md);
}
.sq-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.12), transparent);
  animation: sq-shimmer 1.3s ease-in-out infinite;
}
@keyframes sq-shimmer { to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) {
.sq-skeleton::after { animation: none; }
}
.sq-standalone-past-section {
  margin-top: 24px;
}
.sq-standalone-past-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: var(--sq-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sq-text-muted);
  background: var(--sq-panel-bg-strong);
  border-radius: var(--sq-radius-md);
  border: 1px solid var(--sq-border);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
button.sq-standalone-past-header {
  width: 100%;
  font-family: inherit;
  line-height: inherit;
  text-align: left;
  margin: 0;
}
.sq-standalone-past-header:hover {
  background: var(--sq-panel-bg-raised);
  border-color: var(--sq-panel-border-hover);
}
.sq-standalone-past-section.expanded .sq-standalone-past-header {
  border-radius: var(--sq-radius-md) var(--sq-radius-md) 0 0;
  border-bottom: none;
}
.sq-standalone-past-header .sq-past-expand-icon {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 10px;
  margin-left: 8px;
}
.sq-standalone-past-section.expanded .sq-past-expand-icon {
  transform: rotate(90deg);
}
.sq-standalone-past-header .sq-past-count {
  font-size: 11px;
  color: var(--sq-text-muted);
  font-weight: 500;
}
.sq-standalone-past-list {
  display: none;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--sq-border);
  border-right: 1px solid var(--sq-border);
  border-bottom: 1px solid var(--sq-border);
  border-radius: 0 0 var(--sq-radius-md) var(--sq-radius-md);
  overflow: hidden;
}
.sq-standalone-past-section.expanded .sq-standalone-past-list {
  display: flex;
}
.sq-confirm-modal-body {
  padding: 24px;
}
.sq-confirm-modal-body #sq-confirm-modal-message {
  margin: 0 0 24px 0;
  color: var(--sq-text);
  line-height: 1.6;
}
.sq-confirm-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.sq-confirm-modal-actions .sq-button {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.sq-confirm-modal-actions .sq-button + .sq-button {
  flex: 1 1 0px;
}
.sq-confirm-modal-actions .sq-button:first-child:not(:last-child) {
  flex: 1 1 0px;
}
.sq-confirm-choices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}
.sq-confirm-choices .sq-button {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  justify-content: flex-start;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes sqLiveBadgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@media (max-width: 375px) {
.sq-container {
    padding: 0 0.75rem;
  }
h1, .sq-page-header h1 {
    font-size: var(--sq-fs-xl);
  }
h2 {
    font-size: var(--sq-fs-lg);
  }
.sq-button {
    padding: 0.625rem 1rem;
    font-size: var(--sq-fs-base);
  }
.sq-button-large {
    padding: 0.75rem 1.25rem;
    font-size: var(--sq-fs-base);
  }
.sq-card {
    padding: 1rem;
  }
.sq-input {
    padding: 0.75rem;
    font-size: var(--sq-fs-md); /* Prevents iOS zoom on focus */
  }
.sq-modal-overlay {
    padding: 10px;
  }
.sq-modal-content {
    max-width: 100%;
    border-radius: var(--sq-radius-md);
  }
.sq-modal-header {
    padding: 0.75rem 1rem;
  }
}
@media (max-width: 800px) {
[style*="display: flex"],
  [style*="display:flex"] {
    flex-wrap: wrap !important;
  }
[style*="flex-direction:column"],
  [style*="flex-direction: column"] {
    flex-wrap: nowrap !important;
  }
label[style*="display: flex"],
  label[style*="display:flex"],
  .poll-option-row {
    flex-wrap: nowrap !important;
  }
.sq-session-card {
    padding: 1rem;
  }
.sq-series-cancel-desktop {
    display: none !important;
  }
.sq-button {
    min-height: 44px;
  }
.sq-button-small {
    min-height: 36px;
    padding: 0.5rem 0.875rem;
  }
.sq-field-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
.sq-modal-content .sq-input[type="datetime-local"],
  .sq-modal-content .sq-input[type="date"],
  .sq-modal-content .sq-input[type="time"] {
    min-width: 0;
    width: 100%;
  }
.sq-form-actions .sq-button {
    width: 100%;
  }
.sq-modal-overlay {
    padding: 0;
    align-items: flex-end;
  }
.sq-modal-content {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--sq-radius-lg) var(--sq-radius-lg) 0 0;
    margin: 0;
  }
.sq-modal-header {
    padding: 0.75rem 1.25rem;
  }
.sq-modal-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
.sq-modal-actions .sq-button {
    width: 100%;
  }
.sq-modal-actions.sq-modal-actions-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
  }
.sq-modal-actions.sq-modal-actions-row .sq-button {
    width: auto;
    flex: 1;
  }
.sq-session-tabs {
    display: flex;
    max-width: 100%;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
.sq-session-tabs::-webkit-scrollbar {
    display: none;
  }
.sq-session-tabs .sq-session-tab {
    flex: 1 0 auto;
    white-space: nowrap;
    justify-content: center;
  }
.sq-session-shell,
  .sq-container {
    max-width: 100%;
    overflow-x: hidden;
  }
.sq-dashboard-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
.sq-dashboard-actions .sq-button {
    width: 100%;
  }
.sq-feature-grid {
    gap: 1.5rem;
  }
.sq-feature-card {
    padding: 1.25rem;
  }
.sq-admin-table {
    font-size: var(--sq-fs-sm);
  }
.sq-admin-table th,
  .sq-admin-table td {
    padding: 0.5rem;
  }
}
@media (max-width: 480px) {
.sq-section-title {
    font-size: var(--sq-fs-md);
  }
.sq-cookie-banner {
    padding: 1rem;
  }
}
@media (hover: none) and (pointer: coarse) {
.sq-button {
    min-height: 44px;
    min-width: 44px;
  }
.sq-link-button {
    padding: 0.75rem;
  }
.sq-button:hover {
    transform: none;
  }
.sq-card:hover {
    transform: none;
  }
input[type="checkbox"],
  input[type="radio"] {
    min-width: 20px;
    min-height: 20px;
    accent-color: var(--sq-primary);
  }
select.sq-input {
    min-height: 48px;
  }
.sq-input[type="date"],
  .sq-input[type="datetime-local"],
  .sq-input[type="time"] {
    height: auto;
    min-height: 42px;
    max-height: none;
  }
}
@supports (padding: max(0px)) {
.sq-mobile-nav {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 12px));
  }
body.sq-native-app .sq-mobile-nav {
    padding-bottom: 20px;
  }
.sq-modal-content {
    padding-bottom: max(0px, env(safe-area-inset-bottom));
  }
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
select.sq-input,
  textarea.sq-input,
  input.sq-input {
    font-size: var(--sq-fs-md);
  }
}
.sq-mobile-nav {
  view-transition-name: sq-mobile-nav;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--sq-border);
  display: none;
  justify-content: space-around;
  align-items: center;
  padding: 14px 0;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 12px));
}
.sq-mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  color: var(--sq-text-muted);
  text-decoration: none;
  font-size: var(--sq-fs-xs);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  min-width: 64px;
}
.sq-mobile-nav-item.active {
  color: var(--sq-primary-light);
}
.sq-mobile-nav-item svg {
  width: 24px;
  height: 24px;
}
@media (max-width: 800px) {
nav#sq-mobile-nav.sq-mobile-nav.sq-nav-visible {
    display: flex !important;
  }
body.sq-has-mobile-nav .sq-footer {
    display: none !important;
  }
}
@media (min-width: 801px) {
.sq-mobile-nav,
  nav#sq-mobile-nav.sq-mobile-nav.sq-nav-visible {
    display: none !important;
  }
body.sq-has-mobile-nav {
    padding-bottom: 0 !important;
  }
}
@media (max-width: 375px) {
.sq-mobile-nav-item {
    padding: 8px 10px;
    min-width: 60px;
    min-height: 48px;
    font-size: var(--sq-fs-xs);
  }
.sq-mobile-nav-item svg {
    width: 22px;
    height: 22px;
  }
}
.sq-weather-widget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
  margin-top: 0.25rem;
}
.sq-weather-temp {
  font-size: var(--sq-fs-md);
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
}
.sq-weather-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-base);
}
.sq-weather-desc {
  text-transform: capitalize;
  color: rgba(226, 232, 240, 0.92);
}
.sq-weather-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  margin-top: 6px;
  background: var(--sq-warning-soft);
  border: 1px solid var(--sq-warning-soft);
  border-left: 3px solid var(--sq-warning);
  border-radius: var(--sq-radius-sm);
  color: var(--sq-warning-text);
  font-size: var(--sq-fs-sm);
}
.sq-empty-state {
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-base);
}
.sq-onboarding {
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
  /* Keep clear of the sticky footer / mobile bottom nav so it isn't encroached. */
  margin-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  padding: 28px 24px;
}
.sq-onboarding-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sq-surface-hover);
  color: var(--sq-primary-light);
}
.sq-onboarding h2 { margin: 0 0 8px; }
.sq-onboarding .sq-onboarding-sub {
  color: var(--sq-text-muted);
  margin: 0 auto 20px;
  max-width: 440px;
  line-height: 1.5;
}
.sq-onboarding-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}
.sq-onboarding .sq-onboarding-hint {
  font-size: var(--sq-fs-base);
  color: var(--sq-text-muted);
  margin: 0 auto;
  max-width: 440px;
  line-height: 1.4;
}
.sq-link-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--sq-primary-light);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}
.sq-preview-row {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.sq-preview-label {
  font-size: var(--sq-fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sq-text-muted);
  min-width: 56px;
  flex: 0 0 auto;
}
.sq-preview-value {
  color: var(--sq-text);
}
.sq-dm-header-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--sq-radius-sm);
  color: var(--sq-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.sq-dm-header-btn:hover {
  background: var(--sq-surface-hover);
  color: var(--sq-text);
}
.sq-dm-header-btn svg {
  width: 22px;
  height: 22px;
}
#sq-dm-header-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--sq-danger-dark);
  color: #fff;
  border-radius: var(--sq-radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
}
.sq-chatbot-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);   /* side panels: as before 13 Nov */
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sq-chatbot-overlay-visible {
  opacity: 1;
  visibility: visible;
}
.sq-chatbot-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 16px 10px;
  background: transparent;   /* title sits on the sheet, like Messages */
  flex-shrink: 0;
}
.sq-chatbot-title {
  flex: 1;
  font-size: 1.25rem;                /* same as the Messages and Notifications titles */
  font-weight: 700;
  color: var(--sq-text);
}
.sq-chatbot-header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--sq-radius-sm);
  color: var(--sq-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.sq-chatbot-header-btn:hover {
  background: var(--sq-surface-hover);
  color: var(--sq-text);
}
.sq-chatbot-footer {
  padding: 8px 16px;
  text-align: center;
  font-size: 11px;
  color: var(--sq-text-muted);
  flex-shrink: 0;
}
.sq-chatbot-footer a {
  color: var(--sq-primary-light);
  text-decoration: none;
}
.sq-chatbot-footer a:hover {
  text-decoration: underline;
}
.sq-chatbot-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sq-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 9997;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sq-chatbot-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}
.sq-messages-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);   /* side panels: as before 13 Nov */
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.sq-messages-overlay-visible {
  opacity: 1;
  visibility: visible;
}
.sq-messages-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  /* Floating sheet (14 Nov 2026, owner's pick "B"): the page colour with the
     modal border and shadow. On wider screens it floats with rounded corners;
     see the min-width: 801px block after the Notifications panel. */
  background: var(--sq-bg-solid);
  border-left: 1px solid var(--sq-border-strong);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.sq-messages-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200vh;
  background: var(--sq-bg-solid);
  z-index: -1;
  pointer-events: none;
}
.sq-messages-panel-open {
  transform: translateX(0);
  box-shadow: var(--sq-shadow-lg);   /* only when open, or it shows at the screen edge */
}
.sq-messages-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 16px 10px;
  background: transparent;   /* title sits on the sheet, no bar */
  flex-shrink: 0;
}
.sq-messages-back,
.sq-messages-close,
.sq-messages-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--sq-radius-sm);
  color: var(--sq-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.sq-messages-back:hover,
.sq-messages-close:hover,
.sq-messages-icon-btn:hover {
  background: var(--sq-surface-hover);
  color: var(--sq-text);
}
.sq-messages-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sq-messages-title-wrap {
  flex: 1;
  min-width: 0;
}
.sq-messages-title {
  flex: 1;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sq-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sq-side-sub {
  margin-top: 2px;
  font-size: var(--sq-fs-xs);
  color: var(--sq-text-muted);
}
.sq-side-sub:empty {
  display: none;
}
.sq-side-label {
  padding: 12px 4px 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--sq-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sq-side-group {
  background: var(--sq-panel-bg);
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
  overflow: hidden;
}
.sq-side-group > * + * {
  border-top: 1px solid var(--sq-panel-border);
}
.sq-messages-content {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.sq-messages-channels {
  flex: 1;
  overflow-y: auto;
  padding: 0 14px 14px;
}
.sq-messages-channel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  cursor: pointer;
  background: transparent;
}
.sq-messages-channel-item:hover {
  background: var(--sq-surface-hover);
}
.sq-messages-channel-unread .sq-messages-channel-name {
  font-weight: 700;
}
.sq-messages-channel-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sq-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--sq-fs-md);
  flex-shrink: 0;
}
.sq-messages-channel-avatar-img {
  background: transparent;
  padding: 0;
  overflow: hidden;
}
.sq-messages-channel-avatar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.sq-messages-channel-info {
  flex: 1;
  min-width: 0;
}
.sq-messages-channel-name {
  font-weight: 600;
  color: var(--sq-text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sq-messages-channel-preview {
  font-size: 0.8rem;
  color: var(--sq-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sq-messages-channel-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: var(--sq-primary);
  color: #fff;
  border-radius: var(--sq-radius-pill);
  font-size: var(--sq-fs-xs);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sq-messages-channel-action {
  display: none;
  background: none;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  color: var(--sq-text-muted);
  font-size: 0.85rem;
  border-radius: var(--sq-radius-sm);
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}
.sq-messages-channel-action:hover {
  color: var(--sq-error, #dc2626);
  background: rgba(220, 38, 38, 0.1);
}
.sq-messages-channel-item:hover .sq-messages-channel-action {
  display: block;
}
@media (hover: none) {
.sq-messages-channel-action {
    display: block;
    opacity: 0.85;
  }
.sq-messages-channel-action:active {
    opacity: 1;
    color: var(--sq-error, #dc2626);
  }
}
.sq-messages-channel-left {
  opacity: 0.5;
}
.sq-messages-channel-left .sq-messages-channel-preview {
  font-style: italic;
}
.sq-messages-chat {
  flex: 1 1 0%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  /* Don't use overflow: hidden - it breaks scrolling */
}
.sq-messages-pinned-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(20, 184, 166, 0.1);
  border-bottom: 1px solid var(--sq-border);
  font-size: 0.8rem;
  color: var(--sq-primary-light);
}
.sq-messages-pinned-bar button {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--sq-primary-light);
  cursor: pointer;
  font-size: var(--sq-fs-xs);
  text-decoration: underline;
}
.sq-messages-input-wrapper {
  flex-shrink: 0;
  border-top: 1px solid var(--sq-panel-border);
  background: transparent;   /* flat on the sheet, hairline on top */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.sq-messages-reply-bar {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  background: var(--sq-panel-bg-strong);
  border-bottom: 1px solid var(--sq-border);
  border-left: 3px solid var(--sq-primary);
}
.sq-messages-reply-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sq-messages-reply-label {
  font-size: var(--sq-fs-xs);
  color: var(--sq-primary-light);
}
.sq-messages-reply-label strong {
  color: var(--sq-text);
}
.sq-messages-reply-preview {
  font-size: 0.8rem;
  color: var(--sq-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sq-messages-reply-bar button {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: var(--sq-text-muted);
  cursor: pointer;
  font-size: var(--sq-fs-lg);
  padding: 0;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--sq-radius-sm);
  transition: all 0.15s ease;
}
.sq-messages-reply-bar button:hover {
  color: var(--sq-text);
  background: var(--sq-surface-hover);
}
.sq-messages-input-wrapper.sq-messages-club-themed .sq-messages-reply-bar {
  border-left-color: var(--sq-club-color);
}
.sq-messages-input-wrapper.sq-messages-club-themed .sq-messages-reply-label {
  color: var(--sq-club-color);
}
.sq-messages-list {
  flex: 1 1 0%;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}
.sq-messages-list::before {
  content: '';
  flex: 1 1 auto;
}
.sq-msg {
  max-width: 85%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.sq-msg-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sq-msg-other .sq-msg-row {
  flex-direction: row;
}
.sq-msg-own .sq-msg-row {
  flex-direction: row-reverse;
}
.sq-msg-other {
  align-self: flex-start;
}
.sq-msg-own {
  align-self: flex-end;
}
.sq-msg-sender {
  font-size: var(--sq-fs-xs);
  font-weight: 600;
  color: var(--sq-text-muted);
  margin-bottom: 2px;
}
.sq-msg-own .sq-msg-sender {
  text-align: right;
}
.sq-msg-bubble {
  padding: 10px 14px;
  border-radius: var(--sq-radius-lg);
  font-size: var(--sq-fs-md);
  line-height: 1.5;
  word-wrap: break-word;
}
.sq-msg-other .sq-msg-bubble {
  background: var(--sq-surface-elevated);
  border: 1px solid var(--sq-panel-border);
  color: var(--sq-text);
  border-radius: var(--sq-radius-lg);
  border-bottom-left-radius: var(--sq-radius-xs);
}
.sq-msg-own .sq-msg-bubble {
  background: var(--sq-primary);
  color: #fff;
  border-radius: var(--sq-radius-lg);
  border-bottom-right-radius: var(--sq-radius-xs);
}
.sq-messages-club-themed .sq-msg-own .sq-msg-bubble {
  background: var(--sq-club-color);
  color: var(--sq-club-text-color, #fff);
}
.sq-messages-club-themed .sq-msg-own .sq-msg-time {
  color: inherit;
}
.sq-msg-reply-indicator {
  font-size: var(--sq-fs-xs);
  opacity: 0.7;
  margin-bottom: 4px;
  font-style: italic;
}
.sq-msg-text {
  font-size: var(--sq-fs-base);
  line-height: 1.5;
  word-break: break-word;
}
.sq-msg-time {
  font-size: var(--sq-fs-xs);
  margin-top: 4px;
}
.sq-msg-other .sq-msg-time {
  color: var(--sq-text-muted);
}
.sq-msg-own .sq-msg-time {
  color: #ecfeff;   /* rgba(255,255,255,0.7) was 3.5:1 on the teal bubble (UI audit, 25 Nov 2026) */
  text-align: right;
}
.sq-msg-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: -6px;
  position: relative;
  z-index: 1;
  padding-bottom: 4px;
}
.sq-msg-other .sq-msg-reactions {
  padding-left: 6px;
}
.sq-msg-own .sq-msg-reactions {
  justify-content: flex-end;
  padding-right: 6px;
}
.sq-msg-reaction {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  background: transparent;
  border: none;
  border-radius: var(--sq-radius-pill);
  font-size: var(--sq-fs-md);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s ease, background 0.15s ease, transform 0.1s ease;
}
.sq-msg-reaction:hover {
  opacity: 1;
  background: var(--sq-surface-hover);
  transform: scale(1.1);
}
.sq-msg-reaction-active {
  opacity: 1;
  background: var(--sq-surface-hover);
}
.sq-msg-actions {
  display: flex;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.2s ease;
  align-items: center;
  flex-shrink: 0;
}
.sq-msg:hover .sq-msg-actions,
.sq-msg:focus-within .sq-msg-actions,
.sq-msg.sq-msg-actions-visible .sq-msg-actions {
  opacity: 1;
}
@media (hover: none) {
.sq-msg-actions {
    opacity: 0;
  }
.sq-msg:focus-within .sq-msg-actions,
  .sq-msg.sq-msg-actions-visible .sq-msg-actions {
    opacity: 1;
  }
}
.sq-msg-action-btn {
  background: none;
  border: none;
  border-radius: var(--sq-radius-sm);
  padding: 4px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
  color: var(--sq-text-muted);
  /* Full opacity: at 0.6 the icons were 2.6:1 in light mode; muted text is
     >= 5:1 in both themes, well over the 3:1 icons need (a11y, 17 Nov 2026) */
  opacity: 1;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sq-msg-action-btn:hover {
  opacity: 1;
  background: var(--sq-surface-hover);
  transform: scale(1.15);
}
.sq-msg-action-btn:active {
  transform: scale(0.95);
}
.sq-reaction-picker {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--sq-surface-elevated);
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-radius-md);
  box-shadow: var(--sq-shadow-lg);
  z-index: 10000;
}
.sq-reaction-picker-btn {
  background: transparent;
  border: none;
  font-size: var(--sq-fs-lg);
  padding: 4px 8px;
  cursor: pointer;
  border-radius: var(--sq-radius-sm);
  transition: background 0.15s ease;
}
.sq-reaction-picker-btn:hover {
  background: var(--sq-surface-hover);
}
.sq-messages-input-form {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: transparent;
  flex-shrink: 0;
}
.sq-messages-input-form .sq-input {
  flex: 1;
}
.sq-support-topics {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.sq-support-topics legend {
  /* same as .sq-form-group > label */
  padding: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--sq-text);
}
.sq-support-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sq-support-chip {
  position: relative;
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}
.sq-support-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.sq-support-chip span {
  padding: 6px 12px;
  border: 1px solid var(--sq-border-strong);
  border-radius: var(--sq-radius-pill);
  font-size: var(--sq-fs-sm);
  font-weight: 600;
  color: var(--sq-text-muted);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.sq-support-chip:hover span {
  border-color: var(--sq-primary-light);
  color: var(--sq-text);
}
.sq-support-chip input:checked + span {
  background: var(--sq-surface-hover);
  border-color: var(--sq-primary-light);
  color: var(--sq-primary-light);
}
.sq-support-chip input:focus-visible + span {
  outline: 2px solid var(--sq-primary-light);
  outline-offset: 2px;
}
#sq-messages-panel .sq-button:not(.sq-button-secondary):not(.sq-button-danger),
#sq-support-panel .sq-button:not(.sq-button-secondary):not(.sq-button-danger) {
  background: var(--sq-primary) !important;
  border-color: var(--sq-primary) !important;
  color: #fff !important;
}
#sq-messages-panel .sq-button:not(.sq-button-secondary):not(.sq-button-danger):hover,
#sq-support-panel .sq-button:not(.sq-button-secondary):not(.sq-button-danger):hover {
  background: var(--sq-primary-dark) !important;
  border-color: var(--sq-primary-dark) !important;
}
#sq-messages-panel .sq-button-secondary:hover,
#sq-support-panel .sq-button-secondary:hover {
  background: var(--sq-surface-hover) !important;
  border-color: var(--sq-primary) !important;
  color: var(--sq-primary-light) !important;
}
#sq-messages-panel .sq-messages-input-wrapper.sq-messages-club-themed .sq-button:not(.sq-button-secondary):not(.sq-button-danger),
#sq-messages-panel .sq-messages-input-wrapper.sq-messages-club-themed .sq-button:not(.sq-button-secondary):not(.sq-button-danger):hover {
  background: var(--sq-club-color) !important;
  border-color: var(--sq-club-color) !important;
  color: var(--sq-club-text-color, #fff) !important;
}
@media (max-width: 800px) {
.sq-messages-panel {
    max-width: 100%;
  }
.sq-chatbot-panel {
    max-width: 100%;
  }
body.sq-has-mobile-nav .sq-messages-panel {
    bottom: 0;
  }
body.sq-chat-keyboard-open .sq-messages-panel {
    top: var(--sq-chat-viewport-top, 0px);
    bottom: auto;
    height: calc(var(--sq-chat-viewport-h, 100dvh) - 6px);
    max-height: calc(var(--sq-chat-viewport-h, 100dvh) - 6px);
  }
body.sq-chat-keyboard-open #sq-messages-panel {
    top: 0;
    bottom: 0;
    height: auto;
    max-height: none;
  }
body.sq-chat-keyboard-open #sq-messages-panel .sq-messages-input-wrapper {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: calc(var(--sq-chat-keyboard-inset, 0px) + 6px);
    z-index: 2;
    margin-bottom: 0 !important;
  }
body.sq-chat-keyboard-open #sq-messages-panel .sq-messages-list {
    padding-bottom: calc(16px + var(--sq-chat-keyboard-inset, 0px) + var(--sq-messages-input-h, 72px));
  }
body.sq-chat-keyboard-open .sq-chatbot-footer {
    display: none;
  }
body.sq-chat-keyboard-open .sq-messages-input-form {
    padding-bottom: 8px;
  }
body.sq-has-mobile-nav .sq-messages-input-wrapper {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
body.sq-has-mobile-nav.sq-chat-keyboard-open .sq-messages-input-form {
    padding-bottom: 8px;
  }
.sq-chatbot-bubble {
    display: none;
  }
}
.sq-chat-reactions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}
.sq-chat-reaction {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--sq-radius-pill);
  font-size: var(--sq-fs-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.sq-chat-reaction:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.25);
}
.sq-mention-autocomplete {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 4px;
  max-height: 200px;
  overflow-y: auto;
  background: var(--sq-surface-elevated);
  border: 1px solid var(--sq-border);
  border-radius: var(--sq-radius-md);
  box-shadow: var(--sq-shadow-md);
  z-index: 100;
  display: none;
}
.sq-mention-autocomplete.open {
  display: block;
}
.sq-mention-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sq-mention-item:hover,
.sq-mention-item.selected {
  background: var(--sq-surface-hover);
}
.sq-mention-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sq-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--sq-fs-xs);
  flex-shrink: 0;
}
.sq-mention-name {
  flex: 1;
  font-size: var(--sq-fs-base);
  color: var(--sq-text);
}
.sq-mention {
  color: var(--sq-primary-light);
  font-weight: 600;
  background: var(--sq-surface-hover);
  padding: 1px 4px;
  border-radius: var(--sq-radius-xs);
}
.sq-msg-reply-user {
  font-weight: 600;
  margin-right: 4px;
}
.sq-msg-own .sq-mention {
  color: inherit;
  background: rgba(255, 255, 255, 0.2);
}
@media (max-width: 600px) {
.sq-weather-widget {
    flex-direction: column;
    align-items: flex-start;
  }
.sq-weather-details {
    width: 100%;
  }
}
.sq-notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);   /* side panels: as before 13 Nov */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9998;
}
.sq-notification-overlay-visible {
  opacity: 1;
  visibility: visible;
}
.sq-notification-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  /* Floating sheet, same as the Messages panel (14 Nov 2026) */
  background: var(--sq-bg-solid);
  border-left: 1px solid var(--sq-border-strong);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}
.sq-notification-panel-open {
  transform: translateX(0);
  box-shadow: var(--sq-shadow-lg);
}
.sq-notification-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 16px 10px;
  background: transparent;   /* title sits on the sheet, no bar */
  flex-shrink: 0;
}
.sq-notification-panel-heading {
  flex: 1;
  min-width: 0;
}
.sq-notification-panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--sq-text);
}
.sq-notification-panel-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.sq-notification-mark-all {
  padding: 6px 8px;
  font-size: var(--sq-fs-sm);
  font-weight: 600;
  background: none;
  border: none;
  border-radius: var(--sq-radius-sm);
  color: var(--sq-primary-light);
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}
.sq-notification-mark-all:hover {
  background: var(--sq-surface-hover);
  color: var(--sq-primary-light);
}
.sq-notification-panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--sq-radius-sm);
  color: var(--sq-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.sq-notification-panel-close:hover {
  background: var(--sq-surface-hover);
  color: var(--sq-text);
}
.sq-notification-panel-list {
  flex: 1;
  overflow-y: auto;
  padding: 0 14px 14px;
}
.sq-notification-item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 11px 14px;
  background: transparent;
  text-decoration: none;
  color: var(--sq-text);
  cursor: pointer;
  transition: background 0.2s;
}
.sq-notification-item:hover {
  background: var(--sq-surface-hover);
}
.sq-notification-item-content {
  min-width: 0;
}
.sq-notification-item-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--sq-text);
}
.sq-notification-unread .sq-notification-item-title {
  font-weight: 600;
}
.sq-notification-item-message {
  font-size: 0.8rem;
  color: var(--sq-text-muted);
  line-height: 1.4;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sq-notification-item-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.sq-notification-item-time {
  font-size: 0.7rem;
  color: var(--sq-text-disabled);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.sq-notification-unread .sq-notification-item-meta::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sq-primary-light);
}
.sq-notification-item-icon {
  color: var(--sq-text-muted);
  display: flex;
  align-items: center;
  padding-top: 1px;
}
.sq-notification-unread .sq-notification-item-icon {
  color: var(--sq-primary-light);
}
.sq-notification-load-more {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: var(--sq-panel-bg);
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
  color: var(--sq-primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.sq-notification-load-more:hover {
  background: var(--sq-surface-hover);
}
.sq-notification-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  color: var(--sq-text-muted);
  font-size: 0.875rem;
  text-align: center;
}
@media (min-width: 801px) {
.sq-notification-panel,
  .sq-messages-panel {
    top: 8px;
    bottom: 8px;
    border: 1px solid var(--sq-border-strong);
    border-right: 0;
    border-radius: var(--sq-radius-lg) 0 0 var(--sq-radius-lg);
  }
.sq-messages-panel::before {
    display: none;
  }
}
@media (max-width: 800px) {
.sq-notification-panel {
    max-width: 100%;
  }
body.sq-has-mobile-nav .sq-notification-panel {
    bottom: 0;
  }
}
@media (max-width: 800px) {
.sq-push-footer {
    display: none;
  }
}
@keyframes sq-spin {
  to { transform: rotate(360deg); }
}
@media (max-width: 800px) {
.sq-mobile-full-width { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.sq-section-label {
  font-size: var(--sq-fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sq-text-muted);
  font-weight: 500;
  margin: 0 0 12px 0;
}
#tab-reports {
  --sq-report-accent: var(--sq-club-color, var(--sq-primary-light));
}
@keyframes sq-report-pulse {
  50% { opacity: 0.5; }
}
.sq-pill-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
  justify-content: center;
}
.sq-pill-picker-monthly {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 0.4rem;
  max-width: 560px;
  margin: 0.4rem auto 0;
}
@media (max-width: 640px) {
.sq-pill-picker-monthly {
    grid-template-columns: repeat(7, 1fr);
    max-width: 360px;
  }
}
.sq-pill-picker .sq-pill {
  font-size: var(--sq-fs-base);
  padding: 0.45rem 0.6rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  cursor: pointer;
  background: transparent;
  color: var(--sq-text);
  user-select: none;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
  font-weight: 500;
}
.sq-pill-picker .sq-pill:hover {
  background: rgba(148,163,184,0.12);
  border-color: rgba(148,163,184,0.85);
}
.sq-pill-picker .sq-pill:active {
  transform: scale(0.95);
}
.sq-pill-picker .sq-pill-selected,
.sq-pill-picker .sq-pill-selected:hover {
  background: var(--sq-primary);
  color: #ffffff;
  border-color: var(--sq-primary);
}
.sq-pill-picker .sq-pill-last {
  font-weight: 600;
  border-style: dashed;
}
.sq-pill-picker-monthly .sq-pill-last {
  grid-column: span 2;
  min-width: 0;
}
.sq-field-hint-warn {
  color: var(--sq-warning);
  font-size: var(--sq-fs-xs);
  margin-top: 0.4rem;
  line-height: 1.4;
  text-align: center;
}
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--sq-primary-light, #14b8a6);
  outline-offset: 2px;
  border-radius: var(--sq-radius-xs);
}
.sq-header :where(a, button):focus-visible,
.sq-button:focus-visible,
.sq-mobile-nav :where(a, button):focus-visible {
  outline-color: #ffffff;
  outline-offset: 3px;
}
[data-theme="light"] .sq-header :where(a, button):focus-visible,
[data-theme="light"] .sq-button:focus-visible,
[data-theme="light"] .sq-mobile-nav :where(a, button):focus-visible {
  outline-color: var(--sq-primary);
}
.sq-modal-close {
  position: relative;
}
.sq-modal-close::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
@media (max-width: 800px) {
.sq-notification-bell,
  .sq-header-icon-btn {
    min-width: 44px;
    min-height: 44px;
  }
}
.sq-public-sessions { display: flex; flex-direction: column; }
.sq-public-session {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
  background: var(--sq-panel-bg);
}
.sq-public-session-when {
  font-variant-numeric: tabular-nums;
  color: var(--sq-text-muted);
  min-width: 9.5rem;
}
.sq-public-session-main { display: flex; flex-direction: column; flex: 1 1 12rem; min-width: 0; }
.sq-public-session-main .sq-small { color: var(--sq-text-muted); }
.sq-public-session-meta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sq-public-session-price { font-weight: 600; }
@media (max-width: 560px) {
.sq-public-session-when { min-width: 0; flex: 1 0 100%; }
.sq-public-session-meta { margin-left: 0; flex: 1 0 100%; justify-content: space-between; }
}
.sq-sched-card {
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
  padding: 16px;
  margin-bottom: 14px;
  background: var(--sq-panel-bg);
}
.sq-sched-card.sq-sched-off { opacity: 0.62; }
.sq-sched-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.sq-sched-head h3 { margin: 0 0 4px; font-size: 1.05rem; }
.sq-sched-head p { margin: 0; max-width: 620px; }
.sq-sched-toggle { display: flex; align-items: center; gap: 8px; flex-shrink: 0; cursor: pointer; }
.sq-sched-meta { display: flex; gap: 20px; flex-wrap: wrap; margin: 12px 0; font-size: var(--sq-fs-base); color: var(--sq-text-muted); }
.sq-sched-fields { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.sq-sched-field { display: flex; flex-direction: column; gap: 4px; font-size: var(--sq-fs-base); }
.sq-sched-field input { width: 8rem; }
.sq-sched-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--sq-border); padding-top: 12px; font-size: var(--sq-fs-base); }
.sq-sched-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.sq-sched-recipient { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0;
  border-bottom: 1px solid var(--sq-border); }
.sq-sched-recipient:last-child { border-bottom: 0; }
#panel-scheduled-emails a {
  color: var(--sq-accent);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--sq-radius-xs);
}
#panel-scheduled-emails a:hover {
  color: var(--sq-primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
[data-theme="light"] #panel-scheduled-emails a:hover { color: var(--sq-primary-dark); }
#panel-scheduled-emails a:focus-visible { outline: 2px solid var(--sq-accent); outline-offset: 2px; }
@media (max-width: 560px) {
.sq-sched-foot, .sq-sched-actions { width: 100%; }
.sq-sched-actions .sq-button { flex: 1 1 auto; }
}
.sq-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10001;
  padding: 10px 16px;
  background: var(--sq-primary);
  color: #fff;
  border-radius: 0 0 var(--sq-radius-sm) 0;
  font-weight: 600;
  text-decoration: none;
}
.sq-skip-link:focus,
.sq-skip-link:focus-visible {
  left: 0;
  outline: 3px solid var(--sq-accent);
  outline-offset: 2px;
}
.sq-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.sq-input:focus-visible,
.sq-pitch-captain-select:focus-visible,
.sq-attendance-select:focus-visible,
.sq-chatbot-input:focus-visible {
  outline: 2px solid var(--sq-primary-light);
  /* On the field's own edge (25 Nov): 2px outside it, the ring showed as a
     separate line above the box where its parent clipped the sides (seen on
     the login code). Same contrast, no stray highlight. */
  outline-offset: -1px;
}
[data-sq-softfocus]:focus-visible,
.sq-input[data-sq-softfocus]:focus-visible,
.sq-pitch-captain-select[data-sq-softfocus]:focus-visible,
.sq-attendance-select[data-sq-softfocus]:focus-visible,
.sq-chatbot-input[data-sq-softfocus]:focus-visible {
  outline: none;
}
.sq-form-section {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  margin-top: 4px;
}
.sq-form-section:first-of-type { border-top: 0; }
.sq-form-section > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0 12px;
  font-weight: 600;
  font-size: var(--sq-fs-md);
  color: var(--sq-text, #e2e8f0);
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.sq-form-section > summary::-webkit-details-marker { display: none; }
.sq-form-section > summary::before {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.15s ease;
  flex: 0 0 auto;
  opacity: 0.6;
}
.sq-form-section[open] > summary::before { transform: rotate(45deg); }
.sq-form-section > summary:hover { color: var(--sq-accent, #14b8a6); }
.sq-form-section > summary:focus-visible {
  outline: 2px solid var(--sq-accent, #14b8a6);
  outline-offset: 2px;
  border-radius: var(--sq-radius-xs);
}
.sq-form-section-note {
  margin-left: auto;
  font-weight: 400;
  font-size: var(--sq-fs-sm);
  color: var(--sq-text-muted, #94a3b8);
  text-align: right;
}
.sq-form-section[open] .sq-form-section-note { display: none; }
.sq-form-section > .sq-form-section-body { padding-bottom: 14px; }
@media (prefers-reduced-motion: reduce) {
.sq-form-section > summary::before { transition: none; }
}
.sq-field-disabled > label,
.sq-field-disabled > label * ,
.sq-field-disabled > .sq-field-hint:not(.sq-field-reason) {
  opacity: 0.5;
}
.sq-field-disabled > label {
  pointer-events: none;
  cursor: default;
}
.sq-field-disabled .sq-field-reason {
  opacity: 1;
}
.sq-input[readonly] {
  background: transparent;
  border-color: transparent;
  border-bottom: 1px solid var(--sq-border);
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  color: var(--sq-text-muted, #94a3b8);
  font-weight: 600;
  cursor: default;
}
.sq-input[readonly]:hover,
.sq-input[readonly]:focus {
  border-color: transparent;
  border-bottom-color: var(--sq-border);
  box-shadow: none;
  outline: none;
}
.sq-input[readonly]::-webkit-outer-spin-button,
.sq-input[readonly]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sq-input[readonly][type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.sq-onboard-overlay {
  z-index: 10001;
}
.sq-onboard-modal {
  max-width: 520px;
}
.sq-onboard-body .sq-onboard-note:last-of-type {
  margin-bottom: 0;
}
.sq-onboard-sub,
.sq-onboard-note {
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-base);
  line-height: 1.5;
  margin: 0 0 16px;
}
.sq-onboard-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
  text-align: left;
}
.sq-onboard-choices .sq-modal-option-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.sq-modal-option-title {
  font-weight: 700;
}
.sq-modal-option-desc {
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-base);
  line-height: 1.4;
}
.sq-onboard-choices .sq-modal-option-card[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.sq-onboard-suggested {
  border-color: var(--sq-primary-light);
}
.sq-onboard-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--sq-border);
}
.sq-onboard-foot-note {
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-sm);
  margin: 10px 0 0;
  text-align: center;
}
.sq-onboard-code {
  font-family: var(--sq-font-mono);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--sq-primary-light);
  margin-bottom: 14px;
  text-align: center;
}
.sq-onboard-share {
  display: flex;
  gap: 8px;
  align-items: center;
}
.sq-onboard-share .sq-input {
  flex: 1;
  min-width: 0;
}
.sq-onboard-error {
  color: var(--sq-danger);
  font-size: var(--sq-fs-base);
  margin: 10px 0;
}
.sq-onboard-list {
  list-style: none;
  margin: 0 auto 16px;
  padding: 0;
  max-width: 460px;
  text-align: left;
}
.sq-onboard-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sq-border);
}
.sq-onboard-item:last-child {
  border-bottom: none;
}
.sq-onboard-tick {
  flex: 0 0 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--sq-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--sq-fs-sm);
  color: #fff;
}
.sq-onboard-item.is-done .sq-onboard-tick {
  background: var(--sq-primary-light);
  border-color: var(--sq-primary-light);
}
.sq-onboard-label {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.sq-onboard-label span {
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-sm);
}
.sq-onboard-item.is-skipped .sq-onboard-label {
  opacity: 0.55;
}
.sq-onboard-item.is-done .sq-onboard-label strong {
  text-decoration: line-through;
  opacity: 0.7;
}
.sq-onboard-guide {
  margin-top: 18px;
}
.sq-seg-control {
  display: flex;
  gap: 0.25rem;
  margin: 0 0 1rem 0;
  padding: 0.25rem;
  background: var(--sq-surface);
  border: 1px solid var(--sq-border);
  border-radius: var(--sq-radius-md);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.sq-seg-control .sq-session-tab {
  /* The strip's buttons stretch to fill; these size to their label. */
  flex: 0 0 auto;
  font-size: var(--sq-fs-sm);
  padding: 0.35rem 0.85rem;
}
.sq-pill[role="button"]:focus-visible,
.sq-pitch-player-wrapper[role="button"]:focus-visible {
  outline: 2px solid var(--sq-primary-light);
  outline-offset: 2px;
  border-radius: var(--sq-radius-sm);
}
.sq-stripe-setup { max-width: 520px; }
.sq-stripe-setup-body { padding: 20px 24px 24px; }
.sq-stripe-setup-intro { margin: 0 0 16px; color: var(--sq-text); line-height: 1.6; }
.sq-stripe-setup-label {
  font-size: var(--sq-fs-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--sq-text-muted);
  margin: 0 0 8px;
}
.sq-stripe-setup-needs > .sq-panel.sq-stripe-setup-need {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
}
.sq-stripe-setup-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sq-primary-light);
  background: var(--sq-surface-hover);
  border-radius: var(--sq-radius-sm);
}
.sq-stripe-setup-need-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.sq-stripe-setup-need-text .sq-text-muted { font-size: var(--sq-fs-sm); }
.sq-stripe-setup-note { margin: -2px 0 12px; font-size: var(--sq-fs-sm); line-height: 1.5; }
.sq-stripe-setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 12px;
}
.sq-stripe-setup-grid .sq-form-group { margin-bottom: 12px; min-width: 0; }
.sq-stripe-setup-grid .sq-form-group > label { font-size: var(--sq-fs-sm); margin-bottom: 4px; }
.sq-stripe-setup-wide { grid-column: 1 / -1; }
.sq-stripe-setup-status {
  margin: 4px 0 12px;
  padding: 10px 12px;
  border: 1px solid var(--sq-danger);
  border-radius: var(--sq-radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: var(--sq-text);
  font-size: var(--sq-fs-sm);
}
.sq-stripe-setup-actions { margin-top: 8px; }
.sq-stripe-setup-foot { margin: 12px 0 0; font-size: var(--sq-fs-xs); text-align: center; line-height: 1.5; }
@media (max-width: 480px) {
.sq-stripe-setup-body { padding: 16px; }
.sq-stripe-setup-grid { grid-template-columns: 1fr; }
}
.sq-seg-control.sq-more-list {
  display: block;
  width: auto;
  margin: 0 0 16px;
  padding: 0;
  background: var(--sq-panel-bg);
  border-color: var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
}
.sq-more-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px var(--sq-panel-pad);
  background: none;
  border: 0;
  color: var(--sq-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.sq-more-row:hover { background: var(--sq-surface-hover); }
.sq-more-row:focus-visible { outline: none; box-shadow: var(--sq-shadow-focus); }
.sq-more-row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sq-more-row-label { font-weight: 600; }
.sq-more-row + .sq-more-row { border-top: 1px solid var(--sq-panel-border); }
.sq-form-basics { padding-bottom: 8px; }
.sq-check-row { display: flex; align-items: center; gap: 8px; cursor: pointer; min-height: 44px; }
.sq-check-row > input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; }
.sq-check-group { display: flex; gap: 16px; flex-wrap: wrap; }
.sq-field-label { display: block; margin-bottom: 8px; font-weight: 500; }
.sq-field-indent { margin-left: 26px; margin-top: 10px; }
.sq-field-divider { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--sq-border-strong); }
.sq-form-subhead {
  margin: 20px 0 8px;
  font-size: var(--sq-fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sq-text-muted);
}
.sq-form-section-body > .sq-form-subhead:first-child { margin-top: 4px; }
.sq-series-teams-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; margin-bottom: 16px; }
.sq-series-teams-grid > .sq-field { margin-bottom: 0; }
.sq-series-teams-vs { padding-bottom: 10px; color: var(--sq-text-muted); }
#series-modal-form .sq-modal-actions-row { display: flex; gap: 10px; }
#series-modal-form .sq-modal-actions-row > .sq-button { flex: 1; }
.sq-series-status { margin-top: 12px; }
@media (pointer: coarse) {
.sq-hub-tabs .sq-session-tab,
  .sq-hub-tabs ~ .sq-session-tab-panel .sq-seg-control .sq-session-tab,
  .sq-hub-tabs ~ .sq-session-tab-panel .sq-button-small,
  .sq-hub-tabs ~ .sq-session-tab-panel .sq-code-copy-btn,
  .sq-hub-tabs ~ .sq-session-tab-panel .sq-button,
  #series-modal-overlay .sq-modal-close,
  #result-modal-overlay .sq-modal-close {
    min-height: 44px;
  }
.sq-hub-tabs ~ .sq-session-tab-panel .sq-code-copy-btn,
  #series-modal-overlay .sq-modal-close,
  #result-modal-overlay .sq-modal-close {
    min-width: 44px;
  }
}
.sq-sheet-body { padding: 24px; }
.sq-sheet-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid var(--sq-border);
  border-radius: var(--sq-radius-sm);
  background: var(--sq-surface);
  color: var(--sq-text);
  cursor: pointer;
}
.sq-sheet-option input { margin-top: 3px; accent-color: var(--sq-primary); width: 18px; height: 18px; flex-shrink: 0; }
.sq-sheet-option[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.sq-sheet-option-sub { display: block; color: var(--sq-text-muted); font-size: var(--sq-fs-sm); margin-top: 2px; }
.sq-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.sq-session-row-score { font-weight: 600; color: var(--sq-text); }
@media (pointer: coarse) {
.sq-session-shell .sq-page-header .sq-button,
  .sq-session-status .sq-button,
  .sq-my-guest .sq-button,
  .sq-empty-roster .sq-button,
  #sq-payment-due .sq-button,
  .sq-unpaid-summary-actions .sq-button,
  .sq-unpaid-summary-actions .sq-link-button,
  .sq-rate-cta .sq-button,
  #sq-auto-teams-wrap .sq-button,
  #sq-session-result .sq-button,
  .sq-session-row-reply .sq-button,
  .sq-session-actions .sq-button,
  .sq-series-actions .sq-button,
  .sq-sheet-actions .sq-button,
  #sq-edit-session-modal .sq-modal-close,
  #sq-send-invites-modal .sq-modal-close,
  #sq-share-lineup-modal .sq-modal-close {
    min-height: 44px;
    min-width: 44px;
  }
}
.sq-dashboard-actions { position: relative; }
a.sq-modal-option-card { text-decoration: none; }
.sq-onboard-join {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 6px;
  max-width: 26rem;
}
.sq-onboard-player > .sq-button-secondary { margin: 8px 0 14px; }
.sq-onboard-player .sq-onboard-error { text-align: center; }
.sq-profile-gate-modal { max-width: 450px; }
.sq-profile-gate-sub {
  margin: 0 0 16px;
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-base);
  line-height: 1.5;
}
.sq-profile-gate-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  cursor: pointer;
  font-size: var(--sq-fs-base);
  line-height: 1.4;
}
.sq-profile-gate-check input { margin-top: 3px; flex-shrink: 0; }
.sq-profile-gate-error {
  margin-bottom: 16px;
  padding: 12px;
  background: var(--sq-danger-soft);
  border: 1px solid color-mix(in srgb, var(--sq-danger) 30%, transparent);
  border-radius: var(--sq-radius-sm);
  color: var(--sq-error);
  font-size: var(--sq-fs-base);
}
.sq-profile-gate-decline {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  background: transparent;
  border: none;
  color: var(--sq-text-muted);
  font: inherit;
  font-size: var(--sq-fs-sm);
  text-decoration: underline;
  cursor: pointer;
}
body.sq-storage-notice-open #sq-support-bubble { display: none; }
@media (max-width: 600px) {
.sq-cookie-banner-inner { flex-direction: row; text-align: left; }
.sq-cookie-banner-text p { font-size: var(--sq-fs-xs); }
.sq-cookie-banner-actions .sq-button { min-height: 40px; padding: 0.4rem 0.9rem; }
.sq-cookie-banner-actions { width: auto; }
}
@media (max-width: 800px) {
body.sq-has-mobile-nav .sq-cookie-banner { bottom: var(--sq-mobile-nav-h, 72px); }
}
.sq-auth-card .sq-login-sent {
  margin: 0 0 4px;
  font-size: var(--sq-fs-md, 1rem);
  overflow-wrap: anywhere;
}
.sq-auth-card .sq-login-sent-hint {
  margin: 0 0 16px;
  color: var(--sq-text-muted);
}
.sq-login-otp-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.sq-login-link-btn {
  background: none;
  border: none;
  padding: 10px 0;
  min-height: 44px;
  color: var(--sq-primary-light);
  font: inherit;
  font-size: var(--sq-fs-sm);
  text-decoration: underline;
  cursor: pointer;
}
.sq-login-link-btn:disabled {
  color: var(--sq-text-muted);
  text-decoration: none;
  cursor: default;
}
.sq-join-facts { margin: 0; }
.sq-join-facts dt {
  margin: 0 0 2px;
  font-size: var(--sq-fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--sq-text-muted);
}
.sq-join-facts dd { margin: 0; }
.sq-help-tools { margin: 1.25rem 0 2rem; }
.sq-help-tools .sq-input { width: 100%; max-width: 32rem; }
.sq-help-count { margin: 8px 0 0; min-height: 1.2em; }
.sq-faq-item[hidden], .sq-faq-section[hidden] { display: none; }
#sq-help-tools .sq-help-chips { margin: 12px 0 0; }
.sq-club-public-fallback .sq-club-public-desc { margin: 0 0 16px; line-height: 1.6; }
.sq-club-public-fallback .sq-club-public-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 12px 20px;
  margin: 0 0 20px;
}
.sq-club-public-joining {
  margin: 0 0 8px;
  padding-left: 1.2rem;
  line-height: 1.6;
  color: var(--sq-text-secondary, var(--sq-text));
}
.sq-club-public-promo { margin: 16px 0 0; text-align: center; }
@media (pointer: coarse) {
.sq-button-small,
  .sq-button.sq-button-small {
    min-height: 44px;
  }
.sq-modal-close,
  .sq-notification-bell,
  #sq-hamburger-close {
    min-width: 44px;
    min-height: 44px;
  }
.sq-link-button { min-height: 44px; }
}
.sq-seg-control.sq-more-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.sq-more-list .sq-more-row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 16px;
  background: var(--sq-panel-bg);
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sq-more-list .sq-more-row:hover {
  background: var(--sq-surface-hover);
  border-color: var(--sq-primary);
}
.sq-more-list .sq-more-row:focus-visible { box-shadow: var(--sq-shadow-focus); border-color: var(--sq-primary); }
.sq-more-list .sq-more-row-text { flex: 1 1 auto; }
@media (max-width: 560px) {
.sq-seg-control.sq-more-list { grid-template-columns: 1fr; gap: 8px; }
.sq-more-list .sq-more-row { min-height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
.sq-more-list .sq-more-row { transition: none; }
}
.sq-seg-control.sq-more-list.sq-more-menu {
  position: absolute;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 260px;
  max-width: calc(100% - 8px);
  margin: 0;
  padding: 6px;
  background: var(--sq-surface-elevated, var(--sq-surface));
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
  box-shadow: var(--sq-shadow-md);
}
.sq-seg-control.sq-more-list.sq-more-menu[hidden] { display: none !important; }
.sq-more-menu .sq-more-row {
  min-height: 44px;
  padding: 8px 10px;
  gap: 10px;
  background: none;
  border: 0;
  border-radius: 8px;
}
.sq-more-menu .sq-more-row:hover,
.sq-more-menu .sq-more-row:focus-visible { background: var(--sq-surface-hover); border-color: transparent; }
.sq-more-menu .sq-more-row.sq-session-tab-active .sq-more-row-label { color: var(--sq-primary-text); }
.sq-seg-control:not(.sq-more-list) {
  width: 100%;
  max-width: 100%;
  padding: 0;
  gap: 4px !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--sq-border);
  border-radius: 0;
  scrollbar-width: none;
}
.sq-seg-control:not(.sq-more-list)::-webkit-scrollbar { display: none; }
.sq-seg-control:not(.sq-more-list) .sq-session-tab {
  flex: 0 0 auto;
  min-height: 44px;
  margin: 0 0 -1px;
  padding: 10px 14px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  box-shadow: none;
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-sm);
  font-weight: 600;
}
.sq-seg-control:not(.sq-more-list) .sq-session-tab:hover { background: none; color: var(--sq-text); }
.sq-seg-control:not(.sq-more-list) .sq-session-tab.sq-session-tab-active {
  background: none;
  color: var(--sq-text);
  border-bottom-color: var(--sq-primary-light);
}
.sq-seg-control:not(.sq-more-list) .sq-session-tab:focus-visible { outline-offset: -2px; }
.sq-tabs-wrapper:has(> .sq-text-tabs) .sq-tabs-scroll-indicator { border-radius: 0; bottom: 1px; }
.sq-tabs-wrapper:has(> .sq-text-tabs) .sq-tabs-scroll-indicator-right {
  background: linear-gradient(to right, transparent 0%, var(--sq-bg-solid, var(--sq-bg)) 55%);
}
.sq-tabs-wrapper:has(> .sq-text-tabs) .sq-tabs-scroll-indicator-left {
  background: linear-gradient(to left, transparent 0%, var(--sq-bg-solid, var(--sq-bg)) 55%);
}
.sq-seg-control:not(.sq-more-list) { border-bottom: 0; box-shadow: inset 0 -1px 0 var(--sq-border); }
.sq-seg-control:not(.sq-more-list) .sq-session-tab { margin: 0; }
.sq-seg-control:not(.sq-more-list) .sq-session-tab:focus-visible { outline-offset: -3px; }
.sq-seg-control:not(.sq-more-list) .sq-session-tab {
  flex: 1 0 auto;
  justify-content: center;
  text-align: center;
}
.sq-session-tree-container.sq-sl { gap: 28px; margin: 4px 0 20px; }
.sq-sl-heading {
  margin: 0 0 8px;
  padding: 0 4px;
  font-size: var(--sq-fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sq-text-muted);
}
.sq-sl-panel {
  background: var(--sq-panel-bg);
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
}
.sq-sl-panel > * + * { border-top: 1px solid var(--sq-panel-border); }
.sq-sl-empty {
  margin: 0;
  padding: 14px 16px;
  font-size: var(--sq-fs-sm);
  color: var(--sq-text-muted);
  background: var(--sq-panel-bg);
  border: 1px solid var(--sq-panel-border);
  border-radius: var(--sq-panel-radius);
}
.sq-sl-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 10px 10px 10px 14px;
  transition: background-color 0.15s ease;
}
.sq-sl-row[hidden] { display: none; }
.sq-sl-panel > :first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.sq-sl-panel > :last-child { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
.sq-sl-row:hover { background: var(--sq-panel-bg-strong); }
.sq-sl-date {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  padding: 5px 0;
  border-radius: var(--sq-radius-sm);
  background: var(--sq-surface-hover);
  color: var(--sq-primary-text);
  line-height: 1.1;
  text-align: center;
}
.sq-sl-date-dow { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.sq-sl-date-day { font-size: 1.25rem; font-weight: 700; color: var(--sq-text); }
.sq-sl-date-mon { font-size: 10px; color: var(--sq-text-muted); }
.sq-sl-row[data-status="past"] .sq-sl-date { background: var(--sq-panel-bg-strong); color: var(--sq-text-muted); }
.sq-sl-row-cancelled .sq-sl-date { opacity: 0.6; }
.sq-sl-body { flex: 1 1 auto; min-width: 0; }
.sq-sl-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; min-width: 0; }
.sq-sl-title-line .sq-sl-link { flex: 0 1 auto; max-width: 100%; }
.sq-sl-link {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: var(--sq-fs-md);
  font-weight: 600;
  color: var(--sq-text);
  text-decoration: none;
}
.sq-sl-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sq-sl-link:hover { color: var(--sq-text); }
.sq-sl-link:focus-visible { outline: none; }
.sq-sl-link:focus-visible::after { box-shadow: inset 0 0 0 2px var(--sq-primary-light); }
.sq-sl-row-cancelled .sq-sl-link { color: var(--sq-text-muted); }
.sq-sl-tag {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  margin: 0 0 1px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--sq-primary-light);
}
.sq-sl-tag-icon { flex: 0 0 auto; letter-spacing: 0; }
.sq-sl-tag-word {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sq-sl-title-line .sq-badge { flex: 0 0 auto; white-space: nowrap; }
.sq-sl-meta {
  margin-top: 3px;
  font-size: var(--sq-fs-sm);
  color: var(--sq-text-muted);
  line-height: 1.4;
}
.sq-sl-meta .sq-session-row-score { color: var(--sq-text); }
.sq-sl-actions {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.sq-sl-menu-wrap { position: relative; display: inline-flex; align-items: center; }
.sq-sl-actions > .sq-sl-reply:last-child,
.sq-sl-actions > .sq-sl-chip:last-child { margin-right: 6px; }
.sq-sl-menu-wrap[hidden] { display: none; }
.sq-sl-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--sq-radius-sm);
  background: none;
  color: var(--sq-text-muted);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.sq-sl-more:hover,
.sq-sl-more[aria-expanded="true"] { background: var(--sq-surface-hover); color: var(--sq-text); }
.sq-sl-more:focus-visible,
.sq-sl-chip:focus-visible,
.sq-sl-show-more:focus-visible { outline: 2px solid var(--sq-primary-light); outline-offset: 2px; }
.sq-sl-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--sq-border-strong);
  border-radius: var(--sq-radius-pill);
  background: transparent;
  color: var(--sq-text);
  font: inherit;
  font-size: var(--sq-fs-sm);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.sq-sl-chip::before { content: ""; position: absolute; inset: -5px 0; }
button.sq-sl-chip:hover { border-color: var(--sq-primary); }
.sq-sl-chip-in { background: var(--sq-surface-hover); border-color: transparent; color: var(--sq-primary-text); }
.sq-sl-chip-out { color: var(--sq-text-muted); }
.sq-sl-chip.sq-sl-chip-reply { background: var(--sq-primary); border-color: var(--sq-primary); color: #ecfeff; box-shadow: none; line-height: 1.25; }
button.sq-sl-chip-reply:hover { background: var(--sq-primary-dark, var(--sq-primary)); }
.sq-sl-chip-wait { cursor: default; color: var(--sq-text-muted); border-style: dashed; }
.sq-sl-chip[aria-busy="true"] { opacity: 0.6; }
a.sq-sl-chip { text-decoration: none; }
a.sq-sl-chip:hover { border-color: var(--sq-primary); text-decoration: none; }
a.sq-sl-chip-reply:hover { background: var(--sq-primary-dark, var(--sq-primary)); }
a.sq-sl-chip-wait { cursor: pointer; }
.sq-sl-family { margin-top: 1px; }
.sq-seg-control.sq-more-list.sq-more-menu.sq-sl-menu {
  top: calc(100% + 4px);
  right: 0;
  width: max-content;
  min-width: 180px;
  max-width: calc(100vw - 32px);
}
.sq-seg-control.sq-more-list.sq-more-menu.sq-sl-menu.sq-sl-menu-up { top: auto; bottom: calc(100% + 4px); }
.sq-sl-menu .sq-more-row {
  width: 100%;
  font: inherit;
  font-size: var(--sq-fs-base);
  font-weight: 600;
  color: var(--sq-text);
  text-align: left;
  cursor: pointer;
}
.sq-sl-menu .sq-more-row:focus-visible { outline: 2px solid var(--sq-primary-light); outline-offset: -2px; }
.sq-sl-menu .sq-sl-danger { color: var(--sq-danger); }
.sq-sl-menu-open { z-index: 70; }
.sq-sl-actions.sq-sl-raised,
.sq-sl-toolbar-end.sq-sl-raised { z-index: 20; }
.sq-sl-show-more {
  display: block;
  min-height: 44px;
  margin: 6px auto 0;
  padding: 0 16px;
  border: 0;
  border-radius: var(--sq-radius-sm);
  background: none;
  color: var(--sq-primary-text);
  font: inherit;
  font-size: var(--sq-fs-sm);
  font-weight: 600;
  cursor: pointer;
}
.sq-sl-show-more:hover { text-decoration: underline; }
.sq-sl-past.sq-standalone-past-section { margin-top: 0; }
.sq-sl-past .sq-standalone-past-list.sq-sl-panel {
  border-top: 0;
  border-radius: 0 0 var(--sq-panel-radius) var(--sq-panel-radius);
  overflow: visible;
}
.sq-sl-past .sq-sl-panel > :first-child { border-radius: 0; }
.sq-seg-control.sq-sl-tabs { margin: 0 0 -10px; scroll-margin-top: 80px; }
.sq-sl-tab-text {
  display: block;
  max-width: 24ch; /* short rules ("Alt. Tuesdays 18:00") fit (25 Nov) */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sq-sl-section[hidden],
.sq-sl-show-more[hidden] { display: none; }
.sq-sl-series-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  min-height: 36px;
  margin: -14px 0 -12px;
  padding: 0 0 0 4px;
}
.sq-sl-series-line {
  flex: 1 1 14rem;
  min-width: 0;
  margin: 0;
  font-size: var(--sq-fs-sm);
  line-height: 1.4;
  color: var(--sq-text-muted);
}
.sq-sl-series-line .sq-series-pattern { font-size: inherit; }
.sq-sl-series-line > span:not(.sq-sl-dot) { white-space: nowrap; }
.sq-sl-series-actions {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.sq-sl-series-actions.sq-sl-raised { z-index: 20; }
.sq-sl-series-actions .sq-edit-series-btn { min-height: 36px; white-space: nowrap; box-shadow: none; }
.sq-sl-series-actions .sq-sl-more { width: 40px; height: 36px; border: 1px solid var(--sq-border-strong); background: var(--sq-surface); }
.sq-sl-series-actions .sq-sl-more:hover,
.sq-sl-series-actions .sq-sl-more[aria-expanded="true"] { background: var(--sq-surface-hover); }
.sq-sl-series-actions .sq-edit-series-btn:focus-visible { outline: 2px solid var(--sq-primary-light); outline-offset: 2px; }
@media (max-width: 560px) {
.sq-sl-row { gap: 10px; padding: 8px 4px 8px 10px; min-height: 60px; }
.sq-sl-date { width: 42px; }
.sq-sl-date-day { font-size: 1.125rem; }
.sq-sl-link { font-size: var(--sq-fs-base); }
.sq-sl-series-head { margin-top: -8px; row-gap: 6px; }
.sq-sl-series-actions .sq-edit-series-btn,
  .sq-sl-series-actions .sq-sl-more { min-height: 44px; height: 44px; }
.sq-sl-series-actions .sq-sl-more { width: 44px; }
.sq-sl-title-line { gap: 6px; }
.sq-sl-chip { padding: 0 10px; font-size: var(--sq-fs-xs); }
.sq-sl-actions { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
.sq-sl-row, .sq-sl-more, .sq-sl-chip { transition: none; }
}
.sq-sl-meta > span:not(.sq-sl-dot) { display: inline-block; max-width: 100%; vertical-align: top; }
.sq-sl-series-head.sq-sl-panel {
  margin: -6px 0 -4px;
  padding: 12px 14px 12px 16px;
  gap: 10px 16px;
}
.sq-sl-series-head.sq-sl-panel > * + * { border-top: 0; }
.sq-sl-series-info { flex: 1 1 16rem; min-width: 0; }
.sq-sl-series-eyebrow {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sq-primary-light);
}
.sq-sl-series-head.sq-sl-panel .sq-sl-series-line {
  font-size: var(--sq-fs-base);
  font-weight: 600;
  color: var(--sq-text);
}
.sq-sl-series-sub {
  margin: 2px 0 0;
  font-size: var(--sq-fs-sm);
  line-height: 1.4;
  color: var(--sq-text-muted);
}
.sq-sl-series-sub > span:not(.sq-sl-dot) { white-space: nowrap; }
@media (max-width: 560px) {
.sq-sl-series-head.sq-sl-panel { margin-top: -2px; padding: 12px; }
.sq-sl-series-head.sq-sl-panel .sq-sl-series-actions { margin-left: 0; }
}
.sq-messages-channel-time {
  flex-shrink: 0;
  font-size: var(--sq-fs-xs);
  color: var(--sq-text-muted);
  white-space: nowrap;
}
.sq-sl-meta { overflow: hidden; }
.sq-sl-meta > .sq-sl-bits { display: flex; flex-wrap: wrap; margin-left: -0.9em; }
.sq-sl-meta .sq-sl-bit { position: relative; margin-left: 0.9em; min-width: 0; max-width: calc(100% - 0.9em); }
.sq-sl-meta .sq-sl-bit::before { content: "·"; content: "·" / ""; position: absolute; left: -0.6em; }
button.sq-sl-chip-wait { cursor: pointer; }
.sq-sl-empty,
.sq-report-empty,
#sections-empty.sq-sections-empty {
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  text-align: left;
  color: var(--sq-text-muted);
  font-size: var(--sq-fs-base);
}
.sq-sl-empty { margin: 0; }
.sq-sl-chip.sq-sl-chip-reply {
  min-height: 44px;
  padding: 0 12px;
  border-radius: var(--sq-radius-sm);
  font-size: var(--sq-fs-sm);
}
.sq-sl-chip.sq-sl-chip-reply::before { content: none; }
.sq-tabs-wrapper > .sq-session-tabs {
  --sq-tabs-fade-l: 0px;
  --sq-tabs-fade-r: 0px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, transparent calc(var(--sq-tabs-fade-l) * 0.5), #000 var(--sq-tabs-fade-l), #000 calc(100% - var(--sq-tabs-fade-r)), transparent calc(100% - var(--sq-tabs-fade-r) * 0.5), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, transparent calc(var(--sq-tabs-fade-l) * 0.5), #000 var(--sq-tabs-fade-l), #000 calc(100% - var(--sq-tabs-fade-r)), transparent calc(100% - var(--sq-tabs-fade-r) * 0.5), transparent 100%);
}
.sq-tabs-wrapper:has(> .sq-tabs-scroll-indicator-left.visible) > .sq-session-tabs { --sq-tabs-fade-l: 56px; }
.sq-tabs-wrapper:has(> .sq-tabs-scroll-indicator-right.visible) > .sq-session-tabs { --sq-tabs-fade-r: 56px; }
.sq-tabs-wrapper:has(> .sq-session-tabs) > .sq-tabs-scroll-indicator,
.sq-tabs-wrapper:has(> .sq-text-tabs) > .sq-tabs-scroll-indicator-left,
.sq-tabs-wrapper:has(> .sq-text-tabs) > .sq-tabs-scroll-indicator-right {
  background: none;
}
@property --sq-sl-fade-l { syntax: "<length>"; inherits: false; initial-value: 0px; }
@property --sq-sl-fade-r { syntax: "<length>"; inherits: false; initial-value: 0px; }
@keyframes sq-sl-edge-fade {
  0% { --sq-sl-fade-l: 0px; --sq-sl-fade-r: 40px; }
  8% { --sq-sl-fade-l: 40px; }
  92% { --sq-sl-fade-r: 40px; }
  100% { --sq-sl-fade-l: 40px; --sq-sl-fade-r: 0px; }
}
@supports (animation-timeline: scroll()) {
.sq-seg-control.sq-sl-tabs {
    animation: sq-sl-edge-fade linear both;
    /* A scroll position, not motion: the reduced-motion rule's 0.01ms
       duration would pin it at its end state. */
    animation-duration: auto !important;
    animation-timeline: scroll(self inline);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--sq-sl-fade-l), #000 calc(100% - var(--sq-sl-fade-r)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--sq-sl-fade-l), #000 calc(100% - var(--sq-sl-fade-r)), transparent 100%);
  }
}
.sq-viewing-as-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.sq-viewing-as-stop {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: var(--sq-radius-sm, 6px);
  padding: 2px 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  min-height: 32px;
}
.sq-viewing-as-stop:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
@media (max-width: 600px) {
.sq-input,
  input.sq-pl-search {
    font-size: 16px;
  }
}
.sq-messages-muted-icon {
  display: inline-flex;
  vertical-align: -1px;
  margin-left: 4px;
  color: var(--sq-text-muted);
}
.sq-messages-channel-muted .sq-messages-channel-badge {
  background: var(--sq-surface-hover);
  color: var(--sq-text-muted);
}
.sq-messages-mute-note[hidden] { display: none; }
.sq-messages-icon-btn:focus-visible { outline: 2px solid var(--sq-primary); outline-offset: 1px; }
.sq-reaction-picker-btn-mine {
  background: var(--sq-surface-hover);
  box-shadow: inset 0 0 0 1px var(--sq-primary);
}
.sq-sl-tab-text { max-width: 36ch; }
.sq-tabs-wrapper > .sq-session-tabs.sq-tabs-edge-cut {
  -webkit-mask-image: linear-gradient(to right, transparent calc(var(--sq-tabs-cut-l, 0px) - 2px), #000 calc(var(--sq-tabs-cut-l, 0px) - 2px), #000 calc(100% - var(--sq-tabs-cut-r, 0px) + 2px), transparent calc(100% - var(--sq-tabs-cut-r, 0px) + 2px));
  mask-image: linear-gradient(to right, transparent calc(var(--sq-tabs-cut-l, 0px) - 2px), #000 calc(var(--sq-tabs-cut-l, 0px) - 2px), #000 calc(100% - var(--sq-tabs-cut-r, 0px) + 2px), transparent calc(100% - var(--sq-tabs-cut-r, 0px) + 2px));
}
.sq-tabs-wrapper > .sq-session-tabs.sq-tabs-edge-cut {
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 28px;
}
.sq-tabs-wrapper > .sq-session-tabs.sq-tabs-edge-cut > * {
  scroll-snap-align: start;
}
@media (max-width: 800px) {
#sq-mobile-nav.sq-mobile-nav {
    padding-left: max(4px, env(safe-area-inset-left));
    padding-right: max(4px, env(safe-area-inset-right));
  }
#sq-mobile-nav .sq-mobile-nav-item {
    flex: 1 1 0;
    min-width: 0;
    max-width: 96px;
    padding-left: 0;
    padding-right: 0;
  }
#sq-mobile-nav .sq-mobile-nav-item > span:not(.sq-notification-badge) {
    max-width: 100%;
    white-space: nowrap;
  }
}
#sq-mobile-nav .sq-mobile-nav-item[aria-expanded="true"] {
  color: var(--sq-primary-light);
}
#sq-mobile-admin-link[aria-current="page"] {
  color: var(--sq-primary-light);
}
.sq-notification-empty--hint {
  flex-direction: column;
}
.sq-notification-empty--hint p {
  max-width: 32ch;
}
@media (max-width: 800px) {
body.sq-has-mobile-nav .sq-messages-panel,
  body.sq-has-mobile-nav .sq-notification-panel {
    bottom: var(--sq-mobile-nav-h, 72px);
  }
body.sq-has-mobile-nav .sq-messages-panel.sq-messages-in-thread {
    bottom: 0;
    z-index: 10000;
  }
body.sq-has-mobile-nav .sq-messages-panel:not(.sq-messages-in-thread)::before {
    display: none;
  }
body.sq-has-mobile-nav .sq-messages-panel.sq-messages-in-thread #sq-messages-close {
    display: none;
  }
#sq-mobile-nav .sq-mobile-nav-item[aria-expanded="true"] {
    color: var(--sq-primary-light);
  }
#sq-mobile-nav:has(.sq-mobile-nav-item[aria-expanded="true"]) .sq-mobile-nav-item.active:not([aria-expanded="true"]) {
    color: var(--sq-text-muted);
  }
}
#sq-messages-mark-all-read:disabled {
  color: var(--sq-text-muted);
  opacity: 0.6;
  cursor: default;
  background: none;
}
@media (max-width: 480px) {
.sq-messages-channel-clock { display: none; }
}
@supports selector(:has(*)) {
.sq-messages-channel-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    column-gap: 12px;
    row-gap: 4px;
  }
.sq-messages-channel-item > .sq-messages-channel-avatar { grid-column: 1; grid-row: 1 / span 2; }
.sq-messages-channel-item > .sq-messages-channel-info { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.sq-messages-channel-item > .sq-messages-channel-time { grid-column: 3; grid-row: 1; justify-self: end; align-self: end; }
.sq-messages-channel-item > .sq-messages-channel-badge { grid-column: 3; grid-row: 2; justify-self: end; align-self: start; }
.sq-messages-channel-item > .sq-messages-channel-action { grid-column: 4; grid-row: 1 / span 2; align-self: center; }
.sq-messages-channel-item:not(:has(> .sq-messages-channel-badge)) > .sq-messages-channel-time { grid-row: 1 / span 2; align-self: center; }
}
.sq-messages-channel-left { opacity: 1; }
.sq-messages-channel-left .sq-messages-channel-avatar { filter: grayscale(1); }
.sq-messages-channel-left .sq-messages-channel-name { color: var(--sq-text-muted); }
.sq-messages-pinned-label {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:root { --sq-danger-text: #f87171; }
[data-theme="light"] { --sq-danger-text: #991b1b; }
.sq-export-dark, .sq-theme-dark { --sq-danger-text: #f87171; }
.sq-sl-menu .sq-sl-danger { color: var(--sq-danger-text); }
@media (max-width: 360px) {@supports selector(:has(*)) {
.sq-messages-channel-item { column-gap: 8px; }
}
.sq-messages-channel-action { padding: 6px 4px; }
}
.sq-msg-row { position: relative; }
.sq-msg-row > .sq-msg-bubble { min-width: 0; }
.sq-msg-actions {
  position: absolute;
  bottom: calc(100% - 8px);
  z-index: 2;
  padding: 2px;
  background: var(--sq-surface-elevated);
  border: 1px solid var(--sq-border);
  border-radius: var(--sq-radius-sm);
  box-shadow: var(--sq-shadow-sm);
  pointer-events: none;
}
.sq-msg-other .sq-msg-actions { left: 4px; }
.sq-msg-own .sq-msg-actions { right: 4px; }
.sq-msg:hover .sq-msg-actions,
.sq-msg:focus-within .sq-msg-actions,
.sq-msg.sq-msg-actions-visible .sq-msg-actions { pointer-events: auto; }
@media (hover: none) {
.sq-msg:hover .sq-msg-actions { pointer-events: none; }
.sq-msg:focus-within .sq-msg-actions,
  .sq-msg.sq-msg-actions-visible .sq-msg-actions { pointer-events: auto; }
}
.sq-messages-pinned-bar { cursor: pointer; }
.sq-sl-past:not(.expanded) > .sq-sl-past-more { display: none; }
.sq-messages-title-wrap.sq-chatmem-title { cursor: pointer; border-radius: var(--sq-radius-sm); }
.sq-messages-title-wrap.sq-chatmem-title:hover .sq-messages-title { color: var(--sq-primary-light); }
.sq-messages-title-wrap.sq-chatmem-title:focus-visible { outline: 2px solid var(--sq-primary-light); outline-offset: 2px; }
.sq-chatmem-overlay { z-index: 10001; }
.sq-chatmem-person-overlay { z-index: 10002; }
.sq-chatmem-sheet { max-width: 440px; display: flex; flex-direction: column; }
.sq-chatmem-person-overlay .sq-chatmem-sheet { max-width: 360px; }
.sq-chatmem-body { padding: 4px 16px 16px; overflow-y: auto; }
.sq-chatmem-loading { padding: 16px 4px; text-align: center; margin: 0; }
.sq-chatmem-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 14px; background: transparent; border: 0; color: var(--sq-text);
  font: inherit; text-align: left; text-decoration: none;
}
button.sq-chatmem-row, a.sq-chatmem-row { cursor: pointer; }
button.sq-chatmem-row:hover, a.sq-chatmem-row:hover { background: var(--sq-surface-hover); }
.sq-chatmem-row-left { opacity: 0.6; }
.sq-chatmem-avatar { width: 36px; height: 36px; font-size: var(--sq-fs-sm); }
.sq-chatmem-avatar-lg { width: 64px; height: 64px; font-size: 1.4rem; }
.sq-chatmem-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sq-chatmem-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sq-chatmem-sub { font-size: var(--sq-fs-xs); color: var(--sq-text-muted); }
.sq-chatmem-tag {
  flex-shrink: 0; padding: 1px 8px; border-radius: var(--sq-radius-pill);
  border: 1px solid var(--sq-primary-light); color: var(--sq-primary-light); font-size: 0.75rem;
}
.sq-chatmem-you { flex-shrink: 0; font-size: var(--sq-fs-xs); color: var(--sq-text-muted); }
.sq-chatmem-role { margin: 4px 0 12px; color: var(--sq-text-muted); }
.sq-chatmem-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.sq-chatmem-action { width: 100%; justify-content: center; }
.sq-chatmem-person-head { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0 4px; }
@media (max-width: 640px) {
.sq-chatmem-overlay:not(.sq-chatmem-person-overlay) { padding: 0; align-items: stretch; }
.sq-chatmem-overlay:not(.sq-chatmem-person-overlay) .sq-chatmem-sheet {
    max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; border: 0;
  }
}
.sq-msg-other:has(> .sq-msg-sender) .sq-msg-actions {
  bottom: auto;
  top: calc(100% - 8px);
}
@media (min-width: 1024px) {
.sq-messages-title {
    white-space: normal;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.25;
  }
}
#sq-confirm-modal-overlay { z-index: 10010 !important; }
.sq-button:where(:disabled, [aria-disabled="true"]) {
  opacity: 0.5;
  cursor: not-allowed;
}
.sq-button:where(:disabled, [aria-disabled="true"])[aria-busy="true"] {
  cursor: progress;
}
.sq-button:disabled:hover,
.sq-button:disabled:active,
.sq-button[aria-disabled="true"]:hover,
.sq-button[aria-disabled="true"]:active {
  filter: none !important;
  box-shadow: var(--sq-shadow-md);
}
.sq-button-secondary:disabled:hover,
.sq-button-secondary[aria-disabled="true"]:hover,
.sq-button-ghost:disabled:hover,
.sq-button-ghost[aria-disabled="true"]:hover {
  background: var(--sq-surface);
  border-color: var(--sq-border-strong);
  color: var(--sq-text);
  box-shadow: var(--sq-shadow-sm);
}
.sq-button-outline:disabled:hover,
.sq-button-outline[aria-disabled="true"]:hover,
.sq-button-danger-ghost:disabled:hover,
.sq-button-danger-ghost[aria-disabled="true"]:hover {
  background: transparent;
  box-shadow: none;
}
.sq-button-outline:disabled:hover,
.sq-button-outline[aria-disabled="true"]:hover {
  border-color: var(--sq-border-strong);
  color: var(--sq-text);
}
.sq-button-danger:disabled:hover,
.sq-button-danger:disabled:active,
.sq-button-danger[aria-disabled="true"]:hover,
.sq-button-danger[aria-disabled="true"]:active {
  background: var(--sq-danger-dark) !important;
  border-color: var(--sq-danger-dark) !important;
}
.sq-msg-other:has(> .sq-msg-sender):has(> .sq-msg-reactions) > .sq-msg-row { position: static; }
.sq-msg-other:has(> .sq-msg-sender):has(> .sq-msg-reactions) .sq-msg-actions {
  bottom: auto;
  top: calc(100% - 2px);
}
.sq-messages-title-wrap.sq-chatmem-title .sq-messages-title {
  display: inline-block;
  max-width: calc(100% - 22px);
  vertical-align: middle;
}
.sq-chatmem-chevron {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 4px;
  color: var(--sq-text-muted);
}
.sq-messages-title-wrap.sq-chatmem-title:hover .sq-chatmem-chevron { color: var(--sq-primary-light); }
@media (min-width: 1024px) {
.sq-messages-title-wrap.sq-chatmem-title .sq-messages-title { display: -webkit-inline-box; }
}
.sq-nowrap-word { white-space: nowrap; }
@media (max-width: 800px) {
.sq-chatmem-person-overlay .sq-chatmem-sheet { max-width: 100%; }
}
.sq-chatmem-row-left { opacity: 1; }
.sq-chatmem-row-left .sq-chatmem-avatar { opacity: 0.6; }
.sq-chatmem-row-left .sq-chatmem-name { color: var(--sq-text-muted); }
.sq-chatmem-tag {
  padding: 0; border: 0; border-radius: 0;
  color: var(--sq-text-muted); font-size: var(--sq-fs-xs); font-weight: 600;
}
.sq-chatmem-avatar:not(.sq-messages-channel-avatar-img) {
  background: color-mix(in srgb, var(--sq-primary) 20%, transparent);
  color: var(--sq-primary-light);
}
.sq-chatmem-person-name { font-weight: 600; font-size: var(--sq-fs-md); text-align: center; }
@media (min-width: 1024px) {
.sq-messages-header { gap: 4px; padding-left: 12px; padding-right: 12px; }
.sq-messages-header-actions { gap: 0; }
}
