/* Neophron Drive design system: warm paper, black ink and a gold signal colour,
   Inter Tight for words, Instrument Serif italics for emphasis, Geist Mono for
   numbers and labels. Loaded after app.css on every page, so the website and the
   workspace share one look. Fonts are self-hosted: no third-party requests. */
@font-face {
  font-family: "Inter Tight Variable";
  src: url("/static/fonts/InterTightVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/static/fonts/InstrumentSerif-Italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/static/fonts/InstrumentSerif-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  --nx-paper: #f6f5f1;
  --nx-paper-deep: #eeece6;
  --nx-cream: #ffffff;
  --nx-ink: #0e0e0c;
  --nx-ink-soft: #1c1b18;
  --nx-text: #44423d;
  --nx-muted: #68655d;
  --nx-line: #e4e2dc;
  --nx-line-soft: #ecebe6;
  --nx-line-dark: #31302c;
  --nx-gold: #f5b700;
  --nx-gold-soft: #fdf3d6;
  --nx-gold-deep: #e0a700;
  --nx-amber: #7a5200;
  --nx-moss: #141412;
  --nx-sans: "Inter Tight Variable", "Geist Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nx-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --nx-shadow-card: 0 1px 0 rgb(14 14 12 / .04), 0 18px 45px -24px rgb(14 14 12 / .35);
  --nx-shadow-float: 0 1px 1px rgb(14 14 12 / .05), 0 24px 60px -18px rgb(14 14 12 / .28);
  /* The website's older names, pointed at the new palette. */
  --nd-basalt: var(--nx-ink);
  --nd-ink: var(--nx-ink);
  --nd-ink-2: var(--nx-ink-soft);
  --nd-text: var(--nx-text);
  --nd-muted: var(--nx-muted);
  --nd-line: var(--nx-line);
  --nd-line-2: var(--nx-line-soft);
  --nd-stone: var(--nx-paper-deep);
  --nd-paper: var(--nx-cream);
  --nd-saffron: var(--nx-gold);
  --nd-saffron-hover: var(--nx-gold-deep);
  --nd-amber: var(--nx-amber);
  --nd-amber-soft: var(--nx-gold-soft);
  --nd-night-2: #1b1a18;
  --nd-night-3: #242320;
  --nd-night-line: var(--nx-line-dark);
  --nd-night-line-2: #282724;
  --nd-dim: #a19e93;
  --nd-soft: #dddbd4;
  --nd-display: var(--nx-sans);
  --nd-sans: var(--nx-sans);
  /* The workspace's names, pointed at the same palette. */
  --cc-ink: var(--nx-ink);
  --cc-ink-soft: #302e2a;
  --cc-muted: #65635a;
  --cc-faint: #8e8a7d;
  --cc-line: #e3e0d4;
  --cc-line-strong: #d3d0c2;
  --cc-bg: var(--nx-paper);
  --cc-paper: #fff;
  --cc-accent: var(--nx-gold);
  --cc-accent-hover: var(--nx-gold-deep);
  --cc-accent-ink: var(--nx-ink);
  --cc-accent-strong: var(--nx-amber);
  --cc-accent-soft: var(--nx-gold-soft);
  --cc-night: var(--nx-ink);
  --cc-night-2: #1b1a18;
  --cc-night-3: #242320;
  --cc-night-line: var(--nx-line-dark);
  --cc-night-text: #dddbd4;
  --cc-ring: 0 0 0 3px rgb(245 183 0 / .5);
  --font-ui: var(--nx-sans);
}
::selection {
  background: var(--nx-gold);
  color: var(--nx-ink);
}
body.nd,
body.setup-page,
body.dashboard-page {
  font-family: var(--nx-sans);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
body.nd {
  background: var(--nx-paper);
  color: var(--nx-ink);
}
.nx-serif,
.nx h1 em,
.nx h2 em {
  font-family: var(--nx-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
}
.nx mark {
  background: linear-gradient(transparent 62%, var(--nx-gold) 62%, var(--nx-gold) 92%, transparent 92%);
  color: inherit;
  padding: 0 .06em;
}
:focus-visible {
  outline: 2px solid var(--nx-ink);
  outline-offset: 3px;
}
/* ---------- Shared pieces: buttons, header, labels ---------- */
.nd-button {
  border-radius: 999px;
  font-family: var(--nx-sans);
  font-weight: 600;
  letter-spacing: -.01em;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.nd-button:hover {
  transform: translateY(-1px);
}
.nd-button.primary {
  background: var(--nx-gold);
  color: var(--nx-ink);
  box-shadow: 0 1px 0 rgb(14 14 12 / .08), 0 10px 24px -14px rgb(196 138 0 / .9);
}
.nd-button.primary:hover {
  background: var(--nx-gold-deep);
}
.nd-button.dark {
  background: var(--nx-ink);
  color: #fff;
  box-shadow: 0 12px 26px -16px rgb(14 14 12 / .9);
}
.nd-button.dark:hover {
  background: var(--nx-ink-soft);
}
.nd-button.outline {
  border-color: var(--nx-line);
  background: rgb(255 255 255 / .55);
  color: var(--nx-ink);
}
.nd-button.outline:hover {
  border-color: var(--nx-ink);
}
.nd-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(244 242 234 / .82);
  border-bottom: 1px solid var(--nx-line);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
}
.nd-header .nd-wrap {
  padding-top: 14px;
  padding-bottom: 14px;
}
.nd-brand {
  font-family: var(--nx-sans);
  font-weight: 700;
  letter-spacing: -.035em;
}
.nd-nav {
  justify-content: center;
}
.nd-nav a {
  color: var(--nx-text);
  font-size: 14.5px;
  font-weight: 500;
}
.nd-nav a:hover,
.nd-nav a[aria-current=page] {
  color: var(--nx-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--nx-gold-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nd-header-actions .nd-button {
  padding: 10px 16px;
  font-size: 14.5px;
}
.nd-header-actions .nd-button svg {
  width: 14px;
  height: 14px;
}
.nd-link {
  color: var(--nx-amber);
  font-weight: 600;
}
.nx-eyebrow,
.nx-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font: 500 11.5px/1.2 var(--nd-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
.nx-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nx-gold-deep);
  box-shadow: 0 0 0 3px rgb(245 183 0 / .35);
}
.nx-eyebrow.gold,
.nx-label.gold {
  color: var(--nx-gold);
}
.nx-eyebrow.dark {
  color: var(--nx-ink);
}
.nx-eyebrow.dark::before {
  background: var(--nx-ink);
  box-shadow: none;
}
.nx-label.right {
  margin-left: auto;
}
.nx-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--nx-gold-soft);
  color: var(--nx-amber);
  font: 600 10.5px/1.4 var(--nd-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.nx-pill.dark {
  background: rgb(245 183 0 / .14);
  color: var(--nx-gold);
}
.nx-mono-soft {
  font: 500 11px var(--nd-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
.nx-grid {
  background-image: linear-gradient(to right, rgb(14 14 12 / .045) 1px, transparent 1px), linear-gradient(to bottom, rgb(14 14 12 / .045) 1px, transparent 1px);
  background-size: 64px 64px;
}
/* ---------- Announcement bar ---------- */
.nx-announce {
  background: var(--nx-ink);
  color: #edeae4;
  font-size: 13.5px;
}
.nx-announce .nd-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 9px;
  padding-bottom: 9px;
  text-align: center;
}
.nx-announce b {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--nx-gold);
  color: var(--nx-ink);
  font: 700 10.5px/1.5 var(--nd-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.nx-announce a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* ---------- Hero ---------- */
.nx-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--nx-line);
}
.nx-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 40px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(245 183 0 / .45), transparent);
  pointer-events: none;
}
.nx-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 96px;
}
.nx-hero h1 {
  margin: 22px 0 0;
  font: 700 clamp(48px, 6.4vw, 88px)/.94 var(--nx-sans);
  letter-spacing: -.055em;
  color: var(--nx-ink);
}
.nx-hero h1 em {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.04em;
  letter-spacing: -.035em;
}
.nx-sub {
  max-width: 540px;
  margin: 26px 0 0;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--nx-text);
}
.nx-sub b {
  color: var(--nx-ink);
  font-weight: 600;
}
.nx-paste {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 580px;
  margin-top: 32px;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--nx-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nx-shadow-card);
}
.nx-paste:focus-within {
  border-color: var(--nx-ink);
}
.nx-paste-icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--nx-muted);
}
.nx-paste input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: 400 15px var(--nd-mono);
  color: var(--nx-ink);
}
.nx-paste .nd-button {
  flex: 0 0 auto;
  padding: 13px 20px;
}
.nx-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--nx-muted);
}
.nx-trust b {
  color: var(--nx-ink);
  font-weight: 600;
}
.nx-trust svg {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: -3px;
}
.nx-stack {
  display: inline-flex;
}
.nx-stack img {
  width: 30px;
  height: 30px;
  padding: 6px;
  margin-left: -7px;
  border: 2px solid var(--nx-paper);
  border-radius: 50%;
  background: #fff;
}
.nx-stack img:first-child {
  margin-left: 0;
}
.nx-sep {
  width: 1px;
  height: 18px;
  background: var(--nx-line);
}
.nx .nd-availability {
  margin-top: 14px;
  color: var(--nx-muted);
}
.nx .nd-form-status:empty,
.nx .nd-availability[hidden] {
  display: none;
}
.nx-hero-demo {
  position: relative;
  padding: 26px 0 30px;
}
.nx-device {
  position: relative;
  padding: 16px;
  border: 1px solid #2c2b27;
  border-radius: 24px;
  background: var(--nx-ink);
  color: #edeae4;
  box-shadow: 0 40px 80px -30px rgb(14 14 12 / .6);
  transform: rotate(1.2deg);
}
.nx-device-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 4px 14px;
}
.nx-device-top img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.nx-device-top span:not(.nx-live) {
  display: grid;
  line-height: 1.25;
}
.nx-device-top b {
  font-size: 14px;
}
.nx-device-top small {
  font: 500 10.5px var(--nd-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #959286;
}
.nx-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--nx-line-dark);
  border-radius: 999px;
  font: 600 10.5px var(--nd-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--nx-gold);
}
.nx-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nx-gold);
  animation: nx-pulse 2.4s ease-in-out infinite;
}
.nx-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--nx-line-dark);
  border-radius: 16px;
  background: #1b1a18;
}
.nx-route div {
  display: grid;
  gap: 3px;
}
.nx-route .to {
  text-align: right;
  justify-items: end;
}
.nx-route small {
  font: 500 10px var(--nd-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #959286;
}
.nx-route b {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
}
.nx-route b img {
  width: 18px;
  height: 18px;
}
.nx-direct {
  padding: 3px 9px;
  border: 1px dashed #55534b;
  border-radius: 999px;
  font: 600 10px var(--nd-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nx-gold);
}
.nx-files {
  display: grid;
  gap: 4px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}
.nx-files li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
}
.nx-files li.active {
  background: #1b1a18;
}
.nx-files li.queued {
  opacity: .55;
}
.nx-tag {
  flex: 0 0 38px;
  padding: 6px 0;
  border-radius: 8px;
  background: #292824;
  font: 700 10px var(--nd-mono);
  text-align: center;
  color: var(--nx-gold);
}
.nx-file-name {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
}
.nx-file-name b {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nx-file-name small {
  font: 400 11px var(--nd-mono);
  color: #959286;
}
.nx-mini-bar {
  flex: 0 0 70px;
  height: 4px;
  border-radius: 4px;
  background: #312f2b;
  overflow: hidden;
}
.nx-mini-bar span {
  display: block;
  height: 100%;
  width: 62%;
  background: var(--nx-gold);
}
.nx-ok {
  width: 18px;
  height: 18px;
  color: var(--nx-gold);
}
.nx-queued {
  font: 500 11px var(--nd-mono);
  color: #959286;
}
.nx-meter {
  padding: 16px;
  border: 1px solid var(--nx-line-dark);
  border-radius: 16px;
  background: #191816;
}
.nx-meter-head,
.nx-meter-num,
.nx-meter-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.nx-meter .nx-label {
  font-size: 10px;
  color: #959286;
}
.nx-meter-head .nd-mono {
  color: var(--nx-gold);
  font-size: 12.5px;
}
.nx-meter-num {
  margin-top: 8px;
}
.nx-meter-num b {
  font: 700 38px/1 var(--nx-sans);
  letter-spacing: -.04em;
  color: #fff;
}
.nx-meter-num .nd-mono {
  font-size: 11.5px;
  color: #aca99f;
}
.nx-bar {
  height: 6px;
  margin-top: 14px;
  border-radius: 6px;
  background: #312f2b;
  overflow: hidden;
}
.nx-bar span {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--nx-gold-deep), var(--nx-gold));
}
.nx-bar.full {
  background: var(--nx-line-soft);
}
.nx-bar.full span {
  width: 100%;
}
.nx-meter-foot {
  margin-top: 12px;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #868174;
}
.nx-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--nx-shadow-float);
  color: var(--nx-ink);
  animation: nx-float 7s ease-in-out infinite;
}
.nx-chip b {
  font-size: 13.5px;
}
.nx-chip small {
  display: block;
  max-width: 190px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--nx-muted);
}
.nx-chip svg {
  width: 18px;
  height: 18px;
  color: var(--nx-amber);
}
.nx-chip-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--nx-gold);
  font: 700 14px var(--nd-mono);
}
.nx-chip-top {
  top: -6px;
  right: -14px;
  transform: rotate(3deg);
}
.nx-chip-bottom {
  left: -22px;
  bottom: 4px;
  animation-delay: -3s;
}
.nx-chip-bottom span {
  font-size: 13.5px;
}
/* ---------- Provider strip ---------- */
.nx-strip {
  border-bottom: 1px solid var(--nx-line);
  background: var(--nx-paper-deep);
}
.nx-strip .nd-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 40px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.nx-provider {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--nx-ink-soft);
}
.nx-provider img {
  width: 20px;
  height: 20px;
}
/* ---------- Sections ---------- */
.nx-section {
  padding-top: 112px;
  padding-bottom: 112px;
}
.nx-head {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin-bottom: 52px;
}
.nx-head.split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  align-items: end;
  gap: 40px;
}
.nx-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.nx h2 {
  margin: 0;
  font: 700 clamp(38px, 4.6vw, 62px)/.98 var(--nx-sans);
  letter-spacing: -.05em;
  color: inherit;
}
.nx h2 em {
  font-size: 1.04em;
}
.nx-head p:not(.nx-eyebrow),
.nx-two p:not(.nx-eyebrow),
.nx-faq > div > p:not(.nx-eyebrow),
.nx-final p:not(.nx-eyebrow) {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--nx-text);
}
/* Steps */
.nx-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.nx-step {
  padding: 14px 14px 26px;
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  background: var(--nx-cream);
  box-shadow: var(--nx-shadow-card);
}
.nx-step h3,
.nx-tile h3 {
  margin: 6px 12px 0;
  font: 650 21px/1.2 var(--nx-sans);
  letter-spacing: -.03em;
}
.nx-step p {
  margin: 8px 12px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--nx-muted);
}
.nx-num {
  display: block;
  margin: 22px 12px 0;
  font: 500 12px var(--nd-mono);
  letter-spacing: .14em;
  color: var(--nx-muted);
}
.nx-illo {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 176px;
  padding: 18px;
  border: 1px solid var(--nx-line-soft);
  border-radius: 16px;
  background: radial-gradient(rgb(14 14 12 / .1) .8px, transparent .8px) 0 0 / 16px 16px, var(--nx-paper);
}
.nx-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--nx-line-soft);
  border-radius: 12px;
  background: rgb(255 255 255 / .75);
  font-size: 13.5px;
  font-weight: 500;
}
.nx-row.on {
  border-color: var(--nx-line);
  background: #fff;
  box-shadow: 0 8px 18px -14px rgb(14 14 12 / .5);
}
.nx-row span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.nx-row img {
  width: 18px;
  height: 18px;
}
.nx-row.field .nd-mono {
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nx-row svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--nx-muted);
}
.nx-row .nd-mono {
  font-size: 12px;
  color: var(--nx-muted);
}
.nx-arrow {
  justify-self: center;
  padding: 2px 10px;
  border: 1px dashed var(--nx-line);
  border-radius: 999px;
  background: var(--nx-cream);
  font: 600 10px var(--nd-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nx-amber);
}
.nx-done {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--nx-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px -16px rgb(14 14 12 / .55);
}
.nx-done svg {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 50%;
  background: var(--nx-gold);
  color: var(--nx-ink);
}
.nx-done span {
  display: grid;
}
.nx-done b {
  font-size: 14px;
}
.nx-done small {
  font-size: 11.5px;
  color: var(--nx-muted);
}
/* Dark comparison band */
.nx-dark-band {
  background: radial-gradient(50% 70% at 90% 10%, rgb(245 183 0 / .12), transparent 70%), var(--nx-moss);
  color: #f0efe9;
}
.nx-dark-band .nx-head p:not(.nx-eyebrow) {
  color: #bfbdb5;
}
.nx-race {
  display: grid;
  gap: 22px;
  padding: 30px;
  border: 1px solid #393733;
  border-radius: 24px;
  background: rgb(0 0 0 / .18);
}
.nx-lane > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 15px;
}
.nx-lane .nd-mono {
  color: #bfbdb5;
  font-size: 13px;
}
.nx-badge {
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--nx-gold);
  color: var(--nx-ink);
  font: 700 10.5px/1.5 var(--nd-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nx-track {
  height: 10px;
  margin-top: 12px;
  border-radius: 10px;
  background: rgb(255 255 255 / .08);
  overflow: hidden;
}
.nx-track span {
  display: block;
  height: 100%;
  border-radius: 10px;
}
.nx-track .slow {
  width: 100%;
  background: #757266;
}
.nx-track .fast {
  width: 3%;
  min-width: 14px;
  background: var(--nx-gold);
  box-shadow: 0 0 18px rgb(245 183 0 / .7);
}
.nx-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
  border-top: 1px solid #393733;
}
.nx-facts div {
  display: grid;
  gap: 6px;
  padding: 26px 22px 0 0;
}
.nx-facts div + div {
  padding-left: 22px;
  border-left: 1px solid #393733;
}
.nx-facts b {
  font: 700 46px/1 var(--nx-sans);
  letter-spacing: -.05em;
  color: #fff;
}
.nx-facts i {
  margin-left: 6px;
  font-family: var(--nx-serif);
  font-size: .62em;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--nx-gold);
}
.nx-facts span {
  font-size: 14px;
  color: #bfbdb5;
}
/* Bento */
.nx-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.nx-tile {
  display: flex;
  flex-direction: column;
  padding: 26px 14px 14px;
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  background: var(--nx-cream);
  box-shadow: var(--nx-shadow-card);
}
.nx-tile > .nx-label {
  margin: 0 12px 14px;
  font-size: 10.5px;
}
.nx-tile h3 span {
  color: var(--nx-muted);
}
.nx-tile p {
  margin: 10px 12px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--nx-muted);
}
.nx-tile.dark {
  border-color: #292824;
  background: var(--nx-ink);
  color: #f0efe9;
}
.nx-tile.dark h3 span,
.nx-tile.dark p {
  color: #afada4;
}
.nx-tile.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  padding: 32px;
}
.nx-tile.wide .nx-label,
.nx-tile.wide h3,
.nx-tile.wide p {
  margin-left: 0;
  margin-right: 0;
}
.nx-tile.wide h3 {
  margin-top: 16px;
  font-size: 30px;
}
.nx-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 500 11px var(--nd-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #cfcbc2;
}
.nx-checks li::before,
.nx-ticks li::before,
.nx-list li::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 7px;
  margin-right: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(-45deg);
}
.nx-checks li::before {
  color: var(--nx-gold);
}
.nx-pipe {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--nx-line-dark);
  border-radius: 18px;
  background: #191816;
}
.nx-pipe-node {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--nx-line-dark);
  border-radius: 14px;
  background: #1c1b18;
}
.nx-pipe-node b {
  font-size: 14.5px;
}
.nx-pipe-node small {
  font-size: 11px;
  color: #959286;
}
.nx-pipe-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: #2f2d29;
  color: var(--nx-gold);
}
.nx-pipe-icon.light {
  background: #fff;
}
.nx-pipe-icon svg,
.nx-pipe-icon img {
  width: 18px;
  height: 18px;
}
.nx-pipe-mid {
  display: grid;
  justify-items: center;
  gap: 8px;
}
.nx-pipe-mid .nx-label {
  font-size: 9.5px;
}
.nx-dash {
  width: 60px;
  border-top: 2px dashed #55534b;
}
.nx-widget {
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  background: #fff;
}
.nx-widget small {
  display: block;
  margin-top: 10px;
  font-size: 10.5px;
  color: var(--nx-muted);
}
.nx-widget > small:first-child {
  margin-top: 0;
}
.nx-widget-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
}
.nx-widget-head .nd-mono {
  color: var(--nx-amber);
}
.nx-chunks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 3px;
  margin-top: 10px;
}
.nx-chunks i {
  height: 10px;
  border-radius: 3px;
  background: var(--nx-ink);
}
.nx-chunks i.half {
  background: var(--nx-gold-deep);
}
.nx-chunks i.off {
  background: var(--nx-line);
}
.nx-check-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  font-size: 12.5px;
  color: var(--nx-muted);
}
.nx-check-row + .nx-check-row {
  border-top: 1px solid var(--nx-line-soft);
}
.nx-check-row b {
  font: 500 11.5px var(--nd-mono);
  color: var(--nx-amber);
}
.nx-seal {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding: 14px;
  border: 1px solid var(--nx-line-dark);
  border-radius: 16px;
  background: #1b1a18;
}
.nx-seal svg {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid #44423d;
  border-radius: 50%;
  color: var(--nx-gold);
}
.nx-seal ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
  font: 500 10.5px var(--nd-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #cfcbc2;
}
.nx-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.nx-choice span {
  padding: 10px 8px;
  border: 1px solid var(--nx-line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}
.nx-choice .on {
  border-color: var(--nx-ink);
  background: var(--nx-ink);
  color: #fff;
}
.nx-ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font: 500 11px var(--nd-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
.nx-ticks li::before {
  color: var(--nx-amber);
}
.nx-ticks.dark {
  justify-content: flex-start;
  color: var(--nx-ink-soft);
}
.nx-ticks.dark li::before {
  color: var(--nx-ink);
}
/* Lime band */
.nx-gold-band {
  background: radial-gradient(60% 80% at 100% 100%, rgb(255 255 255 / .55), transparent 70%), linear-gradient(160deg, #ffd65a, var(--nx-gold) 55%, #eaa900);
  color: var(--nx-ink);
}
.nx-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.nx-two > div:first-child {
  display: grid;
  gap: 20px;
  justify-items: start;
}
.nx-gold-band .nx-two p:not(.nx-eyebrow) {
  color: #34332e;
}
.nx-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15.5px;
  font-weight: 500;
}
.nx-list li::before {
  color: var(--nx-ink);
}
.nx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nx-links-card {
  padding: 16px;
  border: 1px solid rgb(14 14 12 / .12);
  border-radius: 24px;
  background: rgb(251 250 245 / .92);
  box-shadow: 0 40px 70px -40px rgb(14 14 12 / .6);
  transform: rotate(-1.4deg);
}
.nx-links-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 6px 14px;
}
.nx-links-top .nx-pill {
  margin-left: auto;
}
.nx-dots {
  display: inline-flex;
  gap: 5px;
}
.nx-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nx-line);
}
.nx-link-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  margin-top: 8px;
  border: 1px solid var(--nx-line-soft);
  border-radius: 16px;
  background: #fff;
}
.nx-link-item > .nd-mono {
  overflow: hidden;
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--nx-muted);
}
.nx-link-item > .nd-mono b {
  float: right;
  color: var(--nx-amber);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.nx-link-item div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}
.nx-link-item div .nd-mono {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--nx-muted);
}
.nx-link-item img {
  width: 20px;
  height: 20px;
  padding: 3px;
  border: 1px solid var(--nx-line-soft);
  border-radius: 6px;
}
.nx-link-item.fetching {
  border-style: dashed;
}
.nx-links-foot {
  padding: 12px 6px 2px;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
/* Plans on the home page */
.nx-plans {
  margin-top: 0;
}
.nx .nd-plan-strip > div {
  border-color: var(--nx-line);
  border-radius: 24px;
  background: var(--nx-cream);
  box-shadow: var(--nx-shadow-card);
}
.nx .nd-plan-strip > div.dark {
  border-color: var(--nx-ink);
  background: radial-gradient(70% 60% at 100% 0%, rgb(245 183 0 / .18), transparent 70%), var(--nx-ink);
}
.nx .nd-plan-strip b {
  font-family: var(--nx-sans);
  letter-spacing: -.05em;
}
.nx-plans-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.nx-plans-foot .nd-note {
  margin: 0;
}
/* FAQ */
.nx-faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.nx-faq > div:first-child {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 100px;
}
.nx-curious {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 18px;
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  background: var(--nx-cream);
  box-shadow: var(--nx-shadow-card);
}
.nx-curious > span:nth-child(2) {
  display: grid;
  flex: 1 1 140px;
}
.nx-curious small {
  font-size: 13px;
  color: var(--nx-muted);
}
.nx-curious-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--nx-ink);
  color: var(--nx-gold);
}
.nx-curious-icon svg {
  width: 18px;
  height: 18px;
}
.nx-curious .nd-button {
  padding: 10px 16px;
  font-size: 14px;
}
.nx .nx-questions details {
  border: 0;
  border-top: 1px solid var(--nx-line);
  padding: 0;
}
.nx .nx-questions details:last-child {
  border-bottom: 1px solid var(--nx-line);
}
.nx .nx-questions summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--nx-ink);
}
.nx .nx-questions summary i {
  font: 500 11px var(--nd-mono);
  letter-spacing: .1em;
  color: var(--nx-muted);
}
.nx .nx-questions details p {
  margin: -6px 0 22px 36px;
  max-width: 600px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--nx-text);
}
/* Final call to action */
.nx-final {
  background: radial-gradient(45% 70% at 80% 50%, rgb(255 255 255 / .6), transparent 70%), linear-gradient(160deg, #ffd65a, var(--nx-gold) 60%, #e3a300);
  border-top: 1px solid rgb(14 14 12 / .1);
}
.nx-final-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 48px;
  align-items: center;
  padding-top: 112px;
  padding-bottom: 112px;
}
.nx-final-inner > div:first-child {
  display: grid;
  gap: 22px;
  justify-items: start;
}
.nx-final h2 {
  font-size: clamp(46px, 6.2vw, 88px);
}
.nx-final .nx-final-inner p:not(.nx-eyebrow) {
  max-width: 480px;
  color: #34332e;
}
.nx-orbit {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-width: 380px;
  width: 100%;
  justify-self: center;
}
.nx-orbit .ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(14 14 12 / .16);
  border-radius: 50%;
}
.nx-orbit .r2 {
  inset: 15%;
}
.nx-orbit .r3 {
  inset: 30%;
  border-style: dashed;
}
.nx-orbit img {
  position: relative;
  width: 44%;
  border-radius: 24%;
  box-shadow: 0 40px 60px -26px rgb(14 14 12 / .7);
  transform: rotate(-4deg);
}
.nx-chip.small {
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12.5px;
}
.nx-chip.small.a {
  top: 18%;
  right: 0;
}
.nx-chip.small.b {
  bottom: 18%;
  left: 2%;
  animation-delay: -3s;
}
.nx-chip.dark {
  border-color: var(--nx-ink);
  background: var(--nx-ink);
  color: #fff;
}
/* Footer */
.nx-footer {
  overflow: hidden;
  background: var(--nx-ink);
  color: #cfcbc2;
}
.nx-footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 32px;
  padding-top: 72px;
  padding-bottom: 48px;
  font-size: 14.5px;
}
.nx-footer-grid > div {
  display: grid;
  gap: 11px;
  align-content: start;
}
.nx-footer-grid strong {
  font: 500 11px var(--nd-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #868174;
}
.nx-footer-grid a {
  color: #e3e1dc;
}
.nx-footer-grid a:hover {
  color: var(--nx-gold);
}
.nx-footer .nd-brand {
  color: #fff;
  font-size: 19px;
}
.nx-footer .nd-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.nx-footer-grid p {
  max-width: 340px;
  margin: 6px 0 0;
  color: #a19e93;
}
.nx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--nx-line-dark);
  font: 500 12px var(--nd-mono);
  letter-spacing: .04em;
  color: #959286;
}
.nx-footer-bottom .nd-trust a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nx-wordmark {
  margin-top: 26px;
  margin-bottom: -0.2em;
  font: 800 clamp(90px, 21vw, 300px)/.8 var(--nx-sans);
  letter-spacing: -.07em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, rgb(255 255 255 / .14), rgb(255 255 255 / 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
}
/* The shared footer on pricing, help and legal pages, in the same dark style. */
.nd-footer {
  background: var(--nx-ink);
  border-top: 0;
  color: #cfcbc2;
}
.nd-footer-grid a,
.legal-page .nd-footer-grid a {
  color: #e3e1dc;
}
.nd-footer-grid a:hover {
  color: var(--nx-gold);
}
.nd-footer-grid strong {
  font: 500 11px var(--nd-mono);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #868174;
}
.nd-footer-grid p {
  color: #a19e93;
}
.nd-footer .nd-brand {
  color: #fff;
}
.nd-copyright {
  border-top-color: var(--nx-line-dark);
  color: #959286;
}
.legal-page .nd-footer {
  background: var(--nx-ink);
}
@keyframes nx-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@keyframes nx-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.8); }
}
@media (prefers-reduced-motion: reduce) {
  .nx-chip,
  .nx-live::before {
    animation: none;
  }
  .nd-button:hover {
    transform: none;
  }
}
/* ---------- Narrow screens ---------- */
@media (max-width: 1020px) {
  .nx-hero-inner,
  .nx-two,
  .nx-final-inner,
  .nx-faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .nx-faq > div:first-child {
    position: static;
  }
  .nx-head.split {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .nx-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-tile.wide {
    grid-template-columns: minmax(0, 1fr);
  }
  .nx-hero-demo {
    max-width: 560px;
  }
}
@media (max-width: 720px) {
  .nx-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }
  .nx-hero-inner {
    padding-top: 52px;
    padding-bottom: 64px;
    gap: 40px;
  }
  .nx-steps,
  .nx-bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .nx-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-facts div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .nx-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .nx-paste {
    flex-wrap: wrap;
    border-radius: 22px;
    padding: 12px;
  }
  .nx-paste input {
    flex-basis: calc(100% - 30px);
    padding: 6px 0;
  }
  .nx-paste .nd-button {
    flex: 1 1 100%;
  }
  .nx-chip-top {
    right: 0;
  }
  .nx-chip-bottom {
    left: 0;
  }
  .nx-device {
    transform: none;
  }
  .nx-pipe {
    grid-template-columns: minmax(0, 1fr);
  }
  .nx-pipe-mid {
    grid-auto-flow: column;
  }
  .nx-dash {
    width: 30px;
  }
  .nx-label.right {
    margin-left: 0;
  }
  .nx-announce .nd-wrap {
    font-size: 12.5px;
    gap: 8px;
  }
  .nx .nx-questions details p {
    margin-left: 0;
  }
}
@media (max-width: 420px) {
  .nx-sep {
    display: none;
  }
}
/* ---------- Fixes found on screen ---------- */
.nx .nx-questions summary {
  justify-content: flex-start;
  text-align: left;
}
.nx .nx-questions summary::after {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border: 1px solid var(--nx-line);
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}
.nx .nx-questions details[open] summary::after {
  border-color: var(--nx-ink);
  background: var(--nx-ink);
  color: var(--nx-gold);
}
.nx-trust > span {
  display: inline-flex;
  align-items: center;
}
.nx-trust svg {
  display: inline-block;
  flex: 0 0 16px;
}
.nx-footer-bottom {
  font: 400 13px/1.5 var(--nx-sans);
  letter-spacing: 0;
}
.nx-footer-bottom > span {
  flex: 0 1 auto;
}
.nx-footer-bottom .nd-trust {
  display: inline;
  margin: 0;
}
.nx-route b {
  white-space: nowrap;
}
@media (max-width: 720px) {
  .nx-hero-demo {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  .nx-hero-demo .nx-chip {
    position: relative;
    inset: auto;
    transform: none;
    animation: none;
  }
  .nx-chip-top {
    order: -1;
    align-self: flex-end;
    margin-bottom: -16px;
  }
  .nx-chip-bottom {
    align-self: flex-start;
    margin: -18px 0 0 12px;
  }
  .nx-ticks {
    justify-content: flex-start;
  }
  .nx-route {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .nx-route .to {
    text-align: left;
    justify-items: start;
  }
}
.nx .nd-price-head h1 em {
  font-size: 1.05em;
}
.nd-auth-story h2 span {
  font-family: var(--nx-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #afada4;
}
.nd-auth-story {
  background: radial-gradient(60% 50% at 100% 0%, rgb(245 183 0 / .14), transparent 70%), var(--nx-ink);
}
/* ---------- Workspace: light sidebar with a dark active item ---------- */
body.dashboard-page .sidebar {
  background: #f2f0ea;
  border-right: 1px solid var(--nx-line);
  color: var(--nx-text);
}
body.dashboard-page .sidebar > .brand {
  color: var(--nx-ink);
}
body.dashboard-page .workspace-label {
  color: var(--nx-muted);
}
body.dashboard-page .tiny-beta {
  background: var(--nx-gold-soft);
  border-color: #f1d98f;
  color: var(--nx-amber);
}
body.dashboard-page .sidebar .dash-nav a.tab-btn {
  color: var(--nx-text);
}
body.dashboard-page .sidebar .tab-btn > [data-icon] {
  color: #726f63;
}
body.dashboard-page .sidebar .tab-btn:hover {
  background: rgb(14 14 12 / .05);
  color: var(--nx-ink);
}
body.dashboard-page .sidebar .tab-btn:hover > [data-icon] {
  color: var(--nx-ink);
}
body.dashboard-page .sidebar .dash-nav a.tab-btn.active {
  background: var(--nx-ink);
  color: #fff;
  box-shadow: 0 10px 22px -14px rgb(14 14 12 / .8);
}
body.dashboard-page .sidebar .tab-btn.active > [data-icon],
body.dashboard-page .sidebar .tab-btn.active .nav-plus {
  color: var(--nx-gold);
}
body.dashboard-page .nav-count {
  background: #e2dfd3;
  color: var(--nx-ink-soft);
}
body.dashboard-page .tab-btn.active .nav-count {
  background: #312f2b;
  color: #dddbd4;
}
body.dashboard-page .nav-plus {
  color: var(--nx-amber);
}
body.dashboard-page .nav-divider {
  background: var(--nx-line);
}
body.dashboard-page .sidebar-tip {
  background: #fff;
  border-color: var(--nx-line);
  box-shadow: var(--nx-shadow-card);
}
body.dashboard-page .sidebar-tip > span,
body.dashboard-page .sidebar-tip .text-link {
  color: var(--nx-amber);
}
body.dashboard-page .sidebar-tip strong {
  color: var(--nx-ink);
}
body.dashboard-page .sidebar-tip p,
body.dashboard-page .sidebar :is(p, small, .field-hint),
body.dashboard-page .profile-name small {
  color: var(--nx-muted);
}
body.dashboard-page .profile-button {
  border-top-color: var(--nx-line);
  color: var(--nx-ink);
}
body.dashboard-page .sidebar .profile-button > [data-icon] {
  color: var(--nx-muted);
}
body.dashboard-page .sidebar .brand-logo,
body.dashboard-page .sidebar .brand img {
  box-shadow: none;
}
/* Page titles use the same type as the website. */
body.dashboard-page :is(h1, h2) {
  letter-spacing: -.035em;
}
body.dashboard-page .eyebrow {
  color: var(--nx-amber);
}
/* ---------- Transfer desk (home preview, and the workspace uses the same parts) ---------- */
.nx-desk {
  overflow: hidden;
  border: 1px solid var(--nx-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--nx-shadow-float);
}
.nx-desk-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--nx-line);
  background: var(--nx-paper);
}
.nx-desk-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nx-ink);
  color: var(--nx-gold);
}
.nx-desk-badge svg {
  width: 16px;
  height: 16px;
}
.nx-desk-title {
  display: grid;
  line-height: 1.3;
}
.nx-desk-title b {
  font-size: 15px;
}
.nx-desk-title small {
  font: 500 10.5px var(--nd-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
.nx-seg {
  display: inline-flex;
  gap: 4px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid var(--nx-line);
  border-radius: 999px;
  background: #fff;
}
.nx-seg button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--nx-muted);
  font: 600 13.5px var(--nx-sans);
  cursor: pointer;
}
.nx-seg button[aria-pressed=true] {
  background: var(--nx-ink);
  color: #fff;
}
.nx-desk-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
}
.nx-desk-left {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 24px;
}
.nx-desk-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  font: 500 10.5px var(--nd-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
.nx-desk-label span:last-child {
  color: #a1a1aa;
}
.nx-desk-field,
.nx-desk-select,
.nx-desk-found {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--nx-line);
  border-radius: 14px;
  background: #fff;
}
.nx-desk-field svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--nx-muted);
}
.nx-desk-field .nd-mono {
  overflow: hidden;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nx-desk-select img {
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 1px solid var(--nx-line-soft);
  border-radius: 10px;
}
.nx-desk-select span,
.nx-desk-found span:not(.nx-tag) {
  display: grid;
  min-width: 0;
  line-height: 1.35;
}
.nx-desk-select b,
.nx-desk-found b {
  font-size: 14.5px;
}
.nx-desk-select small,
.nx-desk-found small {
  font-size: 12px;
  color: var(--nx-muted);
}
.nx-desk-found {
  border-color: #efd99a;
  background: var(--nx-gold-soft);
}
.nx-desk-found svg {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--nx-amber);
}
.nx-tag.light {
  background: #fff;
  color: var(--nx-amber);
  border: 1px solid #efd99a;
}
.nx-desk-files {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--nx-line);
  border-radius: 14px;
}
.nx-desk-files li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 10px;
}
.nx-desk-files li span {
  display: grid;
}
.nx-desk-files b {
  font-size: 14px;
}
.nx-desk-files small {
  font-size: 11.5px;
  color: var(--nx-muted);
}
.nx-desk-files i {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--nx-line);
  border-radius: 5px;
}
.nx-desk-files li.on i {
  border-color: var(--nx-ink);
  background: var(--nx-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5b700' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.nx-desk-start {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding: 17px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--nx-gold);
  color: var(--nx-ink);
  font: 650 16px var(--nx-sans);
  cursor: pointer;
  box-shadow: 0 14px 30px -18px rgb(196 138 0 / .9);
}
.nx-desk-start:hover {
  background: var(--nx-gold-deep);
}
.nx-desk-start .nd-mono {
  font-size: 12px;
  opacity: .7;
}
[data-state=running] .nx-desk-start {
  background: var(--nx-gold-soft);
}
.nx-desk-note {
  margin: 4px 0 0;
  font: 500 10.5px var(--nd-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--nx-muted);
}
.nx-monitor {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
  background: var(--nx-ink);
  color: #f0efe9;
}
.nx-monitor-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nx-monitor .nx-label {
  font-size: 10.5px;
  color: #8f8f98;
}
.nx-dots.dark i {
  background: #45454d;
}
.nx-dots.dark i:first-child {
  background: var(--nx-gold);
}
.nx-state {
  margin-left: auto;
  padding: 4px 11px;
  border: 1px solid var(--nx-line-dark);
  border-radius: 999px;
  font: 600 10.5px var(--nd-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8f8f98;
}
[data-state=running] .nx-state,
.nx-state.live {
  border-color: rgb(245 183 0 / .5);
  color: var(--nx-gold);
}
[data-state=done] .nx-state,
.nx-state.done {
  border-color: rgb(60 207 127 / .5);
  color: #3ccf7f;
}
.nx-monitor-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--nx-line-dark);
  border-radius: 16px;
  background: #1d1d21;
}
.nx-monitor-route div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.nx-monitor-route .to {
  text-align: right;
}
.nx-monitor-route small {
  font: 500 10px var(--nd-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #85858e;
}
.nx-monitor-route b {
  overflow: hidden;
  font-size: 14.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nx-monitor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-top: -6px;
}
.nx-monitor-head span {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.nx-monitor-head strong {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.nx-monitor-head small {
  overflow: hidden;
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #8f8f98;
}
.nx-monitor-head > b {
  font: 700 54px/1 var(--nx-sans);
  letter-spacing: -.05em;
}
.nx-monitor-head > b i {
  font-size: 18px;
  font-style: normal;
  color: #8f8f98;
}
.nx-monitor .nx-bar {
  margin-top: 0;
  background: #2c2c31;
}
.nx-monitor .nx-bar span {
  background: linear-gradient(90deg, var(--nx-gold-deep), var(--nx-gold));
  transition: width .2s linear;
}
.nx-monitor-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.nx-monitor-tiles div {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--nx-line-dark);
  border-radius: 12px;
  background: #1d1d21;
}
.nx-monitor-tiles small {
  font: 500 9.5px var(--nd-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #85858e;
}
.nx-monitor-tiles b {
  font: 500 14px var(--nd-mono);
}
.nx-monitor-log {
  min-height: 150px;
  padding: 14px 16px;
  border: 1px solid var(--nx-line-dark);
  border-radius: 14px;
  background: #1b1b1f;
}
.nx-monitor-log ol {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  font: 400 12px/1.4 var(--nd-mono);
  color: #cfcbc2;
}
.nx-monitor-log li {
  display: flex;
  gap: 12px;
  min-width: 0;
}
.nx-monitor-log time {
  flex: 0 0 auto;
  color: #6e6e76;
}
.nx-monitor-log li:last-child {
  color: #fff;
}
.nx-desk-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  font: 500 11px var(--nd-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
.nx-desk-foot .nd-link {
  font-family: var(--nx-sans);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}
/* ---------- Integrations ---------- */
.nx-integrations {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.nx-integrations article {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--nx-shadow-card);
}
.nx-integrations article > img,
.nx-int-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--nx-line-soft);
  border-radius: 12px;
  color: var(--nx-ink);
}
.nx-int-icon svg {
  width: 100%;
  height: 100%;
}
.nx-integrations article > span:not(.nx-int-icon) {
  display: grid;
  gap: 3px;
  flex: 1 1 auto;
  min-width: 0;
}
.nx-integrations b {
  font-size: 15.5px;
}
.nx-integrations small {
  font-size: 13px;
  line-height: 1.4;
  color: var(--nx-muted);
}
.nx-integrations em {
  margin-left: auto;
  font-style: normal;
}
.nx-integrations .nx-int-more {
  grid-column: 1 / -1;
  align-items: center;
  border-style: dashed;
  background: var(--nx-paper);
  box-shadow: none;
}
.nx-int-more .nd-button {
  margin-left: auto;
  padding: 10px 16px;
  font-size: 14px;
}
.nx-int-note {
  margin: 14px 0 0;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
/* ---------- Price cards ---------- */
.nx-price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.nx-price {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 24px;
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--nx-shadow-card);
}
.nx-price .nx-pill {
  position: absolute;
  top: 22px;
  right: 20px;
}
.nx-price-note {
  margin: 0;
  min-height: 40px;
  font-size: 14px;
  color: var(--nx-muted);
}
.nx-price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 6px;
}
.nx-price-amount b {
  font: 700 46px/1 var(--nx-sans);
  letter-spacing: -.05em;
}
.nx-price-amount span {
  font-size: 14px;
  color: var(--nx-muted);
}
.nx-price-allow {
  margin: 6px 0 18px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--nx-paper);
  font: 500 14px var(--nd-mono);
}
.nx-price .nd-button {
  margin-top: auto;
  padding: 12px 16px;
  font-size: 14.5px;
}
.nx-price.featured {
  border-color: var(--nx-ink);
  background: radial-gradient(70% 50% at 100% 0%, rgb(245 183 0 / .2), transparent 70%), var(--nx-ink);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgb(14 14 12 / .8);
  transform: translateY(-8px);
}
.nx-price.featured .nx-price-note,
.nx-price.featured .nx-price-amount span {
  color: #afada4;
}
.nx-price.featured .nx-price-allow {
  background: #1f1e1b;
}
@media (max-width: 1020px) {
  .nx-desk-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .nx-integrations,
  .nx-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-price.featured {
    transform: none;
  }
}
@media (max-width: 720px) {
  .nx-integrations,
  .nx-price-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .nx-seg {
    margin-left: 0;
    width: 100%;
  }
  .nx-seg button {
    flex: 1 1 50%;
  }
  .nx-monitor-head > b {
    font-size: 42px;
  }
  .nx-monitor-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nx-monitor-tiles div {
    padding: 10px;
  }
  .nx-int-more {
    flex-wrap: wrap;
  }
}
/* ---------- Workspace transfer desk: one card, the form on the left, the live monitor on the right ---------- */
body.dashboard-page .route-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  grid-template-areas: "from monitor" "to monitor";
  align-items: stretch;
  gap: 0;
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--nx-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--nx-shadow-float);
}
body.dashboard-page .route-board > .route-arrow {
  display: none;
}
body.dashboard-page .route-board > .route-pane {
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  padding: 26px 28px;
}
body.dashboard-page .route-board > .route-from {
  grid-area: from;
}
body.dashboard-page .route-board > .route-to {
  grid-area: to;
  border-top: 1px solid var(--nx-line);
}
body.dashboard-page .route-board > .route-pane::before {
  display: none;
}
body.dashboard-page .route-board .route-label {
  align-self: flex-start;
  padding: 0;
  margin-bottom: 10px;
  background: none;
  color: var(--nx-muted);
  font: 500 11px var(--nd-mono) !important;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.dashboard-page .route-board > .desk-monitor {
  grid-area: monitor;
  align-content: start;
  padding: 24px;
  border-radius: 0;
}
body.dashboard-page .route-board .form-actions .button.primary,
body.dashboard-page .route-board #startUpload,
body.dashboard-page .route-board #startCloudCopy {
  border-radius: 999px;
}
body.dashboard-page .route-board .form-actions .button.primary {
  width: 100%;
  min-height: 54px;
  justify-content: space-between;
  padding-inline: 24px;
  font-size: 16px;
}
.desk-monitor .nx-monitor-route b {
  font-size: 14px;
}
.dm-log-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.dm-log-head a {
  color: var(--nx-gold);
  font-size: 12.5px;
  font-weight: 600;
}
.desk-monitor .nx-monitor-log li {
  align-items: baseline;
}
.desk-monitor .nx-monitor-log li span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.desk-monitor .nx-monitor-log li:last-child {
  color: inherit;
}
.dm-status {
  flex: 0 0 auto;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a1a1aa;
}
.dm-status.completed {
  color: #3ccf7f;
}
.dm-status.failed,
.dm-status.partial {
  color: #ff8a73;
}
.dm-status.processing,
.dm-status.queued {
  color: var(--nx-gold);
}
.dm-empty {
  color: #85858e;
}
.dm-foot {
  margin: 0;
  font: 500 10.5px var(--nd-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #6e6e76;
}
.desk-monitor[data-state=running] .nx-state {
  border-color: rgb(245 183 0 / .5);
  color: var(--nx-gold);
}
@media (max-width: 1100px) {
  body.dashboard-page .route-board {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "from" "to" "monitor";
  }
}
@media (max-width: 560px) {
  body.dashboard-page .route-board > .route-pane {
    padding: 20px 18px;
  }
  body.dashboard-page .route-board > .desk-monitor {
    padding: 18px;
  }
}
/* Desk preview on phones: long links and labels shrink instead of widening the page. */
.nx-desk-left,
.nx-desk-field .nd-mono {
  min-width: 0;
}
.nx-desk-label {
  flex-wrap: wrap;
}
/* The monitor fills its column: the log grows into the space below. */
body.dashboard-page .route-board > .desk-monitor {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.desk-monitor .nx-monitor-log {
  flex: 1 1 auto;
}
@media (max-width: 560px) {
  .desk-monitor .nx-monitor-tiles b {
    font-size: 12.5px;
  }
}
/* Tighter, even spacing between the desk's fields. */
body.dashboard-page .route-board .cloud-choice {
  margin-bottom: 6px;
}
body.dashboard-page .route-board > .route-pane > .field-label {
  margin-top: 14px;
}
body.dashboard-page .route-board .conflict-field {
  margin: 14px 0 0;
}
body.dashboard-page .route-board .review-summary {
  margin-top: 18px;
}
/* Single-column grids sized to the screen, so long links ellipsise instead of widening the page. */
.nx-desk-left,
.nx-monitor {
  grid-template-columns: minmax(0, 1fr);
}
/* =====================================================================
   Workspace dark mode: black surfaces, white text and gold highlights,
   easy on the eyes for long sessions. Only the signed-in app (index.html).
   ===================================================================== */
body.dashboard-page {
  --cc-bg: #111113;
  --cc-paper: #18181b;
  --cc-ink: #ededef;
  --cc-ink-soft: #d4d4d8;
  --cc-muted: #a1a1aa;
  --cc-faint: #85858e;
  --cc-line: #2a2a2f;
  --cc-line-strong: #3a3a41;
  --cc-accent-strong: #f5b700;
  --cc-accent-soft: rgb(245 183 0 / .12);
  --cc-night: #f5b700;
  --cc-night-2: #232327;
  --cc-night-3: #27272b;
  --cc-night-line: #3a3a41;
  --cc-shadow-sm: 0 1px 2px rgb(0 0 0 / .4);
  --cc-shadow: 0 1px 2px rgb(0 0 0 / .35), 0 14px 32px -14px rgb(0 0 0 / .7);
  --bg: #111113;
  --ink: #ededef;
  --muted: #a1a1aa;
  --line: #2a2a2f;
  background: #111113;
  color: #ededef;
  color-scheme: dark;
}
body.dashboard-page :is(h1, h2, h3, h4, strong, b, label, legend, summary, dt, th) {
  color: #ededef;
}
body.dashboard-page :is(p, small, li, dd, td, .field-hint, .note, .setup-small, .small-note) {
  color: #b4b4bb;
}
body.dashboard-page a {
  color: #f7c948;
}
body.dashboard-page .eyebrow {
  color: #f5b700;
}
/* Surfaces */
body.dashboard-page :is(.card, .workspace-allowance, .route-pane, .tab-panel .card, .stat-card, .quick-start, .cloud-summary, .recent-card, dialog, .connect-dialog, .plan-change-dialog) {
  background: #18181b;
  border-color: #2a2a2f;
  color: #ededef;
  box-shadow: 0 1px 0 rgb(255 255 255 / .02), 0 18px 40px -26px rgb(0 0 0 / .9);
}
body.dashboard-page .dashboard-topbar {
  background: rgb(13 13 11 / .86);
  border-bottom: 1px solid #222226;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
body.dashboard-page .dashboard-footer {
  background: transparent;
  border-top-color: #222226;
}
/* Fields */
body.dashboard-page :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea) {
  background: #0f0f12;
  border-color: #34343a;
  color: #ededef;
}
body.dashboard-page :is(input, textarea)::placeholder {
  color: #77777f;
}
body.dashboard-page :is(input, select, textarea):focus {
  border-color: #f5b700;
  box-shadow: 0 0 0 3px rgb(245 183 0 / .22);
}
body.dashboard-page select option {
  background: #18181b;
  color: #ededef;
}
/* Buttons */
body.dashboard-page :is(.button.secondary, .small-button, .button.ghost, .text-button) {
  background: #232327;
  border-color: #3a3a41;
  color: #ededef;
}
body.dashboard-page :is(.button.secondary, .small-button):hover {
  border-color: #f5b700;
  background: #27272b;
}
body.dashboard-page .button.primary {
  background: #f5b700;
  border-color: #f5b700;
  color: #0e0e0c;
}
body.dashboard-page .button.primary:hover {
  background: #ffc61a;
}
body.dashboard-page .button.primary :is(span, [data-icon]) {
  color: #0e0e0c;
}
body.dashboard-page .button:disabled,
body.dashboard-page .button[aria-disabled=true] {
  opacity: .45;
}
/* Sidebar: darkest surface, gold active item */
body.dashboard-page .sidebar {
  background: #0e0e10;
  border-right: 1px solid #232327;
  color: #d4d4d8;
}
body.dashboard-page .sidebar > .brand,
body.dashboard-page .sidebar-tip strong,
body.dashboard-page .profile-button {
  color: #ededef;
}
body.dashboard-page .workspace-label,
body.dashboard-page .sidebar-tip p,
body.dashboard-page .sidebar :is(p, small, .field-hint),
body.dashboard-page .profile-name small {
  color: #8f8f98;
}
body.dashboard-page .tiny-beta {
  background: rgb(245 183 0 / .12);
  border-color: rgb(245 183 0 / .35);
  color: #f5b700;
}
body.dashboard-page .sidebar .dash-nav a.tab-btn {
  color: #c4c4ca;
}
body.dashboard-page .sidebar .tab-btn > [data-icon] {
  color: #8f8f98;
}
body.dashboard-page .sidebar .tab-btn:hover {
  background: #1c1c20;
  color: #fff;
}
body.dashboard-page .sidebar .tab-btn:hover > [data-icon] {
  color: #ededef;
}
body.dashboard-page .sidebar .dash-nav a.tab-btn.active {
  background: #f5b700;
  color: #0e0e0c;
  box-shadow: 0 10px 24px -14px rgb(245 183 0 / .8);
}
body.dashboard-page .sidebar .tab-btn.active > [data-icon],
body.dashboard-page .sidebar .tab-btn.active .nav-plus {
  color: #0e0e0c;
}
body.dashboard-page .nav-count {
  background: #27272b;
  color: #d4d4d8;
}
body.dashboard-page .tab-btn.active .nav-count {
  background: rgb(14 14 12 / .16);
  color: #0e0e0c;
}
body.dashboard-page .nav-plus,
body.dashboard-page .sidebar-tip > span,
body.dashboard-page .sidebar-tip .text-link {
  color: #f5b700;
}
body.dashboard-page .nav-divider {
  background: #232327;
}
body.dashboard-page .sidebar-tip {
  background: #1d1d21;
  border-color: #2a2a2f;
  box-shadow: none;
}
body.dashboard-page .profile-button {
  border-top-color: #232327;
}
/* Source tiles and cloud chips */
body.dashboard-page .from-tile {
  background: #1b1a17;
  border-color: #34343a;
  color: #ededef;
}
body.dashboard-page .from-tile:hover {
  border-color: #5b5b65;
}
body.dashboard-page .from-tile[aria-pressed=true] {
  background: #f5b700;
  border-color: #f5b700;
  color: #0e0e0c;
  box-shadow: 0 12px 26px -16px rgb(245 183 0 / .8);
}
body.dashboard-page .from-tile[aria-pressed=true] :is(strong, small) {
  color: #0e0e0c;
}
body.dashboard-page .from-tile[aria-pressed=true] .from-tile-icon {
  background: rgb(14 14 12 / .14);
  color: #0e0e0c;
}
body.dashboard-page .from-tile-icon {
  background: #27272b;
  color: #ededef;
}
body.dashboard-page .from-tile-copy small {
  color: #a1a1aa;
}
body.dashboard-page .from-tile.add {
  background: transparent;
  border-style: dashed;
}
/* The desk card on a dark page */
body.dashboard-page .route-board {
  border-color: #2a2a2f;
  background: #18181b;
  box-shadow: 0 30px 60px -36px rgb(0 0 0 / .9);
}
body.dashboard-page .route-board > .route-pane {
  background: #18181b;
}
body.dashboard-page .route-board > .route-to {
  border-top-color: #2a2a2f;
}
body.dashboard-page .route-board > .desk-monitor {
  background: #0e0e10;
  border-left: 1px solid #2a2a2f;
}
body.dashboard-page .route-board .route-label {
  color: #f5b700;
}
/* Dark mode: the smaller pieces found by scanning every workspace screen. */
body.dashboard-page :is(.allowance-icon, .feature-icon, .empty-icon, .drop-icon, .file-symbol) {
  background: #27272b;
  color: #f5b700;
}
body.dashboard-page :is(.review-summary, .trust-callout, .account-info, .upload-note, .extension-example, .batch-review, .inline-help, .connection-help, .route-help, .link-guide) {
  background: #1d1d21;
  border-color: #2a2a2f;
  color: #d4d4d8;
}
body.dashboard-page .extension-example > div {
  background: #232327;
  border-color: #3a3a41;
  color: #f7c948;
}
body.dashboard-page :is(.quick-input-row, .copy-value) {
  background: #0f0f12;
  border-color: #3a3a41;
}
body.dashboard-page .quick-input-row input {
  background: transparent;
}
body.dashboard-page .mode-card {
  background: #18181b;
  border-color: #2a2a2f;
  color: #ededef;
}
body.dashboard-page .mode-card:hover {
  border-color: #f5b700;
}
body.dashboard-page .dropzone {
  background: #141417;
  border-color: #3a3a41;
}
body.dashboard-page .dropzone.dragging,
body.dashboard-page .dropzone:hover {
  border-color: #f5b700;
}
body.dashboard-page code {
  background: #27272b;
  color: #f7c948;
}
body.dashboard-page :is(.provider-status, .account-badge) {
  background: #27272b;
  color: #d4d4d8;
}
body.dashboard-page .planned-label.ready,
body.dashboard-page .check-state.ready {
  background: rgb(60 207 127 / .12);
  border-color: rgb(60 207 127 / .3);
  color: #5fe09a;
}
body.dashboard-page .check-state {
  background: rgb(245 183 0 / .12);
  border-color: rgb(245 183 0 / .3);
  color: #f7c948;
}
body.dashboard-page input[type=checkbox],
body.dashboard-page input[type=radio] {
  accent-color: #f5b700;
}
/* Messages */
body.dashboard-page .status.show,
body.dashboard-page .form-message {
  background: #232327;
  border-color: #3a3a41;
  color: #ededef;
}
body.dashboard-page .status.show.error,
body.dashboard-page .form-message.error {
  background: rgb(255 100 80 / .1);
  border-color: rgb(255 120 100 / .35);
  color: #ff9a85;
}
body.dashboard-page .status.show.success,
body.dashboard-page .form-message.success {
  background: rgb(60 207 127 / .1);
  border-color: rgb(60 207 127 / .3);
  color: #6be3a4;
}
/* Transfer states */
body.dashboard-page .status-pill {
  background: #27272b;
  border-color: #3a3a41;
  color: #d4d4d8;
}
body.dashboard-page .status-pill.completed {
  background: rgb(60 207 127 / .12);
  color: #5fe09a;
}
body.dashboard-page .status-pill:is(.failed, .cancelled) {
  background: rgb(255 100 80 / .12);
  color: #ff9a85;
}
body.dashboard-page .status-pill:is(.partial, .processing, .queued, .waiting) {
  background: rgb(245 183 0 / .12);
  color: #f7c948;
}
body.dashboard-page :is(.job, .history-item) {
  background: #18181b;
  border-color: #2a2a2f;
  color: #ededef;
}
body.dashboard-page .history-item {
  background: #1d1d21;
}
body.dashboard-page .job-recovery {
  background: rgb(245 183 0 / .08);
  border-color: rgb(245 183 0 / .3);
  color: #f7c948;
}
body.dashboard-page .job :is(span, small, p) {
  color: #b4b4bb;
}
/* Dark mode: dividers, borders and progress bars. */
body.dashboard-page :is(.recent-row, .form-actions, .account-card-top, .saved-cloud, .security-row, .session-row, .history-item, .usage-row, .section-card-heading, .card-heading, .account-card dl > div, .account-card dl div, .settings-row, hr) {
  border-color: #2a2a2f;
}
body.dashboard-page .saved-cloud {
  background: #1d1d21;
}
body.dashboard-page #tab-account :is(div, dl, section) {
  border-color: #2a2a2f;
}
body.dashboard-page progress {
  appearance: none;
  -webkit-appearance: none;
  height: 8px;
  border: 0;
  border-radius: 8px;
  background: #2a2a2f;
  overflow: hidden;
}
body.dashboard-page progress::-webkit-progress-bar {
  background: #2a2a2f;
  border-radius: 8px;
}
body.dashboard-page progress::-webkit-progress-value {
  background: #f5b700;
  border-radius: 8px;
}
body.dashboard-page progress::-moz-progress-bar {
  background: #f5b700;
  border-radius: 8px;
}
body.dashboard-page .history-item {
  padding: 12px 14px;
  border-radius: 12px;
}
/* Search and filter labels: icon and words on one line. */
body.dashboard-page #tab-history label[data-control-icon] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
}
body.dashboard-page input[type=checkbox] {
  background: #0f0f12;
  border-color: #3a3a41;
}
body.dashboard-page .usage-breakdown > div {
  background: #1d1d21;
  border-color: #2a2a2f;
}
/* Workspace footer: one tidy row, wrapping cleanly on phones. */
body.dashboard-page .dashboard-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  color: #8f8f98;
}
body.dashboard-page .dashboard-footer a {
  color: #b4b4bb;
}
body.dashboard-page .dashboard-footer a:hover {
  color: #f5b700;
}
@media (max-width: 720px) {
  body.dashboard-page .dashboard-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  body.dashboard-page .dashboard-footer > * {
    max-width: none;
    width: auto;
  }
}
/* How it works: four points under the numbers, in the dark band. */
.nx-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.nx-points article {
  padding: 22px;
  border: 1px solid #393733;
  border-radius: 20px;
  background: rgb(255 255 255 / .03);
}
.nx-point-icon,
.nx-way-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: rgb(245 183 0 / .14);
  color: var(--nx-gold);
}
.nx-point-icon svg,
.nx-way-icon svg {
  width: 20px;
  height: 20px;
}
.nx-points h3,
.nx-ways h3 {
  margin: 0;
  font: 650 18px/1.25 var(--nx-sans);
  letter-spacing: -.02em;
}
.nx-points p {
  margin: 8px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #cfcbc2;
}
/* Three ways in: white cards on the gold band. */
.nx-ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.nx-ways article {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgb(14 14 12 / .1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 50px -34px rgb(14 14 12 / .6);
}
.nx-ways .nx-way-icon {
  background: var(--nx-ink);
}
.nx-ways p {
  margin: 10px 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--nx-text);
}
.nx-ways .nd-link {
  margin-top: auto;
  color: var(--nx-ink);
  text-decoration: underline;
  text-decoration-color: var(--nx-gold-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.nx-gold-band .nx-head p:not(.nx-eyebrow) {
  color: #2f2a1a;
}
@media (max-width: 1020px) {
  .nx-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nx-ways {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .nx-points {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* =====================================================================
   Workspace: brighter, clearer words on the dark surfaces.
   ===================================================================== */
body.dashboard-page {
  --cc-muted: #c8c8ce;
  --cc-faint: #a8a8b0;
  --cc-ink-soft: #e4e4e7;
  --muted: #c8c8ce;
}
body.dashboard-page :is(p, small, li, dd, td, .field-hint, .note, .setup-small, .small-note, .route-note, .stats-caption, .quick-caption) {
  color: #d4d4d8;
}
body.dashboard-page :is(.page-heading p, .route-heading p) {
  color: #e4e4e7;
  font-size: 16px;
}
body.dashboard-page .field-label,
body.dashboard-page label {
  color: #ffffff;
  font-weight: 600;
}
body.dashboard-page :is(input, textarea)::placeholder {
  color: #9b9ba3;
}
body.dashboard-page .sidebar .dash-nav a.tab-btn {
  color: #ededef;
}
body.dashboard-page .sidebar .tab-btn > [data-icon] {
  color: #c8c8ce;
}
body.dashboard-page :is(.workspace-label, .sidebar-tip p, .profile-name small) ,
body.dashboard-page .sidebar :is(p, small, .field-hint) {
  color: #b4b4bb;
}
body.dashboard-page :is(.from-tile-copy small, .breadcrumb, .topbar-account) {
  color: #c8c8ce;
}
body.dashboard-page .dashboard-footer,
body.dashboard-page .dashboard-footer a {
  color: #c4c4ca;
}
/* The monitor's small labels and log, brighter too. */
.desk-monitor .nx-label,
.desk-monitor .nx-monitor-route small,
.desk-monitor .nx-monitor-tiles small,
.desk-monitor .dm-foot {
  color: #b4b4bb;
}
.desk-monitor .nx-monitor-head small,
.desk-monitor .nx-monitor-log ol,
.desk-monitor .dm-empty {
  color: #d9d9de;
}
.desk-monitor .nx-monitor-log time {
  color: #9b9ba3;
}
.desk-monitor .nx-monitor-head > b i {
  color: #b4b4bb;
}
.nx-dark-band .nx-head p:not(.nx-eyebrow) {
  color: #d9d9de;
}
.nx-dark-band .nx-lane .nd-mono,
.nx-dark-band .nx-facts span {
  color: #c8c8ce;
}
/* The last dim words in the workspace, measured against their backgrounds. */
body.dashboard-page :is(.usage-breakdown span, .drop-hint, .beta-tag) {
  color: #c8c8ce;
}
body.dashboard-page .usage-breakdown strong {
  color: #fff;
}
body.dashboard-page :is(.eyebrow, .route-board .route-label) {
  color: #f7c948;
}
body.dashboard-page :is(.provider-status, .account-badge) {
  color: #ededef;
}
body.dashboard-page #workspaceUsageNote,
body.dashboard-page .workspace-allowance p {
  color: #d4d4d8;
}
/* Dark mode: the link review box that appears after "Review links". */
body.dashboard-page .review-heading {
  background: #232327;
  border-color: #2a2a2f;
}
body.dashboard-page .review-file-icon {
  background: #27272b;
  color: #f5b700;
}
body.dashboard-page .review-status.ready {
  background: rgb(60 207 127 / .12);
  border-color: rgb(60 207 127 / .3);
  color: #6be3a4;
}
body.dashboard-page .review-status:is(.failed, .error, .blocked) {
  background: rgb(255 100 80 / .12);
  border-color: rgb(255 120 100 / .35);
  color: #ff9a85;
}
body.dashboard-page .review-status:is(.checking, .warning, .unknown) {
  background: rgb(245 183 0 / .12);
  border-color: rgb(245 183 0 / .3);
  color: #f7c948;
}
body.dashboard-page #reviewSummary {
  background: #1d1d21;
  border-color: #2a2a2f;
}
body.dashboard-page #reviewSummary[data-blocked="true"] {
  background: rgb(255 100 80 / .08);
  border-color: rgb(255 120 100 / .3);
}
/* The idle monitor line may wrap instead of being cut off. */
.desk-monitor .nx-monitor-head small {
  white-space: normal;
}
body.dashboard-page #reviewSummary[data-blocked="true"] strong {
  color: #ff9a85;
}
body.dashboard-page #batchReviewList > *,
body.dashboard-page .batch-review :is(.review-row, .review-item, .review-heading) {
  border-color: #2a2a2f;
}
/* Phones: tile titles wrap rather than being cut off. */
@media (max-width: 560px) {
  body.dashboard-page .from-tile-copy strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
/* Pricing cards: the price and "/ month" stay on one line, even for $29.99. */
.nd .pricing-price {
  white-space: nowrap;
}
.nd .pricing-price strong {
  font-size: clamp(40px, 3.7vw, 52px);
}
/* Purchase consent in the plan dialog. */
.plan-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 18px;
  padding: 12px 14px;
  border: 1px solid #3a3a41;
  border-radius: 12px;
  background: #1d1d21;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.5;
  color: #d9d9de !important;
  cursor: pointer;
}
.plan-consent[hidden] {
  display: none;
}
.plan-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #f5b700;
}
.trust-main p strong {
  color: var(--nx-ink);
}
/* The closing-band icon keeps its square shape whatever its width. */
.nx-orbit img {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
/* ---------- Billing tab ---------- */
body.dashboard-page .bill-current {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: radial-gradient(60% 80% at 100% 0%, rgb(245 183 0 / .14), transparent 70%), #18181b;
}
.bill-plan-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 6px 0 8px;
}
body.dashboard-page .bill-plan-line h2 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -.04em;
}
.bill-state {
  padding: 4px 11px;
  border: 1px solid #3a3a41;
  border-radius: 999px;
  font: 600 11px var(--nd-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #d4d4d8;
}
.bill-state[data-kind=ok] {
  border-color: rgb(60 207 127 / .4);
  background: rgb(60 207 127 / .12);
  color: #6be3a4;
}
.bill-state[data-kind=warn] {
  border-color: rgb(245 183 0 / .45);
  background: rgb(245 183 0 / .12);
  color: #f7c948;
}
.bill-state[data-kind=bad] {
  border-color: rgb(255 120 100 / .45);
  background: rgb(255 100 80 / .12);
  color: #ff9a85;
}
.bill-usage {
  padding: 20px;
  border: 1px solid #2a2a2f;
  border-radius: 18px;
  background: #0f0f12;
}
.bill-usage-label {
  font: 500 11px var(--nd-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b4b4bb;
}
body.dashboard-page .bill-usage-numbers {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
  color: #d4d4d8;
}
body.dashboard-page .bill-usage-numbers strong {
  font: 700 32px/1 var(--nx-sans);
  letter-spacing: -.04em;
  color: #fff;
}
.bill-bar {
  height: 10px;
  border-radius: 10px;
  background: #2a2a2f;
  overflow: hidden;
}
.bill-bar span {
  display: block;
  height: 100%;
  min-width: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, #e0a700, #f5b700);
  transition: width .3s ease;
}
.bill-bar[data-level=warn] span {
  background: linear-gradient(90deg, #f08a00, #ffb000);
}
.bill-bar[data-level=high] span {
  background: linear-gradient(90deg, #e2523e, #ff7a5c);
}
body.dashboard-page .bill-usage .field-hint {
  margin: 10px 0 0;
}
.bill-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}
.bill-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #2a2a2f;
  border-radius: 16px;
  background: #1d1d21;
}
.bill-step-num {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f5b700;
  color: #0e0e0c;
  font: 700 14px var(--nd-mono);
}
.bill-steps li > span:last-child {
  display: grid;
  gap: 3px;
}
body.dashboard-page .bill-steps strong {
  font-size: 14.5px;
}
body.dashboard-page .bill-steps small {
  font-size: 13px;
  color: #c4c4ca;
}
body.dashboard-page .bill-plans {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0;
}
body.dashboard-page .bill-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 26px 24px 24px;
  border-radius: 22px;
}
body.dashboard-page .bill-plan h2 {
  margin: 0;
  font-size: 20px;
}
body.dashboard-page .bill-note {
  margin: 0;
  font-size: 14px;
  color: #c4c4ca;
}
body.dashboard-page .bill-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 8px 0 0;
  white-space: nowrap;
}
body.dashboard-page .bill-price b {
  font: 700 40px/1 var(--nx-sans);
  letter-spacing: -.05em;
  color: #fff;
}
body.dashboard-page .bill-price span {
  font-size: 14px;
  color: #c4c4ca;
}
body.dashboard-page .bill-per-tb {
  font-size: 12.5px;
  color: #b4b4bb;
}
body.dashboard-page .bill-plan .pricing-allowance {
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #0f0f12;
  font: 500 14px var(--nd-mono);
  color: #fff;
}
.bill-features {
  display: grid;
  gap: 8px;
  margin: 6px 0 18px;
  padding: 0;
  list-style: none;
}
body.dashboard-page .bill-features li {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  color: #d4d4d8;
}
.bill-features li::before {
  content: "";
  flex: 0 0 11px;
  height: 6px;
  margin-top: 5px;
  border-left: 2px solid #f5b700;
  border-bottom: 2px solid #f5b700;
  transform: rotate(-45deg);
}
body.dashboard-page .bill-plan .button {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  border-radius: 999px;
}
body.dashboard-page .bill-plan.featured {
  border-color: rgb(245 183 0 / .55);
  background: radial-gradient(70% 50% at 100% 0%, rgb(245 183 0 / .16), transparent 70%), #1c1c20;
  box-shadow: 0 24px 50px -30px rgb(245 183 0 / .45);
}
body.dashboard-page .bill-plan .pricing-badge {
  position: absolute;
  top: -11px;
  left: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f5b700;
  color: #0e0e0c;
  font: 700 10.5px var(--nd-mono) !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.dashboard-page .bill-plan.current {
  border-color: #3ccf7f;
}
.bill-current-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgb(60 207 127 / .14);
  color: #6be3a4;
  font: 600 10.5px var(--nd-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.dashboard-page .bill-fineprint {
  margin: 14px 2px 22px;
  font-size: 13px;
  color: #b4b4bb;
}
body.dashboard-page #billingReceipts .security-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #2a2a2f;
}
@media (max-width: 900px) {
  body.dashboard-page .bill-current,
  .bill-steps {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Workspace start-up: shown until the account is loaded, instead of a blank page. */
.workspace-loading {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  background: #121212;
  color: #ededed;
  text-align: center;
}
.workspace-loading[hidden] {
  display: none;
}
.workspace-loading img {
  border-radius: 14px;
  box-shadow: 0 10px 30px -10px rgb(245 183 0 / .5);
}
.workspace-loading p {
  margin: 0;
  font-size: 15px;
  color: #ededed;
}
.workspace-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgb(255 255 255 / .15);
  border-top-color: #f5b700;
  border-radius: 50%;
  animation: workspace-spin .8s linear infinite;
}
.workspace-loading .form-message {
  max-width: 360px;
}
@keyframes workspace-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .workspace-spinner { animation-duration: 2.4s; }
}
/* =====================================================================
   Workspace, premium dark: layered neutral greys (no pure black), soft
   white text, gold kept for accents and the one main action per screen.
   ===================================================================== */
body.dashboard-page,
body.dashboard-page .dashboard-main {
  background: radial-gradient(900px 420px at 88% -12%, rgb(245 183 0 / .07), transparent 62%), #111113;
}
body.dashboard-page :is(.card, .workspace-allowance, .tab-panel .card, .stat-card, .quick-start, .cloud-summary, .recent-card, dialog, .connect-dialog, .plan-change-dialog) {
  border-color: #2a2a2f;
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .035), 0 20px 40px -30px rgb(0 0 0 / .9);
}
body.dashboard-page :is(h1, h2, h3) {
  color: #f4f4f5;
}
/* Page titles carry an icon badge. */
.page-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 0 14px;
  border: 1px solid rgb(245 183 0 / .28);
  border-radius: 11px;
  background: linear-gradient(180deg, rgb(245 183 0 / .16), rgb(245 183 0 / .06));
  color: #f5b700;
  --icon-size: 19px;
}
.page-heading > div > .page-icon + .eyebrow {
  display: block;
}
/* Sidebar: a quiet highlight and a gold marker for the open page. */
body.dashboard-page .sidebar {
  background: #0e0e10;
  border-right-color: #1f1f23;
}
body.dashboard-page .sidebar .dash-nav a.tab-btn {
  position: relative;
  color: #c8c8ce;
}
body.dashboard-page .sidebar .tab-btn > [data-icon] {
  color: #8f8f98;
}
body.dashboard-page .sidebar .tab-btn:hover {
  background: #18181b;
  color: #fafafa;
}
body.dashboard-page .sidebar .dash-nav a.tab-btn.active {
  background: linear-gradient(90deg, rgb(245 183 0 / .14), rgb(245 183 0 / .04));
  color: #fafafa;
  box-shadow: inset 0 0 0 1px rgb(245 183 0 / .22);
}
body.dashboard-page .sidebar .dash-nav a.tab-btn.active::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 3px;
  background: #f5b700;
}
body.dashboard-page .sidebar .tab-btn.active > [data-icon],
body.dashboard-page .sidebar .tab-btn.active .nav-plus {
  color: #f5b700;
}
body.dashboard-page .tab-btn.active .nav-count {
  background: rgb(245 183 0 / .16);
  color: #f7c948;
}
/* Source tiles: selected is a gold outline and tint, not a solid block. */
body.dashboard-page .from-tile {
  background: #1d1d21;
  border-color: #2e2e34;
  border-radius: 14px;
}
body.dashboard-page .from-tile:hover {
  border-color: #45454d;
  background: #222226;
}
body.dashboard-page .from-tile[aria-pressed=true] {
  background: linear-gradient(180deg, rgb(245 183 0 / .13), rgb(245 183 0 / .05));
  border-color: #f5b700;
  color: #fafafa;
  box-shadow: 0 0 0 3px rgb(245 183 0 / .12);
}
body.dashboard-page .from-tile[aria-pressed=true] :is(strong, small) {
  color: #fafafa;
}
body.dashboard-page .from-tile[aria-pressed=true] small {
  color: #d4d4d8;
}
body.dashboard-page .from-tile[aria-pressed=true] .from-tile-icon {
  background: #f5b700;
  color: #111113;
}
body.dashboard-page .from-tile-icon {
  background: #27272b;
  color: #e4e4e7;
}
/* Buttons */
body.dashboard-page .button.primary {
  background: linear-gradient(180deg, #f8c63a, #f2b100);
  border-color: #f2b100;
  color: #111113;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), 0 10px 24px -14px rgb(245 183 0 / .7);
}
body.dashboard-page .button.primary:hover {
  background: linear-gradient(180deg, #ffd257, #f5b700);
}
body.dashboard-page :is(.button.secondary, .small-button) {
  background: #1d1d21;
  border-color: #34343a;
  color: #ededef;
}
body.dashboard-page :is(.button.secondary, .small-button):hover {
  background: #232327;
  border-color: #5b5b65;
}
/* Fields */
body.dashboard-page :is(input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea) {
  background: #0f0f12;
  border-color: #2e2e34;
  border-radius: 11px;
}
/* Device uploads: one clear row per file. */
body.dashboard-page .file-list {
  display: grid;
  gap: 6px;
  margin: 14px 0 6px;
  padding: 0;
  border: 0;
  background: none;
  max-height: none;
}
body.dashboard-page .file-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  grid-template-areas: "tag info state" "tag bar bar";
  align-items: center;
  gap: 4px 12px;
  padding: 10px 14px 12px 10px;
  border: 1px solid #2a2a2f;
  border-radius: 12px;
  background: #1d1d21;
  color: #ededef;
}
.file-tag {
  grid-area: tag;
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: 9px;
  background: rgb(245 183 0 / .12);
  color: #f7c948;
  font: 700 10.5px var(--nd-mono);
  letter-spacing: .04em;
}
.file-info {
  grid-area: info;
  display: grid;
  min-width: 0;
}
body.dashboard-page .file-info strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #ededef;
}
body.dashboard-page .file-info small {
  font: 400 12px var(--nd-mono);
  color: #a1a1aa;
}
.file-state {
  grid-area: state;
  font: 600 11px var(--nd-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #a1a1aa;
}
.file-row[data-state=sending] .file-state {
  color: #f7c948;
}
.file-row[data-state=done] .file-state {
  color: #5fe09a;
}
.file-row[data-state=failed] .file-state {
  color: #ff9a85;
}
.file-bar {
  grid-area: bar;
  height: 4px;
  border-radius: 4px;
  background: #2a2a2f;
  overflow: hidden;
}
.file-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: #f5b700;
  transition: width .25s ease;
}
.file-row[data-state=done] .file-bar span {
  background: #3ccf7f;
}
.file-row[data-state=failed] .file-bar span {
  background: #ff7a5c;
}
body.dashboard-page .file-more {
  margin: 4px 2px 0;
  font-size: 13px;
  color: #a1a1aa;
}
body.dashboard-page #localProgress {
  font: 500 13px var(--nd-mono);
  color: #f7c948;
}
/* Slightly lifted cards so sections read clearly against the page. */
body.dashboard-page,
body.dashboard-page .dashboard-main {
  background: radial-gradient(900px 420px at 88% -12%, rgb(245 183 0 / .07), transparent 62%), #0f0f11;
}
body.dashboard-page :is(.card, .workspace-allowance, .route-board, .route-board > .route-pane) {
  background-color: #19191d;
}
body.dashboard-page .route-board > .desk-monitor {
  background: #0c0c0e;
}
/* Page titles: the icon sits beside the eyebrow and heading. */
body.dashboard-page .page-heading > div:first-child:has(> .page-icon) {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 4px;
  align-items: start;
}
body.dashboard-page .page-heading > div:first-child > .page-icon {
  grid-row: 1 / span 3;
  width: 44px;
  height: 44px;
  margin: 2px 0 0;
  border-radius: 12px;
  --icon-size: 21px;
}
body.dashboard-page .page-heading > div:first-child > :not(.page-icon) {
  grid-column: 2;
}
/* Transfer history: every file row gets a file icon. */
body.dashboard-page .history-item {
  position: relative;
  padding-left: 48px;
}
body.dashboard-page .history-item::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 6px;
  background: #f5b700;
  -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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E") center / 20px no-repeat;
  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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 2v6h6'/%3E%3C/svg%3E") center / 20px no-repeat;
}
/* The usage meter is visible even at 0%. */
body.dashboard-page .allowance-meter,
body.dashboard-page #workspaceUsageProgress {
  background: #2a2a2f;
}
/* =====================================================================
   Login and sign-up: one centred card, like the best SaaS sign-ins.
   ===================================================================== */
body.nd-auth {
  display: block;
  background: var(--nx-paper);
}
body.nd-auth .nd-auth-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 22px clamp(18px, 4vw, 48px) 28px;
  overflow: hidden;
  background:
    radial-gradient(640px 420px at 50% 0%, rgb(245 183 0 / .22), transparent 70%),
    linear-gradient(to right, rgb(14 14 12 / .04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(to bottom, rgb(14 14 12 / .04) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--nx-paper);
}
body.nd-auth .nd-auth-top {
  align-items: center;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}
body.nd-auth .nd-auth-top .nd-brand {
  color: var(--nx-ink);
  font-size: 19px;
}
body.nd-auth .nd-auth-top .nd-brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 6px 16px -8px rgb(196 138 0 / .7);
}
.nd-auth-help {
  padding: 8px 14px;
  border: 1px solid var(--nx-line);
  border-radius: 999px;
  background: rgb(255 255 255 / .7);
  font-weight: 500;
}
body.nd-auth .nd-auth-center {
  padding-block: 28px 18px;
}
body.nd-auth .nd-auth-box {
  max-width: 440px;
  padding: 34px 34px 28px;
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 1px 0 rgb(14 14 12 / .04), 0 40px 80px -40px rgb(14 14 12 / .45);
}
body.nd-auth .nd-auth-box h1 {
  font-size: 34px;
  letter-spacing: -.04em;
  text-align: center;
}
body.nd-auth .auth-description {
  text-align: center;
  color: var(--nx-text);
}
body.nd-auth .nd-tabs {
  margin-bottom: 24px;
}
body.nd-auth .nd-social {
  display: grid;
  gap: 10px;
}
body.nd-auth .google-button {
  min-height: 48px;
  justify-content: center;
  border-radius: 12px;
  font-weight: 600;
}
body.nd-auth #passkeySignin {
  min-height: 44px;
  border-radius: 12px;
}
body.nd-auth .google-permission-note {
  text-align: center;
}
body.nd-auth :is(input:not([type=checkbox])) {
  min-height: 48px;
  border-radius: 12px;
}
body.nd-auth .auth-submit {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
}
body.nd-auth .auth-switch,
body.nd-auth .auth-assurance {
  text-align: center;
  justify-content: center;
}
.nd-auth-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0 auto 18px;
  padding: 0;
  list-style: none;
  font: 500 11px var(--nd-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--nx-muted);
}
.nd-auth-points li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 6px;
  margin-right: 8px;
  border-left: 2px solid var(--nx-gold-deep);
  border-bottom: 2px solid var(--nx-gold-deep);
  transform: translateY(-3px) rotate(-45deg);
}
body.nd-auth .nd-auth-foot {
  justify-content: center;
}
@media (max-width: 520px) {
  body.nd-auth .nd-auth-box {
    padding: 26px 20px 22px;
    border-radius: 20px;
  }
  body.nd-auth .nd-auth-box h1 {
    font-size: 28px;
  }
}
body.nd-auth .nd-social {
  grid-template-columns: minmax(0, 1fr);
}
/* Transfer speed: live speed and time left as small chips on each running transfer. */
body.dashboard-page .job-telemetry {
  align-items: center;
  gap: 8px 10px;
}
body.dashboard-page .job-telemetry .job-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid #34343a;
  background: #232327;
  color: #c8c8ce;
  font-size: 12.5px;
  --icon-size: 15px;
}
body.dashboard-page .job-telemetry .job-speed {
  border-color: rgb(245 183 0 / .38);
  background: rgb(245 183 0 / .09);
  color: #f7c948;
  font-weight: 600;
}
body.dashboard-page .job-telemetry .job-speed:is(.waiting, .done) {
  border-color: #34343a;
  background: #232327;
  color: #c8c8ce;
  font-weight: 500;
}
/* =====================================================================
   Home: security and privacy, a dark band. Every badge states something
   true; no certification seals the service does not hold.
   ===================================================================== */
.nx-secure-band {
  position: relative;
  overflow: hidden;
  color: #f0efe9;
  background:
    radial-gradient(40% 60% at 50% 0, rgb(245 183 0 / .14), transparent 70%),
    radial-gradient(30% 40% at 100% 100%, rgb(0 51 153 / .16), transparent 70%),
    #0c0c0b;
}
.nx-secure-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgb(255 255 255 / .06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.nx-secure-band .nd-wrap { position: relative; }
.nx-secure-band .nx-head h2 { color: #fff; }
.nx-secure-band .nx-head p:not(.nx-eyebrow) { color: #c9c6bc; }
.nx-secure-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 52px;
}
.nx-secure-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1a1917, #121210);
  border: 1px solid #2a2925;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .05), 0 30px 60px -40px rgb(0 0 0 / .8);
  transition: border-color .3s ease, transform .3s ease;
}
.nx-secure-card:hover {
  border-color: rgb(245 183 0 / .4);
  transform: translateY(-4px);
}
.nx-secure-card h3 {
  margin: 26px 0 10px;
  font-size: 22px;
  letter-spacing: -.02em;
  color: #fff;
}
.nx-secure-card p {
  margin: 0;
  color: #bdb9ae;
  line-height: 1.6;
}
.nx-secure-art {
  position: relative;
  height: 330px;
  border-radius: 16px;
  background: radial-gradient(60% 55% at 50% 50%, rgb(245 183 0 / .09), transparent 75%), #0f0f0e;
  border: 1px solid #22211d;
  overflow: hidden;
}
/* Link → Neophron → your cloud, with a gold packet running down the line. */
.nx-route-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.nx-route-node {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 260px);
  padding: 11px 14px;
  border-radius: 14px;
  background: #1b1a17;
  border: 1px solid #2f2d28;
}
.nx-route-node span:not(.nx-route-icon) { flex: 1; min-width: 0; }
.nx-route-node b { display: block; font-size: 14px; color: #fff; }
.nx-route-node small { display: block; font-size: 12px; color: #a9a59a; }
.nx-route-node.hub {
  border-color: rgb(245 183 0 / .6);
  background: linear-gradient(180deg, #24211a, #171612);
  box-shadow: 0 0 0 4px rgb(245 183 0 / .06), 0 12px 30px -12px rgb(245 183 0 / .35);
}
.nx-route-node.hub small { color: var(--nx-gold); }
.nx-route-node.hub em {
  font-style: normal;
  font-size: 10.5px;
  padding: 3px 7px;
  border-radius: 6px;
  color: #141412;
  background: var(--nx-gold);
}
.nx-route-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #232220;
  border: 1px solid #34322d;
  color: #ece8dc;
}
.nx-route-icon svg { width: 19px; height: 19px; stroke-width: 1.7; }
.nx-route-icon img { width: 28px; height: auto; aspect-ratio: 1 / 1; border-radius: 7px; }
.nx-route-icon.clouds { flex-basis: auto; width: auto; display: flex; background: transparent; border: 0; }
.nx-route-icon.clouds img {
  width: 22px;
  margin-left: -7px;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
}
.nx-route-icon.clouds img:first-child { margin-left: 0; }
.nx-route-pipe {
  position: relative;
  width: 2px;
  height: 44px;
  background: repeating-linear-gradient(180deg, rgb(245 183 0 / .5) 0 5px, transparent 5px 10px);
}
.nx-route-pipe::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  border-radius: 50%;
  background: var(--nx-gold);
  box-shadow: 0 0 6px rgb(245 183 0 / .6);
  animation: nx-packet 1.8s ease-in infinite;
}
.nx-route-pipe.late::after { animation-delay: .9s; }
@keyframes nx-packet {
  0% { top: -4px; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { top: calc(100% - 3px); opacity: 0; }
}
.nx-route-lock {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0f0f0e;
  border: 1px solid rgb(245 183 0 / .6);
  color: var(--nx-gold);
}
.nx-route-lock svg { width: 12px; height: 12px; }
/* The privacy controls as they appear in My account. */
.nx-rights-art {
  display: grid;
  place-items: center;
  padding: 18px;
}
.nx-rights-panel {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #2f2d28;
  background: #1b1a17;
  box-shadow: 0 24px 40px -24px rgb(0 0 0 / .9);
}
.nx-rights-head, .nx-rights-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
}
.nx-rights-head {
  background: #22201b;
  border-bottom: 1px solid #2f2d28;
}
.nx-rights-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--nx-gold);
  border: 1px solid rgb(245 183 0 / .45);
  background: rgb(245 183 0 / .06);
}
.nx-rights-icon svg { width: 15px; height: 15px; stroke-width: 1.7; }
.nx-rights-head b { font-size: 14px; color: #fff; }
.nx-rights-head small { margin-left: auto; font-size: 12px; color: #a9a59a; }
.nx-rights-row + .nx-rights-row { border-top: 1px solid #2a2925; }
.nx-rights-row span { flex: 1; min-width: 0; }
.nx-rights-row b { display: block; font-size: 13.5px; color: #f0efe9; }
.nx-rights-row small { display: block; font-size: 12px; color: #a9a59a; }
.nx-rights-row em {
  font-style: normal;
  font-size: 12px;
  font-weight: 650;
  padding: 6px 11px;
  border-radius: 9px;
  border: 1px solid #3a3832;
  color: #f0efe9;
  white-space: nowrap;
}
.nx-rights-row em.danger {
  color: #ffb4a8;
  border-color: rgb(255 120 100 / .35);
  background: rgb(255 100 80 / .1);
}
.nx-secure-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  margin: 30px 0 0;
  font: 500 11.5px/1.4 var(--nd-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #bdb9ae;
}
.nx-secure-foot span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--nx-gold);
  font-weight: 700;
}
@media (max-width: 420px) {
  .nx-secure-card { padding: 18px; }
  .nx-secure-art { height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-route-pipe::after { animation: none; }
  .nx-secure-card, .nx-shield-card, .nx-shield-tile { transition: none; }
}
/* The picture panels are light so the dark badges, route and privacy panel stand out. */
.nx-secure-band .nx-secure-art {
  border: 0;
  background:
    radial-gradient(rgb(14 14 12 / .08) 1px, transparent 1px) 0 0 / 18px 18px,
    var(--nx-art-bg);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), inset 0 0 0 1px rgb(14 14 12 / .06);
}
.nx-secure-band .nx-route-node:not(.hub),
.nx-secure-band .nx-rights-panel { box-shadow: 0 16px 30px -18px rgb(14 14 12 / .6); }
.nx-secure-band .nx-route-pipe { background: repeating-linear-gradient(180deg, rgb(14 14 12 / .55) 0 5px, transparent 5px 10px); }
.nx-secure-band .nx-route-lock { box-shadow: 0 0 0 4px var(--nx-art-edge); }


/* White picture panels; for gold, use: linear-gradient(160deg, #ffd65a, #f5b700 60%, #e9a900) and #f5b700. */
.nx-secure-band {
  --nx-art-bg: linear-gradient(160deg, #ffffff, #f3f1ea);
  --nx-art-edge: #f6f4ee;
}
.nx-secure-band .nx-route-pipe::after {
  background: var(--nx-gold);
  box-shadow: 0 0 0 2px #141412;
}
/* =====================================================================
   Security panel: a dark frame with a gold title and four raised cream
   cards, each with a glowing icon tile, a bold title and one line.
   ===================================================================== */
.nx-secure-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}
@media (max-width: 860px) {
  .nx-secure-grid.two { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
.nx-shield-panel {
  margin-top: 52px;
  padding: 0 22px 26px;
  border-radius: 28px;
  background: linear-gradient(180deg, #1c1b18, #121210);
  border: 1px solid #2c2a25;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 40px 80px -50px rgb(0 0 0 / .9);
}
.nx-shield-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 0 20px;
  margin: 0 -22px 26px;
  border-bottom: 1px solid #2c2a25;
  background: radial-gradient(50% 120% at 50% 0, rgb(245 183 0 / .16), transparent 70%);
  border-radius: 28px 28px 0 0;
}
.nx-shield-head svg {
  width: 26px;
  height: 26px;
  color: #f5c94a;
}
.nx-shield-head h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -.02em;
  background: linear-gradient(180deg, #ffe08a, #f5b700 55%, #d99c00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nx-shield-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.nx-shield-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 20px 26px;
  border-radius: 22px;
  background:
    radial-gradient(rgb(14 14 12 / .07) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(180deg, #fffdf8, #f4efe3);
  border: 1px solid rgb(255 255 255 / .7);
  /* The raised edge underneath, like a slab. */
  box-shadow:
    inset 0 1px 0 #fff,
    0 6px 0 #d6ccb4,
    0 7px 0 rgb(0 0 0 / .25),
    0 28px 40px -20px rgb(0 0 0 / .8);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease;
}
.nx-shield-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 #fff,
    0 10px 0 #d6ccb4,
    0 11px 0 rgb(0 0 0 / .25),
    0 36px 44px -20px rgb(0 0 0 / .85);
}
.nx-shield-tile {
  width: 136px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: linear-gradient(180deg, #ffffff, #f8f5ee);
  border: 1px solid rgb(245 183 0 / .3);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 0 rgb(14 14 12 / .04),
    0 0 0 5px rgb(245 183 0 / .08),
    0 0 30px rgb(245 183 0 / .4),
    0 14px 24px -12px rgb(14 14 12 / .35);
  transition: box-shadow .3s ease, border-color .3s ease;
}
.nx-shield-card:hover .nx-shield-tile {
  border-color: rgb(245 183 0 / .6);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -2px 0 rgb(14 14 12 / .04),
    0 0 0 6px rgb(245 183 0 / .12),
    0 0 40px rgb(245 183 0 / .55),
    0 18px 28px -12px rgb(14 14 12 / .4);
}
.nx-shield-tile svg { width: 86px; height: 86px; }
.nx-shield-tile.flag svg { width: 78px; height: auto; aspect-ratio: 52 / 36; filter: drop-shadow(0 3px 4px rgb(0 0 40 / .25)); }
.nx-shield-tile .ico {
  fill: none;
  stroke: #8f5f00;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nx-shield-tile .ico .gap { stroke: #fdfbf6; stroke-width: 4.5; }
.nx-shield-card h4 {
  margin: 24px 0 8px;
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.02em;
  color: #141412;
}
.nx-shield-card p {
  margin: 0;
  max-width: 230px;
  font-size: 14.5px;
  line-height: 1.5;
  color: #57534a;
}
@media (max-width: 1100px) {
  .nx-shield-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .nx-shield-panel { padding: 0 12px 18px; border-radius: 22px; }
  .nx-shield-head { margin: 0 -12px 18px; padding: 18px 0 16px; border-radius: 22px 22px 0 0; }
  .nx-shield-grid { gap: 12px; }
  .nx-shield-card { padding: 18px 10px 18px; border-radius: 18px; }
  .nx-shield-tile { width: 96px; height: 66px; border-radius: 20px; }
  .nx-shield-tile svg { width: 60px; height: 60px; }
  .nx-shield-tile.flag svg { width: 56px; }
  .nx-shield-card h4 { margin-top: 16px; font-size: 15.5px; }
  .nx-shield-card p { font-size: 12.5px; }
}
