:root {
  color-scheme: dark;
  --bg: #070a12;
  --panel: rgba(255, 255, 255, 0.075);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --muted: #9aa8bd;
  --text: #f6f8ff;
  --blue: #4f8cff;
  --cyan: #22d3ee;
  --green: #41e18c;
  --yellow: #ffd36e;
  --red: #ff5c7a;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(79, 140, 255, 0.24),
      transparent 28rem
    ),
    radial-gradient(
      circle at 85% 5%,
      rgba(34, 211, 238, 0.18),
      transparent 24rem
    ),
    linear-gradient(180deg, #070a12, #0a1020 42%, #070a12);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
input,
select {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff1;
  color: var(--text);
  padding: 0 14px;
  outline: none;
}
select {
  appearance: none;
}
select:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}
input:focus,
select:focus {
  border-color: #22d3eea6;
}
.landing {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 10px;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.topbar nav .linkBtn,
.topbar nav .smallPrimary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.topbar nav .linkBtn {
  padding: 0 6px;
}
.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 42px;
  align-items: center;
  min-height: 720px;
  padding: 46px 0 62px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(65, 225, 140, 0.34);
  border-radius: 999px;
  background: #41e18c17;
  color: #b9ffd7;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 22px;
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  animation: pulse 1.3s infinite;
}
h1 {
  margin: 0;
  font-size: clamp(38px, 5.7vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}
h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #fff, #9cc3ff 38%, #72f1ff 72%, #fff);
  -webkit-background-clip: text;
  background-clip: text;
}
.lead {
  margin: 22px 0 0;
  max-width: 650px;
  color: #c8d4e8;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.55;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.primary,
.ghost,
.smallPrimary,
.linkBtn {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 900;
}
.primary,
.ghost,
.smallPrimary,
.downloadLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.primary,
.smallPrimary {
  background: linear-gradient(135deg, #f5fbff, #8fefff);
  color: #07101c;
  border-color: transparent;
}
.ghost {
  background: #ffffff12;
  color: var(--text);
}
.dangerGhost {
  border-color: #ff5c7a52;
  color: #ffd6df;
  background: #ff5c7a14;
}
.linkBtn {
  background: transparent;
  color: var(--muted);
  border-color: transparent;
  padding: 0;
}
.smallPrimary {
  min-height: 38px;
  padding: 0 14px;
}
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.proof div,
.mock,
.card,
.step,
.panel,
.stat,
.authCard {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff17, #ffffff0b);
  box-shadow: var(--shadow);
}
.proof div {
  padding: 16px;
  border-radius: 18px;
}
.proof b {
  display: block;
  font-size: 24px;
  letter-spacing: -0.04em;
}
.proof span {
  color: var(--muted);
  font-size: 12px;
}
.mock {
  border-radius: 30px;
  padding: 18px;
  transform: perspective(1200px) rotateY(-7deg) rotateX(4deg);
}
.mockTop {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 14px;
}
.mockTop span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.mockTop span:nth-child(2) {
  background: #ffbd2e;
}
.mockTop span:nth-child(3) {
  background: #28c840;
}
.mockTop b {
  margin-left: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ff5c7a26;
  color: #ffd6df;
  font-size: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.metrics div,
.orderLine {
  padding: 14px;
  border-radius: 18px;
  background: #fff1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.metrics small,
.orderLine small {
  color: var(--muted);
  display: block;
}
.metrics b {
  font-size: 20px;
}
.green {
  color: var(--green);
}
.orderLine {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.orderLine em {
  align-self: center;
  border-radius: 999px;
  padding: 6px 9px;
  background: #ffd36e21;
  color: #ffe8a8;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}
.orderLine em.red {
  background: #ff5c7a21;
  color: #ffd6df;
}
.orderLine em.green {
  background: #41e18c21;
  color: #caffdf;
}
section {
  padding: 74px 0;
}
.sectionHead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.sectionHead p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.featureGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  min-height: 220px;
  padding: 24px;
  border-radius: 28px;
}
.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #ffffff1a;
  margin-bottom: 18px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}
.card p,
.step p {
  color: #b9c6da;
  line-height: 1.55;
  margin: 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.step {
  padding: 18px;
  border-radius: 22px;
}
.step b {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  margin-right: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #07101c;
}
.step span {
  font-weight: 900;
}
.step p {
  margin-top: 12px;
}
.siteFooter {
  display: grid;
  grid-template-columns: 1.2fr auto auto;
  gap: 28px;
  align-items: start;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.siteFooter p {
  max-width: 380px;
  margin: 14px 0 0;
  line-height: 1.55;
}
.footerLinks,
.footerMeta {
  display: grid;
  gap: 10px;
}
.footerLinks a,
.footerLinks button {
  color: #dfe8f7;
  font-weight: 800;
  text-align: left;
}
.footerMeta b {
  color: var(--text);
}
.footerMeta span {
  margin-top: -6px;
}
.authPage,
.center {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-content: center;
  gap: 18px;
  padding: 24px;
  overflow: hidden;
}
.authPage:before,
.authPage:after {
  content: "";
  position: fixed;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.55;
  filter: blur(0);
}
.authPage:before {
  width: 520px;
  height: 520px;
  left: max(28px, calc(50vw - 760px));
  top: 14vh;
  background:
    radial-gradient(
      circle at 35% 35%,
      rgba(65, 225, 140, 0.28),
      transparent 36%
    ),
    conic-gradient(
      from 120deg,
      rgba(34, 211, 238, 0.08),
      rgba(79, 140, 255, 0.2),
      transparent,
      rgba(65, 225, 140, 0.12)
    );
  animation: authFloat 9s ease-in-out infinite;
}
.authPage:after {
  width: 380px;
  height: 380px;
  right: max(40px, calc(50vw - 720px));
  bottom: 10vh;
  background:
    radial-gradient(
      circle at 45% 45%,
      rgba(34, 211, 238, 0.24),
      transparent 40%
    ),
    linear-gradient(135deg, #4f8cff2e, #41e18c14);
  animation: authFloat 11s ease-in-out infinite reverse;
}
.authPage > .brand,
.authTop,
.authCard {
  position: relative;
  z-index: 1;
}
.authTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.authBackLink {
  min-height: 40px;
  padding: 0 14px;
  white-space: nowrap;
}
.authCard {
  width: min(520px, calc(100vw - 32px));
  padding: 28px;
  border-radius: 28px;
  display: grid;
  gap: 12px;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.authCard h1 {
  font-size: 36px;
}
.authChoiceBlock {
  display: grid;
  gap: 10px;
}
.authChoiceBlock > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.authMarketplaceGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.authMarketplaceGrid label {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  background: #ffffff0e;
  cursor: pointer;
}
.authMarketplaceGrid label.active {
  border-color: #41e18c5c;
  background: #41e18c1a;
}
.authMarketplaceGrid input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--green);
}
.authMarketplaceGrid b {
  font-size: 13px;
}
@keyframes authFloat {
  0%,
  to {
    transform: translateZ(0) rotate(0) scale(1);
  }
  50% {
    transform: translate3d(18px, -22px, 0) rotate(12deg) scale(1.04);
  }
}
@media (max-width: 900px) {
  .authPage:before,
  .authPage:after {
    display: none;
  }
  .authMarketplaceGrid {
    grid-template-columns: 1fr;
  }
}
.error,
.warning,
.success {
  border-radius: 16px;
  padding: 13px 14px;
  margin: 10px 0;
}
.error {
  background: #ff5c7a24;
  color: #ffd6df;
  border: 1px solid rgba(255, 92, 122, 0.32);
}
.warning {
  background: #ffd36e21;
  color: #ffe8a8;
  border: 1px solid rgba(255, 211, 110, 0.32);
}
.success {
  background: #41e18c21;
  color: #caffdf;
  border: 1px solid rgba(65, 225, 140, 0.3);
}
.feedbackAnchor {
  scroll-margin-top: 18px;
}
.stickyError {
  position: sticky;
  top: 12px;
  z-index: 10;
  box-shadow: 0 18px 50px #ff5c7a2e;
}
.stickyError p {
  margin: 6px 0 0;
}
.modalBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #040b189e;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.errorModal {
  width: min(480px, 100%);
  border: 1px solid rgba(255, 92, 122, 0.35);
  border-radius: 24px;
  padding: 24px;
  background: #101827;
  box-shadow: 0 28px 80px #0000006b;
}
.errorModal h3 {
  margin: 0 0 10px;
}
.errorModal p {
  margin: 0 0 18px;
  color: #ffb4c0;
  line-height: 1.55;
}
.descriptionModal {
  width: min(760px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 24px;
  background: #101827;
  box-shadow: 0 28px 80px #0000006b;
}
.descriptionModal h3 {
  margin: 0 0 8px;
}
.descriptionModal textarea {
  width: 100%;
  min-height: 260px;
  resize: vertical;
  margin-top: 12px;
}
.parserPage {
  display: grid;
  gap: 14px;
}
.parserChecks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.parserActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.compactInput {
  max-width: 360px;
}
.parserStatus {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.parserStatus > div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.parserStatus b {
  color: #f6f8ff;
}
.parserStatus span {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.parserResults {
  display: grid;
  gap: 10px;
}
.parserResults h3 {
  margin: 0;
}
.modalActions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 14px;
}
.appShell {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
  transition: grid-template-columns 0.2s ease;
}
.appShell.menuCollapsed {
  grid-template-columns: 92px 1fr;
}
aside {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px;
  border-right: 1px solid var(--line);
  background: #070a12d1;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sideTop {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
aside .brand {
  min-width: 0;
  flex: 1;
}
.sideNav {
  display: grid;
  gap: 10px;
}
.sideNavBottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sideNavLabel {
  padding: 0 12px 2px;
  color: #9aa8bdb8;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
aside button {
  text-align: left;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
  font-weight: 800;
}
.sideNav button,
.logoutBtn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.navIcon {
  width: 24px;
  min-width: 24px;
  height: 24px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff12;
  color: #dce8ff;
  font-weight: 900;
}
.navText {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.collapseBtn {
  width: 38px;
  min-width: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.logoutBtn {
  margin-top: 0;
}
aside button.active,
aside button:hover {
  color: var(--text);
  background: #ffffff13;
  border-color: var(--line);
}
.menuCollapsed aside {
  padding: 18px 14px;
}
.menuCollapsed aside .brandText,
.menuCollapsed .navText {
  display: none;
}
.menuCollapsed aside .brand {
  justify-content: center;
}
.menuCollapsed .sideTop {
  display: grid;
  justify-items: center;
}
.menuCollapsed .sideNav button,
.menuCollapsed .logoutBtn {
  justify-content: center;
  padding: 0;
  width: 44px;
  min-height: 44px;
}
.menuCollapsed .logoutBtn {
  align-self: center;
}
.menuCollapsed .sideNav {
  justify-items: center;
}
.menuCollapsed .sideNavBottom {
  padding-top: 10px;
}
.menuCollapsed .sideNavLabel {
  display: none;
}
.menuCollapsed .brandMark {
  width: 48px;
  height: 48px;
}
.workspace {
  padding: 24px;
  width: min(1380px, 100%);
}
.workspaceTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.workspaceTop h1 {
  font-size: 42px;
}
.workspaceTop p,
.muted {
  color: var(--muted);
}
.panel {
  border-radius: 26px;
  padding: 22px;
  margin-bottom: 16px;
}
.panel h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.statGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 16px;
}
.stat {
  border-radius: 22px;
  padding: 18px;
}
.stat span {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.stat b {
  font-size: 28px;
}
.compact .stat b {
  font-size: 20px;
}
.statusRows p {
  color: #c8d4e8;
}
.setupPage {
  display: grid;
  gap: 16px;
}
.setupIntro {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: start;
}
.setupIntro p {
  color: #c8d4e8;
  line-height: 1.6;
  margin: 10px 0 0;
}
.formulaCard {
  padding: 18px;
  border-radius: 20px;
  background: #41e18c1a;
  border: 1px solid rgba(65, 225, 140, 0.28);
}
.formulaCard span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.formulaCard b {
  display: block;
  line-height: 1.35;
  font-size: 18px;
}
.formulaCard p {
  color: #b9c6da;
  font-size: 14px;
}
.setupHubHero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 84% 16%,
      rgba(65, 225, 140, 0.16),
      transparent 18rem
    ),
    radial-gradient(
      circle at 18% 10%,
      rgba(34, 211, 238, 0.16),
      transparent 20rem
    ),
    linear-gradient(135deg, #ffffff1a, #ffffff0b);
}
.setupHubHero:after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(143, 239, 255, 0.18);
  box-shadow: inset 0 0 50px #22d3ee14;
}
.setupHubGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.setupHubCard {
  position: relative;
  min-height: 250px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(145deg, #ffffff17, #ffffff0a),
    radial-gradient(
      circle at 15% 15%,
      rgba(34, 211, 238, 0.12),
      transparent 11rem
    );
  box-shadow: 0 24px 70px #0000003d;
  display: grid;
  align-content: start;
  gap: 14px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}
.setupHubCard:hover {
  transform: translateY(-3px);
  border-color: #8fefff52;
  background:
    linear-gradient(145deg, #ffffff1f, #ffffff0d),
    radial-gradient(
      circle at 15% 15%,
      rgba(34, 211, 238, 0.18),
      transparent 12rem
    );
}
.setupHubCard:after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -62px;
  width: 160px;
  height: 160px;
  border-radius: 44px;
  background: linear-gradient(135deg, #4f8cff2e, #22d3ee12);
  transform: rotate(16deg);
}
.setupHubCard.ok {
  border-color: #41e18c38;
}
.setupHubCard.warn {
  border-color: #ffd36e33;
}
.setupHubCard.bad {
  border-color: #ff5c7a47;
}
.setupHubTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.setupHubTop > span {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4f8cffe6, #22d3eee6);
  color: #07101c;
  font-weight: 950;
}
.setupHubCard h2 {
  position: relative;
  z-index: 1;
  margin: 4px 0 0;
  font-size: 25px;
}
.setupHubCard p {
  position: relative;
  z-index: 1;
  color: #d9e5f7;
  line-height: 1.5;
  margin: 0;
}
.setupHubCard small {
  position: relative;
  z-index: 1;
  color: var(--muted);
  line-height: 1.45;
}
.setupHubActions {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
}
.setupHubActions span,
.setupHubActions a {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #8fefff1c;
  border: 1px solid rgba(143, 239, 255, 0.2);
  color: #eafaff;
  font-weight: 900;
}
.setupHubActions:after {
  content: "→";
  color: #8fefff;
  font-size: 22px;
  font-weight: 900;
}
.setupHubActions a {
  background: #ffffff0f;
  color: var(--text);
}
.setupQuickLinks {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.setupQuickLinks h2 {
  margin: 0 0 5px;
}
.setupQuickLinks p {
  color: var(--muted);
  margin: 0;
}
.setupGrid,
.adminGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.setupGrid .panel {
  display: grid;
  gap: 12px;
}
.setupCard {
  align-content: start;
}
.setupTitle {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 6px;
}
.setupTitle > b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #07101c;
}
.setupTitle h2 {
  margin: 0;
}
.setupTitle p,
.hint,
.checkList p {
  color: var(--muted);
  line-height: 1.5;
  margin: 5px 0 0;
  font-size: 14px;
}
.fieldLabel {
  color: #dfe8f7;
  font-weight: 900;
  margin-top: 6px;
}
.checkList {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff0e;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.templatePreview {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #4f8cff17;
  border: 1px solid rgba(79, 140, 255, 0.22);
}
.templatePreview b {
  color: #eaf2ff;
}
.templatePreview p {
  color: var(--muted);
  line-height: 1.5;
  margin: 5px 0 0;
  font-size: 14px;
}
.templateActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.downloadLink {
  min-height: 40px;
  text-align: center;
}
.divider {
  color: var(--muted);
  text-align: center;
}
.connectedSource {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(65, 225, 140, 0.25);
  background: #41e18c14;
}
.connectedSource span {
  color: #b9ffd7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.connectedSource b {
  overflow: hidden;
  color: #f6f8ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.connectedSource small {
  color: var(--muted);
  line-height: 1.4;
}
.connectedSourceActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.connectedSourceActions .ghost,
.connectedSourceActions .dangerGhost {
  min-height: 38px;
  padding: 0 14px;
}
.tokenMaskedBox {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.tokenMaskedBox .ghost {
  min-height: 46px;
  padding: 0 16px;
}
.filePicker {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  border-radius: 20px;
  border: 1px dashed rgba(143, 239, 255, 0.42);
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(34, 211, 238, 0.16),
      transparent 10rem
    ),
    #ffffff0e;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}
.filePicker:hover {
  transform: translateY(-1px);
  border-color: #8fefffbf;
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(34, 211, 238, 0.23),
      transparent 10rem
    ),
    #ffffff13;
}
.filePicker input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.filePickerIcon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5fbff, #8fefff);
  color: #07101c;
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: -0.03em;
}
.filePickerText {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.filePickerText b {
  overflow: hidden;
  color: #f6f8ff;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.filePickerText small {
  color: var(--muted);
  line-height: 1.35;
}
.filePickerAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 13px;
  background: #ffffff17;
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: #dffbff;
  font-weight: 900;
}
.filePicker.hasFile {
  border-style: solid;
  border-color: #41e18c61;
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(65, 225, 140, 0.14),
      transparent 10rem
    ),
    #ffffff0f;
}
.docPage {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 44px;
}
.docInner {
  display: grid;
  gap: 16px;
}
.docHero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
}
.docHero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
}
.docHero p {
  color: #c8d4e8;
  line-height: 1.6;
  margin: 14px 0 0;
  max-width: 760px;
}
.docGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.requirementList {
  display: grid;
  gap: 10px;
}
.requirementList p {
  margin: 0;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.requirementList b {
  display: block;
  color: #eaf2ff;
  margin-bottom: 5px;
}
.requirementList span {
  color: var(--muted);
  line-height: 1.5;
}
.templateHeader {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.codeBlock {
  overflow: auto;
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: #030712b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d8f7ff;
  line-height: 1.45;
  font-size: 13px;
}
.converterPanel {
  display: grid;
  gap: 12px;
}
.converterForm {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.converterCreateBox {
  display: grid;
  gap: 12px;
}
.converterActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.converterMapping {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff0b;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.converterMapping h3 {
  margin: 0;
}
.mappingGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.converterMetaGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.fieldMap {
  display: grid;
  gap: 6px;
}
.fieldMap span {
  color: #dfe8f7;
  font-weight: 800;
  font-size: 13px;
}
.checkField {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dfe8f7;
  font-weight: 800;
}
.checkField input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--green);
}
.categoryRulesPanel {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(120, 160, 255, 0.18);
  background: #78a0ff0f;
}
.categoryRulesPanel h4 {
  margin: 0 0 4px;
}
.categoryRuleActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.categoryRuleRow {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  gap: 10px;
}
.autoCategoryRule {
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 211, 110, 0.28);
  background: #ffd36e14;
}
.autoRuleToggle {
  align-self: center;
  border: 1px solid rgba(255, 211, 110, 0.32);
  border-radius: 999px;
  padding: 8px 10px;
  background: #ffd36e1f;
  color: #ffe8a8;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}
.autoRuleExamples {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 12px;
  background: #00000024;
}
.autoRuleExamples small {
  color: var(--muted);
  line-height: 1.45;
}
.categorySummaryBox {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(143, 239, 255, 0.18);
  background: #8fefff0e;
}
.categorySummaryRow {
  display: grid;
  gap: 8px;
}
.uncategorizedBox {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 211, 110, 0.28);
  background: #ffd36e14;
}
.uncategorizedBox small {
  color: var(--muted);
  line-height: 1.45;
}
.converterResult {
  display: grid;
  gap: 12px;
}
.savedLinksPanel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #41e18c12;
  border: 1px solid rgba(65, 225, 140, 0.2);
}
.savedLinksPanel h3 {
  margin: 0;
}
.savedLink {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.savedLink > div {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.savedLink b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.savedLink small {
  color: var(--muted);
}
.savedLinkActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.converterResult .success p {
  margin: 5px 0 0;
}
.permanentLink {
  display: grid;
  gap: 8px;
}
.issueList {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: #ffd36e1a;
  border: 1px solid rgba(255, 211, 110, 0.28);
}
.issueList.error {
  background: #ff5c7a1a;
  border-color: #ff5c7a47;
}
.issueList h3 {
  margin: 0 0 4px;
}
.issueList p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff0e;
}
.issueList b {
  color: #f5fbff;
}
.issueList span,
.issueList small {
  color: var(--muted);
  line-height: 1.45;
}
.tableTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.tableTop > div {
  display: flex;
  gap: 10px;
}
.tableWrap {
  overflow-x: auto;
}
.tableWrap table {
  min-width: 1100px;
}
.productsHeader {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.8fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}
.productsHeader h2 {
  margin: 0;
}
.productsHeader p {
  margin: 5px 0 0;
  color: var(--muted);
}
.productsSearch {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.productsControls {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 10px;
  align-items: end;
  margin: 10px 0 14px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff09;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.productsControls > div,
.productsControls label {
  display: grid;
  gap: 5px;
  min-height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
}
.productsControls span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.productsControls b {
  font-size: 15px;
}
.productsControls select {
  min-height: 38px;
  border-radius: 12px;
}
.ordersControls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin: 10px 0 14px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff09;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.ordersControls label {
  display: grid;
  gap: 5px;
  flex: 1 1 150px;
  padding: 0;
  border: 0;
  background: transparent;
}
.ordersControls span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ordersControls input,
.ordersControls select,
.ordersControls button {
  min-height: 38px;
  border-radius: 12px;
}
.ordersControls button {
  flex: 0 0 auto;
  padding: 0 16px;
}
.ordersSearch {
  flex: 2 1 240px;
}
.ordersDropdown {
  flex: 1 1 170px;
  min-width: 170px;
}
.ordersDropdown.wide {
  flex: 1.35 1 220px;
  min-width: 220px;
}
.ordersDropdown .adminSortButton {
  min-height: 50px;
}
.ordersDropdown .adminSortMenu {
  min-width: 100%;
}
.emptyState {
  min-height: 120px;
  display: grid;
  place-items: center;
  gap: 6px;
  color: var(--muted);
  text-align: center;
}
.emptyState b {
  color: var(--text);
}
@media (max-width: 980px) {
  .ordersControls {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .ordersSearch,
  .ordersControls button {
    grid-column: 1 / -1;
  }
}
.paginationBar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}
.paginationBar span {
  color: var(--muted);
}
.paginationBar button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.productAiActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0;
}
.marketRequirements {
  display: grid;
  gap: 5px;
  margin: 10px 0 14px;
  padding: 12px;
  border-radius: 16px;
  background: #4f8cff14;
  border: 1px solid rgba(79, 140, 255, 0.18);
}
.marketRequirements b {
  color: #eaf2ff;
}
.marketRequirements span {
  color: var(--muted);
  line-height: 1.45;
}
.tableActionBtn {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 11px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
th,
td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}
th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
td small {
  color: var(--muted);
}
.adminSummary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.adminSummary div {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff17, #ffffff0b);
  box-shadow: var(--shadow);
}
.adminSummary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.adminSummary b {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}
.adminToolbar {
  display: grid;
  grid-template-columns: 1fr 250px auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.adminToolbar span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.adminSortDropdown {
  position: relative;
}
.adminSortButton {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid rgba(143, 239, 255, 0.24);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(34, 211, 238, 0.12),
      transparent 8rem
    ),
    #fff1;
  color: var(--text);
  text-align: left;
}
.adminSortButton span {
  grid-column: 1;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.adminSortButton b {
  grid-column: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.adminSortButton i {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #8fefff;
  font-style: normal;
  font-weight: 900;
}
.adminSortMenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(143, 239, 255, 0.22);
  background: #0d1422fa;
  box-shadow: 0 24px 70px #0000008c;
}
.adminSortMenu button {
  min-height: 38px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #dfe8f7;
  text-align: left;
  padding: 0 10px;
}
.adminSortMenu button:hover,
.adminSortMenu button.active {
  background: #8fefff1f;
  color: #fff;
}
.adminClients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.adminClientCard {
  display: grid;
  gap: 16px;
}
.compactAdminCard {
  width: 100%;
  min-height: 0;
  padding: 16px;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.compactAdminCard:hover {
  border-color: #8fefff61;
  background: linear-gradient(180deg, #ffffff1f, #ffffff0e);
}
.compactAdminCard .adminClientHead h2 {
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compactAdminMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.adminClientHead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.adminClientHead h2,
.adminClientHead h3 {
  margin: 0;
}
.adminClientHead p {
  margin: 6px 0 0;
  color: var(--muted);
}
.adminStatusGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.adminStatusGrid div {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.adminStatusGrid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.statusPill {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}
.statusPill.ok {
  color: #b9ffd7;
  background: #41e18c1f;
  border: 1px solid rgba(65, 225, 140, 0.25);
}
.statusPill.warn {
  color: #ffe7a8;
  background: #ffd36e1f;
  border: 1px solid rgba(255, 211, 110, 0.25);
}
.statusPill.bad {
  color: #ffd6df;
  background: #ff5c7a1f;
  border: 1px solid rgba(255, 92, 122, 0.25);
}
.adminSourceBox {
  display: grid;
  gap: 6px;
  padding: 13px;
  border-radius: 16px;
  background: #4f8cff14;
  border: 1px solid rgba(79, 140, 255, 0.18);
}
.adminSourceBox p {
  overflow-wrap: anywhere;
  margin: 0;
  color: #c8d4e8;
}
.redText {
  color: #ffb4c0 !important;
}
.adminUsers {
  display: grid;
  gap: 10px;
}
.adminUsersHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.adminUsers h3 {
  margin: 0;
}
.adminUserRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #ffffff0d;
}
.adminUserRow div {
  display: grid;
  gap: 4px;
}
.adminUserRow span,
.adminUserRow small {
  color: var(--muted);
}
.adminUserActions {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.adminUserActions .ghost,
.adminUsersHead .ghost {
  min-height: 34px;
  padding: 0 12px;
}
.userEditModal {
  width: min(820px, 100%);
}
.userEditGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.userEditGrid label {
  display: grid;
  gap: 6px;
}
.userEditGrid span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.userEditWide {
  grid-column: 1 / -1;
}
.adminCardActions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.adminCardActions span {
  color: var(--muted);
  font-size: 13px;
}
.logsModal {
  max-height: calc(100vh - 48px);
  overflow: auto;
}
.adminOrgModal {
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  display: grid;
  gap: 16px;
}
.logs {
  display: grid;
  gap: 10px;
}
.logs div {
  padding: 12px;
  border-radius: 14px;
  background: #ffffff0e;
}
.logs span {
  margin-left: 8px;
  color: var(--muted);
}
.logs span.logOk {
  color: #b9ffd7;
}
.logs span.logError {
  color: #ffb4c0;
}
.logs small {
  margin-left: 8px;
  color: var(--muted);
}
.logs p {
  margin: 6px 0 0;
  color: #c8d4e8;
}
.productModal {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
}
.productModal h4 {
  margin: 6px 0 0;
}
.productModalStats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.productModalStats span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #ffffff12;
  color: var(--muted);
}
.productModalStats b {
  color: var(--text);
}
.productImages {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.productImages a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff0f;
  border: 1px solid rgba(255, 255, 255, 0.09);
}
.productImages img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}
.productThumb {
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.productsTable tbody tr {
  cursor: pointer;
  transition: background 0.12s ease;
}
.productsTable tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}
.productThumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.emptyThumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: #ffffff0a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.tableWrap th:nth-child(1),
.tableWrap td:nth-child(1) {
  width: 70px;
}
.tableWrap th:nth-child(2),
.tableWrap td:nth-child(2) {
  width: 100px;
}
.tableWrap th:nth-child(3),
.tableWrap td:nth-child(3) {
  width: auto;
  min-width: 220px;
}
.tableWrap th:nth-child(4),
.tableWrap td:nth-child(4),
.tableWrap th:nth-child(5),
.tableWrap td:nth-child(5) {
  width: 110px;
}
.tableWrap th:nth-child(6),
.tableWrap td:nth-child(6),
.tableWrap th:nth-child(7),
.tableWrap td:nth-child(7),
.tableWrap th:nth-child(8),
.tableWrap td:nth-child(8),
.tableWrap th:nth-child(9),
.tableWrap td:nth-child(9),
.tableWrap th:nth-child(10),
.tableWrap td:nth-child(10) {
  width: 100px;
}
.paramsList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}
.paramsList p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff0e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.paramsList span {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.settingsHero {
  margin-bottom: 18px;
  background: linear-gradient(135deg, #ffffff17, #22d3ee0e);
}
.marketplaceGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.marketplaceCard {
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: #ffffff0e;
  color: var(--text);
  display: grid;
  justify-items: start;
  align-content: space-between;
  gap: 14px;
  padding: 20px;
  box-shadow: 0 18px 60px #00000047;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    background 0.16s ease;
}
.marketplaceCard:not(.disabled):hover {
  transform: translateY(-2px);
  border-color: #22d3ee59;
  background: #ffffff13;
}
.marketplaceCard.disabled {
  filter: grayscale(1) brightness(0.65);
  opacity: 0.55;
  cursor: not-allowed;
}
.marketLogoMark {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.marketLogoMark svg {
  width: 64px;
  height: 64px;
}
.marketLogoText {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  font-size: 28px;
  font-weight: 950;
  letter-spacing: -0.05em;
}
.ozonLogo {
  color: #126dff;
}
.wbLogo {
  color: #fff;
  padding: 0 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #d600a9, #6f22ff);
  font-size: 20px;
}
.avitoLogo {
  min-height: 64px;
  display: grid;
  grid-template-columns: 14px 14px 1fr;
  grid-template-rows: 14px 14px;
  align-items: center;
  gap: 5px;
  font-size: 26px;
  font-weight: 950;
}
.avitoLogo i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: block;
}
.avitoLogo i:nth-child(1) {
  background: #0af;
}
.avitoLogo i:nth-child(2) {
  background: #97cf26;
}
.avitoLogo i:nth-child(3) {
  background: #ff4053;
}
.avitoLogo i:nth-child(4) {
  background: #965eeb;
}
.avitoLogo b {
  grid-column: 3;
  grid-row: 1 / 3;
}
.settingsHead {
  margin-bottom: 14px;
  border-color: #ffd21f38;
}
.settingsHead h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.settingsHead h2 .marketLogoMark,
.settingsHead h2 .marketLogoMark svg {
  width: 42px;
  height: 42px;
}
.settingsSubnav,
.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}
.settingsSubnav button,
.segmented button {
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 46px;
  padding: 8px 14px;
  background: #ffffff0f;
  color: var(--muted);
  font-weight: 900;
}
.settingsSubnav button {
  display: grid;
  gap: 2px;
  text-align: left;
}
.settingsSubnav small {
  color: #9aa8bdad;
  font-size: 11px;
  font-weight: 700;
}
.settingsSubnav button.active,
.segmented button.active {
  color: #07101c;
  border-color: transparent;
  background: linear-gradient(135deg, #f5fbff, #8fefff);
}
.settingsSubnav button.active small {
  color: #07101cad;
}
.settingsFormGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}
.settingsFormGrid label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.settingsRowHead {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.auditList {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.auditItem {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff0e;
  padding: 12px;
  display: grid;
  gap: 5px;
}
.auditItem span,
.auditItem small {
  color: var(--muted);
}
.marketApiPanel {
  background: linear-gradient(180deg, #ffffff16, #ffffff0b);
}
.sectionKicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  border: 1px solid rgba(34, 211, 238, 0.24);
  background: #22d3ee14;
  color: #a9f5ff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.marketApiHeader {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.apiSetupLayout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 16px;
}
.apiFormCard,
.apiHelpCard {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: #070a1247;
  padding: 16px;
}
.apiField {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}
.apiField label,
.apiFormGrid label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}
.apiField small {
  color: var(--muted);
  line-height: 1.45;
}
.apiTwoColumns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.apiHelpCard h3 {
  margin: 0 0 12px;
}
.apiHelpCard p {
  display: grid;
  gap: 3px;
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.apiHelpCard p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.apiHelpCard span {
  color: var(--muted);
  line-height: 1.45;
}
.apiStateGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.apiStateGrid div {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: #ffffff0b;
  padding: 12px;
  display: grid;
  gap: 4px;
}
.apiStateGrid span {
  color: var(--muted);
  font-size: 12px;
}
.apiStateGrid b {
  overflow-wrap: anywhere;
}
.statusPill {
  min-width: 132px;
  text-align: center;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 950;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.statusPill.ok {
  color: #b9ffd7;
  background: #41e18c1a;
  border-color: #41e18c40;
}
.statusPill.warn {
  color: #ffe4a8;
  background: #ffd36e1a;
  border-color: #ffd36e38;
}
.promosPage {
  display: grid;
  gap: 14px;
}
.promosHero,
.auditsHero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, #ffffff17, #ffd21f0e);
}
.auditsPage {
  display: grid;
  gap: 14px;
}
.auditsHero {
  background: linear-gradient(135deg, #ffffff17, #22d3ee0f);
}
.pricePage {
  display: grid;
  gap: 14px;
}
.priceHero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  background: linear-gradient(135deg, #ffffff17, #41e18c0e);
}
.priceSourceCard {
  min-width: 310px;
  border: 1px solid rgba(65, 225, 140, 0.22);
  border-radius: 18px;
  background: #41e18c13;
  padding: 14px;
  display: grid;
  gap: 6px;
}
.priceSourceCard span,
.priceSourceCard small {
  color: var(--muted);
}
.priceSourceCard b {
  overflow-wrap: anywhere;
}
.priceFormula {
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 16px;
  background: #22d3ee11;
  padding: 14px;
  display: grid;
  gap: 5px;
  margin: 4px 0 16px;
}
.priceFormula span {
  color: #a9f5ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.priceRulesGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}
.priceRulesSingle {
  grid-template-columns: minmax(0, 1fr);
}
.priceGroupPanel {
  margin: 14px 0;
  box-shadow: none;
}
.categoryMarkupGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.categoryMarkupGrid label {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: #ffffff0b;
  padding: 12px;
  display: grid;
  gap: 7px;
}
.categoryMarkupGrid span {
  font-weight: 900;
}
.categoryMarkupGrid span small,
.categoryMarkupGrid em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}
.priceOverrides {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}
.priceOverrides h3 {
  margin: 0;
}
.overrideRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 120px;
  gap: 10px;
  margin-bottom: 10px;
}
.priceRulesGrid label,
.toggleField {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.priceRulesGrid textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff1;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  font: inherit;
}
.priceRulesGrid textarea:focus {
  border-color: #22d3eea6;
}
.priceRulesGrid small,
.toggleField small {
  color: var(--muted);
  line-height: 1.4;
}
.promoStatus {
  min-width: 250px;
  border: 1px solid rgba(255, 211, 110, 0.22);
  border-radius: 18px;
  background: #ffd36e14;
  padding: 14px;
  display: grid;
  gap: 5px;
  color: #ffe4a8;
}
.promoStatus.on {
  border-color: #41e18c40;
  background: #41e18c17;
  color: #b9ffd7;
}
.promoStatus span {
  color: var(--muted);
}
.promoInfoGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.promoExplainCard {
  box-shadow: none;
  padding: 16px;
}
.promoExplainCard p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}
.settingsFormGrid small {
  color: var(--muted);
  line-height: 1.4;
}
.promoRunItem b {
  color: var(--text);
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 #41e18cb3;
  }
  70% {
    box-shadow: 0 0 0 9px #41e18c00;
  }
  to {
    box-shadow: 0 0 #41e18c00;
  }
}
@media (max-width: 1000px) {
  .hero,
  .appShell,
  .setupGrid,
  .setupHubGrid,
  .adminGrid,
  .siteFooter,
  .setupIntro,
  .docHero,
  .docGrid,
  .mappingGrid,
  .converterMetaGrid,
  .categoryRuleRow,
  .adminStatusGrid,
  .adminClients,
  .adminToolbar,
  .productsControls,
  .productsHeader,
  .marketplaceGrid,
  .settingsFormGrid,
  .apiFormGrid,
  .apiSetupLayout,
  .apiTwoColumns,
  .apiStateGrid,
  .promoInfoGrid,
  .priceRulesGrid,
  .categoryMarkupGrid,
  .overrideRow,
  .userEditGrid {
    grid-template-columns: 1fr;
  }
  .marketApiHeader,
  .promosHero,
  .auditsHero,
  .priceHero {
    display: grid;
  }
  .promoStatus,
  .priceSourceCard {
    min-width: 0;
  }
  aside {
    position: static;
    height: auto;
  }
  .mock {
    transform: none;
  }
  .featureGrid,
  .steps,
  .statGrid,
  .adminSummary {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .landing {
    width: min(100% - 24px, 1180px);
  }
  .topbar nav a {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 34px 0 44px;
  }
  h1 {
    font-size: clamp(32px, 10.8vw, 42px);
    line-height: 1;
  }
  .lead {
    font-size: 16px;
  }
  .actions .primary,
  .actions .ghost {
    width: 100%;
  }
  .proof,
  .metrics,
  .featureGrid,
  .steps,
  .statGrid,
  .adminSummary,
  .orderLine {
    grid-template-columns: 1fr;
  }
  section {
    padding: 48px 0;
  }
  .workspace {
    padding: 14px;
  }
  .workspaceTop {
    align-items: flex-start;
    flex-direction: column;
  }
  .setupQuickLinks {
    align-items: stretch;
    flex-direction: column;
  }
  .tableTop {
    align-items: flex-start;
    flex-direction: column;
  }
  .tableTop > div {
    width: 100%;
    flex-direction: column;
  }
  .paginationBar {
    justify-content: stretch;
    flex-direction: column;
  }
  .paginationBar .ghost {
    width: 100%;
  }
  .productsSearch {
    grid-template-columns: 1fr;
  }
  .templateActions,
  .templateHeader {
    flex-direction: column;
  }
  .converterForm {
    grid-template-columns: 1fr;
  }
  .converterActions {
    flex-direction: column;
  }
  .converterActions .primary,
  .converterActions .ghost {
    width: 100%;
  }
  .categoryRuleActions {
    flex-direction: column;
  }
  .categoryRuleActions .ghost {
    width: 100%;
  }
  .savedLink {
    grid-template-columns: 1fr;
  }
  .savedLinkActions {
    justify-content: stretch;
  }
  .savedLinkActions .ghost {
    width: 100%;
  }
  .adminClientHead,
  .tokenMaskedBox,
  .adminUserRow,
  .adminCardActions {
    flex-direction: column;
    align-items: stretch;
  }
  .adminToolbar span {
    white-space: normal;
  }
  .downloadLink {
    width: 100%;
  }
}

.serialEditor {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.serialEditor input {
  min-height: 34px;
  border-radius: 12px;
  font-size: 13px;
}
.smallButton {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.receiptStatus {
  display: inline-flex;
  margin: 0 0 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.receiptStatus.printed {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}
.receiptStatus.error {
  background: rgba(248, 113, 113, 0.16);
  color: #fecaca;
}
.receiptStatus.queued {
  background: rgba(250, 204, 21, 0.16);
  color: #fef08a;
}

/* === Orders table: компактный список заказов === */
.ordersTable th,
.ordersTable td {
  padding: 8px 10px;
  font-size: 13px;
  vertical-align: middle;
  line-height: 1.35;
}
.ordersTable th {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 8px 10px;
}
.ordersTable th:nth-child(1),
.ordersTable td:nth-child(1) {
  width: 120px;
}
.ordersTable th:nth-child(2),
.ordersTable td:nth-child(2) {
  width: 110px;
}
.ordersTable th:nth-child(3),
.ordersTable td:nth-child(3) {
  width: auto;
  min-width: 260px;
}
.ordersTable th:nth-child(4),
.ordersTable td:nth-child(4),
.ordersTable th:nth-child(5),
.ordersTable td:nth-child(5),
.ordersTable th:nth-child(6),
.ordersTable td:nth-child(6) {
  width: 100px;
}
.ordersTable th:nth-child(7),
.ordersTable td:nth-child(7) {
  width: 130px;
}
.orderInfo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}
.orderInfoId {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0;
  white-space: nowrap;
}
.orderInfoDate {
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: 0;
}
.orderStatus {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.orderStatus.os-delivered {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}
.orderStatus.os-cancelled {
  background: rgba(248, 113, 113, 0.16);
  color: #fecaca;
}
.orderStatus.os-processing,
.orderStatus.os-delivery,
.orderStatus.os-pickup {
  background: rgba(250, 204, 21, 0.16);
  color: #fef08a;
}
.orderItems {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.orderItem {
  display: flex;
  gap: 8px;
  align-items: baseline;
  line-height: 1.3;
}
.orderItemSku {
  font-weight: 700;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.orderItemName {
  font-size: 12.5px;
  word-break: break-word;
}
.receiptLink {
  display: inline-block;
  margin-left: 6px;
  font-size: 10.5px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.receiptLink:hover {
  color: #fff;
}
.ofdHeaderBadge {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  vertical-align: middle;
  cursor: help;
}
.periodMenu button {
  text-transform: capitalize;
  letter-spacing: 0;
}

/* ============================================================
 * OFD / Касса (страница /settings/yandex/ofd).
 * Раньше эти стили жили в public/assets/ofd-settings.aec713b8.css
 * и подключались как overlay. После того как OfdLivePanel.jsx
 * абсорбировал весь функционал, стили переехали сюда.
 * ============================================================ */
.ofdSettingsPage {
  gap: 16px;
}
.ofdSettingsPage .priceHero {
  align-items: stretch;
  background:
    radial-gradient(circle at 86% 10%, rgba(65, 225, 140, 0.18), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(34, 211, 238, 0.07));
}
.ofdSettingsPage .priceHero p {
  max-width: 720px;
  color: #cbd8eb;
  line-height: 1.58;
}
.ofdGuidePanel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 18px;
  align-items: start;
  background:
    radial-gradient(circle at 12% 20%, rgba(34, 211, 238, 0.14), transparent 17rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
}
.ofdGuidePanel h3 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.ofdGuidePanel p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.ofdGuidePanel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ofdGuidePanel li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}
.ofdGuidePanel li b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5fbff, #8fefff);
  color: #07101c;
}
.ofdGuidePanel li span {
  color: #dce8f7;
  line-height: 1.35;
}
.ofdProviderHint,
.ofdFillStatus {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(143, 239, 255, 0.2);
  background: rgba(143, 239, 255, 0.08);
  color: #dffbff;
}
.ofdProviderHint {
  margin-bottom: 14px;
}
.ofdProviderHint b {
  color: #f6f8ff;
}
.ofdProviderHint span {
  color: var(--muted);
}
.ofdFillStatus {
  margin: 12px 0;
  font-weight: 850;
}
.ofdFillStatus.warn {
  border-color: rgba(255, 211, 110, 0.34);
  background: rgba(255, 211, 110, 0.14);
  color: #ffe7a8;
}
.ofdFillStatus.ok {
  border-color: rgba(65, 225, 140, 0.34);
  background: rgba(65, 225, 140, 0.14);
  color: #caffdf;
}
.ofdSettingsPage .priceSwitchGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0;
}
.ofdSettingsPage .toggleField {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}
.ofdSettingsPage .toggleField > span {
  color: #dfe8f7;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: normal;
  text-transform: none;
}
.ofdSettingsPage .toggleField button {
  width: fit-content;
  min-width: 170px;
  min-height: 40px;
  border-radius: 999px;
  padding: 0 15px;
}
.ofdSettingsPage .toggleField button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  background: rgba(255, 255, 255, 0.08);
  color: #9aa8bd;
  border-color: rgba(255, 255, 255, 0.12);
}
.ofdSettingsPage .ofdEnableField button:disabled {
  min-width: 220px;
  background: rgba(255, 211, 110, 0.12);
  color: #ffe7a8;
  border-color: rgba(255, 211, 110, 0.28);
}
.ofdSettingsPage .templateActions {
  align-items: center;
}
.ofdSettingsPage .templateActions .primary,
.ofdSettingsPage .templateActions .ghost {
  min-height: 42px;
  border-radius: 14px;
}
.ofdSettingsPage .templateActions button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
.ofdSettingsPage .promoStatus.blocked {
  border-color: rgba(255, 211, 110, 0.32);
  background: rgba(255, 211, 110, 0.14);
  color: #ffe4a8;
}
.ofdSettingsPage select,
.ofdSettingsPage input {
  border-color: rgba(143, 239, 255, 0.2);
  background: linear-gradient(180deg, rgba(11, 20, 34, 0.98), rgba(8, 14, 24, 0.94));
}
.ofdSettingsPage select {
  cursor: pointer;
}
@media (max-width: 1000px) {
  .ofdGuidePanel,
  .ofdSettingsPage .priceSwitchGrid {
    grid-template-columns: 1fr;
  }
}
.cancelledToggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.cancelledToggle:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}
.cancelledToggleLabel {
  font-size: 12px;
}
.cancelledToggleSwitch {
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.cancelledToggleSwitch i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fff;
  transition: left 0.15s ease, background 0.15s ease;
}
.cancelledToggle.on .cancelledToggleSwitch {
  background: rgba(34, 197, 94, 0.55);
}
.cancelledToggle.on .cancelledToggleSwitch i {
  left: 14px;
}
.cancelledToggle b {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: #fff;
}
.ofdSettingsPage select {
  min-height: 46px;
}
.ofdSettingsPage .tokenMaskedBox {
  margin-top: 10px;
}

/* Live patch: keep OFD dropdowns consistent with Nexmargin dark glass UI. */
.ofdSettingsPage select,
.ofdSettingsPage input {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(120, 180, 255, 0.18);
  background: linear-gradient(
    180deg,
    rgba(11, 20, 34, 0.96),
    rgba(8, 14, 24, 0.92)
  );
  color: #eef7ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 30px rgba(0, 0, 0, 0.12);
}
.ofdSettingsPage select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(180deg, rgba(11, 20, 34, 0.96), rgba(8, 14, 24, 0.92)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2396e8ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position:
    0 0,
    right 14px center;
  background-size:
    100% 100%,
    14px 14px;
}
.ofdSettingsPage select:hover,
.ofdSettingsPage input:hover {
  border-color: rgba(34, 211, 238, 0.45);
}
.ofdSettingsPage select:focus,
.ofdSettingsPage input:focus {
  border-color: rgba(34, 211, 238, 0.72);
  box-shadow:
    0 0 0 3px rgba(34, 211, 238, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.ofdSettingsPage select option {
  background: #0b1422;
  color: #eef7ff;
}
.ofdSettingsPage .settingsFormGrid label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.appLoader {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 3000;
  min-width: 260px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(65, 225, 140, 0.2),
      transparent 46%
    ),
    linear-gradient(135deg, #080e1ceb, #081223c7);
  box-shadow:
    0 24px 70px #0000007a,
    0 0 44px #22d3ee2e;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 13px;
  pointer-events: none;
  animation: loaderIn 0.22s ease-out both;
}
.appLoader.fullscreen {
  inset: 0;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(34, 211, 238, 0.22),
      transparent 24rem
    ),
    radial-gradient(
      circle at 42% 52%,
      rgba(65, 225, 140, 0.16),
      transparent 18rem
    ),
    linear-gradient(180deg, #070a12, #091427);
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: auto;
}
.loaderOrb {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
}
.appLoader.fullscreen .loaderOrb {
  width: 104px;
  height: 104px;
}
.loaderRing {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: conic-gradient(
    from 90deg,
    transparent,
    var(--cyan),
    var(--green),
    transparent 78%
  );
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.55));
  animation: loaderSpin 1.08s linear infinite;
}
.loaderRing:after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: inherit;
  background: #081120;
}
.loaderLogo {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow:
    inset 0 1px #ffffff59,
    0 14px 34px #22d3ee47;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
.appLoader.fullscreen .loaderLogo {
  width: 72px;
  height: 72px;
  border-radius: 24px;
}
.loaderLogo svg {
  width: 30px;
  height: 30px;
}
.appLoader.fullscreen .loaderLogo svg {
  width: 52px;
  height: 52px;
}
.loaderText {
  display: grid;
  gap: 2px;
}
.loaderText b {
  font-size: 15px;
  letter-spacing: 0.01em;
}
.loaderText span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.appLoader.fullscreen .loaderText {
  text-align: center;
}
.appLoader.fullscreen .loaderText b {
  font-size: 24px;
}
.loaderDots {
  display: flex;
  gap: 4px;
}
.loaderDots i {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green);
  opacity: 0.35;
  animation: loaderDot 1s ease-in-out infinite;
}
.loaderDots i:nth-child(2) {
  animation-delay: 0.14s;
}
.loaderDots i:nth-child(3) {
  animation-delay: 0.28s;
}
@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loaderPulse {
  0%,
  to {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.04);
  }
}
@keyframes loaderDot {
  0%,
  to {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-4px);
  }
}
@keyframes loaderIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}
.brandMark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 40px #22d3ee47;
}
.brandMark svg {
  width: 34px;
  height: 34px;
}
.brandText {
  display: grid;
  gap: 1px;
}
.brandText b {
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.brandText small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
