/* ──────────────────────────────────────────────────────────────────────────
   GhostSites App-Shell — gemeinsame Quelle für GhostFlow, GhostDesk-Portal
   und Betreiber-Panel. Lock + Ledger: DESIGN.md (Richtung 1 „Cockpit").

   NICHT in den Produktordnern ändern: Quelle ist brand/app/, verteilt mit
   scripts/sync-app-brand.sh (kopiert nach <static>/css + <static>/fonts).

   Rollen (aus DESIGN.md, nicht umdeuten):
   - --gs-accent      nur Fläche der EINEN gefüllten Aktion je Ansicht
   - --gs-focus       nur Fokus-Ring/-Rand (Deep Violet, 3:1 auf Weiß)
   - Status-Farben    nur Status (Punkt + Text, Meldungen), nie Aktion
   - GS Unbounded 300 nur Seitentitel und große Kennzahlen
   - GS Mono          nur Beträge, Nummern, Codes
   ────────────────────────────────────────────────────────────────────────── */

@font-face { font-family: "GS Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/Inter-VF-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "GS Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/Inter-VF-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "GS Unbounded"; font-style: normal; font-weight: 300; font-display: swap;
  src: url("../fonts/Unbounded-300-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "GS Unbounded"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/Unbounded-700-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "GS Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/DMMono-400-normal-latin.woff2") format("woff2"); }
@font-face { font-family: "GS Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/DMMono-500-normal-latin.woff2") format("woff2"); }

:root {
  /* Flächen — Marken-Paper statt Mercury-Grau (#F6F7F9) */
  --gs-canvas: #f5f4f9;
  --gs-surface: #ffffff;
  --gs-surface-hover: #faf9fc;
  --gs-band: #efedf5;

  /* Text — 6.7:1 / 6.1:1 (muted auf Weiß / Canvas) */
  --gs-ink: #121217;
  --gs-ink-muted: #5d5b66;

  /* Linien — line = Struktur, field = Feldrand (≥ 3:1 auf Weiß, WCAG 1.4.11) */
  --gs-line: #e4e2ea;
  --gs-line-strong: #cfccd8;
  --gs-field: #8b8798;

  /* Marke */
  --gs-accent: #a78bfa;
  --gs-accent-hover: #9a7af9;
  --gs-ink-on-accent: #09090f;
  --gs-focus: #7c5cd6;
  --gs-deep: #09090f;

  /* Status — eigenständig, nie CTA */
  --gs-ok: #0f7a55;      --gs-ok-bg: #ecf8f2;      --gs-ok-line: #b7e4cf;
  --gs-warn: #8a5300;    --gs-warn-bg: #fff6e5;    --gs-warn-line: #f3d9a4;
  --gs-danger: #b4232c;  --gs-danger-bg: #fdf1f1;  --gs-danger-line: #f3c4c6;

  /* Form */
  --gs-r-field: 8px;
  --gs-r-card: 12px;
  --gs-r-auth: 16px;
  --gs-r-pill: 999px;
  --gs-shadow-card: 0 8px 20px rgba(15, 20, 30, .06);
  --gs-shadow-pop: 0 16px 40px rgba(15, 20, 30, .12);

  /* Schrift */
  --gs-font: "GS Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gs-display: "GS Unbounded", "GS Inter", ui-sans-serif, sans-serif;
  --gs-mono: "GS Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gs-ease: cubic-bezier(.22, .61, .36, 1);
  --gs-placeholder: #767382; /* 4.6:1 auf Weiß */
}


/* Dunkel — nur auf ausdrücklichen Wunsch (hell ist Default, DESIGN.md).
   GhostFlow: html.dark · GhostDesk: data-theme="dark" oder "system" bei dunklem OS.
   Werte aus der dunklen Website-Palette (Mercury Twilight); Rollen bleiben gleich,
   Violett bleibt die eine Aktion. Kontraste ≥ AA, geprüft 2026-10-01. */
html.dark, :root[data-theme="dark"] {
  --gs-canvas: #13121f; --gs-surface: #1c1b2a; --gs-surface-hover: #242334; --gs-band: #2a2940;
  --gs-ink: #ededf3; --gs-ink-muted: #a9a6b8;              /* 14.5:1 / 7.1:1 auf Surface */
  --gs-line: #2e2d42; --gs-line-strong: #403e58; --gs-field: #6f6c86;   /* Feldrand 3.4:1 */
  --gs-accent-hover: #b69dfb; --gs-focus: #c4b5fd; --gs-placeholder: #8b88a0;
  --gs-ok: #5cc47e;     --gs-ok-bg: rgba(92,196,126,.12);  --gs-ok-line: rgba(92,196,126,.35);
  --gs-warn: #e0a044;   --gs-warn-bg: rgba(224,160,68,.12); --gs-warn-line: rgba(224,160,68,.35);
  --gs-danger: #f0736a; --gs-danger-bg: rgba(240,115,106,.12); --gs-danger-line: rgba(240,115,106,.35);
  --gs-shadow-card: 0 1px 0 rgba(255,255,255,.03), 0 8px 20px rgba(0,0,0,.35);
  --gs-shadow-pop: 0 16px 40px rgba(0,0,0,.55);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="system"] {
  --gs-canvas: #13121f; --gs-surface: #1c1b2a; --gs-surface-hover: #242334; --gs-band: #2a2940;
  --gs-ink: #ededf3; --gs-ink-muted: #a9a6b8;              /* 14.5:1 / 7.1:1 auf Surface */
  --gs-line: #2e2d42; --gs-line-strong: #403e58; --gs-field: #6f6c86;   /* Feldrand 3.4:1 */
  --gs-accent-hover: #b69dfb; --gs-focus: #c4b5fd; --gs-placeholder: #8b88a0;
  --gs-ok: #5cc47e;     --gs-ok-bg: rgba(92,196,126,.12);  --gs-ok-line: rgba(92,196,126,.35);
  --gs-warn: #e0a044;   --gs-warn-bg: rgba(224,160,68,.12); --gs-warn-line: rgba(224,160,68,.35);
  --gs-danger: #f0736a; --gs-danger-bg: rgba(240,115,106,.12); --gs-danger-line: rgba(240,115,106,.35);
  --gs-shadow-card: 0 1px 0 rgba(255,255,255,.03), 0 8px 20px rgba(0,0,0,.35);
  --gs-shadow-pop: 0 16px 40px rgba(0,0,0,.55);
  color-scheme: dark;
  }
}

/* ─── Basis (nur innerhalb .gs, damit Altseiten unberührt bleiben) ───────── */
.gs, .gs *, .gs *::before, .gs *::after { box-sizing: border-box; }
.gs {
  margin: 0;
  background: var(--gs-canvas);
  color: var(--gs-ink);
  font: 400 15px/1.5 var(--gs-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.gs :focus-visible { outline: 2px solid var(--gs-focus); outline-offset: 2px; }
.gs [hidden] { display: none !important; } /* sonst gewinnt display:flex der Bausteine */
.gs a { color: inherit; }
.gs-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ─── Typo ───────────────────────────────────────────────────────────────── */
.gs-h1 {
  margin: 0;
  font: 300 28px/1.2 var(--gs-display);
  letter-spacing: -.02em;
  text-wrap: balance;
}
.gs-lead { margin: 8px 0 0; color: var(--gs-ink-muted); font-size: 15px; text-wrap: pretty; }
.gs-small { font-size: 13px; color: var(--gs-ink-muted); }
.gs-num { font-family: var(--gs-mono); font-variant-numeric: tabular-nums; }

/* ─── Logo (Geist + Wortmarke) ───────────────────────────────────────────── */
.gs-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gs-ink); }
.gs-logo svg { width: 22px; height: 26px; flex: none; }
.gs-logo__word { font: 700 15px/1 var(--gs-display); letter-spacing: -.02em; }

/* ─── Buttons — Pill; .gs-btn--primary ist die eine gefüllte Aktion ──────── */
.gs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  border: 1px solid var(--gs-line-strong); border-radius: var(--gs-r-pill);
  background: var(--gs-surface); color: var(--gs-ink);
  font: 600 15px/1 var(--gs-font); text-decoration: none; cursor: pointer;
  transition: background-color .15s var(--gs-ease), border-color .15s var(--gs-ease);
}
.gs-btn:hover { background: var(--gs-surface-hover); border-color: var(--gs-field); }
.gs-btn--primary { background: var(--gs-accent); border-color: var(--gs-accent); color: var(--gs-ink-on-accent); }
.gs-btn--primary:hover { background: var(--gs-accent-hover); border-color: var(--gs-accent-hover); }
.gs-btn--block { width: 100%; min-height: 48px; }
.gs-btn[disabled], .gs-btn[aria-busy="true"] { opacity: .6; cursor: progress; }

.gs-link {
  color: var(--gs-ink-muted); font-size: 14px; font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--gs-line-strong); text-underline-offset: 3px;
}
.gs-link:hover { color: var(--gs-ink); text-decoration-color: currentColor; }
.gs-linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.gs-linkbtn[disabled] { opacity: .5; cursor: progress; }

/* ─── Felder ─────────────────────────────────────────────────────────────── */
.gs-field { display: grid; gap: 6px; }
.gs-field + .gs-field { margin-top: 16px; }
.gs-label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 14px; font-weight: 500; }
.gs-label__hint { font-weight: 400; color: var(--gs-ink-muted); font-size: 13px; }
.gs-input {
  width: 100%; height: 44px; padding: 0 14px;
  border: 1px solid var(--gs-field); border-radius: var(--gs-r-field);
  background: var(--gs-surface); color: var(--gs-ink);
  font: 400 16px/1 var(--gs-font); /* 16px: kein iOS-Zoom */
  transition: border-color .15s var(--gs-ease), box-shadow .15s var(--gs-ease);
}
.gs-input::placeholder { color: var(--gs-placeholder); }
.gs-input:focus { outline: none; border-color: var(--gs-focus); box-shadow: 0 0 0 3px rgba(124, 92, 214, .22); }
.gs-input[aria-invalid="true"] { border-color: var(--gs-danger); }

/* Passwort mit Auge */
.gs-pw { position: relative; }
.gs-pw .gs-input { padding-right: 48px; }
.gs-pw__toggle {
  position: absolute; right: 4px; top: 4px; width: 36px; height: 36px;
  display: grid; place-items: center; border: 0; border-radius: 6px;
  background: transparent; color: var(--gs-ink-muted); cursor: pointer;
}
.gs-pw__toggle:hover { color: var(--gs-ink); background: var(--gs-canvas); }
.gs-pw__toggle svg { width: 18px; height: 18px; }

/* Einmal-Code: EIN Feld (Einfügen + Autofill one-time-code bleiben robust),
   optisch als Ziffernreihe wie Mercurys 2FA-Karte */
.gs-otp {
  height: 56px; padding: 0 12px; text-align: center;
  font: 500 24px/1 var(--gs-mono); letter-spacing: .5em; text-indent: .5em;
}
.gs-otp::placeholder { letter-spacing: .5em; color: var(--gs-line-strong); }

/* Meldungen */
.gs-alert {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 0 0 20px; padding: 12px 14px;
  border: 1px solid; border-radius: var(--gs-r-field);
  font-size: 14px; line-height: 1.45;
}
.gs-alert::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: currentColor; }
.gs-alert--error { color: var(--gs-danger); background: var(--gs-danger-bg); border-color: var(--gs-danger-line); }
.gs-alert--ok    { color: var(--gs-ok);     background: var(--gs-ok-bg);     border-color: var(--gs-ok-line); }
.gs-alert--warn  { color: var(--gs-warn);   background: var(--gs-warn-bg);   border-color: var(--gs-warn-line); }

/* ─── Anmelde-Seiten (Mercury Flow 11027) ────────────────────────────────── */
.gs-auth {
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: max(20px, env(safe-area-inset-top)) 24px max(20px, env(safe-area-inset-bottom));
}
.gs-auth__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.gs-auth__main { display: grid; place-items: center; padding: 32px 0; }
.gs-auth__foot {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  font-size: 13px; color: var(--gs-ink-muted);
}
.gs-auth__foot a { color: inherit; text-decoration: none; }
.gs-auth__foot a:hover { color: var(--gs-ink); text-decoration: underline; text-underline-offset: 3px; }

.gs-auth-card {
  width: 100%; max-width: 440px;
  background: var(--gs-surface);
  border: 1px solid var(--gs-line); border-radius: var(--gs-r-auth);
  box-shadow: var(--gs-shadow-card);
}
.gs-auth-card--split { max-width: 880px; display: grid; grid-template-columns: 1.35fr 1fr; }
.gs-auth-card__body { padding: 40px; }
.gs-auth-card__aside {
  padding: 40px; border-left: 1px solid var(--gs-line);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.gs-auth-card__aside .gs-ghost { width: 44px; height: 53px; }
.gs-auth-card__product { margin: 0; font: 300 24px/1.25 var(--gs-display); letter-spacing: -.02em; }
.gs-auth-card__claim { margin: 10px 0 0; color: var(--gs-ink-muted); font-size: 15px; text-wrap: pretty; }
.gs-auth-card__meta { font-size: 13px; color: var(--gs-ink-muted); }
.gs-auth-card__meta strong { color: var(--gs-ink); font-weight: 500; }

.gs-auth-form { margin-top: 28px; }
.gs-auth-form .gs-btn--block { margin-top: 24px; }
.gs-auth-links { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.gs-auth-links--center { justify-content: center; }

.gs-qr { display: grid; place-items: center; padding: 16px; margin: 24px 0 8px;
  border: 1px solid var(--gs-line); border-radius: var(--gs-r-card); background: var(--gs-surface); }
.gs-qr svg { width: 176px; height: 176px; }
.gs-secret { display: block; padding: 10px 12px; margin-top: 6px; border-radius: var(--gs-r-field);
  background: var(--gs-canvas); font: 400 14px/1.4 var(--gs-mono); word-break: break-all; user-select: all; }

/* ─── App-Seiten (Mercury cd553d96) ──────────────────────────────────────── */
.gs-page { max-width: 1120px; margin: 0 auto; padding: 36px 32px 56px; }
.gs-page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.gs-page-head .gs-h1 { font-size: 30px; }
.gs-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 28px; }
.gs-btn--sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.gs-btn svg { width: 16px; height: 16px; flex: none; }

.gs-grid-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.gs-stack { display: grid; gap: 20px; margin-top: 20px; }

.gs-card {
  background: var(--gs-surface); border: 1px solid var(--gs-line);
  border-radius: var(--gs-r-card); box-shadow: var(--gs-shadow-card);
  min-width: 0;
}
a.gs-card, .gs-card--link { display: block; color: inherit; text-decoration: none;
  transition: border-color .15s var(--gs-ease), box-shadow .15s var(--gs-ease); }
a.gs-card:hover, .gs-card--link:hover { border-color: var(--gs-line-strong); box-shadow: var(--gs-shadow-pop); }
.gs-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px 12px; }
.gs-card__title { margin: 0; font: 600 15px/1.3 var(--gs-font); }
.gs-card__link { font-size: 13px; font-weight: 500; color: var(--gs-ink-muted); text-decoration: none; white-space: nowrap; }
.gs-card__link:hover { color: var(--gs-ink); }
.gs-card__body { padding: 0 20px 20px; }

/* Kennzahl — Unbounded 300 groß (Website-Lock: große Zahlen leicht) */
.gs-kpi { margin: 6px 0 0; font: 300 56px/1 var(--gs-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gs-kpi-caption { margin-top: 8px; font-size: 14px; color: var(--gs-ink-muted); }
.gs-kpi-row { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--gs-line); }
.gs-kpi-row dt { font-size: 13px; color: var(--gs-ink-muted); }
.gs-kpi-row dd { margin: 4px 0 0; font: 600 22px/1.1 var(--gs-font); font-variant-numeric: tabular-nums; }

/* Listen — Zeilen mit Linie, ganze Zeile klickbar (Mercury Accounts-Liste) */
.gs-list { list-style: none; margin: 0; padding: 0; }
.gs-row {
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 10px 20px;
  border-top: 1px solid var(--gs-line); color: inherit; text-decoration: none;
}
a.gs-row:hover { background: var(--gs-surface-hover); }
.gs-row__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gs-canvas); color: var(--gs-ink-muted); }
.gs-row__icon svg { width: 16px; height: 16px; }
.gs-row__icon--danger { background: var(--gs-danger-bg); color: var(--gs-danger); }
.gs-row__main { flex: 1; min-width: 0; }
.gs-row__title { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.gs-row__meta { display: block; margin-top: 2px; font-size: 13px; color: var(--gs-ink-muted); }
.gs-row__end { flex: none; }

/* Status — Punkt + Text, eigenes Set */
.gs-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; white-space: nowrap; }
.gs-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.gs-status--ok { color: var(--gs-ok); }
.gs-status--warn { color: var(--gs-warn); }
.gs-status--danger { color: var(--gs-danger); }
.gs-status--muted { color: var(--gs-ink-muted); }

.gs-empty { padding: 40px 20px; text-align: center; color: var(--gs-ink-muted); border-top: 1px solid var(--gs-line); }
.gs-empty .gs-ghost { width: 28px; height: 34px; opacity: .5; margin-bottom: 8px; }
.gs-empty strong { display: block; color: var(--gs-ink); font-weight: 500; }

/* Popover an einer Pille (details/summary) */
.gs-pop-wrap { position: relative; }
.gs-pop-wrap > summary { list-style: none; }
.gs-pop-wrap > summary::-webkit-details-marker { display: none; }
.gs-pop {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 300px;
  padding: 16px; background: var(--gs-surface); border: 1px solid var(--gs-line);
  border-radius: var(--gs-r-card); box-shadow: var(--gs-shadow-pop);
}
.gs-pop .gs-field + .gs-field { margin-top: 12px; }
.gs-pop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.gs-select { appearance: auto; padding-right: 8px; }


/* ─── Posteingang (ManyChat 37038000 / Intercom cda7dd1c) ───────────────── */
.gs-inbox-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 20px; }
.gs-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--gs-r-pill); background: var(--gs-band); }
.gs-tab { display: inline-flex; align-items: center; height: 34px; padding: 0 16px; border-radius: var(--gs-r-pill); color: var(--gs-ink-muted); font: 500 14px/1 var(--gs-font); text-decoration: none; }
.gs-tab:hover { color: var(--gs-ink); }
.gs-tab.is-active { background: var(--gs-surface); color: var(--gs-ink); box-shadow: 0 1px 2px rgba(15,20,30,.08); }
.gs-tabs--chips { background: none; padding: 0; gap: 8px; }
.gs-chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--gs-line-strong); border-radius: var(--gs-r-pill); background: var(--gs-surface); color: var(--gs-ink); font: 500 14px/1 var(--gs-font); text-decoration: none; }
.gs-chip span { font-size: 12px; color: var(--gs-ink-muted); }
.gs-chip.is-active { border-color: var(--gs-ink); }
.gs-inbox-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; color: var(--gs-ink); text-decoration: none; border-bottom: 1px solid var(--gs-line); }
.gs-inbox-row:hover { background: var(--gs-surface-hover); }
.gs-inbox-row.is-selected { background: var(--gs-band); }
.gs-inbox-avatar { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--gs-band); font: 600 14px/1 var(--gs-font); }
.gs-inbox-row.is-selected .gs-inbox-avatar { background: var(--gs-surface); }
.gs-inbox-main { flex: 1; min-width: 0; display: grid; gap: 3px; }
.gs-inbox-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gs-inbox-top strong { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-inbox-top small { flex: none; font-size: 12px; color: var(--gs-ink-muted); }
.gs-inbox-sub { display: flex; gap: 6px; align-items: center; font-size: 14px; color: var(--gs-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-inbox-sub svg { flex: none; width: 14px; height: 14px; }
.gs-thread-date { margin: 16px 0 8px; text-align: center; }
.gs-thread-date span { display: inline-block; padding: 4px 12px; border-radius: var(--gs-r-pill); background: var(--gs-band); font-size: 12px; color: var(--gs-ink-muted); }
.gs-call-event { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 10px auto; padding: 12px 14px; max-width: 560px; border: 1px solid var(--gs-line); border-radius: var(--gs-r-card); background: var(--gs-surface); }
.gs-call-event__main { flex: 1; min-width: 180px; display: grid; gap: 4px; font-size: 13px; color: var(--gs-ink-muted); }
.gs-call-event__main strong { font-size: 14px; color: var(--gs-ink); }
.gs-call-event__acts { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-call-event__acts form { margin: 0; }

@media (max-width: 900px) {
  .gs-grid-hero { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .gs-page { padding: 24px 16px 40px; }
  .gs-kpi { font-size: 44px; }
  .gs-pop { left: 0; right: auto; width: min(300px, calc(100vw - 32px)); }
}

@media (max-width: 760px) {
  .gs-auth { padding-left: 16px; padding-right: 16px; }
  .gs-auth-card--split { grid-template-columns: 1fr; max-width: 440px; }
  .gs-auth-card__aside { display: none; }
  .gs-auth-card__body { padding: 28px 22px; }
  .gs-h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .gs *, .gs *::before, .gs *::after { transition: none !important; animation: none !important; }
}
