:root {
  --valenzo-accent: #2563eb;
  --valenzo-accent-strong: #1d4ed8;
  --valenzo-accent-soft: #60a5fa;
  --valenzo-accent-rgb: 37, 99, 235;
}

.settings-v132-hub {
  width: min(1420px, 100%);
  margin: 0 auto 54px;
  color: #f8fafc;
}

.settings-v132-hero {
  min-height: 126px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  border: 1px solid rgba(var(--valenzo-accent-rgb), .42);
  border-radius: 25px;
  padding: 22px 24px;
  background:
    radial-gradient(circle at 88% 0, rgba(var(--valenzo-accent-rgb), .3), transparent 35%),
    linear-gradient(135deg, #111827, #0b1220);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .2);
}

.settings-v132-hero > div > small,
.settings-v132-page-head small {
  color: var(--valenzo-accent-soft);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .15em;
}

.settings-v132-hero h1 {
  margin: 4px 0 2px;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: -.03em;
}

.settings-v132-hero p,
.settings-v132-page-head p {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.settings-v132-hero > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 92px;
  height: 78px;
  border: 1px solid rgba(var(--valenzo-accent-rgb), .5);
  border-radius: 20px;
  background: rgba(var(--valenzo-accent-rgb), .14);
}

.settings-v132-hero > span b,
.settings-v132-hero > span small {
  display: block;
  text-align: center;
}

.settings-v132-hero > span b {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.settings-v132-hero > span small {
  margin-top: -9px;
  color: var(--valenzo-accent-soft);
  font-size: 9px;
  font-weight: 900;
}

.settings-v132-layout {
  display: block;
}

.settings-v132-nav {
  position: sticky;
  top: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #1f2937;
  border-radius: 22px;
  background: #0b1220;
  padding: 9px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .16);
}

.settings-v132-nav button {
  min-width: 0;
  min-height: 76px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: #cbd5e1;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
}

.settings-v132-nav button:hover {
  border-color: #334155;
  background: #111827;
}

.settings-v132-nav button:focus-visible,
.settings-v132-save:focus-visible,
.settings-v132-color:focus-visible {
  outline: 3px solid var(--valenzo-accent-soft);
  outline-offset: 2px;
}

.settings-v132-nav button.active {
  border-color: rgba(var(--valenzo-accent-rgb), .58);
  background: linear-gradient(135deg, rgba(var(--valenzo-accent-rgb), .34), rgba(var(--valenzo-accent-rgb), .12));
  color: #fff;
  box-shadow: inset 0 -3px var(--valenzo-accent), 0 8px 24px rgba(var(--valenzo-accent-rgb), .15);
}

.settings-v132-nav button > i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #172033;
  color: #94a3b8;
  font-size: 16px;
  font-style: normal;
}

.settings-v132-nav button.active > i {
  background: var(--valenzo-accent);
  color: #fff;
}

.settings-v132-nav button b,
.settings-v132-nav button small {
  display: block;
}

.settings-v132-nav button b {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.settings-v132-nav button small {
  display: none;
  overflow: hidden;
  margin-top: 3px;
  color: #64748b;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.settings-v132-nav button.active small { color: #bfdbfe; }
.settings-v132-nav button > em { display: none; color: #64748b; font-size: 20px; font-style: normal; }
.settings-v132-nav button.active > em { color: var(--valenzo-accent-soft); }

.settings-v132-main {
  min-width: 0;
  border: 1px solid #1f2937;
  border-radius: 22px;
  background: rgba(11, 18, 32, .7);
  padding: 16px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .14);
}

.settings-v132-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 86px;
  margin-bottom: 13px;
  border-bottom: 1px solid #1f2937;
  padding: 2px 4px 15px;
}

.settings-v132-page-head h2 {
  margin: 3px 0;
  font-size: clamp(21px, 2.4vw, 27px);
  font-weight: 950;
  letter-spacing: -.025em;
}

.settings-v132-save {
  flex: none;
  min-height: 45px;
  border: 1px solid var(--valenzo-accent-soft);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--valenzo-accent-strong), var(--valenzo-accent));
  color: #fff;
  padding: 0 17px;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(var(--valenzo-accent-rgb), .24);
  cursor: pointer;
}

.settings-v132-save[hidden] { display: none !important; }
.settings-v132-content { min-height: 340px; visibility: hidden; }
.settings-v132-hub.is-ready .settings-v132-content { visibility: visible; }
.settings-v132-content [data-settings-group][hidden] { display: none !important; }
.settings-v132-content > .settings-upgrade { width: 100%; max-width: none; margin: 0; }
.settings-v132-content > .settings-upgrade[hidden] { display: none !important; }
.settings-v132-content .settings-section,
.settings-v132-content .onb120-launch,
.settings-v132-content .ops120-panel,
.settings-v132-content > section.max-w-2xl { width: 100%; max-width: none; margin: 0 0 13px; }
.settings-v132-content .settings-pwa { margin-bottom: 13px; }
.settings-v132-content [data-settings-group="brand"] > .settings-save { display: none; }

.settings-v132-section-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--valenzo-accent-rgb), .42);
  border-radius: 15px;
  background: rgba(var(--valenzo-accent-rgb), .13);
  color: var(--valenzo-accent-soft);
  font-size: 22px;
}

.settings-v132-appearance-grid { display: grid; gap: 16px; }
.settings-v132-language-field { display: grid; gap: 7px; }
.settings-v132-language-field > span,
.settings-v132-accent-field > legend {
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
}
.settings-v132-language-field > small,
.settings-v132-accent-field > small { color: #64748b; font-size: 10px; line-height: 1.5; }
.settings-v132-language-field select { width: min(430px, 100%); }
.settings-v132-accent-field { min-width: 0; border: 0; padding: 0; }
.settings-v132-accent-field > legend { margin-bottom: 9px; }
.settings-v132-colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.settings-v132-color {
  min-height: 62px;
  display: grid;
  grid-template-columns: 25px 1fr auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #334155;
  border-radius: 13px;
  background: #0b1220;
  color: #e2e8f0;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
}
.settings-v132-color i { width: 22px; height: 22px; border: 3px solid rgba(255, 255, 255, .72); border-radius: 999px; background: var(--swatch); box-shadow: 0 0 0 2px var(--swatch); }
.settings-v132-color span { font-size: 11px; font-weight: 900; }
.settings-v132-color em { color: #64748b; font-size: 8px; font-style: normal; font-weight: 900; }
.settings-v132-color.active { border-color: var(--swatch); background: rgba(var(--valenzo-accent-rgb), .12); box-shadow: inset 0 0 0 1px var(--swatch); }
.settings-v132-color.active em { color: var(--valenzo-accent-soft); }

.settings-v132-theme-settings { border-color: rgba(var(--valenzo-accent-rgb), .34) !important; }
.settings-v132-theme-eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--valenzo-accent-soft);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
}
.settings-v132-theme-stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.settings-v132-theme-stage {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
  border: 1px solid #334155;
  border-radius: 16px;
  background: linear-gradient(145deg, #111827, #0b1220);
  padding: 14px;
  cursor: pointer;
}
.settings-v132-theme-stage:focus-within {
  border-color: var(--valenzo-accent-soft);
  box-shadow: 0 0 0 3px rgba(var(--valenzo-accent-rgb), .22);
}
.settings-v132-theme-step {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--valenzo-accent);
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(var(--valenzo-accent-rgb), .22);
}
.settings-v132-theme-copy { min-width: 0; }
.settings-v132-theme-copy b,
.settings-v132-theme-copy small { display: block; }
.settings-v132-theme-copy b { color: #f8fafc; font-size: 13px; font-weight: 950; }
.settings-v132-theme-copy small { margin-top: 3px; color: #94a3b8; font-size: 10px; line-height: 1.45; }
.settings-v132-theme-stage select {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 46px;
  font-weight: 900;
}
.settings-v132-theme-stage select:focus-visible {
  outline: 3px solid var(--valenzo-accent-soft);
  outline-offset: 2px;
}
.settings-v132-theme-live {
  min-height: 20px;
  margin: 0;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 750;
}

.settings-v132-security-intro {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 14px;
  border-color: rgba(var(--valenzo-accent-rgb), .34) !important;
  background: linear-gradient(135deg, rgba(var(--valenzo-accent-rgb), .12), #111827) !important;
}
.settings-v132-security-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: var(--valenzo-accent); color: #fff; font-size: 25px; }
.settings-v132-security-intro small { color: var(--valenzo-accent-soft); font-size: 9px; font-weight: 950; letter-spacing: .12em; }
.settings-v132-security-intro h2 { margin: 3px 0; font-size: 19px; font-weight: 950; }
.settings-v132-security-intro p { color: #94a3b8; font-size: 11px; line-height: 1.55; }

.admin-modern-active .admin-sidebar nav button.active {
  background: linear-gradient(135deg, var(--valenzo-accent-strong), var(--valenzo-accent));
  box-shadow: 0 10px 26px rgba(var(--valenzo-accent-rgb), .23);
}
.admin-modern-active .admin-head-actions .primary { border-color: var(--valenzo-accent); background: var(--valenzo-accent); }

html[data-valenzo-theme="light"] .settings-v132-hub { color: #0f172a; }
html[data-valenzo-theme="light"] .settings-v132-hero {
  border-color: rgba(var(--valenzo-accent-rgb), .35);
  background: radial-gradient(circle at 88% 0, rgba(var(--valenzo-accent-rgb), .17), transparent 35%), linear-gradient(135deg, #fff, #f8fafc);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .08);
}
html[data-valenzo-theme="light"] .settings-v132-hero h1,
html[data-valenzo-theme="light"] .settings-v132-hero > span b,
html[data-valenzo-theme="light"] .settings-v132-page-head h2 { color: #0f172a; }
html[data-valenzo-theme="light"] .settings-v132-hero p,
html[data-valenzo-theme="light"] .settings-v132-page-head p { color: #475569; }
html[data-valenzo-theme="light"] .settings-v132-nav,
html[data-valenzo-theme="light"] .settings-v132-main { border-color: #dbe3ee; background: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, .07); }
html[data-valenzo-theme="light"] .settings-v132-nav button { color: #334155; }
html[data-valenzo-theme="light"] .settings-v132-nav button:hover { border-color: #cbd5e1; background: #f8fafc; }
html[data-valenzo-theme="light"] .settings-v132-nav button.active { color: #0f172a; }
html[data-valenzo-theme="light"] .settings-v132-nav button.active small { color: #334155; }
html[data-valenzo-theme="light"] .settings-v132-nav button > i { background: #eef2f7; color: #475569; }
html[data-valenzo-theme="light"] .settings-v132-page-head { border-color: #e2e8f0; }
html[data-valenzo-theme="light"] .settings-v132-language-field > span,
html[data-valenzo-theme="light"] .settings-v132-accent-field > legend { color: #334155; }
html[data-valenzo-theme="light"] .settings-v132-color { border-color: #cbd5e1; background: #fff; color: #0f172a; }
html[data-valenzo-theme="light"] .settings-v132-color em,
html[data-valenzo-theme="light"] .settings-v132-language-field > small,
html[data-valenzo-theme="light"] .settings-v132-accent-field > small { color: #64748b; }
html[data-valenzo-theme="light"] .settings-v132-security-intro { background: linear-gradient(135deg, rgba(var(--valenzo-accent-rgb), .08), #fff) !important; }
html[data-valenzo-theme="light"] .settings-v132-security-intro h2 { color: #0f172a; }
html[data-valenzo-theme="light"] .settings-v132-security-intro p { color: #475569; }
html[data-valenzo-theme="light"] .settings-v132-theme-stage {
  border-color: #cbd5e1;
  background: linear-gradient(145deg, #fff, #f8fafc);
}
html[data-valenzo-theme="light"] .settings-v132-theme-copy b { color: #0f172a; }
html[data-valenzo-theme="light"] .settings-v132-theme-copy small,
html[data-valenzo-theme="light"] .settings-v132-theme-live { color: #64748b; }

@media (max-width: 1050px) {
  .settings-v132-nav {
    display: flex;
    scroll-snap-type: inline proximity;
  }
  .settings-v132-nav button { flex: 0 0 205px; min-height: 66px; grid-template-columns: 34px minmax(0, 1fr); scroll-snap-align: center; }
  .settings-v132-nav button > i { width: 32px; height: 32px; }
  .settings-v132-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .settings-v132-hub { margin-bottom: 34px; }
  .settings-v132-hero { min-height: 104px; padding: 17px; }
  .settings-v132-hero > span { width: 72px; height: 66px; }
  .settings-v132-nav {
    gap: 7px;
    margin-bottom: 9px;
    border-radius: 16px;
    padding: 7px;
  }
  .settings-v132-nav button { flex: 0 0 164px; min-height: 58px; grid-template-columns: 31px 1fr; padding: 7px 8px; }
  .settings-v132-nav button > i { width: 30px; height: 30px; }
  .settings-v132-nav button small,
  .settings-v132-nav button > em { display: none; }
  .settings-v132-main { border-radius: 17px; padding: 11px; }
  .settings-v132-page-head { align-items: stretch; flex-direction: column; min-height: 0; padding: 4px 2px 12px; }
  .settings-v132-save { width: 100%; }
  .settings-v132-content .settings-section,
  .settings-v132-content .ops120-panel { border-radius: 17px; padding: 14px; }
  .settings-v132-colors { grid-template-columns: 1fr 1fr; }
  .settings-v132-theme-stages { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .settings-v132-hero > span { display: none; }
  .settings-v132-hero h1 { font-size: 25px; }
  .settings-v132-colors { grid-template-columns: 1fr; }
  .settings-v132-security-intro { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .settings-v132-hub *, .settings-v132-hub *::before, .settings-v132-hub *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
