/* Nestiko auth screens (<x-auth.shell>): three styles (html[data-na-style=glass|orbit|launcher]) sharing one form. Plain CSS. */

.na-body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #f6f5fb;
  color: #0f172a;
  -webkit-font-smoothing: antialiased;
}
html.dark .na-body { background: #070a14; color: #e2e8f0; }

.na-auth {
  --na-accent-strong: color-mix(in srgb, var(--na-accent) 80%, #000);
  --na-accent-soft: color-mix(in srgb, var(--na-accent) 11%, #fff);
  --na-accent-line: color-mix(in srgb, var(--na-accent) 22%, #e2e8f0);
  --na-bg: #f6f5fb;
  --na-surface: #fff;
  --na-glass: rgba(255, 255, 255, .8);
  --na-glass-line: rgba(255, 255, 255, .75);
  --na-ink: #0f172a;
  --na-ink2: #334155;
  --na-muted: #64748b;
  --na-line: #e2e8f0;
  --na-line2: #eef0f5;
  --na-shadow-card: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px -12px rgba(15, 23, 42, .14);
  --na-shadow-float: 0 1px 2px rgba(15, 23, 42, .06), 0 30px 80px -24px rgba(46, 16, 101, .35);
  --na-dock-space: 104px;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  background: var(--na-bg);
  color: var(--na-ink);
}
html.dark .na-auth {
  --na-accent-soft: color-mix(in srgb, var(--na-accent) 20%, #0f172a);
  --na-accent-line: color-mix(in srgb, var(--na-accent) 35%, #1e293b);
  --na-bg: #070a14;
  --na-surface: #0f172a;
  --na-glass: rgba(15, 23, 42, .76);
  --na-glass-line: rgba(148, 163, 184, .16);
  --na-ink: #f1f5f9;
  --na-ink2: #cbd5e1;
  --na-muted: #94a3b8;
  --na-line: #1e293b;
  --na-line2: #172033;
  --na-shadow-card: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px -14px rgba(0, 0, 0, .6);
  --na-shadow-float: 0 1px 2px rgba(0, 0, 0, .4), 0 30px 80px -20px rgba(0, 0, 0, .75);
}
.na-auth *, .na-auth *::before, .na-auth *::after { box-sizing: border-box; }
.na-i, .na-auth svg.na-i { width: 18px; height: 18px; flex-shrink: 0; }

.na-live {
  position: relative; display: inline-block; width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: #10b981; animation: naPing 2s infinite;
}
.na-kbd {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 6px; border: 1px solid var(--na-line); border-bottom-width: 2px; background: var(--na-surface);
  color: var(--na-muted); font-size: 11px; font-weight: 700; font-family: inherit;
}

/* ---------- Style switching ---------- */
.na-bg { position: fixed; inset: 0; z-index: 0; display: none; overflow: hidden; pointer-events: none; user-select: none; }
html[data-na-style="glass"] .na-bg--glass,
html[data-na-style="orbit"] .na-bg--orbit,
html[data-na-style="launcher"] .na-bg--launch { display: block; }
.na-lc-top, .na-lc-hello, .na-lc-bar, .na-lc-roles, .na-lc-foot { display: none; }

/* ---------- A · Glass: the portal behind frosted glass ---------- */
.na-gl-app {
  position: absolute; inset: 0; display: grid; grid-template-columns: 264px 1fr;
  filter: blur(2.4px) saturate(1.08); transform: scale(1.015);
}
.na-gl-side { background: var(--na-surface); border-right: 1px solid var(--na-line); padding: 18px 12px; display: flex; flex-direction: column; gap: 3px; }
.na-gl-brand { display: flex; align-items: center; gap: 8px; padding: 6px 10px 18px; }
.na-gl-brand i:first-child { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--na-accent), var(--na-accent-strong)); }
.na-gl-brand i:last-child { width: 96px; height: 12px; border-radius: 6px; background: var(--na-line); }
.na-gl-sec { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; color: var(--na-muted); padding: 12px 12px 6px; }
.na-gl-link { display: flex; gap: 11px; align-items: flex-start; padding: 9px 12px; border-radius: 12px; color: var(--na-ink2); }
.na-gl-link b { display: block; font-size: 13.5px; font-weight: 600; }
.na-gl-link small { display: block; font-size: 11px; color: var(--na-muted); margin-top: 1px; }
.na-gl-link .na-i { width: 19px; height: 19px; margin-top: 1px; color: var(--na-muted); }
.na-gl-link.is-on { background: var(--na-accent-soft); color: var(--na-accent-strong); }
.na-gl-link.is-on .na-i { color: var(--na-accent); }
html.dark .na-gl-link.is-on { color: #fff; }
.na-gl-main { min-width: 0; display: flex; flex-direction: column; background: radial-gradient(60% 40% at 80% 0%, color-mix(in srgb, var(--na-accent) 8%, transparent), transparent 70%), var(--na-bg); }
.na-gl-top { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 24px; border-bottom: 1px solid color-mix(in srgb, var(--na-accent) 14%, var(--na-line)); background: color-mix(in srgb, var(--na-surface) 82%, transparent); }
.na-gl-search { display: flex; align-items: center; gap: 9px; width: 320px; height: 38px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--na-line); background: var(--na-surface); color: var(--na-muted); font-size: 13px; }
.na-gl-search .na-i { width: 16px; height: 16px; }
.na-gl-search .na-kbd { margin-left: auto; }
.na-gl-sp { flex: 1; }
.na-gl-ib { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--na-line); background: var(--na-surface); display: grid; place-items: center; color: var(--na-muted); }
.na-gl-ib .na-i { width: 17px; height: 17px; }
.na-gl-av { display: flex; align-items: center; gap: 9px; height: 38px; padding: 0 12px 0 4px; border-radius: 12px; border: 1px solid var(--na-line); background: var(--na-surface); font-size: 13px; font-weight: 600; }
.na-gl-av i { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--na-accent), var(--na-accent-strong)); }
.na-gl-body { padding: 22px 26px; display: grid; gap: 16px; align-content: start; }
.na-gl-eyebrow { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 700; color: #059669; }
.na-gl-h { margin: 4px 0 2px; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.na-gl-subt { margin: 0; font-size: 13.5px; color: var(--na-muted); }
.na-gl-tabs { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: var(--na-surface); border: 1px solid var(--na-line); width: max-content; max-width: 100%; overflow: hidden; }
.na-gl-tab { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 11px; font-size: 13px; font-weight: 600; color: var(--na-ink2); border: 1px solid var(--na-line); white-space: nowrap; }
.na-gl-tab .na-i { width: 15px; height: 15px; }
.na-gl-tab.is-on { background: var(--na-accent); color: #fff; border-color: transparent; box-shadow: 0 8px 18px -8px var(--na-accent); }
.na-gl-kpis, .na-gl-watch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.na-gl-card { background: var(--na-surface); border: 1px solid var(--na-line); border-radius: 18px; box-shadow: var(--na-shadow-card); padding: 16px 18px; }
.na-gl-kpi small { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--na-muted); }
.na-gl-kpi small i { width: 7px; height: 7px; border-radius: 50%; background: var(--tone); }
.na-gl-kpi b { display: block; font-size: 24px; font-weight: 700; margin: 8px 0 10px; letter-spacing: -.01em; }
.na-gl-bar { height: 6px; border-radius: 99px; background: var(--na-line2); overflow: hidden; }
.na-gl-bar span { display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--tone); transform-origin: left; animation: naGrow 1.4s cubic-bezier(.2, .8, .2, 1) both .4s; }
.na-gl-kpi:nth-child(1) { --tone: #10b981; border-color: color-mix(in srgb, #10b981 30%, var(--na-line)); }
.na-gl-kpi:nth-child(2) { --tone: #f59e0b; border-color: color-mix(in srgb, #f59e0b 30%, var(--na-line)); }
.na-gl-kpi:nth-child(3) { --tone: #3b82f6; border-color: color-mix(in srgb, #3b82f6 30%, var(--na-line)); }
.na-gl-kpi:nth-child(4) { --tone: #f43f5e; border-color: color-mix(in srgb, #f43f5e 30%, var(--na-line)); }
.na-gl-panels { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.na-gl-ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.na-gl-ph b { font-size: 14px; }
.na-gl-ph small { font-size: 11px; color: var(--na-muted); }
.na-gl-chart { display: flex; align-items: flex-end; gap: 12px; height: 230px; padding-top: 6px; }
.na-gl-chart div { flex: 1; display: flex; gap: 4px; align-items: flex-end; height: 100%; }
.na-gl-chart span { flex: 1; border-radius: 7px 7px 3px 3px; background: color-mix(in srgb, var(--na-accent) 25%, var(--na-line2)); height: var(--h); transform-origin: bottom; animation: naRise 1.2s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms + .3s); }
.na-gl-chart span + span { background: var(--na-accent); }
.na-gl-map { position: relative; height: 230px; border-radius: 14px; overflow: hidden; background: color-mix(in srgb, var(--na-accent) 7%, var(--na-line2)); }
.na-gl-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.na-gl-map__grid path { stroke: var(--na-line); stroke-width: 1; fill: none; }
.na-gl-map__route { fill: none; stroke: var(--na-accent); stroke-width: 3; stroke-dasharray: 8 7; }
.na-gl-map circle { fill: var(--na-surface); stroke: var(--na-accent); stroke-width: 3; }
.na-gl-map circle.is-next { fill: var(--na-accent); }
.na-gl-map circle.is-later { stroke: var(--na-muted); }
.na-gl-list { display: grid; gap: 10px; }
.na-gl-li { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 13px; background: var(--na-line2); font-size: 12.5px; }
.na-gl-li__ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; background: var(--na-accent-soft); color: var(--na-accent); }
.na-gl-li__ic .na-i { width: 16px; height: 16px; }
.na-gl-li b { display: block; font-size: 13px; }
.na-gl-li small { color: var(--na-muted); }
.na-gl-li em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 99px; white-space: nowrap; }
.na-pill--g { background: #dcfce7; color: #166534; }
.na-pill--a { background: #fef3c7; color: #92400e; }
.na-pill--r { background: #ffe4e6; color: #9f1239; }
.na-pill--b { background: #dbeafe; color: #1e40af; }
.na-pill--v, .na-pill--i { background: #ede9fe; color: #5b21b6; }
.na-gl-w { display: grid; gap: 6px; }
.na-gl-w small { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--na-muted); display: flex; align-items: center; gap: 7px; }
.na-gl-w small .na-i { width: 15px; height: 15px; color: var(--na-accent); }
.na-gl-spark { display: flex; align-items: flex-end; gap: 3px; height: 38px; }
.na-gl-spark i { flex: 1; border-radius: 3px; background: color-mix(in srgb, var(--na-accent) 30%, var(--na-line2)); height: var(--h); }
.na-gl-spark i:last-child { background: var(--na-accent); }
.na-gl-w p { margin: 0; font-size: 11.5px; color: var(--na-muted); }
.na-gl-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(30% 48% at 50% 50%, color-mix(in srgb, var(--na-bg) 60%, transparent), transparent 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--na-bg) 18%, transparent), color-mix(in srgb, var(--na-accent) 12%, color-mix(in srgb, var(--na-bg) 22%, transparent)));
}
html.dark .na-gl-veil {
  background:
    radial-gradient(32% 50% at 50% 50%, rgba(7, 10, 20, .62), transparent 100%),
    linear-gradient(180deg, rgba(7, 10, 20, .12), color-mix(in srgb, var(--na-accent) 14%, rgba(7, 10, 20, .3)));
}
.na-gl-toasts { position: absolute; inset: 0; }
.na-gl-toast {
  position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 14px 11px 11px; border-radius: 16px;
  background: var(--na-glass); border: 1px solid var(--na-glass-line); box-shadow: var(--na-shadow-card);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 12.5px; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .5s, transform .5s;
}
.na-gl-toast.is-on { opacity: 1; transform: none; }
.na-gl-toast__ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--tone); }
.na-gl-toast__ic .na-i { width: 17px; height: 17px; }
.na-gl-toast b { display: block; font-size: 13px; }
.na-gl-toast small { color: var(--na-muted); }
.na-gl-toast:nth-child(1) { left: calc(50% - 560px); top: 22%; --tone: #10b981; }
.na-gl-toast:nth-child(2) { left: calc(50% + 290px); top: 30%; --tone: var(--na-accent); }
.na-gl-toast:nth-child(3) { left: calc(50% - 520px); top: 64%; --tone: #f59e0b; }
.na-gl-toast:nth-child(4) { left: calc(50% + 300px); top: 68%; --tone: #3b82f6; }
@media (min-width: 1400px) and (min-height: 1000px) { .na-gl-app { zoom: 1.22; } }
@media (max-width: 1180px) { .na-gl-toasts { display: none; } .na-gl-kpis, .na-gl-watch { grid-template-columns: repeat(2, 1fr); } }

/* ---------- B · Orbit: modules circling the sign-in ---------- */
html[data-na-style="orbit"] .na-auth {
  background:
    radial-gradient(42% 42% at 50% 50%, color-mix(in srgb, var(--na-accent) 14%, transparent), transparent 72%),
    radial-gradient(70% 60% at 50% 110%, color-mix(in srgb, var(--na-accent) 10%, transparent), transparent 70%),
    var(--na-bg);
  background-attachment: fixed;
}
html.dark[data-na-style="orbit"] .na-auth {
  background:
    radial-gradient(40% 40% at 50% 50%, color-mix(in srgb, var(--na-accent) 30%, transparent), transparent 72%),
    radial-gradient(80% 60% at 50% 115%, color-mix(in srgb, var(--na-accent) 22%, transparent), transparent 70%),
    #05040f;
  background-attachment: fixed;
}
.na-bg--orbit::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(color-mix(in srgb, var(--na-accent) 22%, transparent) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(55% 55% at 50% 50%, #000 20%, transparent 80%);
          mask-image: radial-gradient(55% 55% at 50% 50%, #000 20%, transparent 80%);
}
.na-ob-sys { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.na-ob-ring {
  position: absolute; left: 0; top: 0; width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1);
  border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--na-accent) 26%, transparent);
  animation: naSpin var(--dur) linear infinite; animation-direction: var(--dir, normal);
}
html.dark .na-ob-ring { border-color: color-mix(in srgb, var(--na-accent) 38%, transparent); }
.na-ob-ring::after {
  content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: var(--na-accent); box-shadow: 0 0 14px 3px color-mix(in srgb, var(--na-accent) 60%, transparent);
}
.na-ob-slot { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.na-ob-tile {
  position: absolute; left: -38px; top: -38px; width: 76px; display: grid; justify-items: center; gap: 7px;
  animation: naSpin var(--dur) linear infinite; animation-direction: var(--cdir, reverse);
}
.na-ob-tile i {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: var(--tone); background: var(--na-surface);
  border: 1px solid color-mix(in srgb, var(--tone) 22%, var(--na-line));
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 14px 28px -14px color-mix(in srgb, var(--tone) 70%, transparent);
  animation: naBob 4s ease-in-out infinite; animation-delay: var(--d);
}
.na-ob-tile i .na-i { width: 26px; height: 26px; }
.na-ob-tile b { font-size: 11.5px; font-weight: 700; color: var(--na-ink2); white-space: nowrap; padding: 2px 8px; border-radius: 99px; background: color-mix(in srgb, var(--na-surface) 80%, transparent); }
html.dark .na-ob-tile i { background: rgba(15, 23, 42, .85); }
.na-ob-new { position: absolute; top: -6px; right: 2px; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 99px; background: var(--na-accent); color: #fff; letter-spacing: .04em; }
.na-ob-marq { display: none; }
.na-ob-row { display: flex; gap: 12px; width: max-content; animation: naSlide 38s linear infinite; }
.na-ob-row--b { animation-duration: 52s; animation-delay: -18s; margin-top: 12px; padding-left: 60px; }
.na-ob-chip {
  display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 14px 0 6px; border-radius: 15px; white-space: nowrap;
  background: var(--na-surface); border: 1px solid color-mix(in srgb, var(--tone) 22%, var(--na-line));
  box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--tone) 70%, transparent);
  font-size: 13px; font-weight: 700; color: var(--na-ink2);
}
.na-ob-chip i { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--tone); background: color-mix(in srgb, var(--tone) 12%, transparent); }
.na-ob-chip i .na-i { width: 18px; height: 18px; }
html.dark .na-ob-chip { background: rgba(15, 23, 42, .85); }
@media (max-width: 1100px) { .na-ob-sys { transform: scale(.78); } }

/* ---------- C · Launcher: command-palette workspace picker ---------- */
.na-bg--launch::before {
  content: ""; position: absolute; inset: 0; opacity: .7;
  background-image: linear-gradient(var(--na-line) 1px, transparent 1px), linear-gradient(90deg, var(--na-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
          mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}
.na-bg--launch span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.na-bg--launch span:first-child { width: 520px; height: 520px; left: calc(50% - 620px); top: -120px; background: color-mix(in srgb, var(--na-accent) 35%, transparent); }
.na-bg--launch span:last-child { width: 460px; height: 460px; right: calc(50% - 640px); top: 280px; background: color-mix(in srgb, #f59e0b 22%, transparent); }
html.dark .na-bg--launch span { opacity: .35; }

html[data-na-style="launcher"] .na-lc-top {
  position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 28px;
  border-bottom: 1px solid color-mix(in srgb, var(--na-accent) 14%, var(--na-line));
  background: color-mix(in srgb, var(--na-surface) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
}
.na-lc-logo { display: inline-flex; align-items: center; border-radius: 8px; margin-right: auto; }
.na-lc-logo .na-logo__img { height: 36px; max-width: 180px; }
.na-lc-logo:focus-visible { outline: 2px solid var(--na-accent); outline-offset: 2px; }
.na-lc-find {
  display: flex; align-items: center; gap: 9px; width: 340px; height: 40px; padding: 0 12px; border-radius: 12px;
  border: 1px solid var(--na-accent-line); background: var(--na-surface); color: var(--na-muted); font-size: 13px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--na-accent) 8%, transparent);
}
.na-lc-find .na-i { width: 16px; height: 16px; color: var(--na-accent); }
.na-lc-find .na-kbd { margin-left: auto; }
.na-lc-status { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; margin-left: auto; border-radius: 12px; border: 1px solid var(--na-line); background: var(--na-surface); color: var(--na-muted); font-size: 12.5px; font-weight: 600; }

html[data-na-style="launcher"] .na-lc-hello { display: block; text-align: center; margin-bottom: 18px; animation: naIn .5s both; }
.na-lc-hello__h { margin: 0 0 4px; font-size: 30px; font-weight: 700; letter-spacing: -.025em; color: var(--na-ink); }
.na-lc-hello__p { margin: 0; color: var(--na-muted); font-size: 14.5px; }

html[data-na-style="launcher"] .na-lc-bar {
  display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px; border-bottom: 1px solid var(--na-line); font-size: 15px; color: var(--na-ink);
}
.na-lc-bar > .na-i { width: 20px; height: 20px; color: var(--na-accent); }
.na-lc-bar__q { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.na-lc-bar__q b { font-weight: 600; }
.na-lc-bar__q::after { content: ""; display: inline-block; width: 2px; height: 19px; margin-left: 3px; vertical-align: -4px; background: var(--na-accent); animation: naCaret 1s steps(1) infinite; }
.na-lc-bar__sep { opacity: .45; margin: 0 4px; }
.na-lc-bar .na-kbd { margin-left: auto; }

html[data-na-style="launcher"] .na-lc-roles { display: block; min-width: 0; padding: 6px 10px 12px; border-right: 1px solid var(--na-line); container-type: inline-size; }
.na-lc-grp { margin: 0; padding: 12px 10px 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--na-muted); }
.na-lc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.na-lc-list > li { min-width: 0; }
.na-lc-item { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 9px 10px; border-radius: 14px; text-decoration: none; color: inherit; transition: background-color .15s, box-shadow .15s; }
.na-lc-item__ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: var(--tone); background: color-mix(in srgb, var(--tone) 12%, var(--na-surface)); border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent); }
.na-lc-item__ic .na-i { width: 19px; height: 19px; }
.na-lc-item__txt { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.na-lc-item b, .na-lc-item small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.na-lc-item b { font-size: 13.5px; font-weight: 600; color: var(--na-ink); }
.na-lc-item small { font-size: 11.5px; color: var(--na-muted); margin-top: 1px; }
.na-lc-item:hover { background: color-mix(in srgb, var(--tone) 8%, transparent); }
.na-lc-item.is-current { background: color-mix(in srgb, var(--tone) 11%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 30%, transparent); }
html.dark .na-lc-item.is-current { background: color-mix(in srgb, var(--tone) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tone) 40%, transparent); }
.na-lc-item:focus-visible { outline: 2px solid var(--tone); outline-offset: -2px; }
.na-lc-item__go {
  flex: 0 0 auto; display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  color: color-mix(in srgb, var(--tone) 82%, #000); background: color-mix(in srgb, var(--tone) 14%, var(--na-surface));
  border: 1px solid color-mix(in srgb, var(--tone) 30%, transparent);
}
html.dark .na-lc-item__go { color: color-mix(in srgb, var(--tone) 45%, #fff); background: color-mix(in srgb, var(--tone) 22%, var(--na-surface)); }
@container (max-width: 250px) { .na-lc-item__go { display: none; } }
.na-lc-more { display: none; }

html[data-na-style="launcher"] .na-lc-foot {
  display: flex; align-items: center; gap: 14px; padding: 11px 20px; border-top: 1px solid var(--na-line);
  background: color-mix(in srgb, var(--na-line2) 60%, transparent); font-size: 11.5px; color: var(--na-muted);
}
.na-lc-foot > span { display: inline-flex; align-items: center; gap: 6px; }
.na-lc-foot__host { margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.na-lc-foot__host .na-i { width: 14px; height: 14px; color: #10b981; }

/* ---------- Layout (all styles) ---------- */
.na-main {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100vh; min-height: 100dvh;
  padding: 48px 20px var(--na-dock-space);
}
.na-column { width: 100%; max-width: 440px; }
.na-column--wide { max-width: 560px; }
.na-frame, .na-wrap { position: relative; }
.na-wrap { animation: naIn .55s cubic-bezier(.2, .8, .2, 1) both; }

.na-card {
  position: relative;
  padding: 28px 30px 22px;
  background: var(--na-glass);
  border: 1px solid var(--na-glass-line);
  border-radius: 26px;
  box-shadow: var(--na-shadow-float), 0 0 0 1px color-mix(in srgb, var(--na-accent) 10%, transparent);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
}
html[data-na-style="orbit"] .na-card {
  border-radius: 28px;
  box-shadow: var(--na-shadow-float), 0 0 0 8px color-mix(in srgb, var(--na-accent) 6%, transparent), 0 0 120px -20px color-mix(in srgb, var(--na-accent) 55%, transparent);
}
.na-card::before {
  content: ""; position: absolute; top: -1px; left: 26px; right: 26px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--na-accent), var(--na-glow));
}

/* Launcher layout */
html[data-na-style="launcher"] .na-main { justify-content: flex-start; min-height: calc(100dvh - 68px); padding-top: clamp(20px, 4vh, 56px); }
html[data-na-style="launcher"] .na-after .na-foot { margin-top: 12px; }
html[data-na-style="launcher"] .na-column { max-width: 480px; }
html[data-na-style="launcher"] .na-column--wide { max-width: 620px; }
html[data-na-style="launcher"] .has-roles .na-column { max-width: 880px; }
html[data-na-style="launcher"] .na-frame {
  border-radius: 24px; overflow: hidden;
  background: var(--na-glass); border: 1px solid var(--na-glass-line);
  box-shadow: var(--na-shadow-float), 0 0 0 1px color-mix(in srgb, var(--na-accent) 10%, transparent);
  backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  animation: naIn .6s .06s cubic-bezier(.2, .8, .2, 1) both;
}
html[data-na-style="launcher"] .has-roles .na-frame__body { display: grid; grid-template-columns: 310px minmax(0, 1fr); }
html[data-na-style="launcher"] .na-wrap { animation: none; }
html[data-na-style="launcher"] .na-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 20px 30px 18px; }
html[data-na-style="launcher"] .na-card::before,
html[data-na-style="launcher"] .na-logo { display: none; }
html[data-na-style="launcher"] .has-roles .na-badge { margin-left: 0; }
@media (min-width: 761px) and (max-height: 960px) {
  html[data-na-style="launcher"] .na-auth:has(.na-after .na-callout) .na-lc-hello { display: none; }
}
html[data-na-style="launcher"] .has-roles .na-title, html[data-na-style="launcher"] .has-roles .na-desc { text-align: left; }

/* ---------- Bottom switcher ---------- */
.na-dock {
  position: fixed; left: 50%; bottom: 16px; z-index: 60; transform: translateX(-50%);
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 18px;
  background: var(--na-glass); border: 1px solid var(--na-glass-line); box-shadow: var(--na-shadow-float);
  backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
  max-width: calc(100vw - 16px);
  transition: opacity .25s, transform .25s;
}
.na-dock__grp { display: flex; gap: 2px; padding: 3px; border-radius: 13px; background: var(--na-line2); }
.na-dock__btn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px; border: 0; border-radius: 10px;
  background: transparent; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--na-muted); cursor: pointer; white-space: nowrap;
}
.na-dock__btn:hover { color: var(--na-ink); }
.na-dock__btn:focus-visible { outline: 2px solid var(--na-accent); outline-offset: 1px; }
.na-dock__btn .na-i { width: 16px; height: 16px; }
html[data-na-style="glass"] .na-dock__btn[data-na-style-set="glass"],
html[data-na-style="orbit"] .na-dock__btn[data-na-style-set="orbit"],
html[data-na-style="launcher"] .na-dock__btn[data-na-style-set="launcher"] { background: var(--na-surface); color: var(--na-ink); box-shadow: 0 1px 2px rgba(15, 23, 42, .08); }
.na-dock__sep { width: 1px; height: 22px; background: var(--na-line); }
.na-dock__mode { width: 38px; padding: 0; justify-content: center; }
.na-mode__sun { display: none; }
html.dark .na-mode__sun { display: block; }
html.dark .na-mode__moon { display: none; }
.na-auth.is-tucked .na-dock, html.na-typing .na-dock { opacity: 0; pointer-events: none; transform: translate(-50%, 24px); }

/* ---------- Form ---------- */
.na-logo { display: flex; justify-content: center; margin: 2px 0 12px; }
.na-logo a { display: inline-flex; border-radius: 8px; }
.na-logo__img { height: 42px; width: auto; max-width: 200px; object-fit: contain; }
.na-logo--dark { display: none; }
html.dark .na-logo--light { display: none; }
html.dark .na-logo--dark { display: block; }

.na-badge {
  display: flex; width: fit-content; max-width: 100%; margin: 0 auto 10px; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--na-accent-strong); background: var(--na-accent-soft);
  border: 1px solid color-mix(in srgb, var(--na-accent) 24%, transparent);
}
.na-badge .na-i { width: 13px; height: 13px; }
.na-title { margin: 0; text-align: center; font-size: 23px; line-height: 1.25; font-weight: 800; letter-spacing: -.02em; color: #0f172a; }
.na-desc { margin: 5px 0 22px; text-align: center; font-size: 13.5px; line-height: 1.5; color: #64748b; }

.na-form { display: grid; gap: 16px; }
.na-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.na-label { font-size: 13px; font-weight: 600; color: #1e293b; }
.na-req { color: #e11d48; }
.na-control { position: relative; }
.na-input {
  display: block; width: 100%; height: 46px; padding: 0 14px;
  font: inherit; font-size: 14px; color: #0f172a;
  background: #fff; border: 1px solid #cbd5e1; border-radius: 12px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
  -webkit-appearance: none; appearance: none;
}
textarea.na-input { height: auto; min-height: 90px; padding: 11px 14px; }
select.na-input { padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; }
.na-input::placeholder { color: #94a3b8; }
.na-input:hover { border-color: #94a3b8; }
.na-input:focus, .na-input:focus-visible {
  outline: none; border-color: var(--na-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--na-accent) 16%, transparent);
}
.na-input[aria-invalid="true"] { border-color: #e11d48; }
.na-control.has-icon .na-input { padding-left: 42px; }
.na-control.has-toggle .na-input { padding-right: 46px; }
.na-control__icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); display: flex; color: #94a3b8; pointer-events: none; }
.na-control:focus-within .na-control__icon { color: var(--na-accent); }
.na-control__toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 0; border-radius: 8px; background: transparent; color: #64748b; cursor: pointer;
}
.na-control__toggle:hover { color: var(--na-accent); background: color-mix(in srgb, var(--na-accent) 8%, transparent); }
.na-control__toggle:focus-visible { outline: 2px solid var(--na-accent); outline-offset: 1px; }
.na-eye-hide { display: none; }
.na-control__toggle.is-visible .na-eye-show { display: none; }
.na-control__toggle.is-visible .na-eye-hide { display: block; }
.na-input--otp { height: 58px; text-align: center; font-size: 24px; font-weight: 700; letter-spacing: .45em; padding-left: 20px; font-variant-numeric: tabular-nums; }
.na-hint { margin: 6px 0 0; font-size: 12px; line-height: 1.45; color: #64748b; }
.na-error { margin: 5px 0 0; font-size: 12px; font-weight: 500; color: #e11d48; }

.na-row { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; }
.na-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #475569; cursor: pointer; }
.na-check input { width: 16px; height: 16px; margin: 0; accent-color: var(--na-accent); cursor: pointer; }
.na-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--na-accent); text-decoration: none; border-radius: 4px; }
.na-link:hover { text-decoration: underline; color: var(--na-accent-strong); }
.na-link .na-i { width: 14px; height: 14px; }
.na-link:focus-visible, .na-links a:focus-visible, .na-logo a:focus-visible, .na-tabs a:focus-visible {
  outline: 2px solid var(--na-accent); outline-offset: 2px;
}

.na-btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 48px; padding: 10px 18px;
  font: inherit; font-size: 14.5px; font-weight: 700; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--na-accent), var(--na-accent-strong));
  border: 0; border-radius: 12px; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 12px 26px -10px color-mix(in srgb, var(--na-accent) 70%, transparent);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.na-btn:not(.na-btn--ghost)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); animation: naSheen 5s ease-in-out infinite 1.5s;
}
.na-btn:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 16px 30px -10px color-mix(in srgb, var(--na-accent) 80%, transparent); }
.na-btn:active { transform: none; }
.na-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--na-accent) 45%, transparent); outline-offset: 2px; }
.na-btn .na-i { transition: transform .15s; }
.na-btn:hover .na-i--end { transform: translateX(3px); }
.na-btn--ghost {
  min-height: 44px; font-size: 13.5px; font-weight: 600; color: #334155;
  background: #fff; border: 1px solid #cbd5e1; box-shadow: none;
}
.na-btn--ghost:hover { background: #f8fafc; color: var(--na-accent); border-color: color-mix(in srgb, var(--na-accent) 40%, #cbd5e1); box-shadow: none; filter: none; }
.na-btn--auto { width: auto; min-height: 36px; padding: 6px 14px; font-size: 12.5px; border-radius: 10px; }
.na-stack { display: grid; gap: 10px; margin-top: 12px; }

.na-alert {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 16px; padding: 11px 13px; border-radius: 12px; border: 1px solid;
  font-size: 13px; line-height: 1.45;
}
.na-alert .na-i { margin-top: 1px; }
.na-alert strong { display: block; font-weight: 700; }
.na-alert ul { margin: 0; padding-left: 16px; }
.na-alert ul:only-child { list-style: none; padding-left: 0; }
.na-alert--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.na-alert--success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.na-alert--info { background: #f0f9ff; border-color: #bae6fd; color: #075985; }

.na-divider {
  display: flex; align-items: center; gap: 10px; margin: 18px 0 12px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8;
}
.na-divider::before, .na-divider::after { content: ""; flex: 1; height: 1px; background: #e2e8f0; }

.na-tabs { display: flex; gap: 4px; margin-bottom: 18px; padding: 4px; border-radius: 12px; background: #f1f5f9; }
.na-tabs > * { flex: 1; padding: 8px 10px; border-radius: 9px; text-align: center; font-size: 13px; font-weight: 600; color: #64748b; text-decoration: none; }
.na-tabs a:hover { color: #0f172a; }
.na-tabs .is-active { background: var(--na-accent); color: #fff; box-shadow: 0 8px 18px -8px var(--na-accent); }
.na-tabs a.is-active:hover { color: #fff; }

.na-back { margin: 18px 0 0; text-align: center; }
.na-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; margin-top: 16px; font-size: 12px; color: #64748b; }
.na-links a { color: inherit; text-decoration: none; }
.na-links a:hover { color: var(--na-accent); text-decoration: underline; }
.na-small { margin: 0; font-size: 12px; line-height: 1.5; color: #64748b; text-align: center; }
.na-small a { color: var(--na-accent); font-weight: 600; }
.na-foot { margin: 16px 0 0; text-align: center; font-size: 11.5px; color: var(--na-muted); }

.na-callout {
  display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 13px 14px;
  background: var(--na-glass); border: 1px solid var(--na-glass-line); border-radius: 16px;
  box-shadow: var(--na-shadow-card);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.na-callout__ic {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: #fff;
  background: linear-gradient(135deg, var(--na-accent), color-mix(in srgb, var(--na-glow) 60%, var(--na-accent)));
}
.na-callout__txt { flex: 1; min-width: 0; }
.na-callout__txt b { display: block; font-size: 13px; color: #0f172a; }
.na-callout__txt span { font-size: 12px; color: #64748b; }

.na-identity { margin: -12px 0 18px; text-align: center; font-size: 13px; font-weight: 600; color: #334155; }
.na-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }

/* ---------- Dark mode (form) ---------- */
html.dark .na-title, html.dark .na-callout__txt b { color: #f1f5f9; }
html.dark .na-desc, html.dark .na-hint, html.dark .na-small, html.dark .na-callout__txt span, html.dark .na-links { color: #94a3b8; }
html.dark .na-label { color: #e2e8f0; }
html.dark .na-input { background: rgba(2, 6, 23, .55); border-color: #2a3852; color: #f1f5f9; }
html.dark .na-input::placeholder { color: #64748b; }
html.dark .na-input:hover { border-color: #3b4c6b; }
html.dark .na-input:focus { border-color: color-mix(in srgb, var(--na-accent) 60%, #fff); box-shadow: 0 0 0 4px color-mix(in srgb, var(--na-accent) 28%, transparent); }
html.dark .na-control__icon, html.dark .na-control__toggle { color: #64748b; }
html.dark .na-check { color: #cbd5e1; }
html.dark .na-link, html.dark .na-small a { color: color-mix(in srgb, var(--na-accent) 42%, #fff); }
html.dark .na-link:hover { color: color-mix(in srgb, var(--na-accent) 25%, #fff); }
html.dark .na-badge { color: color-mix(in srgb, var(--na-accent) 35%, #fff); border-color: color-mix(in srgb, var(--na-accent) 40%, transparent); }
html.dark .na-btn--ghost { background: transparent; color: #e2e8f0; border-color: #2a3852; }
html.dark .na-btn--ghost:hover { background: #111c33; }
html.dark .na-alert--error { background: rgba(127, 29, 29, .28); border-color: rgba(248, 113, 113, .35); color: #fecaca; }
html.dark .na-alert--success { background: rgba(6, 78, 59, .3); border-color: rgba(52, 211, 153, .35); color: #a7f3d0; }
html.dark .na-alert--info { background: rgba(12, 74, 110, .3); border-color: rgba(56, 189, 248, .35); color: #bae6fd; }
html.dark .na-divider { color: #64748b; }
html.dark .na-divider::before, html.dark .na-divider::after { background: #1e293b; }
html.dark .na-tabs { background: #111c33; }
html.dark .na-tabs > * { color: #94a3b8; }
html.dark .na-tabs a:hover { color: #f1f5f9; }
html.dark .na-tabs .is-active { color: #fff; }
html.dark .na-identity { color: #cbd5e1; }
html.dark .na-pill--g { background: rgba(22, 101, 52, .35); color: #bbf7d0; }
html.dark .na-pill--a { background: rgba(146, 64, 14, .35); color: #fde68a; }
html.dark .na-pill--r { background: rgba(159, 18, 57, .35); color: #fecdd3; }
html.dark .na-pill--b { background: rgba(30, 64, 175, .35); color: #bfdbfe; }
html.dark .na-pill--v, html.dark .na-pill--i { background: rgba(91, 33, 182, .35); color: #ddd6fe; }

/* Tailwind-styled blocks kept inside the card (e.g. multi-step register) */
html.dark .na-compat .bg-white { background-color: #0f172a !important; }
html.dark .na-compat .bg-slate-50, html.dark .na-compat .bg-slate-100 { background-color: #111c33 !important; }
html.dark .na-compat .bg-slate-200 { background-color: #24324d !important; }
html.dark .na-compat .text-slate-900, html.dark .na-compat .text-slate-800 { color: #f1f5f9 !important; }
html.dark .na-compat .text-slate-700, html.dark .na-compat .text-slate-600 { color: #cbd5e1 !important; }
html.dark .na-compat .text-slate-500, html.dark .na-compat .text-slate-400 { color: #94a3b8 !important; }
html.dark .na-compat .border-slate-100, html.dark .na-compat .border-slate-200, html.dark .na-compat .border-slate-300 { border-color: #2a3852 !important; }
html.dark .na-compat input:not([type=checkbox]):not([type=radio]), html.dark .na-compat select, html.dark .na-compat textarea { background-color: #0b1222; color: #f1f5f9; }
html.dark .na-compat .hover\:bg-slate-100:hover { background-color: #111c33 !important; }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .na-gl-app { grid-template-columns: 1fr; filter: blur(1.5px); }
  .na-gl-side, .na-gl-search, .na-gl-av span, .na-gl-tab:nth-child(n+4), .na-gl-panels > :last-child { display: none; }
  .na-gl-top { padding: 0 14px; }
  .na-gl-body { padding: 16px 14px; gap: 12px; }
  .na-gl-h { font-size: 22px; }
  .na-gl-panels { grid-template-columns: 1fr; }
  .na-gl-veil { background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--na-bg) 30%, transparent) 30%, color-mix(in srgb, var(--na-bg) 85%, transparent) 55%); }
  html.dark .na-gl-veil { background: linear-gradient(180deg, rgba(7, 10, 20, .15) 0%, rgba(7, 10, 20, .5) 30%, rgba(7, 10, 20, .9) 55%); }

  /* A: the form becomes a bottom sheet over the portal */
  html[data-na-style="glass"] .na-main { justify-content: flex-end; align-items: stretch; padding: 28vh 0 0; }
  html[data-na-style="glass"] .na-column {
    max-width: none; padding: 8px 0 var(--na-dock-space);
    background: var(--na-glass); border: 1px solid var(--na-glass-line); border-bottom: 0; border-radius: 26px 26px 0 0;
    box-shadow: var(--na-shadow-float);
    backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3);
  }
  html[data-na-style="glass"] .na-column::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 9px; background: var(--na-line); margin: 4px auto 0; }
  html[data-na-style="glass"] .na-frame, html[data-na-style="glass"] .na-after { max-width: 480px; margin: 0 auto; padding: 0 20px; }
  html[data-na-style="glass"] .na-card { background: transparent; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 16px 0 8px; }
  html[data-na-style="glass"] .na-card::before { display: none; }
}

@media (max-width: 760px) {
  /* B: drifting module rows above the form */
  html[data-na-style="orbit"] .na-bg--orbit { position: relative; inset: auto; overflow: visible; }
  html[data-na-style="orbit"] .na-bg--orbit::before, .na-ob-sys { display: none; }
  .na-ob-marq {
    display: block; padding: 34px 0 22px; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }
  html[data-na-style="orbit"] .na-main { min-height: 0; justify-content: flex-start; padding: 0 14px var(--na-dock-space); }
  html[data-na-style="orbit"] .na-card { border-radius: 24px; }

  /* C: current workspace, optional switch list, then the form */
  html[data-na-style="launcher"] .na-lc-top { height: 60px; padding: 0 14px; }
  .na-lc-find, .na-lc-status span:last-child { display: none; }
  html[data-na-style="launcher"] .na-lc-status { padding: 0 12px; }
  html[data-na-style="launcher"] .na-main { min-height: 0; padding: 22px 12px var(--na-dock-space); }
  html[data-na-style="launcher"] .na-lc-hello { margin-bottom: 16px; }
  .na-lc-hello__h { font-size: 23px; }
  .na-lc-hello__p { font-size: 13.5px; }
  html[data-na-style="launcher"] .has-roles .na-frame__body { grid-template-columns: minmax(0, 1fr); }
  html[data-na-style="launcher"] .na-lc-roles { border-right: 0; border-bottom: 1px solid var(--na-line); padding: 4px 8px 10px; }
  html[data-na-style="launcher"] .na-lc-roles:not(.is-open) .na-lc-list li:not(:has(.is-current)) { display: none; }
  html[data-na-style="launcher"] .na-lc-more {
    display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; height: 38px; margin-top: 8px;
    border: 1px dashed var(--na-line); border-radius: 12px; background: transparent;
    font: inherit; font-size: 12.5px; font-weight: 600; color: var(--na-ink2); cursor: pointer;
  }
  .na-lc-more .na-i { width: 15px; height: 15px; color: var(--na-accent); }
  .na-lc-more:focus-visible { outline: 2px solid var(--na-accent); outline-offset: 1px; }
  html[data-na-style="launcher"] .na-card { padding: 20px 18px 18px; }
  html[data-na-style="launcher"] .na-lc-bar { height: 52px; padding: 0 16px; font-size: 14px; }
  html[data-na-style="launcher"] .na-lc-foot > span:not(.na-lc-foot__host) { display: none; }
}

@media (max-width: 640px) {
  .na-dock { bottom: 10px; }
  .na-dock__btn { padding: 0 9px; font-size: 12px; }
  .na-dock__mode { width: 34px; padding: 0; }
}
@media (max-width: 480px) {
  .na-card { padding: 24px 18px 18px; border-radius: 22px; }
  .na-grid-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  .na-dock__btn span { display: none; }
}

/* ---------- Motion ---------- */
@keyframes naIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes naPing { 0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .55); } 80%, 100% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); } }
@keyframes naSheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes naGrow { from { transform: scaleX(0); } }
@keyframes naRise { from { transform: scaleY(0); } }
@keyframes naSpin { to { transform: rotate(360deg); } }
@keyframes naBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes naSlide { to { transform: translateX(-50%); } }
@keyframes naCaret { 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .na-ob-ring, .na-ob-tile, .na-ob-tile i, .na-ob-row, .na-btn::after, .na-live, .na-lc-bar__q::after { animation: none !important; }
  .na-auth *, .na-auth *::before, .na-auth *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important;
  }
  .na-gl-toast { display: none; }
}
