/* generated by scripts/bundle-apex-css.sh — do not edit */
:root {
  color-scheme: dark;
  --bg: #050810;
  --card: #0b1220cc;
  --line: #ffffff14;
  --text: #e8eef6;
  --muted: #8b9bb0;
  --cyan: #45cefc;
  --blue: #0d7ae3;
  --violet: #6c44dd;
  --mag: #b6229c;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 420px at 8% -10%, #45cefc22, transparent 55%),
    radial-gradient(700px 380px at 100% 0%, #b6229c22, transparent 50%),
    radial-gradient(600px 400px at 70% 110%, #6c44dd18, transparent 45%);
}
.wrap { position: relative; z-index: 1; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem 4rem; }
header.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 0 .85rem;
}
.top-actions {
  display: flex; align-items: center; justify-content: flex-end;
  gap: .75rem; flex-wrap: wrap; margin-left: auto;
}
.top-actions #gate { margin: 0; min-height: 0; flex: none; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.brand img { width: 2.15rem; height: 2.15rem; display: block; }
.brand b { letter-spacing: .12em; font-size: .82rem; }
.brand em { font-style: normal; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.who { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .8rem; }
.who canvas { border-radius: 6px; }
.who code { color: var(--text); font-size: .75rem; }
nav.bar {
  display: flex; flex-wrap: wrap; gap: .35rem;
  border-bottom: 1px solid var(--line); padding: 0 0 .85rem;
}
nav.bar a, nav.bar span {
  font: 600 12px system-ui; letter-spacing: .04em; text-transform: uppercase;
  padding: .4rem .7rem; border-radius: 7px; text-decoration: none;
  color: var(--muted); border: 1px solid transparent;
}
nav.bar a:hover { color: var(--text); border-color: #ffffff22; }
nav.bar a.on { color: var(--text); background: #45cefc14; border-color: #45cefc44; }
nav.bar a.has-badge::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 5px;
  border-radius: 50%;
  background: #ff4466;
  box-shadow: 0 0 8px #ff446688;
  vertical-align: top;
  transform: translateY(1px);
}
nav.bar span.off { opacity: .45; cursor: not-allowed; }
hero, .hero { padding: 1.6rem 0 1.2rem; }
.hero-band {
  display: grid; gap: 1.1rem; padding: 1.6rem 0 1.2rem; align-items: start;
}
.hero-copy { min-width: 0; }
.hero-copy h1 { margin: 0 0 .6rem; }
.hero-copy .lead { max-width: none; }
@media (min-width: 900px) {
  .hero-band.has-create { grid-template-columns: minmax(0, 1fr) 22rem; }
}
.create-card { align-self: start; }
.apps-list { display: flex; flex-direction: column; gap: 1rem; }
#panel { padding-bottom: .5rem; }
h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  font-weight: 650; letter-spacing: -.03em;
  margin: 0 0 .6rem; line-height: 1.15;
}
.lead { max-width: 38rem; color: var(--muted); margin: 0; }
.lead strong { color: var(--text); font-weight: 600; }
.hero #gate { margin: 1.4rem 0 0; min-height: 42px; }
.grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 840px) {
  .grid { grid-template-columns: 22rem 1fr; align-items: start; }
  .grid.push { grid-template-columns: 1fr 22rem; }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem 1.25rem;
  backdrop-filter: blur(16px);
}
.card h2 { margin: 1rem 0 .35rem; font-size: 1rem; }
.card > h2:first-child { margin-top: 0; }
.hint { color: var(--muted); font-size: .82rem; margin: 0 0 1rem; }
label { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: .7rem 0 .3rem; }
input, textarea, select {
  width: 100%; background: #070b12; color: var(--text);
  border: 1px solid #ffffff1a; border-radius: 8px;
  padding: .62rem .7rem; font: inherit;
}
input:focus, textarea:focus, select:focus { outline: 1px solid #45cefc66; border-color: #45cefc55; }
textarea { min-height: 5.2rem; font: 13px/1.4 ui-monospace, SFMono-Regular, monospace; resize: vertical; }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; align-items: end; margin: 0 0 1rem; }
.filters .f { flex: 1 1 8rem; min-width: 7rem; }
.filters .f.grow { flex: 2 1 14rem; }
.go {
  margin-top: 1rem; width: 100%;
  background: linear-gradient(105deg, var(--cyan), var(--blue) 40%, var(--violet) 72%, var(--mag));
  color: #fff; border: 0; border-radius: 999px;
  padding: .7rem 1rem; font: 650 14px system-ui; cursor: pointer;
}
.go:disabled { opacity: .55; cursor: wait; }
.err { color: #ff8a8a; font-size: .85rem; margin-top: .65rem; }
.app { margin-bottom: 0; }
.app + .app { margin-top: 1rem; }
.row { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; flex-wrap: wrap; }
.id { font: 12px/1.4 ui-monospace, monospace; color: var(--muted); word-break: break-all; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .55rem 0 .8rem; }
.chip {
  font: 11px ui-monospace, monospace; color: var(--cyan);
  border: 1px solid #45cefc33; background: #45cefc0d;
  padding: .2rem .45rem; border-radius: 999px;
}
pre {
  margin: 0; padding: .85rem .9rem; overflow: auto;
  background: #070b12; border: 1px solid #ffffff12; border-radius: 10px;
  font: 12px/1.45 ui-monospace, monospace; color: #d5e4f2;
}
pre.prompt { max-height: 14rem; white-space: pre-wrap; }
.howto { margin: 0 0 .85rem; padding: 0 0 0 1.15rem; color: var(--muted); font-size: .84rem; }
.howto li { margin: .28rem 0; }
.howto code { color: var(--text); font-size: .8em; }
.ghost {
  flex: none; background: transparent; color: var(--text);
  border: 1px solid #ffffff22; border-radius: 999px;
  padding: .32rem .55rem; font: 600 12px system-ui; cursor: pointer;
}
a.ghost {
  display: inline-block; text-decoration: none; color: var(--text);
}
a.ghost:hover { text-decoration: none; color: var(--text); }
.card > .ghost { margin: .4rem 0 0; }
.ghost:hover { border-color: #45cefc66; }
.danger { color: #ff8a8a; border-color: #ff8a8a44; }
.danger:hover { border-color: #ff8a8aaa; }
.empty { color: var(--muted); padding: 1.5rem 0; text-align: center; }
footer {
  margin-top: 2.5rem; color: var(--muted); font-size: .78rem;
  border-top: 1px solid var(--line); padding-top: 1rem;
}
a { color: var(--cyan); }
[hidden] { display: none !important; }
table.subs { width: 100%; border-collapse: collapse; font-size: .84rem; }
table.subs th {
  text-align: left; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding: .4rem .45rem; border-bottom: 1px solid var(--line);
}
table.subs td { padding: .55rem .45rem; border-bottom: 1px solid #ffffff0a; vertical-align: top; }
table.subs tr { cursor: pointer; }
table.subs tr:hover { background: #45cefc0c; }
table.subs tr.on { background: #45cefc18; }
table.subs code { font-size: .75rem; }
table.subs td.clip { max-width: 14rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread {
  display: flex; flex-direction: column; gap: .55rem;
  max-height: 22rem; overflow: auto; margin: 0 0 .85rem;
  padding: .15rem 0;
}
.bubble {
  padding: .55rem .7rem; border-radius: 10px;
  background: #070b12; border: 1px solid #ffffff12;
  white-space: pre-wrap; word-break: break-word; font-size: .84rem;
}
.bubble.admin { background: #45cefc14; border-color: #45cefc33; }
.bubble .meta { font-size: .68rem; color: var(--muted); margin-bottom: .25rem; }
.bubble img.shot { display: block; max-width: 100%; margin-top: .45rem; border-radius: 8px; cursor: zoom-in; }
.shot-full {
  position: fixed; inset: 0; z-index: 40;
  display: grid; place-items: center;
  padding: 1.5rem; background: #000c; cursor: zoom-out;
}
.shot-full img { max-width: min(96vw, 1400px); max-height: 94vh; object-fit: contain; border-radius: 10px; }
.pager { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .85rem; color: var(--muted); font-size: .8rem; }
.preview {
  background: #111; border-radius: 12px; padding: .85rem 1rem; margin-top: .6rem;
  border: 1px solid #ffffff18; max-width: 20rem;
}
.preview .t { font: 650 13px system-ui; }
.preview .b { font-size: .8rem; color: #c8d4e0; margin-top: .25rem; }
.preview .s { font-size: .7rem; color: var(--muted); margin-top: .35rem; }
.checks { display: flex; flex-direction: column; gap: .35rem; margin: .5rem 0; }
.checks label { text-transform: none; letter-spacing: 0; font-size: .85rem; color: var(--text); display: flex; gap: .45rem; align-items: center; margin: 0; }
.checks input { width: auto; }
.checks label.off { opacity: .45; cursor: not-allowed; }

.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 0 0 1rem; }
.kpi {
  background: #070b12; border: 1px solid var(--line); border-radius: 10px;
  padding: .75rem .85rem;
}
.kpi .l { display: block; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kpi .n { display: block; font-size: 1.55rem; font-weight: 650; letter-spacing: -.03em; margin-top: .15rem; }

.rank-list { display: flex; flex-direction: column; gap: .75rem; margin-top: .5rem; }
.rank-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  flex-wrap: wrap; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px;
  background: #070b12aa;
}
.rank-row--pending { opacity: .85; }
.rank-row-main { min-width: 0; flex: 1 1 12rem; }
.rank-row-title {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  font-size: 1rem; font-weight: 650; margin: 0 0 .25rem;
}
.rank-row-title a { color: var(--text); text-decoration: none; }
.rank-row-title a:hover { color: var(--cyan); text-decoration: underline; }
.rank-pill {
  font: 700 12px ui-monospace, monospace; color: var(--cyan);
  border: 1px solid #45cefc44; background: #45cefc12; padding: .12rem .45rem; border-radius: 999px;
}
.rank-row-meta { color: var(--muted); font-size: .84rem; margin: 0 0 .35rem; }
.rank-cat {
  display: flex; align-items: center; gap: .5rem;
  font-size: .84rem; color: var(--muted); margin: 0 0 .35rem;
}
.rank-cat--inline { margin: 0 0 .85rem; }
.rank-cat select {
  font: inherit; color: var(--text);
  background: #070b12; border: 1px solid var(--line); border-radius: 8px;
  padding: .25rem .45rem; min-width: 10rem;
}
.rank-row-actions { flex: none; align-self: center; }
.chart {
  display: flex; align-items: flex-end; gap: 3px; height: 8.5rem;
  margin: 0 0 1.25rem; padding: .4rem .2rem 0;
  border-bottom: 1px solid var(--line);
}
.chart .bar {
  flex: 1; min-width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--violet));
  border-radius: 3px 3px 0 0; opacity: .85;
}
.split { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split h2 { margin-top: .4rem; }
.split table.subs tr { cursor: default; }
.apex-wrap { max-width: 64rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

header.apex-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.apex-end {
  display: flex;
  align-items: center;
  gap: .85rem 1.25rem;
}

.apex-dogfood-auth {
  flex-shrink: 0;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
}

.apex-dogfood-auth:empty {
  min-width: 0;
  min-height: 0;
}

.apex-burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #ffffff1c;
  background: #ffffff08;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.apex-burger-box {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.apex-burger-box span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform .2s ease, opacity .2s ease;
}

nav.apex-nav {
  border-bottom: none;
  padding: 0;
  gap: .15rem;
}

nav.apex-nav a {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 550;
  font-size: .9rem;
  padding: .38rem .58rem;
}

.lang {
  position: relative;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--text);
  text-decoration: none;
  border: 1px solid #ffffff18;
  background: #ffffff06;
  border-radius: 999px;
  padding: .45rem .85rem;
  font: 600 .78rem/1.2 ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}

.lang-current strong {
  color: var(--text);
  font-size: .78rem;
  font-weight: 650;
}

.lang-current span {
  display: block;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 500;
}

.lang-current::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  flex: none;
}

.lang.is-open .lang-current::after {
  transform: rotate(-135deg) translateY(-1px);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .5rem);
  width: min(14rem, calc(100vw - 2rem));
  display: none;
  background: #0b1220;
  border: 1px solid #ffffff14;
  border-radius: 14px;
  padding: .45rem;
  box-shadow: 0 18px 40px #0008;
  z-index: 20;
}

.lang.is-open .lang-menu {
  display: grid;
  gap: .15rem;
}

.lang-item {
  display: block;
  text-decoration: none;
  color: var(--text);
  border-radius: 10px;
  padding: .55rem .75rem;
  font: 550 .82rem/1.3 ui-sans-serif, system-ui, sans-serif;
}

.lang-item:hover,
.lang-item[aria-current="page"] {
  background: #ffffff08;
}

.lang-item strong {
  display: block;
  color: var(--text);
  font-size: .84rem;
  font-weight: 650;
}

.lang-item span {
  display: none;
}

.stage {
  min-height: min(78svh, 42rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 0 3rem;
  max-width: 38rem;
  border-bottom: 1px solid var(--line);
}

.stage h1 {
  font-size: clamp(1.95rem, 4.8vw, 2.95rem);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 0 0 .9rem;
}

.stage .lead {
  max-width: 35rem;
  font-size: 1.05rem;
  line-height: 1.58;
  margin: 0;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.85rem;
}

a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: .78rem 1.35rem;
  font: 650 15px/1.2 ui-sans-serif, system-ui, sans-serif;
}

a.btn.primary {
  background: #0d7ae3;
  color: #fff;
  border: 1px solid #0d7ae3;
}

a.btn.primary:hover { background: #0a6bc9; }

a.btn.secondary {
  color: var(--text);
  border: 1px solid #ffffff28;
  background: transparent;
}

a.btn.secondary:hover { border-color: #45cefc66; }

.block {
  margin: 2.75rem 0 0;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.block > h2 {
  margin: 0 0 1.1rem;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.mods {
  display: grid;
  gap: 1.5rem 1.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .mods { grid-template-columns: 1fr 1fr; }
}

.mods article {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.mods .k {
  display: block;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: .35rem;
  font-weight: 650;
}

.mods article h2 {
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -.02em;
}

.mods article p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
  margin: 0;
  max-width: 28rem;
}

.notes {
  margin: 2.4rem 0 0;
  display: grid;
  gap: 1.15rem;
  max-width: 42rem;
}

.notes p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

.notes strong {
  color: var(--text);
  font-weight: 650;
  display: block;
  margin-bottom: .2rem;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.notes a { font-weight: 600; }

.page { padding: 2.1rem 0 3rem; max-width: 42rem; }
.page h1 { margin-bottom: .45rem; }
.page .lead { margin-bottom: 1.4rem; }
.page h2 {
  margin: 1.7rem 0 .45rem;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.page p, .page li { color: var(--muted); line-height: 1.56; }
.page p strong, .page li strong { color: var(--text); font-weight: 600; }
.page ul { margin: 0; padding: 0 0 0 1.15rem; }
.page li { margin: .35rem 0; }

.values {
  display: grid;
  gap: 1.25rem 1.75rem;
  grid-template-columns: 1fr;
  margin: 1rem 0 0;
}

@media (min-width: 720px) {
  .values { grid-template-columns: 1fr 1fr; }
}

.values .card {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
}

.values .card h2 { margin: 0 0 .35rem; font-size: 1rem; }
.values .card p { margin: 0; color: var(--muted); font-size: .9rem; }

.apex-wrap > footer,
footer.site-foot {
  margin-top: 3.5rem;
  padding: 2rem 0 2.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .82rem;
}

.site-foot {
  display: grid;
  gap: 1.75rem 2.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .site-foot {
    grid-template-columns: minmax(10rem, 1fr) auto;
    align-items: start;
  }
}

.site-foot-brand {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.site-foot-brand strong {
  color: var(--text);
  font-size: .82rem;
  letter-spacing: .12em;
  font-weight: 650;
}

.site-foot-brand span { font-size: .78rem; line-height: 1.4; }

.site-foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.75rem;
}

.site-foot-cols > div {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 8rem;
}

.site-foot-h {
  color: var(--text);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 650;
  margin-bottom: .15rem;
}

.site-foot-cols a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.site-foot-cols a:hover { color: var(--cyan); }

@media (max-width: 719px) {
  header.apex-top {
    align-items: center;
    gap: .8rem;
  }

  .apex-burger {
    display: inline-flex;
  }

  .apex-end {
    position: absolute;
    top: calc(100% + .4rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
    padding: .9rem;
    background: #0b1220;
    border: 1px solid #ffffff14;
    border-radius: 14px;
    box-shadow: 0 18px 40px #0008;
    z-index: 15;
  }

  .apex-top[data-nav-open="true"] .apex-end {
    display: flex;
  }

  nav.apex-nav {
    display: grid;
    gap: .25rem;
  }

  nav.apex-nav a {
    display: block;
    padding: .7rem .2rem;
    border-bottom: 1px solid #ffffff0c;
  }

  .lang-current {
    width: 100%;
    justify-content: space-between;
    border-radius: 12px;
    padding: .7rem .8rem;
  }

  .lang-menu {
    position: static;
    width: 100%;
    margin-top: .45rem;
    box-shadow: none;
    background: #ffffff05;
  }

  .stage {
    min-height: auto;
    padding: 1.6rem 0 2.35rem;
  }

  .stage .lead {
    font-size: 1rem;
  }

  .site-foot-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1rem;
  }
}
