:root {
  --primary: #0047ab;
  --primary-d: #003580;
  --primary-l: #0056b3;
  --primary-50: rgba(0, 71, 171, .08);
  --secondary: #b2e646;
  --secondary-d: #8fb832;
  --ink: #102033;
  --muted: #5b6b7c;
  --line: rgba(16, 32, 51, .12);
  --surface: rgba(255, 255, 255, .86);
  --danger: #c0392b;
  --ok: #1f7a3f;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(16, 32, 51, .12);
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --display: "IBM Plex Sans", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(0, 71, 171, .18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(178, 230, 70, .22), transparent 50%),
    linear-gradient(180deg, #f4f7fb 0%, #e8eef7 100%);
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-d); }

.wrap { width: min(1120px, calc(100% - 2rem)); margin: 0 auto; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}
.brand {
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--ink);
  font-size: 1.15rem;
}
.brand span { color: var(--primary); }
.nav-actions { display: flex; gap: .6rem; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 0;
  border-radius: 999px;
  padding: .7rem 1.15rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(0, 71, 171, .25); }
.btn-primary:hover { background: var(--primary-d); color: #fff; }
.btn-secondary { background: var(--secondary); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: .45rem .85rem; font-size: .9rem; }

.hero {
  display: grid;
  align-items: end;
  min-height: calc(100vh - 5.5rem);
  padding: 2rem 0 3.5rem;
}
.hero-panel {
  max-width: 38rem;
  animation: rise .7s ease both;
}
.hero h1 {
  margin: 0 0 .8rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.hero p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 32rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.shell { padding: 1.25rem 0 3rem; }
.panel {
  background: #fff;
  border: 1px solid rgba(16, 32, 51, .1);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(16, 32, 51, .06);
  padding: 1.25rem;
}
.panel + .panel { margin-top: 1rem; }

.page-title { margin: 0 0 1rem; font-size: 1.45rem; color: #061530; }
.muted { color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat {
  padding: 1.05rem 1.1rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f5f8fc);
  border: 1px solid rgba(16, 32, 51, .08);
}
.stat strong { display: block; font-size: 1.6rem; margin-top: .2rem; color: #061530; }

/* —— Console shell (admin / applicant) —— */
.console {
  --c-bg: #e8eef8;
  --c-side: #061530;
  --c-side-2: #0a1f45;
  --c-line: rgba(140, 180, 255, .12);
  --c-text: #e8eef7;
  --c-muted: #9eb2d0;
  --c-accent: #76e16b;
  --c-ink: #102033;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  background: var(--c-bg);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--c-ink);
}
.console-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(3, 13, 31, .45);
  z-index: 40;
}
.console-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(500px 240px at 0% 0%, rgba(118, 225, 107, .12), transparent 55%),
    linear-gradient(180deg, var(--c-side), var(--c-side-2));
  color: var(--c-text);
  border-right: 1px solid var(--c-line);
  padding: 1rem .85rem 1rem;
  z-index: 50;
}
.console-sidebar__brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .35rem .45rem .85rem;
  border-bottom: 1px solid var(--c-line);
}
.console-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .02em;
}
.console-brand img { display: block; height: 28px; width: auto; }
.console-brand span {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-accent);
  border-left: 1px solid rgba(255,255,255,.18);
  padding-left: .65rem;
}
.console-sidebar__close {
  display: none;
  border: 0;
  background: rgba(255,255,255,.08);
  color: #fff;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
}
.console-sidebar__meta { padding: .9rem .45rem .35rem; }
.console-pill {
  display: inline-flex;
  align-items: center;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: rgba(118, 225, 107, .12);
  color: var(--c-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.console-nav {
  flex: 1;
  overflow: auto;
  padding: .35rem .2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.console-nav__label {
  margin: .95rem .55rem .35rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(158, 178, 208, .75);
}
.console-nav__label:first-child { margin-top: .35rem; }
.console-nav__link {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .72rem .75rem;
  border-radius: 11px;
  color: var(--c-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: background .15s ease, color .15s ease;
}
.console-nav__link svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}
.console-nav__link:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.console-nav__link.is-active {
  background: linear-gradient(90deg, rgba(118, 225, 107, .18), rgba(61, 126, 255, .12));
  color: #fff;
  box-shadow: inset 3px 0 0 var(--c-accent);
}
.console-sidebar__foot {
  border-top: 1px solid var(--c-line);
  padding: .9rem .45rem 0;
}
.console-user-mini {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .35rem;
}
.console-user-mini__avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(118, 225, 107, .18);
  color: var(--c-accent);
  font-weight: 700;
  flex: 0 0 auto;
}
.console-user-mini strong {
  display: block;
  color: #fff;
  font-size: .9rem;
  line-height: 1.2;
}
.console-user-mini em {
  display: block;
  font-style: normal;
  color: var(--c-muted);
  font-size: .75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 10.5rem;
}

.console-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.console-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding: .85rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(232, 238, 248, .88));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 32, 51, .08);
  box-shadow: 0 8px 24px rgba(6, 21, 48, .04);
}
.console-header__left,
.console-header__right {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}
.console-menu-btn,
.console-icon-btn {
  display: none;
  border: 1px solid rgba(16, 32, 51, .12);
  background: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  place-items: center;
  cursor: pointer;
  color: #061530;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.console-icon-btn { display: grid; }
.console-menu-btn svg,
.console-icon-btn svg { width: 1.15rem; height: 1.15rem; }
.console-icon-btn:hover,
.console-menu-btn:hover {
  border-color: rgba(0, 71, 171, .35);
  background: #f4f7fb;
}
.console-icon-btn .icon-moon { display: none; }
.console-theme-dark .console-icon-btn .icon-sun { display: none; }
.console-theme-dark .console-icon-btn .icon-moon { display: block; }

.console-header__eyebrow {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5b6b7c;
}
.console-header__title {
  margin: .15rem 0 0;
  font-size: 1.28rem;
  font-weight: 700;
  color: #061530;
  line-height: 1.2;
}
.console-header__actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }

.console-user-menu { position: relative; }
.console-avatar-btn {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .28rem .55rem .28rem .28rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 32, 51, .12);
  background: #fff;
  color: #061530;
  cursor: pointer;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.console-avatar-btn:hover,
.console-user-menu.is-open .console-avatar-btn {
  border-color: rgba(0, 71, 171, .35);
  box-shadow: 0 8px 20px rgba(6, 21, 48, .08);
}
.console-avatar-btn__letter {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #061530, #0a1f45);
  color: #76e16b;
  font-weight: 700;
  font-size: .95rem;
  flex: 0 0 auto;
}
.console-avatar-btn__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  min-width: 0;
  text-align: left;
}
.console-avatar-btn__meta strong {
  font-size: .88rem;
  max-width: 9.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.console-avatar-btn__meta em {
  font-style: normal;
  font-size: .72rem;
  color: #5b6b7c;
  font-weight: 600;
}
.console-avatar-btn__caret {
  width: 1rem;
  height: 1rem;
  color: #5b6b7c;
  transition: transform .15s ease;
}
.console-user-menu.is-open .console-avatar-btn__caret { transform: rotate(180deg); }

.console-user-dropdown {
  position: absolute;
  top: calc(100% + .55rem);
  right: 0;
  width: min(260px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid rgba(16, 32, 51, .1);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(6, 21, 48, .18);
  padding: .45rem;
  z-index: 40;
  animation: consoleDrop .14s ease;
}
@keyframes consoleDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.console-user-dropdown__head {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem .7rem .8rem;
  border-bottom: 1px solid rgba(16, 32, 51, .08);
  margin-bottom: .35rem;
}
.console-user-dropdown__head strong {
  display: block;
  font-size: .92rem;
  color: #061530;
}
.console-user-dropdown__head em {
  display: block;
  font-style: normal;
  font-size: .76rem;
  color: #5b6b7c;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 11rem;
}
.console-user-dropdown a,
.console-user-dropdown button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #102033;
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}
.console-user-dropdown a svg,
.console-user-dropdown button svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}
.console-user-dropdown a:hover,
.console-user-dropdown button:hover {
  background: rgba(0, 71, 171, .08);
  color: #003580;
}
.console-user-dropdown button.is-danger { color: #b42318; }
.console-user-dropdown button.is-danger:hover {
  background: rgba(192, 57, 43, .1);
  color: #912018;
}
.console-user-dropdown form { margin: .2rem 0 0; padding-top: .2rem; border-top: 1px solid rgba(16, 32, 51, .08); }

.console-content {
  padding: 1.25rem 1.5rem 2.5rem;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

/* Dark mode — console */
html.console-theme-dark,
html.console-theme-dark body {
  background: #07111f;
  color: #e8eef7;
}
.console.console--dark,
html.console-theme-dark .console {
  --c-bg: #07111f;
  --c-ink: #e8eef7;
  background: var(--c-bg);
  color: var(--c-ink);
}
.console.console--dark .console-header,
html.console-theme-dark .console-header {
  background: linear-gradient(180deg, rgba(10, 22, 40, .96), rgba(7, 17, 31, .92));
  border-bottom-color: rgba(140, 180, 255, .1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
}
.console.console--dark .console-header__title,
html.console-theme-dark .console-header__title { color: #fff; }
.console.console--dark .console-header__eyebrow,
html.console-theme-dark .console-header__eyebrow { color: #9eb2d0; }
.console.console--dark .console-icon-btn,
.console.console--dark .console-menu-btn,
.console.console--dark .console-avatar-btn,
html.console-theme-dark .console-icon-btn,
html.console-theme-dark .console-menu-btn,
html.console-theme-dark .console-avatar-btn {
  background: #0f1b2d;
  border-color: rgba(140, 180, 255, .14);
  color: #e8eef7;
}
.console.console--dark .console-icon-btn:hover,
.console.console--dark .console-menu-btn:hover,
.console.console--dark .console-avatar-btn:hover,
html.console-theme-dark .console-icon-btn:hover,
html.console-theme-dark .console-menu-btn:hover,
html.console-theme-dark .console-avatar-btn:hover {
  background: #13233a;
  border-color: rgba(118, 225, 107, .35);
}
.console.console--dark .console-avatar-btn__meta em,
.console.console--dark .console-avatar-btn__caret,
html.console-theme-dark .console-avatar-btn__meta em,
html.console-theme-dark .console-avatar-btn__caret { color: #9eb2d0; }
.console.console--dark .console-user-dropdown,
html.console-theme-dark .console-user-dropdown {
  background: #0f1b2d;
  border-color: rgba(140, 180, 255, .14);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .45);
}
.console.console--dark .console-user-dropdown__head,
.console.console--dark .console-user-dropdown form,
html.console-theme-dark .console-user-dropdown__head,
html.console-theme-dark .console-user-dropdown form {
  border-color: rgba(140, 180, 255, .12);
}
.console.console--dark .console-user-dropdown__head strong,
.console.console--dark .console-user-dropdown a,
html.console-theme-dark .console-user-dropdown__head strong,
html.console-theme-dark .console-user-dropdown a { color: #e8eef7; }
.console.console--dark .console-user-dropdown__head em,
html.console-theme-dark .console-user-dropdown__head em { color: #9eb2d0; }
.console.console--dark .console-user-dropdown a:hover,
html.console-theme-dark .console-user-dropdown a:hover {
  background: rgba(118, 225, 107, .1);
  color: #76e16b;
}
.console.console--dark .panel,
html.console-theme-dark .console .panel {
  background: #0f1b2d;
  border-color: rgba(140, 180, 255, .12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
  color: #e8eef7;
}
.console.console--dark .stat,
html.console-theme-dark .console .stat {
  background: linear-gradient(180deg, #122038, #0f1b2d);
  border-color: rgba(140, 180, 255, .12);
}
.console.console--dark .stat strong,
.console.console--dark .page-title,
html.console-theme-dark .console .stat strong,
html.console-theme-dark .console .page-title { color: #fff; }
.console.console--dark .muted,
.console.console--dark .table th,
html.console-theme-dark .console .muted,
html.console-theme-dark .console .table th { color: #9eb2d0; }
.console.console--dark .table th,
.console.console--dark .table td,
html.console-theme-dark .console .table th,
html.console-theme-dark .console .table td {
  border-bottom-color: rgba(140, 180, 255, .1);
  color: #e8eef7;
}
.console.console--dark .table a,
html.console-theme-dark .console .table a { color: #76e16b; }
.console.console--dark input,
.console.console--dark textarea,
.console.console--dark select,
html.console-theme-dark .console input,
html.console-theme-dark .console textarea,
html.console-theme-dark .console select {
  background: #0a1526;
  border-color: rgba(140, 180, 255, .18);
  color: #e8eef7;
}
.console.console--dark input:disabled,
html.console-theme-dark .console input:disabled {
  opacity: .7;
  background: #0a1526;
}
.console.console--dark .console-pager__btn,
html.console-theme-dark .console .console-pager__btn {
  background: #0f1b2d;
  border-color: rgba(140, 180, 255, .14);
  color: #e8eef7;
}
.console.console--dark .console-pager__meta,
html.console-theme-dark .console .console-pager__meta { color: #9eb2d0; }
.console.console--dark .alert-success,
html.console-theme-dark .console .alert-success {
  background: rgba(118, 225, 107, .12);
  border-color: rgba(118, 225, 107, .28);
  color: #b7f7ae;
}
.console.console--dark .alert-error,
html.console-theme-dark .console .alert-error {
  background: rgba(192, 57, 43, .16);
  border-color: rgba(192, 57, 43, .35);
  color: #ffb4a9;
}
.console.console--dark .alert-warn,
html.console-theme-dark .console .alert-warn {
  background: rgba(245, 198, 66, .12);
  border-color: rgba(245, 198, 66, .28);
  color: #ffe08a;
}
.console.console--dark label,
html.console-theme-dark .console label { color: #d7e7ff; }
.console-pager {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
}
.console-pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  padding: .55rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 32, 51, .12);
  background: #fff;
  color: #061530;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
}
.console-pager__btn:hover { border-color: rgba(0, 71, 171, .35); color: var(--primary); }
.console-pager__btn.is-disabled {
  opacity: .45;
  pointer-events: none;
}
.console-pager__meta {
  color: #5b6b7c;
  font-size: .88rem;
  font-weight: 600;
}

.console .app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.console .app-bar .page-title { margin: 0; }

/* Admin dashboard */
.dash-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(118, 225, 107, .18), transparent 55%),
    linear-gradient(135deg, #061530, #0a1f45);
  color: #e8eef7;
}
.dash-hero__kicker {
  margin: 0 0 .35rem;
  color: #76e16b;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dash-hero h2 {
  margin: 0 0 .35rem;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  color: #fff;
}
.dash-hero p {
  margin: 0;
  color: #9eb2d0;
  max-width: 36rem;
  line-height: 1.5;
}
.dash-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.dash-hero__chips span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(140, 180, 255, .14);
  font-size: .84rem;
  color: #d7e7ff;
}
.dash-hero__chips strong { color: #76e16b; }

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
}
.dash-kpi {
  background: #fff;
  border: 1px solid rgba(16, 32, 51, .08);
  border-radius: 14px;
  padding: 1.05rem 1.1rem;
  box-shadow: 0 10px 28px rgba(16, 32, 51, .05);
  display: flex;
  flex-direction: column;
  gap: .25rem;
  min-height: 7.2rem;
}
.dash-kpi__label {
  color: #5b6b7c;
  font-size: .84rem;
  font-weight: 600;
}
.dash-kpi strong {
  font-size: 1.75rem;
  color: #061530;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.dash-kpi em {
  font-style: normal;
  color: #5b6b7c;
  font-size: .82rem;
}
.dash-kpi a {
  margin-top: auto;
  font-weight: 700;
  font-size: .86rem;
}
.dash-delta.is-up { color: #1f7a3f; }
.dash-delta.is-down { color: #c0392b; }
.dash-delta.is-flat { color: #5b6b7c; }

.dash-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
}
.dash-action {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(16, 32, 51, .08);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.dash-action:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 71, 171, .28);
  box-shadow: 0 14px 30px rgba(16, 32, 51, .08);
  color: inherit;
}
.dash-action__id {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  color: #76e16b;
  background: #061530;
  border-radius: 999px;
  padding: .2rem .5rem;
  margin-bottom: .55rem;
}
.dash-action strong {
  display: block;
  color: #061530;
  margin-bottom: .25rem;
}
.dash-action p {
  margin: 0;
  color: #5b6b7c;
  font-size: .88rem;
  line-height: 1.45;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: .85rem;
  margin-bottom: 1rem;
}
.dash-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dash-panel { margin: 0; }
.dash-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .9rem;
}
.dash-panel__head h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #061530;
}
.dash-panel__head a { font-weight: 700; font-size: .88rem; }

.dash-spark {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .45rem;
  align-items: end;
  height: 140px;
  margin-bottom: .85rem;
}
.dash-spark__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: .4rem;
}
.dash-spark__bar {
  width: 100%;
  max-width: 2rem;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #76e16b, #0047ab);
  min-height: 8px;
}
.dash-spark__col span {
  font-size: .72rem;
  font-weight: 700;
  color: #5b6b7c;
}
.dash-spark__legend {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
  color: #5b6b7c;
  font-size: .86rem;
}
.dash-spark__legend strong { color: #061530; }

.dash-eco {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
}
.dash-eco div {
  background: rgba(6, 21, 48, .04);
  border-radius: 10px;
  padding: .7rem .8rem;
}
.dash-eco strong {
  display: block;
  font-size: 1.1rem;
  color: #061530;
  font-variant-numeric: tabular-nums;
}
.dash-eco span {
  color: #5b6b7c;
  font-size: .8rem;
  font-weight: 600;
}

.dash-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.dash-list li {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(16, 32, 51, .08);
}
.dash-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.dash-list strong {
  display: block;
  font-size: .92rem;
  color: #061530;
}
.dash-list em {
  display: block;
  font-style: normal;
  color: #5b6b7c;
  font-size: .78rem;
  margin-top: .15rem;
}
.dash-list__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
  flex: 0 0 auto;
}
.dash-list__right a { font-size: .82rem; font-weight: 700; }
.dash-hits { color: #061530; font-size: 1rem; }
.dash-method {
  display: inline-block;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  padding: .15rem .4rem;
  border-radius: 6px;
  background: rgba(0, 71, 171, .08);
  color: #003580;
}
.dash-path {
  font-family: var(--mono);
  font-size: .78rem;
  background: rgba(16, 32, 51, .05);
  padding: .15rem .35rem;
  border-radius: 4px;
}
.table-wrap { overflow-x: auto; }

html.console-theme-dark .dash-kpi,
html.console-theme-dark .dash-action,
html.console-theme-dark .console .dash-kpi,
html.console-theme-dark .console .dash-action {
  background: #0f1b2d;
  border-color: rgba(140, 180, 255, .12);
  color: #e8eef7;
}
html.console-theme-dark .dash-kpi strong,
html.console-theme-dark .dash-action strong,
html.console-theme-dark .dash-panel__head h2,
html.console-theme-dark .dash-list strong,
html.console-theme-dark .dash-spark__legend strong,
html.console-theme-dark .dash-eco strong,
html.console-theme-dark .dash-hits {
  color: #fff;
}
html.console-theme-dark .dash-kpi__label,
html.console-theme-dark .dash-kpi em,
html.console-theme-dark .dash-action p,
html.console-theme-dark .dash-list em,
html.console-theme-dark .dash-eco span,
html.console-theme-dark .dash-spark__col span {
  color: #9eb2d0;
}
html.console-theme-dark .dash-eco div { background: rgba(255,255,255,.04); }
html.console-theme-dark .dash-list li { border-bottom-color: rgba(140, 180, 255, .1); }
html.console-theme-dark .dash-method {
  background: rgba(118, 225, 107, .12);
  color: #76e16b;
}
html.console-theme-dark .dash-path { background: rgba(255,255,255,.06); color: #d7e7ff; }

@media (max-width: 1100px) {
  .dash-kpis,
  .dash-actions,
  .dash-grid--3 { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .dash-kpis,
  .dash-actions,
  .dash-grid--3,
  .dash-eco { grid-template-columns: 1fr; }
}

/* Admin applications */
.apps-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(61, 126, 255, .22), transparent 55%),
    linear-gradient(135deg, #061530, #0a1f45);
  color: #e8eef7;
}
.apps-hero__kicker {
  margin: 0 0 .3rem;
  color: #76e16b;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.apps-hero h2 {
  margin: 0 0 .3rem;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.apps-hero p {
  margin: 0;
  color: #9eb2d0;
  max-width: 36rem;
  line-height: 1.5;
}
.apps-hero__meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.apps-hero__meta span {
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(140, 180, 255, .14);
  font-size: .84rem;
}
.apps-hero__meta strong { color: #76e16b; }

.apps-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.apps-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(16, 32, 51, .08);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(16, 32, 51, .04);
  transition: border-color .15s ease, transform .15s ease;
}
.apps-stat:hover { transform: translateY(-1px); color: inherit; border-color: rgba(0, 71, 171, .28); }
.apps-stat em {
  font-style: normal;
  color: #5b6b7c;
  font-size: .82rem;
  font-weight: 600;
}
.apps-stat strong {
  font-size: 1.45rem;
  color: #061530;
  font-variant-numeric: tabular-nums;
}
.apps-stat.is-active {
  border-color: #061530;
  box-shadow: inset 3px 0 0 #76e16b;
}
.apps-stat--pending.is-active { box-shadow: inset 3px 0 0 #d4a017; }
.apps-stat--approved.is-active { box-shadow: inset 3px 0 0 #1f7a3f; }
.apps-stat--rejected.is-active { box-shadow: inset 3px 0 0 #c0392b; }

.apps-toolbar {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: .85rem 1rem;
}
.apps-toolbar__search {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  background: #f4f7fb;
  border: 1px solid rgba(16, 32, 51, .1);
  border-radius: 12px;
  padding: .15rem .85rem;
}
.apps-toolbar__search svg {
  width: 1.05rem;
  height: 1.05rem;
  color: #5b6b7c;
  flex: 0 0 auto;
}
.apps-toolbar__search input {
  border: 0;
  background: transparent;
  padding: .7rem 0;
  box-shadow: none;
}
.apps-toolbar__search input:focus { outline: none; }
.apps-toolbar__actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.apps-list { display: flex; flex-direction: column; gap: .75rem; }
.apps-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.1rem 1.15rem;
}
.apps-card__main { min-width: 0; flex: 1; }
.apps-card__top {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .45rem;
}
.apps-card__top time {
  color: #5b6b7c;
  font-size: .8rem;
  font-weight: 600;
}
.apps-card h3 {
  margin: 0 0 .35rem;
  font-size: 1.1rem;
  color: #061530;
}
.apps-card p {
  margin: 0 0 .85rem;
  color: #5b6b7c;
  line-height: 1.5;
  font-size: .94rem;
}
.apps-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .65rem .9rem;
}
.apps-card__meta span {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  font-size: .9rem;
  color: #102033;
}
.apps-card__meta strong {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5b6b7c;
}
.apps-card__meta em {
  font-style: normal;
  color: #5b6b7c;
  font-size: .8rem;
}
.apps-card__side {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
}
.apps-empty {
  text-align: center;
  padding: 2.2rem 1.25rem;
}
.apps-empty strong {
  display: block;
  font-size: 1.1rem;
  color: #061530;
  margin-bottom: .35rem;
}
.apps-pager { margin-top: 1rem; }

.apps-detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f5f8fc);
  border: 1px solid rgba(16, 32, 51, .08);
}
.apps-detail-hero h2 {
  margin: .55rem 0 .45rem;
  color: #061530;
  font-size: 1.4rem;
}
.apps-detail-hero p {
  margin: 0;
  color: #5b6b7c;
  line-height: 1.55;
  max-width: 48rem;
  white-space: pre-wrap;
}
.apps-detail-hero__meta {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-width: 11rem;
}
.apps-detail-hero__meta em {
  display: block;
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5b6b7c;
}
.apps-detail-hero__meta strong {
  display: block;
  color: #061530;
  margin-top: .15rem;
}
.apps-detail-hero__meta span {
  display: block;
  color: #5b6b7c;
  font-size: .85rem;
}
.apps-detail-grid,
.apps-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-bottom: 1rem;
}
.apps-section-title {
  margin: 0 0 .9rem;
  font-size: 1.02rem;
  color: #061530;
}
.apps-dl { margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.apps-dl dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5b6b7c;
  margin-bottom: .2rem;
}
.apps-dl dd { margin: 0; color: #102033; }
.apps-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .75rem;
}
.apps-quota {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #5b6b7c;
}
.apps-notes {
  margin-top: .75rem;
  padding: .85rem .95rem;
  border-radius: 12px;
  background: rgba(6, 21, 48, .04);
}
.apps-notes strong { display: block; margin-bottom: .35rem; color: #061530; }
.apps-notes p { margin: 0; white-space: pre-wrap; color: #102033; line-height: 1.5; }
.apps-review h3 { margin: 0 0 .35rem; font-size: 1.05rem; color: #061530; }
.apps-review--approve { border-top: 3px solid #1f7a3f; }
.apps-review--reject { border-top: 3px solid #c0392b; }

html.console-theme-dark .apps-stat,
html.console-theme-dark .apps-card,
html.console-theme-dark .apps-toolbar,
html.console-theme-dark .apps-detail-hero,
html.console-theme-dark .apps-empty {
  background: #0f1b2d;
  border-color: rgba(140, 180, 255, .12);
  color: #e8eef7;
}
html.console-theme-dark .apps-stat strong,
html.console-theme-dark .apps-card h3,
html.console-theme-dark .apps-empty strong,
html.console-theme-dark .apps-detail-hero h2,
html.console-theme-dark .apps-section-title,
html.console-theme-dark .apps-review h3,
html.console-theme-dark .apps-notes strong,
html.console-theme-dark .apps-detail-hero__meta strong {
  color: #fff;
}
html.console-theme-dark .apps-stat em,
html.console-theme-dark .apps-card p,
html.console-theme-dark .apps-card__meta strong,
html.console-theme-dark .apps-card__meta em,
html.console-theme-dark .apps-card__top time,
html.console-theme-dark .apps-detail-hero p,
html.console-theme-dark .apps-dl dt {
  color: #9eb2d0;
}
html.console-theme-dark .apps-card__meta span,
html.console-theme-dark .apps-dl dd,
html.console-theme-dark .apps-notes p { color: #e8eef7; }
html.console-theme-dark .apps-toolbar__search {
  background: #0a1526;
  border-color: rgba(140, 180, 255, .16);
}
html.console-theme-dark .apps-notes { background: rgba(255,255,255,.04); }
html.console-theme-dark .apps-detail-hero {
  background: linear-gradient(180deg, #122038, #0f1b2d);
}

@media (max-width: 900px) {
  .apps-stats,
  .apps-detail-grid,
  .apps-review-grid { grid-template-columns: 1fr 1fr; }
  .apps-card { flex-direction: column; }
}
@media (max-width: 640px) {
  .apps-stats,
  .apps-detail-grid,
  .apps-review-grid { grid-template-columns: 1fr; }
}

/* Admin accounts */
.acc-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(118, 225, 107, .16), transparent 55%),
    linear-gradient(135deg, #061530, #0a1f45);
  color: #e8eef7;
}
.acc-hero__kicker {
  margin: 0 0 .3rem;
  color: #76e16b;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.acc-hero h2 {
  margin: 0 0 .3rem;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.acc-hero p {
  margin: 0;
  color: #9eb2d0;
  max-width: 38rem;
  line-height: 1.5;
}
.acc-hero__meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.acc-hero__meta span {
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(140, 180, 255, .14);
  font-size: .84rem;
}
.acc-hero__meta strong { color: #76e16b; }

.acc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.acc-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(16, 32, 51, .08);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(16, 32, 51, .04);
  transition: border-color .15s ease, transform .15s ease;
}
a.acc-stat:hover { transform: translateY(-1px); color: inherit; border-color: rgba(0, 71, 171, .28); }
.acc-stat em {
  font-style: normal;
  color: #5b6b7c;
  font-size: .82rem;
  font-weight: 600;
}
.acc-stat strong {
  font-size: 1.45rem;
  color: #061530;
  font-variant-numeric: tabular-nums;
}
.acc-stat.is-active {
  border-color: #061530;
  box-shadow: inset 3px 0 0 #76e16b;
}
.acc-stat--active.is-active { box-shadow: inset 3px 0 0 #1f7a3f; }
.acc-stat--inactive.is-active { box-shadow: inset 3px 0 0 #c0392b; }
.acc-stat--soft { cursor: default; }

.acc-toolbar {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: .85rem 1rem;
}
.acc-toolbar__search {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  background: #f4f7fb;
  border: 1px solid rgba(16, 32, 51, .1);
  border-radius: 12px;
  padding: .15rem .85rem;
}
.acc-toolbar__search svg {
  width: 1.05rem;
  height: 1.05rem;
  color: #5b6b7c;
  flex: 0 0 auto;
}
.acc-toolbar__search input {
  border: 0;
  background: transparent;
  padding: .7rem 0;
}
.acc-toolbar__search input:focus { outline: none; }
.acc-toolbar__actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.acc-list { display: flex; flex-direction: column; gap: .75rem; }
.acc-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.1rem 1.15rem;
}
.acc-card__main { min-width: 0; flex: 1; }
.acc-card__top {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin-bottom: .4rem;
}
.acc-code {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  background: rgba(6, 21, 48, .08);
  color: #061530;
  padding: .2rem .45rem;
  border-radius: 6px;
}
.acc-hits-pill {
  font-size: .78rem;
  font-weight: 700;
  color: #003580;
  background: rgba(0, 71, 171, .08);
  border-radius: 999px;
  padding: .2rem .55rem;
}
.acc-card h3 {
  margin: 0 0 .7rem;
  font-size: 1.1rem;
  color: #061530;
}
.acc-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .65rem .9rem;
  margin-bottom: .75rem;
}
.acc-card__meta span {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  font-size: .9rem;
  color: #102033;
}
.acc-card__meta strong {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5b6b7c;
}
.acc-card__meta em {
  font-style: normal;
  color: #5b6b7c;
  font-size: .8rem;
}
.acc-meter {
  height: 7px;
  border-radius: 999px;
  background: rgba(16, 32, 51, .08);
  overflow: hidden;
}
.acc-meter__bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #76e16b, #0047ab);
}
.acc-card__side {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
}
.acc-empty {
  text-align: center;
  padding: 2.2rem 1.25rem;
}
.acc-empty strong {
  display: block;
  font-size: 1.1rem;
  color: #061530;
  margin-bottom: .35rem;
}
.acc-pager { margin-top: 1rem; }

.acc-detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f5f8fc);
  border: 1px solid rgba(16, 32, 51, .08);
}
.acc-detail-hero__badges {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
.acc-detail-hero h2 {
  margin: .55rem 0 .35rem;
  color: #061530;
  font-size: 1.4rem;
}
.acc-detail-hero > div > p {
  margin: 0;
  color: #5b6b7c;
}
.acc-detail-hero__kpis {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .55rem;
  min-width: min(100%, 18rem);
}
.acc-detail-hero__kpis div {
  background: rgba(6, 21, 48, .04);
  border-radius: 10px;
  padding: .65rem .75rem;
}
.acc-detail-hero__kpis em {
  display: block;
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5b6b7c;
}
.acc-detail-hero__kpis strong {
  display: block;
  margin-top: .2rem;
  color: #061530;
  font-size: 1.1rem;
}
.acc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-bottom: 1rem;
}
.acc-section-title {
  margin: 0 0 .9rem;
  font-size: 1.02rem;
  color: #061530;
}
.acc-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  margin-bottom: .25rem;
}
.acc-panel-head .acc-section-title { margin-bottom: .75rem; }
.acc-linked { margin-top: 1.1rem; }
.acc-linked strong {
  display: block;
  margin-bottom: .45rem;
  color: #061530;
}
.acc-linked ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.acc-linked li {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  align-items: center;
  padding: .45rem 0;
  border-top: 1px solid rgba(16, 32, 51, .08);
}
.acc-quota-block { margin-bottom: 1rem; }
.acc-quota-block__head {
  display: flex;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .4rem;
  color: #061530;
  font-size: .92rem;
}
.acc-quota-block em {
  display: block;
  margin-top: .35rem;
  font-style: normal;
  color: #5b6b7c;
  font-size: .82rem;
}
.acc-spark {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: .28rem;
  align-items: end;
  height: 140px;
}
.acc-spark__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: .3rem;
}
.acc-spark__bar {
  width: 100%;
  max-width: 1.1rem;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #76e16b, #0047ab);
  min-height: 6px;
}
.acc-spark__col span {
  font-size: .58rem;
  font-weight: 700;
  color: #5b6b7c;
  transform: rotate(-35deg);
  white-space: nowrap;
}

html.console-theme-dark .acc-stat,
html.console-theme-dark .acc-card,
html.console-theme-dark .acc-toolbar,
html.console-theme-dark .acc-detail-hero,
html.console-theme-dark .acc-empty {
  background: #0f1b2d;
  border-color: rgba(140, 180, 255, .12);
  color: #e8eef7;
}
html.console-theme-dark .acc-stat strong,
html.console-theme-dark .acc-card h3,
html.console-theme-dark .acc-empty strong,
html.console-theme-dark .acc-detail-hero h2,
html.console-theme-dark .acc-section-title,
html.console-theme-dark .acc-quota-block__head,
html.console-theme-dark .acc-linked strong,
html.console-theme-dark .acc-detail-hero__kpis strong,
html.console-theme-dark .acc-code {
  color: #fff;
}
html.console-theme-dark .acc-code { background: rgba(255,255,255,.08); }
html.console-theme-dark .acc-stat em,
html.console-theme-dark .acc-card__meta strong,
html.console-theme-dark .acc-card__meta em,
html.console-theme-dark .acc-detail-hero > div > p,
html.console-theme-dark .acc-quota-block em,
html.console-theme-dark .acc-spark__col span,
html.console-theme-dark .acc-detail-hero__kpis em {
  color: #9eb2d0;
}
html.console-theme-dark .acc-card__meta span { color: #e8eef7; }
html.console-theme-dark .acc-toolbar__search {
  background: #0a1526;
  border-color: rgba(140, 180, 255, .16);
}
html.console-theme-dark .acc-meter { background: rgba(255,255,255,.08); }
html.console-theme-dark .acc-detail-hero {
  background: linear-gradient(180deg, #122038, #0f1b2d);
}
html.console-theme-dark .acc-detail-hero__kpis div,
html.console-theme-dark .acc-hits-pill {
  background: rgba(255,255,255,.05);
}
html.console-theme-dark .acc-hits-pill { color: #76e16b; }
html.console-theme-dark .acc-linked li { border-top-color: rgba(140, 180, 255, .1); }

@media (max-width: 960px) {
  .acc-stats,
  .acc-detail-grid { grid-template-columns: 1fr 1fr; }
  .acc-card { flex-direction: column; }
  .acc-spark { grid-template-columns: repeat(7, 1fr); height: 120px; }
  .acc-spark__col:nth-child(odd) span { display: none; }
}
@media (max-width: 640px) {
  .acc-stats,
  .acc-detail-grid,
  .acc-detail-hero__kpis { grid-template-columns: 1fr; }
}

/* Admin collaborations */
.colab-hero {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(178, 230, 70, .18), transparent 55%),
    linear-gradient(135deg, #061530, #0a1f45);
  color: #e8eef7;
}
.colab-hero__kicker {
  margin: 0 0 .3rem;
  color: #76e16b;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.colab-hero h2 {
  margin: 0 0 .3rem;
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.colab-hero p {
  margin: 0;
  color: #9eb2d0;
  max-width: 38rem;
  line-height: 1.5;
}
.colab-hero__meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.colab-hero__meta span {
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(140, 180, 255, .14);
  font-size: .84rem;
}
.colab-hero__meta strong { color: #76e16b; }

.colab-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: 1rem;
}
.colab-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .9rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(16, 32, 51, .08);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(16, 32, 51, .04);
  transition: border-color .15s ease, transform .15s ease;
}
.colab-stat:hover { transform: translateY(-1px); color: inherit; border-color: rgba(0, 71, 171, .28); }
.colab-stat em {
  font-style: normal;
  color: #5b6b7c;
  font-size: .82rem;
  font-weight: 600;
}
.colab-stat strong {
  font-size: 1.45rem;
  color: #061530;
  font-variant-numeric: tabular-nums;
}
.colab-stat.is-active {
  border-color: #061530;
  box-shadow: inset 3px 0 0 #76e16b;
}
.colab-stat--new.is-active { box-shadow: inset 3px 0 0 #d4a017; }
.colab-stat--reviewed.is-active { box-shadow: inset 3px 0 0 #1f7a3f; }
.colab-stat--archived.is-active { box-shadow: inset 3px 0 0 #5b6b7c; }

.colab-toolbar {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: .85rem 1rem;
}
.colab-toolbar__types {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.colab-chip {
  display: inline-flex;
  align-items: center;
  padding: .4rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 32, 51, .12);
  background: #f4f7fb;
  color: #102033;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
}
.colab-chip:hover { color: #003580; border-color: rgba(0, 71, 171, .35); }
.colab-chip.is-active {
  background: #061530;
  border-color: #061530;
  color: #fff;
}
.colab-toolbar__search {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  background: #f4f7fb;
  border: 1px solid rgba(16, 32, 51, .1);
  border-radius: 12px;
  padding: .15rem .85rem;
}
.colab-toolbar__search svg {
  width: 1.05rem;
  height: 1.05rem;
  color: #5b6b7c;
  flex: 0 0 auto;
}
.colab-toolbar__search input {
  border: 0;
  background: transparent;
  padding: .7rem 0;
}
.colab-toolbar__search input:focus { outline: none; }
.colab-toolbar__actions { display: flex; gap: .5rem; flex-wrap: wrap; }

.colab-list { display: flex; flex-direction: column; gap: .75rem; }
.colab-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1.1rem 1.15rem;
}
.colab-card__main { min-width: 0; flex: 1; }
.colab-card__top {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin-bottom: .4rem;
}
.colab-card__top time {
  color: #5b6b7c;
  font-size: .8rem;
  font-weight: 600;
}
.colab-type {
  display: inline-flex;
  align-items: center;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  background: rgba(0, 71, 171, .1);
  color: #003580;
}
.colab-type--app_idea {
  background: rgba(118, 225, 107, .16);
  color: #14532d;
}
.colab-type--service_offer {
  background: rgba(61, 126, 255, .14);
  color: #003580;
}
.badge-colab-new { background: #fff4d6; color: #8a6d00; }
.badge-colab-reviewed { background: #e5f8ea; color: #1f7a3f; }
.badge-colab-archived { background: #eef1f5; color: #5b6b7c; }
.colab-card h3 {
  margin: 0 0 .35rem;
  font-size: 1.1rem;
  color: #061530;
}
.colab-card p {
  margin: 0 0 .85rem;
  color: #5b6b7c;
  line-height: 1.5;
  font-size: .94rem;
}
.colab-card__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: .65rem .9rem;
}
.colab-card__meta span {
  display: flex;
  flex-direction: column;
  gap: .12rem;
  font-size: .9rem;
  color: #102033;
}
.colab-card__meta strong {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5b6b7c;
}
.colab-card__meta em {
  font-style: normal;
  color: #5b6b7c;
  font-size: .8rem;
}
.colab-card__side {
  display: flex;
  align-items: flex-start;
  flex: 0 0 auto;
}
.colab-empty {
  text-align: center;
  padding: 2.2rem 1.25rem;
}
.colab-empty strong {
  display: block;
  font-size: 1.1rem;
  color: #061530;
  margin-bottom: .35rem;
}
.colab-pager { margin-top: 1rem; }

.colab-detail-hero {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f5f8fc);
  border: 1px solid rgba(16, 32, 51, .08);
}
.colab-detail-hero__badges {
  display: flex;
  gap: .5rem;
  align-items: center;
  flex-wrap: wrap;
}
.colab-detail-hero h2 {
  margin: .55rem 0 .45rem;
  color: #061530;
  font-size: 1.4rem;
}
.colab-detail-hero > div > p {
  margin: 0;
  color: #5b6b7c;
  line-height: 1.55;
  max-width: 48rem;
  white-space: pre-wrap;
}
.colab-detail-hero__meta {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  min-width: 11rem;
}
.colab-detail-hero__meta em {
  display: block;
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5b6b7c;
}
.colab-detail-hero__meta strong {
  display: block;
  color: #061530;
  margin-top: .15rem;
}
.colab-detail-hero__meta span {
  display: block;
  color: #5b6b7c;
  font-size: .85rem;
}
.colab-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
  margin-bottom: 1rem;
}
.colab-section-title {
  margin: 0 0 .9rem;
  font-size: 1.02rem;
  color: #061530;
}
.colab-dl { margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.colab-dl dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #5b6b7c;
  margin-bottom: .2rem;
}
.colab-dl dd { margin: 0; color: #102033; }
.colab-quick {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}
.colab-notes-panel p {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.55;
  color: #102033;
}

html.console-theme-dark .colab-stat,
html.console-theme-dark .colab-card,
html.console-theme-dark .colab-toolbar,
html.console-theme-dark .colab-detail-hero,
html.console-theme-dark .colab-empty {
  background: #0f1b2d;
  border-color: rgba(140, 180, 255, .12);
  color: #e8eef7;
}
html.console-theme-dark .colab-stat strong,
html.console-theme-dark .colab-card h3,
html.console-theme-dark .colab-empty strong,
html.console-theme-dark .colab-detail-hero h2,
html.console-theme-dark .colab-section-title,
html.console-theme-dark .colab-detail-hero__meta strong,
html.console-theme-dark .colab-notes-panel p,
html.console-theme-dark .colab-dl dd {
  color: #fff;
}
html.console-theme-dark .colab-stat em,
html.console-theme-dark .colab-card p,
html.console-theme-dark .colab-card__meta strong,
html.console-theme-dark .colab-card__meta em,
html.console-theme-dark .colab-card__top time,
html.console-theme-dark .colab-detail-hero > div > p,
html.console-theme-dark .colab-dl dt,
html.console-theme-dark .colab-detail-hero__meta em,
html.console-theme-dark .colab-detail-hero__meta span {
  color: #9eb2d0;
}
html.console-theme-dark .colab-card__meta span { color: #e8eef7; }
html.console-theme-dark .colab-toolbar__search {
  background: #0a1526;
  border-color: rgba(140, 180, 255, .16);
}
html.console-theme-dark .colab-chip {
  background: #0a1526;
  border-color: rgba(140, 180, 255, .16);
  color: #e8eef7;
}
html.console-theme-dark .colab-chip.is-active {
  background: #76e16b;
  border-color: #76e16b;
  color: #061530;
}
html.console-theme-dark .colab-detail-hero {
  background: linear-gradient(180deg, #122038, #0f1b2d);
}
html.console-theme-dark .badge-colab-archived {
  background: rgba(255,255,255,.08);
  color: #9eb2d0;
}

@media (max-width: 900px) {
  .colab-stats,
  .colab-detail-grid { grid-template-columns: 1fr 1fr; }
  .colab-card { flex-direction: column; }
}
@media (max-width: 640px) {
  .colab-stats,
  .colab-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .console {
    grid-template-columns: 1fr;
  }
  .console-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: min(288px, 86vw);
    transform: translateX(-105%);
    transition: transform .2s ease;
    box-shadow: 20px 0 50px rgba(3, 13, 31, .35);
  }
  .console.is-nav-open .console-sidebar { transform: translateX(0); }
  .console.is-nav-open .console-overlay { display: block; }
  .console-sidebar__close,
  .console-menu-btn { display: grid; }
  .console-header { padding: .85rem 1rem; }
  .console-content { padding: 1rem 1rem 2rem; }
  .console-avatar-btn__meta,
  .console-avatar-btn__caret { display: none; }
  .console-avatar-btn { padding: .28rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

label { display: block; font-weight: 600; margin-bottom: .35rem; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .7rem .85rem;
  font: inherit;
  background: #fff;
}
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 1rem; }
.form-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

.table { width: 100%; border-collapse: collapse; }
.table th, .table td {
  text-align: left;
  padding: .75rem .5rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table th { color: var(--muted); font-size: .85rem; font-weight: 700; }

.badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  background: var(--primary-50);
  color: var(--primary-d);
}
.badge-pending { background: #fff4d6; color: #8a6d00; }
.badge-approved, .badge-active { background: #e5f8ea; color: var(--ok); }
.badge-rejected, .badge-inactive { background: #fde8e6; color: var(--danger); }

.alert {
  padding: .85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}
.alert-success { background: #e8f8ee; color: var(--ok); }
.alert-error { background: #fdecea; color: var(--danger); }
.alert-warn { background: #fff7df; color: #7a5b00; }
.alert-ok { background: #e5f8ea; color: #1f7a3f; }
.alert-danger { background: #fde8e6; color: #c0392b; }
.alert { padding: .85rem 1rem; border-radius: 10px; margin-bottom: 1rem; }


.auth-box {
  width: min(420px, calc(100% - 2rem));
  margin: 4rem auto;
}
.code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #0f1b2d;
  color: #d7e7ff;
  padding: .85rem 1rem;
  border-radius: 10px;
  overflow-x: auto;
  word-break: break-all;
}

.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.app-bar nav { display: flex; gap: .75rem; flex-wrap: wrap; }
.app-bar a { color: var(--muted); font-weight: 600; }
.app-bar a.active, .app-bar a:hover { color: var(--primary); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Developer landing — dark blue dominant, green accent (Let's Go Together) */
.devlp {
  --dev-bg: #061530;
  --dev-panel: #0a1f45;
  --dev-line: rgba(140, 180, 255, .12);
  --dev-text: #e8eef7;
  --dev-muted: #9eb2d0;
  --dev-accent: #76e16b;
  --dev-accent-2: #b2e646;
  --dev-blue: #3d7eff;
  --dev-blue-deep: #003580;
  min-height: 100vh;
  background: #e8eef8;
  color: var(--ink);
  font-family: var(--font);
}

.devlp-top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(6, 21, 48, .9);
  border-bottom: 1px solid var(--dev-line);
}
.devlp-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}
.devlp-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: #fff;
  font-weight: 600;
}
.devlp-brand:hover { color: #fff; }
.devlp-logo {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}
.devlp-logo--together {
  height: 34px;
  padding-left: .55rem;
  margin-left: .1rem;
  border-left: 1px solid rgba(255, 255, 255, .22);
}
.devlp-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.devlp-brand-text {
  font-size: .95rem;
  white-space: nowrap;
}
.devlp-brand-text em {
  font-style: normal;
  color: var(--dev-accent);
  font-family: var(--mono);
  font-weight: 500;
  font-size: .92em;
}
.devlp-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.devlp-nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--dev-muted);
  font-size: .9rem;
  font-weight: 500;
  padding: .4rem .65rem;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.devlp-nav a svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  opacity: .85;
}
.devlp-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}
.devlp-nav a:hover svg { opacity: 1; }
.devlp-top-actions { display: flex; gap: .55rem; align-items: center; }

.devlp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: .62rem 1rem;
  font-weight: 600;
  font-size: .92rem;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.devlp-btn:hover { transform: translateY(-1px); }
.devlp-btn--solid {
  background: #fff;
  color: var(--dev-bg);
}
.devlp-btn--solid:hover { background: #e8eef7; color: var(--dev-bg); }
.devlp-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
}
.devlp-btn--ghost:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.devlp-btn--accent {
  background: var(--dev-accent);
  color: #061530;
  box-shadow: 0 8px 24px rgba(118, 225, 107, .22);
}
.devlp-btn--accent:hover { background: #8aeb80; color: #061530; }

.devlp-hero {
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(0, 71, 171, .55), transparent 58%),
    radial-gradient(640px 340px at 88% 18%, rgba(118, 225, 107, .14), transparent 52%),
    linear-gradient(180deg, #061530 0%, #0a2148 55%, #0c2a5c 100%);
  color: var(--dev-text);
  padding: 3.5rem 0 4rem;
}
.devlp-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.5rem;
  align-items: center;
}
.devlp-eyebrow {
  margin: 0 0 1rem;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--dev-accent);
}
.devlp-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 700;
  max-width: none;
  white-space: normal;
  animation: rise .65s ease both;
}
.devlp-h1-accent {
  color: var(--dev-accent);
}
.devlp-h1-sub {
  display: block;
  margin-top: .45rem;
  font-size: .78em;
  font-weight: 600;
  letter-spacing: -.015em;
  color: #fff;
}
.devlp-h1-sub em {
  font-style: italic;
  font-weight: 600;
}
.devlp-sub {
  margin: 0 0 1.5rem;
  color: var(--dev-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 38rem;
}
.devlp-sub-lead {
  display: block;
  margin-bottom: .4rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.08rem;
}
.devlp-hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.devlp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1.25rem;
  margin-top: 1.6rem;
  color: var(--dev-muted);
  font-size: .88rem;
}
.devlp-meta i {
  display: inline-block;
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--dev-accent);
  margin-right: .45rem;
  vertical-align: middle;
}

.devlp-terminal {
  background: var(--dev-panel);
  border: 1px solid var(--dev-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  animation: rise .8s ease .08s both;
}
.devlp-terminal-bar {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--dev-line);
  background: rgba(255, 255, 255, .02);
}
.devlp-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}
.devlp-dot:nth-child(1) { background: #ff5f57; }
.devlp-dot:nth-child(2) { background: #febc2e; }
.devlp-dot:nth-child(3) { background: #28c840; }
.devlp-terminal-title {
  margin-left: .55rem;
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--dev-muted);
  flex: 1;
}
.devlp-copy {
  border: 1px solid rgba(255, 255, 255, .14);
  background: transparent;
  color: var(--dev-muted);
  border-radius: 6px;
  padding: .25rem .55rem;
  font-family: var(--mono);
  font-size: .72rem;
  cursor: pointer;
}
.devlp-copy:hover,
.devlp-copy.is-copied {
  color: var(--dev-accent);
  border-color: rgba(178, 230, 70, .45);
}
.devlp-terminal-body {
  margin: 0;
  padding: 1.1rem 1.15rem 1.25rem;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.65;
  color: #d7e3f4;
}
.devlp-terminal-body .c-muted { color: #6f8096; }
.devlp-terminal-body .c-cmd { color: var(--dev-accent); }
.devlp-terminal-body .c-str { color: #9dcaff; }
.devlp-terminal-body .c-key { color: #8ad7c8; }
.devlp-terminal-body .c-bool { color: #ffb86b; }
.devlp-terminal-body .c-num { color: #f1a7ff; }

.devlp-strip {
  background: #041228;
  border-bottom: 1px solid var(--dev-line);
  color: var(--dev-muted);
}
.devlp-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: .95rem 0;
  font-size: .88rem;
}
.devlp-strip code {
  font-family: var(--mono);
  color: #d7e3f4;
  font-size: .82rem;
}
.devlp-k {
  display: inline-block;
  margin-right: .55rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dev-accent);
}

.devlp-section { padding: 4.5rem 0; background: #eef3fb; }
.devlp-section--muted { background: #e2eaf7; }
.devlp-section-head { max-width: 40rem; margin-bottom: 2rem; }
.devlp-label {
  margin: 0 0 .65rem;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
}
.devlp-section-head h2 {
  margin: 0 0 .7rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  letter-spacing: -.02em;
}
.devlp-section-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.devlp-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.devlp-caps article {
  padding: 1.25rem 1.2rem;
  border: 1px solid rgba(16, 32, 51, .1);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
}
.devlp-cap-id {
  display: inline-block;
  margin-bottom: .7rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--primary);
  letter-spacing: .04em;
}
.devlp-caps h3 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
}
.devlp-caps p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.devlp-caps code,
.devlp-flow code,
.devlp-rule code,
.devlp-table code {
  font-family: var(--mono);
  font-size: .86em;
  background: rgba(0, 71, 171, .08);
  padding: .08rem .35rem;
  border-radius: 4px;
}

.devlp-flow {
  list-style: none;
  margin: 0;
  padding: 1.5rem 1.25rem 1.35rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  border: 1px solid rgba(16, 32, 51, .1);
  border-radius: 14px;
  background: #fff;
  counter-reset: none;
}
.devlp-flow li {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.devlp-flow-step {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 2.1rem;
}
.devlp-flow-num {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(0, 71, 171, .1);
  color: var(--primary);
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1;
}
.devlp-flow-line {
  display: block;
  flex: 1 1 auto;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(0, 71, 171, .35), rgba(178, 230, 70, .65));
}
.devlp-flow li:last-child .devlp-flow-line { display: none; }
.devlp-flow-body {
  min-width: 0;
}
.devlp-flow strong {
  display: block;
  margin: 0 0 .35rem;
  font-size: .98rem;
  line-height: 1.3;
}
.devlp-flow p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

/* Platform rules — distinct dark policy panel */
.devlp-policy {
  position: relative;
  padding: 4.75rem 0;
  background:
    radial-gradient(720px 360px at 12% 0%, rgba(0, 71, 171, .45), transparent 60%),
    radial-gradient(560px 280px at 90% 100%, rgba(118, 225, 107, .12), transparent 55%),
    #061530;
  color: #e8eef7;
  overflow: hidden;
}
.devlp-policy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 20%, transparent 95%);
}
.devlp-policy .wrap { position: relative; z-index: 1; }
.devlp-policy-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.devlp-policy-label {
  margin: 0 0 .65rem;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--dev-accent);
}
.devlp-policy-head h2 {
  margin: 0 0 .55rem;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  letter-spacing: -.02em;
  color: #fff;
}
.devlp-policy-head p {
  margin: 0;
  max-width: 36rem;
  color: #93a4b8;
  line-height: 1.55;
}
.devlp-policy-badge {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: .2rem .65rem;
  padding: .7rem .9rem;
  border-radius: 10px;
  border: 1px solid rgba(178, 230, 70, .28);
  background: rgba(178, 230, 70, .08);
  font-family: var(--mono);
  line-height: 1.2;
}
.devlp-policy-badge span {
  grid-column: 1 / -1;
  font-size: .68rem;
  letter-spacing: .08em;
  color: #93a4b8;
}
.devlp-policy-badge strong {
  color: var(--dev-accent);
  font-size: 1rem;
}
.devlp-policy-badge em {
  font-style: normal;
  align-self: end;
  font-size: .72rem;
  color: #c6d3e4;
}
.devlp-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.devlp-policy-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  min-height: 100%;
  padding: 1.1rem 1.1rem 1.15rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: border-color .15s ease, transform .15s ease, background .15s ease;
}
.devlp-policy-card:hover {
  border-color: rgba(178, 230, 70, .35);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
}
.devlp-policy-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.devlp-policy-id {
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 600;
  color: #9dcaff;
  letter-spacing: .04em;
}
.devlp-policy-tag {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0b1220;
  background: var(--dev-accent);
  border-radius: 999px;
  padding: .18rem .5rem;
}
.devlp-policy-card h3 {
  margin: 0;
  font-size: 1.02rem;
  color: #fff;
}
.devlp-policy-card p {
  margin: 0;
  color: #93a4b8;
  font-size: .9rem;
  line-height: 1.5;
}

.devlp-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(16, 32, 51, .1);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 1rem;
}
.devlp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.devlp-table th,
.devlp-table td {
  text-align: left;
  padding: .9rem 1rem;
  border-bottom: 1px solid rgba(16, 32, 51, .08);
}
.devlp-table th {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f8fafc;
}
.devlp-table tr:last-child td { border-bottom: 0; }
.devlp-method {
  display: inline-block;
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 500;
  color: #0b6b3a;
  background: #e5f8ea;
  padding: .18rem .45rem;
  border-radius: 4px;
}

.devlp-codeblock {
  position: relative;
  margin: 0;
  padding: 1.1rem 1.2rem;
  border-radius: 12px;
  background: #0f1b2d;
  color: #d7e7ff;
  font-family: var(--mono);
  font-size: .85rem;
  line-height: 1.6;
  overflow-x: auto;
}
.devlp-codeblock code { background: none; padding: 0; color: inherit; }
.devlp-copy--block {
  position: absolute;
  top: .7rem;
  right: .7rem;
}

.devlp-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
}
.devlp-stats article {
  background: #fff;
  border: 1px solid rgba(16, 32, 51, .08);
  border-radius: 14px;
  padding: 1.15rem 1.1rem;
  min-height: 6.5rem;
}
.devlp-stats strong {
  display: block;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #061530;
  font-variant-numeric: tabular-nums;
}
.devlp-stats span {
  display: block;
  margin-top: .35rem;
  color: #5b6b7c;
  font-size: .92rem;
  font-weight: 500;
}

.devlp-assets,
.devlp-collab-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
}
.devlp-assets article,
.devlp-collab-paths article {
  background: #fff;
  border: 1px solid rgba(16, 32, 51, .08);
  border-radius: 14px;
  padding: 1.2rem 1.15rem 1.25rem;
}
.devlp-assets h3,
.devlp-collab-paths h3 {
  margin: .55rem 0 .4rem;
  font-size: 1.05rem;
  color: #061530;
}
.devlp-assets p,
.devlp-collab-paths p {
  margin: 0 0 .75rem;
  color: #5b6b7c;
  line-height: 1.55;
  font-size: .95rem;
}
.devlp-assets a { font-weight: 600; font-size: .9rem; }
.devlp-assets code {
  font-family: var(--mono);
  font-size: .85em;
  background: rgba(6, 21, 48, .06);
  padding: .1rem .35rem;
  border-radius: 4px;
}

.devlp-collab-paths { margin-bottom: 1.25rem; }
.devlp-collab-paths .devlp-btn { margin-top: .15rem; }

body.devlp-modal-open { overflow: hidden; }
.devlp-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.devlp-modal.is-open { display: flex; }
.devlp-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 13, 31, .62);
  backdrop-filter: blur(3px);
}
.devlp-modal__panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(90vh, 880px);
  overflow: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(16, 32, 51, .1);
  box-shadow: 0 28px 80px rgba(3, 13, 31, .35);
  padding: 1.25rem 1.3rem 1.4rem;
}
.devlp-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.devlp-modal__head .devlp-label { margin: 0 0 .25rem; }
.devlp-modal__head h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #061530;
}
.devlp-modal__close {
  border: 0;
  background: rgba(6, 21, 48, .06);
  color: #061530;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.devlp-modal__close:hover { background: rgba(6, 21, 48, .12); }

.devlp-collab-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.devlp-collab-type {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: 1.1rem;
}
.devlp-chip {
  border: 1px solid rgba(16, 32, 51, .14);
  background: #f4f7fb;
  color: #102033;
  border-radius: 999px;
  padding: .45rem .9rem;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}
.devlp-chip.is-active {
  background: #061530;
  border-color: #061530;
  color: #fff;
}
.devlp-chip:hover:not(.is-active) {
  border-color: rgba(0, 71, 171, .35);
  background: #eef3fb;
}
.devlp-collab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem 1rem;
  margin-bottom: .85rem;
}
.devlp-collab-span { grid-column: 1 / -1; }
.devlp-collab-form .field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .88rem;
  font-weight: 600;
  color: #102033;
}
.devlp-collab-form .field .muted { font-weight: 500; color: #7a8796; }
.devlp-collab-form input,
.devlp-collab-form textarea,
.devlp-collab-form select {
  width: 100%;
  border: 1px solid rgba(16, 32, 51, .16);
  border-radius: 10px;
  padding: .7rem .85rem;
  font: inherit;
  background: #f8fafc;
  color: #102033;
}
.devlp-collab-form input:focus,
.devlp-collab-form textarea:focus {
  outline: 2px solid rgba(118, 225, 107, .45);
  border-color: #3d8f3a;
  background: #fff;
}
.devlp-flash {
  border-radius: 12px;
  padding: .9rem 1rem;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.devlp-flash--ok {
  background: rgba(118, 225, 107, .18);
  border: 1px solid rgba(61, 143, 58, .35);
  color: #14532d;
}
.devlp-flash--err {
  background: rgba(192, 57, 43, .1);
  border: 1px solid rgba(192, 57, 43, .3);
  color: #7f1d1d;
}
.devlp-flash--err ul { margin: 0; padding-left: 1.1rem; }

.devlp-cta {
  background:
    radial-gradient(700px 280px at 80% 50%, rgba(118, 225, 107, .12), transparent 55%),
    linear-gradient(180deg, #061530, #08204a);
  color: var(--dev-text);
  padding: 3.5rem 0;
}
.devlp-cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.devlp-cta h2 {
  margin: 0 0 .45rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}
.devlp-cta p { margin: 0; color: var(--dev-muted); }

.devlp-footer {
  background: #030d1f;
  color: var(--dev-muted);
  padding: 2.2rem 0;
  border-top: 1px solid var(--dev-line);
}
.devlp-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.devlp-footer strong {
  display: block;
  color: #fff;
  margin-bottom: .35rem;
}
.devlp-footer p { margin: 0; max-width: 28rem; }
.devlp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1.25rem;
}
.devlp-footer a { color: var(--dev-accent); }
.devlp-footer a:hover { color: #fff; }

@media (max-width: 960px) {
  .devlp-hero-grid,
  .devlp-caps,
  .devlp-strip-inner,
  .devlp-stats,
  .devlp-assets,
  .devlp-collab-paths,
  .devlp-collab-grid { grid-template-columns: 1fr; }
  .devlp-stats { grid-template-columns: 1fr 1fr; }
  .devlp-nav { display: none; }
  .devlp-hero h1 { max-width: none; }
  .devlp-flow {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.35rem 1.15rem 1rem;
  }
  .devlp-flow li {
    display: grid;
    grid-template-columns: 2.1rem 1fr;
    gap: .9rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(16, 32, 51, .08);
  }
  .devlp-flow li:first-child { border-top: 0; }
  .devlp-flow-step {
    flex-direction: column;
    align-items: center;
    min-height: 100%;
    gap: .45rem;
  }
  .devlp-flow-line {
    width: 2px;
    height: auto;
    flex: 1 1 auto;
    min-height: 1.5rem;
    background: linear-gradient(180deg, rgba(0, 71, 171, .35), rgba(178, 230, 70, .65));
  }
  .devlp-flow li:last-child .devlp-flow-line { display: none; }
  .devlp-policy-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) and (min-width: 961px) {
  .devlp-policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Auth pages — dark blue + green accent (same tone as home) */
.auth-body {
  --auth-blue: #0047ab;
  --auth-blue-deep: #061530;
  --auth-blue-mid: #0a2148;
  --auth-green: #76e16b;
  --auth-green-hover: #8aeb80;
  margin: 0;
  min-height: 100vh;
  background: var(--auth-blue-deep);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}
.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
}
.auth-aside {
  padding: 2rem 2.4rem 2.5rem;
  background:
    radial-gradient(700px 360px at 10% 0%, rgba(0, 71, 171, .55), transparent 60%),
    radial-gradient(520px 280px at 90% 80%, rgba(118, 225, 107, .14), transparent 55%),
    linear-gradient(180deg, #061530, #0a2148);
  color: #e8eef7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}
.auth-aside-copy h1 {
  margin: 1.8rem 0 .8rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.02em;
  max-width: 14ch;
}
.auth-aside-copy p {
  margin: 0;
  color: #93a4b8;
  max-width: 28rem;
  line-height: 1.55;
}
.auth-aside-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.1rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .72rem;
  color: #93a4b8;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.auth-main {
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(600px 280px at 80% 10%, rgba(0, 71, 171, .08), transparent 60%),
    #e8eef8;
}
.auth-card {
  width: min(420px, 100%);
  background: #fff;
  border: 1px solid rgba(0, 71, 171, .12);
  border-radius: 14px;
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 18px 50px rgba(6, 21, 48, .12);
}
.auth-kicker {
  margin: 0 0 .45rem;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--auth-blue);
}
.auth-title {
  margin: 0 0 .45rem;
  font-size: 1.55rem;
  letter-spacing: -.02em;
}
.auth-sub {
  margin: 0 0 1.2rem;
  color: var(--muted);
  line-height: 1.5;
  font-size: .95rem;
}
.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(16, 32, 51, .12);
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease;
}
.auth-google:hover {
  background: #f8fafc;
  color: var(--ink);
  border-color: rgba(16, 32, 51, .22);
}
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .75rem;
  margin: 1.1rem 0;
  color: var(--muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: rgba(16, 32, 51, .12);
}
.auth-form .field { margin-bottom: .9rem; }
.auth-form label { font-size: .9rem; }
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  border-radius: 8px;
  border-color: rgba(16, 32, 51, .14);
}
.auth-form input:focus {
  outline: 2px solid rgba(0, 71, 171, .2);
  border-color: var(--primary);
}
.auth-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 1rem;
}
.auth-check input { width: auto; }
.auth-submit { width: 100%; justify-content: center; }
.auth-body .devlp-btn--accent,
.auth-body .auth-submit.devlp-btn--accent {
  background: var(--auth-green);
  color: var(--auth-blue-deep);
  border: 1px solid transparent;
  box-shadow: 0 10px 28px rgba(118, 225, 107, .28);
}
.auth-body .devlp-btn--accent:hover,
.auth-body .auth-submit.devlp-btn--accent:hover {
  background: var(--auth-green-hover);
  color: var(--auth-blue-deep);
}
.auth-body .devlp-btn--ghost {
  background: var(--auth-blue);
  color: #fff;
  border-color: var(--auth-blue);
}
.auth-body .devlp-btn--ghost:hover {
  background: var(--auth-blue-deep);
  color: #fff;
  border-color: var(--auth-blue-deep);
}
.auth-hint {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.45;
}
.auth-hint a,
.auth-foot a {
  color: var(--auth-blue);
  font-weight: 600;
}
.auth-hint a:hover,
.auth-foot a:hover {
  color: var(--auth-blue-deep);
}
.auth-foot {
  margin: 1.15rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: .92rem;
}

.auth-captcha { margin: 0 0 1rem; }
.auth-captcha__label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .35rem;
}
.auth-captcha__field {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(16, 32, 51, .14);
  border-radius: 8px;
  background: #f8fafc;
}
.auth-captcha__field:focus-within {
  border-color: var(--auth-blue, #0047ab);
  outline: 2px solid rgba(0, 71, 171, .15);
  background: #fff;
}
.auth-captcha__eq {
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  color: var(--muted);
  white-space: nowrap;
}
.auth-captcha__eq strong {
  color: var(--ink);
  font-size: 1.05rem;
}
.auth-captcha__input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(16, 32, 51, .12);
  border-radius: 6px;
  padding: .65rem .85rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  background: #fff;
  -moz-appearance: textfield;
}
.auth-captcha__input::-webkit-outer-spin-button,
.auth-captcha__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.auth-captcha__input:focus {
  outline: none;
  border-color: var(--auth-blue, #0047ab);
}
.auth-captcha__error {
  margin: .4rem 0 0;
  color: var(--danger);
  font-size: .86rem;
}

@media (max-width: 900px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside {
    padding: 1.25rem 1.25rem 1.5rem;
    min-height: auto;
  }
  .auth-aside-copy h1 { margin-top: 1rem; max-width: none; font-size: 1.5rem; }
  .auth-aside-meta { display: none; }
}

@media (max-width: 800px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 2.5rem; }
  .devlp-hero { padding: 2.4rem 0 3rem; }
  .devlp-section { padding: 3.2rem 0; }
}

/* —— Console API docs —— */
.docs-bases {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.docs-bases > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .55rem;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 71, 171, .04);
}
.docs-k {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  width: 100%;
}
.docs-url {
  font-family: var(--mono);
  font-size: .82rem;
  word-break: break-all;
  flex: 1;
}
.docs-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0 0 .85rem;
}
.docs-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: .45rem .95rem;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
}
.docs-tab:hover { border-color: rgba(0, 71, 171, .35); }
.docs-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.docs-h {
  margin: 0 0 .65rem;
  font-size: 1.05rem;
}
.docs-pre {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  background: #0b1220;
  color: #e2e8f0;
  overflow: auto;
  font-family: var(--mono);
  font-size: .82rem;
  line-height: 1.55;
}
.docs-pre code { color: inherit; background: none; padding: 0; font-size: inherit; }
.docs-copy {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: .35rem .7rem;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--primary);
}
.docs-copy:hover { background: var(--primary-50); }
.docs-copy--block { margin-top: .55rem; }
.docs-method {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .4rem;
  border-radius: 4px;
  background: #eef2ff;
  color: #3730a3;
}
.docs-method--get { background: #e5f8ea; color: #1f7a3f; }
.docs-method--post { background: #e8f0fe; color: #0047ab; }
.docs-method--put, .docs-method--patch { background: #fff4d6; color: #8a6d00; }
.docs-method--delete { background: #fde8e6; color: #c0392b; }
.docs-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.docs-chips code {
  font-size: .78rem;
  padding: .25rem .5rem;
  border-radius: 6px;
  background: rgba(16, 32, 51, .06);
}
.docs-list {
  margin: .35rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}
.docs-list li { margin: .25rem 0; }
.docs-warn {
  margin: 1rem 0 0;
  padding: .75rem 1rem;
  border-radius: 8px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
  font-size: .92rem;
}
html.console-theme-dark .docs-bases > div,
.console.console--dark .docs-bases > div {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
}
html.console-theme-dark .docs-tab,
.console.console--dark .docs-tab {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  color: #e8eef7;
}
html.console-theme-dark .docs-tab.is-active,
.console.console--dark .docs-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
html.console-theme-dark .docs-copy,
.console.console--dark .docs-copy {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  color: #9ecbff;
}
html.console-theme-dark .docs-chips code,
.console.console--dark .docs-chips code {
  background: rgba(255,255,255,.08);
}
