/* Wsamiaw — Breeze-inspired polished dark client site */
:root {
  --bg: #05070d;
  --bg-soft: #0c0e14;
  --panel: #111318;
  --panel-elevated: #161920;
  --border: #242836;
  --border-soft: #1c2030;
  --text: #ffffff;
  --muted: #b2b6c7;
  --accent: #0db6fd;
  --accent-dim: #0D62E1;
  --accent-2: #675df7;
  --warn: #f0c674;
  --err: #f87171;
  --ok: #34d399;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --shadow-soft: 0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 14px;
  --radius-sm: 10px;
  --nav-h: 72px;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
html, body { margin: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: rgba(13, 182, 253, 0.3); color: #fff; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body.site-page {
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(13, 182, 253, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(103, 93, 247, 0.08), transparent 50%),
    var(--bg);
}

a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: #5ccfff; }

.wrap, .container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  position: relative;
  z-index: 1;
}
.wrap-wide { max-width: 1180px; }

/* Sticky top bar — Breeze marketing chrome */
.nav {
  position: sticky; top: 0; z-index: 50;
  margin: 0 -1.5rem 0;
  padding: 0 1.5rem;
  background: rgba(5, 7, 13, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 81px;
  max-width: 1280px; margin: 0 auto;
}
.nav-primary { display: flex; align-items: center; gap: 1.85rem; min-width: 0; }
.nav-brand {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em;
  color: #fff; text-decoration: none; flex-shrink: 0;
}
.nav-brand-mark { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.nav-links {
  display: flex; align-items: center; gap: 1.65rem;
  flex-wrap: nowrap;
}
.nav-links a {
  color: #b4b8c7; text-decoration: none;
  font-size: 0.95rem; font-weight: 500; padding: 0;
  transition: color 0.2s var(--ease-out);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: #fff; }
.nav-end { display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.lang-switch { position: relative; z-index: 60; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: inherit; font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.04em;
  color: #e8eaf2; cursor: pointer;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  transition: transform 0.14s var(--ease-out), background 0.18s var(--ease-out), border-color 0.18s, color 0.18s;
}
.lang-trigger:hover { color: #fff; background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.2); }
.lang-trigger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-trigger.is-pressed { transform: scale(0.94); }
.lang-switch.is-open .lang-trigger { color: #fff; border-color: rgba(13,182,253,0.45); background: rgba(13,182,253,0.1); }
.lang-globe { display: block; opacity: 0.95; flex-shrink: 0; }
.lang-code { line-height: 1; min-width: 1.5ch; }
.lang-caret { opacity: 0.75; transition: transform 0.2s var(--ease-out); }
.lang-switch.is-open .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 0.45rem); right: 0;
  min-width: 11.5rem;
  padding: 0.35rem;
  border-radius: 14px;
  background: #12151d;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 18px 48px rgba(0,0,0,0.55);
  display: flex; flex-direction: column; gap: 0.15rem;
  transform-origin: top right;
  animation: lang-menu-in 0.18s var(--ease-out);
}
.lang-menu[hidden] { display: none !important; }
@keyframes lang-menu-in {
  from { opacity: 0; transform: translateY(-6px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.lang-option {
  display: flex; align-items: center; gap: 0.65rem;
  width: 100%;
  font-family: inherit; font-size: 0.9rem; font-weight: 560;
  text-align: left; color: #d7dae6;
  padding: 0.55rem 0.7rem; border: 0; border-radius: 10px;
  background: transparent; cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.12s var(--ease-out);
}
.lang-option:hover { background: rgba(255,255,255,0.07); color: #fff; }
.lang-option.is-active { background: rgba(13,182,253,0.14); color: #fff; }
.lang-option.is-pressed { transform: scale(0.97); }
.lang-option-code {
  font-size: 0.78rem; font-weight: 750; letter-spacing: 0.06em;
  color: #9aa3b2; min-width: 1.6rem;
}
.lang-option.is-active .lang-option-code { color: var(--accent); }
.lang-option-label { flex: 1; }
@media (prefers-reduced-motion: reduce) {
  .lang-trigger, .lang-option, .lang-caret, .lang-menu { transition: none; animation: none; }
}
.nav-signin {
  display: inline-flex; align-items: center; justify-content: center;
  background: #f4f6fb; color: #12141c !important;
  font-weight: 650; font-size: 0.9rem;
  padding: 0.48rem 1.05rem; border-radius: 999px;
  text-decoration: none;
}
.nav-signin:hover { filter: brightness(0.96); color: #12141c !important; }
.nav-user {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #fff !important; text-decoration: none;
  padding: 0.28rem 0.7rem 0.28rem 0.3rem;
  border-radius: 999px; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.nav-user-av {
  width: 28px; height: 28px; border-radius: 50%;
  background: #2a2d3a;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-user-av img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.nav-user-av--initials {
  font-size: 0.68rem; font-weight: 750; letter-spacing: 0.02em;
  color: #d7dae6; background: linear-gradient(145deg, #2f3548, #1c2030);
}
.nav-user-name { font-size: 0.88rem; font-weight: 600; max-width: 10rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-burger {
  display: none; width: 40px; height: 40px; border: 0; border-radius: 10px;
  background: transparent; cursor: pointer; position: relative;
}
.nav-burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: #fff; border-radius: 1px; top: 19px;
}
.nav-burger span::before,
.nav-burger span::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: #fff; border-radius: 1px;
}
.nav-burger span::before { top: -7px; }
.nav-burger span::after { top: 7px; }

@media (max-width: 860px) {
  .nav-burger { display: inline-block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 81px;
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0.5rem 1.5rem 1rem;
    background: rgba(5, 7, 13, 0.97);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links a { padding: 0.7rem 0; width: 100%; }
  .nav { position: sticky; }
  .nav-inner { position: relative; }
}

/* Hero — centered, huge type like breeze */
.hero--home, .hero--soft {
  text-align: center;
  padding: 4.5rem 0 3.5rem;
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
  min-height: auto;
}
.hero-brand-lockup {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1.5rem;
  font-weight: 700; color: #fff;
}
.hero-brand-lockup img { width: 44px; height: 44px; border-radius: 12px; }
.hero-mark, .hero--home h1, .page-header h1 {
  font-size: clamp(2.5rem, 7vw, 3.75rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.05;
  margin: 0; color: #fff;
}
.hero-mark em, .hero--home h1 em { font-style: normal; color: var(--accent); }
.hero-lead, .hero--home .tagline, .page-header .tagline {
  margin: 1.15rem auto 0; max-width: 34rem;
  font-size: 1.1rem; color: var(--muted); line-height: 1.55;
}
.hero-cta, .actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center;
  margin-top: 1.75rem;
}
.actions--left { justify-content: center; }

.hero--dawn, .hero-mountains, .hero-brand-mega,
.wsamiaw-bg-glow, .wsamiaw-bg-fx, .page-overline { display: none !important; }

.page-header { text-align: center; padding: 2.5rem 0 2rem; max-width: 40rem; margin: 0 auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.75rem 1.35rem; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.15s var(--ease-out), filter 0.15s, background 0.15s, border-color 0.15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
  box-shadow: 0 10px 28px rgba(13, 182, 253, 0.28);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-secondary {
  background: rgba(255,255,255,0.04); color: #fff;
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-secondary:hover { border-color: var(--accent); background: rgba(13,182,253,0.08); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid transparent; }
.btn-violet {
  background: var(--accent-2); color: #fff !important;
  box-shadow: 0 10px 28px rgba(103, 93, 247, 0.38);
  text-decoration: none;
}
.btn-violet:hover { filter: brightness(1.08); color: #fff !important; }
.btn-violet-soft {
  background: rgba(103, 93, 247, 0.22); color: #d2ceff !important;
  text-decoration: none; border: 1px solid rgba(103, 93, 247, 0.35);
}
.btn-violet-soft:hover { background: rgba(103, 93, 247, 0.32); color: #fff !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; justify-content: center; }

/* Panels */
section.panel, .panel {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem;
  margin-bottom: 1.25rem;
}
section.panel h2, .panel h2, .panel h3 {
  font-size: 1.35rem; font-weight: 750; letter-spacing: -0.02em;
  margin: 0 0 0.75rem; color: #fff;
}
section.panel p, section.panel li, .panel p, .panel li { color: var(--muted); }
.section-lead { color: var(--muted); margin: -0.15rem 0 1.25rem; text-align: center; max-width: 36rem; margin-left: auto; margin-right: auto; }
.panel-rail > h2[data-i18n="home_explore_title"],
.panel-rail > .section-lead[data-i18n="home_explore_lead"],
h2[data-i18n="home_explore_title"],
.section-lead[data-i18n="home_explore_lead"] { display: none !important; }

.feat-stack { display: grid; gap: 0.85rem; }
@media (min-width: 720px) { .feat-stack { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.feat-row {
  display: block; padding: 1.15rem 1.2rem;
  background: var(--bg-soft); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}
.feat-k { display: block; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: 0.35rem; }
.feat-row h2, .feat-row h3 { margin: 0 0 0.3rem; font-size: 1.05rem; color: #fff; font-weight: 700; }
.feat-row p { margin: 0; font-size: 0.92rem; }

.steps-flow, .steps-mini { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 0.65rem; }
@media (min-width: 720px) { .steps-flow { grid-template-columns: 1fr 1fr; } }
.steps-flow li, .steps-mini li {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.7rem;
  padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--bg-soft); border: 1px solid var(--border-soft); color: var(--muted);
}
.step-key { font-weight: 800; color: var(--accent); }

.link-rail, .explore-grid {
  display: grid; gap: 0.75rem;
}
@media (min-width: 720px) {
  .link-rail, .explore-grid { grid-template-columns: 1fr 1fr; }
}
.link-rail a, .explore-card {
  display: block; padding: 1.2rem 1.25rem; text-decoration: none; color: inherit;
  background: var(--bg-soft); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, transform 0.2s var(--ease-out), background 0.2s;
}
.link-rail a:hover, .explore-card:hover {
  border-color: rgba(13,182,253,0.45); background: var(--panel-elevated); transform: translateY(-2px);
}
.link-rail h2, .explore-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; color: #fff; }
.link-rail p, .explore-card p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.link-rail .rail-cta { display: inline-block; margin-top: 0.65rem; font-weight: 700; color: var(--accent); font-size: 0.88rem; }

.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin: 0 0 1.75rem;
}
.stats-band .stat {
  padding: 1.1rem; text-align: center; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--border-soft);
}
.stat-value { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; }
.stat-label { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 720px) { .stats-band { grid-template-columns: 1fr 1fr; } }

/* Pricing */
.pricing-grid { display: grid; gap: 1.15rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.pricing-card { position: relative; display: flex; flex-direction: column; padding: 1.85rem !important; }
.pricing-card-featured {
  border-color: rgba(13,182,253,0.45);
  box-shadow: 0 0 0 1px rgba(13,182,253,0.15), var(--shadow-card);
}
.pricing-badge {
  position: absolute; top: 1rem; right: 1rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: 999px;
  background: rgba(13,182,253,0.15); color: var(--accent);
}
.pricing-amount {
  display: flex; align-items: baseline; gap: 0.08em; justify-content: center;
  font-weight: 800; font-size: 3rem; letter-spacing: -0.03em; color: #fff; margin: 0.6rem 0 0.2rem;
}
.pricing-currency { font-size: 1.4rem; }
.pricing-period { color: var(--muted); text-align: center; margin-bottom: 1rem; }
.pricing-features { list-style: none; padding: 0; margin: 0 0 1.25rem; flex: 1; }
.pricing-features li {
  padding: 0.4rem 0 0.4rem 1.3rem; position: relative; color: var(--muted);
}
.pricing-features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pricing-cta { width: 100%; margin-top: auto; text-align: center; }
.pricing-card h2 { text-align: center; }
.pricing-notice {
  display: flex; gap: 0.75rem; align-items: flex-start;
  margin: 1rem auto 0; max-width: 36rem; padding: 0.9rem 1rem;
  background: var(--panel); border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm); color: var(--muted);
}

/* Forms / account */
.tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.tab {
  flex: 1; padding: 0.7rem 1rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-soft);
  color: var(--muted); cursor: pointer; font-family: inherit; font-weight: 700; font-size: 0.92rem;
}
.tab:hover { color: #fff; }
.tab.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #fff;
}
.form { display: none; flex-direction: column; gap: 0.9rem; }
.form.active { display: flex; }
label { font-size: 0.88rem; color: var(--muted); display: flex; flex-direction: column; gap: 0.4rem; font-weight: 600; }
input, select, textarea {
  padding: 0.75rem 0.95rem; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font-size: 0.95rem; font-family: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(13,182,253,0.45); outline-offset: 1px; border-color: var(--accent);
}
.msg { font-size: 0.9rem; margin-top: 0.65rem; padding: 0.7rem 0.9rem; border-radius: var(--radius-sm); }
.msg.err { background: rgba(248,113,113,0.12); color: var(--err); }
.msg.ok { background: rgba(13,182,253,0.12); color: var(--accent); }
.note { font-size: 0.88rem; color: var(--warn); margin-top: 0.5rem; }
.turnstile-wrap { margin: 0.25rem 0 0.5rem; min-height: 65px; }

.account-dash-header {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--border-soft);
}
.account-dash-email { font-size: 1.15rem; font-weight: 700; word-break: break-all; }
[id^="badge-"] {
  display: inline-flex; font-size: 0.72rem; font-weight: 700;
  padding: 0.22rem 0.55rem; border-radius: 999px;
  background: rgba(13,182,253,0.12); color: var(--accent); border: 1px solid rgba(13,182,253,0.28);
}
.user-tabs { margin-bottom: 1rem; }
.twofa-nudge {
  padding: 0.9rem 1rem; margin-bottom: 1rem;
  background: rgba(240,198,116,0.1); border: 1px solid rgba(240,198,116,0.28); border-radius: var(--radius-sm);
}
.account-grid { display: grid; gap: 1.1rem; align-items: start; }
.account-left { display: grid; gap: 1rem; }
.account-right { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 900px) {
  .account-grid { grid-template-columns: 1.4fr 0.95fr; }
  .account-right { position: sticky; top: calc(var(--nav-h) + 1rem); }
}
.cloud-config-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.cloud-config-list li {
  display: flex; justify-content: space-between; gap: 0.75rem;
  padding: 0.55rem 0.65rem; border-bottom: 1px solid var(--border-soft);
}

.faq-item { border-bottom: 1px solid var(--border-soft); padding: 0.9rem 0; text-align: left; }
.faq-item summary { cursor: pointer; font-weight: 700; color: #fff; }
.faq-item p { margin: 0.5rem 0 0; color: var(--muted); }

footer.site-footer, .site-footer {
  margin-top: 3rem; padding-top: 1.75rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.88rem; color: var(--muted);
}
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 1.25rem;
}
.footer-col a { display: block; color: var(--muted); text-decoration: none; padding: 0.25rem 0; }
.footer-col a:hover { color: var(--accent); }
.footer-col h3 {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  margin: 0 0 0.55rem; color: #fff;
}
.footer-tag { color: var(--muted); margin-top: 0.5rem; max-width: 18rem; }
[data-legal-links] {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.75rem; margin-top: 0.85rem !important;
}
[data-legal-links] a { color: var(--muted); text-decoration: none; font-weight: 600; }
[data-legal-links] a:hover { color: var(--accent); }

.chat-shell {
  min-height: 70vh; background: var(--panel); border: 1px solid var(--border-soft);
  border-radius: var(--radius); overflow: hidden;
}

.purchase-modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.72); display: grid; place-items: center; padding: 1rem;
  backdrop-filter: blur(8px);
}
.purchase-modal[hidden] { display: none !important; }
.purchase-modal-panel {
  background: var(--panel-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem; max-width: 28rem; width: 100%;
  box-shadow: var(--shadow-soft);
}
.purchase-modal-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1rem; }

.install-snippet {
  background: var(--bg); color: var(--accent);
  border: 1px solid var(--border-soft); border-radius: var(--radius-sm);
  padding: 1rem; overflow-x: auto; font-family: var(--mono); font-size: 0.84rem;
}
.prose { max-width: 65ch; margin: 0 auto; }
.prose p { color: var(--muted); }
.text-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.mono { font-family: var(--mono); }
h1, h2, h3 { font-family: var(--font-display); }

[data-reveal] {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: none; }
.reduce-motion [data-reveal] { opacity: 1; transform: none; transition: none; }

/* Cookie UI */
#wsamiaw-cookie-root { position: relative; z-index: 9999; }
.cookie-dock {
  position: fixed; left: 0; bottom: 1rem; z-index: 10000;
  display: flex; align-items: stretch;
  transform: translateX(0);
  transition: transform 0.48s var(--ease-out);
}
.cookie-dock.is-hidden { display: none; }
.cookie-dock.is-parked { transform: translateX(calc(-100% + 18px)); }
.cookie-peek {
  flex: 0 0 18px; width: 18px; margin: 0; padding: 0; border: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0 999px 999px 0; background: rgba(17,19,24,0.92);
  box-shadow: var(--shadow-card); cursor: pointer;
}
.cookie-peek::before {
  content: ""; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--muted);
}
.cookie-launcher {
  display: inline-flex; align-items: center; gap: 0.45rem;
  margin-left: 1rem;
  padding: 0.55rem 1rem 0.55rem 0.75rem; border-radius: 999px 0 0 999px;
  border: 1px solid var(--border); background: rgba(17,19,24,0.92);
  color: #fff; font-family: inherit; font-size: 0.85rem; font-weight: 700;
  cursor: pointer; box-shadow: var(--shadow-card); backdrop-filter: blur(12px);
  transition: border-color 0.15s, transform 0.15s var(--ease-out);
}
.cookie-launcher:hover { border-color: var(--accent); }
.cookie-launcher:active { transform: scale(0.97); }
.cookie-launcher::before {
  content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--muted);
}
.cookie-launcher.is-pending::before { background: var(--accent); box-shadow: 0 0 0 3px rgba(13,182,253,0.25); }
.reduce-motion .cookie-dock { transition: none; }

.cookie-footer-btn {
  appearance: none; display: inline-flex; align-items: center;
  margin: 0; padding: 0.3rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--panel-elevated);
  color: #fff; font-family: inherit; font-size: 0.8rem; font-weight: 700; cursor: pointer;
}
.cookie-footer-btn:hover { border-color: var(--accent); color: var(--accent); }

.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 10001;
  max-width: 420px; display: flex; flex-direction: column; gap: 0.9rem;
  padding: 1.2rem; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--panel-elevated); box-shadow: var(--shadow-soft);
}
.cookie-banner-text strong { display: block; color: #fff; margin-bottom: 0.35rem; }
.cookie-banner-text p { margin: 0; font-size: 0.88rem; color: var(--muted); }
.cookie-banner-actions { display: flex; gap: 0.55rem; justify-content: flex-end; flex-wrap: wrap; }

.cookie-manage {
  position: fixed; inset: 0; z-index: 10002;
  display: grid; place-items: center; padding: 1rem;
  background: rgba(0,0,0,0.72); backdrop-filter: blur(8px);
}
.cookie-manage-panel {
  width: min(420px, 100%); background: var(--panel-elevated);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}
.cookie-manage-panel h3 { margin: 0 0 1rem; }
.cookie-opt {
  display: flex; gap: 0.75rem; align-items: flex-start; flex-direction: row !important;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border-soft);
}
.cookie-opt input { width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; accent-color: var(--accent); padding: 0; }
.cookie-opt strong { display: block; color: #fff; }
.cookie-opt small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 0.15rem; }
.cookie-manage-actions { margin-top: 1rem; display: flex; justify-content: flex-end; }

/* RGUI */
.rgui-shell { display: flex; flex-direction: column; gap: 0.75rem; background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 0.75rem; }
.rgui-status { font-size: 0.85rem; color: var(--muted); padding: 0.45rem 0.65rem; border: 1px solid var(--border-soft); border-radius: var(--radius-sm); }
.rgui-status.ok { color: var(--accent); }
.rgui-status.err { color: var(--err); }
.rgui-frame { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: var(--panel); }
.rgui-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0.55rem; border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); }
.rgui-cat { font-family: inherit; font-size: 0.78rem; font-weight: 650; padding: 0.35rem 0.65rem; border-radius: 6px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.rgui-cat:hover { color: #fff; }
.rgui-cat.active { color: #fff; background: var(--accent); }
.rgui-body { display: grid; grid-template-columns: minmax(140px, 38%) 1fr; min-height: 360px; }
.rgui-list { border-right: 1px solid var(--border-soft); overflow-y: auto; max-height: 480px; }
.rgui-mod { display: flex; align-items: center; gap: 0.5rem; width: 100%; text-align: left; padding: 0.55rem 0.75rem; border: 0; border-bottom: 1px solid var(--border-soft); background: transparent; color: var(--muted); cursor: pointer; font-family: inherit; }
.rgui-mod:hover, .rgui-mod.selected { background: rgba(13,182,253,0.08); color: #fff; }
.rgui-mod.on { color: var(--accent); }
.rgui-dot { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--border); }
.rgui-mod.on .rgui-dot { background: var(--accent); }
.rgui-detail { padding: 0.85rem 1rem; overflow-y: auto; max-height: 480px; }
.rgui-detail-head { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-bottom: 0.85rem; }
.rgui-empty { color: var(--muted); font-size: 0.85rem; }
.rgui-prop { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.75rem; }
.rgui-toggle { font-family: inherit; font-size: 0.75rem; font-weight: 700; padding: 0.35rem 0.7rem; border-radius: 6px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: var(--muted); cursor: pointer; }
.rgui-toggle.on { color: #fff; background: var(--accent); border-color: var(--accent); }
.rgui-slider { display: flex; align-items: center; gap: 0.65rem; }
.rgui-slider input[type="range"] { flex: 1; }
@media (max-width: 640px) {
  .rgui-body { grid-template-columns: 1fr; }
  .rgui-list { border-right: none; border-bottom: 1px solid var(--border-soft); max-height: 200px; }
}

.band, .band--night, .band--dusk, .band--day { margin: 0; padding: 0; background: transparent; border: none; }
.band-inner { max-width: none; }

/* ——— Account dashboard (Breeze-like) ——— */
body.page-account {
  background:
    radial-gradient(ellipse 70% 40% at 50% -8%, rgba(103, 93, 247, 0.18), transparent 55%),
    var(--bg);
}
.page-account .wrap-wide { max-width: 1080px; padding-top: 0; }
.dash-title {
  font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em;
  margin: 1.5rem 0 1.15rem; color: #fff;
}
.dash-tabs.user-tabs {
  display: flex; gap: 1.35rem; margin: 0 0 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: none; padding: 0;
}
.dash-tabs .tab {
  flex: none; background: none; border: 0; border-radius: 0;
  padding: 0.55rem 0 0.75rem; color: var(--muted);
  font-weight: 600; font-size: 0.92rem; position: relative;
}
.dash-tabs .tab:hover { color: #fff; background: none; }
.dash-tabs .tab.active {
  color: #fff; background: none;
  box-shadow: none;
}
.dash-tabs .tab.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: #fff; border-radius: 2px;
}
.dash-grid {
  display: grid; gap: 1.15rem; align-items: start;
}
@media (min-width: 900px) {
  .dash-grid { grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.72fr); }
}
.dash-col { display: flex; flex-direction: column; gap: 1rem; }
.dash-card {
  background: #12131a;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}
.dash-card h2, .dash-card h3 {
  margin: 0 0 0.55rem; font-size: 1.02rem; font-weight: 700; color: #fff;
  text-transform: none; letter-spacing: 0;
}
.dash-card .note, .dash-card p { color: #c5c9d8; font-size: 0.86rem; }
.dash-row {
  display: flex; align-items: center; gap: 0.85rem; justify-content: space-between;
}
.dash-row-copy { min-width: 0; flex: 1; }
.dash-row-copy h3 { margin: 0 0 0.15rem; font-size: 0.95rem; }
.dash-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(88, 101, 242, 0.2); color: #9aa3ff;
}
.dash-card input {
  background: #0c0d14; border-color: rgba(103, 93, 247, 0.28);
  width: 100%;
}
.dash-card .btn { border-radius: 10px; }
.btn-violet {
  background: #6d6dff; color: #fff; border: none;
  box-shadow: none; font-weight: 650;
}
.btn-violet:hover { filter: brightness(1.08); background: #7b7bff; }
.dash-actions { display: flex; justify-content: flex-end; margin-top: 0.75rem; }
.dash-profile {
  display: flex; align-items: center; gap: 0.9rem;
}
.dash-avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  background: #1c1d28; border: 1px solid rgba(255,255,255,0.12);
}
.dash-avatar-ph {
  width: 52px; height: 52px; border-radius: 50%;
  background: #1c1d28; display: grid; place-items: center;
  color: #8b90a5; font-size: 1.3rem; border: 1px solid rgba(255,255,255,0.08);
}
.dash-profile-name { font-weight: 700; color: #fff; margin: 0; font-size: 0.98rem; }
.dash-profile-mail { margin: 0.15rem 0 0; font-size: 0.8rem; color: #c5c9d8; }
.dash-card .form { display: none; flex-direction: column; gap: 0.75rem; }
.dash-card .form[style*="flex"] { display: flex; }
.dash-help h3 { font-size: 1.15rem; line-height: 1.25; }
.dash-help-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  margin-top: 1rem;
}
.page-account #guest { max-width: 440px; margin: 2rem auto 0; }
.page-account #guest .panel { padding: 1.6rem 1.5rem; }
.dash-lock { opacity: 0.55; font-size: 0.85rem; margin-left: 0.25rem; }

/* ——— Changelog (Breeze card timeline) ——— */
body.page-changelog {
  background:
    radial-gradient(ellipse 70% 42% at 50% -10%, rgba(13, 182, 253, 0.1), transparent 55%),
    var(--bg);
}
.cl-hero {
  padding: 4.5rem 0 2.25rem;
  max-width: 42rem;
}
.cl-hero h1 {
  font-size: clamp(2.6rem, 7vw, 3.75rem);
  font-weight: 800; letter-spacing: -0.035em; margin: 0 0 1.35rem; line-height: 1.05;
}
.cl-hero-row {
  display: flex; align-items: flex-start; gap: 1.35rem;
}
.cl-hero-row .btn { flex-shrink: 0; }
.cl-hero-row p {
  color: #d6dae8; margin: 0; font-size: 1.02rem; line-height: 1.55; max-width: 36rem;
}
.cl-timeline { max-width: 56rem; }
.cl-filters {
  display: flex; gap: 0.5rem; margin: 0 0 1.5rem;
}
.cl-filter {
  font-family: inherit; font-size: 0.82rem; font-weight: 650;
  padding: 0.4rem 0.9rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--muted);
}
.cl-filter.on, .cl-filter:hover { color: #fff; border-color: var(--accent); background: rgba(13,182,253,0.1); }
.cl-stack { display: flex; flex-direction: column; gap: 1.25rem; padding-bottom: 3rem; }
.cl-card {
  position: relative;
  display: flex; gap: 2rem;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(to bottom right, #161920, #0b0d14);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
.cl-card.is-latest {
  border-color: rgba(13,182,253,0.28);
  box-shadow: 0 0 40px -12px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.04);
}
.cl-card.is-latest::before {
  content: "";
  position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(13,182,253,0.55), transparent);
}
.cl-meta {
  width: 9.25rem; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 0.7rem;
}
.cl-verpill {
  display: inline-flex; width: fit-content; max-width: 100%;
  font-family: var(--mono); font-size: 0.72rem; font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(13,182,253,0.28);
  background: rgba(13,182,253,0.1);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cl-date {
  font-size: 0.75rem; font-variant-numeric: tabular-nums; color: #8b90a5; font-weight: 600;
}
.cl-latest {
  display: inline-flex; align-items: center; gap: 0.35rem; width: fit-content;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid rgba(13,182,253,0.22);
  background: rgba(13,182,253,0.1);
  border-radius: 999px; padding: 0.2rem 0.6rem;
}
.cl-latest-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.cl-meta .cl-latest { display: none; }
.cl-body { min-width: 0; flex: 1; }
.cl-body-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
}
.cl-body h2 {
  font-size: 1.15rem; font-weight: 700; margin: 0; color: #fff; letter-spacing: -0.02em; line-height: 1.3;
}
.cl-sub { margin: 0.4rem 0 1.15rem; font-size: 0.9rem; color: #9aa0b5; line-height: 1.5; }
.cl-items {
  list-style: none; margin: 0; padding: 0 0 0 1.5rem;
  display: flex; flex-direction: column; gap: 0.15rem;
}
.cl-items li {
  position: relative;
  display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 0.28rem 0;
}
.cl-items li::before,
.cl-items li::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.12);
}
.cl-items li::before {
  left: -1.5rem; top: 0.95em; width: 1rem; height: 1px;
}
.cl-items li::after {
  left: -1.5rem; top: 0; bottom: 0; width: 1px;
}
.cl-items li:first-child::after { top: 0.95em; }
.cl-items li:last-child::after { bottom: auto; height: 0.95em; }
.cl-tag {
  flex-shrink: 0; margin-top: 0.12rem;
  display: inline-flex; align-items: center;
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: 999px; padding: 0.18rem 0.5rem; border: 1px solid;
}
.cl-tag--new { background: rgba(13,182,253,0.15); color: #7ad4ff; border-color: rgba(13,182,253,0.32); }
.cl-tag--improved { background: rgba(103,93,247,0.16); color: #c4bfff; border-color: rgba(103,93,247,0.35); }
.cl-tag--removed { background: rgba(248,113,113,0.12); color: #fca5a5; border-color: rgba(248,113,113,0.32); }
.cl-tag--note { background: rgba(255,255,255,0.05); color: #c5c9d8; border-color: rgba(255,255,255,0.12); }
.cl-item-text { color: #d0d4e2; font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 720px) {
  .cl-hero-row { flex-direction: column; }
  .cl-card { flex-direction: column; gap: 1rem; padding: 1.35rem; }
  .cl-meta { width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.55rem; }
  .cl-meta .cl-latest { display: inline-flex; }
  .cl-body-top .cl-latest { display: none; }
}

/* ——— Pricing comparison (Breeze grid) ——— */
body.page-pricing {
  background:
    radial-gradient(ellipse 80% 50% at 50% -12%, rgba(13, 182, 253, 0.12), transparent 50%),
    var(--bg);
}
.page-pricing .wrap { max-width: 1180px; }
.price-hero { padding: 3.75rem 0 2rem; max-width: 40rem; }
.price-hero h1 {
  font-size: clamp(2.6rem, 6vw, 3.5rem);
  font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  margin: 0 0 0.85rem; max-width: 14ch;
}
.price-hero p { color: var(--muted); margin: 0; max-width: 36rem; }
.price-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  margin: 0 0 1.75rem;
  border-radius: 16px;
  overflow: hidden;
}
.price-rail, .price-col {
  display: flex; flex-direction: column;
  background: #111318;
  border: 1px solid rgba(255,255,255,0.08);
}
.price-col { border-left: none; }
.price-rail { border-radius: 16px 0 0 16px; }
.price-col:last-child { border-radius: 0 16px 16px 0; }
.price-head {
  min-height: 15.5rem;
  padding: 2.4rem 1.4rem 1.4rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
}
.price-rail .price-head { justify-content: flex-start; padding-top: 2.4rem; }
.price-rail .price-head h2 {
  margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.02em;
}
.price-col .price-head { text-align: center; align-items: center; }
.price-col.is-hit .price-head { background: rgba(103, 93, 247, 0.1); position: relative; padding-top: 2.85rem; }
.price-badge {
  position: absolute; top: 1rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: #c4bfff;
  background: rgba(103, 93, 247, 0.22);
  border-radius: 8px; padding: 0.22rem 0.55rem;
}
.price-col h2 { margin: 0; font-size: 1.2rem; font-weight: 700; color: #f2f4fb; }
.price-amt {
  display: flex; align-items: baseline; justify-content: center; gap: 0.28rem;
}
.price-amt .cur { font-size: 1rem; font-weight: 600; color: #f2f4fb; }
.price-amt .val { font-size: 2.35rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; line-height: 1; }
.price-amt .per { font-size: 0.95rem; color: #8b90a5; font-weight: 500; }
.price-col .btn { min-width: 8.5rem; }
.price-band {
  height: 4rem;
  display: flex; align-items: center;
  padding: 0 1.5rem;
  background: #0c0e14;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9); font-weight: 600;
}
.price-col .price-band { justify-content: center; }
.price-feat, .price-cell {
  min-height: 5rem; height: 5rem;
  display: flex; align-items: center;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.price-feat { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.15rem; }
.price-feat strong { font-size: 0.88rem; font-weight: 600; color: #f4f6fd; }
.price-feat span { font-size: 0.75rem; color: #9aa0b5; line-height: 1.35; }
.price-cell { justify-content: center; }
.price-cell .price-feat-copy { display: none; }
.price-ico {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.07);
  color: #fff;
}
.price-ico.is-off { color: #8b90a5; }
.price-ico svg { display: block; }
.price-note {
  max-width: 38rem; margin: 0 auto 1.1rem; text-align: center;
  color: var(--muted); font-size: 0.9rem;
}
@media (max-width: 900px) {
  .price-grid { display: flex; flex-direction: column; gap: 1.25rem; }
  .price-rail { display: none; }
  .price-col, .price-col:last-child {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
  }
  .price-head { min-height: 0; padding: 1.6rem 1.25rem 1.25rem; }
  .price-band { display: none; }
  .price-feat, .price-cell { height: auto; min-height: 0; }
  .price-cell {
    justify-content: space-between; gap: 1rem;
  }
  .price-cell .price-feat-copy {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.15rem;
    text-align: left;
  }
  .price-cell .price-feat-copy strong { font-size: 0.88rem; color: #f4f6fd; }
  .price-cell .price-feat-copy span { font-size: 0.75rem; color: #9aa0b5; }
}

/* ——— Breeze footer ——— */
.site-footer.foot-breeze {
  margin: 4rem -1.5rem 0;
  padding: 3.5rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #08090e;
  font-size: 0.92rem;
}
.foot-inner { max-width: 1180px; margin: 0 auto; }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 1.4fr) repeat(4, minmax(7rem, 1fr));
  gap: 2rem 1.5rem;
  margin-bottom: 2.5rem;
}
.foot-brand .footer-tag { margin: 0.85rem 0 0; max-width: 18rem; color: #9aa0b5; line-height: 1.5; }
.foot-col { display: flex; flex-direction: column; gap: 0.45rem; }
.foot-col h3 {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin: 0 0 0.55rem; color: #8b90a5;
}
.foot-col a, .foot-col .cookie-footer-btn {
  color: #d0d4e2; text-decoration: none; font-weight: 500;
  background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer;
}
.foot-col a:hover, .foot-col .cookie-footer-btn:hover { color: #fff; }
.foot-base {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #8b90a5; font-size: 0.82rem;
}
.foot-base p { margin: 0; }
@media (max-width: 860px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* ——— GitBook-like docs ——— */
.docs-app {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body.page-docs .nav { margin: 0; }
.gb-layout {
  display: grid;
  grid-template-columns: 17.5rem minmax(0, 1fr);
  flex: 1;
  min-height: calc(100vh - 81px);
}
.gb-side {
  position: sticky; top: 81px;
  height: calc(100vh - 81px);
  overflow: auto;
  padding: 1rem 0.9rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  background: #08090e;
}
.gb-space-switch { margin: 0 0 0.85rem; }
.gb-space-switch > summary {
  list-style: none;
  display: flex; align-items: center; gap: 0.5rem;
  cursor: pointer;
  padding: 0.4rem 0.45rem;
  border-radius: 10px;
  font-size: 0.92rem; font-weight: 700; color: #fff;
}
.gb-space-switch > summary::-webkit-details-marker { display: none; }
.gb-space-switch > summary::after {
  content: "";
  margin-left: auto;
  width: 0.45rem; height: 0.45rem;
  border-right: 1.5px solid #8b90a5;
  border-bottom: 1.5px solid #8b90a5;
  transform: rotate(45deg);
  translate: 0 -0.1rem;
}
.gb-space-switch[open] > summary::after { transform: rotate(-135deg); translate: 0 0.12rem; }
.gb-space-switch > summary:hover { background: rgba(255,255,255,0.04); }
.gb-space-switch .nav-brand-mark { width: 20px; height: 20px; border-radius: 6px; }
.gb-spaces {
  display: flex; flex-direction: column; gap: 0.1rem;
  padding: 0.2rem 0 0.35rem;
}
.gb-spaces a {
  color: #9aa0b5; text-decoration: none; font-size: 0.88rem;
  padding: 0.4rem 0.55rem; border-radius: 8px;
}
.gb-spaces a:hover, .gb-spaces a.is-on { color: #fff; background: rgba(255,255,255,0.05); }
.gb-search {
  width: 100%; font-family: inherit; font-size: 0.85rem;
  padding: 0.52rem 0.75rem; border-radius: 10px; margin-bottom: 0.85rem;
  border: 1px solid rgba(255,255,255,0.08); background: #10131c; color: #fff;
}
.gb-search:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.gb-toc { display: flex; flex-direction: column; gap: 0.06rem; }
.gb-toc-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #6d7288;
  padding: 0.85rem 0.55rem 0.3rem;
}
.gb-toc a {
  color: #b4b8c7; text-decoration: none; font-size: 0.88rem;
  padding: 0.4rem 0.55rem; border-radius: 8px;
}
.gb-toc a:hover { color: #fff; background: rgba(255,255,255,0.05); }
.gb-toc a.is-on { color: #fff; background: rgba(13,182,253,0.1); }
.gb-body { min-width: 0; display: flex; flex-direction: column; }
.gb-article {
  max-width: 48rem; width: 100%; margin: 0 auto; padding: 2.35rem 1.75rem 4rem;
}
.gb-crumb {
  margin: 0 0 0.85rem;
  font-size: 0.78rem; font-weight: 600; color: #8b90a5; letter-spacing: 0.01em;
}
.gb-article > h1 { font-size: 2.15rem; margin: 0 0 1rem; letter-spacing: -0.03em; }
.gb-article > .lead, .gb-article > p.lead { font-size: 1.05rem; color: #c5c9d8; }
.gb-article h2 { font-size: 1.35rem; margin: 2.25rem 0 0.75rem; scroll-margin-top: 96px; }
.gb-article h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.gb-article p, .gb-article li { color: #c5c9d8; }
.gb-article a { color: var(--accent); }
.gb-article pre, .gb-article .code-block {
  background: #10131c; border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 1rem 1.1rem; overflow-x: auto;
  font-family: var(--mono); font-size: 0.82rem; line-height: 1.55; color: #e8eaf2;
}
.gb-article table {
  width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 1rem 0;
}
.gb-article th, .gb-article td {
  border: 1px solid rgba(255,255,255,0.08); padding: 0.55rem 0.7rem; text-align: left;
}
.gb-article th { background: #10131c; color: #fff; font-weight: 650; }
.gb-article .doc-callout {
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: rgba(52, 211, 153, 0.07);
  border-radius: 10px; padding: 0.9rem 1rem; margin: 1.1rem 0;
}
.gb-article .doc-callout-warn {
  border-color: rgba(240, 198, 116, 0.28);
  background: rgba(240, 198, 116, 0.07);
}
.gb-article .doc-callout p { margin: 0; color: #e8eaf2; }
.gb-pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.gb-pager a {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.9rem 1rem; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #10131c; text-decoration: none; color: #fff !important;
}
.gb-pager a:hover { border-color: rgba(13,182,253,0.45); }
.gb-pager a span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #8b90a5; }
.gb-pager a:last-child { text-align: right; align-items: flex-end; }
.page-docs .gb-body .panel,
.page-docs .gb-article .panel {
  background: transparent; border: 0; padding: 0; box-shadow: none; margin: 0 0 2rem;
}
.page-docs .gb-body .page-header,
.page-docs .gb-article .page-header {
  text-align: left; max-width: none; padding: 0 0 1.1rem; margin: 0;
}
.page-docs .gb-body .page-header h1,
.page-docs .gb-article .page-header h1 {
  font-size: 2.15rem;
}
.page-docs .gb-body .page-header .tagline,
.page-docs .gb-article .page-header .tagline {
  margin: 0.65rem 0 0; text-align: left; max-width: 40rem;
}
.page-docs .foot-breeze { margin-left: 0; margin-right: 0; margin-top: 0; }
@media (max-width: 900px) {
  .gb-layout { grid-template-columns: 1fr; }
  .gb-side {
    position: static; height: auto; border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .gb-pager { grid-template-columns: 1fr; }
  .gb-pager a:last-child { text-align: left; align-items: flex-start; }
}


.admin-body { margin: 0; }
.admin-gate-wrap { max-width: 480px; margin: 2rem auto; }
.admin-shell {
  display: flex;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
}
.admin-sidebar {
  width: 220px;
  flex-shrink: 0;
  background: var(--panel, #12141c);
  border-right: 1px solid var(--border-soft, rgba(255,255,255,0.08));
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  align-self: flex-start;
  min-height: 100vh;
}
.admin-sidebar-brand { font-weight: 700; padding: 0.25rem 0.5rem 1rem; }
.admin-nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }
.admin-nav-item {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted, #9aa3b2);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.admin-nav-item:hover { background: rgba(255,255,255,0.05); color: var(--text, #fff); }
.admin-nav-item.active {
  background: rgba(217, 178, 106, 0.12);
  color: var(--accent, #d9b26a);
}
.admin-sidebar-foot { margin-top: auto; padding-top: 1rem; }
.admin-main { flex: 1; padding: 1.75rem 1.5rem 2.5rem; min-width: 0; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.admin-form-span { grid-column: 1 / -1; }
.admin-inline-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; }
.admin-inline-form label { flex: 1; min-width: 200px; }
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.admin-stat {
  padding: 1.15rem 1.25rem;
  background: var(--bg-soft, rgba(255,255,255,0.04));
  border: 1px solid var(--border-soft, rgba(255,255,255,0.08));
  border-radius: 12px;
}
.data-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.data-table th, .data-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.1));
  text-align: left;
  vertical-align: top;
}
.data-table th { color: var(--muted, #9aa3b2); font-weight: 600; }
.data-table-wrap { overflow-x: auto; margin-top: 0.75rem; }
.btn-sm { padding: 0.35rem 0.5rem; font-size: 0.75rem; }
.btn-danger { color: #f87171 !important; }
@media (max-width: 720px) {
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; min-height: auto; position: static; }
}
