:root {
  color-scheme: light;
  /* Read-friendly light desk: stronger ink, clearer hierarchy */
  --aqua: #0d8f9b;
  --aqua-deep: #0a5f68;
  --bg: #eef5f7;
  --sidebar: #e4eef1;
  --surface: #ffffff;
  --surface-2: #f3f8fa;
  --ink: #0a1518;
  --muted: #4d636b;
  --line: rgba(10, 70, 82, 0.12);
  --border: rgba(10, 70, 82, 0.18);
  --active: rgba(13, 143, 155, 0.16);
  --hover: rgba(13, 143, 155, 0.09);
  --fill: rgba(13, 143, 155, 0.1);
  --ok: #166534;
  --warn: #a16207;
  --danger: #b91c1c;
  --radius: 12px;
  --sidebar-w: 256px;
  --font: "Inter", "Noto Sans Arabic", "Noto Sans Symbols 2", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --display: "Inter", "Noto Sans Arabic", "Noto Sans Symbols 2", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", ui-sans-serif, system-ui, sans-serif;
  /* Soft depth without washing text */
  --emboss:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(10, 70, 82, 0.04),
    0 1px 2px rgba(10, 50, 60, 0.06);
  --emboss-sm:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(10, 50, 60, 0.05);
  --emboss-press:
    inset 0 1px 2px rgba(10, 50, 60, 0.08),
    inset 0 -1px 0 rgba(255, 255, 255, 0.6);
  --theme-glow: rgba(255, 255, 255, 0.5);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --aqua: #2ec4ce;
  --aqua-deep: #1aa0aa;
  --bg: #0b1418;
  --sidebar: #0f1a1f;
  --surface: #142228;
  --surface-2: #182a31;
  --ink: #e7f4f6;
  --muted: rgba(198, 222, 228, 0.62);
  --line: rgba(90, 180, 190, 0.14);
  --border: rgba(90, 180, 190, 0.22);
  --active: rgba(46, 196, 206, 0.18);
  --hover: rgba(46, 196, 206, 0.1);
  --fill: rgba(46, 196, 206, 0.12);
  --ok: #4ade80;
  --warn: #fbbf24;
  --danger: #f87171;
  --emboss:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.28);
  --emboss-sm:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 1px 1px rgba(0, 0, 0, 0.22);
  --emboss-press:
    inset 0 1px 2px rgba(0, 0, 0, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04);
  --theme-glow: rgba(46, 196, 206, 0.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
body, .el-body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 14.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  font-feature-settings: "cv11", "ss01";
  font-weight: 400;
}
.launch-ico {
  font-family: "Noto Sans Symbols 2", "Segoe UI Symbol", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", var(--font);
  font-variant-emoji: emoji;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.container-wide { width: 100%; max-width: none; margin: 0; }

/* —— App shell —— */
.el-shell {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 100vh;
  transition: grid-template-columns .2s ease;
}
.el-sidebar {
  position: sticky; top: 0; height: 100vh;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
}
.el-sidebar-top {
  display: grid;
  gap: 10px;
  padding: 16px 12px 12px;
}
.el-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 2px 6px 2px 4px;
  border-radius: 10px;
  transition: background .12s ease;
}
.el-brand:hover { background: rgba(255, 255, 255, 0.45); }
.el-brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(160deg, var(--aqua) 0%, var(--aqua-deep) 100%);
  color: #fff;
  display: grid; place-items: center;
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 12px; font-weight: 800; letter-spacing: -0.03em;
  box-shadow: var(--emboss-sm);
  flex: 0 0 auto;
}
.el-brand-text { display: grid; line-height: 1.2; min-width: 0; flex: 1; }
.el-brand-text strong {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 14px; font-weight: 700; letter-spacing: -0.02em;
}
.el-brand-text small {
  font-size: 11px; color: var(--muted); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.el-workspace {
  width: 100%; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.92);
  border-radius: 12px; padding: 9px 10px;
  cursor: pointer; text-align: left;
  box-shadow: var(--emboss-sm);
  transition: background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.el-workspace:hover {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--aqua) 32%, var(--border));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 6px rgba(14, 80, 100, 0.06);
}
.el-workspace-avatar {
  width: 30px; height: 30px; border-radius: 8px;
  background: color-mix(in srgb, var(--aqua) 16%, var(--surface));
  color: var(--aqua-deep);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; flex: 0 0 auto;
  line-height: 1;
}
.el-workspace-meta { display: grid; min-width: 0; flex: 1; gap: 1px; }
.el-workspace-meta strong,
.el-workspace-meta small {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.el-workspace-meta strong { font-size: 13px; font-weight: 600; line-height: 1.25; }
.el-workspace-meta small { font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.25; }
.el-workspace-chev {
  color: var(--muted); opacity: 0.7; display: grid; place-items: center;
  flex: 0 0 auto; transition: transform .12s ease, opacity .12s ease;
}
.el-workspace:hover .el-workspace-chev { opacity: 1; transform: translateX(1px); color: var(--aqua-deep); }

.el-search {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 0 10px; height: 38px;
  box-shadow: var(--emboss-sm);
  transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.el-search:focus-within {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--aqua) 45%, var(--border));
  box-shadow:
    0 0 0 3px color-mix(in srgb, var(--aqua) 14%, transparent),
    var(--emboss-sm);
}
.el-search-icon {
  color: var(--muted); display: grid; place-items: center;
  flex: 0 0 auto; line-height: 0; margin: 0;
}
.el-search:focus-within .el-search-icon { color: var(--aqua-deep); }
.el-search kbd {
  font-size: 10px; color: var(--muted); font-weight: 600;
  border: 1px solid var(--border); border-radius: 6px;
  min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--aqua) 6%, var(--surface));
  font-family: var(--font); flex: 0 0 auto;
}

.el-nav {
  flex: 1; overflow: auto; padding: 4px 10px 16px;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in srgb, var(--aqua) 55%, transparent) transparent;
}
.el-nav::-webkit-scrollbar {
  width: 4px;
}
.el-nav::-webkit-scrollbar-track {
  background: transparent;
  margin-block: 6px;
}
.el-nav::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--aqua) 55%, transparent);
  border-radius: 999px;
}
.el-nav::-webkit-scrollbar-thumb:hover {
  background: var(--aqua);
}
.el-nav-section {
  margin: 0;
  border: 0;
}
.el-nav-section + .el-nav-section { margin-top: 4px; }
.el-nav-label {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin: 10px 4px 4px; padding: 6px 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em; color: var(--muted); text-transform: uppercase;
  border-radius: 8px; cursor: pointer; user-select: none;
  transition: background .12s ease, color .12s ease;
}
.el-nav-label::-webkit-details-marker { display: none; }
.el-nav-label::marker { content: ""; }
.el-nav-label:hover {
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  color: var(--aqua-deep);
}
.el-nav-chev {
  width: 14px; height: 14px; flex: 0 0 auto;
  background: currentColor;
  opacity: 0.55;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(0deg);
  transition: transform .16s ease, opacity .12s ease;
}
.el-nav-section[open] > .el-nav-label .el-nav-chev { transform: rotate(90deg); opacity: 0.8; }
.el-nav-group { display: grid; gap: 2px; padding: 0 0 2px; }
.el-nav-item {
  display: flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 10px; border-radius: 8px;
  font-size: 14px; font-weight: 550; color: var(--ink);
}
.el-nav-item:hover { background: var(--hover); }
.el-nav-item.active { background: var(--active); font-weight: 650; color: var(--aqua-deep); }
.el-ico {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  flex: 0 0 auto;
  color: var(--aqua-deep);
  opacity: 0.92;
}
.el-ico .el-icon-svg {
  display: block;
  width: 16px; height: 16px;
}
.el-nav-item.active .el-ico { opacity: 1; color: var(--aqua-deep); }
.el-nav-item:hover .el-ico { opacity: 1; }
.el-foot-cta-ico .el-icon-svg {
  display: block;
  width: 14px; height: 14px;
}
.el-nav-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.el-sidebar-foot {
  padding: 10px 12px 14px; border-top: 1px solid var(--line);
  display: grid; gap: 8px;
}
.el-foot-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; border-radius: 10px;
  background: var(--aqua-deep); color: #fff;
  font-size: 13px; font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(11, 110, 120, 0.28);
  transition: filter .12s ease, transform .12s ease;
}
.el-foot-cta:hover { filter: brightness(1.05); }
.el-foot-cta-ico {
  width: 18px; height: 18px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.18);
  font-size: 14px; line-height: 1; font-weight: 700;
}
.el-foot-link {
  display: grid; place-items: center;
  height: 30px; border-radius: 8px;
  font-size: 12px; font-weight: 550; color: var(--muted);
  transition: color .12s ease, background .12s ease;
}
.el-foot-link:hover {
  color: var(--aqua-deep);
  background: rgba(255, 255, 255, 0.55);
}
.el-account {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--emboss-sm);
  min-width: 0;
}
.el-account-avatar {
  width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--aqua) 0%, var(--aqua-deep) 100%);
  color: #fff; font-size: 12px; font-weight: 700;
  box-shadow: var(--emboss-sm);
}
.el-account-meta { display: grid; min-width: 0; flex: 1; gap: 1px; }
.el-account-meta strong,
.el-account-meta small {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.el-account-meta strong { font-size: 12px; font-weight: 600; line-height: 1.25; }
.el-account-meta small { font-size: 11px; color: var(--muted); font-weight: 500; line-height: 1.25; }
.el-logout-form { margin: 0; flex: 0 0 auto; }
.el-logout-btn {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.el-logout-btn:hover {
  background: color-mix(in srgb, #dc2626 8%, var(--surface));
  border-color: color-mix(in srgb, #dc2626 22%, var(--border));
  color: #b91c1c;
}
.el-logout-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, #dc2626 35%, transparent);
  outline-offset: 2px;
}
.el-logout-label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Desktop: collapse sidebar to an icon rail */
@media (min-width: 981px) {
  .el-shell.is-collapsed {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .el-shell.is-collapsed .el-sidebar { width: 72px; }
  .el-shell.is-collapsed .el-brand-text,
  .el-shell.is-collapsed .el-search,
  .el-shell.is-collapsed .el-nav-label,
  .el-shell.is-collapsed .el-nav-text,
  .el-shell.is-collapsed .el-foot-cta span:not(.el-foot-cta-ico),
  .el-shell.is-collapsed .el-foot-link,
  .el-shell.is-collapsed .el-account-meta {
    display: none;
  }
  .el-shell.is-collapsed .el-sidebar-top {
    padding: 14px 10px 10px;
    justify-items: center;
  }
  .el-shell.is-collapsed .el-brand {
    justify-content: center;
    padding-inline: 0;
    width: 44px;
  }
  .el-shell.is-collapsed .el-nav { padding-inline: 10px; }
  .el-shell.is-collapsed .el-nav-section { margin-top: 0; }
  .el-shell.is-collapsed .el-nav-item {
    justify-content: center;
    padding: 0;
    width: 40px;
    margin-inline: auto;
  }
  .el-shell.is-collapsed .el-sidebar-foot { padding: 10px; gap: 8px; }
  .el-shell.is-collapsed .el-foot-cta {
    width: 40px;
    margin-inline: auto;
    padding: 0;
  }
  .el-shell.is-collapsed .el-account {
    padding: 6px;
    justify-content: center;
    gap: 0;
  }
  .el-shell.is-collapsed .el-account-avatar { display: none; }
  .el-shell.is-collapsed .el-logout-btn { width: 36px; height: 36px; }
}

.el-main {
  min-width: 0; width: 100%;
  display: flex; flex-direction: column;
  background: var(--bg);
}
.el-topbar {
  height: 50px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, var(--surface));
  backdrop-filter: blur(10px);
}
.el-topbar-left, .el-topbar-right { display: flex; align-items: center; gap: 8px; }
.el-crumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.el-crumb-product {
  font-family: "Plus Jakarta Sans", var(--font);
  font-weight: 700; letter-spacing: -0.02em; color: var(--aqua-deep);
}
.el-crumb-sep { color: var(--muted); font-weight: 400; }
.el-icon-btn {
  width: 32px; height: 32px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--emboss-sm);
  color: var(--ink);
}
.el-icon-btn .el-icon-svg,
.el-icon-btn > svg {
  display: block;
  width: 16px;
  height: 16px;
  color: var(--aqua-deep);
}
.el-avatar {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--aqua-deep); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(11, 110, 120, 0.25);
}
.el-content {
  padding: 24px 32px 64px;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.el-app .el-content > *,
.el-app .el-content .container-wide,
.el-app .el-content .container,
.el-app .el-content .section,
.el-app .el-content .dash {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

/* —— Chips (very light tinted status pills) —— */
.chip,
.el-chip,
.badge,
.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--dot, var(--aqua)) 16%, transparent);
  background: color-mix(in srgb, var(--dot, var(--aqua)) 12%, var(--surface));
  color: color-mix(in srgb, var(--dot, var(--aqua-deep)) 72%, var(--ink));
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: var(--emboss-sm);
}
.chip::before,
.badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--dot, var(--aqua));
  flex: 0 0 auto;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--dot, var(--aqua)) 10%, var(--surface));
}
.chip-outline {
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  box-shadow: var(--emboss-sm);
}
.chip-outline::before { display: none; }
.chip-v2 {
  height: 26px; padding: 0 10px;
  background: color-mix(in srgb, var(--aqua) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--aqua) 28%, transparent);
  color: var(--aqua-deep);
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.chip-v2::before { display: none; }
.el-chip {
  height: 30px; padding: 0 12px; font-size: 12px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink);
  box-shadow: var(--emboss-sm);
}
.el-chip::before { display: none; }
.tab {
  height: 30px; padding: 0 12px; font-size: 12px;
  color: var(--muted);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.tab::before { display: none; }
.tab:hover { background: var(--hover); color: var(--ink); }
.tab.active {
  background: color-mix(in srgb, var(--aqua) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--aqua) 18%, transparent);
  color: var(--aqua-deep);
  font-weight: 600;
  box-shadow: var(--emboss-sm);
}
.badge {
  background: color-mix(in srgb, var(--dot, var(--aqua)) 12%, var(--surface)) !important;
  color: color-mix(in srgb, var(--dot, var(--aqua-deep)) 62%, #0f1b1e) !important;
  border-color: color-mix(in srgb, var(--dot, var(--aqua)) 16%, transparent) !important;
}

.tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 16px; align-items: center;
}

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid transparent; border-radius: 10px;
  padding: 0 14px; height: 36px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: var(--font);
  box-shadow: var(--emboss-sm);
}
.btn-primary, .btn-dark {
  background: var(--aqua-deep); color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 1px 2px rgba(11, 110, 120, 0.28);
}
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-danger { background: #fee2e2; color: #991b1b; }
.btn-sm { height: 32px; padding: 0 10px; font-size: 12px; }
.btn:hover { filter: brightness(1.04); }
.btn:active { box-shadow: var(--emboss-press); }

/* —— Page chrome —— */
.page-head {
  display: flex; justify-content: space-between; gap: 1rem;
  align-items: flex-end; margin: 0 0 18px; flex-wrap: wrap;
}
.page-head h1,
.dash-title {
  margin: 0;
  font-family: var(--font);
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.page-head p,
.dash-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.section { padding: 0 0 8px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--emboss);
}
.card-pad { padding: 16px 18px; }

.grid-stats {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
}
.stat {
  padding: 14px 16px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--emboss);
}
.stat .label { color: var(--muted); font-size: 12px; font-weight: 500; }
.stat .value {
  font-size: 22px; font-weight: 600; margin-top: 4px;
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}

.filters {
  display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 8px; margin-bottom: 14px;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select, textarea {
  width: 100%; border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; background: var(--surface); font-size: 14px;
  box-shadow: var(--emboss-sm);
}
input[type="checkbox"], input[type="radio"] {
  width: 16px; height: 16px; margin: 0; padding: 0;
  accent-color: var(--aqua-deep, #0e9aa7);
  border-radius: 4px; flex-shrink: 0;
  box-shadow: none; vertical-align: middle;
}

/* Sidebar search must not inherit the global field chrome (fixes nested white box). */
.el-search input[type="search"],
.el-search input {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
  line-height: 1.2;
  outline: none;
}
.el-search input::placeholder { color: color-mix(in srgb, var(--muted) 88%, transparent); }
.el-search input::-webkit-search-decoration,
.el-search input::-webkit-search-cancel-button,
.el-search input::-webkit-search-results-button,
.el-search input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
textarea { min-height: 110px; resize: vertical; }
label {
  display: block; font-size: 12px; font-weight: 700;
  margin-bottom: 6px; color: var(--ink);
  opacity: 0.78;
}
label.checkbox-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1rem; font-size: 13px; font-weight: 500;
  color: var(--ink); cursor: pointer; user-select: none;
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--line); vertical-align: top; font-size: 13px;
}
th {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.045em;
  color: var(--muted); font-weight: 700;
}
.muted { color: var(--muted); font-weight: 500; }
.alert {
  padding: 12px 14px; border-radius: 10px; margin-bottom: 12px;
  font-weight: 500; font-size: 13px;
}
.alert-success { background: #ecfdf3; color: #166534; }
.alert-error { background: #fef2f2; color: #991b1b; }
.empty { padding: 28px 12px; text-align: center; color: var(--muted); font-size: 13px; }
.footer { display: none; }
.text-link {
  font-size: 13px; font-weight: 600; color: var(--aqua-deep);
}
.text-link:hover { color: var(--ink); }

/* Legacy pipeline (candidate detail) */
.pipeline {
  display: grid; grid-template-columns: repeat(9, minmax(88px, 1fr));
  gap: 8px; margin: 12px 0 16px; overflow-x: auto;
}
.pipeline-step {
  text-align: left; padding: 10px 10px; border-radius: 10px;
  background: var(--fill); color: var(--ink);
  font-size: 12px; font-weight: 500; border: 1px solid transparent;
  min-width: 88px;
}
.pipeline-step.done { background: #f4f4f5; }
.pipeline-step.current {
  background: var(--surface); border-color: var(--border); font-weight: 600;
}
.progress {
  height: 3px; border-radius: 999px; background: rgba(0,0,0,0.06); overflow: hidden; margin: 8px 0 12px;
}
.progress > span { display: block; height: 100%; background: var(--aqua-deep); border-radius: inherit; }

.split { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 12px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.timeline li {
  position: relative; padding-left: 14px;
  border-left: 1px solid var(--border); margin-left: 4px;
}
.timeline li::before {
  content: ""; position: absolute; left: -4px; top: 5px;
  width: 7px; height: 7px; border-radius: 50%; background: #0f0f10;
}

.home-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.home-tile {
  border: 1px solid var(--border); border-radius: 14px; padding: 16px;
  background: var(--surface); min-height: 118px; display: grid; gap: 8px; align-content: start;
  box-shadow: var(--emboss);
}
.home-tile:hover { background: color-mix(in srgb, var(--aqua) 5%, var(--surface)); }
.home-tile strong { font-size: 14px; font-weight: 600; }
.home-tile span { font-size: 12px; color: var(--muted); line-height: 1.45; }
.home-tile code {
  font-size: 11px; padding: 1px 5px; border-radius: 6px;
  background: color-mix(in srgb, var(--aqua) 12%, #f4fbfd); color: var(--aqua-deep);
}
.greeting { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }

/* —— Dashboard (full-width EL home) —— */
.dash {
  width: 100%;
  display: grid;
  gap: 16px;
}
.dash-banner {
  display: flex; justify-content: space-between; gap: 16px;
  align-items: flex-end; flex-wrap: wrap;
  width: 100%;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 80% 120% at 0% 0%, color-mix(in srgb, var(--aqua) 18%, transparent), transparent 55%),
    radial-gradient(ellipse 50% 80% at 100% 0%, color-mix(in srgb, var(--surface) 80%, transparent), transparent 50%),
    var(--surface);
  box-shadow: var(--emboss);
}
.dash-kicker {
  margin: 0 0 6px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--aqua-deep);
}
.dash-title {
  margin: 0;
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.15;
}
.dash-sub {
  margin: 6px 0 0;
  color: var(--muted); font-size: 13px; max-width: 42rem;
}
.dash-head {
  display: flex; justify-content: space-between; gap: 16px;
  align-items: flex-start; flex-wrap: wrap;
  width: 100%;
}
.dash-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-aside { display: grid; gap: 10px; }
.dash-tip {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: var(--surface);
  box-shadow: var(--emboss);
  display: grid; gap: 6px; align-content: start;
}
.dash-tip strong { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.dash-tip p:not(.dash-kicker) {
  margin: 0 0 6px; font-size: 12px; color: var(--muted); line-height: 1.45;
}
.dash-tip-muted {
  background: color-mix(in srgb, var(--aqua) 8%, var(--surface));
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
.kpi {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  background: var(--surface);
  display: grid;
  gap: 10px;
  min-width: 0;
  box-shadow: var(--emboss);
}
.kpi-label {
  font-family: var(--font);
  font-size: 12px; font-weight: 600; color: var(--muted);
  letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.kpi-value {
  font-family: var(--font);
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 700; letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
.launch-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--surface);
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--emboss-sm);
  transition: background .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.launch-card:hover {
  background: color-mix(in srgb, var(--aqua) 5%, var(--surface));
  border-color: color-mix(in srgb, var(--aqua) 28%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 2px 4px rgba(14, 80, 100, 0.07);
}
.launch-card-accent {
  border-color: color-mix(in srgb, var(--aqua) 32%, var(--border));
  background: color-mix(in srgb, var(--aqua) 7%, var(--surface));
}
.launch-ico {
  width: 32px; height: 32px; border-radius: 8px;
  background: color-mix(in srgb, var(--aqua) 12%, var(--surface));
  display: grid; place-items: center;
  font-size: 13px; margin: 0;
  color: var(--aqua-deep);
  box-shadow: var(--emboss-sm);
  flex: 0 0 auto;
}
.launch-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.launch-card strong {
  font-family: var(--font);
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.launch-copy > span {
  font-family: var(--font);
  font-size: 11px; color: var(--muted); line-height: 1.3;
  font-weight: 400;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.dash-split {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: 12px;
  align-items: start;
  width: 100%;
}
.panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 16px 18px;
  min-width: 0;
  width: 100%;
  box-shadow: var(--emboss);
}
.panel-flush {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.panel-flush .panel-head {
  padding: 0 2px;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.panel-head h2 {
  margin: 0;
  font-family: var(--font);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
}

/* Full-width pipeline strip — one continuous EL panel */
.stage-track {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--emboss);
}
.stage-cell {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 12px 16px;
  background: transparent;
  display: grid;
  gap: 10px;
  min-width: 0;
  position: relative;
  transition: background .12s ease;
}
.stage-cell:last-child { border-right: 0; }
.stage-cell:hover { background: color-mix(in srgb, var(--aqua) 8%, var(--surface)); }
.stage-cell.has-items { background: color-mix(in srgb, var(--aqua) 6%, var(--surface)); }
.stage-top {
  display: flex; align-items: center; gap: 7px; min-width: 0;
}
.stage-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--dot, #0f0f10);
  flex: 0 0 auto;
}
.stage-count {
  font-family: var(--font);
  font-size: 22px; font-weight: 600; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stage-name {
  font-family: var(--font);
  font-size: 12px; font-weight: 500; color: var(--muted);
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stage-bar { display: none; }

.recent-list {
  display: grid; width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--emboss);
}
.recent-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.recent-row:last-child { border-bottom: 0; }
.recent-row:hover { background: color-mix(in srgb, var(--aqua) 8%, var(--surface)); }
.recent-main { display: grid; gap: 2px; min-width: 0; flex: 1; }
.recent-main strong {
  font-family: var(--font);
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.recent-main span {
  font-family: var(--font);
  font-size: 12px; color: var(--muted); font-weight: 400;
}
.recent-row .chip { flex: 0 0 auto; }

/* Public */
.public-body { background: var(--bg); }
.public-top {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 78%, var(--surface));
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 40;
}
.public-top-inner {
  width: min(1160px, calc(100% - 2rem)); margin: 0 auto; height: 58px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  position: relative;
}
.public-menu-btn {
  display: none;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface);
  align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--emboss-sm); flex: 0 0 auto;
}
.public-menu-bars,
.public-menu-bars::before,
.public-menu-bars::after {
  display: block; width: 16px; height: 2px; border-radius: 2px;
  background: var(--ink); position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.public-menu-bars::before,
.public-menu-bars::after {
  content: ""; position: absolute; left: 0;
}
.public-menu-bars::before { top: -5px; }
.public-menu-bars::after { top: 5px; }
.public-nav-open .public-menu-bars { background: transparent; }
.public-nav-open .public-menu-bars::before { top: 0; transform: rotate(45deg); }
.public-nav-open .public-menu-bars::after { top: 0; transform: rotate(-45deg); }
.public-nav {
  display: flex; gap: 6px 16px; align-items: center;
  font-size: 14px; font-weight: 500;
}
.public-nav a:not(.btn) {
  padding: 6px 2px;
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
}
.public-nav a:not(.btn):hover { color: var(--aqua-deep); }
.public-nav .btn { margin-left: 4px; }
.public-nav .el-theme-toggle { margin-left: 2px; }

.public-foot {
  padding: 48px 0 28px;
  color: var(--muted); font-size: 13px;
  background:
    radial-gradient(ellipse 70% 80% at 10% 0%, rgba(14, 154, 167, 0.08), transparent 55%),
    color-mix(in srgb, var(--aqua) 4%, #fff);
  border-top: 1px solid var(--line);
}
.lp-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.lp-foot-col h3 {
  margin: 0 0 12px;
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 13px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink);
}
.lp-foot-col ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 8px;
}
.lp-foot-col a {
  color: var(--muted); font-size: 13px; font-weight: 500;
}
.lp-foot-col a:hover { color: var(--aqua-deep); }
.lp-foot-about p {
  margin: 12px 0 14px; max-width: 28rem;
  font-size: 13px; line-height: 1.55; color: var(--muted);
}
.lp-foot-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0; margin: 0 0 4px;
}
.lp-foot-brand .el-brand-text strong {
  font-size: 14px;
}
.lp-foot-muted { color: var(--muted); font-size: 13px; }
.lp-foot-note {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.lp-foot-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 18px; font-size: 12px;
}

/* —— Landing product page —— */
.lp-hero {
  position: relative; overflow: hidden;
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  min-height: 0;
  display: flex; align-items: center;
}
.lp-hero-glow {
  position: absolute; inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 55% 55% at 20% 30%, rgba(14, 154, 167, 0.28), transparent 70%),
    radial-gradient(ellipse 45% 50% at 85% 10%, rgba(11, 110, 120, 0.18), transparent 65%),
    radial-gradient(ellipse 40% 40% at 60% 80%, rgba(255, 255, 255, 0.7), transparent 70%);
  pointer-events: none;
  will-change: transform;
  transition: transform .35s ease-out;
}
.lp-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14, 120, 140, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 120, 140, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 85%);
  pointer-events: none;
}
.lp-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; width: min(1160px, calc(100% - 2rem));
}
.lp-brand {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 800; letter-spacing: -0.045em; line-height: 1;
  margin: 0 0 1rem; color: var(--aqua-deep);
}
.lp-brand-sm { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .6rem; }
.lp-hero-copy h1 {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.2;
  margin: 0 0 .85rem; max-width: 18ch; color: var(--ink);
}
.lp-lead {
  margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5;
  max-width: 34rem;
}
.lp-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.lp-btn-lg { height: 44px; padding: 0 1.15rem; font-size: 14px; font-weight: 600; }

/* Quiet capability strip under hero */
.lp-trust {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 1.5rem 0;
}
.lp-trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.lp-trust-item {
  display: grid;
  gap: 5px;
  padding: 0 1.25rem;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.lp-trust-item:first-child {
  border-left: 0;
  padding-left: 0;
}
.lp-trust-item:last-child { padding-right: 0; }
.lp-trust-item strong {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}
.lp-trust-item span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

/* Trial account panel */
.lp-trial-section {
  background:
    radial-gradient(ellipse 55% 70% at 0% 0%, rgba(14, 154, 167, 0.09), transparent 55%),
    var(--bg);
}
.lp-trial-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
  margin-bottom: 1.5rem;
}
.lp-trial-intro h2 {
  max-width: 14ch;
}
.lp-trial-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.lp-trial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--emboss);
  padding: 18px 16px;
}
.lp-trial-howto {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--aqua) 8%, #fff), #fff 50%);
  border-color: color-mix(in srgb, var(--aqua) 28%, var(--border));
}
.lp-trial-card h3 {
  margin: 0 0 12px;
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lp-trial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.lp-trial-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}
.lp-trial-list.include li::before,
.lp-trial-list.exclude li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.lp-trial-list.include li::before {
  background: var(--aqua);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 18%, transparent);
}
.lp-trial-list.exclude li::before {
  background: #cbd5e1;
}
.lp-trial-list.exclude li { color: var(--muted); font-weight: 500; }
.lp-trial-steps {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.lp-trial-steps li {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.35;
}
.lp-trial-steps span {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--aqua-deep);
}
.lp-trial-hint {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.lp-demo-request {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--aqua) 28%, var(--border));
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(14, 154, 167, 0.1), transparent 55%),
    #fff;
  box-shadow: var(--emboss);
}
.lp-demo-request h3 {
  margin: 0 0 8px;
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lp-demo-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.lp-demo-points li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.4;
}
.lp-demo-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--aqua);
}
.lp-demo-request-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--aqua) 7%, #fff);
  border: 1px solid color-mix(in srgb, var(--aqua) 22%, var(--border));
}
.lp-demo-request-card strong {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.lp-demo-request-card > p {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.lp-demo-request-card .btn {
  width: 100%;
  justify-content: center;
}
.lp-demo-secondary {
  display: block;
  text-align: center;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 650;
  color: var(--aqua-deep);
  text-decoration: none;
}
.lp-demo-secondary:hover { text-decoration: underline; }

/* Laptop frame + dashboard mock for hero */
.lp-laptop {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  justify-self: end;
}
.lp-laptop-lid {
  background: linear-gradient(180deg, #2a3236 0%, #1a1f22 100%);
  border: 1px solid #0f1315;
  border-radius: 14px 14px 8px 8px;
  padding: 10px 10px 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 10px 28px rgba(11, 80, 95, 0.18);
}
.lp-laptop-screen {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #0b1214;
  aspect-ratio: 16 / 10.2;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.lp-laptop-base {
  position: relative;
  z-index: 1;
  height: 12px;
  margin: 0 -4% -2px;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #cfd6da 0%, #aeb8be 55%, #9aa4aa 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 8px 16px rgba(11, 80, 95, 0.12);
}
.lp-laptop-indent {
  position: absolute;
  left: 50%;
  top: 3px;
  transform: translateX(-50%);
  width: 18%;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #8b959b, #7a848a);
}
.lp-laptop-shadow {
  height: 14px;
  margin: 2px 8% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(11, 80, 95, 0.18), transparent 70%);
  filter: blur(2px);
}
.dash-mock {
  background: var(--surface);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  width: 128%;
  transform: scale(0.78);
  transform-origin: top left;
  box-shadow: none;
}
.dash-mock-chrome {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--aqua) 5%, #f7fbfc);
}
.dash-mock-chrome span {
  width: 8px; height: 8px; border-radius: 50%;
  background: color-mix(in srgb, var(--aqua) 30%, #d7e8ec);
}
.dash-mock-chrome span:nth-child(1) { background: #f2a4a4; }
.dash-mock-chrome span:nth-child(2) { background: #f0d48a; }
.dash-mock-chrome span:nth-child(3) { background: #9fd5a8; }
.dash-mock-chrome strong {
  margin-left: 8px; font-size: 11px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.01em;
}
.dash-mock-shell {
  display: grid;
  grid-template-columns: 132px 1fr;
  min-height: 0;
  background: var(--bg);
}
.dash-mock-side {
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 10px 8px;
  display: grid;
  align-content: start;
  gap: 10px;
}
.dash-mock-brand,
.dash-mock-ws {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 6px;
}
.dash-mock-brand strong,
.dash-mock-ws strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.dash-mock-brand small,
.dash-mock-ws small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}
.dash-mock-mark {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--aqua), var(--aqua-deep));
  color: #fff; font-size: 10px; font-weight: 800;
  font-family: "Plus Jakarta Sans", var(--font);
}
.dash-mock-av {
  width: 26px; height: 26px; border-radius: 8px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--aqua) 16%, #fff);
  color: var(--aqua-deep);
  font-size: 11px; font-weight: 700;
  border: 1px solid color-mix(in srgb, var(--aqua) 22%, var(--border));
  flex-shrink: 0;
}
.dash-mock-av.sm { width: 24px; height: 24px; font-size: 10px; border-radius: 999px; }
.dash-mock-nav {
  display: grid; gap: 2px;
}
.dash-mock-nav span {
  padding: 7px 8px; border-radius: 8px;
  font-size: 11px; font-weight: 500; color: var(--muted);
}
.dash-mock-nav span.active {
  background: var(--active);
  color: var(--ink); font-weight: 650;
}
.dash-mock-main { display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.dash-mock-top {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.dash-mock-crumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
}
.dash-mock-crumb em { font-style: normal; color: var(--aqua-deep); font-weight: 600; }
.dash-mock-crumb i { font-style: normal; opacity: .5; }
.dash-mock-crumb strong { color: var(--ink); font-weight: 650; }
.dash-mock-top-right { display: flex; align-items: center; gap: 6px; }
.dash-mock-chip {
  height: 22px; padding: 0 8px; border-radius: 999px;
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 700;
  background: color-mix(in srgb, var(--aqua) 14%, #fff);
  color: var(--aqua-deep);
}
.dash-mock-chip.outline {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
}
.dash-mock-body {
  padding: 10px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.dash-mock-recent .dash-mock-row:nth-child(n+3) { display: none; }
.dash-mock-banner {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, color-mix(in srgb, var(--aqua) 10%, #fff), #fff 55%);
  box-shadow: var(--emboss-sm);
}
.dash-mock-banner p {
  margin: 0 0 2px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--aqua-deep);
}
.dash-mock-banner strong {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 15px; font-weight: 700; letter-spacing: -0.02em;
}
.dash-mock-btn {
  height: 28px; padding: 0 10px; border-radius: 8px;
  display: inline-flex; align-items: center;
  background: var(--aqua-deep); color: #fff;
  font-size: 11px; font-weight: 650;
  white-space: nowrap;
}
.dash-mock-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.dash-mock-kpis > div {
  padding: 8px 9px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--emboss-sm);
  display: grid; gap: 2px;
}
.dash-mock-kpis span {
  font-size: 10px; color: var(--muted); font-weight: 550;
}
.dash-mock-kpis strong {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 16px; font-weight: 750; letter-spacing: -0.03em;
}
.dash-mock-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--emboss-sm);
  overflow: hidden;
}
.dash-mock-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.dash-mock-panel-head strong {
  font-size: 12px; font-weight: 700;
}
.dash-mock-panel-head span {
  font-size: 10px; color: var(--aqua-deep); font-weight: 650;
}
.dash-mock-stages {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
}
.dash-mock-stage {
  padding: 8px 6px;
  border-right: 1px solid var(--line);
  display: grid; gap: 4px; min-width: 0;
}
.dash-mock-stage:last-child { border-right: 0; }
.dash-mock-stage.current {
  background: color-mix(in srgb, var(--aqua) 8%, #fff);
}
.dash-mock-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--dot, var(--aqua));
}
.dash-mock-stage em {
  font-style: normal;
  font-size: 9px; color: var(--muted); font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dash-mock-stage b {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 14px; font-weight: 750; letter-spacing: -0.02em;
}
.dash-mock-rows { display: grid; }
.dash-mock-row {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
}
.dash-mock-row:last-child { border-bottom: 0; }
.dash-mock-row strong {
  display: block; font-size: 12px; font-weight: 650;
}
.dash-mock-row span:not(.chip) {
  font-size: 10px; color: var(--muted);
}
.dash-mock-row .chip {
  font-size: 10px;
  height: 22px;
  padding: 0 8px;
}

.lp-pipe { display: flex; gap: 4px; }
.lp-pipe-step {
  flex: 1; height: 8px; border-radius: 99px;
  background: color-mix(in srgb, var(--aqua) 12%, #e8f2f4);
}
.lp-pipe-step.done { background: color-mix(in srgb, var(--aqua) 55%, #9fd5db); }
.lp-pipe-step.current {
  background: var(--aqua-deep);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 25%, transparent);
  animation: lp-pulse 2.2s ease-in-out infinite;
}

.lp-section { padding: clamp(3rem, 7vw, 5rem) 0; scroll-margin-top: 72px; }
.lp-section-alt {
  background: color-mix(in srgb, var(--aqua) 5%, var(--surface));
  border-block: 1px solid var(--line);
}
.lp-split {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.lp-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
}
.lp-section-head h2 { margin-bottom: .65rem; }
.lp-kicker {
  margin: 0 0 .55rem; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--aqua-deep);
}
.lp-kicker-light { color: color-mix(in srgb, #fff 70%, #9fd5db); }
.lp-section h2, .lp-finale h2 {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.2;
  margin: 0 0 .75rem;
}
.lp-copy { margin: 0 0 1.1rem; color: var(--muted); font-size: 15px; line-height: 1.55; max-width: 36rem; }
.lp-copy-center { margin-left: auto; margin-right: auto; }
.lp-copy-light { color: color-mix(in srgb, #fff 72%, #b8dce1); }
.lp-copy code {
  font-size: 12px; padding: 1px 6px; border-radius: 6px;
  background: color-mix(in srgb, var(--aqua) 12%, #f4fbfd); color: var(--aqua-deep);
}
.lp-copy-light code {
  background: rgba(255,255,255,.14); color: #fff;
}

/* Docs: numbered flow */
.lp-docs-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.lp-doc-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.lp-doc-step {
  position: relative;
  padding: 16px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--aqua) 4%, #fff);
  box-shadow: var(--emboss-sm);
  display: grid; gap: 4px;
  min-height: 118px;
}
.lp-doc-step:not(:last-child)::after {
  content: "";
  position: absolute; top: 28px; right: -8px; z-index: 1;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--aqua);
  box-shadow: 8px 0 0 color-mix(in srgb, var(--aqua) 35%, transparent);
}
.lp-doc-num {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--aqua-deep); margin-bottom: 6px;
}
.lp-doc-step strong { font-size: 14px; font-weight: 600; }
.lp-doc-step span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.lp-doc-meta {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.lp-meta-pill {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--emboss-sm); font-size: 12px;
}
.lp-meta-pill strong { font-weight: 600; }
.lp-meta-pill span { color: var(--muted); }

/* Roles: horizontal rail */
.lp-roles-section {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(14, 154, 167, 0.1), transparent 60%),
    color-mix(in srgb, var(--aqua) 5%, var(--bg));
}
.lp-roles-intro {
  display: flex; justify-content: space-between; gap: 1.5rem;
  align-items: end; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.lp-roles-intro .lp-copy { margin: 0; max-width: 26rem; }
.lp-role-rail {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.lp-role-card {
  padding: 18px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--emboss);
  display: grid; gap: 6px; align-content: start;
  min-height: 220px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.lp-role-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(11, 80, 95, 0.1), var(--emboss);
}
.lp-role-admin {
  background: linear-gradient(180deg, color-mix(in srgb, var(--aqua) 12%, #fff), #fff 42%);
  border-color: color-mix(in srgb, var(--aqua) 30%, var(--border));
}
.lp-role-badge {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--aqua) 14%, var(--surface));
  color: var(--aqua-deep);
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 13px; font-weight: 700;
  margin-bottom: 4px;
}
.lp-role-card strong { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.lp-role-card > span { font-size: 12px; color: var(--muted); line-height: 1.4; margin-bottom: 6px; }
.lp-role-card ul {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 6px;
}
.lp-role-card li {
  font-size: 12px; color: var(--ink); font-weight: 500;
  padding-left: 12px; position: relative;
}
.lp-role-card li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--aqua);
}

/* Tracking: dark panel + device mock */
.lp-track-section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.lp-track-shell {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.5rem;
  align-items: stretch;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(78, 199, 209, 0.28), transparent 55%),
    linear-gradient(145deg, #0b6e78 0%, #0f1b1e 55%, #12343a 100%);
  color: #fff;
  box-shadow: 0 24px 50px rgba(11, 80, 95, 0.22);
}
.lp-track-panel {
  padding: clamp(0.5rem, 2vw, 1rem);
  display: grid; align-content: center; gap: 0;
}
.lp-track-panel h2 { color: #fff; max-width: 16ch; }
.lp-track-steps {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: grid; gap: 8px;
}
.lp-track-steps li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: color-mix(in srgb, #fff 78%, #9fd5db);
}
.lp-track-steps strong {
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12);
  font-size: 11px; color: #fff;
}
.lp-track-device {
  background: var(--surface); color: var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  align-self: center;
  max-width: 380px;
  width: 100%;
  justify-self: end;
}
.lp-track-device-bar {
  height: 12px;
  background: color-mix(in srgb, var(--aqua) 10%, #f0f7f8);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.lp-track-device-bar::before {
  content: "";
  position: absolute; left: 50%; top: 4px; transform: translateX(-50%);
  width: 48px; height: 4px; border-radius: 99px;
  background: color-mix(in srgb, var(--ink) 18%, transparent);
}
.lp-track-device-body { padding: 20px 18px 22px; display: grid; gap: 8px; }
.lp-track-id {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 1.55rem; font-weight: 700; letter-spacing: -0.03em;
}
.lp-track-name { margin: 0; font-size: 13px; color: var(--muted); }
.lp-track-status {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 6px; font-size: 12px; color: var(--muted);
}
.lp-finale {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(14, 154, 167, 0.16), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
}
.lp-finale-inner { display: grid; justify-items: center; }
.lp-finale .lp-copy { max-width: 28rem; }
.lp-finale .lp-cta { justify-content: center; }

/* —— Motion system (home + admin) —— */
[data-fx],
[data-fx-stagger] {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  filter: blur(4px);
  transition:
    opacity .7s cubic-bezier(.22,1,.36,1),
    transform .7s cubic-bezier(.22,1,.36,1),
    filter .7s cubic-bezier(.22,1,.36,1);
}
[data-fx].is-visible,
[data-fx-stagger].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}
[data-fx-stagger] > .fx-child {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .55s cubic-bezier(.22,1,.36,1),
    transform .55s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--fx-i, 0) * 55ms);
}
[data-fx-stagger].is-visible > .fx-child {
  opacity: 1;
  transform: none;
}
.fx-hero.is-visible {
  animation: fx-rise .85s cubic-bezier(.22,1,.36,1) both;
}
.fx-hero-delay.is-visible {
  animation: fx-rise .9s cubic-bezier(.22,1,.36,1) .12s both;
}
.fx-shimmer {
  background: linear-gradient(
    110deg,
    var(--aqua-deep) 20%,
    #4ec7d1 40%,
    var(--aqua-deep) 60%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fx-shimmer 4.5s ease-in-out infinite;
}
.fx-press {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.fx-press:hover { transform: translateY(-2px); }
.fx-press:active { transform: translateY(0) scale(0.98); }
.fx-card-pop {
  transition: transform .25s ease, box-shadow .25s ease;
}
.is-visible .fx-card-pop,
[data-fx].is-visible .fx-card-pop {
  animation: fx-pop .7s cubic-bezier(.22,1,.36,1) .15s both;
}
.wa-float {
  animation: fx-wa-in .6s cubic-bezier(.22,1,.36,1) .4s both;
}
.public-nav-open .public-nav {
  animation: fx-menu-in .28s cubic-bezier(.22,1,.36,1) both;
}

/* Admin shell motion */
html.el-booted .el-shell {
  opacity: 1;
  transition: opacity .28s ease;
}
html.el-booted .el-content-fx {
  animation: fx-page-in .45s cubic-bezier(.22,1,.36,1) both;
}
.el-content-fx {
  /* Wait for portal boot so refresh doesn't animate under the loader. */
  animation: none;
}
.el-nav-item {
  transition: background .15s ease, color .15s ease, transform .15s ease, padding-left .15s ease;
}
.el-nav-item:hover { transform: translateX(2px); }
.el-nav-item.active { transform: none; }
.kpi, .launch-card, .dash-tip, .recent-row, .stage-cell {
  transition: transform .18s ease, box-shadow .18s ease, background .15s ease, border-color .15s ease;
}
.kpi:hover, .dash-tip:hover {
  transform: translateY(-3px);
}
.launch-card:hover {
  transform: translateY(-1px);
}
.stage-cell:hover { transform: translateY(-2px); z-index: 1; }
.chip-v2 { animation: fx-pulse-soft 2.8s ease-in-out infinite; }
.dash-banner {
  position: relative; overflow: hidden;
}
.dash-banner::after {
  content: "";
  position: absolute; inset: 0 auto 0 -40%;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg);
  animation: fx-sheen 5.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fx-rise {
  from { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@keyframes fx-pop {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: none; }
}
@keyframes fx-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
@keyframes fx-menu-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes fx-page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes fx-wa-in {
  from { opacity: 0; transform: translateY(12px) scale(.9); }
  to { opacity: 1; transform: none; }
}
@keyframes fx-pulse-soft {
  0%, 100% { box-shadow: var(--emboss-sm); }
  50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--aqua) 16%, transparent); }
}
@keyframes fx-sheen {
  0%, 55%, 100% { left: -40%; opacity: 0; }
  60% { opacity: 1; }
  80% { left: 120%; opacity: 0; }
}
@keyframes lp-float {
  0%, 100% { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1200px) rotateY(-3deg) rotateX(1deg) translateY(-8px); }
}
@keyframes lp-pulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--aqua) 22%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--aqua) 10%, transparent); }
}

.btn-whatsapp {
  background: #25d366; color: #fff; border: 1px solid #1ebe57;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px rgba(37, 211, 102, .28);
}
.btn-whatsapp:hover { background: #1ebe57; color: #fff; }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 16px 12px 12px; border-radius: 999px;
  background: #25d366; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .38), var(--emboss);
  transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 211, 102, .45); }
.wa-float-icon { display: grid; place-items: center; width: 28px; height: 28px; }
.wa-float-label { padding-right: 2px; }
@media (max-width: 900px) {
  .public-body { overflow-x: hidden; }
  .public-top-inner {
    width: min(1160px, calc(100% - 1.25rem));
    height: 58px;
  }
  .public-menu-btn { display: inline-flex; }
  .public-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    width: min(1160px, calc(100vw - 1.25rem));
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(11, 80, 95, 0.12), var(--emboss);
  }
  .public-nav-open .public-nav { display: flex; }
  .public-nav a:not(.btn) {
    padding: 12px 12px;
    border-radius: 10px;
    font-size: 14px;
  }
  .public-nav a:not(.btn):hover {
    background: color-mix(in srgb, var(--aqua) 8%, var(--surface));
  }
  .public-nav .btn {
    margin: 6px 0 0;
    width: 100%;
    justify-content: center;
    height: 40px;
  }
  .lp-foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 18px;
  }
  .lp-foot-about { grid-column: 1 / -1; }
  .lp-hero {
    min-height: 0;
    padding: 2rem 0 2.5rem;
    align-items: flex-start;
  }
  .lp-hero-inner, .lp-split, .lp-track-shell {
    grid-template-columns: 1fr;
    width: min(1160px, calc(100% - 1.25rem));
    gap: 1.5rem;
  }
  .lp-trust-row {
    grid-template-columns: 1fr 1fr;
    gap: 14px 0;
  }
  .lp-trust-item {
    border-left: 0;
    padding: 10px 12px 10px 0;
    border-top: 1px solid var(--line);
  }
  .lp-trust-item:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .lp-trust-item:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .lp-trial-shell { grid-template-columns: 1fr; }
  .lp-trial-intro h2 { max-width: none; }
  .lp-trial-steps { grid-template-columns: 1fr 1fr; }
  .lp-demo-request { grid-template-columns: 1fr; }
  .lp-doc-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-doc-step:not(:last-child)::after { display: none; }
  .lp-doc-meta { grid-template-columns: 1fr; }
  .lp-meta-pill { border-radius: 12px; }
  .lp-role-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-roles-intro { align-items: start; }
  .lp-track-device { justify-self: stretch; max-width: none; }
  .lp-track-panel h2 { max-width: none; }
  .lp-hero-copy { text-align: left; }
  .lp-hero-copy h1 { max-width: none; }
  .lp-brand { font-size: clamp(2rem, 10vw, 2.8rem); }
  .lp-cta { margin-top: 1.25rem; }
  .lp-laptop {
    max-width: 520px;
    justify-self: stretch;
    margin-inline: auto;
  }
  .lp-laptop-screen { aspect-ratio: 16 / 10.4; }
  .dash-mock {
    width: 135%;
    transform: scale(0.74);
  }
  .dash-mock-side { display: none; }
  .dash-mock-shell { grid-template-columns: 1fr; }
  .dash-mock-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dash-mock-stage:nth-child(3) { border-right: 0; }
  .dash-mock-stage:nth-child(n+4) { border-top: 1px solid var(--line); }
  .lp-section { padding: 2.5rem 0; }
  .lp-finale { padding: 2.75rem 0 3.25rem; text-align: left; }
  .lp-finale-inner { justify-items: stretch; }
  .lp-finale .lp-cta { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .lp-hero { padding: 1.5rem 0 2rem; }
  .lp-hero-inner { gap: 1.25rem; }
  .lp-lead { font-size: 15px; }
  .lp-cta {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .lp-cta .btn, .lp-btn-lg {
    width: 100%;
    justify-content: center;
  }
  .lp-laptop { max-width: 100%; }
  .lp-laptop-lid { padding: 8px 8px 6px; border-radius: 12px 12px 6px 6px; }
  .lp-laptop-screen { aspect-ratio: 16 / 11; }
  .dash-mock {
    width: 142%;
    transform: scale(0.7);
  }
  .dash-mock-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-mock-banner { align-items: flex-start; flex-direction: column; }
  .dash-mock-top-right .dash-mock-chip.outline { display: none; }
  .dash-mock-recent { display: none; }
  .lp-trust-row,
  .lp-trial-panel,
  .lp-trial-steps,
  .lp-doc-flow,
  .lp-role-rail { grid-template-columns: 1fr; }
  .lp-trust {
    padding: 1.25rem 0;
  }
  .lp-trust-item,
  .lp-trust-item:nth-child(even) {
    border-left: 0;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
  .lp-trust-item:first-child { border-top: 0; padding-top: 0; }
  .lp-doc-step { min-height: 0; }
  .lp-role-card { min-height: 0; }
  .lp-track-shell { padding: 1.1rem; border-radius: 18px; }
  .lp-track-id { font-size: 1.35rem; word-break: break-word; }
  .lp-section h2, .lp-finale h2 { font-size: clamp(1.35rem, 6.5vw, 1.7rem); }
  .lp-copy { font-size: 14px; }
  .lp-finale { text-align: center; }
  .lp-finale-inner { justify-items: center; }
  .lp-finale .lp-cta {
    width: 100%;
    justify-content: stretch;
  }
  .lp-foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .lp-foot-bottom { flex-direction: column; gap: 6px; }
  .wa-float-label { display: none; }
  .wa-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    padding: 14px; border-radius: 50%;
  }
  .lp-foot { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .motion-reduce [data-fx],
  .motion-reduce [data-fx-stagger],
  .motion-reduce [data-fx-stagger] > .fx-child {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .dash-mock, .lp-pipe-step.current, .fx-shimmer, .chip-v2,
  .dash-banner::after, .wa-float, .el-content-fx,
  .fx-hero, .fx-hero-delay, .fx-card-pop {
    animation: none !important;
  }
  .kpi:hover, .launch-card:hover, .dash-tip:hover,
  .stage-cell:hover, .fx-press:hover, .el-nav-item:hover {
    transform: none !important;
  }
}

.hero { padding: 4rem 0 2.5rem; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: start; }
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; letter-spacing: -0.03em;
  line-height: 1.1; margin: 0 0 1rem;
}
.hero p { color: var(--muted); font-size: 1rem; max-width: 34rem; }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 1.2rem;
}
.hero-panel h3 { margin: 0 0 1rem; font-size: 16px; font-weight: 600; }
.stage-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.stage-list li {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.55rem 0.65rem; border-radius: 10px; background: #f7f7f7;
}
.stage-list .num {
  width: 24px; height: 24px; border-radius: 999px;
  display: grid; place-items: center; font-size: 0.75rem; font-weight: 700;
  background: #0f0f10; color: #fff; flex: 0 0 auto;
}
.auth-wrap { min-height: calc(100vh - 90px); display: grid; place-items: center; padding: 2rem 0; }
.auth-card { width: min(420px, 100%); }
.trial-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin-bottom: 14px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--aqua) 28%, var(--border));
  background: color-mix(in srgb, var(--aqua) 10%, #fff);
  box-shadow: var(--emboss-sm); font-size: 13px;
}
.trial-banner strong {
  color: var(--aqua-deep); font-size: 11px; letter-spacing: .06em;
  text-transform: uppercase; font-weight: 700;
}
.trial-banner span { color: var(--muted); }
.trial-banner-link {
  margin-left: auto;
  font-size: 12px; font-weight: 700; color: var(--aqua-deep);
  text-decoration: none;
}
.trial-banner-link:hover { text-decoration: underline; }

.onboard {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--aqua) 26%, var(--border));
  background: linear-gradient(180deg, color-mix(in srgb, var(--aqua) 8%, #fff), #fff 48%);
  box-shadow: var(--emboss);
}
.onboard-head {
  display: flex; justify-content: space-between; gap: 12px;
  align-items: flex-start; margin-bottom: 14px;
}
.onboard-head h2 {
  margin: 0 0 4px;
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 18px; font-weight: 750; letter-spacing: -0.02em;
}
.onboard-sub {
  margin: 0; max-width: 44rem;
  font-size: 13px; color: var(--muted); line-height: 1.45;
}
.onboard-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px;
}
.onboard-steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 12px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--emboss-sm);
}
.onboard-num {
  font-family: "Plus Jakarta Sans", var(--font);
  font-size: 11px; font-weight: 750; letter-spacing: 0.05em;
  color: var(--aqua-deep);
}
.onboard-steps strong {
  display: block; margin-bottom: 4px;
  font-size: 13px; font-weight: 700;
}
.onboard-steps p {
  margin: 0 0 10px;
  font-size: 12px; color: var(--muted); line-height: 1.4;
}
.btn-google {
  width: 100%; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: 10px;
  font-weight: 600; font-size: 14px; text-decoration: none; box-shadow: var(--emboss-sm);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-google:hover {
  background: color-mix(in srgb, var(--aqua) 5%, #fff);
  border-color: color-mix(in srgb, var(--aqua) 35%, var(--border));
  color: var(--ink);
}
.auth-divider {
  display: flex; align-items: center; gap: 12px; margin: 1rem 0;
  color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.track-page {
  min-height: calc(100vh - 120px);
  background: var(--bg);
  padding: 40px 16px 64px;
}
.track-shell {
  width: min(720px, 100%);
  margin: 0 auto;
}
.track-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 28px 24px;
  box-shadow: var(--emboss);
}
.track-card-head { margin-bottom: 22px; }
.track-kicker {
  margin: 0 0 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--aqua-deep);
}
.track-card h1 {
  margin: 0;
  font-size: 28px; font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.15;
}
.track-lead {
  margin: 8px 0 0;
  color: var(--muted); font-size: 14px;
}
.track-note {
  margin: 6px 0 0;
  color: var(--muted); font-size: 12px;
}
.track-form { display: grid; gap: 14px; }
.track-fields {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 10px;
}
.track-fields label span {
  display: block; margin-bottom: 6px;
  font-size: 12px; font-weight: 600; color: var(--muted);
}
.track-fields label span em {
  font-style: normal; font-weight: 500; opacity: 0.75;
}
.track-submit { width: 100%; height: 40px; }
.track-login { margin-top: 14px; }
.track-result { margin-top: 22px; text-align: left; }
.track-status-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: color-mix(in srgb, var(--aqua) 4%, var(--surface));
  box-shadow: var(--emboss-sm);
}
.track-status-top {
  display: flex; justify-content: space-between; gap: 12px;
  align-items: flex-start; flex-wrap: wrap;
}
.track-label { font-size: 12px; margin-bottom: 2px; }
.track-id {
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.03em;
}
.track-person {
  display: grid; gap: 2px; margin: 14px 0 10px;
}
.track-person strong { font-size: 15px; font-weight: 600; }
.track-person span { font-size: 13px; color: var(--muted); }
.track-desc {
  margin: 10px 0 0;
  font-size: 13px; color: var(--muted);
}
.track-pipeline {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0;
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--emboss-sm);
}
.track-step {
  padding: 10px 8px;
  border-right: 1px solid var(--line);
  display: grid; gap: 6px; min-width: 0;
  background: transparent;
}
.track-step:last-child { border-right: 0; }
.track-step.done { background: color-mix(in srgb, var(--aqua) 5%, var(--surface)); }
.track-step.current {
  background: color-mix(in srgb, var(--aqua) 12%, var(--surface));
}
.track-step-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--dot, var(--aqua));
}
.track-step.done .track-step-dot,
.track-step.current .track-step-dot { opacity: 1; }
.track-step:not(.done):not(.current) .track-step-dot { opacity: 0.35; }
.track-step-label {
  font-size: 10px; font-weight: 500; color: var(--muted);
  line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.track-step.current .track-step-label {
  color: var(--ink); font-weight: 600;
}
.track-timeline-block { margin-top: 18px; }
.track-timeline-block h2 {
  margin: 0 0 10px;
  font-size: 14px; font-weight: 600;
}
.track-page .timeline li {
  border-left-color: var(--border);
  padding-bottom: 4px;
}
.track-page .timeline li::before {
  background: var(--aqua-deep);
}
.track-page .pipeline-step {
  background: var(--fill);
  border: 1px solid transparent;
}
.track-page .pipeline-step.current {
  background: var(--surface);
  border-color: var(--border);
}

@media (max-width: 1400px) {
  .kpi-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1200px) {
  .stage-track {
    grid-template-columns: repeat(9, minmax(110px, 1fr));
    overflow-x: auto;
  }
  .launch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .el-shell { grid-template-columns: 1fr; }
  .el-sidebar {
    position: fixed; left: 0; top: 0; z-index: 50;
    transform: translateX(-105%); transition: transform .2s ease;
    width: min(280px, 86vw); box-shadow: 8px 0 30px rgba(0,0,0,.08);
  }
  .el-sidebar.open { transform: translateX(0); }
  .hero-grid, .split, .grid-stats, .form-grid, .filters,
  .home-tiles, .dash-split, .kpi-row {
    grid-template-columns: 1fr;
  }
  .launch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline { grid-template-columns: repeat(3, minmax(88px, 1fr)); }
  .stage-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
  }
  .stage-cell {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .stage-cell:nth-child(3n) { border-right: 0; }
  .stage-cell:last-child { border-bottom: 0; }
  .el-content { padding: 18px 16px 40px; }
  .track-fields { grid-template-columns: 1fr; }
  .track-pipeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .track-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .track-step:nth-child(3n) { border-right: 0; }
  .track-card { padding: 22px 18px; }
}

/* —— Chat + agency network —— */
.chat-page, .network-page { width: 100%; }
.chat-toolbar {
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.chat-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-active {
  background: color-mix(in srgb, var(--aqua) 16%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--aqua) 30%, var(--border));
  color: var(--aqua-deep); font-weight: 600;
}
.chat-dm-form { display: flex; gap: 8px; align-items: center; }
.chat-dm-form select { min-width: 180px; margin: 0; padding: 8px 10px; height: 36px; }
.chat-thread-list { display: grid; gap: 6px; }
.chat-thread-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; box-shadow: var(--emboss-sm);
}
.chat-thread-row:hover, .chat-thread-row.active {
  border-color: color-mix(in srgb, var(--aqua) 30%, var(--border));
  background: color-mix(in srgb, var(--aqua) 5%, var(--surface));
}
.chat-thread-badge {
  width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--aqua) 12%, var(--surface));
  color: var(--aqua-deep); font-size: 11px; font-weight: 700;
}
.chat-thread-meta { display: grid; gap: 2px; min-width: 0; flex: 1; }
.chat-thread-meta strong, .chat-thread-meta small {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chat-thread-meta strong { font-size: 13px; }
.chat-thread-meta small { font-size: 12px; color: var(--muted); }
.chat-thread-time { font-size: 11px; color: var(--muted); flex: 0 0 auto; }

.chat-shell {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 10px;
  min-height: 560px;
}
.chat-sidebar {
  display: grid; gap: 6px; align-content: start;
  max-height: 70vh; overflow: auto;
}
.chat-main {
  display: grid; grid-template-rows: 1fr auto;
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--surface); box-shadow: var(--emboss-sm); min-height: 560px;
  overflow: hidden;
}
.chat-messages {
  padding: 14px; overflow: auto; display: grid; gap: 8px; align-content: start;
  background: color-mix(in srgb, var(--bg) 70%, var(--surface));
}
.chat-load-older {
  display: grid; place-items: center; padding: 4px 0 8px;
}
.chat-bubble {
  max-width: min(520px, 88%);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px 10px;
  box-shadow: var(--emboss-sm);
}
.chat-bubble.mine {
  justify-self: end;
  background: color-mix(in srgb, var(--aqua) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--aqua) 28%, var(--border));
}
.chat-bubble-head {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline;
  margin-bottom: 2px;
}
.chat-bubble-head strong { font-size: 12px; }
.chat-bubble-head span, .chat-bubble-head time { font-size: 11px; color: var(--muted); }
.chat-bubble p { margin: 0 0 0.35em; font-size: 13px; white-space: pre-wrap; word-break: break-word; }
.chat-bubble p:last-child { margin-bottom: 0; }
.chat-body { font-size: 13px; word-break: break-word; line-height: 1.45; }
.chat-body ul, .chat-body ol { margin: 0.25em 0 0.25em 1.2em; padding: 0; }
.chat-body a { color: var(--aqua-deep); text-decoration: underline; }
.chat-composer {
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 10px; border-top: 1px solid var(--line); background: var(--surface);
}
.chat-composer textarea {
  margin: 0; min-height: 44px; resize: vertical;
}
.chat-composer-rich {
  display: block;
  padding: 0;
}
.chat-composer-panel {
  display: grid;
  gap: 0;
}
.chat-toolbar {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 8px 10px 0;
}
.chat-tool-btn {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 6px;
  height: 28px;
  padding: 0 8px;
  font-size: 12px;
  cursor: pointer;
}
.chat-tool-btn:hover { border-color: var(--aqua); color: var(--aqua-deep); }
.chat-emoji-panel {
  display: flex; flex-wrap: wrap; gap: 4px;
  padding: 6px 10px 0;
}
.chat-emoji-btn {
  border: 0; background: transparent; cursor: pointer; font-size: 18px; line-height: 1;
  border-radius: 6px; padding: 4px;
}
.chat-emoji-btn:hover { background: var(--hover); }
.chat-editor {
  margin: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  min-height: 72px;
  max-height: 200px;
  overflow: auto;
}
.chat-editor .chat-editor-surface,
.chat-editor .ProseMirror {
  min-height: 56px;
  padding: 10px 12px;
  outline: none;
  font-size: 14px;
  line-height: 1.45;
}
.chat-editor .ProseMirror p { margin: 0 0 0.4em; }
.chat-editor .ProseMirror p:last-child { margin-bottom: 0; }
.chat-editor .ProseMirror p.is-editor-empty:first-child::before {
  color: var(--muted);
  content: attr(data-placeholder);
  float: left;
  height: 0;
  pointer-events: none;
}
.chat-composer-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 10px 10px;
}
.chat-composer-hint { font-size: 11px; color: var(--muted); }

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.network-card-title { margin: 0 0 6px; font-size: 15px; }
.network-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 22px; font-weight: 700; letter-spacing: 0.08em;
  margin: 12px 0; color: var(--aqua-deep);
}
.network-form { display: grid; gap: 8px; margin-top: 8px; }
.network-form input { margin: 0; }
.network-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }

@media (max-width: 980px) {
  .chat-shell { grid-template-columns: 1fr; }
  .chat-sidebar { max-height: 180px; }
  .network-grid { grid-template-columns: 1fr; }
}

/* —— Theme toggle + dark polish —— */
.el-theme-toggle {
  position: relative;
}
.el-theme-icon {
  display: none;
}
html[data-theme="light"] .el-theme-icon-moon,
html:not([data-theme]) .el-theme-icon-moon {
  display: block;
}
html[data-theme="dark"] .el-theme-icon-sun {
  display: block;
}

/* Admin-only dark surfaces (public pages force data-theme="light") */
html[data-theme="dark"] body.el-app .el-topbar {
  background: color-mix(in srgb, var(--bg) 78%, black);
}
html[data-theme="dark"] body.el-app .el-nav-item {
  color: var(--ink);
}
html[data-theme="dark"] body.el-app .el-nav-label {
  color: rgba(198, 222, 228, 0.45);
}
html[data-theme="dark"] body.el-app .dash-banner::after {
  background: linear-gradient(90deg, transparent, var(--theme-glow), transparent);
}
html[data-theme="dark"] body.el-app .chip,
html[data-theme="dark"] body.el-app .chip-outline {
  background: var(--surface-2);
  color: var(--ink);
}
html[data-theme="dark"] body.el-app input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
html[data-theme="dark"] body.el-app select,
html[data-theme="dark"] body.el-app textarea {
  background: var(--surface-2);
  color: var(--ink);
}
html[data-theme="dark"] body.el-app .el-search {
  background: var(--surface-2);
  border-color: var(--border);
}
html[data-theme="dark"] body.el-app .el-search:focus-within {
  background: var(--surface);
  border-color: color-mix(in srgb, var(--aqua) 45%, var(--border));
}
html[data-theme="dark"] body.el-app .el-search input,
html[data-theme="dark"] body.el-app .el-search input[type="search"],
html[data-theme="dark"] body.el-app .el-search input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) {
  background: transparent !important;
  color: var(--ink);
  box-shadow: none;
  border: 0;
  padding: 0;
}
html[data-theme="dark"] body.el-app .el-search kbd {
  background: color-mix(in srgb, var(--aqua) 12%, var(--surface));
  color: var(--muted);
  border-color: var(--border);
}
html[data-theme="dark"] body.el-app .table-wrap,
html[data-theme="dark"] body.el-app .panel,
html[data-theme="dark"] body.el-app .card,
html[data-theme="dark"] body.el-app .dash-banner,
html[data-theme="dark"] body.el-app .dash-tip,
html[data-theme="dark"] body.el-app .kpi,
html[data-theme="dark"] body.el-app .launch-card,
html[data-theme="dark"] body.el-app .stage-track,
html[data-theme="dark"] body.el-app .recent-list,
html[data-theme="dark"] body.el-app .chat-main,
html[data-theme="dark"] body.el-app .chat-thread-row,
html[data-theme="dark"] body.el-app .el-account,
html[data-theme="dark"] body.el-app .el-invite-card {
  background: var(--surface);
  color: var(--ink);
}
html[data-theme="dark"] body.el-app .launch-card:hover,
html[data-theme="dark"] body.el-app .stage-cell:hover,
html[data-theme="dark"] body.el-app .recent-row:hover {
  background: color-mix(in srgb, var(--aqua) 10%, var(--surface));
}
html[data-theme="dark"] body.el-app .launch-card-accent {
  background: color-mix(in srgb, var(--aqua) 12%, var(--surface));
}
html[data-theme="dark"] body.el-app th {
  color: var(--muted);
}
html[data-theme="dark"] body.el-app .empty {
  color: var(--muted);
}
html[data-theme="dark"] body.el-app .btn-ghost {
  background: var(--surface-2);
  color: var(--ink);
}
html[data-theme="dark"] body.el-app .btn-dark {
  background: #e7f4f6;
  color: #0b1418;
}
html[data-theme="dark"] body.el-app .trial-banner {
  background: color-mix(in srgb, var(--aqua) 14%, var(--surface));
  border-color: var(--border);
  color: var(--ink);
}
html[data-theme="dark"] body.el-app .chat-messages {
  background: color-mix(in srgb, var(--bg) 70%, var(--surface));
}
html[data-theme="dark"] body.el-app .chat-composer {
  background: var(--surface);
  border-top-color: var(--line);
}
html[data-theme="dark"] body.el-app .chat-bubble {
  background: var(--surface-2);
}
html[data-theme="dark"] body.el-app .chat-bubble.mine {
  background: color-mix(in srgb, var(--aqua) 14%, var(--surface));
}
