﻿:root {
  color-scheme: light;
  --font-ui:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --bg: #f3f6f4;
  --surface: #ffffff;
  --surface-2: #f7faf8;
  --ink: #111a17;
  --muted: #5d6962;
  --line: #dce5df;
  --line-strong: #adbbb2;
  --green: #11875f;
  --green-soft: #dff3e9;
  --blue: #246b9f;
  --blue-soft: #e0f1f7;
  --amber: #b47616;
  --amber-soft: #f7ead5;
  --red: #b63d33;
  --brand-ink: #071f1a;
  --brand-mint: #17a873;
  --brand-teal: #0f766e;
  --brand-cyan: #2f88b8;
  --brand-violet: #5b5bd6;
  --brand-gold: #e6a73d;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow: 0 28px 80px rgba(20, 33, 28, 0.13);
  --shadow-soft: 0 18px 48px rgba(20, 33, 28, 0.08);
  font-family: var(--font-ui);
}

html.text-size-small {
  font-size: 15px;
}

html.text-size-medium {
  font-size: 16px;
}

html.text-size-large {
  font-size: 17.5px;
}

html.font-style-modern {
  --font-ui:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

html.font-style-classic {
  --font-ui: Georgia, "Times New Roman", ui-serif, serif;
}

html.font-style-mono {
  --font-ui: "Cascadia Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.34) 42%, rgba(255, 255, 255, 0)),
    linear-gradient(120deg, rgba(23, 168, 115, 0.08), transparent 32%, rgba(47, 136, 184, 0.08) 68%, transparent),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
}

body.dashboard-mode {
  background: #f6f8f7;
}

html.modal-open,
body.modal-open {
  overflow: hidden;
}

body.theme-dark {
  color-scheme: dark;
  --bg: #0f1412;
  --surface: #161d1a;
  --surface-2: #1d2723;
  --ink: #eef6f1;
  --muted: #9aaba2;
  --line: #2b3933;
  --line-strong: #405149;
  --green: #59d99e;
  --green-soft: rgba(89, 217, 158, 0.15);
  --blue: #7fc5e3;
  --blue-soft: rgba(127, 197, 227, 0.16);
  --amber: #f0bd70;
  --amber-soft: rgba(240, 189, 112, 0.15);
  --red: #ff8279;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  background:
    linear-gradient(180deg, rgba(28, 38, 33, 0.72), rgba(15, 20, 18, 0)),
    var(--bg);
}

body.theme-dark.dashboard-mode {
  background: #0f1412;
}

body.dashboard-mode .landing-shell,
body.dashboard-mode .auth-shell,
body.dashboard-mode .app-shell {
  display: none;
}

body.dashboard-mode .dev-entry-shell,
body.public-mode .landing-shell,
body.public-mode .dev-entry-shell {
  display: none;
}

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.landing-shell,
.auth-shell,
.app-shell {
  width: min(1180px, calc(100vw - 32px));
  min-height: calc(100vh - 48px);
  margin: 24px auto;
}

.landing-shell {
  width: min(1400px, calc(100vw - 32px));
  display: grid;
  gap: 28px;
  padding-top: 104px;
  padding-bottom: 42px;
}

.landing-shell * {
  min-width: 0;
}

.landing-nav {
  position: fixed;
  top: 14px;
  left: 50%;
  width: min(1340px, calc(100vw - 32px));
  transform: translateX(-50%);
  z-index: 30;
  min-height: 74px;
  border: 1px solid rgba(173, 187, 178, 0.64);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.9)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 54px rgba(20, 33, 28, 0.14);
  backdrop-filter: blur(24px) saturate(1.15);
  -webkit-backdrop-filter: blur(24px) saturate(1.15);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 10px 12px 10px 14px;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  color: var(--ink);
  text-decoration: none;
}

.landing-logo-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(17, 135, 95, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(223, 243, 233, 0.95), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 24px rgba(17, 135, 95, 0.1);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.landing-logo-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.landing-brand-copy {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.landing-brand-copy strong {
  color: var(--brand-ink);
  font-size: 0.98rem;
  font-weight: 920;
}

.landing-brand-copy small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.landing-nav-actions,
.landing-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-nav-actions button,
.landing-hero-actions button {
  white-space: normal;
  text-align: center;
}

.landing-language-select {
  min-width: 144px;
  border-right: 1px solid rgba(173, 187, 178, 0.62);
  padding-right: 12px;
  margin-right: 2px;
  align-self: center;
}

.landing-language-select span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.landing-language-select select {
  min-height: 42px;
  border-color: rgba(173, 187, 178, 0.82);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(20, 33, 28, 0.06);
}

.landing-nav .secondary-button {
  border-color: rgba(173, 187, 178, 0.84);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(20, 33, 28, 0.06);
}

.landing-nav .landing-ai-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-color: rgba(240, 189, 112, 0.7);
  background: linear-gradient(135deg, #ffffff 0%, #fff8e7 100%);
  color: #122119;
  box-shadow: 0 10px 22px rgba(240, 189, 112, 0.14);
}

.landing-nav .landing-ai-button svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  fill: #c6811e;
}

.landing-nav .landing-ai-button:hover,
.landing-nav .landing-ai-button:focus-visible {
  border-color: rgba(232, 169, 79, 0.92);
  background: linear-gradient(135deg, #ffffff 0%, #ffedbd 100%);
  box-shadow: 0 12px 26px rgba(240, 189, 112, 0.22);
}

.landing-ai-briefing-panel {
  position: fixed;
  right: clamp(16px, 4vw, 32px);
  bottom: clamp(16px, 4vw, 32px);
  z-index: 130;
  width: min(420px, calc(100vw - 32px));
}

.landing-ai-briefing-card {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(22, 132, 91, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.landing-ai-briefing-card > .icon-button {
  position: absolute;
  top: 8px;
  right: 8px;
}

.landing-ai-briefing-card strong {
  padding-right: 34px;
  font-size: 1rem;
}

.landing-ai-briefing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.landing-ai-briefing-card textarea {
  width: 100%;
  min-height: 116px;
  resize: vertical;
  border: 1px solid rgba(22, 132, 91, 0.2);
  border-radius: 8px;
  padding: 10px;
  color: var(--ink);
  background: rgba(248, 251, 249, 0.95);
  font: inherit;
  line-height: 1.45;
}

.landing-nav .primary-button {
  background: linear-gradient(135deg, #071f1a, #105b46 58%, #0f766e);
  box-shadow: 0 12px 28px rgba(7, 31, 26, 0.22);
}

.landing-hero {
  position: relative;
  min-height: clamp(520px, calc(100vh - 210px), 720px);
  border: 1px solid rgba(11, 47, 40, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #071f1a 0%, #0b332d 50%, #10242f 100%);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  align-content: center;
  isolation: isolate;
}

.landing-hero::before,
.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.landing-hero::before {
  background:
    linear-gradient(90deg, rgba(7, 31, 26, 0.96) 0%, rgba(7, 31, 26, 0.84) 34%, rgba(7, 31, 26, 0.44) 64%, rgba(7, 31, 26, 0.14) 100%),
    linear-gradient(0deg, rgba(7, 31, 26, 0.8) 0%, rgba(7, 31, 26, 0.12) 42%, rgba(7, 31, 26, 0.28) 100%);
}

.landing-hero::after {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 24%, #000 78%, transparent 100%);
}

.landing-hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.landing-hero-frame {
  position: absolute;
  top: clamp(42px, 7vw, 88px);
  right: clamp(-180px, -8vw, -56px);
  width: min(920px, 78vw);
  height: min(560px, 66%);
  display: grid;
  place-items: center;
  opacity: 0.94;
  filter: drop-shadow(0 30px 56px rgba(0, 0, 0, 0.38));
}

.landing-hero img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  transition: opacity 260ms ease, transform 420ms ease;
}

.landing-hero-frame picture,
.landing-rubros-media picture,
.landing-pro-media picture {
  width: 100%;
  height: 100%;
  display: block;
}

.landing-proof-grid picture,
.landing-proof-image-button {
  width: min(100%, 980px);
  display: block;
}

.landing-hero-frame.is-changing img {
  opacity: 0.16;
  transform: translateX(10px) scale(0.985);
}

.landing-hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  display: grid;
  gap: 24px;
  color: #f7fffb;
  justify-items: start;
  text-align: left;
}

.landing-hero .module-pill {
  width: max-content;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #c9f6e4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.landing-hero h1 {
  margin: 0;
  max-width: 9.5ch;
  color: #ffffff;
  font-size: clamp(3.4rem, 8vw, 5.9rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.landing-hero p {
  margin: 0;
  max-width: 68ch;
  color: rgba(239, 250, 245, 0.84);
  font-size: clamp(1rem, 1.45vw, 1.14rem);
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.landing-hero .secondary-button {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.landing-hero .secondary-button:hover,
.landing-hero .secondary-button:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.42);
}

.landing-hero-points {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: landing-point;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.landing-hero-points li {
  counter-increment: landing-point;
  position: relative;
  overflow: hidden;
  min-height: 82px;
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: #20322a;
  display: grid;
  align-items: center;
  align-content: end;
  justify-content: center;
  padding: 34px 18px 14px;
  font-size: 0.86rem;
  font-weight: 560;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 44px rgba(20, 33, 28, 0.07);
  backdrop-filter: blur(18px) saturate(0.9);
  -webkit-backdrop-filter: blur(18px) saturate(0.9);
}

.landing-hero-points li::before,
.landing-hero-points li::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.landing-hero-points li::before {
  content: counter(landing-point, decimal-leading-zero);
  top: 10px;
  left: 50%;
  width: 38px;
  height: 24px;
  transform: translateX(-50%);
  border: 1px solid rgba(17, 135, 95, 0.18);
  border-radius: 999px;
  background: rgba(223, 243, 233, 0.82);
  color: #0d6f50;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.92;
  box-shadow: 0 8px 18px rgba(20, 33, 28, 0.06);
}

.landing-hero-points li::after {
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-mint), var(--brand-cyan), var(--brand-gold));
  opacity: 0.42;
}

.landing-hero-points li:nth-child(1) {
  background: linear-gradient(135deg, rgba(223, 243, 233, 0.78), rgba(255, 255, 255, 0.88));
}

.landing-hero-points li:nth-child(2) {
  background: linear-gradient(135deg, rgba(224, 241, 247, 0.78), rgba(255, 255, 255, 0.88));
}

.landing-hero-points li:nth-child(3) {
  background: linear-gradient(135deg, rgba(247, 234, 213, 0.78), rgba(255, 255, 255, 0.88));
}

.landing-rubros-block {
  border: 1px solid rgba(17, 135, 95, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(224, 241, 247, 0.72) 48%, rgba(247, 234, 213, 0.5)),
    #ffffff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.landing-rubros-media {
  order: 2;
  background:
    linear-gradient(135deg, #061f1d, #082a25),
    #061f1d;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(12px, 2vw, 24px);
}

.landing-rubros-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.landing-rubros-copy {
  order: 1;
  padding: clamp(22px, 3.4vw, 38px) clamp(24px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
}

.landing-rubros-copy .screen-kicker {
  grid-column: 1;
  align-self: end;
}

.landing-rubros-copy h2 {
  grid-column: 1;
  margin: 0;
  max-width: 16ch;
  color: var(--brand-ink);
  font-size: clamp(1.95rem, 3.2vw, 3.05rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.landing-rubros-copy > p:not(.screen-kicker) {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  max-width: 62ch;
  color: #405047;
  font-size: 1rem;
  line-height: 1.6;
}

.landing-rubros-grid {
  order: 3;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2px;
}

.landing-rubros-grid article {
  border: 1px solid rgba(17, 135, 95, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  padding: 14px;
  display: grid;
  gap: 5px;
}

.landing-rubros-grid strong {
  color: #10241f;
  font-size: 0.9rem;
  font-weight: 920;
}

.landing-rubros-grid p {
  margin: 0;
  color: #53625b;
  font-size: 0.86rem;
  line-height: 1.45;
}

.landing-store-strip {
  border: 1px solid rgba(47, 136, 184, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(224, 241, 247, 0.86), rgba(255, 255, 255, 0.94) 52%, rgba(223, 243, 233, 0.78)),
    #ffffff;
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}

.landing-store-copy {
  display: grid;
  gap: 7px;
}

.landing-store-copy h2 {
  margin: 0;
  color: var(--brand-ink);
  font-size: clamp(1.55rem, 2.7vw, 2.35rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.landing-store-copy p:last-child {
  margin: 0;
  max-width: 68ch;
  color: #405047;
  line-height: 1.55;
}

.landing-store-actions {
  display: grid;
  justify-items: stretch;
  gap: 10px;
  width: min(100%, 420px);
}

.landing-store-button {
  min-height: 48px;
  color: #ffffff;
  text-decoration: none;
}

.store-button-icon {
  width: 18px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  flex: 0 0 auto;
}

.store-button-icon span {
  display: block;
  border-radius: 2px;
}

.store-button-icon span:nth-child(1) {
  background: #f25022;
}

.store-button-icon span:nth-child(2) {
  background: #7fba00;
}

.store-button-icon span:nth-child(3) {
  background: #00a4ef;
}

.store-button-icon span:nth-child(4) {
  background: #ffb900;
}

.landing-connectors-band {
  grid-column: 1 / -1;
  border: 1px solid rgba(47, 136, 184, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 31, 26, 0.94), rgba(13, 68, 57, 0.9) 46%, rgba(224, 241, 247, 0.92)),
    #071f1a;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 38px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
}

.landing-connectors-copy {
  display: grid;
  gap: 12px;
  color: #ffffff;
}

.landing-connectors-copy .screen-kicker {
  color: #a7efd1;
}

.landing-connectors-copy h2 {
  margin: 0;
  max-width: 14ch;
  color: #ffffff;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.landing-connectors-copy p:last-child {
  margin: 0;
  max-width: 66ch;
  color: rgba(247, 255, 251, 0.78);
  line-height: 1.58;
}

.landing-connectors-visual {
  position: relative;
  min-height: 270px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 50%, rgba(89, 217, 158, 0.24), transparent 46%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  overflow: hidden;
  display: grid;
  place-items: center;
}

.landing-connectors-visual::before,
.landing-connectors-visual::after {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.landing-connectors-visual::after {
  inset: 76px;
  border-style: solid;
  opacity: 0.42;
}

.connector-fusion-core {
  position: relative;
  z-index: 2;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-ink);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  text-align: center;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.26);
}

.connector-fusion-core img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.connector-fusion-core strong {
  max-width: 11ch;
  font-size: 0.82rem;
  line-height: 1.05;
}

.connector-logo-cloud {
  position: absolute;
  inset: 0;
}

.connector-logo-chip {
  position: absolute;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #122119;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

.connector-logo-chip.shopify { left: 8%; top: 18%; color: #0b6f3a; }
.connector-logo-chip.woo { right: 8%; top: 16%; color: #5d2f91; }
.connector-logo-chip.amazon { left: 6%; bottom: 22%; color: #1b2935; }
.connector-logo-chip.mercado { right: 6%; bottom: 22%; color: #1d5aa6; }
.connector-logo-chip.zalando { left: 28%; top: 6%; color: #d66b1f; }
.connector-logo-chip.otto { right: 30%; bottom: 7%; color: #bf1238; }
.connector-logo-chip.pim { left: 30%; bottom: 8%; color: #0d6f50; }
.connector-logo-chip.api { right: 30%; top: 7%; color: #0d6f50; }

.landing-connectors-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-connectors-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  padding: 14px;
}

.landing-connectors-grid strong {
  display: block;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 950;
}

.landing-connectors-grid p {
  margin: 6px 0 0;
  color: rgba(247, 255, 251, 0.74);
  font-size: 0.86rem;
  line-height: 1.45;
}

.landing-hero-actions {
  justify-content: flex-start;
}

.landing-hero .landing-hero-builder-button {
  border: 1px solid rgba(255, 224, 158, 0.62);
  background:
    linear-gradient(135deg, #ffffff 0%, #fff2ca 48%, #e6a73d 100%);
  color: #122119;
  min-height: 50px;
  padding-inline: 22px;
  box-shadow:
    0 18px 34px rgba(230, 167, 61, 0.22),
    0 0 0 5px rgba(230, 167, 61, 0.16);
}

.landing-hero .landing-hero-builder-button:hover,
.landing-hero .landing-hero-builder-button:focus-visible {
  border-color: rgba(255, 224, 158, 0.9);
  background:
    linear-gradient(135deg, #ffffff 0%, #ffe9ae 46%, #e8a94f 100%);
  transform: translateY(-2px);
  box-shadow:
    0 22px 42px rgba(230, 167, 61, 0.3),
    0 0 0 6px rgba(230, 167, 61, 0.2);
}

.landing-command-strip {
  position: absolute;
  z-index: 2;
  left: clamp(28px, 5vw, 64px);
  right: clamp(28px, 5vw, 64px);
  bottom: 0;
  width: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.landing-command-strip span {
  min-height: 58px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(248, 255, 252, 0.72);
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-command-strip span:last-child {
  border-right: 0;
}

.landing-inline-cta {
  grid-column: 1 / -1;
  order: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

.landing-after-hero-cta {
  margin-top: -2px;
  padding-inline: 4px;
}

.primary-button.landing-spotlight-button {
  position: relative;
  min-height: 54px;
  border: 1px solid rgba(255, 224, 158, 0.62);
  border-radius: 8px;
  background:
    linear-gradient(135deg, #ffffff 0%, #fff4cf 48%, #e6a73d 100%);
  color: #122119;
  padding: 0 28px;
  font-size: 1rem;
  width: max-content;
  max-width: min(100%, 360px);
  box-shadow:
    0 18px 34px rgba(240, 189, 112, 0.22),
    0 0 0 5px rgba(240, 189, 112, 0.16);
}

.primary-button.landing-spotlight-button::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  pointer-events: none;
}

.primary-button.landing-spotlight-button:hover,
.primary-button.landing-spotlight-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 224, 158, 0.9);
  background:
    linear-gradient(135deg, #ffffff 0%, #ffe9ae 46%, #e8a94f 100%);
  box-shadow:
    0 22px 42px rgba(240, 189, 112, 0.3),
    0 0 0 6px rgba(240, 189, 112, 0.2);
}

.landing-band {
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  padding: clamp(26px, 4vw, 46px);
}

.landing-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(220, 229, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 34px rgba(20, 33, 28, 0.06);
  padding: 16px 18px;
  color: var(--muted);
}

.landing-footer div {
  display: grid;
  gap: 3px;
}

.landing-footer strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 950;
}

.landing-footer span,
.landing-footer small,
.landing-footer a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.4;
}

.landing-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.landing-footer a {
  text-decoration: none;
}

.landing-footer a:hover,
.landing-footer a:focus-visible {
  color: var(--green);
  text-decoration: underline;
}

.landing-section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.landing-section-heading h2,
.landing-route-panel h2,
.landing-proof-copy h3,
.landing-benefit-grid h3 {
  margin: 0;
  letter-spacing: 0;
}

.landing-section-heading h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  line-height: 1;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.landing-proof-band .landing-section-heading {
  justify-items: center;
  text-align: center;
}

.landing-proof-band .landing-section-heading h2 {
  margin-inline: auto;
}

.landing-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 46px);
  justify-items: center;
  align-items: start;
}

.landing-proof-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 18px 24px rgba(25, 38, 31, 0.1));
}

.landing-proof-image-button {
  appearance: none;
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: center;
}

.landing-proof-image-button::before,
.landing-proof-image-button::after {
  content: "";
  display: block;
  width: min(100%, 860px);
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent 0%, rgba(7, 31, 26, 0.16) 18%, rgba(37, 188, 196, 0.22) 50%, rgba(7, 31, 26, 0.16) 82%, transparent 100%);
}

.landing-proof-image-button::before {
  margin-bottom: clamp(16px, 2.4vw, 26px);
}

.landing-proof-image-button::after {
  margin-top: clamp(16px, 2.4vw, 26px);
}

.landing-proof-image-button img {
  transition: transform 220ms ease, filter 220ms ease;
}

.landing-proof-image-button:hover img,
.landing-proof-image-button:focus-visible img {
  transform: translateY(-2px);
  filter: drop-shadow(0 22px 30px rgba(25, 38, 31, 0.16));
}

.landing-proof-image-button:focus-visible {
  outline: 3px solid rgba(37, 188, 196, 0.45);
  outline-offset: 8px;
}

.landing-proof-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
  justify-items: center;
  text-align: center;
}

.landing-proof-copy h3 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  line-height: 1.1;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.landing-proof-copy p,
.landing-benefit-grid p,
.landing-route-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.landing-stat-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.landing-stat-row strong {
  border: 1px solid rgba(47, 136, 184, 0.22);
  border-radius: 999px;
  background: var(--blue-soft);
  color: #174f75;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.78rem;
}

.landing-pro-stack {
  display: grid;
  gap: 26px;
}

.landing-pro-block {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 250, 248, 0.86)),
    #ffffff;
  box-shadow: var(--shadow-soft);
  padding: clamp(16px, 2.6vw, 30px);
}

.landing-pro-block-reverse {
  grid-template-columns: minmax(360px, 1.04fr) minmax(0, 0.96fr);
}

.landing-pro-block-reverse .landing-pro-media {
  order: 2;
}

.landing-pro-media {
  position: relative;
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 54px rgba(20, 33, 28, 0.08);
  padding: 14px;
  display: flex;
  align-items: center;
}

.landing-pro-media::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  pointer-events: none;
}

.landing-pro-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(20, 33, 28, 0.13);
}

.landing-pro-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  padding: clamp(12px, 2.4vw, 34px);
}

.landing-pro-copy h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2rem, 3.4vw, 3.45rem);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.landing-pro-copy p {
  margin: 0;
  max-width: 68ch;
  color: #405047;
  font-size: 1rem;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.landing-feature-list {
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.landing-feature-list li {
  min-height: 42px;
  border: 1px solid rgba(17, 135, 95, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(223, 243, 233, 0.68), rgba(255, 255, 255, 0.7));
  color: #20322a;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.36;
  overflow-wrap: anywhere;
}

.landing-impact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 243, 233, 0.62), rgba(255, 255, 255, 0.96) 42%),
    #ffffff;
  box-shadow: 0 18px 54px rgba(25, 38, 31, 0.08);
  padding: 30px;
}

.landing-impact-panel .landing-section-heading {
  margin-bottom: 24px;
}

.landing-impact-panel .landing-section-heading p:last-child {
  max-width: 900px;
  margin: 0;
  color: #405047;
  line-height: 1.62;
}

.landing-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-impact-feature .landing-impact-grid {
  grid-template-columns: 1fr;
}

.landing-impact-grid article {
  border: 1px solid rgba(17, 135, 95, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 20px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.landing-impact-grid h3,
.landing-privacy-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.landing-impact-grid p,
.landing-privacy-card p {
  margin: 0;
  color: #405047;
  font-size: 0.94rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.landing-privacy-band {
  background:
    linear-gradient(135deg, rgba(224, 241, 247, 0.76), rgba(255, 255, 255, 0.96) 48%),
    #ffffff;
}

.landing-privacy-band .landing-section-heading p:last-child {
  max-width: 900px;
  margin: 0;
  color: #405047;
  line-height: 1.62;
}

.landing-privacy-band .landing-section-heading small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.landing-privacy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.landing-privacy-card {
  position: relative;
  min-height: 160px;
  border: 1px solid rgba(173, 187, 178, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 22px 18px 20px;
  display: grid;
  gap: 12px;
  align-content: start;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(20, 33, 28, 0.06);
}

.landing-privacy-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 13px;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.landing-privacy-card:hover,
.landing-privacy-card:focus-visible {
  border-color: rgba(17, 135, 95, 0.42);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(20, 33, 28, 0.1);
}

.landing-privacy-card.is-active {
  border-color: rgba(17, 135, 95, 0.5);
  background:
    linear-gradient(135deg, rgba(223, 243, 233, 0.92), rgba(255, 255, 255, 0.94)),
    #ffffff;
  box-shadow: 0 18px 38px rgba(17, 135, 95, 0.12);
}

.landing-privacy-card.is-active::after {
  background: linear-gradient(90deg, var(--green), rgba(47, 111, 159, 0.78));
}

.landing-legal-grid {
  margin-top: 16px;
}

.landing-legal-panel {
  display: grid;
  gap: 12px;
}

.landing-legal-panel-combo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  display: grid;
  gap: 12px;
  align-content: start;
  box-shadow: 0 18px 42px rgba(20, 33, 28, 0.07);
}

.landing-legal-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.16;
}

.landing-legal-card p {
  margin: 0;
  color: #405047;
  line-height: 1.56;
}

.landing-legal-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.landing-legal-card li {
  border: 1px solid rgba(17, 135, 95, 0.14);
  border-radius: 8px;
  background: rgba(247, 250, 248, 0.8);
  color: #26372e;
  padding: 10px 12px;
  line-height: 1.45;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 70;
  width: min(1040px, calc(100vw - 32px));
  transform: translateX(-50%);
  border: 1px solid rgba(173, 187, 178, 0.84);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.92)),
    #ffffff;
  box-shadow: 0 26px 70px rgba(20, 33, 28, 0.2);
  backdrop-filter: blur(22px) saturate(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(1.1);
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.cookie-banner[hidden] {
  display: none;
  pointer-events: none;
}

.cookie-banner-copy {
  display: grid;
  gap: 6px;
}

.cookie-banner-copy h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.15;
}

.cookie-banner-copy p {
  margin: 0;
  max-width: 74ch;
  color: #405047;
  font-size: 0.94rem;
  line-height: 1.48;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-banner-actions button {
  white-space: nowrap;
}

.landing-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.landing-benefit-grid article {
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(247, 250, 248, 0.96), rgba(255, 255, 255, 0.96));
  padding: 22px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.landing-benefit-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 135, 95, 0.28);
  box-shadow: 0 20px 44px rgba(20, 33, 28, 0.1);
}

.landing-benefit-grid h3 {
  font-size: 1.08rem;
}

.landing-routes-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.landing-route-panel {
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  background: #ffffff;
  padding: 26px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.landing-route-panel img {
  width: min(100%, 330px);
  max-height: 64px;
  object-fit: contain;
  object-position: left center;
}

.landing-route-panel h2 {
  margin: 4px 0 8px;
  font-size: 1.55rem;
  line-height: 1.16;
}

.dev-entry-shell {
  width: min(1180px, calc(100vw - 32px));
  min-height: calc(100vh - 48px);
  margin: 24px auto;
  display: grid;
  align-items: center;
}

.dev-entry-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(227, 241, 246, 0.82), rgba(255, 255, 255, 0.94) 42%),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 30px;
}

.dev-entry-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.dev-entry-header h1 {
  max-width: 760px;
  margin: 4px 0 10px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.96;
}

.dev-entry-header p,
.dev-entry-card p {
  color: var(--muted);
  line-height: 1.55;
}

.dev-entry-badge {
  border: 1px solid rgba(47, 111, 159, 0.28);
  border-radius: 999px;
  background: var(--blue-soft);
  color: #174a6d;
  padding: 9px 13px;
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.dev-entry-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr 0.8fr;
  gap: 14px;
  align-items: stretch;
}

.dev-entry-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 20px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.dev-entry-card-strong {
  border-color: rgba(22, 132, 91, 0.42);
  background: rgba(247, 250, 248, 0.96);
}

.dev-entry-kicker {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.dev-entry-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.dev-entry-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.dev-entry-card input,
.dev-entry-card select {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 12px;
  font-weight: 800;
}

.dev-entry-actions,
.dev-entry-controls {
  display: grid;
  gap: 10px;
}

.dev-entry-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dev-entry-check {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.dev-entry-check input {
  min-height: 0;
  width: 18px;
  height: 18px;
  padding: 0;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 0.78fr);
  gap: 16px;
  align-items: stretch;
}

.auth-brand,
.auth-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.auth-brand {
  padding: 42px;
  background:
    linear-gradient(150deg, rgba(223, 243, 233, 0.92), rgba(227, 241, 246, 0.72)),
    #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
}

.auth-logo {
  width: min(100%, 380px);
  height: auto;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(9, 36, 56, 0.1));
}

.auth-brand h1 {
  max-width: 17ch;
  margin-bottom: 0;
}

.auth-brand p {
  color: #39453d;
  font-size: 1.02rem;
  line-height: 1.62;
  max-width: 42rem;
}

.auth-signals {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.auth-signals span {
  border: 1px solid rgba(22, 132, 91, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #405047;
  font-size: 0.82rem;
  font-weight: 800;
}

.auth-card {
  padding: 34px;
  display: grid;
  align-content: center;
  gap: 24px;
}

.auth-card-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
}

.auth-language {
  min-width: 132px;
}

.login-form {
  display: grid;
  gap: 14px;
}

.remember-session-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #405047;
  font-size: 0.84rem;
  font-weight: 850;
}

.remember-session-row input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.remember-session-row input::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2.5px 2.5px 0;
  opacity: 0;
  transform: translate(-50%, -58%) rotate(45deg) scale(0.72);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.remember-session-row input:checked {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 6px 14px rgba(22, 132, 91, 0.16);
}

.remember-session-row input:checked::after {
  opacity: 1;
  transform: translate(-50%, -58%) rotate(45deg) scale(1);
}

.remember-session-row input:focus-visible {
  outline: 3px solid rgba(22, 132, 91, 0.18);
  outline-offset: 3px;
}

.remember-session-row input:hover {
  border-color: rgba(22, 132, 91, 0.62);
}

body.theme-dark .remember-session-row {
  color: #c8d6cf;
}

body.theme-dark .remember-session-row input {
  background: #101714;
  border-color: var(--line-strong);
}

.auth-error {
  min-height: 22px;
  margin: 0;
  color: var(--red);
  font-size: 0.9rem;
  line-height: 1.45;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.wide-action {
  width: 100%;
  justify-content: center;
}

.auth-create-workspace-button {
  position: relative;
  border-color: rgba(255, 224, 158, 0.62);
  background:
    linear-gradient(135deg, #ffffff 0%, #fff4cf 48%, #f0bd70 100%);
  color: #122119;
  box-shadow:
    0 14px 26px rgba(240, 189, 112, 0.18),
    0 0 0 4px rgba(240, 189, 112, 0.12);
}

.auth-create-workspace-button::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  pointer-events: none;
}

.auth-create-workspace-button:hover,
.auth-create-workspace-button:focus-visible {
  border-color: rgba(255, 224, 158, 0.9);
  background:
    linear-gradient(135deg, #ffffff 0%, #ffe9ae 46%, #e8a94f 100%);
  box-shadow:
    0 18px 34px rgba(240, 189, 112, 0.26),
    0 0 0 5px rgba(240, 189, 112, 0.16);
}

.app-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 1240px;
}

.brand-panel,
.onboarding-panel {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  border-radius: 8px;
}

.brand-panel {
  position: relative;
  min-height: 285px;
  overflow: hidden;
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(260px, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: 18px;
  background:
    linear-gradient(90deg, rgba(7, 25, 18, 0.88) 0%, rgba(7, 25, 18, 0.76) 42%, rgba(7, 25, 18, 0.32) 100%),
    url("../resources/landing-hero-passportbase.png") center right / cover no-repeat,
    #0d1f17;
  color: #ffffff;
}

.brand-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 22% 18%, rgba(89, 217, 158, 0.2), transparent 34%);
  pointer-events: none;
}

.brand-panel > * {
  position: relative;
  z-index: 1;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 28px;
}

.brand-header {
  margin-bottom: 0;
  min-height: 0;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 10px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand-banner {
  width: min(100%, 230px);
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.2));
}

.module-pill {
  border: 1px solid rgba(22, 132, 91, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow,
.screen-kicker {
  margin: 0 0 8px;
  color: var(--green);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(1.65rem, 2.65vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 20px;
  max-width: 18ch;
}

h2 {
  font-size: 1.36rem;
  letter-spacing: 0;
  margin-bottom: 0;
}

h3 {
  font-size: 1.55rem;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.brand-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.96rem;
  line-height: 1.5;
  max-width: min(34rem, 100%);
  overflow-wrap: anywhere;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 0;
  grid-column: 2 / -1;
}

.signal-grid > div {
  --signal-border: rgba(255, 255, 255, 0.18);
  --signal-bg: rgba(255, 255, 255, 0.1);
  --signal-accent: rgba(255, 255, 255, 0.72);
  --signal-glow: rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
  min-height: 62px;
  border: 1px solid var(--signal-border);
  border-radius: 8px;
  background: var(--signal-bg);
  color: #ffffff;
  display: flex;
  align-items: center;
  padding: 11px 13px 11px 17px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 26px rgba(0, 0, 0, 0.16);
}

.signal-grid > div::before,
.signal-grid > div::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.signal-grid > div::before {
  inset: 10px auto 10px 9px;
  width: 3px;
  border-radius: 999px;
  background: var(--signal-accent);
  box-shadow: 0 0 18px var(--signal-accent);
}

.signal-grid > div::after {
  width: 56px;
  height: 56px;
  right: -22px;
  top: -24px;
  border-radius: 50%;
  background: var(--signal-glow);
  filter: blur(2px);
}

.signal-grid > div:nth-child(1) {
  --signal-border: rgba(96, 221, 162, 0.56);
  --signal-bg: linear-gradient(135deg, rgba(22, 132, 91, 0.52), rgba(89, 217, 158, 0.18));
  --signal-accent: #5be19f;
  --signal-glow: rgba(91, 225, 159, 0.28);
}

.signal-grid > div:nth-child(2) {
  --signal-border: rgba(122, 196, 228, 0.6);
  --signal-bg: linear-gradient(135deg, rgba(47, 111, 159, 0.54), rgba(127, 197, 227, 0.18));
  --signal-accent: #7fc5e3;
  --signal-glow: rgba(127, 197, 227, 0.3);
}

.signal-grid > div:nth-child(3) {
  --signal-border: rgba(240, 189, 112, 0.64);
  --signal-bg: linear-gradient(135deg, rgba(168, 109, 24, 0.55), rgba(240, 189, 112, 0.2));
  --signal-accent: #f0bd70;
  --signal-glow: rgba(240, 189, 112, 0.32);
}

.signal-label {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  margin-bottom: 3px;
}

.signal-grid strong {
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.onboarding-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  min-height: 92px;
  padding: 24px 28px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.topbar-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
}

.language-select {
  display: grid;
  gap: 5px;
  min-width: 150px;
  color: var(--muted);
  font-size: 0.76rem;
}

.language-select select {
  min-height: 36px;
  padding-inline: 10px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.86rem;
  font-weight: 750;
}

.progress-pill {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.86rem;
  white-space: nowrap;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0;
}

.progress-pill span {
  color: var(--ink);
  font-weight: 800;
}

.onboarding-time-estimate {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(223, 243, 233, 0.72), rgba(255, 255, 255, 0.86));
  color: #405047;
  padding: 9px 28px;
  font-size: 0.86rem;
  font-weight: 850;
}

.onboarding-time-estimate strong {
  color: var(--green);
  font-weight: 950;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.step-node {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.step-node::before {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(-50% + 14px);
  right: calc(50% + 14px);
  height: 2px;
  background: var(--line);
}

.step-node:first-child::before {
  display: none;
}

.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid var(--line-strong);
  background: var(--surface);
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 800;
  z-index: 1;
}

.step-node.done::before,
.step-node.active::before {
  background: var(--green);
}

.step-node.done .step-dot {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.step-node.active {
  color: var(--ink);
}

.step-node.active .step-dot {
  border-color: var(--green);
  box-shadow: 0 0 0 5px var(--green-soft);
  color: var(--green);
}

.step-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.step-screen {
  display: none;
  padding: 30px 28px 22px;
  flex: 1;
}

.step-screen.active {
  display: block;
}

.screen-copy {
  max-width: 620px;
  margin-bottom: 24px;
}

.screen-copy p:last-child {
  color: var(--muted);
  line-height: 1.55;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-grid.single-column {
  grid-template-columns: 1fr;
}

.retail-only-field[hidden] {
  display: none !important;
}

.retail-lookup-field {
  border: 1px solid rgba(17, 135, 95, 0.18);
  border-radius: 8px;
  background: rgba(223, 243, 233, 0.36);
  padding: 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 12px;
  align-items: center;
}

.retail-lookup-field small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.35;
}

.retail-lookup-status {
  grid-column: 1 / -1;
  min-height: 18px;
}

.retail-lookup-status.success {
  color: var(--green);
}

.retail-lookup-status.warning {
  color: var(--amber);
}

.retail-lookup-status.error {
  color: var(--red);
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 750;
  font-size: 0.9rem;
}

.category-combobox-field {
  position: relative;
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 750;
  font-size: 0.9rem;
}

.category-combobox {
  position: relative;
  min-width: 0;
}

.category-combobox-control {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 12px 0 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-weight: 850;
  cursor: pointer;
}

.category-combobox-control span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-combobox-control svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.category-combobox-control[aria-expanded="true"] {
  border-color: rgba(17, 135, 95, 0.78);
  box-shadow: 0 0 0 4px rgba(17, 135, 95, 0.14);
}

.category-combobox-popover {
  position: absolute;
  z-index: 70;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 360px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 54px rgba(20, 33, 28, 0.18);
  overflow: hidden;
}

.category-combobox-popover[hidden] {
  display: none;
  pointer-events: none;
}

.category-search-field {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 10px;
}

.category-search-field span {
  font-size: 0.75rem;
  color: var(--muted);
}

.category-search-field input {
  min-height: 40px;
}

.category-combobox-list {
  max-height: 292px;
  overflow: auto;
  padding: 8px;
}

.category-combobox-group {
  display: grid;
  gap: 2px;
  padding: 4px 0 8px;
}

.category-combobox-group strong {
  padding: 7px 8px 5px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 950;
}

.category-combobox-option {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  padding: 7px 10px 7px 18px;
  text-align: left;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 720;
  text-transform: none;
  cursor: pointer;
}

.category-combobox-option:hover,
.category-combobox-option:focus-visible {
  background: var(--green-soft);
  color: var(--green);
  outline: none;
}

.category-combobox-option.is-selected {
  background: rgba(17, 135, 95, 0.12);
  color: var(--green);
  font-weight: 950;
}

.category-combobox-empty {
  color: var(--muted);
  padding: 14px;
  font-weight: 850;
}

.wide {
  grid-column: 1 / -1;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 13px;
  outline: none;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: var(--surface-2);
  color: var(--ink);
  outline: none;
}

.password-toggle::before {
  content: "";
  width: 18px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 999px / 78%;
}

.password-toggle::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.password-toggle.is-visible::after {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  transform: rotate(-38deg);
  background: currentColor;
}

input:focus,
select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

input[name="password"]:focus,
input[name="confirmPassword"]:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 4px rgba(23, 32, 26, 0.06);
}

input.password-valid {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

input.password-valid:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

input.password-invalid:not(:placeholder-shown) {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(182, 61, 51, 0.12);
}

.password-meter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -6px;
}

.password-meter span {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 750;
}

.password-meter span::before {
  content: "";
}

.password-meter span.valid {
  border-color: rgba(22, 132, 91, 0.42);
  background: #d9f5e7;
  color: var(--green);
}

.password-meter span.valid::before {
  content: "\2713  ";
}

.password-match-hint {
  min-height: 18px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.password-match-hint.valid {
  color: var(--green);
}

.password-match-hint.valid::before {
  content: "\2713  ";
}

.password-match-hint.invalid {
  color: var(--red);
}

.password-match-hint.invalid::before {
  content: "\26A0  ";
}

.security-strip {
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.security-strip p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.toggle-row input,
.check-control input,
.option-card input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: var(--green);
}

.control-list,
.option-grid,
.review-grid {
  display: grid;
  gap: 12px;
}

.check-control,
.option-card,
.review-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
}

.check-control,
.option-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: start;
}

.check-control small,
.option-card small,
.review-item small {
  color: var(--muted);
  line-height: 1.45;
}

.check-control.invalid {
  border-color: var(--red);
  background: rgba(194, 57, 52, 0.06);
  box-shadow: 0 0 0 3px rgba(194, 57, 52, 0.12);
}

.check-control.invalid strong {
  color: var(--red);
}

.check-control.invalid small {
  color: #8f2c29;
}

.terms-accept.invalid::after {
  content: "Accept the subscription terms to continue.";
  grid-column: 2;
  color: var(--red);
  font-size: 0.84rem;
  font-weight: 850;
}

html[lang="es"] .terms-accept.invalid::after {
  content: "Acepta los terminos de suscripcion para continuar.";
}

.option-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compact-field {
  margin-top: 16px;
}

.visibility-help {
  margin-top: 12px;
  border: 1px solid rgba(47, 111, 159, 0.18);
  border-radius: 8px;
  background: var(--blue-soft);
  padding: 16px 18px;
  max-width: 100%;
}

.visibility-help strong {
  display: block;
  margin-bottom: 6px;
}

.visibility-help p {
  margin: 0;
  color: #40505a;
  line-height: 1.58;
}

.review-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.review-grid.review-grid-complete {
  opacity: 0.72;
}

.review-item {
  display: grid;
  gap: 6px;
}

.review-item strong {
  overflow-wrap: anywhere;
}

.success-panel {
  margin-top: 18px;
  border: 1px solid rgba(22, 132, 91, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(223, 243, 233, 0.9), rgba(227, 241, 246, 0.72));
  padding: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.success-panel[hidden] {
  display: none;
}

.success-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #ffffff;
  font-weight: 900;
}

.success-panel strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.08rem;
}

.success-panel p {
  margin: 0;
  color: #405047;
  line-height: 1.5;
}

.success-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-actions {
  border-top: 1px solid var(--line);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.onboarding-login-button {
  margin-left: auto;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-height: 42px;
  border-radius: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.primary-button {
  background: linear-gradient(135deg, #071f1a, #105b46 58%, #0f766e);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: 0 14px 28px rgba(7, 31, 26, 0.2);
}

.secondary-button,
.ghost-button {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.92)),
    #ffffff;
  border-color: rgba(173, 187, 178, 0.88);
  color: var(--brand-ink);
  box-shadow: 0 8px 20px rgba(20, 33, 28, 0.045);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(20, 33, 28, 0.1);
}

.primary-button:disabled,
.secondary-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.primary-button.button-loading:disabled {
  opacity: 1;
  cursor: progress;
}

.secondary-button.auth-create-workspace-button {
  border-color: rgba(255, 224, 158, 0.62);
  background:
    linear-gradient(135deg, #ffffff 0%, #fff4cf 48%, #f0bd70 100%);
  color: #122119;
  box-shadow:
    0 14px 26px rgba(240, 189, 112, 0.18),
    0 0 0 4px rgba(240, 189, 112, 0.12);
}

.secondary-button.auth-create-workspace-button:hover,
.secondary-button.auth-create-workspace-button:focus-visible {
  border-color: rgba(255, 224, 158, 0.9);
  background:
    linear-gradient(135deg, #ffffff 0%, #ffe9ae 46%, #e8a94f 100%);
  box-shadow:
    0 18px 34px rgba(240, 189, 112, 0.26),
    0 0 0 5px rgba(240, 189, 112, 0.16);
}

.button-loading::before {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(245, 247, 243, 0.72);
  backdrop-filter: blur(6px);
}

.loading-overlay.active {
  display: grid;
}

.verification-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(245, 247, 243, 0.78);
  backdrop-filter: blur(7px);
}

.verification-overlay.active {
  display: grid;
}

.loading-card {
  width: min(360px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  padding: 26px;
  text-align: center;
}

.verification-card {
  width: min(430px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: 28px;
}

.loader-mark {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}

.loader-mark::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 4px solid var(--green-soft);
  border-top-color: var(--green);
  animation: spin 0.9s linear infinite;
}

.loader-mark img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 14px rgba(9, 36, 56, 0.18));
}

.verification-logo {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
}

.verification-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(9, 36, 56, 0.16));
}

.loading-card strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.verification-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.22rem;
}

.loading-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.verification-card p {
  color: var(--muted);
  line-height: 1.5;
}

.verification-code-label {
  margin-top: 18px;
}

.verification-code-label input {
  min-height: 54px;
  text-align: center;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0;
}

.verification-error {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--red);
  font-weight: 700;
}

.verification-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.dashboard-app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  background:
    linear-gradient(120deg, rgba(23, 168, 115, 0.05), transparent 32%, rgba(47, 136, 184, 0.06) 82%),
    #f6f8f7;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 100vh;
  border-right: 1px solid rgba(220, 229, 223, 0.84);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.92)),
    #ffffff;
  padding: 26px 18px 116px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  overflow: visible;
  isolation: isolate;
  box-shadow: 12px 0 44px rgba(20, 33, 28, 0.055);
}

.dashboard-brand {
  display: grid;
  gap: 11px;
  justify-items: start;
}

.dashboard-brand-banner {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.dashboard-brand span {
  border: 1px solid rgba(17, 135, 95, 0.22);
  border-radius: 999px;
  background: rgba(223, 243, 233, 0.72);
  color: #0d6f50;
  font-size: 0.72rem;
  font-weight: 950;
  padding: 5px 10px;
  text-transform: uppercase;
}

.dashboard-nav {
  display: grid;
  gap: 7px;
}

.dashboard-nav button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #405047;
  cursor: pointer;
  min-height: 44px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-align: left;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-nav .nav-text {
  min-width: 0;
  flex: 1 1 auto;
  font: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-nav .nav-badge {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(210, 55, 55, 0.12);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  padding: 0 6px;
  margin-left: auto;
}

.dashboard-nav button span {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(223, 243, 233, 0.62);
  color: var(--green);
  flex: 0 0 auto;
}

.dashboard-nav button span svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.dashboard-nav button.active,
.dashboard-nav button:hover {
  background:
    linear-gradient(90deg, rgba(223, 243, 233, 0.95), rgba(255, 255, 255, 0.74));
  color: var(--brand-ink);
  box-shadow: inset 3px 0 0 var(--green), 0 10px 22px rgba(20, 33, 28, 0.055);
  transform: translateX(2px);
}

.dashboard-sidebar-footer {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 64;
  width: 234px;
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.92)),
    #ffffff;
  display: grid;
  gap: 12px;
  box-shadow: 0 18px 42px rgba(20, 33, 28, 0.09);
}

.dashboard-sidebar-footer span {
  color: var(--muted);
  font-size: 0.78rem;
}

.workspace-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.workspace-settings-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  display: grid;
  place-items: center;
}

.workspace-settings-toggle:hover,
.workspace-settings-toggle[aria-expanded="true"] {
  border-color: rgba(22, 132, 91, 0.34);
  background: var(--green-soft);
  color: var(--green);
}

.workspace-settings-panel {
  position: fixed;
  left: 18px;
  bottom: 92px;
  z-index: 65;
  width: 360px;
  max-height: min(680px, calc(100dvh - 140px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 20px 52px rgba(25, 38, 31, 0.18);
  display: grid;
  align-content: start;
  gap: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.workspace-settings-panel.profile-required-open {
  z-index: 96;
}

.workspace-settings-block {
  display: grid;
  gap: 8px;
  padding: 10px 8px;
  border-top: 1px solid var(--line);
}

.workspace-settings-block > strong {
  font-size: 0.78rem;
}

#companyPublicWebsite.profile-required-highlight {
  border-color: rgba(22, 132, 91, 0.72);
  background: #f0fff9;
  box-shadow:
    0 0 0 4px rgba(22, 132, 91, 0.16),
    0 16px 34px rgba(22, 132, 91, 0.12);
  animation: profileRequiredPulse 1.1s ease-in-out 3;
}

@keyframes profileRequiredPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 4px rgba(22, 132, 91, 0.14),
      0 16px 34px rgba(22, 132, 91, 0.1);
  }
  50% {
    box-shadow:
      0 0 0 7px rgba(22, 132, 91, 0.24),
      0 18px 38px rgba(22, 132, 91, 0.16);
  }
}

.workspace-settings-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 8px;
  background: var(--surface-2);
}

.workspace-settings-tabs button {
  min-width: 0;
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 950;
}

.workspace-settings-tabs button:hover,
.workspace-settings-tabs button:focus-visible,
.workspace-settings-tabs button.active {
  background: #ffffff;
  color: var(--green);
  outline: none;
  box-shadow: 0 8px 18px rgba(20, 33, 28, 0.06);
}

.workspace-display-panel {
  padding-left: 0;
  padding-right: 0;
}

.workspace-subscription-panel {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 4px;
}

.subscription-summary {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(22, 132, 91, 0.2);
  border-radius: 8px;
  background: rgba(223, 243, 233, 0.42);
}

.subscription-summary span,
.subscription-plan-card span,
.subscription-plan-card small,
.subscription-warning {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.32;
}

.subscription-summary strong {
  font-size: 1rem;
}

.subscription-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.subscription-plan-grid {
  display: grid;
  gap: 8px;
}

.subscription-plan-card {
  display: grid;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.subscription-plan-card.current {
  border-color: rgba(22, 132, 91, 0.44);
  box-shadow: inset 0 0 0 2px rgba(22, 132, 91, 0.1);
}

.subscription-plan-card header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: start;
}

.subscription-plan-card header strong {
  font-size: 0.92rem;
}

.subscription-plan-card em {
  color: var(--ink);
  font-style: normal;
  font-weight: 950;
}

.subscription-plan-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 760;
}

.subscription-plan-card li + li {
  margin-top: 4px;
}

.subscription-plan-card .compact-action {
  justify-content: center;
}

.subscription-warning {
  border: 1px solid rgba(207, 149, 44, 0.28);
  border-radius: 8px;
  padding: 8px;
  background: rgba(255, 246, 225, 0.72);
  color: #7a5718;
}

.company-public-profile-form small {
  color: var(--muted);
  font-weight: 750;
  line-height: 1.35;
}

.company-public-profile-form button {
  margin: 3px 8px 5px;
}

.workspace-language {
  display: grid;
  gap: 5px;
  padding: 5px 8px;
  color: var(--ink);
}

.workspace-language select,
.workspace-language input {
  min-height: 32px;
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.logout-button {
  width: 100%;
  justify-content: center;
  border-color: rgba(198, 45, 45, 0.34);
  background: rgba(198, 45, 45, 0.06);
  color: #c62d2d;
}

.logout-button:hover,
.logout-button:focus-visible {
  background: rgba(198, 45, 45, 0.12);
  border-color: rgba(198, 45, 45, 0.52);
}

.settings-menu-row {
  min-height: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px;
  border-radius: 8px;
}

.settings-menu-row span {
  width: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.settings-menu-title {
  background: var(--surface-2);
}

.dashboard-main {
  min-width: 0;
}

body.theme-dark input,
body.theme-dark select,
body.theme-dark textarea,
body.theme-dark .auth-brand,
body.theme-dark .auth-card,
body.theme-dark .brand-panel,
body.theme-dark .onboarding-panel,
body.theme-dark .dashboard-sidebar,
body.theme-dark .dashboard-topbar,
body.theme-dark .dashboard-panel,
body.theme-dark .workspace-section,
body.theme-dark .metric-card,
body.theme-dark .status-pill,
body.theme-dark .settings-item,
body.theme-dark .retention-card,
body.theme-dark .api-grid > div,
body.theme-dark .api-section-block,
body.theme-dark .api-docs,
body.theme-dark .api-doc-grid article,
body.theme-dark .api-key-row,
body.theme-dark .api-key-reveal,
body.theme-dark .evidence-card,
body.theme-dark .qr-card,
body.theme-dark .approval-row,
body.theme-dark .team-row,
body.theme-dark .team-add-row,
body.theme-dark .modal-card,
body.theme-dark .verification-card,
body.theme-dark .loading-card {
  background: rgba(22, 29, 26, 0.94);
  color: var(--ink);
}

body.theme-dark .workspace-settings-panel {
  background: #242424;
  border-color: #3a3a3a;
  color: #f6f7f5;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

body.theme-dark .workspace-settings-block {
  border-color: #444;
}

body.theme-dark .workspace-settings-tabs {
  background: #353535;
}

body.theme-dark .workspace-settings-tabs button:hover,
body.theme-dark .workspace-settings-tabs button:focus-visible,
body.theme-dark .workspace-settings-tabs button.active,
body.theme-dark .subscription-plan-card {
  background: #2f2f2f;
}

body.theme-dark .subscription-summary {
  background: rgba(89, 217, 158, 0.1);
  border-color: rgba(89, 217, 158, 0.24);
}

body.theme-dark .subscription-warning {
  background: rgba(207, 149, 44, 0.12);
  border-color: rgba(207, 149, 44, 0.32);
  color: #e3c37a;
}

body.theme-dark .workspace-language {
  color: #d7ddd9;
}

body.theme-dark .workspace-language select,
body.theme-dark .workspace-language input {
  background: #333;
  border-color: #4c4c4c;
  color: #f6f7f5;
}

body.theme-dark .settings-menu-title {
  background: #353535;
}

body.theme-dark .settings-menu-row span,
body.theme-dark .settings-grid.compact .settings-item span {
  color: #c4cbc6;
}

body.theme-dark .settings-grid.compact .settings-item {
  color: #f6f7f5;
}

body.theme-dark .setting-pill.is-off {
  background: #3a3a3a;
  color: #c4cbc6;
}

body.theme-dark .product-bulk-toolbar {
  background: rgba(89, 217, 158, 0.1);
  border-color: rgba(89, 217, 158, 0.22);
}

body.theme-dark .product-row.selected {
  background: rgba(89, 217, 158, 0.12);
}

body.theme-dark .product-row.product-highlight {
  background: rgba(89, 217, 158, 0.22);
  box-shadow: inset 4px 0 0 var(--green);
}

body.theme-dark .product-row.empty {
  background:
    linear-gradient(135deg, rgba(89, 217, 158, 0.08), rgba(58, 126, 148, 0.06)),
    rgba(18, 28, 24, 0.82);
}

body.theme-dark .danger-button {
  background: rgba(255, 116, 116, 0.1);
  border-color: rgba(255, 116, 116, 0.28);
  color: #ff9b9b;
}

body.theme-dark .danger-button:hover,
body.theme-dark .danger-button:focus-visible {
  background: rgba(255, 116, 116, 0.16);
}

body.theme-dark .green-icon-action {
  background: rgba(89, 217, 158, 0.15);
  border-color: rgba(89, 217, 158, 0.32);
  color: var(--green);
}

body.theme-dark .detail-trash-button {
  background: rgba(255, 116, 116, 0.1);
  border-color: rgba(255, 116, 116, 0.3);
  color: #ff9b9b;
}

body.theme-dark .file-dropzone {
  background: rgba(89, 217, 158, 0.08);
  border-color: rgba(89, 217, 158, 0.32);
}

body.theme-dark .file-dropzone:hover,
body.theme-dark .file-dropzone:focus-within {
  background: rgba(89, 217, 158, 0.13);
  border-color: rgba(89, 217, 158, 0.52);
}

body.theme-dark .evidence-column:hover,
body.theme-dark .evidence-column:focus-visible {
  background: rgba(89, 217, 158, 0.08);
  border-color: rgba(89, 217, 158, 0.24);
}

body.theme-dark .evidence-card:hover,
body.theme-dark .evidence-card:focus-visible {
  background: rgba(89, 217, 158, 0.08);
  border-color: rgba(89, 217, 158, 0.24);
}

body.theme-dark .evidence-empty {
  background: rgba(255, 255, 255, 0.03);
}

body.theme-dark .upload-row {
  background: rgba(27, 39, 34, 0.96);
}

body.theme-dark .product-status-select option,
body.theme-dark .detail-status-select option,
body.theme-dark .publishing-status-select option,
body.theme-dark .bulk-status-select option {
  background: #17211d;
  color: var(--ink);
}

body.theme-dark .product-status-select option.status-draft,
body.theme-dark .detail-status-select option.status-draft,
body.theme-dark .bulk-status-select option.status-draft {
  background: rgba(83, 178, 225, 0.18);
  color: #88d7ff;
}

body.theme-dark .product-status-select option.status-evidence,
body.theme-dark .detail-status-select option.status-evidence,
body.theme-dark .bulk-status-select option.status-evidence {
  background: rgba(208, 141, 43, 0.2);
  color: #ffd18a;
}

body.theme-dark .product-status-select option.status-ready,
body.theme-dark .detail-status-select option.status-ready,
body.theme-dark .bulk-status-select option.status-ready {
  background: rgba(89, 217, 158, 0.18);
  color: var(--green);
}

body.theme-dark .logout-button {
  background: rgba(255, 116, 116, 0.1);
  border-color: rgba(255, 116, 116, 0.3);
  color: #ff9b9b;
}

body.theme-dark input,
body.theme-dark select {
  border-color: var(--line-strong);
}

body.theme-dark .multi-filter-button,
body.theme-dark .multi-filter-menu,
body.theme-dark .action-menu-list {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

body.theme-dark .multi-filter-menu,
body.theme-dark .action-menu-list {
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

body.theme-dark .multi-filter-menu label:hover,
body.theme-dark .multi-filter-menu label:focus-within,
body.theme-dark .action-menu-list button:hover,
body.theme-dark .action-menu-list button:focus-visible {
  background: rgba(64, 210, 151, 0.12);
}

body.theme-dark .brand-panel,
body.theme-dark .auth-brand,
body.theme-dark .dashboard-hero {
  background:
    linear-gradient(135deg, rgba(30, 62, 48, 0.7), rgba(25, 48, 58, 0.52)),
    var(--surface);
}

body.theme-dark .brand-panel {
  background:
    linear-gradient(90deg, rgba(7, 25, 18, 0.88) 0%, rgba(7, 25, 18, 0.76) 42%, rgba(7, 25, 18, 0.32) 100%),
    url("../resources/landing-hero-passportbase.png") center right / cover no-repeat,
    #0d1f17;
}

body.theme-dark .dashboard-app,
body.theme-dark .dashboard-content {
  background: #0f1412;
}

body.theme-dark .dashboard-brand-banner {
  padding: 7px;
  border: 1px solid rgba(246, 251, 248, 0.28);
  border-radius: 8px;
  background: rgba(246, 251, 248, 0.78);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

body.theme-dark .dashboard-readiness {
  background: rgba(18, 28, 24, 0.86);
  border-color: rgba(89, 217, 158, 0.18);
}

body.theme-dark .dashboard-readiness strong,
body.theme-dark .dashboard-readiness span {
  color: var(--ink);
}

body.theme-dark .readiness-bar {
  background: rgba(89, 217, 158, 0.18);
}

body.theme-dark .primary-button {
  background: var(--green);
  border-color: var(--green);
  color: #0b1511;
}

body.theme-dark .primary-button:hover {
  background: #72e6ae;
}

body.theme-dark .primary-button:disabled {
  background: rgba(89, 217, 158, 0.32);
  border-color: rgba(89, 217, 158, 0.18);
  color: rgba(238, 246, 241, 0.72);
  opacity: 1;
}

body.theme-dark .secondary-button,
body.theme-dark .ghost-button,
body.theme-dark .workspace-settings-toggle,
body.theme-dark .icon-button {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

body.theme-dark .dashboard-nav button,
body.theme-dark .brand-copy,
body.theme-dark .dashboard-hero p:last-child,
body.theme-dark .publishing-control p,
body.theme-dark .section-heading p:last-child {
  color: #c7d6ce;
}

body.theme-dark .dashboard-nav button.active,
body.theme-dark .dashboard-nav button:hover,
body.theme-dark .workspace-settings-toggle:hover,
body.theme-dark .workspace-settings-toggle[aria-expanded="true"] {
  background: var(--green-soft);
}

body.theme-dark .dashboard-sidebar-footer,
body.theme-dark .dashboard-topbar,
body.theme-dark .dashboard-panel,
body.theme-dark .workspace-section,
body.theme-dark .metric-card,
body.theme-dark .status-pill,
body.theme-dark .product-table,
body.theme-dark .trend-card,
body.theme-dark .trend-development-panel,
body.theme-dark .operations-panel,
body.theme-dark .integrations-panel,
body.theme-dark .ops-row,
body.theme-dark .version-row,
body.theme-dark .gap-row,
body.theme-dark .confidence-row,
body.theme-dark .integration-card,
body.theme-dark .reuse-card,
body.theme-dark .public-trust-section,
body.theme-dark .business-choice-card,
body.theme-dark .plan-card,
body.theme-dark .terms-card,
body.theme-dark .plan-comparison,
body.theme-dark .detailed-plan-card,
body.theme-dark .product-detail-card > .modal-heading,
body.theme-dark .product-detail-footer,
body.theme-dark .detail-grid > div,
body.theme-dark .product-image-tile,
body.theme-dark .detail-evidence-row,
body.theme-dark .passport-category-summary span,
body.theme-dark .category-fields-panel,
body.theme-dark .evidence-item,
body.theme-dark .activity-list li,
body.theme-dark .publishing-control,
body.theme-dark .evidence-column,
body.theme-dark .evidence-empty,
body.theme-dark .api-key-reveal,
body.theme-dark .qr-standard-pill,
body.theme-dark .approval-bulk-toolbar,
body.theme-dark .public-preview-card,
body.theme-dark .settings-item,
body.theme-dark .api-grid > div {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: none;
}

body.theme-dark .product-table {
  background: #121b17;
  border-color: #32433b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

body.theme-dark .product-row {
  border-color: #26362f;
  color: #edf7f2;
}

body.theme-dark .product-row.header {
  background:
    linear-gradient(180deg, rgba(32, 45, 39, 0.98), rgba(24, 34, 30, 0.96));
  color: #9fb4aa;
}

body.theme-dark .product-row.actionable:hover {
  background: rgba(89, 217, 158, 0.08);
}

body.theme-dark .product-meta strong,
body.theme-dark .product-row strong,
body.theme-dark .product-row > span {
  color: #edf7f2;
}

body.theme-dark .product-meta small,
body.theme-dark .product-filter-count,
body.theme-dark .readiness-inline strong,
body.theme-dark .retention-row small,
body.theme-dark .evidence-card span,
body.theme-dark .evidence-empty span,
body.theme-dark .qr-card span,
body.theme-dark .settings-item span,
body.theme-dark .api-grid span,
body.theme-dark .ops-row small,
body.theme-dark .gap-row small,
body.theme-dark .confidence-row small,
body.theme-dark .version-row small,
body.theme-dark .integration-card small,
body.theme-dark .reuse-card small,
body.theme-dark .feature-list li,
body.theme-dark .publishing-control span,
body.theme-dark .publishing-control p {
  color: #a8b9b0;
}

body.theme-dark .readiness-risk-low em {
  background: rgba(89, 217, 158, 0.18);
  color: #8ff0bd;
}

body.theme-dark .readiness-risk-medium em {
  background: rgba(240, 189, 112, 0.18);
  color: #ffd58d;
}

body.theme-dark .readiness-risk-high em {
  background: rgba(255, 130, 121, 0.18);
  color: #ffaaa5;
}

body.theme-dark .mini-bar {
  background: rgba(89, 217, 158, 0.14);
}

body.theme-dark .product-status-select,
body.theme-dark .detail-status-select,
body.theme-dark .publishing-status-select,
body.theme-dark .bulk-status-select {
  box-shadow: none;
}

body.theme-dark .product-status-select.status-ready,
body.theme-dark .detail-status-select.status-ready,
body.theme-dark .publishing-status-select.status-approved,
body.theme-dark .publishing-status-select.status-published,
body.theme-dark .publishing-status-pill.status-approved,
body.theme-dark .publishing-status-pill.status-published,
body.theme-dark .qr-status.status-approved,
body.theme-dark .qr-status.status-published,
body.theme-dark .team-status,
body.theme-dark .team-presence.is-online {
  background: rgba(89, 217, 158, 0.16);
  color: #8ff0bd;
}

body.theme-dark .product-status-select.status-draft,
body.theme-dark .detail-status-select.status-draft,
body.theme-dark .publishing-status-select.status-pending,
body.theme-dark .publishing-status-pill.status-pending,
body.theme-dark .qr-status,
body.theme-dark .team-status.status-invited {
  background: rgba(127, 197, 227, 0.16);
  color: #9fd8ef;
}

body.theme-dark .product-status-select.status-evidence,
body.theme-dark .detail-status-select.status-evidence,
body.theme-dark .publishing-status-select.status-ready,
body.theme-dark .publishing-status-pill.status-ready,
body.theme-dark .qr-status.status-ready {
  background: rgba(240, 189, 112, 0.16);
  color: #ffd58d;
}

body.theme-dark .publishing-status-select.status-blocked,
body.theme-dark .publishing-status-pill.status-blocked {
  background: rgba(255, 130, 121, 0.14);
  color: #ffaaa5;
}

body.theme-dark .publishing-status-select.status-unpublished,
body.theme-dark .publishing-status-pill.status-unpublished,
body.theme-dark .qr-status.status-unpublished,
body.theme-dark .team-presence.is-offline {
  background: rgba(168, 185, 176, 0.12);
  color: #c7d6ce;
}

body.theme-dark .detail-title-edit input:focus,
body.theme-dark .detail-title-edit input:hover,
body.theme-dark .confirm-row,
body.theme-dark .invitation-row,
body.theme-dark .product-image-frame,
body.theme-dark .public-qr-large,
body.theme-dark .qr-preview,
body.theme-dark .api-copy-row code {
  background: #101714;
  border-color: var(--line-strong);
  color: var(--ink);
}

body.theme-dark .detail-billing-cell {
  background: rgba(240, 189, 112, 0.12) !important;
  border-color: rgba(240, 189, 112, 0.28) !important;
}

body.theme-dark .detail-grid strong small.detail-overage-warning,
body.theme-dark .plan-status-pill.overage-active {
  color: #ffd58d;
}

body.theme-dark .plan-status-pill,
body.theme-dark .public-trust-chips span.active,
body.theme-dark .connector-card-head em,
body.theme-dark .ops-chip-row em,
body.theme-dark .version-row > span,
body.theme-dark .gap-row em,
body.theme-dark .trend-latest span,
body.theme-dark .setting-pill,
body.theme-dark .toggle-pill,
body.theme-dark .import-context {
  background: rgba(89, 217, 158, 0.13);
  border-color: rgba(89, 217, 158, 0.24);
  color: #8ff0bd;
}

body.theme-dark .evidence-card:hover,
body.theme-dark .evidence-card:focus-visible,
body.theme-dark .reuse-card:hover,
body.theme-dark .reuse-card:focus-visible {
  background: rgba(89, 217, 158, 0.08);
  border-color: rgba(89, 217, 158, 0.28);
}

.dashboard-topbar {
  min-height: 88px;
  border-bottom: 1px solid rgba(220, 229, 223, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 248, 0.88)),
    rgba(255, 255, 255, 0.88);
  padding: 18px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 12;
  box-shadow: 0 12px 32px rgba(20, 33, 28, 0.06);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.dashboard-topbar h2 {
  font-size: 1.4rem;
  letter-spacing: 0;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.action-menu {
  position: relative;
}

.action-menu-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.86;
}

.action-menu-list {
  position: absolute;
  z-index: 45;
  top: calc(100% + 8px);
  right: 0;
  width: 260px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(20, 33, 28, 0.15);
  padding: 6px;
  display: none;
}

.action-menu.is-open .action-menu-list {
  display: grid;
  gap: 3px;
}

.action-menu-list button {
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  display: grid;
  gap: 3px;
  padding: 10px;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.action-menu-list button:hover,
.action-menu-list button:focus-visible {
  background: var(--green-soft);
  outline: none;
}

.action-menu-list strong {
  font-size: 0.88rem;
  font-weight: 950;
}

.action-menu-list small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.status-pill {
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 999px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.94)),
    #ffffff;
  color: #405047;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(20, 33, 28, 0.05);
}

.plan-status-pill {
  border-color: rgba(22, 132, 91, 0.28);
  background: #f8fffb;
  color: var(--green);
  cursor: pointer;
}

.plan-status-pill.limit-reached {
  border-color: rgba(178, 58, 72, 0.28);
  background: #fff6f6;
  color: var(--red);
}

.plan-status-pill.overage-active {
  border-color: rgba(198, 126, 32, 0.34);
  background: #fff8eb;
  color: #9b5b00;
}

.dashboard-content {
  padding: 28px 30px 40px;
  display: grid;
  gap: 22px;
  background:
    linear-gradient(180deg, rgba(247, 250, 248, 0.92), rgba(243, 246, 244, 0.76)),
    #f6f8f7;
}

.dashboard-view {
  display: none;
}

.dashboard-view.active {
  display: grid;
  gap: 22px;
}

.dashboard-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(231, 248, 240, 0.92) 42%, rgba(224, 241, 247, 0.86) 100%),
    #ffffff;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 460px);
  gap: 24px;
  align-items: center;
  box-shadow: 0 24px 64px rgba(20, 33, 28, 0.08);
  isolation: isolate;
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(7, 31, 26, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 31, 26, 0.14) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(90deg, #000 0%, #000 52%, transparent 100%);
}

.dashboard-hero::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 34%;
  background:
    linear-gradient(135deg, transparent 0%, rgba(47, 136, 184, 0.1) 48%, rgba(23, 168, 115, 0.08) 100%);
  pointer-events: none;
}

.dashboard-hero.status-clear {
  border-color: rgba(17, 135, 95, 0.16);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(231, 248, 240, 0.92) 42%, rgba(224, 241, 247, 0.86) 100%),
    #ffffff;
}

.dashboard-hero.status-attention {
  border-color: rgba(198, 134, 36, 0.28);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 244, 218, 0.92) 48%, rgba(247, 238, 209, 0.78) 100%),
    #ffffff;
}

.dashboard-hero.status-info {
  border-color: rgba(17, 135, 95, 0.24);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(226, 247, 238, 0.94) 48%, rgba(224, 241, 247, 0.82) 100%),
    #ffffff;
}

.dashboard-hero.status-urgent {
  border-color: rgba(198, 45, 45, 0.28);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 230, 230, 0.94) 48%, rgba(251, 239, 228, 0.78) 100%),
    #ffffff;
}

.dashboard-hero.status-attention .screen-kicker,
.dashboard-notifications.status-attention strong {
  color: var(--amber);
}

.dashboard-hero.status-info .screen-kicker,
.dashboard-notifications.status-info strong {
  color: var(--green);
}

.dashboard-hero.status-urgent .screen-kicker,
.dashboard-notifications.status-urgent strong {
  color: var(--red);
}

.dashboard-hero h3 {
  margin: 4px 0 8px;
  font-size: clamp(1.55rem, 2.2vw, 2.3rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.dashboard-hero p:last-child {
  color: #405047;
  line-height: 1.6;
  max-width: 680px;
}

.dashboard-hero-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-readiness,
.dashboard-notifications {
  border: 1px solid rgba(17, 135, 95, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  min-height: 106px;
  padding: 16px;
  display: grid;
  gap: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 16px 34px rgba(20, 33, 28, 0.07);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
}

.dashboard-notifications {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.dashboard-notifications:hover,
.dashboard-notifications:focus-visible {
  border-color: rgba(17, 135, 95, 0.38);
  box-shadow: 0 18px 38px rgba(20, 33, 28, 0.11);
  outline: none;
  transform: translateY(-2px);
}

.dashboard-notifications.status-attention {
  border-color: rgba(198, 134, 36, 0.32);
  background: rgba(255, 248, 230, 0.78);
}

.dashboard-notifications.status-info {
  border-color: rgba(22, 132, 91, 0.28);
  background: rgba(231, 248, 240, 0.78);
}

.dashboard-notifications.status-urgent {
  border-color: rgba(198, 45, 45, 0.32);
  background: rgba(255, 236, 236, 0.8);
}

.notification-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  flex: 0 0 auto;
}

.dashboard-notifications.status-attention .notification-icon {
  background: var(--amber-soft);
  color: var(--amber);
}

.dashboard-notifications.status-info .notification-icon {
  background: var(--green-soft);
  color: var(--green);
}

.dashboard-notifications.status-urgent .notification-icon {
  background: rgba(198, 45, 45, 0.12);
  color: #c62d2d;
}

.notification-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.dashboard-readiness span,
.dashboard-notifications small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.dashboard-notifications strong {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 2px;
}

.notification-summary-list {
  display: grid;
  gap: 10px;
}

.notification-search-field {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.notification-search-field span {
  font-size: 0.78rem;
  font-weight: 900;
}

.notification-search-field input {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
}

.notification-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.notification-mode-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.notification-mode-bar button,
.notification-filter-bar button {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 900;
}

.notification-mode-bar button.active,
.notification-filter-bar button.active {
  border-color: rgba(22, 132, 91, 0.35);
  background: var(--green-soft);
  color: var(--green);
}

.notification-mode-bar strong,
.notification-filter-bar strong {
  min-width: 22px;
  border-radius: 999px;
  background: rgba(22, 132, 91, 0.1);
  padding: 2px 7px;
  text-align: center;
  font-size: 0.76rem;
}

.notification-summary-item,
.notification-empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  min-height: 96px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 16px;
  text-align: left;
}

.notification-summary-item {
  cursor: pointer;
  position: relative;
}

.notification-summary-item:hover,
.notification-summary-item:focus-visible {
  border-color: rgba(22, 132, 91, 0.38);
  box-shadow: 0 12px 28px rgba(25, 38, 31, 0.08);
  outline: none;
}

.notification-summary-item.status-attention {
  border-color: rgba(198, 134, 36, 0.28);
  background: rgba(255, 248, 230, 0.62);
}

.notification-summary-item.status-info {
  border-color: rgba(22, 132, 91, 0.22);
  background: rgba(231, 248, 240, 0.56);
}

.notification-summary-item.status-urgent {
  border-color: rgba(198, 45, 45, 0.28);
  background: rgba(255, 236, 236, 0.64);
}

.notification-summary-item .notification-kind,
.notification-empty-state span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.notification-summary-item strong,
.notification-empty-state strong {
  font-size: 1rem;
}

.notification-summary-item small,
.notification-empty-state small {
  color: var(--muted);
  line-height: 1.45;
}

.notification-actions {
  align-self: center;
  grid-column: 2;
  grid-row: 1 / span 3;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.notification-actions em {
  border: 1px solid rgba(22, 132, 91, 0.2);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.notification-dismiss {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 950;
  line-height: 1;
}

.notification-dismiss:hover,
.notification-dismiss:focus-visible {
  border-color: rgba(198, 45, 45, 0.35);
  color: var(--red);
  outline: none;
}

.notification-empty-state {
  grid-template-columns: 1fr;
}

body.theme-dark .dashboard-hero.status-clear {
  border-color: rgba(89, 217, 158, 0.2);
  background:
    linear-gradient(135deg, rgba(30, 62, 48, 0.7), rgba(25, 48, 58, 0.52)),
    var(--surface);
}

body.theme-dark .dashboard-hero.status-attention {
  border-color: rgba(240, 189, 112, 0.28);
  background:
    linear-gradient(135deg, rgba(81, 61, 24, 0.78), rgba(48, 43, 27, 0.68)),
    var(--surface);
}

body.theme-dark .dashboard-hero.status-info {
  border-color: rgba(89, 217, 158, 0.26);
  background:
    linear-gradient(135deg, rgba(30, 62, 48, 0.76), rgba(25, 48, 58, 0.58)),
    var(--surface);
}

body.theme-dark .dashboard-hero.status-urgent {
  border-color: rgba(255, 130, 121, 0.32);
  background:
    linear-gradient(135deg, rgba(81, 35, 35, 0.78), rgba(45, 31, 29, 0.7)),
    var(--surface);
}

body.theme-dark .dashboard-notifications {
  background: rgba(18, 28, 24, 0.86);
  border-color: rgba(89, 217, 158, 0.18);
}

body.theme-dark .dashboard-notifications.status-attention {
  background: rgba(52, 43, 27, 0.92);
  border-color: rgba(240, 189, 112, 0.26);
}

body.theme-dark .dashboard-notifications.status-info {
  background: rgba(25, 52, 41, 0.92);
  border-color: rgba(89, 217, 158, 0.24);
}

body.theme-dark .dashboard-notifications.status-urgent {
  background: rgba(54, 30, 30, 0.92);
  border-color: rgba(255, 130, 121, 0.28);
}

body.theme-dark .notification-summary-item,
body.theme-dark .notification-empty-state {
  background: var(--surface);
  border-color: var(--line-strong);
}

body.theme-dark .notification-mode-bar button,
body.theme-dark .notification-filter-bar button {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

body.theme-dark .notification-mode-bar button.active,
body.theme-dark .notification-filter-bar button.active {
  background: rgba(89, 217, 158, 0.14);
  border-color: rgba(89, 217, 158, 0.3);
  color: #90edbd;
}

body.theme-dark .notification-search-field input {
  background: var(--surface);
  border-color: var(--line-strong);
}

body.theme-dark .notification-summary-item.status-attention {
  background: rgba(52, 43, 27, 0.92);
  border-color: rgba(240, 189, 112, 0.26);
}

body.theme-dark .notification-summary-item.status-info {
  background: rgba(25, 52, 41, 0.88);
  border-color: rgba(89, 217, 158, 0.24);
}

body.theme-dark .notification-summary-item.status-urgent {
  background: rgba(54, 30, 30, 0.92);
  border-color: rgba(255, 130, 121, 0.28);
}

body.theme-dark .notification-actions em {
  border-color: rgba(89, 217, 158, 0.22);
}

body.theme-dark .notification-dismiss {
  background: var(--surface);
  border-color: var(--line-strong);
}

.dashboard-readiness strong {
  font-size: 1.9rem;
  letter-spacing: 0;
}

.readiness-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(17, 135, 95, 0.13);
  overflow: hidden;
}

.readiness-bar span {
  display: block;
  width: 18%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--brand-teal), var(--brand-cyan));
  box-shadow: 0 0 18px rgba(17, 135, 95, 0.24);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card,
.dashboard-panel {
  border: 1px solid rgba(220, 229, 223, 0.94);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.92)),
    #ffffff;
  box-shadow: 0 18px 46px rgba(20, 33, 28, 0.065);
}

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  display: grid;
  gap: 5px;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  min-height: 118px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover,
.metric-card:focus-visible {
  border-color: rgba(17, 135, 95, 0.34);
  box-shadow: 0 24px 54px rgba(20, 33, 28, 0.11);
  transform: translateY(-3px);
  outline: none;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-mint), var(--brand-cyan), var(--brand-gold));
  opacity: 0.8;
}

.metric-card::after {
  content: "Open";
  justify-self: end;
  align-self: end;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 900;
  opacity: 0;
}

.metric-card:hover::after,
.metric-card:focus-visible::after {
  opacity: 1;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.metric-grid strong {
  font-size: 1.78rem;
  letter-spacing: 0;
}

.metric-grid small {
  color: var(--muted);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  gap: 16px;
  align-items: start;
}

.dashboard-panel {
  padding: 18px;
}

.workspace-section {
  border: 1px solid rgba(220, 229, 223, 0.94);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.92)),
    #ffffff;
  padding: 22px;
  box-shadow: 0 18px 46px rgba(20, 33, 28, 0.065);
}

.section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading h3 {
  font-size: 1.34rem;
  margin-bottom: 6px;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.section-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.import-products-button {
  border-color: rgba(17, 135, 95, 0.28);
  background: rgba(223, 243, 233, 0.62);
  color: var(--green);
}

.import-products-button:hover,
.import-products-button:focus-visible {
  background: rgba(223, 243, 233, 0.86);
  border-color: rgba(17, 135, 95, 0.44);
}

.operations-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.operations-panel {
  min-width: 0;
  border: 1px solid rgba(17, 135, 95, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
  display: grid;
  gap: 12px;
}

.wide-panel {
  grid-column: 1 / -1;
}

.integrations-panel {
  margin-top: 4px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(223, 243, 233, 0.34), rgba(255, 255, 255, 0.9)),
    rgba(255, 255, 255, 0.86);
}

.panel-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.panel-heading-row span,
.ops-row span,
.integration-card span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-heading-row strong {
  display: block;
  font-size: 0.98rem;
}

.supplier-request-list,
.certificate-alert-list,
.ai-assistant-list,
.version-timeline,
.gap-scanner,
.confidence-graph,
.integration-roadmap,
.reuse-library {
  display: grid;
  gap: 9px;
}

.ops-row,
.version-row,
.gap-row,
.confidence-row,
.integration-card,
.reuse-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.ops-row,
.gap-row,
.confidence-row,
.version-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.ops-row strong,
.gap-row strong,
.confidence-row strong,
.version-row strong,
.integration-card strong,
.reuse-card strong {
  display: block;
  overflow-wrap: anywhere;
}

.ops-row small,
.gap-row small,
.confidence-row small,
.version-row small,
.integration-card small,
.reuse-card small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.ops-chip-row,
.ops-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ops-chip-row em {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  padding: 3px 7px;
}

.reuse-library,
.integration-roadmap {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.integrations-panel .integration-roadmap {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.integration-roadmap-standalone {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.integration-card {
  display: grid;
  gap: 8px;
  grid-template-rows: auto auto minmax(58px, 1fr) auto auto;
}

.integration-card.configured {
  border-color: rgba(17, 135, 95, 0.36);
  background:
    linear-gradient(135deg, rgba(223, 243, 233, 0.62), rgba(255, 255, 255, 0.95)),
    #ffffff;
}

.connector-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.connector-card-head em {
  min-width: 38px;
  min-height: 28px;
  border: 1px solid rgba(17, 135, 95, 0.16);
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
}

.connector-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 2px;
}

.connector-actions .compact-action {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
  padding-inline: 10px;
  font-size: 0.76rem;
}

.connector-config-card {
  width: min(760px, calc(100vw - 24px));
}

.connector-config-form {
  display: grid;
  gap: 12px;
}

.connector-mapping-preview {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 10px;
  display: grid;
  gap: 8px;
}

.connector-mapping-preview span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.connector-mapping-preview pre {
  max-height: 220px;
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
}

.reuse-card {
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.version-row > span,
.gap-row em {
  width: max-content;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-style: normal;
  font-weight: 900;
  padding: 4px 8px;
}

.confidence-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

.confidence-steps span {
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  padding: 4px 7px;
}

.confidence-steps span.active {
  border-color: rgba(17, 135, 95, 0.32);
  background: var(--green-soft);
  color: var(--green);
}

.supplier-request-card {
  width: min(720px, calc(100vw - 28px));
}

.supplier-request-form {
  display: grid;
  gap: 12px;
}

.supplier-request-form fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.supplier-request-form legend {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  padding: 0 4px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 760;
}

.public-trust-section {
  border-color: rgba(17, 135, 95, 0.2);
  background: linear-gradient(180deg, rgba(231, 248, 239, 0.72), rgba(255, 255, 255, 0.92));
}

.public-trust-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.public-trust-heading p {
  margin: 4px 0 0;
  color: var(--muted);
}

.public-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.public-trust-chips span {
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 5px 9px;
  font-size: 0.8rem;
  font-weight: 850;
}

.public-trust-chips span.active {
  border-color: rgba(17, 135, 95, 0.28);
  background: #fff;
  color: var(--green);
}

.public-trust-chips strong {
  margin-right: 5px;
}

.public-confidence-graph {
  display: grid;
  gap: 8px;
}

.public-confidence-graph .confidence-row {
  grid-template-columns: 1fr;
  align-items: start;
}

.public-confidence-graph .confidence-row > div:first-child,
.confidence-row > div:first-child,
.confidence-steps {
  min-width: 0;
}

.public-confidence-graph .confidence-steps {
  justify-content: flex-start;
}

@media (max-width: 1180px) {
  .integrations-panel .integration-roadmap,
  .integration-roadmap-standalone {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .integrations-panel .integration-roadmap,
  .integration-roadmap-standalone {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 760px) {
  .operations-grid,
  .trust-grid,
  .reuse-library,
  .integrations-panel .integration-roadmap,
  .integration-roadmap-standalone,
  .integration-roadmap,
  .supplier-request-form fieldset {
    grid-template-columns: 1fr;
  }

  .ops-row,
  .gap-row,
  .confidence-row,
  .version-row {
    grid-template-columns: 1fr;
  }

  .public-trust-heading {
    flex-direction: column;
  }

  .confidence-steps {
    justify-content: flex-start;
  }
}

.toolbar-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.product-toolbar-row {
  grid-template-columns: minmax(220px, 1fr) 180px 220px;
}

.filter-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.filter-field > span,
.search-field > span {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.multi-filter {
  position: relative;
  min-width: 0;
}

.multi-filter-button {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.multi-filter-button::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.72;
  flex: 0 0 auto;
}

.multi-filter.is-open .multi-filter-button {
  border-color: rgba(22, 132, 91, 0.72);
  box-shadow: 0 0 0 3px rgba(22, 132, 91, 0.12);
}

.multi-filter-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 210px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 36px rgba(20, 33, 28, 0.14);
  padding: 6px;
  display: none;
}

.multi-filter.is-open .multi-filter-menu {
  display: grid;
  gap: 2px;
}

.multi-filter-menu label {
  min-height: 34px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  padding: 6px 8px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 850;
  cursor: pointer;
}

.multi-filter-menu label:hover,
.multi-filter-menu label:focus-within {
  background: var(--green-soft);
}

.multi-filter-menu input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--green);
}

.product-filter-count {
  margin: -4px 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.search-field input {
  min-height: 42px;
}

.product-bulk-toolbar {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto auto minmax(120px, 1fr);
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(22, 132, 91, 0.2);
  border-radius: 8px;
  background: var(--green-soft);
}

.product-bulk-toolbar[hidden] {
  display: none;
}

.product-bulk-toolbar > span {
  font-weight: 900;
  color: var(--green);
}

.product-bulk-toolbar > div {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.product-bulk-toolbar small {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.compact-action {
  min-height: 34px;
  padding: 0 14px;
}

.bulk-status-select {
  width: 150px;
  min-height: 34px;
  border-radius: 8px;
  padding: 0 10px;
  font-weight: 900;
  background: var(--surface);
}

.danger-button {
  border: 1px solid rgba(203, 67, 67, 0.34);
  border-radius: 8px;
  background: rgba(203, 67, 67, 0.1);
  color: #b73535;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.danger-button:hover,
.danger-button:focus-visible {
  background: rgba(203, 67, 67, 0.16);
  outline: none;
}

.product-panel {
  grid-row: span 3;
}

.panel-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-heading h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
  letter-spacing: 0;
}

.panel-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.9rem;
}

.product-table {
  display: grid;
  border: 1px solid rgba(220, 229, 223, 0.94);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.dashboard-trend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trend-card {
  min-width: 0;
  border: 1px solid rgba(220, 229, 223, 0.94);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 248, 0.82)),
    #ffffff;
  padding: 15px;
  display: grid;
  gap: 12px;
  box-shadow: 0 12px 30px rgba(20, 33, 28, 0.045);
}

.trend-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.trend-card-heading strong {
  font-size: 0.98rem;
}

.trend-card-heading small,
.trend-legend,
.trend-latest span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.trend-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trend-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trend-legend i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.trend-expand-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink);
  padding: 6px 9px;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.trend-expand-button:hover {
  border-color: rgba(15, 135, 92, 0.32);
  background: rgba(231, 248, 240, 0.72);
}

.trend-toggle-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.trend-summary-bar {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 8px;
}

.trend-summary-bar > span,
.trend-summary-bar > strong {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.trend-track {
  height: 14px;
  display: flex;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(103, 117, 108, 0.12);
}

.trend-track i {
  min-width: 0;
}

.trend-development-panel {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 14px;
}

.trend-development-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.trend-development-heading strong {
  font-size: 0.98rem;
  line-height: 1.3;
}

.trend-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.trend-controls label {
  display: grid;
  gap: 4px;
  min-width: 150px;
}

.trend-controls span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.trend-controls select {
  min-height: 34px;
}

.trend-line-chart {
  width: 100%;
  min-height: 260px;
  overflow: visible;
}

.trend-line-chart text {
  fill: var(--muted);
  font-size: 0.7rem;
  font-weight: 850;
}

.trend-axis {
  stroke: rgba(103, 117, 108, 0.34);
  stroke-width: 1.2;
}

.trend-gridline line {
  stroke: rgba(103, 117, 108, 0.12);
  stroke-width: 1;
}

.trend-line-series {
  fill: none !important;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trend-line-dot {
  stroke: #ffffff;
  stroke-width: 2.5;
}

.trend-line-chart .trend-draft,
.trend-line-chart .trend-blocked {
  stroke: #9aa8b3;
  fill: #9aa8b3;
}

.trend-line-chart .trend-evidence,
.trend-line-chart .trend-pub-ready {
  stroke: #d79c38;
  fill: #d79c38;
}

.trend-line-chart .trend-ready,
.trend-line-chart .trend-published {
  stroke: var(--green);
  fill: var(--green);
}

.trend-line-chart .trend-pending {
  stroke: #2d74a8;
  fill: #2d74a8;
}

.trend-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 16px;
  font-weight: 850;
}

.trend-latest {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}

.trend-latest span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  padding: 5px 8px;
}

.trend-latest strong {
  color: var(--ink);
}

.trend-draft,
.trend-blocked {
  background: #dfe7ee;
}

.trend-evidence,
.trend-pub-ready {
  background: #f2c879;
}

.trend-ready,
.trend-published {
  background: var(--green);
}

.trend-pending {
  background: #2d74a8;
}

.product-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 120px 112px 92px;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(220, 229, 223, 0.84);
}

.product-table.expanded .product-row {
  grid-template-columns: 38px minmax(180px, 1fr) 140px 120px 140px 118px 110px;
}

.product-row:last-child {
  border-bottom: 0;
}

.product-row.header {
  min-height: 38px;
  background:
    linear-gradient(180deg, rgba(247, 250, 248, 0.96), rgba(238, 244, 240, 0.92));
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.product-row.actionable {
  cursor: pointer;
}

.product-row.actionable:hover {
  background: rgba(247, 250, 248, 0.9);
}

.product-table.expanded .row-check {
  cursor: default;
}

.product-row.selected {
  background: rgba(22, 132, 91, 0.08);
}

.product-row.product-highlight {
  animation: productCreatedPulse 3.2s ease-out;
  background: rgba(89, 217, 158, 0.2);
  box-shadow: inset 4px 0 0 var(--green);
}

.product-row.empty {
  grid-template-columns: 1fr !important;
  min-height: 190px;
  color: var(--muted);
  font-weight: 850;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(22, 132, 91, 0.04), rgba(48, 128, 155, 0.04)),
    var(--surface);
}

.product-empty-state {
  width: min(460px, 100%);
  display: grid;
  justify-items: center;
  gap: 9px;
  text-align: center;
}

.product-empty-state span {
  color: var(--green-strong);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-empty-state strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.product-empty-state small {
  max-width: 390px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.row-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
}

.row-check input {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.row-check input::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2.5px 2.5px 0;
  opacity: 0;
  transform: translate(-50%, -58%) rotate(45deg) scale(0.72);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.row-check input:checked {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 6px 14px rgba(22, 132, 91, 0.14);
}

.row-check input:checked::after {
  opacity: 1;
  transform: translate(-50%, -58%) rotate(45deg) scale(1);
}

.row-check input:hover {
  border-color: rgba(22, 132, 91, 0.62);
}

.row-check input:focus-visible {
  outline: 3px solid rgba(22, 132, 91, 0.16);
  outline-offset: 3px;
}

body.theme-dark .row-check input {
  background: #101714;
  border-color: var(--line-strong);
}

.product-meta {
  display: grid;
  gap: 3px;
}

.product-meta small {
  color: var(--muted);
  font-weight: 750;
}

.readiness-inline {
  display: grid;
  gap: 5px;
}

.readiness-inline strong {
  font-size: 0.92rem;
}

.readiness-inline em {
  width: max-content;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 850;
}

.readiness-risk-low em {
  color: #0f5f39;
  background: #dff7e9;
}

.readiness-risk-medium em {
  color: #765200;
  background: #fff1c9;
}

.readiness-risk-high em {
  color: #8e231f;
  background: #ffe0dd;
}

.mini-bar {
  height: 6px;
  width: 86px;
  border-radius: 999px;
  background: rgba(22, 132, 91, 0.14);
  overflow: hidden;
}

.mini-bar span {
  display: block;
  height: 100%;
  background: var(--green);
}

.product-row strong,
.product-row span {
  overflow-wrap: anywhere;
}

.product-status {
  border-radius: 999px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  font-size: 0.76rem;
  font-weight: 900;
  background: var(--amber-soft);
  color: var(--amber);
}

.product-status.ready {
  background: var(--green-soft);
  color: var(--green);
}

.product-status.draft {
  background: var(--blue-soft);
  color: var(--blue);
}

.publishing-status-pill {
  border: 1px solid rgba(103, 117, 108, 0.12);
  border-radius: 8px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 900;
  background: var(--surface-2);
  color: var(--muted);
  width: max-content;
  max-width: 100%;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.publishing-status-pill.status-ready {
  background: var(--amber-soft);
  color: var(--amber);
}

.publishing-status-pill.status-pending {
  background: var(--blue-soft);
  color: var(--blue);
}

.publishing-status-pill.status-published {
  background: var(--green-soft);
  color: var(--green);
}

.publishing-status-pill.status-approved {
  background: var(--green-soft);
  color: var(--green);
}

.publishing-status-pill.status-unpublished {
  background: rgba(103, 117, 108, 0.12);
  color: var(--muted);
}

.product-status-select,
.detail-status-select,
.publishing-status-select {
  width: min(140px, 100%);
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  padding: 0 28px 0 12px;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
  color: var(--amber);
  background-color: var(--amber-soft);
  box-shadow: 0 8px 18px rgba(20, 33, 28, 0.04);
}

.publishing-status-select {
  width: min(180px, 100%);
  color: var(--muted);
  background-color: var(--surface-2);
}

.product-status-select.status-ready,
.detail-status-select.status-ready,
.publishing-status-select.status-approved,
.publishing-status-select.status-published {
  background-color: var(--green-soft);
  color: var(--green);
}

.product-status-select.status-draft,
.detail-status-select.status-draft,
.publishing-status-select.status-pending {
  background-color: var(--blue-soft);
  color: var(--blue);
}

.publishing-status-select.status-ready {
  background-color: var(--amber-soft);
  color: var(--amber);
}

.publishing-status-select.status-unpublished {
  background-color: rgba(103, 117, 108, 0.12);
  color: var(--muted);
}

.detail-status-select {
  width: auto;
  min-width: 98px;
  max-width: 100%;
  min-height: 32px;
  margin-top: 2px;
  border-radius: 8px;
  justify-self: start;
  align-self: start;
  font-size: 0.82rem;
}

.product-status-select option,
.detail-status-select option,
.publishing-status-select option,
.bulk-status-select option {
  background: #ffffff;
  color: var(--ink);
  font-weight: 850;
}

.product-status-select option.status-draft,
.detail-status-select option.status-draft,
.bulk-status-select option.status-draft {
  background: var(--blue-soft);
  color: var(--blue);
}

.product-status-select option.status-evidence,
.detail-status-select option.status-evidence,
.bulk-status-select option.status-evidence {
  background: var(--amber-soft);
  color: var(--amber);
}

.product-status-select option.status-ready,
.detail-status-select option.status-ready,
.bulk-status-select option.status-ready {
  background: var(--green-soft);
  color: var(--green);
}

.product-retention-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.retention-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px;
}

.retention-card > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.retention-card > strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.retention-card > div > small {
  color: var(--muted);
  font-weight: 800;
}

.retention-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.field-hint {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
  line-height: 1.34;
  max-width: 28ch;
}

.evidence-upload-field {
  display: grid;
  gap: 10px;
}

.upload-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.upload-heading > div {
  display: grid;
  gap: 5px;
}

.upload-heading span:first-child {
  font-weight: 900;
  font-size: 0.9rem;
}

.upload-heading small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.4;
}

.encryption-pill {
  flex: 0 0 auto;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 900;
}

.file-dropzone {
  min-height: 92px;
  border: 1px dashed rgba(22, 132, 91, 0.42);
  border-radius: 8px;
  background: rgba(22, 132, 91, 0.05);
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 14px;
  text-align: center;
  cursor: pointer;
}

.file-dropzone:hover,
.file-dropzone:focus-within {
  background: rgba(22, 132, 91, 0.09);
  border-color: rgba(22, 132, 91, 0.62);
}

.file-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-dropzone strong {
  font-size: 0.98rem;
}

.file-dropzone small {
  color: var(--muted);
  font-weight: 750;
}

.upload-list {
  display: grid;
  gap: 7px;
}

.upload-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 9px 11px;
}

.upload-row strong {
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.upload-row small {
  color: var(--muted);
  font-weight: 850;
  white-space: nowrap;
}

.confirm-card > p {
  margin: -4px 0 14px;
  color: var(--muted);
  line-height: 1.5;
}

.confirm-list {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.invitation-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.invitation-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.invitation-row > div:first-child {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.invitation-row small {
  color: var(--muted);
  font-weight: 850;
}

.invitation-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.confirm-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
}

.confirm-row small {
  color: var(--muted);
  font-weight: 850;
}

.trash-retention-row {
  display: grid;
  align-items: center;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 9px 4px;
}

.trash-retention-row.selected {
  background: rgba(22, 132, 91, 0.08);
}

.trash-retention-row > div:first-child {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.trash-retention-row strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trash-retention-row small {
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: left;
}

.trash-bulk-toolbar {
  min-height: 44px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--green-soft);
}

.trash-bulk-toolbar > span {
  color: var(--green);
  font-weight: 900;
}

.trash-bulk-toolbar > div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.retention-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}

.split-actions {
  justify-content: space-between;
}

.confirm-input {
  display: grid;
  gap: 7px;
  margin: 14px 0 4px;
}

.confirm-input span {
  font-weight: 900;
  font-size: 0.84rem;
}

.product-detail-card {
  width: min(820px, 100%);
}

.modal-card.product-detail-card {
  max-height: min(900px, calc(100dvh - 48px));
  overflow-y: auto;
  display: block;
  padding-bottom: 0;
}

#productDetailModal {
  place-items: start center;
  align-items: start;
  align-content: start;
  padding: 0 24px 24px;
}

.product-detail-card > .modal-heading {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #ffffff;
  margin: -22px -22px 12px;
  border-bottom: 1px solid var(--line);
  padding: 6px 22px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

#productDetailModal .product-detail-card > .modal-heading {
  margin: 0 -22px 12px !important;
  padding-top: 10px;
}

.product-detail-card > .modal-heading > div:first-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.product-detail-card .modal-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.detail-title-edit {
  max-width: min(100%, 560px);
  margin: 0;
  display: grid;
}

.detail-title-edit span {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.detail-title-edit input {
  width: 100%;
  min-height: 32px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  padding: 0 2px;
  font-size: clamp(1.24rem, 3vw, 1.55rem);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: 0;
}

.detail-title-edit input:focus {
  border-color: rgba(22, 132, 91, 0.52);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 132, 91, 0.12);
  outline: none;
}

.detail-title-edit input:hover {
  border-color: rgba(185, 198, 183, 0.72);
  background: rgba(255, 255, 255, 0.66);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.detail-grid > div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 10px 12px;
  display: grid;
  align-content: start;
  align-items: start;
  gap: 4px;
}

.detail-grid span,
.detail-section p,
.detail-evidence-row small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.detail-grid strong {
  max-width: 100%;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.25;
  justify-self: start;
  align-self: start;
  overflow-wrap: anywhere;
}

.detail-grid .publishing-status-pill {
  width: 100%;
  min-width: 0;
  justify-content: center;
  padding: 5px 8px;
  font-size: clamp(0.68rem, 0.74rem, 0.78rem);
}

.detail-billing-cell {
  border-color: rgba(198, 126, 32, 0.28) !important;
  background: #fffaf0 !important;
  grid-column: span 2;
}

.detail-grid strong small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.detail-grid strong small.detail-overage-warning {
  color: #9b5b00;
}

.detail-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.product-detail-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 18px -22px 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 14px 22px;
  display: flex;
  justify-content: flex-end;
}

.product-detail-footer .primary-button.has-pending-changes {
  background: linear-gradient(135deg, #12875f 0%, #1ca778 52%, #66d6a5 100%);
  border-color: rgba(18, 135, 95, 0.42);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(18, 135, 95, 0.24);
}

.product-detail-footer .primary-button.has-pending-changes:hover,
.product-detail-footer .primary-button.has-pending-changes:focus-visible {
  box-shadow: 0 14px 32px rgba(18, 135, 95, 0.3);
}

.product-detail-discard-card {
  max-width: 430px;
}

.product-detail-discard-card > p:not(.screen-kicker) {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.product-detail-discard-card .form-actions {
  margin: 0 -28px -24px;
}

.detail-section h4 {
  margin-bottom: 4px;
}

.detail-section p {
  margin: 0 0 12px;
}

.detail-section-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-section-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.evidence-detail-upload {
  flex: 0 0 auto;
  cursor: pointer;
}

.evidence-detail-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.evidence-detail-upload.is-busy {
  opacity: 0.62;
  pointer-events: none;
}

.evidence-detail-upload.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.icon-action-button {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border-radius: 8px;
}

.icon-action-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.green-icon-action {
  border-color: rgba(22, 132, 91, 0.32);
  background: var(--green-soft);
  color: var(--green);
}

.green-icon-action:hover,
.green-icon-action:focus-visible {
  border-color: rgba(22, 132, 91, 0.52);
  background: rgba(22, 132, 91, 0.16);
}

.detail-evidence-list {
  display: grid;
  gap: 8px;
}

.product-image-manager {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.product-image-tile {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 8px;
  display: grid;
  gap: 8px;
}

.product-image-tile.is-primary {
  border-color: rgba(22, 132, 91, 0.38);
  box-shadow: 0 0 0 3px rgba(89, 217, 158, 0.13);
}

.product-image-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.product-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-image-frame span {
  position: absolute;
  left: 8px;
  top: 8px;
  border-radius: 999px;
  background: rgba(16, 32, 25, 0.86);
  color: #ffffff;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 900;
}

.product-image-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.product-image-meta strong,
.product-image-meta small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-image-meta small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
}

.product-image-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}

.product-image-actions .compact-action {
  min-width: 0;
  flex: 1 1 auto;
}

.detail-evidence-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 10px 12px;
}

.detail-evidence-row.is-pending {
  border-color: rgba(18, 135, 95, 0.26);
  background: rgba(226, 248, 238, 0.54);
}

.detail-evidence-row > div {
  display: grid;
  gap: 4px;
}

.detail-evidence-actions {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 8px;
  min-width: 92px;
}

.detail-evidence-actions span {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  white-space: nowrap;
}

.passport-data-summary {
  display: grid;
  gap: 8px;
}

.passport-data-summary strong {
  display: block;
}

.passport-data-summary small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.5;
}

.passport-category-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 4px;
}

.passport-category-summary span {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 9px 10px;
}

.passport-category-summary strong,
.passport-category-summary small {
  display: block;
  overflow-wrap: anywhere;
}

.category-fields-panel {
  border: 1px solid rgba(22, 132, 91, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 243, 233, 0.76), rgba(224, 241, 247, 0.48)),
    var(--surface-2);
  padding: 14px;
}

.category-fields-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.category-fields-heading strong,
.category-fields-heading small {
  display: block;
}

.category-fields-heading small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  margin-top: 2px;
}

.category-fields-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.import-context {
  margin-top: 14px;
  border: 1px solid rgba(22, 132, 91, 0.22);
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green);
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 900;
}

.detail-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  padding: 14px;
  font-weight: 850;
}

.retention-row strong {
  font-size: 0.88rem;
}

.retention-row small {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.evidence-list,
.activity-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.evidence-item,
.activity-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--surface-2);
}

.evidence-item {
  display: grid;
  gap: 5px;
}

.evidence-item span,
.activity-list small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.evidence-item strong {
  font-size: 0.95rem;
}

.publishing-control {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 14px;
  display: grid;
  gap: 6px;
}

.publishing-control span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.publishing-control p {
  margin: 0;
  color: #405047;
  line-height: 1.45;
}

.business-choice-grid,
.plan-grid,
.terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.plan-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.passport-value-grid {
  margin-bottom: 18px;
}

.screen-copy {
  max-width: 820px;
}

.plan-card {
  flex: 1 1 250px;
  max-width: 272px;
  min-height: 342px;
}

.business-choice-card,
.plan-card,
.terms-card,
.plan-comparison {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.business-choice-card,
.plan-card {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
}

.business-choice-card .secondary-button,
.plan-card .secondary-button {
  align-self: end;
  margin-top: auto;
  width: 100%;
}

.business-choice-card input,
.plan-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.business-choice-card.selected,
.plan-card.selected {
  border-color: rgba(22, 132, 91, 0.55);
  background: #f8fffb;
  box-shadow: inset 4px 0 0 var(--green);
}

.business-choice-card.selected::after,
.plan-card.selected::after {
  content: "\2713";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 0 0 5px var(--green-soft);
}

.business-choice-card.selected .secondary-button,
.plan-card.selected .secondary-button {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.plan-card.trial-offer {
  border-color: rgba(240, 189, 112, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 229, 0.98) 48%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow:
    inset 0 0 0 1px rgba(240, 189, 112, 0.2),
    0 16px 30px rgba(240, 189, 112, 0.12);
}

.plan-card.trial-offer.selected {
  border-color: rgba(232, 169, 79, 0.9);
  background:
    linear-gradient(135deg, #ffffff 0%, #fff4cf 48%, #fffaf0 100%);
  box-shadow:
    inset 4px 0 0 #e8a94f,
    inset 0 0 0 1px rgba(240, 189, 112, 0.24),
    0 18px 34px rgba(240, 189, 112, 0.18);
}

.plan-card.trial-offer.selected::after {
  background: #e8a94f;
  color: #122119;
  box-shadow: 0 0 0 5px rgba(240, 189, 112, 0.22);
}

.plan-card.trial-offer.selected .secondary-button {
  border-color: rgba(255, 224, 158, 0.82);
  background:
    linear-gradient(135deg, #ffffff 0%, #fff4cf 48%, #f0bd70 100%);
  color: #122119;
}

.business-choice-card span,
.plan-card span,
.terms-card small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1.45;
}

.plan-card .trial-badge {
  width: max-content;
  max-width: calc(100% - 44px);
  border: 1px solid rgba(232, 169, 79, 0.56);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #fffaf0 0%, #ffe5a5 100%);
  color: #7d4d09;
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.business-choice-card p,
.plan-card p {
  margin: 0;
  color: #405047;
  line-height: 1.45;
}

.business-choice-card small,
.plan-card small {
  color: var(--muted);
  line-height: 1.45;
}

.check-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #405047;
  font-size: 0.84rem;
  font-weight: 760;
  line-height: 1.42;
}

.check-list li {
  position: relative;
  padding-left: 23px;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.08rem;
  width: 15px;
  height: 15px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 950;
}

.check-list .trial-copy {
  color: #7d4d09;
  font-weight: 900;
}

.check-list .trial-copy::before {
  background: rgba(240, 189, 112, 0.28);
  color: #9a610f;
}

.terms-card .check-list {
  margin-top: 6px;
}

.builder-data-config,
.retail-registry-config {
  display: grid;
  gap: 14px;
}

.builder-data-config[hidden],
.retail-registry-config[hidden] {
  display: none;
}

.registry-intro {
  border: 1px solid rgba(47, 111, 159, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(232, 246, 251, 0.95), rgba(248, 255, 251, 0.95));
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.registry-intro span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.registry-intro strong {
  color: #173242;
  font-size: 1.02rem;
}

.registry-intro p {
  margin: 0;
  color: #40505a;
  line-height: 1.45;
}

.registry-workflows {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 14px;
}

.registry-workflows legend {
  color: var(--ink);
  font-weight: 950;
  padding: 0 6px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.compact-check {
  min-height: 0;
}

.passport-value-panel {
  border: 1px solid rgba(47, 111, 159, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(232, 246, 251, 0.95), rgba(248, 255, 251, 0.95));
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.7fr);
  gap: 18px;
  padding: 16px 18px;
}

.passport-value-lede {
  display: grid;
  align-content: center;
  gap: 6px;
}

.passport-value-lede span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.passport-value-lede strong {
  color: #173242;
  font-size: 1.08rem;
  line-height: 1.25;
}

.passport-value-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.passport-value-list li {
  border-left: 1px solid rgba(47, 111, 159, 0.18);
  display: grid;
  gap: 4px;
  padding: 2px 14px;
}

.passport-value-list strong {
  color: #10241d;
  font-size: 0.92rem;
  line-height: 1.25;
}

.passport-value-list small {
  color: #40505a;
  font-size: 0.79rem;
  font-weight: 780;
  line-height: 1.42;
}

.plan-card em {
  color: var(--ink);
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 950;
}

.plan-card em small {
  margin-left: 2px;
  font-size: 0.8rem;
}

.plan-comparison {
  margin-top: 14px;
}

.plan-comparison summary {
  cursor: pointer;
  font-weight: 950;
}

.plan-comparison-table {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  overflow-x: auto;
}

.detailed-plan-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  min-width: 0;
}

.detailed-plan-card {
  flex: 1 1 250px;
  max-width: 272px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.detailed-plan-card.trial-offer {
  border-color: rgba(240, 189, 112, 0.72);
  background:
    linear-gradient(135deg, #ffffff 0%, #fff7df 50%, #ffffff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(240, 189, 112, 0.2),
    0 14px 26px rgba(240, 189, 112, 0.1);
}

.detailed-plan-card > span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.detailed-plan-card > strong {
  font-size: 1.35rem;
}

.detailed-plan-card > strong small {
  margin-left: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.detailed-plan-card > em {
  width: max-content;
  border: 1px solid rgba(232, 169, 79, 0.56);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #fffaf0 0%, #ffe5a5 100%);
  color: #7d4d09;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 950;
  line-height: 1;
  padding: 5px 9px;
  text-transform: uppercase;
}

.detailed-plan-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 20px;
  padding-left: 24px;
  color: #405047;
  font-size: 0.82rem;
  font-weight: 780;
  line-height: 1.38;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.02rem;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 950;
}

.feature-list li.included::before {
  content: "\2713";
  background: var(--green-soft);
  color: var(--green);
}

.feature-list li.excluded {
  color: #7c6765;
}

.feature-list li.excluded::before {
  content: "\00d7";
  background: rgba(182, 61, 51, 0.12);
  color: var(--red);
}

.plan-extra-section {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.plan-extra-section > strong {
  display: block;
  margin-bottom: 5px;
}

.plan-extra-section > p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.plan-extra-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.plan-extra-grid > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 10px;
  display: grid;
  gap: 4px;
}

.plan-extra-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.plan-extra-grid strong {
  font-size: 0.88rem;
}

.plan-extra-grid small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  line-height: 1.42;
}

.terms-accept {
  margin-top: 14px;
}

.activity-list {
  list-style: none;
}

.activity-list li {
  display: grid;
  gap: 5px;
}

.evidence-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.evidence-column {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  min-height: 260px;
  padding: 12px;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.evidence-column:hover,
.evidence-column:focus-visible {
  border-color: rgba(22, 132, 91, 0.28);
  background: rgba(22, 132, 91, 0.04);
  box-shadow: 0 0 0 3px rgba(22, 132, 91, 0.05);
  outline: none;
}

.evidence-column h4 {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.evidence-column h4 span {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 3px 8px;
  font-size: 0.72rem;
}

.evidence-card,
.qr-card,
.settings-item,
.api-grid > div,
.api-section-block,
.api-docs,
.api-doc-grid article,
.api-example-grid > div,
.api-key-reveal,
.api-key-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.evidence-card {
  width: 100%;
  color: var(--ink);
  text-align: left;
  font: inherit;
  padding: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  margin-bottom: 10px;
  cursor: pointer;
}

.evidence-card span,
.evidence-card strong,
.evidence-card small {
  grid-column: 1;
}

.evidence-card em {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  border-radius: 999px;
  background: rgba(203, 67, 67, 0.1);
  color: #b73535;
  padding: 4px 8px;
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.evidence-card em.has-docs {
  background: var(--green-soft);
  color: var(--green);
}

.evidence-card:hover,
.evidence-card:focus-visible {
  border-color: rgba(22, 132, 91, 0.3);
  background: #f8fffb;
  outline: none;
}

.evidence-empty {
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.6);
  display: grid;
  gap: 5px;
  padding: 12px;
}

.evidence-card span,
.evidence-empty span,
.qr-card span,
.settings-item span,
.api-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.evidence-card strong,
.evidence-empty strong,
.qr-card strong,
.settings-item strong,
.api-grid strong {
  overflow-wrap: anywhere;
}

.evidence-empty small {
  color: var(--muted);
  font-weight: 750;
}

.qr-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.qr-toolbar label {
  max-width: 220px;
}

.qr-bulk-toolbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(22, 132, 91, 0.2);
  border-radius: 8px;
  background: var(--green-soft);
  padding: 7px 9px;
}

.qr-bulk-toolbar[hidden] {
  display: none;
}

.qr-bulk-toolbar > span {
  color: var(--green);
  font-weight: 900;
}

.qr-grid,
.settings-grid,
.api-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.api-section-block,
.api-docs,
.api-key-reveal {
  margin-top: 14px;
  padding: 14px;
}

.api-section-heading,
.api-docs-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 12px;
}

.api-section-heading > div,
.api-docs-heading {
  display: grid;
  gap: 5px;
}

.api-section-heading span,
.api-docs-heading span,
.api-example-grid span,
.api-key-reveal span,
.api-key-row span,
.api-doc-grid article span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.api-section-heading small,
.api-docs-heading small,
.api-doc-grid article p,
.api-key-row small,
.api-key-reveal small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
}

.api-key-list {
  display: grid;
  gap: 10px;
}

.api-key-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
}

.api-key-row.revoked {
  opacity: 0.68;
}

.api-key-row code,
.api-key-reveal code,
.api-docs code {
  overflow-wrap: anywhere;
}

.api-key-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.api-key-meta em {
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  padding: 4px 8px;
}

.api-key-actions {
  display: flex;
  gap: 8px;
}

.api-key-reveal {
  background: #f8fffb;
  display: grid;
  gap: 8px;
}

.api-key-reveal[hidden] {
  display: none;
}

.api-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.api-copy-row code {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 10px;
}

.api-doc-grid,
.api-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.api-doc-grid article,
.api-example-grid > div {
  padding: 12px;
}

.api-doc-grid article {
  display: grid;
  gap: 6px;
}

.api-example-grid {
  margin-top: 12px;
}

.api-example-grid > div {
  display: grid;
  gap: 8px;
  background: #101915;
  border-color: #23352d;
}

.api-example-grid span {
  color: #9ee6bd;
}

.api-example-grid pre {
  margin: 0;
  overflow: auto;
  white-space: pre-wrap;
}

.api-example-grid code {
  color: #e8fff1;
  font-size: 0.78rem;
  line-height: 1.55;
}

.qr-card {
  position: relative;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.qr-standard-pill {
  width: max-content;
  border: 1px solid rgba(20, 35, 28, 0.16);
  border-radius: 999px;
  padding: 4px 8px;
  color: #33443a;
  background: #f7faf6;
  font-size: 0.72rem;
  font-weight: 850;
}

.qr-card code {
  color: var(--muted);
  font-size: 0.72rem;
  overflow-wrap: anywhere;
}

.qr-title-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  padding: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.qr-title-button:hover,
.qr-title-button:focus-visible {
  color: var(--green);
  text-decoration: underline;
  outline: none;
}

.qr-check {
  position: absolute;
  top: 10px;
  right: 10px;
}

.qr-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.qr-preview {
  position: relative;
  width: 98px;
  height: 98px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 0;
  cursor: pointer;
}

.qr-preview-locked {
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: default;
  background:
    repeating-linear-gradient(45deg, rgba(20, 35, 28, 0.05) 0 8px, rgba(20, 35, 28, 0.11) 8px 16px),
    #f8faf8;
  color: var(--muted);
  text-align: center;
}

.qr-preview-locked::before {
  content: "";
  position: absolute;
  inset: 13px;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(3px);
}

.qr-preview-locked span {
  position: relative;
  z-index: 1;
  max-width: 78px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1.2;
}

.qr-preview svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-code-locked {
  font-weight: 850;
}

.qr-standard-locked {
  border-color: rgba(103, 117, 108, 0.18);
  color: var(--muted);
  background: rgba(103, 117, 108, 0.08);
}

.qr-status {
  border-radius: 999px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 0.76rem;
  font-weight: 900;
  background: var(--blue-soft);
  color: var(--blue);
}

.qr-status.status-ready {
  background: var(--amber-soft);
  color: var(--amber);
}

.qr-status.status-approved,
.qr-status.status-published {
  background: var(--green-soft);
  color: var(--green);
}

.qr-status.status-unpublished {
  background: rgba(103, 117, 108, 0.12);
  color: var(--muted);
}

.qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.approval-list,
.team-list {
  display: grid;
  gap: 10px;
}

.approval-bulk-toolbar {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.approval-bulk-toolbar > strong {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.approval-select-all,
.approval-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
  cursor: pointer;
}

.approval-select {
  justify-content: center;
}

.approval-select input,
.approval-select-all input {
  width: 17px;
  height: 17px;
  accent-color: var(--green);
}

.approval-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.approval-row,
.team-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.team-row {
  grid-template-columns: minmax(0, 1fr) 160px auto auto auto;
}

.approval-row > div:nth-child(2),
.team-row > div:first-child {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.approval-row span,
.team-row small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.approval-row strong,
.team-row strong {
  overflow-wrap: anywhere;
}

.approval-row small {
  color: var(--muted);
  font-weight: 750;
}

.approval-actions,
.team-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.team-add-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 12px;
  margin-bottom: 14px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 170px auto;
  gap: 10px;
  align-items: end;
}

.team-role-select {
  min-width: 150px;
}

.team-status {
  justify-self: start;
  border-radius: 999px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.76rem;
  font-weight: 900;
  background: var(--green-soft);
  color: var(--green);
}

.team-status.status-invited {
  background: var(--blue-soft);
  color: var(--blue);
}

.team-status.status-suspended {
  background: rgba(210, 55, 55, 0.1);
  color: var(--red);
}

.team-presence {
  justify-self: start;
  border-radius: 999px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  font-size: 0.76rem;
  font-weight: 900;
  background: var(--surface-2);
  color: var(--muted);
}

.team-presence.is-online {
  background: rgba(24, 167, 95, 0.12);
  color: var(--green);
}

.team-presence.is-offline {
  background: rgba(99, 111, 129, 0.12);
  color: var(--muted);
}

.public-preview-card {
  width: min(720px, 100%);
}

.public-preview-card .modal-heading p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.public-preview-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.public-qr-large {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.public-qr-large svg {
  width: 100%;
  display: block;
}

.public-preview-details {
  display: grid;
  gap: 10px;
}

.public-preview-details p {
  color: var(--muted);
  margin: 0;
}

.public-preview-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.settings-item,
.api-grid > div {
  padding: 14px;
  display: grid;
  gap: 7px;
}

.settings-grid.compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.settings-grid.compact .settings-item {
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.settings-grid.compact .settings-item span {
  color: var(--muted);
}

.settings-grid.compact .settings-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.settings-grid.compact .toggle-pill {
  justify-self: end;
  min-width: 0;
  min-height: 24px;
  padding: 0 8px;
}

.setting-pill {
  border: 0;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
}

.setting-pill:hover,
.setting-pill:focus-visible {
  box-shadow: 0 0 0 3px rgba(22, 132, 91, 0.14);
  outline: none;
}

.setting-pill.is-off {
  background: var(--surface-2);
  color: var(--muted);
}

.setting-options {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
  margin-top: 5px;
}

.setting-options button {
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 9px;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 850;
}

.setting-options button:hover,
.setting-options button:focus-visible {
  border-color: rgba(22, 132, 91, 0.34);
  background: var(--green-soft);
  color: var(--green);
  outline: none;
}

.setting-options button.selected {
  border-color: rgba(22, 132, 91, 0.32);
  background: var(--green-soft);
  color: var(--green);
}

body.theme-dark .setting-options button {
  background: #333;
  border-color: #4c4c4c;
  color: #f6f7f5;
}

body.theme-dark .setting-options button:hover,
body.theme-dark .setting-options button:focus-visible {
  background: rgba(89, 217, 158, 0.15);
  color: var(--green);
}

body.theme-dark .setting-options button.selected {
  background: rgba(89, 217, 158, 0.2);
  border-color: rgba(89, 217, 158, 0.42);
  color: var(--green);
}

.settings-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toggle-pill {
  border-radius: 999px;
  min-width: 54px;
  min-height: 28px;
  background: var(--green-soft);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(23, 32, 26, 0.32);
  backdrop-filter: blur(6px);
  overscroll-behavior: contain;
}

.modal-overlay.active {
  display: grid;
}

.modal-overlay.is-front {
  z-index: 90;
}

.modal-card {
  width: min(640px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 22px;
  overscroll-behavior: contain;
}

.modal-card.product-detail-card {
  width: min(820px, calc(100vw - 48px));
}

#productDetailModal.modal-overlay.active {
  inset: 0 !important;
  display: block !important;
  padding: 0 !important;
}

#productDetailModal .modal-card.product-detail-card {
  position: fixed !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-top: 0 !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  border-top: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
  padding-top: 0 !important;
}

.app-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 120;
  transform: translate(-50%, -50%) scale(0.96);
  min-width: min(360px, calc(100vw - 48px));
  border: 1px solid rgba(22, 132, 91, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  text-align: center;
  font-weight: 950;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.app-toast.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body.theme-dark .app-toast {
  background: rgba(23, 33, 29, 0.96);
  border-color: rgba(89, 217, 158, 0.24);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.support-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 78;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.support-launcher,
.support-panel {
  pointer-events: auto;
}

.support-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(17, 135, 95, 0.34);
  border-radius: 50%;
  background:
    linear-gradient(145deg, #ffffff, #dff3e9),
    var(--green-soft);
  color: var(--brand-ink);
  box-shadow: 0 18px 42px rgba(17, 135, 95, 0.24);
  cursor: pointer;
}

.support-launcher:hover,
.support-launcher:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(17, 135, 95, 0.3);
}

.support-launcher svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.support-launcher-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #c73a31;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 950;
}

.support-panel {
  width: min(390px, calc(100vw - 28px));
  max-height: min(650px, calc(100dvh - 104px));
  overflow: hidden;
  border: 1px solid rgba(173, 187, 178, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.96)),
    #ffffff;
  box-shadow: 0 28px 80px rgba(20, 33, 28, 0.2);
  display: grid;
  grid-template-rows: auto auto minmax(170px, 1fr) auto auto;
}

.support-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 15px 15px 13px;
}

.support-header h2 {
  margin: 2px 0 2px;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.support-header span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.support-close {
  flex: 0 0 auto;
}

.support-ai-notice {
  margin: 0;
  border-bottom: 1px solid rgba(220, 229, 223, 0.78);
  background: rgba(36, 107, 159, 0.07);
  color: #365166;
  padding: 9px 15px;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.42;
}

.support-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 14px;
  scrollbar-width: thin;
}

.support-message {
  display: flex;
}

.support-message.is-user {
  justify-content: flex-end;
}

.support-bubble {
  max-width: 88%;
  border: 1px solid rgba(220, 229, 223, 0.86);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(20, 33, 28, 0.06);
  padding: 10px 11px;
}

.support-message.is-user .support-bubble {
  border-color: rgba(17, 135, 95, 0.3);
  background: rgba(223, 243, 233, 0.82);
}

.support-bubble p {
  margin: 0;
  color: var(--ink);
  font-size: 0.84rem;
  line-height: 1.45;
  white-space: pre-line;
}

.support-incident {
  display: block;
  margin-top: 8px;
  border: 1px dashed rgba(17, 135, 95, 0.42);
  border-radius: 8px;
  background: rgba(223, 243, 233, 0.62);
  padding: 8px;
  color: var(--brand-ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.support-email-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 8px;
  border: 1px solid rgba(17, 135, 95, 0.28);
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  padding: 0 11px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 950;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.support-action-button {
  min-height: 32px;
  border: 1px solid rgba(17, 135, 95, 0.3);
  border-radius: 8px;
  background: rgba(223, 243, 233, 0.7);
  color: var(--brand-ink);
  padding: 0 10px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 950;
}

.support-action-button:hover,
.support-action-button:focus-visible {
  border-color: rgba(17, 135, 95, 0.5);
  background: var(--green-soft);
  transform: translateY(-1px);
}

.support-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-top: 1px solid rgba(220, 229, 223, 0.8);
  padding: 10px 12px;
}

.support-chip {
  min-height: 30px;
  border: 1px solid rgba(173, 187, 178, 0.86);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 0 10px;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
}

.support-chip:hover,
.support-chip:focus-visible {
  border-color: rgba(17, 135, 95, 0.36);
  background: var(--green-soft);
}

.support-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 12px;
  background: rgba(247, 250, 248, 0.86);
}

.support-form textarea {
  min-height: 44px;
  max-height: 110px;
  resize: vertical;
  font-size: 0.84rem;
}

.support-send {
  align-self: end;
  min-height: 44px;
  padding-inline: 14px;
}

body.theme-dark .support-launcher {
  border-color: rgba(89, 217, 158, 0.32);
  background:
    linear-gradient(145deg, #26342e, #1a241f),
    #1a241f;
  color: var(--green);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

body.theme-dark .support-panel,
body.theme-dark .support-bubble,
body.theme-dark .support-chip {
  background: var(--surface);
}

body.theme-dark .support-ai-notice {
  background: rgba(127, 197, 227, 0.11);
  color: #b4d5e4;
}

body.theme-dark .support-message.is-user .support-bubble,
body.theme-dark .support-incident,
body.theme-dark .support-action-button {
  background: rgba(89, 217, 158, 0.12);
}

body.theme-dark .support-form {
  background: rgba(29, 39, 35, 0.9);
}

body.theme-dark .support-form textarea {
  border-color: rgba(212, 232, 222, 0.24);
  background: #f7fbf8;
  color: #10201b;
  caret-color: #10201b;
}

body.theme-dark .support-form textarea::placeholder {
  color: #6b786f;
  opacity: 1;
}

.modal-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 20px;
}

.modal-heading .security-note {
  margin-top: 10px;
  max-width: 620px;
  border-left: 3px solid rgba(22, 132, 91, 0.36);
  padding: 8px 0 8px 12px;
  color: #405047;
  background: rgba(22, 132, 91, 0.05);
}

.detail-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(100%, 360px);
}

.detail-header-actions .compact-action {
  white-space: normal;
}

.icon-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  font-weight: 900;
}

.detail-trash-button {
  display: inline-grid;
  place-items: center;
  border-color: rgba(198, 45, 45, 0.32);
  background: rgba(198, 45, 45, 0.08);
  color: #c62d2d;
}

.detail-trash-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.detail-trash-button:hover,
.detail-trash-button:focus-visible {
  background: rgba(198, 45, 45, 0.14);
  border-color: rgba(198, 45, 45, 0.48);
}

.modal-actions {
  padding: 16px 0 0;
  border-top: 0;
}

#productModal.modal-overlay.active {
  place-items: start center;
  align-items: start;
  overflow: auto;
}

#productModal .modal-card {
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding-bottom: 0;
}

#productModal .modal-heading {
  position: sticky;
  top: 0;
  z-index: 4;
  margin: 0 0 14px;
  padding: 0 0 12px;
  background: #ffffff;
  border-bottom: 1px solid rgba(220, 229, 223, 0.72);
}

#productModal .modal-actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin: 12px -22px 0;
  padding: 14px 22px 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), #ffffff 22%),
    #ffffff;
  border-top: 1px solid rgba(220, 229, 223, 0.72);
}

.modal-card .form-grid {
  gap: 14px 16px;
  align-items: start;
}

.modal-card input,
.modal-card select,
.modal-card textarea {
  min-height: 46px;
}

textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
  resize: vertical;
  font: inherit;
}

.data-import-card {
  width: min(880px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
}

.import-grid,
.mapping-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.import-grid .wide {
  grid-column: 1 / -1;
}

.import-grid small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.import-mapping {
  margin-top: 18px;
}

.import-mapping h4,
.import-preview h4 {
  margin: 0 0 6px;
}

.import-mapping p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.import-preview {
  margin-top: 18px;
}

.preview-table {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.preview-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.preview-table th,
.preview-table td {
  max-width: 220px;
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-table th {
  background: var(--surface-2);
  font-weight: 950;
}

.import-progress {
  margin-top: 18px;
  border: 1px solid rgba(22, 132, 91, 0.2);
  border-radius: 8px;
  background: rgba(22, 132, 91, 0.06);
  padding: 12px;
}

.import-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.84rem;
}

.import-progress-top strong {
  color: var(--ink);
}

.import-progress-top span {
  color: var(--green);
  font-weight: 950;
}

.import-progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(22, 132, 91, 0.14);
}

.import-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), #59d99e);
  transition: width 0.18s ease;
}

.evidence-progress {
  margin-top: 12px;
}

.generated-secret {
  margin: 12px 0 4px;
}

.generated-secret input {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-weight: 800;
  letter-spacing: 0;
}

.public-shell {
  width: min(1260px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 46px;
  display: grid;
  gap: 18px;
}

body.public-mode {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 248, 0.72) 44%, rgba(243, 246, 244, 0.94)),
    linear-gradient(120deg, rgba(23, 168, 115, 0.07), transparent 36%, rgba(47, 136, 184, 0.08) 78%, transparent),
    #f3f6f4;
}

.public-header,
.public-hero,
.public-detail,
.public-passport-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.9)),
    #ffffff;
  box-shadow: 0 20px 54px rgba(20, 33, 28, 0.08);
}

.public-header {
  position: sticky;
  top: 14px;
  z-index: 18;
  min-height: 76px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
}

.public-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.public-language-select {
  min-width: 212px;
  margin-right: 12px;
  display: grid;
  grid-template-columns: auto minmax(136px, 1fr);
  align-items: center;
  gap: 10px;
}

.public-language-select span {
  font-weight: 850;
  color: #6a756f;
  font-size: 0.72rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.public-language-select select {
  min-height: 42px;
  border-color: rgba(31, 92, 72, 0.28);
  background:
    linear-gradient(180deg, rgba(244, 250, 247, 0.98), rgba(235, 245, 240, 0.92)),
    #eef6f2;
  color: #10201b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.public-nav-link,
.public-builder-cta {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #23332c;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.public-nav-link {
  position: relative;
  padding: 0 12px;
}

.public-nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: #11875f;
  opacity: 0;
  transform: scaleX(0.5);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.public-nav-link:hover,
.public-nav-link:focus-visible {
  color: #087151;
  outline: 0;
}

.public-nav-link:hover::after,
.public-nav-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.public-builder-cta {
  margin-left: 8px;
  padding: 0 16px;
  border-radius: 999px;
  background: #10201b;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(16, 32, 27, 0.16);
}

.public-builder-cta:hover,
.public-builder-cta:focus-visible {
  outline: 0;
  background: #11875f;
  box-shadow: 0 14px 28px rgba(17, 135, 95, 0.24);
  transform: translateY(-1px);
}

.public-brand-home {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  cursor: pointer;
}

.public-brand-home:hover,
.public-brand-home:focus-visible {
  outline: 0;
  opacity: 0.88;
}

.public-header img {
  width: 42px;
  height: 42px;
  max-width: none;
  object-fit: contain;
}

.public-hero {
  position: relative;
  z-index: 12;
  overflow: visible;
  padding: clamp(30px, 4.2vw, 52px);
  display: grid;
  gap: 16px;
  isolation: isolate;
}

.public-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(7, 31, 26, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 31, 26, 0.14) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, #000 0%, #000 58%, transparent 100%);
}

.public-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-mint), var(--brand-cyan), var(--brand-gold));
}

.public-hero h1 {
  max-width: none;
  font-size: clamp(2.4rem, 4.3vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

.public-hero p {
  max-width: 680px;
  color: var(--muted);
  font-weight: 800;
  font-size: 1.03rem;
  line-height: 1.6;
}

.public-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  margin-top: 12px;
}

.public-search-row input {
  min-height: 54px;
  border: 1px solid rgba(173, 187, 178, 0.9);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.92)),
    #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 10px 24px rgba(20, 33, 28, 0.045);
  font-weight: 850;
}

.public-search-row strong {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 135, 95, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 243, 233, 0.98), rgba(224, 241, 247, 0.8));
  color: #0d6f50;
  padding: 0 18px;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(17, 135, 95, 0.09);
}

.public-filter-row {
  position: relative;
  z-index: 14;
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr)) auto;
  align-items: end;
  gap: 12px;
}

.public-filter-row label {
  min-width: 0;
}

.public-filter-row .category-combobox-field {
  min-width: 0;
}

.public-filter-row select {
  width: 100%;
  min-height: 46px;
  border-color: rgba(173, 187, 178, 0.9);
  background-color: #ffffff;
  box-shadow: 0 8px 20px rgba(20, 33, 28, 0.035);
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-clear-filters-button {
  min-height: 46px;
  padding: 0 18px;
  white-space: nowrap;
}

.public-grid {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.content-resources-mode .public-filter-row {
  display: none;
}

.soro-blog-section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto 28px;
}

.soro-blog-section[hidden] {
  display: none;
}

.soro-blog-section #soro-blog {
  min-height: 320px;
}

.content-resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-resource-card {
  min-width: 0;
  min-height: 244px;
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.92)),
    #ffffff;
  box-shadow: 0 20px 54px rgba(20, 33, 28, 0.08);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.content-resource-programmatic-section {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(220, 229, 223, 0.92);
}

.content-resource-related-section {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(220, 229, 223, 0.92);
}

.content-resource-section-heading {
  display: grid;
  gap: 6px;
}

.content-resource-section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.content-resource-programmatic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.content-resource-programmatic-card {
  min-height: 216px;
  box-shadow: none;
}

.content-resource-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(220, 229, 223, 0.92);
  border-radius: 8px;
  background: rgba(237, 242, 239, 0.8);
}

.content-resource-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-resource-image-card {
  aspect-ratio: 16 / 9;
}

.content-resource-image-detail {
  aspect-ratio: 16 / 7;
  max-height: 420px;
}

.content-resource-card:hover,
.content-resource-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(17, 135, 95, 0.34);
  box-shadow: 0 24px 62px rgba(20, 33, 28, 0.12);
}

.content-resource-card h2,
.content-resource-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.16;
  letter-spacing: 0;
}

.content-resource-card h2 a,
.content-resource-card h3 a {
  color: inherit;
  text-decoration: none;
}

.content-resource-card h2 a:hover,
.content-resource-card h2 a:focus-visible,
.content-resource-card h3 a:hover,
.content-resource-card h3 a:focus-visible {
  color: var(--green);
  outline: none;
  text-decoration: underline;
}

.content-resource-card p {
  margin: 0;
  color: #405047;
  font-size: 0.94rem;
  line-height: 1.5;
}

.content-resource-meta,
.content-resource-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.content-resource-meta span,
.content-resource-detail-meta span {
  border-radius: 999px;
  background: rgba(223, 243, 233, 0.88);
  color: #0d6f50;
  padding: 6px 9px;
  font-size: 0.76rem;
  font-weight: 900;
}

.content-resource-detail {
  max-width: 880px;
  display: grid;
  gap: 16px;
}

.content-resource-floating-nav {
  position: fixed;
  right: max(18px, calc((100vw - 1260px) / 2 - 74px));
  top: 50%;
  z-index: 90;
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(17, 135, 95, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(238, 247, 243, 0.82)),
    rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 42px rgba(16, 32, 27, 0.16);
  transform: translateY(-50%);
  backdrop-filter: blur(18px) saturate(1.14);
  -webkit-backdrop-filter: blur(18px) saturate(1.14);
}

.content-resource-floating-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 135, 95, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(231, 245, 238, 0.9)),
    #ffffff;
  color: #10201b;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 22px rgba(20, 33, 28, 0.09);
  transition: color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.content-resource-floating-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.content-resource-floating-button::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  width: max-content;
  max-width: 170px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(16, 32, 27, 0.96);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.1;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity 0.16s ease, transform 0.16s ease;
  box-shadow: 0 12px 26px rgba(16, 32, 27, 0.16);
}

.content-resource-floating-button:hover,
.content-resource-floating-button:focus-visible {
  outline: 0;
  border-color: rgba(17, 135, 95, 0.5);
  color: #0d6f50;
  box-shadow: 0 0 0 4px rgba(89, 217, 158, 0.16), 0 16px 28px rgba(20, 33, 28, 0.13);
  transform: translateY(-1px);
}

.content-resource-floating-button:hover::after,
.content-resource-floating-button:focus-visible::after {
  opacity: 1;
  transform: translate(0, -50%);
}

.content-resource-floating-button[aria-pressed="true"] {
  border-color: rgba(16, 32, 27, 0.32);
  background:
    linear-gradient(180deg, rgba(16, 32, 27, 0.98), rgba(22, 56, 44, 0.94)),
    #10201b;
  color: #ffffff;
}

body.content-resources-reading-theme .public-detail {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(250, 247, 239, 0.94)),
    #fffdf8;
}

body.content-resources-reading-theme .content-resource-detail {
  max-width: 760px;
  margin: 0 auto;
}

body.content-resources-reading-theme .content-resource-body {
  color: #24332c;
  font-size: 1.12rem;
  line-height: 1.86;
}

body.content-resources-reading-theme .content-resource-body p,
body.content-resources-reading-theme .content-resource-body li {
  max-width: 68ch;
}

body.content-resources-reading-theme .content-resource-body h2,
body.content-resources-reading-theme .content-resource-body h3,
body.content-resources-reading-theme .content-resource-body h4 {
  color: #162820;
}

body.content-resources-reading-theme .soro-blog-section:has([data-soro-blog-floating-nav]) {
  max-width: 880px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.9), rgba(250, 247, 239, 0.72)),
    #fffdf8;
}

body.content-resources-reading-theme .soro-blog-section:has([data-soro-blog-floating-nav]) #soro-blog {
  color: #24332c;
  font-size: 1.08rem;
  line-height: 1.82;
}

body.content-resources-reading-theme .soro-blog-section:has([data-soro-blog-floating-nav]) :where(p, li) {
  line-height: 1.82;
}

body.content-resources-reading-theme .soro-blog-section:has([data-soro-blog-floating-nav]) :where(h1, h2, h3, h4) {
  color: #162820;
}

.content-resource-detail h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.content-resource-lede {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}


.content-resource-language-note {
  margin: 14px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 126, 95, 0.28);
  border-radius: 8px;
  background: rgba(17, 126, 95, 0.08);
  color: var(--public-muted);
  font-size: 0.94rem;
  font-weight: 700;
}
.content-resource-body {
  display: grid;
  gap: 16px;
  color: #28372f;
  font-size: 1.03rem;
  line-height: 1.72;
}

.content-resource-body h2,
.content-resource-body h3,
.content-resource-body h4 {
  margin: 14px 0 0;
  letter-spacing: 0;
  line-height: 1.16;
}

.content-resource-body h2 {
  font-size: 1.65rem;
}

.content-resource-body h3 {
  font-size: 1.35rem;
}

.content-resource-body h4 {
  font-size: 1.12rem;
}

.content-resource-body p,
.content-resource-body ul,
.content-resource-body ol {
  margin: 0;
}

.content-resource-body ul,
.content-resource-body ol {
  padding-left: 1.25rem;
}

.content-resource-body a {
  color: var(--green);
  font-weight: 900;
}

.content-resource-inline-image {
  margin: 4px 0;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(14, 30, 24, 0.04);
}

.content-resource-inline-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.content-resource-inline-image figcaption {
  padding: 10px 14px;
  color: #5c6b63;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
}

.public-passport-card {
  position: relative;
  min-width: 0;
  max-width: 100%;
  min-height: 238px;
  height: auto;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 10px;
  align-content: start;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.public-passport-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-mint), var(--brand-cyan));
  opacity: 0.82;
}

.public-passport-card:hover,
.public-passport-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(17, 135, 95, 0.28);
  box-shadow: 0 26px 64px rgba(20, 33, 28, 0.12);
}

.public-card-passport-stack {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 92px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
}

.public-passport-card > div:not(.public-card-passport-stack) {
  min-width: 0;
  overflow: hidden;
}

.public-passport-logo-button {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 135, 95, 0.2);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.public-passport-logo-button:hover,
.public-passport-logo-button:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(89, 217, 158, 0.18), 0 14px 28px rgba(20, 33, 28, 0.1);
}

.public-passport-logo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.public-passport-logo-button .public-preview-image {
  transform: scale(1.45);
}

.public-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.public-preview-silhouette {
  display: block;
  width: 70px;
  height: 70px;
  color: var(--green);
}

.public-preview-silhouette rect {
  fill: rgba(22, 132, 91, 0.08);
  stroke: rgba(22, 132, 91, 0.28);
  stroke-width: 2;
}

.public-preview-silhouette path {
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
}

.public-preview-silhouette circle {
  fill: rgba(89, 217, 158, 0.22);
  stroke: currentColor;
  stroke-width: 3;
}

.public-preview-silhouette text {
  fill: currentColor;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.public-card-qr-button {
  position: relative;
  width: 92px;
  min-height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(220, 229, 223, 0.94);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  padding: 6px;
}

.public-card-qr-button svg {
  display: block;
  width: 76px;
  height: 76px;
}

.public-card-download-icon {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background: rgba(20, 35, 28, 0.78);
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.public-card-download-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.public-card-qr-button:hover .public-card-download-icon,
.public-card-qr-button:focus-visible .public-card-download-icon {
  opacity: 1;
}

.public-card-qr-button:hover,
.public-card-qr-button:focus-visible {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(89, 217, 158, 0.18);
}

.public-card-title-row,
.public-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.public-card-title-row {
  flex-wrap: nowrap;
}

.public-card-title-row h2 {
  flex: 1 1 auto;
  min-width: 0;
}

.public-title-row {
  justify-content: flex-start;
}

.platform-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(22, 132, 91, 0.32);
  border-radius: 999px;
  background: var(--green);
  color: #ffffff;
  padding: 0;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.platform-verified-badge svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.platform-verified-badge:hover,
.platform-verified-badge:focus-visible {
  box-shadow: 0 0 0 3px rgba(89, 217, 158, 0.2);
}

.public-passport-card span,
.public-detail-meta > span,
.public-card-meta strong {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.public-passport-card h2 {
  margin: 7px 0 8px;
  font-size: 1.28rem;
  line-height: 1.12;
  min-width: 0;
  display: -webkit-box;
  max-height: 2.75em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;
}

.public-card-title-button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: block;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.public-card-title-button:hover,
.public-card-title-button:focus-visible {
  color: var(--green);
  outline: none;
  text-decoration: underline;
}

.public-passport-card p {
  margin: 0 0 8px;
  color: #405047;
  font-size: 0.92rem;
  line-height: 1.45;
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-card-meta {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  align-items: center;
  align-self: end;
  padding-top: 2px;
  max-height: 58px;
  overflow: hidden;
}

.public-card-meta em {
  border-radius: 999px;
  background: rgba(223, 243, 233, 0.88);
  color: #0d6f50;
  padding: 5px 8px;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 900;
}

.public-card-meta strong,
.public-card-meta em {
  max-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-pagination {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 0 4px;
}

.public-pagination span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.public-empty {
  grid-column: 1 / -1;
  border: 1px dashed rgba(173, 187, 178, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  padding: 28px;
  font-weight: 900;
  box-shadow: 0 18px 46px rgba(20, 33, 28, 0.05);
}

.public-detail {
  padding: 24px;
  display: grid;
  gap: 16px;
}

.public-passport-modal-card {
  position: relative;
  width: min(980px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 32px));
  overflow: auto;
  border-color: rgba(220, 229, 223, 0.94);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 248, 0.92)),
    #ffffff;
}

.public-modal-actions {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.public-detail-in-modal {
  border: 0;
  box-shadow: none;
  padding: 4px 0 0;
  padding-right: 48px;
  background: transparent;
}

.public-detail-hero {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: start;
}

.public-detail-gallery {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.public-detail-preview {
  width: 170px;
  aspect-ratio: 1;
  border: 1px solid rgba(220, 229, 223, 0.94);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  padding: 0;
}

.public-detail-preview .public-preview-silhouette {
  width: 112px;
  height: 112px;
}

.public-detail-preview .public-preview-image {
  transform: scale(1.2);
}

.public-gallery-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.public-gallery-controls span,
.public-gallery-modal-count {
  border-radius: 999px;
  background: rgba(7, 31, 26, 0.84);
  color: #ffffff;
  padding: 5px 9px;
  font-size: 0.74rem;
  font-weight: 900;
}

.public-gallery-controls .icon-button {
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  font-size: 1.2rem;
}

.public-gallery-modal {
  background: rgba(11, 17, 14, 0.82);
}

.public-gallery-modal-card {
  position: relative;
  width: min(940px, calc(100vw - 28px));
  height: min(820px, calc(100dvh - 28px));
  display: grid;
  place-items: center;
}

.public-gallery-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: #ffffff;
}

.public-gallery-modal-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.public-gallery-modal-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
}

.public-gallery-modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 2rem;
  font-weight: 900;
}

.public-gallery-modal-arrow.previous {
  left: 14px;
}

.public-gallery-modal-arrow.next {
  right: 14px;
}

.public-gallery-modal-count {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
}

.public-detail-hero h2 {
  margin: 6px 0 12px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.qr-verification-note {
  color: var(--muted);
  font-weight: 800;
}

.public-verification-legal {
  font-style: italic;
}

.public-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.public-detail-meta > span {
  border: 1px solid rgba(220, 229, 223, 0.94);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.9));
  padding: 8px 10px;
}

.public-detail-meta .public-passport-number-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-right: 6px;
}

.public-passport-copy-button {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border: 1px solid rgba(22, 132, 91, 0.22);
  border-radius: 7px;
  background: rgba(232, 250, 243, 0.86);
  color: var(--green-dark);
  cursor: pointer;
}

.public-passport-copy-button svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.public-passport-copy-button:hover,
.public-passport-copy-button:focus-visible {
  border-color: rgba(22, 132, 91, 0.42);
  background: rgba(213, 246, 233, 0.96);
  box-shadow: 0 0 0 3px rgba(22, 132, 91, 0.12);
}

.public-detail-qr {
  width: 180px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(220, 229, 223, 0.94);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 18px 42px rgba(20, 33, 28, 0.08);
}

.public-detail-qr svg {
  width: 154px;
  height: 154px;
  display: block;
  flex: 0 0 auto;
}

.public-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.public-data-masonry.single {
  grid-template-columns: 1fr;
}

.public-data-column {
  min-width: 0;
  display: grid;
  gap: 14px;
  align-content: start;
}

.public-section-slot {
  min-width: 0;
}

.public-data-section {
  border: 1px solid rgba(220, 229, 223, 0.94);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 248, 0.86)),
    #ffffff;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(20, 33, 28, 0.045);
}

.public-data-section h3 {
  margin: 0 0 8px;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.public-data-section p {
  color: #405047;
  line-height: 1.5;
}

.public-description-section {
  align-self: start;
}

.public-description-section p {
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}

.public-field-list {
  display: grid;
  gap: 9px;
}

.public-field-list p {
  margin: 0;
  border-top: 1px solid rgba(220, 229, 223, 0.8);
  padding-top: 9px;
}

.public-field-list p:first-child {
  border-top: 0;
  padding-top: 0;
}

.public-field-list strong,
.public-field-list span {
  display: block;
}

.public-field-list strong {
  color: var(--ink);
  font-size: 0.82rem;
}

.public-chip-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.public-chip-list span {
  border: 1px solid rgba(17, 135, 95, 0.18);
  border-radius: 999px;
  background: rgba(223, 243, 233, 0.78);
  color: var(--ink);
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.mfa-setup-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.mfa-qr {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
  text-align: center;
}

.mfa-qr svg,
.mfa-qr img {
  display: block;
  margin: 0 auto;
  flex: 0 0 auto;
  width: min(260px, 100%) !important;
  height: auto !important;
  image-rendering: pixelated;
  transform: translateX(14px);
}

.mfa-qr svg rect,
.mfa-qr svg path {
  shape-rendering: crispEdges;
}

@keyframes productCreatedPulse {
  0% {
    background: rgba(89, 217, 158, 0.38);
    box-shadow: inset 4px 0 0 var(--green), 0 0 0 0 rgba(89, 217, 158, 0.28);
  }
  38% {
    background: rgba(89, 217, 158, 0.24);
    box-shadow: inset 4px 0 0 var(--green), 0 0 0 7px rgba(89, 217, 158, 0.08);
  }
  100% {
    background: rgba(89, 217, 158, 0.08);
    box-shadow: inset 4px 0 0 rgba(22, 132, 91, 0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes landingFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -10px, 0);
  }
}

.landing-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.landing-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .landing-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.invalid {
  border-color: var(--red);
}

@media (max-width: 1180px) {
  .dashboard-app {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 10px;
    padding: 10px 12px 12px;
    overflow: hidden;
  }

  .dashboard-brand {
    display: none;
  }

  .dashboard-sidebar-footer {
    position: static;
    width: auto;
    padding: 10px;
  }

  .workspace-settings-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: min(520px, 62dvh);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .dashboard-nav {
    display: flex;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .dashboard-nav button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .dashboard-nav button span {
    width: 22px;
    height: 22px;
  }

  .dashboard-nav button span svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 940px) {
  .landing-shell {
    width: 100%;
    margin: 0 auto;
    padding: 11px;
    padding-top: 124px;
    gap: 18px;
  }

  .landing-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 9px;
    padding: 14px;
  }

  .landing-footer nav {
    justify-content: flex-start;
  }

  .landing-nav {
    top: 0;
    width: 100%;
    min-height: 0;
    border-radius: 0 0 8px 8px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 10px 9px;
  }

  .landing-logo {
    width: 100%;
    gap: 9px;
  }

  .landing-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .landing-logo-icon img {
    width: 28px;
    height: 28px;
  }

  .landing-brand-copy strong {
    font-size: 0.9rem;
  }

  .landing-brand-copy small {
    font-size: 0.68rem;
  }

  .landing-nav-actions {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .landing-nav-actions::-webkit-scrollbar {
    display: none;
  }

  .landing-nav-actions button,
  .landing-nav-actions .landing-language-select {
    flex: 0 0 auto;
  }

  .landing-nav-actions button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .landing-language-select {
    width: 126px;
  }

  .landing-language-select select {
    width: 100%;
    min-height: 36px;
    padding: 0 30px 0 11px;
    font-size: 0.78rem;
  }

  .landing-hero-actions {
    display: grid;
    justify-content: stretch;
  }

  .landing-hero-actions button {
    width: 100%;
  }

  .landing-hero-actions .landing-spotlight-button {
    width: 100%;
    max-width: 100%;
  }

  .cookie-banner {
    bottom: 10px;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .support-widget {
    right: 10px;
    bottom: 10px;
  }

  .support-panel {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 88px);
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .landing-language-select {
    min-width: 0;
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
  }

  .landing-hero-points {
    grid-template-columns: 1fr;
  }

  .landing-hero-points li {
    min-height: 76px;
    padding-block: 34px 14px;
  }

  .landing-store-strip {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .landing-rubros-copy {
    grid-template-columns: 1fr;
  }

  .landing-rubros-copy .screen-kicker,
  .landing-rubros-copy h2,
  .landing-rubros-copy > p:not(.screen-kicker),
  .landing-rubros-grid {
    grid-column: 1;
    grid-row: auto;
  }

  .landing-rubros-copy h2 {
    max-width: 18ch;
  }

  .landing-rubros-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-connectors-band {
    grid-template-columns: 1fr;
  }

  .landing-connectors-copy h2 {
    max-width: 18ch;
  }

  .landing-connectors-visual {
    min-height: 250px;
  }

  .landing-connectors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-store-actions {
    width: 100%;
  }

  .landing-hero {
    min-height: clamp(500px, calc(100dvh - 180px), 640px);
    padding: 32px 22px 92px;
    align-content: center;
  }

  .landing-hero::before {
    background:
      linear-gradient(180deg, rgba(7, 31, 26, 0.06) 0%, rgba(7, 31, 26, 0.76) 42%, rgba(7, 31, 26, 0.97) 100%),
      linear-gradient(90deg, rgba(7, 31, 26, 0.74), rgba(7, 31, 26, 0.18));
  }

  .landing-hero-frame {
    top: 32px;
    right: -48%;
    width: 146%;
    height: 62%;
    opacity: 0.48;
  }

  .landing-hero-content {
    width: 100%;
    gap: 18px;
  }

  .landing-hero h1 {
    max-width: 10ch;
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .landing-command-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: 22px;
    right: 22px;
  }

  .landing-command-strip span {
    min-height: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.72rem;
  }

  .landing-command-strip span:nth-child(2n) {
    border-right: 0;
  }

  .landing-proof-grid,
  .landing-benefit-grid,
  .landing-impact-grid,
  .landing-legal-panel-combo,
  .landing-privacy-grid,
  .landing-routes-band,
  .landing-pro-block,
  .landing-pro-block-reverse {
    grid-template-columns: 1fr;
  }

  .landing-pro-block-reverse .landing-pro-media {
    order: 0;
  }

  .landing-pro-media {
    padding: 14px;
  }

  .landing-pro-media img {
    min-height: 280px;
  }

  .landing-band {
    padding: 22px;
  }

  .landing-section-heading h2,
  .landing-proof-copy h3,
  .landing-pro-copy h2 {
    font-size: clamp(1.75rem, 7vw, 2.45rem);
  }

  .auth-shell {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 11px;
  }

  .dev-entry-shell {
    width: 100%;
    margin: 0 auto;
    padding: 11px;
  }

  .dev-entry-panel {
    padding: 22px;
  }

  .dev-entry-header,
  .dev-entry-grid {
    grid-template-columns: 1fr;
  }

  .auth-brand,
  .auth-card {
    padding: 24px;
  }

  .auth-card-header {
    grid-template-columns: 1fr;
  }

  .dashboard-app {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    gap: 10px;
    padding: 10px 12px 12px;
    overflow: hidden;
  }

  .dashboard-brand {
    display: none;
  }

  .dashboard-sidebar-footer {
    position: static;
    width: auto;
    padding: 10px;
  }

  .workspace-settings-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-height: min(72dvh, calc(100dvh - 28px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .dashboard-nav {
    display: flex;
    gap: 6px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .dashboard-nav button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .dashboard-nav button span {
    width: 22px;
    height: 22px;
  }

  .dashboard-nav button span svg {
    width: 14px;
    height: 14px;
  }

  .dashboard-topbar,
  .dashboard-hero {
    display: grid;
  }

  .dashboard-hero,
  .metric-grid,
  .dashboard-grid,
  .dashboard-trend-grid,
  .business-choice-grid,
  .passport-value-grid,
  .plan-grid,
  .terms-grid,
  .evidence-board,
  .qr-grid,
  .public-grid,
  .public-data-grid,
  .settings-grid,
  .api-grid,
  .api-doc-grid,
  .api-example-grid,
  .detailed-plan-columns,
  .plan-extra-grid {
    grid-template-columns: 1fr;
  }

  .detailed-plan-columns {
    min-width: 0;
  }

  .content-resource-card {
    min-height: 0;
  }

  .content-resource-programmatic-grid {
    grid-template-columns: 1fr;
  }

  .api-section-heading,
  .api-docs-heading,
  .api-key-row,
  .api-copy-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dashboard-hero-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .passport-value-panel,
  .passport-value-list,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .passport-value-list {
    gap: 10px;
  }

  .passport-value-list li {
    border-left: 0;
    border-top: 1px solid rgba(47, 111, 159, 0.18);
    padding: 10px 0 0;
  }

  .trend-development-heading {
    display: grid;
  }

  .trend-controls {
    justify-content: stretch;
  }

  .trend-controls label {
    min-width: 0;
  }

  .toolbar-row,
  .product-bulk-toolbar,
  .trash-bulk-toolbar,
  .product-retention-grid,
  .section-heading,
  .team-add-row,
  .team-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .approval-bulk-toolbar,
  .approval-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .approval-select {
    justify-content: flex-start;
  }

  .approval-bulk-actions,
  .approval-actions {
    justify-content: flex-start;
  }

  .product-bulk-toolbar small {
    text-align: left;
  }

  .trash-retention-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .trash-retention-row .retention-actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .trash-retention-row > div:first-child,
  .trash-bulk-toolbar > div,
  .retention-actions {
    flex-wrap: wrap;
  }

  .notification-summary-item {
    grid-template-columns: 1fr;
  }

  .notification-actions {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .product-table.expanded .product-row {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-card.product-detail-card {
    width: min(100vw - 16px, 820px);
    max-height: calc(100dvh - 16px);
  }

  .product-detail-card > .modal-heading {
    grid-template-columns: 1fr;
  }

  .detail-header-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .detail-header-actions .compact-action {
    flex: 1 1 190px;
  }

  .product-detail-footer {
    justify-content: stretch;
  }

  .product-detail-footer .primary-button {
    width: 100%;
  }

  .product-image-manager {
    grid-template-columns: 1fr;
  }

  .detail-evidence-row {
    align-items: start;
    flex-direction: column;
  }

  .qr-toolbar,
  .qr-bulk-toolbar,
  .approval-actions,
  .team-actions,
  .public-preview-layout,
  .public-search-row,
  .public-filter-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .public-shell {
    width: min(100% - 22px, 760px);
    padding-top: 11px;
  }

  .public-header {
    top: 8px;
    min-height: 0;
    padding: 9px 10px 10px;
    align-items: start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .public-header-actions {
    flex: 1 1 calc(100% - 54px);
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
    overflow: visible;
  }

  .public-brand-home {
    flex: 0 0 auto;
    gap: 8px;
    min-height: 38px;
  }

  .public-header img {
    width: 34px;
    height: 34px;
    max-width: none;
  }

  .public-header .module-pill {
    display: none;
  }

  .public-language-select {
    order: 2;
    flex: 1 1 92px;
    min-width: 92px;
    max-width: 118px;
    margin: 0;
    display: block;
  }

  .public-language-select span {
    display: none;
  }

  .public-language-select select {
    width: 100%;
    min-height: 34px;
    padding: 0 8px;
    font-size: 0.75rem;
  }

  .public-nav-link,
  .public-builder-cta {
    min-height: 34px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .public-nav-link {
    order: 2;
    flex: 1 1 auto;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(236, 246, 241, 0.72);
  }

  #publicMainSiteLink {
    flex-grow: 0;
    font-size: 0;
  }

  #publicMainSiteLink::before {
    content: attr(data-mobile-label);
    font-size: 0.72rem;
  }

  .public-nav-link::after {
    left: 8px;
    right: 8px;
    bottom: 3px;
  }

  .public-builder-cta {
    order: 1;
    flex: 1 1 100%;
    min-height: 38px;
    margin: 0 0 2px;
    padding: 0 13px;
    font-size: 0.82rem;
  }

  .public-passport-card {
    min-height: 0;
    padding: 16px;
    grid-template-columns: minmax(0, 1fr) 82px;
    column-gap: 12px;
    row-gap: 8px;
  }

  .public-card-passport-stack {
    width: 82px;
    gap: 6px;
  }

  .public-passport-logo-button,
  .public-card-qr-button {
    width: 82px;
  }

  .public-passport-logo-button {
    height: 82px;
  }

  .public-card-qr-button {
    min-height: 82px;
  }

  .public-card-qr-button svg {
    width: 66px;
    height: 66px;
  }

  .public-preview-silhouette {
    width: 60px;
    height: 60px;
  }

  .public-passport-card h2 {
    font-size: 1.12rem;
  }

  .public-card-meta {
    max-height: 54px;
  }

  .public-hero {
    padding: 22px;
  }

  .public-hero h1 {
    font-size: 1.9rem;
  }

  .public-passport-modal-card {
    width: min(100vw - 16px, 760px);
    max-height: min(100dvh - 16px, 900px);
  }

  .public-modal-actions {
    top: 10px;
    right: 10px;
  }

  .public-detail {
    padding: 14px;
    gap: 12px;
  }

  .content-resource-floating-nav {
    left: 50%;
    right: auto;
    top: auto;
    bottom: max(14px, env(safe-area-inset-bottom));
    grid-auto-flow: column;
    gap: 6px;
    padding: 6px;
    transform: translateX(-50%);
  }

  .content-resource-floating-button {
    width: 40px;
    height: 40px;
  }

  .content-resource-floating-button::after {
    display: none;
  }

  .public-detail-in-modal {
    padding: 0;
    padding-top: 24px;
  }

  .public-detail-hero {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas:
      "preview title"
      "meta meta"
      "qr qr";
    gap: 10px;
    align-items: center;
  }

  .public-detail-gallery {
    grid-area: preview;
    width: 96px;
    align-self: stretch;
  }

  .public-detail-preview {
    width: 96px;
    align-self: stretch;
  }

  .public-detail-preview .public-preview-silhouette {
    width: 76px;
    height: 76px;
  }

  .public-detail-hero > div:nth-child(2) {
    grid-area: title;
    min-width: 0;
    padding-right: 34px;
  }

  .public-title-row {
    align-items: flex-start;
  }

  .public-detail-hero h2 {
    margin: 4px 0 8px;
    font-size: 1.42rem;
    line-height: 1.08;
  }

  .public-detail-meta {
    grid-area: meta;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .public-detail-meta > span {
    min-width: 0;
    padding: 7px 8px;
    font-size: 0.72rem;
    overflow-wrap: anywhere;
  }

  .public-detail-meta .public-passport-number-chip {
    align-items: center;
    padding-right: 5px;
  }

  .public-detail-qr {
    grid-area: qr;
    justify-self: center;
    width: 132px;
    min-height: 132px;
    padding: 10px;
  }

  .public-detail-qr svg {
    width: 112px;
    height: 112px;
  }

  .public-gallery-controls {
    gap: 4px;
  }

  .public-gallery-controls .icon-button {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
  }

  .public-data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .public-data-column {
    gap: 8px;
  }

  .public-data-section {
    padding: 11px;
  }

  .public-data-section:first-child,
  .public-data-section:has(a) {
    grid-column: 1 / -1;
  }

  .public-data-section h3 {
    font-size: 0.78rem;
  }

  .public-data-section p,
  .public-chip-list span {
    font-size: 0.78rem;
    line-height: 1.42;
  }

  .public-chip-list {
    gap: 6px;
  }

  .public-chip-list span {
    border-radius: 8px;
    padding: 6px 7px;
  }

  .app-shell {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 11px;
  }

  .brand-panel {
    padding: 20px;
    overflow: hidden;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .signal-grid {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 12ch;
    font-size: 2.18rem;
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .topbar {
    flex-wrap: wrap;
    grid-template-columns: 1fr;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .progress-pill {
    max-width: 100%;
  }

  .stepper {
    grid-template-columns: repeat(8, minmax(58px, 1fr));
    padding-inline: 14px;
    overflow-x: auto;
  }

  .step-label {
    font-size: 0.72rem;
  }

  .topbar,
  .step-screen,
  .form-actions {
    padding-inline: 18px;
  }

  .onboarding-login-button {
    margin-left: 0;
    order: 3;
    width: 100%;
  }

  .form-grid,
  .category-fields-grid,
  .passport-category-summary,
  .option-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .security-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .verification-actions {
    display: grid;
  }
}

@media (max-width: 520px) {
  .support-panel {
    grid-template-rows: auto auto minmax(160px, 1fr) auto auto;
  }

  .support-form {
    grid-template-columns: 1fr;
  }

  .support-send {
    width: 100%;
  }

  .support-launcher {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 540px) {
  .landing-shell {
    padding-top: 108px;
    gap: 14px;
  }

  .landing-nav {
    padding: 7px 8px 8px;
    gap: 7px;
  }

  .landing-logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .landing-logo-icon img {
    width: 25px;
    height: 25px;
  }

  .landing-brand-copy {
    gap: 1px;
  }

  .landing-brand-copy strong {
    font-size: 0.84rem;
  }

  .landing-brand-copy small {
    display: none;
  }

  .landing-nav-actions {
    gap: 5px;
  }

  .landing-nav-actions button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .landing-nav .landing-ai-button svg {
    width: 15px;
    height: 15px;
  }

  .landing-language-select {
    width: 112px;
  }

  .landing-language-select select {
    min-height: 34px;
    font-size: 0.74rem;
  }

  .landing-hero {
    min-height: clamp(470px, calc(100dvh - 180px), 560px);
    padding: 18px 16px;
  }

  .landing-hero-frame {
    top: 28px;
    right: -72%;
    width: 178%;
    height: 58%;
    opacity: 0.34;
  }

  .landing-hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.15rem);
    line-height: 0.92;
  }

  .landing-hero p {
    font-size: 0.94rem;
    line-height: 1.44;
  }

  .landing-hero-content {
    gap: 14px;
  }

  .landing-hero-actions {
    gap: 8px;
  }

  .landing-hero-actions button {
    min-height: 46px;
  }

  .landing-hero-points {
    gap: 8px;
  }

  .landing-hero-points li {
    min-height: 70px;
    font-size: 0.8rem;
  }

  .landing-rubros-copy {
    padding: 22px;
  }

  .landing-rubros-copy h2 {
    font-size: clamp(1.65rem, 8vw, 2.4rem);
  }

  .landing-rubros-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .landing-rubros-grid article {
    padding: 11px;
  }

  .landing-rubros-grid strong {
    font-size: 0.78rem;
    overflow-wrap: anywhere;
  }

  .landing-rubros-grid p {
    font-size: 0.76rem;
    line-height: 1.38;
  }

  .landing-connectors-band {
    padding: 18px;
  }

  .landing-connectors-copy h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .landing-connectors-visual {
    min-height: 230px;
  }

  .connector-fusion-core {
    width: 116px;
    height: 116px;
  }

  .connector-logo-chip {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.68rem;
  }

  .connector-logo-chip.shopify { left: 4%; top: 19%; }
  .connector-logo-chip.woo { right: 4%; top: 17%; }
  .connector-logo-chip.amazon { left: 4%; bottom: 24%; }
  .connector-logo-chip.mercado { right: 4%; bottom: 24%; }
  .connector-logo-chip.zalando { left: 22%; top: 5%; }
  .connector-logo-chip.otto { right: 24%; bottom: 6%; }
  .connector-logo-chip.pim { left: 18%; bottom: 7%; }
  .connector-logo-chip.api { right: 21%; top: 6%; }

  .landing-connectors-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .landing-connectors-grid article {
    padding: 11px;
  }

  .landing-command-strip {
    display: none;
  }

  .landing-pro-block {
    gap: 12px;
  }

  .landing-pro-media {
    padding: 12px;
  }

  .landing-pro-media img {
    min-height: 220px;
  }

  .landing-pro-copy {
    padding: 22px;
  }

  .landing-logo {
    width: 100%;
  }

  .landing-route-panel img {
    max-height: 52px;
  }

  .dashboard-hero-side {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
    justify-content: stretch;
  }

  .topbar-actions {
    display: grid;
    justify-content: stretch;
  }

  .language-select {
    min-width: 0;
  }

  .public-shell {
    width: calc(100% - 14px);
    padding-top: 7px;
  }

  .public-header {
    top: 6px;
    padding: 7px;
    gap: 6px;
  }

  .public-header img {
    width: 30px;
    height: 30px;
    max-width: none;
  }

  .public-header-actions {
    gap: 5px;
  }

  .public-language-select {
    flex-basis: 74px;
    min-width: 84px;
    max-width: 104px;
    margin-right: 0;
  }

  .public-language-select select,
  .public-nav-link,
  .public-builder-cta {
    min-height: 32px;
    font-size: 0.68rem;
  }

  .public-nav-link {
    padding: 0 7px;
  }

  #publicMainSiteLink::before {
    font-size: 0.68rem;
  }

  .public-builder-cta {
    flex-basis: 100%;
    padding: 0 9px;
  }

  .public-passport-card {
    padding: 14px;
    grid-template-columns: minmax(0, 1fr) 74px;
    column-gap: 10px;
  }

  .public-card-passport-stack,
  .public-passport-logo-button,
  .public-card-qr-button {
    width: 74px;
  }

  .public-passport-logo-button {
    height: 74px;
  }

  .public-card-qr-button {
    min-height: 74px;
    padding: 5px;
  }

  .public-card-qr-button svg {
    width: 58px;
    height: 58px;
  }

  .public-preview-silhouette {
    width: 54px;
    height: 54px;
  }

  .progress-pill {
    justify-self: start;
  }

  .stepper {
    overflow-x: auto;
    grid-template-columns: repeat(5, 72px);
  }

  .step-node::before {
    left: -36px;
    right: 36px;
  }
}
