:root {
  --ink: #111111;
  --muted: #6f685d;
  --line: #e8dfd1;
  --paper: #ffffff;
  --surface: #ffffff;
  --brand: #a6ce00;
  --brand-dark: #1c2117;
  --brand-soft: #f7f1e5;
  --kraft: #c8a06b;
  --kraft-soft: #fbf6ee;
  --kraft-line: #e6d8c3;
  --accent: #c8a06b;
  --danger: #b42318;
  --shadow: 0 14px 30px rgba(17, 17, 17, 0.045);
  --radius: 8px;
  --button-radius: 999px;
  --button-radius-soft: 18px;
  --button-radius-compact: 999px;
}

/* Acciones principales DITAR EXPRESS: lenguaje visual unificado. */
.primary-cta,
.flow-next-cta,
.landing-cta,
.mockup-submit-order,
.mobile-buybar a {
  color: #b9e51b;
  background: #0d1710;
  border-color: #0d1710;
  box-shadow: 0 10px 22px rgba(13, 23, 16, 0.18);
}

.primary-cta:hover,
.flow-next-cta:hover,
.landing-cta:hover,
.mockup-submit-order:hover,
.mobile-buybar a:hover {
  color: #c9f32b;
  background: #16261a;
  border-color: #16261a;
  box-shadow: 0 13px 26px rgba(13, 23, 16, 0.24);
}

.primary-cta:focus-visible,
.flow-next-cta:focus-visible,
.landing-cta:focus-visible,
.mockup-submit-order:focus-visible,
.mobile-buybar a:focus-visible {
  outline: 3px solid rgba(185, 229, 27, 0.34);
  outline-offset: 3px;
}

.primary-cta:disabled,
.primary-cta.is-disabled,
.flow-next-cta:disabled,
.flow-next-cta.is-disabled,
.mockup-submit-order:disabled {
  color: #71806e;
  background: #18211a;
  border-color: #263229;
  box-shadow: none;
}

/* Internal operations module */
.internal-page {
  min-height: 100vh;
  background: #f6f8f4;
}

.internal-site-header {
  background: rgba(255, 255, 255, 0.96);
}

.internal-header-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  color: #173313;
  background: linear-gradient(180deg, #eef9e9 0%, #e4f4dd 100%);
  border: 1px solid #cfe6c7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ops-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.ops-login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: clamp(22px, 4vw, 64px);
  align-items: center;
  min-height: calc(100vh - 150px);
}

.ops-login-copy {
  display: grid;
  gap: 18px;
}

.ops-login-copy h1 {
  max-width: 780px;
  margin: 0;
  color: #101410;
  font-size: clamp(30px, 4.15vw, 56px);
  line-height: 0.98;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.ops-login-copy p {
  max-width: 640px;
  margin: 0;
  color: #4f5850;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.ops-login-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.ops-login-grid article,
.ops-login-card,
.ops-sidebar,
.ops-toolbar,
.ops-task-section,
.ops-detail,
.ops-order-row,
.ops-dialog-panel {
  background: #fff;
  border: 1px solid #e3eadf;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 33, 31, 0.045);
}

.ops-login-grid article {
  display: grid;
  gap: 8px;
  min-height: 136px;
  padding: 18px;
}

.ops-login-grid span,
.ops-login-card span,
.ops-sidebar-brand span,
.ops-user-card span,
.ops-toolbar span,
.ops-detail-header span,
.ops-detail-grid span,
.ops-detail-empty span,
.ops-dialog-panel header span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.ops-login-grid strong {
  color: #111712;
  font-size: 18px;
}

.ops-login-grid small {
  color: #5b655c;
  font-weight: 600;
  line-height: 1.45;
}

.ops-login-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.ops-login-card h2 {
  margin: 4px 0 0;
  font-size: 31px;
  line-height: 1;
  font-weight: 900;
}

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

.ops-role-tabs span {
  min-height: 82px;
}

.ops-login-card .full,
.primary-cta.full {
  width: 100%;
}

.ops-app {
  display: grid;
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.ops-sidebar {
  position: sticky;
  top: 84px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 16px;
  min-height: calc(100vh - 112px);
  padding: 16px;
}

.ops-sidebar-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ops-sidebar-brand img {
  width: 86px;
  height: auto;
}

.ops-user-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f7f8f4;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
}

.ops-user-card strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.ops-user-card small {
  color: #59635a;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.ops-side-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.ops-nav-button {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.ops-nav-button span {
  font-weight: 900;
}

.ops-nav-button small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ops-nav-button:hover,
.ops-nav-button.is-active {
  background: #eff8ea;
  border-color: #cfe8c7;
}

.ops-workspace {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.ops-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
}

.ops-toolbar h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.05;
}

.ops-toolbar p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

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

.ops-search {
  position: relative;
  display: block;
  min-width: min(320px, 100%);
}

.ops-search .icon {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 18px;
  height: 18px;
  color: #59635a;
  transform: translateY(-50%);
}

.ops-search input,
.ops-toolbar select,
.ops-form-field input,
.ops-form-field select,
.ops-form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5ddd1;
  border-radius: 8px;
  outline: 0;
}

.ops-search input {
  padding-left: 40px;
}

.ops-form-field textarea {
  min-height: 96px;
  padding: 12px;
  resize: vertical;
}

.ops-alert {
  padding: 12px 14px;
  color: #145077;
  background: #edf7ff;
  border: 1px solid #cae4f6;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.ops-alert.success {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: #c7e4bf;
}

.ops-alert.danger {
  color: #7c1f1f;
  background: #fff0f0;
  border-color: #efc6c6;
}

.ops-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ops-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
  gap: 14px;
  align-items: start;
}

.ops-board,
.ops-workbench,
.ops-row-list,
.ops-task-section {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.ops-task-section {
  padding: 16px;
}

.ops-task-section .internal-panel-header div {
  display: grid;
  gap: 4px;
}

.ops-task-section .internal-panel-header p {
  margin: 0;
}

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

.ops-order-row.is-selected,
.internal-tracking-card.is-selected {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(63, 159, 47, 0.14), 0 12px 26px rgba(39, 113, 29, 0.06);
}

.ops-order-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.ops-order-main > span,
.ops-order-meta {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ops-order-main strong {
  color: #111712;
  overflow-wrap: anywhere;
}

.ops-order-main small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ops-order-meta {
  justify-items: end;
  text-align: right;
}

.ops-order-inline {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ops-order-inline span {
  min-height: 34px;
  padding: 8px 10px;
  color: #566157;
  background: #f7f8f4;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.ops-row-actions,
.ops-detail-actions,
.ops-dialog-panel footer,
.icon-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ops-row-actions {
  justify-content: flex-end;
}

.primary-cta.compact,
.secondary-cta.compact,
.icon-copy {
  min-height: 38px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.primary-cta.compact,
.secondary-cta.compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
}

.primary-cta.compact .icon,
.secondary-cta.compact .icon,
.icon-copy .icon {
  width: 16px;
  height: 16px;
}

.ops-detail {
  position: sticky;
  top: 84px;
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 104px);
  padding: 16px;
  overflow: auto;
}

.ops-detail-empty {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 260px;
  text-align: center;
}

.ops-detail-empty strong {
  font-size: 23px;
}

.ops-detail-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.ops-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ops-detail-header div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ops-detail-header strong {
  font-size: 20px;
  overflow-wrap: anywhere;
}

.ops-detail-actions {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}

.ops-console-note {
  margin: 0;
  padding: 11px 12px;
  color: #4f5f50;
  background: #f7faf5;
  border: 1px solid #dce7d7;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.ops-detail-group {
  display: grid;
  gap: 10px;
}

.ops-detail-group h3 {
  margin: 0;
  font-size: 16px;
}

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

.ops-detail-grid div {
  display: grid;
  gap: 5px;
  min-height: 66px;
  padding: 10px;
  background: #f7f8f4;
  border-radius: 8px;
}

.ops-detail-grid strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.internal-file-grid.compact {
  grid-template-columns: 1fr;
}

.internal-file-grid.compact .internal-file-box {
  min-height: 132px;
}

.ops-note-stack {
  display: grid;
  gap: 8px;
}

.ops-note-stack p {
  margin: 0;
  padding: 10px;
  color: #4f5850;
  background: #fffaf0;
  border: 1px solid #efe1ac;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.ops-prepress {
  padding: 12px;
  background: #f7fbf4;
  border: 1px solid #d4ebca;
  border-radius: 8px;
}

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

.ops-prepress-grid div {
  display: grid;
  gap: 4px;
  min-height: 60px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #dfe9d9;
  border-radius: 8px;
}

.ops-prepress-grid span,
.ops-prepress-checklist span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ops-prepress-grid strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.ops-prepress-checklist {
  display: grid;
  gap: 7px;
}

.ops-prepress-checklist p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 9px;
  background: #ffffff;
  border: 1px solid #dfe9d9;
  border-radius: 8px;
}

.ops-prepress-checklist .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
  flex: 0 0 auto;
}

.ops-prepress-checklist p:not(.is-done) .icon {
  color: #777d75;
}

.ops-prepress-recommendation {
  margin: 0;
  padding: 10px;
  color: #264a22;
  background: #ffffff;
  border: 1px solid #cce8c1;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.ops-production-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ops-production-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ops-production-step {
  padding: 8px 11px;
  color: #637062;
  background: #ffffff;
  border: 1px solid #dfe9d9;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.ops-production-step.is-complete {
  color: #285c20;
  border-color: #cbe7bf;
  background: #eef8e8;
}

.ops-production-step.is-active {
  color: #ffffff;
  border-color: #2d8d2a;
  background: linear-gradient(135deg, #2f8f2f, #94ce36);
  box-shadow: 0 10px 18px rgba(80, 153, 47, 0.2);
}

.ops-history {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ops-history li {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 10px 10px 10px 26px;
  background: #f7f8f4;
  border-radius: 8px;
}

.ops-history li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 15px;
  width: 8px;
  height: 8px;
  background: var(--brand);
  border-radius: 999px;
}

.ops-history strong {
  font-size: 13px;
}

.ops-history span,
.ops-history small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ops-kanban {
  grid-template-columns: repeat(6, minmax(210px, 1fr));
}

.internal-tracking-card {
  cursor: pointer;
}

.ops-dialog {
  width: min(620px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.ops-dialog::backdrop {
  background: rgba(15, 22, 15, 0.44);
  backdrop-filter: blur(4px);
}

.ops-dialog-panel {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 18px;
}

.ops-dialog-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ops-dialog-panel header div {
  display: grid;
  gap: 4px;
}

.ops-dialog-panel h2 {
  margin: 0;
  font-size: 25px;
  line-height: 1.05;
}

.ops-dialog-panel footer {
  justify-content: flex-end;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}

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

.ops-form-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .ops-app,
  .ops-layout,
  .ops-login {
    grid-template-columns: 1fr;
  }

  .ops-sidebar,
  .ops-detail {
    position: static;
    min-height: 0;
    max-height: none;
  }

  .ops-side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .ops-shell {
    width: min(100% - 24px, 1480px);
    padding-top: 18px;
  }

  .ops-login {
    min-height: auto;
  }

  .ops-login-copy h1 {
    font-size: 34px;
  }

  .ops-login-grid,
  .ops-role-tabs,
  .ops-side-nav,
  .ops-stats,
  .ops-order-main,
  .ops-order-inline,
  .ops-detail-grid {
    grid-template-columns: 1fr;
  }

  .ops-toolbar,
  .ops-detail-header,
  .ops-dialog-panel header,
  .ops-dialog-panel footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ops-toolbar-actions,
  .ops-search {
    width: 100%;
  }

  .ops-order-row {
    grid-template-columns: 1fr;
  }

  .ops-order-meta,
  .ops-row-actions {
    justify-items: start;
    justify-content: flex-start;
    text-align: left;
  }

  .ops-kanban {
    grid-template-columns: repeat(6, minmax(230px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Montserrat, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 10, 10, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.header-top {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 8px 20px;
  color: #f8faf8;
  background: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1388px;
  margin: 0 auto;
  padding: 10px 20px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.02em;
}

.brand-logo {
  display: block;
  width: auto;
  height: 36px;
  max-width: 176px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-product-name {
  color: #a8dc17;
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 10px;
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links--journey {
  display: none;
}

.nav-context {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  color: #dce8d8;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.nav-context > span {
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(166, 206, 0, 0.12);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #173018;
  background: #d0f443;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(166, 206, 0, 0.2);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.nav-cta-art {
  display: block;
  width: auto;
  height: 42px;
  filter: drop-shadow(0 10px 22px rgba(254, 186, 51, 0.22));
}

.nav-cta:hover {
  transform: translateY(-1px);
  background: #dcff57;
  box-shadow: 0 14px 26px rgba(166, 206, 0, 0.26);
}

.nav-cta:hover .nav-cta-art {
  filter: drop-shadow(0 14px 26px rgba(254, 186, 51, 0.28));
}

.customer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 10px 0 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.customer-chip[hidden] {
  display: none;
}

.customer-chip button {
  min-height: 28px;
  padding: 0 9px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
}

body:not(.journey-started) .app-module,
body:not(.journey-started) .mobile-buybar,
body:not(.journey-started) .cart-button {
  display: none;
}

body.journey-started .registration-landing,
body.journey-started .faq-section {
  display: none;
}

body.journey-started .breadcrumb,
body.journey-started .gallery-tabs {
  display: none;
}

body.journey-started .nav-cta {
  display: inline-flex;
  margin-left: auto;
}

body.journey-started .navbar {
  max-width: 1440px;
  gap: 14px;
}

body.journey-started .nav-links--landing {
  display: none;
}

body.journey-started .nav-links--journey {
  display: flex;
  margin-left: auto;
}

body.journey-exit-open {
  overflow: hidden;
}

body.journey-started .cart-button {
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.journey-started .cart-button strong {
  color: var(--ink);
  background: var(--brand);
}

.app-module:not([data-flow-step="select"]) .purchase-notes {
  display: none;
}

.social-rail {
  position: fixed;
  left: 12px;
  top: 50%;
  z-index: 35;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 12px 8px 14px;
  color: #111;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e7ede3;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(18, 32, 18, 0.08);
  transform: translateY(-50%);
}

body.journey-started .social-rail {
  left: 10px;
  gap: 8px;
  padding: 10px 6px 12px;
  box-shadow: 0 10px 22px rgba(18, 32, 18, 0.06);
}

.social-rail span {
  width: 26px;
  height: 2px;
  background: #dfe7dc;
}

.social-rail a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #111;
  border: 1px solid #dfe7dc;
  border-radius: 50%;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

body.journey-started .social-rail a,
body.journey-started .social-rail .social-rail-mark {
  width: 36px;
  height: 36px;
}

.social-rail a:hover {
  color: #111;
  background: var(--brand-soft);
  transform: translateY(-2px);
}

.social-rail .social-rail-mark {
  width: 42px;
  height: 40px;
  color: #111;
  background: #fff;
  border: 1px solid #dfe7dc;
  border-radius: 50%;
}

.social-rail .social-rail-mark:hover {
  color: #111;
  background: var(--brand-soft);
}

.social-rail .icon {
  width: 25px;
  height: 25px;
  stroke-width: 1.9;
}

body.journey-started .social-rail .icon {
  width: 22px;
  height: 22px;
}

.social-rail .social-brand-icon {
  fill: currentColor;
  stroke: none;
  stroke-width: 0;
}

.social-rail .social-instagram {
  color: #111;
}

.social-rail .social-linkedin {
  color: #111;
}

.social-rail .social-youtube {
  color: #111;
}

.social-rail .social-instagram:hover,
.social-rail .social-linkedin:hover,
.social-rail .social-youtube:hover {
  background: #fff;
  box-shadow: 0 8px 18px rgba(18, 32, 18, 0.08);
}

.social-rail .social-instagram:hover {
  color: #111;
}

.social-rail .social-linkedin:hover {
  color: #111;
}

.social-rail .social-youtube:hover {
  color: #111;
}

.social-rail-mark img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0);
}

body.journey-started .social-rail-mark img {
  width: 24px;
  height: 24px;
}

.cart-button,
.primary-cta,
.secondary-cta,
.icon-button,
.stepper,
.tier-row button,
.assistant-toggle,
.assistant-actions button,
.assistant-form button {
  border: 0;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.cart-button:hover,
.primary-cta:hover,
.secondary-cta:hover,
.stepper:hover,
.tier-row button:hover,
.assistant-toggle:hover,
.assistant-actions button:hover,
.assistant-form button:hover {
  transform: translateY(-0.5px);
}

.cart-button:focus-visible,
.primary-cta:focus-visible,
.secondary-cta:focus-visible,
.icon-button:focus-visible,
.stepper:focus-visible,
.tier-row button:focus-visible,
.assistant-toggle:focus-visible,
.assistant-actions button:focus-visible,
.assistant-form button:focus-visible {
  outline: 3px solid rgba(166, 206, 0, 0.26);
  outline-offset: 2px;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: auto;
  min-width: auto;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-weight: 700;
  box-shadow: none;
  backdrop-filter: none;
  position: relative;
  isolation: isolate;
}

.cart-button--svg::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 27px;
  bottom: 4px;
  left: 46px;
  background: #ffffff;
  border-radius: 999px;
  z-index: 1;
}

.cart-button:hover {
  background: transparent;
  color: var(--ink);
}

.cart-button.is-empty {
  box-shadow: none;
}

.cart-copy {
  position: absolute;
  left: 62px;
  right: 36px;
  top: 50%;
  display: grid;
  gap: 0;
  text-align: left;
  transform: translateY(-50%);
  pointer-events: none;
  min-width: 0;
  z-index: 2;
}

.cart-title {
  display: none;
}

.cart-copy small {
  display: block;
  max-width: 140px;
  overflow: hidden;
  color: #24221d;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-button strong {
  position: absolute;
  right: 11px;
  top: 50%;
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  color: var(--ink);
  background: var(--brand);
  border-radius: 50%;
  font-size: 10px;
  transform: translateY(-50%);
  box-shadow: 0 6px 12px rgba(166, 206, 0, 0.24);
  z-index: 2;
}

.cart-button-art {
  display: block;
  width: auto;
  height: 43px;
  filter: drop-shadow(0 14px 24px rgba(17, 17, 17, 0.12));
  position: relative;
  z-index: 0;
}

.cart-button:hover .cart-button-art {
  filter: drop-shadow(0 16px 28px rgba(17, 17, 17, 0.16));
}

.product-shell {
  display: grid;
  grid-template-columns: minmax(0, 800px) minmax(370px, clamp(390px, 30vw, 410px));
  gap: 18px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8px 18px 10px;
}

.product-shell.is-mockup-workspace {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1340px;
}

.product-shell.is-checkout-workspace {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1440px;
}

.product-shell.is-mockup-workspace .buy-panel {
  display: none;
}

.product-shell.is-checkout-workspace .buy-panel {
  display: none;
}

.product-shell.is-mockup-workspace .breadcrumb {
  display: none;
}

.product-shell.is-checkout-workspace .breadcrumb {
  display: none;
}

.product-shell.is-mockup-workspace .gallery-tabs {
  margin-bottom: 12px;
}

.registration-landing {
  display: block;
  min-height: calc(100vh - 72px);
  padding: 26px 22px 58px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.registration-landing::after,
.registration-landing::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-image: url("assets/hojas-flotando.svg");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.16;
  filter: saturate(1.08);
}

.registration-landing::before {
  left: -150px;
  bottom: 12px;
  width: 650px;
  height: 650px;
  transform: rotate(-4deg);
  animation: leavesDriftLeft 12s ease-in-out infinite;
}

.registration-landing::after {
  right: -180px;
  top: 46px;
  width: 760px;
  height: 760px;
  opacity: 0.11;
  transform: rotate(14deg);
  animation: leavesDriftRight 14s ease-in-out infinite;
}

.registration-form-open {
  overflow: hidden;
}

.registration-form-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(7px);
  animation: fadeIn 0.22s ease both;
}

.campaign-entry {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(500px, 1.04fr) minmax(420px, 0.86fr);
  gap: clamp(24px, 3.2vw, 56px);
  align-items: center;
  width: min(1320px, 100%);
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 18px 10px 58px;
  overflow: visible;
  background: transparent;
}

.hero-visual {
  position: relative;
  min-height: 680px;
  animation: heroSlideIn 0.7s ease both;
}

.hero-glow {
  position: absolute;
  left: 8%;
  bottom: 13%;
  width: 54%;
  height: 46%;
  background: radial-gradient(circle, rgba(99, 205, 44, 0.24), rgba(99, 205, 44, 0) 66%);
  filter: blur(8px);
}

.hero-bag-frame {
  position: absolute;
  left: -18%;
  bottom: 0;
  width: min(940px, 142%);
  height: 710px;
  overflow: visible;
}

.hero-bag-frame img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
}

.hero-seal {
  position: absolute;
  right: 1%;
  bottom: 10%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 134px;
  height: 134px;
  color: #111;
  background: #fff;
  border: 10px solid #008e14;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.12);
  animation: sealPop 0.65s 0.35s ease both;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  justify-items: start;
  animation: heroFadeUp 0.7s 0.12s ease both;
}

.hero-copy .product-kicker {
  color: var(--brand-dark);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.hero-copy h1 {
  max-width: 920px;
  margin: 0;
  color: #050505;
  font-size: clamp(28px, 2.25vw, 40px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero-copy h1 .hero-title-primary {
  display: block;
  color: #050505;
  white-space: nowrap;
}

.hero-copy h1 .hero-title-accent {
  display: block;
  color: #008e14;
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: #363636;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.46;
  font-weight: 500;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(540px, 100%);
  margin: 2px 0 0;
}

.hero-benefits article {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 68px;
  padding: 0 12px;
  text-align: center;
  border-right: 1px solid #d3cec5;
  animation: heroFadeUp 0.55s ease both;
}

.hero-benefits article:nth-child(1) { animation-delay: 0.24s; }
.hero-benefits article:nth-child(2) { animation-delay: 0.32s; }
.hero-benefits article:nth-child(3) { animation-delay: 0.4s; }
.hero-benefits article:nth-child(4) { animation-delay: 0.48s; border-right: 0; }

.hero-benefits .icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #080808;
  stroke-width: 1.75;
}

.hero-benefits strong {
  color: #1f1f1f;
  font-size: 11px;
  line-height: 1.28;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.landing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  gap: 16px;
  min-width: min(360px, 100%);
  min-height: 52px;
  padding: 0 22px;
  color: #111;
  background: #ffbd21;
  border: 0;
  border-radius: 999px;
  font-size: clamp(14px, 0.95vw, 16px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 14px 24px rgba(255, 189, 33, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.landing-cta:hover {
  background: #ffc94d;
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(255, 189, 33, 0.26);
}

.landing-cta:focus-visible {
  outline: 4px solid rgba(240, 180, 41, 0.9);
  outline-offset: 3px;
}

.landing-cta .icon {
  width: 24px;
  height: 24px;
  stroke-width: 2.4;
}

.landing-cta .icon-arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.18s ease;
}

.landing-cta:hover .icon-arrow {
  transform: translateX(4px);
}

.hero-trust {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-left: 8px;
  color: #66645f;
  font-size: 13px;
  font-weight: 500;
}

.hero-trust .icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  padding: 4px;
  stroke-width: 2.4;
}

.registration-copy h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.registration-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 500;
}

.registration-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.registration-benefits article,
.registration-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.registration-benefits article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.registration-benefits span,
.registration-card p,
.registration-card small {
  color: var(--muted);
  line-height: 1.55;
}

.registration-card {
  display: grid;
  gap: 16px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.registration-card h2,
.login-card h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.registration-card p {
  margin-bottom: 4px;
}

.registration-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.login-card {
  align-self: center;
  gap: 12px;
  width: min(100%, 430px);
  padding: 42px;
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.registration-form-open .login-card {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 80;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  transform: translate(-50%, -50%);
  animation: modalPop 0.28s ease both;
}

.login-card h2 {
  max-width: 330px;
  color: #080808;
  font-size: 30px;
  line-height: 0.98;
  text-transform: uppercase;
}

.login-card h2 span {
  display: block;
  color: var(--brand-dark);
}

.login-card p {
  margin: 0 0 8px;
  color: #2d2d2d;
  font-size: 14px;
  font-weight: 700;
}

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

.login-field > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.login-field .icon {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #161616;
  stroke-width: 2;
  transform: translateY(-50%);
}

.login-field input,
.login-field select {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 48px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5d8dd;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  outline: 0;
  box-shadow: none;
}

.login-field input::placeholder {
  color: #686d75;
}

.login-field input:focus,
.login-field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(39, 113, 29, 0.12);
}

.login-field input[readonly] {
  color: #55604f;
  background: #f7f8f2;
  cursor: default;
}

.login-card .login-field input,
.login-card .login-field select {
  height: 54px;
  min-height: 54px;
  padding: 0 16px 0 58px;
}

.login-card .login-field .icon {
  left: 18px;
  width: 22px;
  height: 22px;
}

.login-map-link,
.checkout-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  min-height: 34px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-map-link .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

.login-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 56px;
  margin-top: 6px;
  color: #fff;
  background: linear-gradient(180deg, #36a429, #237e1a);
  border: 0;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 12px 22px rgba(35, 126, 26, 0.22);
}

.login-submit .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2.4;
}

.login-card small {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 8px;
  color: #4b5158;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.login-card small .icon {
  width: 18px;
  height: 18px;
  color: var(--accent);
  stroke-width: 2.2;
}

.consent-box {
  display: grid;
  gap: 8px;
  padding: 14px 15px;
  background: #fafbf7;
  border: 1px solid #e2e8d8;
  border-radius: 16px;
}

.consent-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #1d2618;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-transform: none;
}

.consent-check input {
  width: 16px;
  height: 16px;
  min-height: auto;
  margin: 2px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  accent-color: var(--brand);
}

.consent-check input:focus-visible {
  outline: 2px solid rgba(166, 206, 0, 0.55);
  outline-offset: 2px;
}

.consent-check span {
  display: block;
  text-transform: none;
}

.consent-box small {
  display: block;
  margin: 0;
  color: #64705e;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}

.consent-box a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes heroSlideIn {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sealPop {
  from {
    opacity: 0;
    transform: scale(0.75) rotate(-8deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes leavesDriftLeft {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-4deg);
  }
  50% {
    transform: translate3d(24px, -18px, 0) rotate(2deg);
  }
}

@keyframes leavesDriftRight {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(14deg);
  }
  50% {
    transform: translate3d(-24px, 20px, 0) rotate(8deg);
  }
}

.gallery-area,
.buy-panel {
  min-width: 0;
}

.journey-header-shell {
  position: sticky;
  top: 74px;
  z-index: 24;
  display: grid;
  gap: 16px;
  max-width: 1440px;
  margin: 10px auto 20px;
  padding: 10px 18px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 236, 227, 0.92);
  backdrop-filter: blur(12px);
}

.journey-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 2px 0 14px;
  max-width: none;
  border-bottom: 1px solid #e8eee4;
}

.journey-toolbar-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  max-width: 760px;
}

.journey-toolbar-copy span {
  color: #718069;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-toolbar-copy strong {
  color: #101510;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.journey-toolbar-copy p {
  color: #5e675b;
  font-size: 13px;
  line-height: 1.55;
  max-width: 62ch;
}

.journey-back-home {
  min-height: 40px;
  padding: 0 18px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--kraft-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: none;
}

.journey-back-home:hover {
  background: var(--kraft-soft);
  border-color: #dcc7aa;
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.journey-step {
  --step-rgb: 200, 173, 120;
  --step-number: #bb9562;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "title"
    "desc";
  row-gap: 6px;
  align-items: center;
  min-height: 112px;
  padding: 18px 22px 18px 112px;
  text-align: left;
  color: #111111;
  background: linear-gradient(135deg, #ffffff 0%, #fbfcfa 100%);
  border: 1px solid #e5ece3;
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.035);
  cursor: pointer;
  appearance: none;
  overflow: visible;
  isolation: isolate;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, opacity 0.18s ease;
}

.journey-step:hover {
  transform: translateY(-2px);
  filter: none;
  box-shadow: 0 16px 28px rgba(17, 17, 17, 0.055);
}

.journey-step::before {
  display: none;
}

.journey-step::after {
  display: none;
}

.journey-step span {
  position: absolute;
  top: 50%;
  left: -18px;
  width: auto;
  height: auto;
  color: var(--step-number);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: translateY(-51%);
  font-size: 86px;
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 18px rgba(var(--step-rgb), 0.14);
  z-index: 2;
}

.journey-step strong {
  grid-area: title;
  position: relative;
  margin-left: 10px;
  color: #171914;
  max-width: none;
  font-size: 22px;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-weight: 700;
  text-transform: none;
  z-index: 2;
}

.journey-step small {
  grid-area: desc;
  position: relative;
  margin-left: 10px;
  color: #61695e;
  max-width: 34ch;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  z-index: 2;
}

.journey-step[data-flow-target="select"] {
  --step-rgb: 200, 173, 120;
  --step-number: #bc9560;
}

.journey-step[data-flow-target="mockup"] {
  --step-rgb: 176, 191, 110;
  --step-number: #839453;
}

.journey-step[data-flow-target="checkout"] {
  --step-rgb: 166, 206, 0;
  --step-number: #7d9f0b;
}

.journey-step:not(.is-active) {
  filter: none;
  opacity: 0.96;
}

.journey-step.is-active {
  --step-rgb: 166, 206, 0;
  --step-number: #7d9f0b;
  filter: none;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ffffff 0%, #f8fdf1 100%);
  border-color: rgba(166, 206, 0, 0.34);
  box-shadow: 0 18px 30px rgba(166, 206, 0, 0.12);
}

.journey-step.is-active span {
  text-shadow: 0 14px 24px rgba(var(--step-rgb), 0.22);
}

.journey-step.is-active strong {
  color: #111111;
}

.journey-step.is-active small {
  color: #5f5b52;
}

.journey-step.is-active::after {
  opacity: 1;
}

.journey-step.is-active::before {
  box-shadow: 0 8px 16px rgba(20, 30, 24, 0.14);
}

.journey-step.is-complete {
  filter: none;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.05);
}

.journey-step.is-complete span {
  opacity: 0.96;
}

.journey-step.is-disabled,
.journey-step:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.journey-step.is-disabled:hover,
.journey-step:disabled:hover {
  transform: none;
}

.mockup-back-step {
  min-height: 40px;
  padding: 0 14px;
  white-space: nowrap;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  margin-bottom: 10px;
  color: #3b3b3b;
  font-size: 14px;
}

.breadcrumb a {
  color: #313942;
}

.gallery-tabs {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 0;
  border-bottom: 0;
}

.gallery-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 40px;
  margin: 0;
  padding: 0 20px;
  border: 1px solid #d6e5d2;
  border-radius: 8px;
  background: #ffffff;
  color: #111712;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(24, 33, 31, 0.06);
  cursor: pointer;
  appearance: none;
}

.gallery-tab:hover {
  color: var(--brand-dark);
  background: #fbfff8;
  border-color: #bfe5b4;
  box-shadow: 0 10px 22px rgba(39, 113, 29, 0.08);
}

.gallery-tab.is-active {
  background: #f7fff3;
  color: #14730d;
  border-color: #3faa33;
  box-shadow: inset 0 0 0 1px rgba(63, 170, 51, 0.08), 0 8px 18px rgba(39, 113, 29, 0.06);
}

.gallery-tab[aria-selected="true"] {
  z-index: 2;
}

.gallery-tab-panel {
  transition: opacity 0.2s ease;
}

.gallery-tab-panel[hidden] {
  display: none !important;
}

.mockup-embed-module {
  width: 100%;
  min-height: 660px;
  background: #f7faf5;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mockup-embed-frame {
  display: block;
  width: 100%;
  min-height: 660px;
  border: 0;
  background: #f7faf5;
}

.product-shell.is-mockup-workspace .mockup-embed-module,
.product-shell.is-mockup-workspace .mockup-embed-frame {
  height: max(740px, calc(100vh - 72px));
  height: max(740px, calc(100svh - 72px));
  min-height: max(740px, calc(100vh - 72px));
  min-height: max(740px, calc(100svh - 72px));
}

/* Centra el editor del paso 2 en el espacio visible sin afectar el flujo movil. */
@media (min-width: 761px) {
  body.journey-started .app-module[data-flow-step="mockup"] {
    display: grid;
    align-items: center;
    min-height: calc(100vh - 64px);
    min-height: calc(100svh - 64px);
  }

  body.journey-started .app-module[data-flow-step="mockup"] .product-shell.is-mockup-workspace {
    padding-bottom: 0;
  }
}

.mockup-workbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid #e5ece3;
  border-radius: 22px;
  box-shadow: 0 16px 28px rgba(17, 17, 17, 0.06);
}

.mockup-workbar-copy {
  display: grid;
  gap: 2px;
  min-width: 190px;
}

.mockup-workbar-copy span {
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mockup-workbar-copy strong {
  color: #121812;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}

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

.mockup-selected-reference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label measure"
    "name measure";
  column-gap: 16px;
  row-gap: 3px;
  align-items: center;
  min-width: 270px;
  min-height: 54px;
  padding: 9px 14px;
  color: #263423;
  background: #f7faf5;
  border: 1px solid #dfe8db;
  border-radius: 16px;
}

.mockup-selected-reference span {
  grid-area: label;
  color: #6c7967;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.mockup-selected-reference strong {
  grid-area: name;
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mockup-selected-reference small {
  grid-area: measure;
  padding-left: 14px;
  color: #4d6948;
  border-left: 1px solid #dce6d8;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.mockup-size-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 6px;
  padding: 5px;
  background: #f8faf7;
  border: 1px solid #e5ece3;
  border-radius: 16px;
}

.mockup-size-switch button,
.mockup-submit-order {
  min-height: 44px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.mockup-size-switch button {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 10px 12px;
  color: #2c3a2a;
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
}

.mockup-size-switch button strong {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.mockup-size-switch button small {
  color: #6d7a68;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
}

.mockup-size-switch button.is-active {
  color: var(--ink);
  background: #fff;
  border-color: rgba(166, 206, 0, 0.42);
  box-shadow: 0 12px 20px rgba(166, 206, 0, 0.12);
}

.mockup-size-switch button.is-active small {
  color: #4a7746;
}

.mockup-submit-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  color: #111111;
  background: linear-gradient(135deg, #b7d913 0%, #a7cc05 58%, #a0c600 100%);
  border: 1px solid #9dbd15;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 12px 22px rgba(166, 206, 0, 0.16);
}

.mockup-submit-order .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
}

.mockup-module {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(260px, 320px);
  align-items: start;
  gap: 14px;
  padding: 12px;
  min-height: 520px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.mockup-preview-shell {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  min-height: clamp(500px, 52vw, 640px);
  background: #fff;
  border: 1px solid #e4eadf;
  border-radius: 10px;
  overflow: hidden;
}

.mockup-preview-shell canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: grab;
  touch-action: none;
}

.mockup-preview-shell.is-dragging canvas {
  cursor: grabbing;
}

.mockup-preview-shell span {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e4eadf;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mockup-preview-shell.has-artwork span {
  display: none;
}

.mockup-fields {
  display: grid;
  gap: 10px;
}

.mockup-module p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.mockup-adjust-fields {
  display: grid;
  gap: 9px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e4eadf;
  border-radius: 10px;
}

.mockup-adjust-fields legend {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.mockup-adjust-fields label {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mockup-adjust-fields input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
}

.mockup-presets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mockup-presets button {
  min-height: 34px;
  padding: 0 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.mockup-presets button:hover {
  background: var(--brand-soft);
}

.mockup-presets button.is-active {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(63, 159, 47, 0.18);
}

.mockup-reset {
  min-height: 36px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.mockup-reset:hover {
  background: var(--brand-soft);
  border-color: #dcc7aa;
}

.gusset-fields {
  display: grid;
  gap: 9px;
  padding: 10px;
  background: #fff;
  border: 1px solid #e4eadf;
  border-radius: 10px;
}

.gusset-fields legend {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

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

.gusset-mode label {
  display: grid;
}

.gusset-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gusset-mode span {
  display: grid;
  place-items: center;
  min-height: 38px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.gusset-mode input:checked + span {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: var(--brand);
  box-shadow: 0 0 0 1px rgba(63, 159, 47, 0.22);
}

.gusset-copy-grid {
  display: grid;
  gap: 8px;
}

.gusset-copy-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-carousel {
  display: block;
  align-items: stretch;
  width: 100%;
}

.carousel-stage {
  position: relative;
  display: block;
  height: clamp(640px, calc(100vh - 110px), 780px);
  min-height: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.carousel-main {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 72px 18px;
}

.carousel-main img {
  display: block;
  width: min(92.4%, 682px);
  height: min(100%, 682px);
  margin-bottom: 0;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.carousel-main img.mockup-active {
  width: min(99%, 704px);
  max-height: 100%;
}

.carousel-main img.is-changing {
  opacity: 0;
  transform: scale(0.985);
}

.carousel-main figcaption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: none;
  max-width: 340px;
  padding: 12px 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(220, 228, 223, 0.9);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(24, 33, 31, 0.08);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(39, 113, 29, 0.16);
  transform: translateY(-50%);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.carousel-arrow:hover {
  background: var(--brand-dark);
  box-shadow: 0 12px 26px rgba(39, 113, 29, 0.2);
}

.carousel-arrow-prev {
  left: 14px;
}

.carousel-arrow-next {
  right: 14px;
}

.carousel-arrow-prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.carousel-arrow-next:hover {
  transform: translateY(-50%) translateX(2px);
}

.carousel-counter {
  position: absolute;
  top: 4px;
  right: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--kraft-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.buy-panel {
  align-self: start;
  scroll-margin-top: 92px;
  margin-top: 0;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfb 100%);
  border: 1px solid #e7ede4;
  border-radius: 26px;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.05);
}

.buy-panel:has(#especificaciones[hidden]) {
  align-self: center;
}

.buy-panel > .product-kicker {
  display: none;
}

.product-kicker,
.section-label {
  color: #8d6c43;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(28px, 2.1vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
}

h3 {
  margin-bottom: 8px;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  padding: 8px 10px;
  background: #f8faf7;
  border: 1px solid #e9efe5;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
}

.status-row span {
  padding: 6px 12px;
  color: #53604d;
  background: #ffffff;
  border: 1px solid #e5ece3;
  border-radius: 999px;
}

.status-row a {
  margin-left: auto;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

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

.flow-panel {
  display: grid;
  gap: 14px;
}

.flow-panel-copy {
  display: grid;
  gap: 5px;
}

.flow-panel-copy span {
  color: #74816d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.flow-panel-copy h2 {
  margin-bottom: 0;
  font-size: clamp(21px, 1.7vw, 26px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  font-weight: 680;
}

.flow-panel-copy p {
  margin-bottom: 0;
  color: #5f685a;
  font-size: 12px;
  line-height: 1.48;
  max-width: 42ch;
}

.flow-panel fieldset {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: linear-gradient(180deg, #fbfef8 0%, #f8fcf4 100%);
  border: 1px solid #dfe9d9;
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.flow-panel legend {
  margin-bottom: 0;
  color: #7a876f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 10px;
  line-height: 1.9;
  background: #f1f8ea;
  border: 1px solid #d8e7cf;
  border-radius: 999px;
}

.option-grid {
  display: grid;
  gap: 12px;
}

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

.campaign-size-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.flow-panel fieldset:has(.campaign-size-grid) {
  color: #fff;
  background: #102117;
  border-color: #102117;
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.flow-panel fieldset:has(.campaign-size-grid) > legend {
  color: #17210f;
  background: var(--brand);
  border-color: var(--brand);
}

.reference-choice-guide {
  display: grid;
  gap: 4px;
  padding: 2px 2px 4px;
}

.reference-choice-guide > span {
  color: #b9e51b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.reference-choice-guide > strong {
  color: #fff;
  font-size: 17px;
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.reference-choice-guide > p {
  margin: 0;
  color: #e4ebe3;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
}

.reference-choice-guide ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 5px 0 0;
  padding: 0;
  list-style: none;
}

.reference-choice-guide li {
  display: flex;
  gap: 5px;
  align-items: center;
  min-width: 0;
  color: #fff;
  font-size: 9px;
  font-weight: 750;
}

.reference-choice-guide b {
  display: grid;
  flex: 0 0 19px;
  place-items: center;
  width: 19px;
  height: 19px;
  color: #17210f;
  background: var(--brand);
  border-radius: 50%;
  font-size: 9px;
}

.flow-panel fieldset:has(.campaign-size-grid) .campaign-size-grid .option-card:has(input:checked) {
  background: #e7f6dd;
  border-color: #a6ce00;
  box-shadow: 0 0 0 3px rgba(166, 206, 0, 0.2), 0 12px 22px rgba(78, 124, 44, 0.14);
}

.flow-panel fieldset:has(.campaign-size-grid) .campaign-size-grid .option-card:has(input:checked) span,
.flow-panel fieldset:has(.campaign-size-grid) .campaign-size-grid .option-card:has(input:checked) small,
.flow-panel fieldset:has(.campaign-size-grid) .campaign-size-grid .option-card:has(input:checked) .option-choice-action {
  color: #20391b;
}

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

.option-card {
  display: grid;
  position: relative;
  align-content: start;
  gap: 7px;
  min-height: 88px;
  padding: 16px 17px 15px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfefd 100%);
  border: 1px solid #dfe8da;
  border-radius: 20px;
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.025);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.option-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 0;
  height: 2px;
  background: transparent;
  border-radius: 0 0 8px 8px;
  transition: background 0.18s ease;
}

.option-card:hover {
  transform: translateY(-1px);
  border-color: #cadbc2;
  box-shadow: 0 10px 18px rgba(38, 56, 31, 0.05);
}

.option-card.compact {
  min-height: 52px;
  place-content: center;
  text-align: center;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-card span {
  color: #101510;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.1;
  letter-spacing: -0.018em;
}

.option-card small {
  color: #677260;
  font-size: 11px;
  font-weight: 560;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.campaign-size-grid .option-card {
  min-height: 96px;
  padding: 34px 44px 11px 14px;
  border-radius: 16px;
  overflow: hidden;
}

.campaign-size-grid .option-card span {
  font-size: 14px;
  line-height: 1.08;
}

.campaign-size-grid .option-card small {
  color: #5f6b58;
  font-size: 10px;
  font-weight: 700;
}

.campaign-size-grid .option-card::after {
  content: "#35";
  position: absolute;
  top: 12px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: #62705b;
  background: #f4f8f1;
  border: 1px solid #dce6d7;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 900;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.campaign-size-grid .option-card:nth-child(2)::after {
  content: "#60";
}

.option-choice-indicator {
  position: absolute;
  top: 13px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  background: #fff;
  border: 2px solid #aebaa8;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.72);
}

.option-choice-indicator::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.16s ease;
}

.option-choice-action {
  display: block;
  margin-top: auto;
  color: #506047;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.campaign-size-grid .option-card:hover .option-choice-action {
  color: #263c1d;
}

.campaign-size-grid .option-card:has(input:checked) .option-choice-indicator {
  background: var(--brand);
  border-color: #8aad00;
}

.campaign-size-grid .option-card:has(input:checked) .option-choice-indicator::after {
  transform: scale(1);
}

.campaign-size-grid .option-card:has(input:checked) .option-choice-action {
  color: #315527;
}

.campaign-size-grid .option-card:has(input:checked) .option-choice-action::before {
  content: "Seleccionada \00b7  ";
}

.campaign-size-grid .option-card:has(input:checked)::after {
  color: #17210f;
  background: var(--brand);
  border-color: var(--brand);
}

.campaign-size-grid .option-card:focus-within {
  outline: 3px solid rgba(166, 206, 0, 0.2);
  outline-offset: 2px;
}

#goToMockupBtn:not(:disabled) {
  color: #15200c;
  background: linear-gradient(135deg, #bce51a 0%, #a6ce00 58%, #95bd00 100%);
  border-color: #8eb400;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 24px rgba(132, 170, 0, 0.2);
}

#goToMockupBtn:not(:disabled):hover {
  background: linear-gradient(135deg, #c8eb32 0%, #afd70a 58%, #9bc400 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 15px 28px rgba(132, 170, 0, 0.25);
}

#goToMockupBtn span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.18s ease;
}

#goToMockupBtn:not(:disabled):hover span {
  transform: translateX(3px);
}

#quoteBtn {
  color: #283322;
  background: #fff;
  border-color: #dce6d7;
  box-shadow: none;
}

#quoteBtn:hover {
  color: #24451d;
  background: #f7fbf4;
  border-color: #bcd3b2;
}

.option-card:has(input:checked),
.visual-option:has(input:checked) {
  border-color: rgba(166, 206, 0, 0.46);
  background: linear-gradient(180deg, #ffffff 0%, #fbfef7 72%, #f7fbe9 100%);
  box-shadow: 0 0 0 1px rgba(166, 206, 0, 0.12), 0 12px 20px rgba(166, 206, 0, 0.08);
}

.option-card:has(input:checked)::before {
  background: linear-gradient(90deg, var(--kraft) 0%, var(--brand) 100%);
}

.option-card:has(input:checked) span {
  color: #0f160e;
}

.option-card:has(input:checked) small {
  color: #4f6550;
}

.product-profile {
  display: grid;
  gap: 10px;
  padding: 15px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfa 100%);
  border: 1px solid #e5ebe1;
  border-radius: 20px;
  box-shadow: none;
}

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

.product-profile.is-revealing {
  animation: product-profile-rise 0.54s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes product-profile-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-profile.is-revealing {
    animation: none;
  }
}

.product-profile.is-placeholder {
  background: linear-gradient(180deg, #ffffff 0%, #f8faf7 100%);
  border-color: #e8ede4;
}

.product-profile-head {
  display: grid;
  gap: 4px;
}

.product-profile-head span,
.product-profile-story span {
  color: #7d8679;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-profile-head strong {
  color: #131814;
  font-size: 18px;
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.product-profile-head small {
  color: #66705f;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.4;
}

.product-profile-grid {
  display: grid;
  gap: 7px;
}

.product-profile-grid article {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-bottom: 7px;
  border-bottom: 1px solid #eef2ec;
}

.product-profile-grid article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.product-profile-grid span {
  color: #90724c;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-profile-grid strong {
  color: #263124;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.3;
}

.product-profile-story {
  display: grid;
  gap: 4px;
  padding-top: 0;
}

.product-profile-story p {
  margin: 0;
  color: #566052;
  font-size: 12px;
  font-size: 11px;
  line-height: 1.4;
}

.product-profile.is-placeholder .product-profile-head strong,
.product-profile.is-placeholder .product-profile-grid strong {
  color: #5f6c5b;
}

.product-profile.is-placeholder .product-profile-head small,
.product-profile.is-placeholder .product-profile-story p {
  color: #72806e;
}

.visual-options {
  display: grid;
  gap: 6px;
}

.paper-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 204px;
}

.print-options {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.visual-option {
  display: grid;
  align-content: space-between;
  min-height: 118px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  overflow: hidden;
}

.visual-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.visual-option strong {
  padding: 0 0 7px;
  color: #303030;
  font-size: 12px;
}

.paper-icon,
.print-icon {
  display: block;
  width: 100%;
  min-height: 72px;
  background: #f7f8f4;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.paper-icon::before {
  content: "";
  position: absolute;
  inset: 8px 9px;
  border-radius: 5px;
  transform: skew(-16deg) rotate(-4deg);
}

.paper-icon.kraft::before {
  background: linear-gradient(135deg, #d0a06e 0 50%, #b9854f 50%);
}

.paper-icon.white::before {
  background: linear-gradient(135deg, #ffffff 0 50%, #dcdfe3 50%);
  border: 1px solid #d8dce0;
}

.print-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.print-icon::before,
.print-icon::after {
  content: "";
  width: 28px;
  height: 36px;
  border-radius: 60% 60% 55% 55%;
  background: var(--brand);
  transform: rotate(45deg);
}

.print-icon.two::after {
  margin-left: -11px;
  background: #1d255f;
}

.print-icon.three::before {
  box-shadow: 18px 0 0 var(--accent), 34px 0 0 var(--brand);
  background: #1d255f;
}

.print-icon.three::after,
.print-icon.full::after {
  display: none;
}

.print-icon.full::before {
  background: #1d255f;
  box-shadow: 17px 0 0 var(--brand), 34px 0 0 var(--accent), 51px 0 0 #2fb7df;
}

.qty-input,
.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

select,
input[type="number"],
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="file"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.file-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input[type="file"] {
  display: flex;
  align-items: center;
  padding: 11px 12px;
}

.artwork-preview {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  background: #f7f8f4;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.artwork-preview-bag {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  overflow: hidden;
  background: #fff;
  border-radius: 14px;
}

.artwork-preview-bag img {
  width: 92px;
  height: 105px;
  object-fit: contain;
}

.artwork-preview-logo {
  position: absolute;
  left: 50%;
  top: 54%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 32px;
  padding: 4px;
  color: var(--brand-dark);
  background-color: rgba(255, 255, 255, 0.78);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 1px dashed rgba(61, 173, 45, 0.55);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-2deg);
}

.artwork-preview strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.artwork-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.artwork-preview.has-artwork .artwork-preview-logo {
  background-color: transparent;
  border-style: solid;
}

.mockup-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.mockup-actions .secondary-cta {
  min-height: 42px;
  padding: 0 16px;
  font-size: 13px;
}

.mockup-actions .mockup-ai-cta {
  color: var(--brand-dark);
  background: #fff;
  border-color: var(--brand);
}

.mockup-actions .mockup-ai-cta:hover {
  background: var(--brand-soft);
}

#mockupStatus {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.qty-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: end;
}

.stepper {
  width: 42px;
  height: 42px;
  color: #232019;
  background: #ffffff;
  border: 1px solid var(--kraft-line);
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.05);
}

.stepper:hover {
  color: #111111;
  background: var(--brand);
}

.qty-range {
  width: 100%;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  accent-color: var(--brand);
  margin: 8px 0 6px;
}

.qty-range::-webkit-slider-runnable-track {
  height: 6px;
  background: #e5dccd;
  border-radius: 999px;
}

.qty-range::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  margin-top: -5px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--brand);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(17, 17, 17, 0.14);
}

.qty-range::-moz-range-track {
  height: 6px;
  background: #e5dccd;
  border-radius: 999px;
}

.qty-range::-moz-range-progress {
  height: 6px;
  background: var(--brand);
  border-radius: 999px;
}

.qty-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  background: var(--brand);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(17, 17, 17, 0.14);
}

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

.tier-row button {
  min-height: 34px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--kraft-line);
  border-radius: 999px;
  font-weight: 700;
}

.tier-row button:hover {
  background: var(--kraft-soft);
  box-shadow: 0 6px 14px rgba(17, 17, 17, 0.06);
}

.check-list {
  display: grid;
  gap: 9px;
}

.check-list label {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-weight: 700;
}

.check-list input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.price-box {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  padding: 12px;
  background: var(--kraft-soft);
  border: 1px solid var(--kraft-line);
  border-radius: 8px;
}

.price-box div {
  display: grid;
  gap: 4px;
}

.price-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.price-box strong {
  font-size: 19px;
  font-weight: 700;
}

.cta-row {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 10px;
}

.primary-cta,
.secondary-cta {
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 780;
  letter-spacing: -0.01em;
  line-height: 1.16;
}

.primary-cta {
  color: #111111;
  background: linear-gradient(135deg, #b8dc15 0%, #abd006 55%, #a4ca00 100%);
  border: 1px solid #9fbf11;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 10px 20px rgba(166, 206, 0, 0.15);
}

.primary-cta:hover {
  background: linear-gradient(135deg, #c1e11e 0%, #afd20b 55%, #a7cb03 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 22px rgba(166, 206, 0, 0.18);
}

.secondary-cta {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
  border: 1px solid #e7d6bf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 8px 16px rgba(17, 17, 17, 0.035);
}

.secondary-cta:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f6efe4 100%);
  border-color: #dcc8ac;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 18px rgba(17, 17, 17, 0.05);
}

.primary-cta.full {
  width: 100%;
}

.faq-section p {
  color: var(--muted);
  line-height: 1.6;
}

.purchase-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 760px);
  max-width: 760px;
  margin: 18px auto 0;
  padding: 0;
  position: relative;
  z-index: 2;
  align-self: start;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.purchase-notes article {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  min-height: 80px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfb 100%);
  border: 1px solid #e7ede4;
  border-radius: 16px;
  box-shadow: 0 8px 16px rgba(17, 17, 17, 0.026);
}

.purchase-note-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #596355;
  background: #f6faf3;
  border: 1px solid #dce8d8;
  border-radius: 50%;
}

.purchase-note-icon .icon {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.purchase-notes article > div {
  min-width: 0;
}

.purchase-notes strong {
  display: block;
  max-width: none;
  color: #0d1410;
  font-size: 11px;
  font-weight: 820;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.purchase-notes p {
  max-width: none;
  margin: 3px 0 0;
  color: #586255;
  font-size: 10px;
  font-weight: 560;
  line-height: 1.34;
}

.faq-section {
  max-width: 1240px;
  margin: 70px auto 0;
  padding: 0 20px;
}

.faq-section {
  margin-bottom: 110px;
}

details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 10px;
  padding: 16px 18px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

.cart-drawer {
  position: fixed;
  top: 74px;
  right: clamp(14px, 3vw, 28px);
  z-index: 52;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cart-drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  background: transparent;
  backdrop-filter: none;
  cursor: default;
}

.drawer-backdrop:focus,
.drawer-backdrop:focus-visible {
  outline: none;
}

.drawer-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(380px, calc(100vw - 28px));
  max-height: min(72vh, 620px);
  padding: 16px;
  overflow: auto;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e6ece2;
  border-radius: 24px;
  box-shadow: 0 24px 56px rgba(13, 24, 14, 0.16);
  backdrop-filter: blur(14px);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 2px;
}

.drawer-header > div {
  display: grid;
  gap: 2px;
}

.drawer-header span {
  color: #7f6b4c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-header h2 {
  margin: 0;
  color: #111111;
  font-size: 22px;
  line-height: 1.04;
  letter-spacing: 0;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: #f1f3ef;
  border-radius: 999px;
  font-size: 22px;
}

.drawer-close {
  width: 38px;
  height: 38px;
  background: #ffffff;
  border: 1px solid #e5ece3;
}

.drawer-close:hover {
  color: var(--ink);
  background: #f7faf5;
}

.payment-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
}

.art-approval-modal {
  position: fixed;
  inset: 0;
  z-index: 72;
  display: none;
}

.art-approval-modal.open {
  display: grid;
  place-items: center;
  padding: 20px;
}

.art-approval-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(14, 20, 14, 0.56);
  backdrop-filter: blur(5px);
}

.art-approval-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(590px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 22px;
  background: #ffffff;
  border: 1px solid #dfe8dc;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(13, 24, 14, 0.2);
}

.art-approval-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.art-approval-header > div {
  display: grid;
  gap: 5px;
}

.art-approval-header span {
  color: #34742e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.art-approval-header h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(22px, 2.3vw, 29px);
  line-height: 1.08;
}

.art-approval-description,
.art-approval-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.art-approval-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.art-approval-checklist li {
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px 12px 11px 35px;
  background: #f8faf6;
  border: 1px solid #e1e9de;
  border-radius: 14px;
}

.art-approval-checklist li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 13px;
  width: 10px;
  height: 10px;
  background: #4aa83e;
  border: 3px solid #dff0da;
  border-radius: 999px;
}

.art-approval-checklist strong {
  color: #172017;
  font-size: 12px;
}

.art-approval-checklist span {
  color: #6c756c;
  font-size: 10px;
  line-height: 1.45;
}

.art-approval-check {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  color: #243024;
  background: #f3f9f0;
  border: 1px solid #cfe2c9;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
  cursor: pointer;
}

.art-approval-check input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #3fa335;
}

.art-approval-security {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 13px 14px;
  border: 1px solid #dfe6dc;
  border-radius: 16px;
  background: #ffffff;
}

.art-approval-security.is-unavailable { grid-template-columns: 1fr; background: #fff8ec; border-color: #edd9b5; }

.art-approval-status:not(:empty) {
  padding: 10px 12px;
  color: #9d2e1b;
  font-weight: 800;
  background: #fff4f1;
  border: 1px solid #efc3b8;
  border-radius: 12px;
}

.art-approval-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 10px;
}

.art-approval-actions .primary-cta,
.art-approval-actions .secondary-cta {
  min-height: 48px;
}

.payment-confirm-open {
  overflow: hidden;
}

.payment-confirm-modal.open {
  display: grid;
  place-items: center;
  padding: 20px;
}

.payment-confirm-backdrop {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  background: rgba(15, 22, 15, 0.48);
  backdrop-filter: blur(4px);
  cursor: default;
}

.payment-confirm-backdrop:focus,
.payment-confirm-backdrop:focus-visible {
  outline: none;
}

.payment-confirm-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(520px, calc(100vw - 24px));
  padding: 22px;
  background: #ffffff;
  border: 1px solid #e5ece3;
  border-radius: 22px;
  box-shadow: 0 22px 52px rgba(13, 24, 14, 0.16);
}

.buyer-consent-panel {
  width: min(580px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
}

.buyer-consent-description {
  margin: 0;
  padding: 12px 14px;
  color: #536052;
  background: #f7faf5;
  border: 1px solid #e1e9de;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.55;
}

.buyer-consent-checks {
  display: grid;
  gap: 10px;
}

.buyer-consent-checks .consent-check {
  padding: 13px 14px;
  background: #fbfcfa;
  border: 1px solid #dfe8dc;
  border-radius: 15px;
}

.buyer-consent-checks a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.buyer-consent-actions .primary-cta,
.buyer-consent-actions .secondary-cta {
  min-height: 48px;
}

.buyer-consent-actions .primary-cta:not(:disabled):not(.is-disabled) {
  color: #10170d;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 14px 28px rgba(120, 155, 0, 0.26);
}

.buyer-consent-actions .primary-cta:not(:disabled):not(.is-disabled):hover,
.buyer-consent-actions .primary-cta:not(:disabled):not(.is-disabled):focus-visible {
  color: #10170d;
  background: #b9e51b;
  border-color: #b9e51b;
  box-shadow: 0 16px 32px rgba(120, 155, 0, 0.32);
}

.payment-flow-icon {
  width: 152px;
  height: 52px;
  margin: 0 auto -2px;
  display: grid;
  place-items: center;
  color: #09170e;
  background: #101510;
  border-radius: 999px;
}

.payment-flow-icon img { width: 118px; max-height: 34px; display: block; }

.payment-confirm-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.payment-confirm-header > div {
  display: grid;
  gap: 4px;
  flex: 1;
  text-align: center;
}

.payment-confirm-header .drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.payment-confirm-header span,
.payment-confirm-amount span,
.payment-confirm-grid span {
  color: #7f6b4c;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.payment-confirm-header h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(22px, 2.1vw, 27px);
  line-height: 1.08;
}

.payment-confirm-amount {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  background: #fbfcfa;
  border: 1px solid #e7ede5;
  border-radius: 18px;
  text-align: center;
}

.payment-confirm-amount strong {
  color: #111111;
  font-size: clamp(26px, 2.7vw, 31px);
  line-height: 1;
}

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

.payment-confirm-grid div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: #fcfdfb;
  border: 1px solid #e7ede5;
  border-radius: 16px;
}

.payment-confirm-grid strong {
  color: #111111;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.payment-confirm-grid .payment-confirm-before-withholding {
  background: #fffaf0;
  border-color: #eadbbd;
}

.payment-confirm-grid .payment-confirm-withholding {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background: #fff4dd;
  border-color: #e5c98d;
}

.payment-confirm-grid .payment-confirm-withholding span,
.payment-confirm-grid .payment-confirm-withholding strong {
  color: #8b4d0a;
}

.payment-confirm-grid .payment-confirm-withholding small {
  grid-column: 1 / -1;
  color: #765b3a;
  font-size: 11px;
  font-weight: 700;
}

.payment-confirm-note,
.payment-confirm-status {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.payment-confirm-note {
  color: var(--muted);
  text-align: center;
}

.payment-confirm-note strong { color: #152018; }

.payment-confirm-modal.is-connecting .payment-confirm-grid,
.payment-confirm-modal.is-connecting .payment-confirm-note,
.payment-confirm-modal.is-connecting .payment-confirm-actions .secondary-cta,
.payment-confirm-modal.is-connecting .payment-confirm-header .drawer-close,
.payment-confirm-modal.is-connecting .payment-confirm-amount {
  display: none;
}

.payment-confirm-modal.is-connecting .payment-confirm-panel {
  padding-block: 34px;
  text-align: center;
}

.payment-confirm-modal.is-connecting .payment-flow-icon {
  animation: wompiPulse 1.4s ease-in-out infinite;
}

.payment-confirm-modal.is-connecting .payment-confirm-header span { font-size: 0; }
.payment-confirm-modal.is-connecting .payment-confirm-header span::after { content: "Conexión segura"; font-size: 11px; }
.payment-confirm-modal.is-connecting .payment-confirm-header h2 { font-size: 0; }
.payment-confirm-modal.is-connecting .payment-confirm-header h2::after { content: "Conectando con Wompi"; font-size: 28px; }
.payment-confirm-modal.is-connecting .payment-confirm-status { display: block; border: 0; background: #f3fae8; }
.payment-confirm-modal.is-connecting .payment-confirm-actions { grid-template-columns: 1fr; }

.wompi-status-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 20px;
}

.wompi-status-modal.open { display: block; }

.wompi-status-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 16, 11, .56);
  backdrop-filter: blur(6px);
}

.wompi-status-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(590px, calc(100vw - 24px));
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 38px;
  text-align: center;
  background: #fff;
  border: 1px solid #e2e9df;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(8, 20, 11, .22);
  transform: translate(-50%, -50%);
  animation: wompiModalIn .28s ease both;
}

.wompi-status-brand {
  width: min(190px, 55vw);
  max-height: 54px;
  display: block;
  padding: 10px 14px;
  object-fit: contain;
  background: #101510;
  border-radius: 999px;
}

.wompi-status-panel h2 {
  margin: 0;
  color: #08170e;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.05;
}

.wompi-status-panel > p {
  max-width: 470px;
  margin: 0;
  color: #687068;
  line-height: 1.6;
}

.wompi-status-icon {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #effbd8;
}

.wompi-status-icon::before { font-size: 42px; font-weight: 900; }
.wompi-status-icon.is-verifying::before { content: "↻"; color: #6eaa16; animation: wompiSpin 1.1s linear infinite; }
.wompi-status-icon.is-approved::before { content: "✓"; color: #78be12; }
.wompi-status-icon.is-declined { background: #fff0ed; }
.wompi-status-icon.is-declined::before { content: "!"; color: #dc574a; }

.wompi-status-progress {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  color: #3d6a18;
  background: #f2f9e9;
  border-radius: 999px;
}

.wompi-status-progress span {
  width: 9px;
  height: 9px;
  background: #98d719;
  border-radius: 50%;
  animation: wompiPulse 1.2s infinite;
}

.wompi-status-code { padding: 14px 18px; border: 1px solid #a8dc55; border-radius: 14px; letter-spacing: .03em; }
.wompi-status-actions { width: 100%; display: grid; gap: 10px; }
.wompi-status-actions[hidden],
.wompi-status-code[hidden],
.wompi-status-progress[hidden],
.wompi-status-actions .secondary-cta[hidden] { display: none; }
.wompi-status-actions .primary-cta,
.wompi-status-actions .secondary-cta { min-height: 52px; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.wompi-status-panel small { color: #6d756d; }

@keyframes wompiSpin { to { transform: rotate(360deg); } }
@keyframes wompiPulse { 50% { transform: scale(.94); opacity: .65; } }
@keyframes wompiModalIn {
  from { opacity: 0; transform: translate(-50%, -47%) scale(.97); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 560px) {
  .wompi-status-modal { padding: 12px; }
  .wompi-status-panel { gap: 12px; max-height: calc(100dvh - 24px); padding: 22px 18px; overflow-y: auto; border-radius: 20px; }
  .wompi-status-icon { width: 74px; height: 74px; }
  .wompi-status-panel h2 { font-size: 27px; }
}

.payment-confirm-status {
  display: none;
  padding: 12px 14px;
  color: var(--brand-dark);
  font-weight: 800;
  background: #f7faf5;
  border: 1px solid #d9e8d3;
  border-radius: 16px;
}

.payment-confirm-status:not(:empty) {
  display: block;
}

.payment-confirm-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 10px;
}

.payment-confirm-actions .primary-cta,
.payment-confirm-actions .secondary-cta {
  min-height: 48px;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.checkout-stage {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfb 100%);
  border: 1px solid #e6ece3;
  border-radius: 28px;
  box-shadow: 0 16px 28px rgba(17, 17, 17, 0.04);
}

.checkout-stage-header {
  display: grid;
  gap: 6px;
}

.checkout-stage-header span {
  color: #6f7b69;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.checkout-stage-header h2 {
  margin: 0;
  color: #101510;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.08;
  font-weight: 700;
}

.checkout-stage-header p {
  margin: 0;
  max-width: 720px;
  color: #5e675b;
  font-size: 12px;
  line-height: 1.65;
}

.checkout-stage-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 328px);
  gap: 18px;
  align-items: start;
}

.checkout-stage-summary {
  display: grid;
  gap: 0;
  position: sticky;
  top: 86px;
  order: 2;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #dfe8dc;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(17, 38, 21, .09);
  overflow: hidden;
}

.checkout-form-stage {
  margin-top: 0;
  order: 1;
}

.checkout-form-stage .checkout-footer {
  grid-template-columns: minmax(190px, 220px) minmax(0, 1fr);
  align-items: stretch;
}

.checkout-mockup-card {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0 0 12px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.checkout-mockup-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 230px;
  background: linear-gradient(180deg, #f8fbf7 0%, #ffffff 100%);
  border: 1px solid #e5ece3;
  border-radius: 15px;
  overflow: hidden;
}

.checkout-mockup-frame img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #fff;
}

.checkout-mockup-frame span {
  padding: 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.checkout-mockup-card figcaption {
  color: #55604f;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.checkout-qty-card {
  display: grid;
  gap: 9px;
  padding: 12px 0;
  color: #111711;
  background: transparent;
  border: 0;
  border-top: 1px solid #e1e8df;
  border-bottom: 1px solid #e1e8df;
  border-radius: 0;
  box-shadow: none;
}

.checkout-qty-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
}

.checkout-qty-header > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.checkout-qty-header span {
  color: #60705b;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.checkout-qty-header strong {
  color: #111711;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.1;
}

.checkout-order-specs {
  margin: 0;
  overflow: hidden;
  color: #6b7568;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-stage-summary .qty-row {
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 8px;
  align-items: center;
}

.checkout-stage-summary .stepper {
  width: 36px;
  height: 36px;
  color: #07140b;
  background: #a6ce00;
  border-color: #b9e63a;
  font-size: 17px;
  font-weight: 900;
  box-shadow: none;
}

.checkout-stage-summary .stepper:hover {
  color: #07140b;
  background: #b9e825;
}

.checkout-stage-summary .qty-input input {
  min-height: 38px;
  height: 38px;
  color: #0d1710;
  background: #f7f9f5;
  border: 1px solid #dce5d8;
  border-radius: 10px;
  font-weight: 900;
  text-align: center;
}

.checkout-stage-summary .checkout-qty-range-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-stage-summary .tier-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  justify-content: center;
}

.checkout-stage-summary .tier-row button {
  min-height: 29px;
  color: #536050;
  background: #f5f8f3;
  border-color: #dce5d8;
  font-size: 10px;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.checkout-stage-summary .tier-row button:hover {
  color: #111711;
  background: #edf6e7;
  border-color: #c9dfbf;
}

.checkout-stage-summary .tier-row button.is-selected {
  color: #07140b;
  background: #a6ce00;
  border-color: #c4ed38;
  box-shadow: none;
  transform: none;
}

.price-box-checkout {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 10px 14px;
}

.checkout-stage .price-box {
  gap: 0;
  padding: 10px 13px;
  border-radius: 18px;
  background: #fffefd;
  border: 1px solid #ece4d7;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.025);
}

.checkout-stage .price-box span {
  font-size: 10px;
}

.checkout-stage .price-box strong {
  font-size: 13px;
}

.price-box-checkout .price-box-summary,
.price-box-checkout .price-box-meta,
.price-box-checkout .drawer-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 12px 2px;
}

.price-box-checkout {
  margin-top: 0;
  padding: 15px 2px 2px;
  border: 0;
  border-top: 1px solid #e1e8df;
  border-radius: 0;
  background:
    radial-gradient(circle at 100% 0, rgba(166, 206, 0, .08), transparent 34%),
    transparent;
  box-shadow: none;
}

.price-box-heading {
  display: grid;
  gap: 3px;
  padding: 0 2px 8px;
}

.price-box-heading span {
  color: #111711;
  font-size: 15px !important;
  font-weight: 950;
  letter-spacing: -0.02em;
  text-transform: none !important;
}

.price-box-heading small {
  color: #748071;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.35;
}

.price-box-commercial-head {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 8px;
  margin-bottom: 7px;
}

.price-box-commercial-head > div {
  display: grid;
  align-content: space-between;
  min-height: 55px;
  padding: 9px 10px;
  border: 1px solid #dce8d7;
  border-radius: 13px;
  background: linear-gradient(145deg, #f7fbf5, #eef7e9);
}

.price-box-commercial-head span {
  color: #5b6857;
  font-size: 9px !important;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.price-box-commercial-head strong {
  color: #112016;
  font-size: 17px !important;
  font-weight: 950;
  line-height: 1.05;
}

.price-box-commercial-head > div:last-child strong {
  font-size: 13px !important;
  text-align: right;
}

.price-box-breakdown-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 13px 2px 5px;
}

.price-box-breakdown-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e1e7df;
}

.price-box-breakdown-title span {
  color: #6e786b;
  font-size: 9px !important;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.price-box-checkout .price-box-summary,
.price-box-checkout .price-box-meta {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(230, 221, 204, 0.82);
  border-radius: 0;
  box-shadow: none;
}

.price-box-checkout .price-box-summary span,
.price-box-checkout .price-box-meta span,
.price-box-checkout .drawer-total span {
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.price-box-checkout .price-box-summary strong,
.price-box-checkout .price-box-meta strong,
.price-box-checkout .drawer-total strong {
  color: #111711;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.price-box-checkout .payment-item-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  line-height: 1.2;
}

.price-box-checkout .payment-item-label > span {
  min-width: 0;
}

.price-box-checkout .payment-item-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.price-box-checkout .drawer-total .payment-item-icon {
  color: #b9e51b;
}

.price-box-summary-total {
  grid-column: 1 / -1;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(166, 206, 0, 0.28);
  box-shadow: none;
}

.price-box-summary-total span {
  color: #4d5a47;
}

.price-box-summary-total strong {
  font-size: 18px;
  line-height: 1;
}

.price-box-summary-shipping span {
  color: #56634f;
}

.price-box-checkout .price-box-summary,
.price-box-checkout .price-box-meta {
  margin: 3px 0;
  padding: 11px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
}

.price-box-checkout .price-box-summary-subtotal {
  background: #f4f6f3;
  border-color: #e5e9e3;
}

.price-box-checkout .price-box-summary-iva {
  background: #eef6ff;
  border-color: #dbeafa;
}

.price-box-checkout .price-box-summary-withholding {
  background: #fff6e4;
  border-color: #ead19b;
}

.price-box-checkout .price-box-summary-withholding span,
.price-box-checkout .price-box-summary-withholding strong {
  color: #8b4d0a;
}

.price-box-checkout .price-box-summary-withholding small {
  display: block;
  margin-top: 3px;
  color: #80694b;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.price-box-checkout .price-box-summary-shipping {
  background: #fff5e7;
  border-color: #f4dfbf;
}

.price-box-checkout .price-box-summary-shipping span,
.price-box-checkout .price-box-summary-shipping strong {
  color: #88551a;
}

.price-box-checkout .price-box-summary-lead-time {
  background: #f0f8e9;
  border-color: #d4e8c8;
}

.price-box-checkout .price-box-summary-lead-time span,
.price-box-checkout .price-box-summary-lead-time strong {
  color: #3d672c;
}

.price-box-checkout .price-box-summary-total {
  background: #edf8e8;
  border-color: #d3eac9;
}

.price-box-checkout .price-box-summary-total span,
.price-box-checkout .price-box-summary-total strong {
  color: #285f20;
}

.price-box-checkout .price-box-meta {
  gap: 12px;
  background: #fafbf9;
  border-color: #e9ece7;
}

.price-box-checkout .price-box-meta strong {
  font-size: 14px;
}

.price-box-checkout .price-box-meta-saving {
  min-height: 39px;
  background: #f2fbdc;
  border-color: #dceead;
  box-shadow: inset 3px 0 0 #a6ce00;
}

.price-box-checkout .price-box-meta-saving span,
.price-box-checkout #savingText {
  color: #4d700c;
  font-weight: 900;
}

.price-box-checkout .price-box-meta-saving.has-saving {
  background: #f2fbdc;
  border-color: #dceead;
  box-shadow: inset 3px 0 0 #a6ce00;
}

.price-box-checkout .price-box-meta-saving.has-saving span,
.price-box-checkout .price-box-meta-saving.has-saving #savingText {
  color: #4d700c;
}

.price-box-checkout .drawer-total {
  margin-top: 7px;
  padding: 14px 12px;
  background: #0d1710;
  border: 1px solid #203426;
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(9, 23, 13, .18);
}

.price-box-checkout .drawer-total span {
  color: #b9e51b;
}

.price-box-checkout .drawer-total strong {
  color: #ffffff;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.price-box-breakdown {
  margin-top: 7px;
  border-top: 1px solid #e1e8df;
}

.price-box-breakdown > summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 37px;
  padding: 7px 3px;
  color: #536050;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  list-style: none;
  text-transform: uppercase;
}

.price-box-breakdown > summary::-webkit-details-marker {
  display: none;
}

.price-box-breakdown > summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  color: #0d1710;
  background: #edf6e7;
  border-radius: 999px;
  font-size: 15px;
}

.price-box-breakdown[open] > summary::after {
  content: "−";
}

.price-box-breakdown-content {
  display: grid;
  gap: 3px;
  padding-bottom: 4px;
}

.price-box-breakdown .price-box-summary {
  margin: 0;
  padding-block: 9px;
}

.shipping-status-text {
  margin: 10px 2px 1px;
  padding: 10px 11px;
  color: #6b7568;
  background: #f5f8f3;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}

.cart-empty,
.cart-line {
  padding: 14px;
  background: #ffffff;
  border: 1px solid #e5ece3;
  border-radius: 18px;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.04);
}

.cart-line {
  display: grid;
  gap: 6px;
}

.cart-line header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  font-weight: 900;
}

.cart-line-copy {
  display: grid;
  gap: 2px;
}

.cart-line-bag {
  color: #111111;
  font-size: 14px;
  line-height: 1.15;
}

.cart-line-qty {
  color: #3f3a31;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

.cart-line-price {
  color: #111111;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
}

.cart-line-meta {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.42;
}

.cart-empty strong {
  color: #111111;
  font-size: 14px;
}

.cart-empty small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.cart-remove {
  min-height: 34px;
  width: 100%;
  color: #111111;
  background: #ffffff;
  border: 1px solid #e5ece3;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.cart-remove:hover {
  background: var(--brand-soft);
  border-color: #cfe2c8;
}

.checkout-form {
  display: grid;
  gap: 12px;
  margin-top: 0;
}

.checkout-form h3 {
  margin: 8px 0 0;
}

.checkout-form-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 2px 2px;
}

.checkout-form-intro > div {
  display: grid;
  gap: 3px;
}

.checkout-form-intro strong {
  color: #111711;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.checkout-form-intro small {
  color: #687266;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
}

.checkout-form-intro > span {
  flex: 0 0 auto;
  padding: 7px 11px;
  color: #26351f;
  background: #eff8e8;
  border: 1px solid #d6e9cd;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.checkout-step-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 7px;
  background: #f5f8f3;
  border: 1px solid #e1e9de;
  border-radius: 17px;
}

.checkout-step-progress button {
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  padding: 8px 10px;
  color: #758072;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: left;
}

.checkout-step-progress button > span {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: #71806d;
  background: #ffffff;
  border: 1px solid #dce5d9;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 950;
}

.checkout-step-progress button strong {
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-step-progress button small {
  overflow: hidden;
  color: inherit;
  font-size: 9px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-step-progress button.is-active {
  color: #0d1710;
  background: #ffffff;
  border-color: #cfe4c6;
  box-shadow: 0 7px 18px rgba(22, 48, 26, .08);
}

.checkout-step-progress button.is-active > span,
.checkout-step-progress button.is-complete > span {
  color: #0b170d;
  background: #a6ce00;
  border-color: #b9df24;
}

.checkout-step-progress button.is-complete {
  color: #46603e;
}

.checkout-step-progress button.is-locked,
.checkout-step-progress button:disabled {
  color: #90998d;
  background: #eef2ec;
  border-color: transparent;
  box-shadow: none;
  cursor: not-allowed;
  opacity: .72;
}

.checkout-step-progress button.is-locked > span,
.checkout-step-progress button:disabled > span {
  color: #879184;
  background: #f8faf7;
  border-color: #dde4da;
}

.checkout-section {
  display: grid;
  gap: 12px;
  padding: 17px;
  background: #ffffff;
  border: 1px solid #e7ede5;
  border-radius: 20px;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.025);
}

.checkout-section.is-active {
  border-color: #cfe4c6;
  box-shadow: 0 14px 30px rgba(20, 49, 25, .075);
}

.checkout-section.is-collapsed {
  gap: 0;
  padding-block: 13px;
  background: #fbfcfa;
  box-shadow: none;
}

.checkout-section.is-locked {
  background: #f4f6f2;
  border-color: #e2e7df;
  border-style: dashed;
}

.checkout-section.is-locked .checkout-section-header > span {
  color: #899486;
  background: #eef2ec;
  border-color: #dce3d9;
}

.checkout-section.is-collapsed > :not(.checkout-section-header) {
  display: none !important;
}

.checkout-section-header {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.checkout-section-header > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--brand-dark);
  background: #f8fbf4;
  border: 1px solid #dbe8d4;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.checkout-section-header div {
  display: grid;
  gap: 3px;
}

.checkout-section-header strong {
  color: #111711;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 800;
}

.checkout-section-header small {
  color: #5f685b;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}

.checkout-section.is-active .checkout-section-header > span,
.checkout-section.is-complete .checkout-section-header > span {
  color: #0b170d;
  background: #a6ce00;
  border-color: #b9df24;
}

.checkout-section-toggle {
  min-height: 34px;
  padding: 0 13px;
  color: #26351f;
  background: #ffffff;
  border: 1px solid #dbe6d7;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.checkout-section.is-active .checkout-section-toggle {
  color: #60705b;
  background: #f5f8f3;
}

.checkout-section-toggle:disabled,
.checkout-section-toggle.is-locked {
  color: #7c8679;
  background: #e9eee7;
  border-color: #dbe2d8;
  cursor: not-allowed;
  opacity: 1;
}

.checkout-step-actions .primary-cta:disabled {
  color: #7b8578;
  background: #e4e9e2;
  border-color: #d9e0d6;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.checkout-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 13px;
  border-top: 1px solid #e7ede4;
}

.checkout-step-actions > span {
  color: #6a7567;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
}

.checkout-step-actions .primary-cta {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 13px;
  font-size: 11px;
}

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

.checkout-grid .span-2 {
  grid-column: 1 / -1;
}

.checkout-payment-provider {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  color: #172018;
  background: linear-gradient(135deg, #f5faef 0%, #fbfdf9 100%);
  border: 1px solid #dce9d5;
  border-radius: 16px;
}

.checkout-payment-provider > .icon {
  width: 24px;
  height: 24px;
  padding: 7px;
  color: #2f8f2f;
  background: #ffffff;
  border: 1px solid #d8e7d1;
  border-radius: 12px;
}

.checkout-payment-provider div {
  display: grid;
  gap: 3px;
}

.checkout-payment-provider strong {
  font-size: 13px;
}

.checkout-payment-provider small {
  color: #5f685b;
  font-size: 10px;
  line-height: 1.45;
}

.checkout-billing-shell {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #fbfdf9 0%, #f7faf4 100%);
  border: 1px solid #e4ede0;
  border-radius: 18px;
}

.checkout-billing-header {
  display: grid;
  gap: 4px;
}

.checkout-billing-header strong {
  color: #111711;
  font-size: 15px;
  line-height: 1.15;
}

.checkout-billing-header small {
  color: #66735d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.checkout-billing-toggle {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  color: #22311f;
  background: #ffffff;
  border: 1px solid #e5ece3;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.checkout-billing-toggle input {
  min-height: auto;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--brand-bright);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.checkout-billing-note {
  margin: 0;
  color: #64705d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.checkout-billing-grid {
  gap: 12px;
}

.checkout-documents-shell {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(180deg, #fcfdf9 0%, #f7faf4 100%);
  border: 1px solid #e4ede0;
  border-radius: 18px;
}

body.company-documents-gate-open::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 71;
  background: rgba(15, 22, 15, 0.48);
  backdrop-filter: blur(4px);
}

.checkout-documents-shell.is-payment-gate {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 72;
  width: min(920px, calc(100vw - 32px));
  max-height: min(82vh, 860px);
  padding: 20px;
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid #dfe8dc;
  border-radius: 24px;
  box-shadow: 0 28px 64px rgba(12, 22, 13, 0.18);
}

.checkout-documents-header {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.checkout-documents-header > div { display: grid; gap: 4px; }
.checkout-gate-brand { width: 48px; height: 48px; padding: 7px; object-fit: contain; background: #eff8df; border-radius: 14px; }

.checkout-documents-header strong {
  color: #111711;
  font-size: 15px;
  line-height: 1.15;
}

.checkout-documents-header small {
  color: #66735d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.checkout-documents-grid {
  gap: 12px;
}

.checkout-inline-note {
  margin: 0;
  color: #65715f;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}

.checkout-associated-shell {
  background: #ffffff;
}

.checkout-documents-shell.is-payment-gate .checkout-associated-shell {
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px #edf3ea;
}

.checkout-associated-grid {
  gap: 12px;
}

.checkout-documents-actions {
  display: grid;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid #e4ebe1;
}

.checkout-documents-shell.is-payment-gate .checkout-documents-header {
  position: sticky;
  top: -20px;
  z-index: 3;
  margin: -20px -20px 0;
  padding: 18px 20px 14px;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid #e4ebe1;
  backdrop-filter: blur(12px);
}

.checkout-documents-shell.is-payment-gate .checkout-documents-actions {
  position: sticky;
  bottom: -20px;
  z-index: 3;
  margin: 0 -20px -20px;
  padding: 14px 20px 18px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
}

@media (max-width: 560px) {
  .checkout-documents-shell.is-payment-gate {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    padding: 14px;
    border-radius: 18px;
  }
  .checkout-documents-shell.is-payment-gate .checkout-documents-header {
    top: -14px;
    margin: -14px -14px 0;
    padding: 14px;
  }
  .checkout-documents-shell.is-payment-gate .checkout-documents-actions {
    bottom: -14px;
    margin: 0 -14px -14px;
    padding: 12px 14px 14px;
  }
  .checkout-documents-actions-row { display: grid; grid-template-columns: 1fr; }
  .checkout-documents-actions-row .secondary-cta,
  .checkout-documents-actions-row .primary-cta { min-width: 0; width: 100%; }
}

.checkout-documents-actions-copy {
  display: grid;
  gap: 4px;
}

.checkout-documents-actions-copy strong {
  color: #111711;
  font-size: 14px;
  line-height: 1.2;
}

.checkout-documents-actions-copy small {
  color: #66735d;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.checkout-documents-actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.checkout-documents-actions-row .secondary-cta,
.checkout-documents-actions-row .primary-cta {
  min-width: 210px;
}

.checkout-document-status {
  display: block;
  position: relative;
  margin: 0;
  min-height: 20px;
  padding-left: 24px;
  color: #66735d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.checkout-document-status[data-state]::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid #cbd3c5;
  border-radius: 50%;
  background: #f7f9f5;
  content: "";
  box-sizing: border-box;
}

.checkout-document-status[data-state="ready"] {
  color: #2b6a1f;
}

.checkout-document-status[data-state="ready"]::before {
  border-color: #4fa83f;
  background: #4fa83f;
}

.checkout-document-status[data-state="ready"]::after {
  position: absolute;
  top: 4px;
  left: 6px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.checkout-document-status[data-state="checking"] {
  color: #3f6280;
}

.checkout-document-status[data-state="checking"]::before {
  border-color: #3f6280 #dbe4e9 #dbe4e9;
  background: transparent;
  animation: document-check-spin 0.8s linear infinite;
}

.checkout-document-status[data-state="pending"]::before {
  border-color: #9aa895;
  background: #fff;
}

.checkout-document-status[data-state="error"] {
  color: #9a4c1b;
}

.checkout-document-status[data-state="error"]::before {
  border-color: #c87842;
  background: #fff5ed;
}

.checkout-document-status[data-state="error"]::after {
  position: absolute;
  top: 0;
  left: 6px;
  color: #9a4c1b;
  content: "!";
  font-size: 12px;
  font-weight: 900;
  line-height: 17px;
}

@keyframes document-check-spin {
  to { transform: rotate(360deg); }
}

.checkout-form label {
  position: relative;
  gap: 6px;
  color: #5a6655;
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  min-height: 44px;
  padding: 0 14px;
  background: #ffffff;
  border-color: #e5ece3;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
}

.checkout-form textarea {
  min-height: 98px;
  padding: 12px 14px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.55;
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder {
  color: #8a9385;
  font-weight: 600;
}

.checkout-form input[type="file"] {
  min-height: 48px;
  padding: 10px 12px;
  line-height: 1.2;
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: rgba(166, 206, 0, 0.44);
  box-shadow: 0 0 0 3px rgba(166, 206, 0, 0.14);
  outline: none;
}

.checkout-form input[aria-invalid="true"],
.checkout-form select[aria-invalid="true"],
.checkout-form textarea[aria-invalid="true"] {
  border-color: rgba(196, 111, 56, 0.42);
  box-shadow: 0 0 0 3px rgba(196, 111, 56, 0.1);
}

.checkout-form input[readonly] {
  color: #55604f;
  background: #f7f8f2;
  cursor: default;
}

.checkout-form .consent-box {
  gap: 10px;
  margin-top: 2px;
  padding: 14px 16px;
}

.checkout-form .consent-check {
  color: #1d2618;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.6;
  text-transform: none;
}

.consent-box-checkout .consent-check + .consent-check {
  padding-top: 10px;
  border-top: 1px solid #e2e8d8;
}

.checkout-form .consent-check input {
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.checkout-form .consent-box small {
  font-size: 11px;
  text-transform: none;
}

.has-city-suggestions {
  z-index: 20;
}

.city-autocomplete-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  max-height: 220px;
  padding: 8px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(198, 212, 172, 0.96);
  border-radius: 16px;
  box-shadow: 0 22px 40px rgba(21, 36, 14, 0.16);
  z-index: 60;
}

.city-autocomplete-panel[hidden] {
  display: none !important;
}

.city-autocomplete-item,
.city-autocomplete-empty {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
}

.city-autocomplete-item {
  display: grid;
  gap: 2px;
  color: #1d2618;
  text-align: left;
  background: #ffffff;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.city-autocomplete-item strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.city-autocomplete-item small,
.city-autocomplete-empty {
  color: #657160;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
}

.city-autocomplete-item:hover,
.city-autocomplete-item:focus-visible {
  background: rgba(185, 227, 70, 0.12);
  border-color: rgba(166, 206, 0, 0.34);
  outline: none;
  transform: translateY(-1px);
}

.city-autocomplete-empty {
  background: #f8faf5;
}

.pac-container {
  margin-top: 8px;
  border: 1px solid rgba(198, 212, 172, 0.92);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(21, 36, 14, 0.14);
  font-family: "Montserrat", sans-serif;
  z-index: 5000 !important;
}

.pac-item {
  padding: 10px 14px;
  border-top: 1px solid rgba(213, 223, 196, 0.72);
  font-size: 0.92rem;
  color: #203018;
}

.pac-item:first-child {
  border-top: 0;
}

.pac-item:hover,
.pac-item-selected {
  background: rgba(185, 227, 70, 0.14);
}

.pac-item-query {
  font-size: 0.92rem;
  color: #12210d;
}

.checkout-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: var(--brand-dark);
  background: #ffffff;
  border: 1px solid #e5ece3;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0;
  text-decoration: none;
}

.checkout-footer {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding-top: 14px;
  background: transparent;
  border-top: 1px solid #e8eee4;
}

.checkout-footer .secondary-cta,
.checkout-footer .primary-cta.full {
  min-height: 54px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 900;
}

.checkout-footer .secondary-cta {
  padding-inline: 18px;
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 4px 2px;
  color: #111711;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(214, 205, 190, 0.92);
  border-radius: 0;
  box-shadow: none;
  font-weight: 800;
}

.drawer-total span {
  color: #667160;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-total strong {
  font-size: 17px;
  letter-spacing: -0.02em;
}

.drawer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
}

.drawer-actions .primary-cta,
.drawer-actions .secondary-cta {
  min-height: 40px;
  padding-inline: 14px;
  font-size: 12px;
}

.cart-reminder {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100dvh;
  padding: 24px;
  background: rgba(17, 24, 18, 0.58);
  backdrop-filter: blur(9px);
  overscroll-behavior: contain;
}

.cart-recovery-dialog {
  position: relative;
  display: grid;
  gap: 18px;
  width: min(520px, 100%);
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #e5ece3;
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(7, 17, 9, 0.28);
  animation: draft-recovery-enter 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cart-reminder-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #1a211a;
  background: #f5f7f3;
  border: 1px solid #dfe6dc;
  border-radius: 999px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1;
}

.cart-reminder-close:hover {
  color: #0b170d;
  background: #eaf5df;
  border-color: #cde2bf;
}

.cart-reminder-close:focus-visible {
  outline: 3px solid rgba(166, 206, 0, .38);
  outline-offset: 2px;
}

.cart-reminder[hidden] {
  display: none;
}

body.draft-recovery-open {
  overflow: hidden;
  touch-action: none;
}

@keyframes draft-recovery-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cart-reminder-copy {
  display: grid;
  gap: 4px;
  padding-right: 34px;
}

.cart-reminder-copy span {
  color: #7f6b4c;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cart-reminder-copy strong {
  color: #111111;
  font-size: 18px;
  line-height: 1.08;
}

.cart-reminder-copy p {
  margin: 0;
  color: #5f685b;
  font-size: 12px;
  line-height: 1.5;
}

.cart-reminder-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-actions .primary-cta,
.drawer-actions .secondary-cta {
  min-height: 50px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 900;
}

.checkout-status {
  display: none;
  margin: 0;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
}

.checkout-status:not(:empty) {
  display: block;
  padding: 8px 10px;
  background: #fff8f2;
  border: 1px solid #efd4ba;
  border-radius: 14px;
}

.checkout-status a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.checkout-status .checkout-pay-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 18px;
  color: #fff;
  text-decoration: none;
  background: var(--brand);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(74, 169, 40, 0.16);
}

.checkout-footer .primary-cta.full {
  min-height: 58px;
  border-radius: 18px;
  font-size: 15px;
  box-shadow: 0 14px 24px rgba(54, 160, 49, 0.14);
}

.drawer-panel::-webkit-scrollbar {
  width: 10px;
}

.drawer-panel::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-panel::-webkit-scrollbar-thumb {
  background: #d4e4cf;
  border: 3px solid #fbfdf9;
  border-radius: 999px;
}

@media (max-width: 560px) {
  .art-approval-modal.open {
    padding: 12px;
  }

  .art-approval-panel {
    gap: 12px;
    padding: 17px;
    border-radius: 19px;
  }

  .art-approval-checklist,
  .art-approval-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-confirm-modal.open {
    padding: 14px;
  }

  .payment-confirm-panel {
    padding: 18px;
    border-radius: 20px;
  }

  .payment-confirm-grid,
  .payment-confirm-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .drawer-panel {
    width: min(380px, calc(100vw - 24px));
    padding: 15px;
  }

  .drawer-header h2 {
    font-size: 20px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-footer {
    margin-top: 0;
    padding-top: 12px;
  }

  .cart-line header {
    align-items: flex-start;
  }

  .drawer-actions {
    grid-template-columns: 1fr;
  }

  .cart-reminder {
    padding: 16px;
  }

  .cart-recovery-dialog {
    padding: 22px;
    border-radius: 22px;
  }

  .cart-reminder-actions {
    grid-template-columns: 1fr;
  }
}

.flow-guide {
  position: fixed;
  right: 18px;
  bottom: 92px;
  z-index: 55;
  width: min(310px, calc(100vw - 36px));
  color: #172116;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #dce7d7;
  border-radius: 22px;
  box-shadow: 0 24px 54px rgba(24, 38, 21, 0.16);
  overflow: hidden;
  transition: width 0.2s ease, opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  backdrop-filter: blur(14px);
}

body:not(.journey-started) .flow-guide {
  display: none;
}

.cart-drawer.open ~ .flow-guide,
.cart-reminder:not([hidden]) ~ .flow-guide,
body.assistant-chat-open .flow-guide {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.flow-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 11px 12px 10px 16px;
  background: linear-gradient(135deg, #f5fbed 0%, #edf7e7 100%);
  border-bottom: 1px solid #e1eadc;
}

.flow-guide-header > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.flow-guide-kicker {
  color: #55714b;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.flow-guide-header strong {
  color: #1c3219;
  font-size: 13px;
  line-height: 1.15;
}

.flow-guide-header button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #35532f;
  background: #ffffff;
  border: 1px solid #d6e3d1;
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.flow-guide-body {
  padding: 15px 16px 16px;
}

.flow-guide-body h2 {
  margin: 0;
  color: #111a10;
  font-size: 20px;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.flow-guide-body > p {
  margin: 7px 0 11px;
  color: #64705f;
  font-size: 12px;
  line-height: 1.4;
}

.flow-guide-list {
  display: grid;
  gap: 7px;
  margin: 0 0 13px;
  padding: 0;
  list-style: none;
  counter-reset: guide-task;
}

.flow-guide-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  color: #344031;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  counter-increment: guide-task;
}

.flow-guide-list li::before {
  content: counter(guide-task);
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #285f21;
  background: #eef8e8;
  border: 1px solid #cde3c4;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
}

.flow-guide-focus {
  width: 100%;
  min-height: 38px;
  padding: 0 14px;
  color: #183216;
  background: #a6ce00;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.flow-guide.is-minimized {
  width: 190px;
}

.flow-guide.is-minimized .flow-guide-header {
  border-bottom: 0;
}

.flow-guide.is-minimized .flow-guide-kicker,
.flow-guide.is-minimized .flow-guide-body {
  display: none;
}

.is-guide-highlighted {
  outline: 3px solid rgba(166, 206, 0, 0.82);
  outline-offset: 6px;
  border-radius: 18px;
  transition: outline-color 0.2s ease, outline-offset 0.2s ease;
}

.assistant-widget {
  position: fixed;
  right: 18px;
  bottom: 28px;
  z-index: 45;
  display: grid;
  justify-items: end;
  gap: 12px;
}

body:not(.journey-started) .assistant-widget {
  display: none;
}

.assistant-toggle {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 54px;
  min-width: 0;
  padding: 0;
  color: var(--brand-dark);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  text-align: left;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.assistant-toggle:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 16px 28px rgba(50, 122, 42, 0.18));
}

.assistant-widget.is-open .assistant-toggle {
  filter: drop-shadow(0 18px 30px rgba(50, 122, 42, 0.2));
}

.assistant-toggle:focus-visible {
  outline: none;
}

.assistant-toggle:focus-visible .assistant-toggle-mark {
  box-shadow: 0 0 0 4px rgba(74, 169, 40, 0.2), 0 12px 20px rgba(69, 160, 52, 0.18);
}

.assistant-toggle-mark {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #57c94a 0%, #2d9f28 100%);
  box-shadow: 0 12px 20px rgba(69, 160, 52, 0.18);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.assistant-toggle-mark {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.assistant-toggle-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding-right: 2px;
}

.assistant-toggle-copy strong {
  color: #122412;
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 8px 18px rgba(255, 255, 255, 0.55);
}

.assistant-toggle-copy small {
  color: #73806c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 8px 18px rgba(255, 255, 255, 0.55);
}

.assistant-toggle-bot {
  position: absolute;
  left: 9px;
  top: 11px;
  width: 29px;
  height: 22px;
  background: #ffffff;
  border-radius: 14px 14px 14px 8px;
  box-shadow: 0 6px 12px rgba(22, 66, 21, 0.08);
}

.assistant-toggle-bot::before {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -5px;
  width: 10px;
  height: 10px;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 28% 100%);
}

.assistant-toggle-bot::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  top: -7px;
  height: 14px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.assistant-toggle-bot-face {
  position: absolute;
  inset: 0;
}

.assistant-toggle-bot-face::before,
.assistant-toggle-bot-face::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 4px;
  height: 10px;
  background: #dbf7d4;
  border-radius: 999px;
}

.assistant-toggle-bot-face::before {
  left: -3px;
}

.assistant-toggle-bot-face::after {
  right: -3px;
}

.assistant-toggle-bot-eyes::before,
.assistant-toggle-bot-eyes::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 4px;
  height: 4px;
  background: #42a442;
  border-radius: 999px;
}

.assistant-toggle-bot-eyes::before {
  left: 9px;
}

.assistant-toggle-bot-eyes::after {
  right: 9px;
}

.assistant-toggle-bot-mouth {
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 9px;
  height: 5px;
  background: #42a442;
  border-radius: 0 0 10px 10px;
  transform: translateX(-50%);
}

.assistant-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  display: grid;
  grid-template-rows: auto auto minmax(160px, 1fr) auto auto;
  gap: 0;
  width: min(420px, calc(100vw - 24px));
  max-height: min(640px, calc(100vh - 120px));
  padding: 18px;
  background: linear-gradient(180deg, #fcfefb 0%, #f2f8ee 100%);
  border: 1px solid #dbe7d4;
  border-radius: 26px;
  box-shadow: 0 28px 68px rgba(18, 28, 18, 0.16);
  overflow: hidden;
  isolation: isolate;
}

.assistant-panel::before {
  content: "";
  position: absolute;
  inset: -10% -20% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(101, 186, 75, 0.18) 0%, rgba(101, 186, 75, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.assistant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.assistant-header-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.assistant-header-mark {
  position: relative;
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.assistant-header-mark::before {
  content: "";
  position: absolute;
  inset: 18px 12px 10px 14px;
  background: linear-gradient(135deg, #63e05a 0%, #34b936 100%);
  border-radius: 999px 999px 999px 24px;
  box-shadow: 0 16px 28px rgba(58, 171, 55, 0.22);
}

.assistant-header-mark::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 6px;
  height: 44px;
  border: 6px solid #56b25a;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.assistant-avatar-face {
  position: absolute;
  left: 24px;
  top: 33px;
  width: 38px;
  height: 26px;
  background: #ffffff;
  border-radius: 16px 16px 14px 14px;
  z-index: 1;
}

.assistant-avatar-face::before,
.assistant-avatar-face::after {
  content: "";
  position: absolute;
  top: -1px;
  width: 10px;
  height: 24px;
  background: linear-gradient(180deg, #65dc5d 0%, #38af38 100%);
  border-radius: 999px;
}

.assistant-avatar-face::before {
  left: -12px;
}

.assistant-avatar-face::after {
  right: -12px;
}

.assistant-avatar-eyes::before,
.assistant-avatar-eyes::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 7px;
  height: 7px;
  background: #5c9c57;
  border-radius: 999px;
}

.assistant-avatar-eyes::before {
  left: 9px;
}

.assistant-avatar-eyes::after {
  right: 9px;
}

.assistant-avatar-mouth {
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 14px;
  height: 7px;
  background: #57a754;
  border-radius: 0 0 14px 14px;
  transform: translateX(-50%);
}

.assistant-header-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.assistant-header-copy strong {
  color: #112011;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.assistant-header-copy span {
  color: #62705d;
  font-size: 12px;
  font-weight: 700;
}

.assistant-header-note {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  padding: 12px 14px;
  color: #5d6b58;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #e0eadb;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.45;
}

.assistant-panel header button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  transition: background 0.16s ease, transform 0.16s ease;
  position: relative;
  z-index: 1;
}

.assistant-panel header button:hover {
  background: #e7f2df;
  transform: rotate(8deg);
}

.assistant-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 176px;
  max-height: 330px;
  margin-top: 2px;
  padding: 6px 4px 10px 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #9b9b9b transparent;
  position: relative;
  z-index: 1;
}

.assistant-messages p {
  margin: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #e1eadb;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  box-shadow: 0 10px 20px rgba(20, 30, 18, 0.04);
}

.assistant-message-user {
  justify-self: end;
  max-width: 82%;
  color: #111111 !important;
  background: linear-gradient(135deg, #b5d900 0%, #9fca00 100%) !important;
  border-color: transparent !important;
  border-bottom-right-radius: 6px !important;
}

.assistant-message-bot {
  justify-self: start;
  max-width: 86%;
  color: #1c2c1b;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 251, 243, 0.96) 100%) !important;
  border-bottom-left-radius: 6px !important;
}

.assistant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid #e7eee3;
  position: relative;
  z-index: 1;
}

.assistant-actions button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d6e7cf;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 8px 16px rgba(20, 30, 18, 0.04);
}

.assistant-actions button:hover {
  color: var(--brand-dark);
  background: #edf8e8;
  border-color: #c7dfbf;
  box-shadow: 0 10px 18px rgba(74, 169, 40, 0.1);
}

.assistant-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px;
  gap: 8px;
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.assistant-form input {
  min-width: 0;
  min-height: 46px;
  padding: 0 15px;
  color: #162416;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--kraft-line);
  border-radius: 999px;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.assistant-form button {
  min-height: 46px;
  padding: 0 12px;
  color: #111111;
  background: linear-gradient(135deg, #b3d800 0%, #9fca00 100%);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 14px 24px rgba(166, 206, 0, 0.18);
}

.assistant-form button:hover {
  background: linear-gradient(135deg, #57bf48 0%, #23771d 100%);
  box-shadow: 0 16px 28px rgba(74, 169, 40, 0.22);
}

.tracking-shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 22px;
}

.tracking-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
}

.tracking-hero h1 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 72px);
}

.tracking-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
  max-width: 720px;
  align-items: end;
}

.tracking-search label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.tracking-empty,
.tracking-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.internal-shell {
  display: grid;
  gap: 18px;
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0 48px;
}

.internal-app[hidden],
.internal-hero[hidden] {
  display: none !important;
}

.internal-hero,
.internal-toolbar,
.internal-card,
.internal-panel,
.internal-customer-card,
.internal-sidebar,
.internal-kanban-column {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.internal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: end;
}

.internal-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.internal-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.internal-access,
.internal-actions {
  display: grid;
  gap: 12px;
}

.internal-role-select {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.internal-role-select legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.internal-role-select label {
  cursor: pointer;
}

.internal-role-select input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.internal-role-select span {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--kraft-line);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.04);
}

.internal-role-select strong {
  color: #111712;
  font-size: 15px;
  font-weight: 900;
}

.internal-role-select small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.internal-role-select input:checked + span {
  color: var(--brand-dark);
  background: #f7fff3;
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(63, 159, 47, 0.12), 0 10px 22px rgba(39, 113, 29, 0.08);
}

.internal-role-select input:focus-visible + span {
  outline: 3px solid rgba(63, 159, 47, 0.22);
  outline-offset: 2px;
}

.internal-access label,
.internal-actions label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.internal-app {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.internal-sidebar {
  position: sticky;
  top: 84px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 16px;
  min-height: calc(100vh - 112px);
  background: #fdfefb;
}

.internal-sidebar-brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.internal-sidebar-brand img {
  width: 82px;
  height: auto;
}

.internal-sidebar-brand span,
.internal-role-card span,
.internal-toolbar span,
.internal-card-header span,
.internal-meta span,
.internal-file-box > span,
.internal-customer-header span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.internal-role-card {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: #f7f8f4;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
}

.internal-role-card strong {
  color: var(--ink);
}

.internal-side-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.internal-nav-button {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 12px;
  color: var(--ink);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.internal-nav-button span {
  font-weight: 900;
}

.internal-nav-button small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.internal-nav-button:hover,
.internal-nav-button.is-active {
  background: #eff8ea;
  border-color: #cfe8c7;
}

.internal-logout {
  width: 100%;
}

.internal-workspace {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.internal-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.internal-toolbar div {
  display: grid;
  gap: 4px;
}

.internal-toolbar h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.internal-toolbar p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.4;
}

.internal-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.internal-login-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.internal-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.internal-stat-card {
  display: grid;
  gap: 5px;
  min-height: 112px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.internal-stat-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.internal-stat-card strong {
  color: var(--ink);
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.05;
}

.internal-stat-card small {
  color: #606962;
  font-size: 12px;
  line-height: 1.25;
}

.internal-stat-card.warning {
  border-color: #efe1ac;
  background: #fffaf0;
}

.internal-stat-card.info {
  border-color: #d6e7f5;
  background: #f4f9fd;
}

.internal-stat-card.success {
  border-color: #cfe8c7;
  background: #f5fbf2;
}

.internal-review-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: #f7f8f4;
  border-radius: 8px;
  border: 1px dashed #d8e5d8;
  font-weight: 800;
}

.internal-review-bar span {
  color: var(--ink);
  font-size: 12px;
  text-transform: none;
  line-height: 1.3;
}

.internal-board,
.internal-card,
.internal-panel,
.internal-order-list {
  display: grid;
  gap: 14px;
}

.internal-panel {
  align-content: start;
}

.internal-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.internal-card-header div {
  display: grid;
  gap: 4px;
}

.internal-card-header strong {
  font-size: 21px;
}

.internal-status-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  color: var(--ink);
  background: #f3f5f0;
  border: 1px solid #e1e6de;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.internal-status-badge.warning {
  color: #6b4b00;
  background: #fff5d8;
  border-color: #efd884;
}

.internal-status-badge.info {
  color: #145077;
  background: #edf7ff;
  border-color: #cae4f6;
}

.internal-status-badge.success {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: #c7e4bf;
}

.internal-status-badge.danger {
  color: #7c1f1f;
  background: #fff0f0;
  border-color: #efc6c6;
}

.internal-meta,
.internal-artwork {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

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

.internal-meta div,
.internal-artwork-box {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 12px;
  background: #f7f8f4;
  border-radius: 8px;
}

.internal-artwork-box img {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.internal-actions {
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) auto;
  align-items: end;
}

.internal-actions textarea {
  min-height: 46px;
  resize: vertical;
}

.internal-file-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.internal-file-box {
  display: grid;
  gap: 8px;
  min-height: 188px;
  padding: 12px 12px 14px;
  background: #f7f8f4;
  border-radius: 8px;
}

.internal-file-box img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.internal-file-meta {
  color: #59605a;
  font-size: 12px;
}

.internal-file-link {
  width: fit-content;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.internal-file-link:hover {
  color: var(--brand);
}

.internal-info {
  color: #5f675f;
  font-size: 12px;
  line-height: 1.35;
}

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

.internal-panel-header,
.internal-customer-header,
.internal-tracking-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.internal-panel-header h3 {
  margin: 0;
  font-size: 18px;
}

.internal-panel-header span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.internal-mini-list {
  display: grid;
  align-content: start;
  gap: 8px;
}

.internal-mini-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  width: 100%;
  padding: 11px;
  text-align: left;
  background: #f7f8f4;
  border: 1px solid #e0e7dc;
  border-radius: 8px;
  cursor: pointer;
}

.internal-mini-order.static {
  cursor: default;
}

.internal-mini-order > span {
  display: grid;
  gap: 4px;
}

.internal-mini-order > span:last-child {
  justify-items: end;
  text-align: right;
}

.internal-mini-order small,
.internal-muted {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

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

.internal-customer-card {
  display: grid;
  gap: 14px;
}

.internal-customer-header div {
  display: grid;
  gap: 4px;
}

.internal-customer-header strong {
  font-size: 20px;
}

.internal-customer-header b {
  color: var(--brand-dark);
  font-size: 13px;
}

.internal-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.internal-kanban {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 10px;
  align-items: start;
}

.internal-kanban-column {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  background: #fdfefb;
}

.internal-tracking-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e1e6de;
  border-radius: 8px;
}

.internal-tracking-header div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.internal-tracking-header strong {
  overflow-wrap: anywhere;
}

.internal-tracking-header span {
  color: var(--muted);
  font-size: 12px;
}

.internal-tracking-details {
  display: grid;
  gap: 4px;
  color: #59605a;
  font-size: 12px;
  font-weight: 700;
}

.internal-mini-timeline {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.internal-mini-timeline li {
  position: relative;
  padding-left: 18px;
  color: #687067;
  font-size: 11px;
  font-weight: 800;
}

.internal-mini-timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  background: #d4d9d1;
  border-radius: 999px;
}

.internal-mini-timeline li.done {
  color: var(--brand-dark);
}

.internal-mini-timeline li.done::before {
  background: var(--brand);
}

.tracking-card {
  display: grid;
  gap: 22px;
}

.tracking-card-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.tracking-card-header div {
  display: grid;
  gap: 4px;
}

.tracking-card-header span,
.tracking-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tracking-card-header strong {
  font-size: 28px;
}

.tracking-card-header mark {
  padding: 8px 12px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 999px;
  font-weight: 800;
}

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

.tracking-summary div {
  display: grid;
  gap: 4px;
  padding: 14px;
  background: #f7f8f4;
  border-radius: 16px;
}

.artwork-review-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.artwork-review-panel h2 {
  margin: 0;
  font-size: 20px;
}

.artwork-review-status,
.artwork-review-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.artwork-review-box {
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 14px;
  background: #f7f8f4;
  border-radius: 16px;
}

.artwork-review-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.artwork-review-box img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
}

.artwork-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.artwork-review-actions .primary-cta,
.artwork-review-actions .secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

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

.tracking-shipping-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tracking-shipping-chip {
  padding: 8px 12px;
  color: #6c7768;
  background: #f2f5ef;
  border: 1px solid #dde5d8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.tracking-shipping-chip.is-active {
  color: #fff;
  background: linear-gradient(135deg, #2f8f2f, #94ce36);
  border-color: #2f8f2f;
}

.tracking-shipping-link {
  width: fit-content;
  text-decoration: none;
}

.tracking-timeline {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tracking-timeline li {
  position: relative;
  padding: 14px 14px 14px 46px;
  background: #f7f8f4;
  border-radius: 16px;
  font-weight: 800;
}

.tracking-timeline li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 16px;
  height: 16px;
  background: #d6d9d2;
  border-radius: 50%;
  transform: translateY(-50%);
}

.tracking-timeline li.done::before {
  background: var(--brand);
}

.tracking-timeline li.done {
  color: #31552b;
  background: #f1f8ed;
}

.tracking-timeline li.current {
  color: #183b13;
  background: #e8f7df;
  box-shadow: inset 0 0 0 2px rgba(117, 190, 65, 0.42);
}

.tracking-timeline li.current::before {
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(117, 190, 65, 0.2);
}

.site-footer {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  color: #4d4d4d;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
}

.site-footer a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mobile-buybar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 25;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.mobile-buybar span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mobile-buybar a {
  display: inline-grid;
  place-items: center;
  min-width: 116px;
  min-height: 44px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .header-top {
    display: none;
  }

  .social-rail {
    display: none;
  }

  .registration-landing {
    min-height: auto;
  }

  .campaign-entry {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 6px;
  }

  .hero-visual {
    min-height: 470px;
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .hero-bag-frame {
    left: 50%;
    width: min(520px, 100%);
    height: 470px;
    transform: translateX(-50%);
  }

  .hero-seal {
    right: 8%;
    bottom: 6%;
  }

  .hero-copy h1 {
    max-width: 860px;
  }

  .hero-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .registration-benefits {
    grid-template-columns: 1fr;
  }

  .product-shell {
    grid-template-columns: 1fr;
  }

  .checkout-stage-body {
    grid-template-columns: 1fr;
  }

  .checkout-stage-summary {
    position: static;
    order: 2;
  }

  .checkout-form-stage .checkout-footer {
    grid-template-columns: 1fr;
  }

  .checkout-form-stage {
    order: 1;
  }

  .journey-toolbar {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .journey-header-shell {
    margin: 12px auto 22px;
    padding: 0 18px;
    gap: 14px;
  }

  .journey-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .buy-panel {
    margin-top: 0;
  }

  .buy-panel {
    box-shadow: none;
  }

  .carousel-stage {
    height: 540px;
    min-height: 0;
  }

  .carousel-main img {
    width: min(90.2%, 550px);
    height: min(99%, 550px);
    max-height: 99%;
  }

  .purchase-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 760px;
    margin: 20px auto 0;
  }

  .internal-app {
    grid-template-columns: 1fr;
  }

  .internal-sidebar {
    position: static;
    grid-template-rows: auto;
    min-height: 0;
  }

  .internal-side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .internal-kanban {
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

}

@media (max-width: 760px) {
  .checkout-stage {
    padding: 20px 14px;
    border-radius: 22px;
  }

  .journey-toolbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 10px;
  }

  .journey-steps {
    gap: 10px;
  }

  .journey-header-shell {
    position: static;
    top: auto;
    margin: 10px auto 18px;
    padding: 0 14px;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
  }

  .journey-step {
    min-height: 88px;
    padding: 14px 14px 14px 72px;
    border-radius: 18px;
  }

  .journey-step span {
    left: -10px;
    font-size: 62px;
  }

  .journey-step strong {
    margin-left: 4px;
    font-size: 17px;
  }

  .journey-step small {
    margin-left: 4px;
    font-size: 11px;
  }

  .mockup-embed-module,
  .mockup-embed-frame {
    min-height: 900px;
  }

  .product-shell.is-mockup-workspace .mockup-embed-module,
  .product-shell.is-mockup-workspace .mockup-embed-frame {
    min-height: 940px;
  }

  .mockup-workbar {
    align-items: stretch;
    flex-direction: column;
  }

  .mockup-workbar-actions,
  .mockup-submit-order {
    width: 100%;
  }

  .mockup-selected-reference {
    width: 100%;
    min-width: 0;
  }

  .mockup-size-switch {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .mockup-module {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mockup-preview-shell {
    min-height: min(92vw, 460px);
  }

  .mockup-adjust-fields label {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .navbar {
    padding: 12px 14px;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    margin-left: auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .nav-cta-art {
    height: 38px;
  }

  .journey-toolbar-copy strong {
    font-size: 22px;
  }

  .journey-toolbar-copy p {
    max-width: 34ch;
    font-size: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-logo {
    height: 36px;
    max-width: 148px;
  }

  .brand-product-name {
    font-size: 0.58rem;
  }

  .cart-button {
    min-width: auto;
    padding: 0;
  }

  .cart-button-art {
    height: 40px;
  }

  .cart-button .cart-copy {
    display: none;
  }

  .customer-chip {
    max-width: 160px;
    padding-left: 10px;
  }

  .customer-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .customer-chip button {
    display: none;
  }

  .registration-landing {
    padding: 18px 14px 44px;
  }

  .assistant-widget {
    right: 12px;
    bottom: 18px;
  }

  .assistant-toggle {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 48px;
  }

  .assistant-toggle-mark {
    width: 48px;
    height: 48px;
  }

  .assistant-toggle-bot {
    left: 9px;
    top: 12px;
    width: 26px;
    height: 20px;
  }

  .assistant-toggle-bot::before {
    left: 3px;
    bottom: -4px;
    width: 9px;
    height: 9px;
  }

  .assistant-toggle-bot::after {
    left: -3px;
    right: -3px;
    top: -6px;
    height: 12px;
  }

  .assistant-toggle-bot-face::before,
  .assistant-toggle-bot-face::after {
    top: 6px;
    height: 9px;
  }

  .assistant-toggle-bot-eyes::before,
  .assistant-toggle-bot-eyes::after {
    top: 7px;
  }

  .assistant-toggle-bot-mouth {
    bottom: 4px;
  }

  .assistant-toggle-copy strong {
    font-size: 16px;
  }

  .assistant-toggle-copy small {
    font-size: 11px;
  }

  .assistant-panel {
    width: min(390px, calc(100vw - 20px));
    bottom: 68px;
    padding: 16px;
    border-radius: 22px;
  }

  .assistant-header-copy strong {
    font-size: 20px;
  }

  .assistant-header-mark {
    width: 72px;
    height: 72px;
  }

  .assistant-header-mark::before {
    inset: 16px 10px 9px 12px;
  }

  .assistant-header-mark::after {
    left: 9px;
    right: 9px;
    top: 5px;
    height: 38px;
    border-width: 5px;
  }

  .assistant-avatar-face {
    left: 20px;
    top: 29px;
    width: 34px;
    height: 24px;
  }

  .assistant-avatar-face::before,
  .assistant-avatar-face::after {
    width: 9px;
    height: 22px;
  }

  .assistant-avatar-face::before {
    left: -10px;
  }

  .assistant-avatar-face::after {
    right: -10px;
  }

  .assistant-header-note {
    font-size: 12px;
  }

  .assistant-form {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .campaign-entry {
    gap: 12px;
    margin-inline: 0;
    padding: 0 0 54px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy h1 .hero-title-primary {
    white-space: normal;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
  }

  .hero-benefits article {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid #d8d8d8;
  }

  .landing-cta {
    min-width: 100%;
    min-height: 54px;
    padding: 0 18px;
    font-size: 15px;
  }

  .hero-trust {
    margin-left: 0;
    font-size: 13px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-bag-frame {
    height: 360px;
  }

  .hero-seal {
    width: 96px;
    height: 96px;
    border-width: 7px;
    font-size: 13px;
  }

  .registration-card {
    padding: 20px;
  }

  .login-card {
    width: 100%;
    padding: 28px;
  }

  .login-card h2 {
    font-size: 25px;
  }

  .product-shell {
    padding: 18px 14px 18px;
    gap: 18px;
  }

  .product-carousel {
    grid-template-columns: 1fr;
  }

  .option-grid-3,
  .option-grid-4,
  .price-box,
  .cta-row {
    grid-template-columns: 1fr;
  }

  .visual-options,
  .paper-options,
  .print-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  .product-profile {
    padding: 18px;
    gap: 16px;
  }

  .product-profile-head strong {
    font-size: 20px;
  }

  .product-profile-grid article {
    grid-template-columns: 1fr;
    gap: 5px;
    padding-bottom: 10px;
  }

  .mockup-size-switch button {
    padding: 10px;
  }

  .mockup-size-switch button strong {
    font-size: 11px;
  }

  .mockup-size-switch button small {
    font-size: 9px;
  }

  .tracking-search,
  .tracking-summary,
  .tracking-shipping-grid {
    grid-template-columns: 1fr;
  }

  .artwork-preview,
  .artwork-review-grid,
  .internal-hero,
  .internal-dashboard-grid,
  .internal-customer-grid,
  .internal-stats,
  .internal-meta,
  .internal-meta.compact,
  .internal-artwork,
  .internal-actions {
    grid-template-columns: 1fr;
  }

  .internal-side-nav {
    grid-template-columns: 1fr 1fr;
  }

  .internal-toolbar,
  .internal-card-header,
  .internal-panel-header,
  .internal-customer-header {
    align-items: stretch;
    flex-direction: column;
  }

  .internal-review-bar {
    grid-template-columns: 1fr 1fr;
  }

  .internal-file-grid,
  .internal-actions {
    grid-template-columns: 1fr;
  }

  .internal-mini-order {
    grid-template-columns: 1fr;
  }

  .internal-mini-order > span:last-child {
    justify-items: start;
    text-align: left;
  }

  .buy-panel {
    padding: 18px;
  }

  h1 {
    font-size: 34px;
  }

  .faq-section {
    margin-top: 44px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .faq-section {
    margin-bottom: 110px;
  }

  .mobile-buybar {
    display: flex;
  }
}

@media (max-width: 640px) {
  .journey-back-home {
    width: 100%;
  }

  .journey-steps {
    grid-template-columns: 1fr;
  }

  .gallery-tabs {
    gap: 8px;
  }

  .gallery-tab {
    min-height: 36px;
    padding: 0 12px;
    font-size: 12px;
  }

  .carousel-stage {
    height: 340px;
    min-height: 0;
    border-radius: 12px;
  }

  .carousel-main {
    height: 100%;
    padding: 0 54px 10px;
  }

  .carousel-main img {
    width: min(100%, 297px);
    height: min(99%, 297px);
    max-height: 99%;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 30px;
  }

  .carousel-arrow-prev {
    left: 4px;
  }

  .carousel-arrow-next {
    right: 4px;
  }

  .carousel-main figcaption {
    left: 14px;
    right: 14px;
    bottom: 36px;
    max-width: none;
    justify-self: center;
    text-align: center;
    border-radius: 14px;
    font-size: 12px;
  }

  .carousel-counter {
    top: 8px;
    right: 8px;
    min-height: 28px;
    padding: 0 10px;
  }

  .purchase-notes {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    max-width: none;
    margin: 18px 0 0;
    padding: 0;
  }

}

.internal-page .ops-login-card {
  min-width: 0;
}

.internal-page .ops-login,
.internal-page .ops-login-copy,
.internal-page .ops-login-grid,
.internal-page .ops-login-grid article {
  min-width: 0;
  max-width: 100%;
}

.internal-page .ops-login-copy h1,
.internal-page .ops-login-copy p {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.internal-page .ops-login-card .login-field .icon {
  left: 18px;
  z-index: 2;
  pointer-events: none;
}

.internal-page .ops-login-card .login-field input {
  padding-left: 58px;
}

@media (max-width: 760px) {
  html,
  body.internal-page {
    max-width: 100%;
    overflow-x: hidden;
  }

  .internal-page .ops-shell {
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    overflow-x: hidden;
  }

  .internal-page .ops-login,
  .internal-page .ops-login-copy,
  .internal-page .ops-login-grid,
  .internal-page .ops-login-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .internal-page .ops-login-card,
  .internal-page .ops-login-grid article {
    justify-self: start;
    width: calc(100vw - 56px) !important;
    max-width: calc(100vw - 56px) !important;
  }

  .internal-page .ops-login-copy h1 {
    max-width: calc(100vw - 56px) !important;
    font-size: 24px;
    line-height: 1.06;
  }

  .internal-page .ops-login-copy p {
    max-width: calc(100vw - 56px) !important;
    font-size: 15px;
  }

  .internal-page .ops-login-card {
    padding: 20px;
  }

  .internal-page .ops-role-tabs {
    grid-template-columns: 1fr;
  }
}

/* Polished internal operations console */
.internal-app-screen {
  color: #172018;
  background:
    linear-gradient(180deg, #f7faf5 0%, #eef4eb 100%);
}

.internal-app-screen .internal-site-header {
  display: none;
}

.internal-app-screen .ops-shell {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.internal-app-screen .ops-app {
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 0;
  min-height: 100vh;
}

.internal-app-screen .ops-sidebar {
  top: 0;
  min-height: 100vh;
  padding: 22px 18px;
  background: #fbfcfa;
  border: 0;
  border-right: 1px solid #dfe8dc;
  border-radius: 0;
  box-shadow: none;
}

.internal-app-screen .ops-sidebar-brand {
  padding: 0 2px 12px;
  border-bottom: 1px solid #e5ece2;
}

.internal-app-screen .ops-sidebar-brand img {
  width: 98px;
}

.internal-app-screen .ops-sidebar-brand span {
  padding: 6px 8px;
  color: #4f5a50;
  background: #f0f4ed;
  border-radius: 999px;
  font-size: 10px;
}

.internal-app-screen .ops-user-card {
  padding: 14px;
  background: #f3f8ef;
  border-color: #d5e8ce;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.internal-app-screen .ops-user-card strong {
  font-size: 15px;
}

.internal-app-screen .ops-side-nav {
  gap: 6px;
}

.internal-app-screen .ops-nav-button {
  position: relative;
  padding: 13px 14px 13px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
}

.internal-app-screen .ops-nav-button::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  background: transparent;
  border-radius: 99px;
}

.internal-app-screen .ops-nav-button:hover {
  background: #f4f7f1;
  border-color: #e1eadc;
}

.internal-app-screen .ops-nav-button.is-active {
  background: #ebf7e5;
  border-color: #cfe8c7;
}

.internal-app-screen .ops-nav-button.is-active::before {
  background: var(--brand);
}

.internal-app-screen .internal-logout {
  min-height: 44px;
  background: #ffffff;
}

.internal-app-screen .ops-workspace {
  gap: 16px;
  min-width: 0;
  padding: 22px 24px 28px;
}

.internal-app-screen .ops-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  align-items: flex-start;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.92);
  border-color: #dfe8dc;
  box-shadow: 0 14px 34px rgba(28, 42, 29, 0.06);
  backdrop-filter: blur(14px);
}

.internal-app-screen .ops-toolbar h2 {
  margin-top: 2px;
  font-size: clamp(28px, 2.2vw, 38px);
  letter-spacing: 0;
}

.internal-app-screen .ops-toolbar p {
  font-size: 14px;
  font-weight: 600;
}

.internal-app-screen .ops-toolbar-actions {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(190px, 250px) auto;
  align-items: center;
  gap: 10px;
}

.internal-app-screen .ops-search,
.internal-app-screen .ops-toolbar select {
  min-width: 0;
}

.internal-app-screen .ops-search input,
.internal-app-screen .ops-toolbar select,
.internal-app-screen .ops-form-field input,
.internal-app-screen .ops-form-field select,
.internal-app-screen .ops-form-field textarea {
  background: #fbfcfa;
  border-color: #d8e2d5;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.internal-app-screen .ops-search input:focus,
.internal-app-screen .ops-toolbar select:focus,
.internal-app-screen .ops-form-field input:focus,
.internal-app-screen .ops-form-field select:focus,
.internal-app-screen .ops-form-field textarea:focus {
  border-color: #90c985;
  box-shadow: 0 0 0 3px rgba(63, 159, 47, 0.12);
}

.internal-app-screen .ops-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.internal-app-screen .internal-stat-card {
  position: relative;
  min-height: 104px;
  padding: 16px;
  overflow: hidden;
  background: #ffffff;
  border-color: #dfe8dc;
  box-shadow: 0 10px 24px rgba(23, 34, 25, 0.045);
}

.internal-app-screen .internal-stat-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #d9e3d5;
}

.internal-app-screen .internal-stat-card.warning::after {
  background: #f0b429;
}

.internal-app-screen .internal-stat-card.info::after {
  background: #5aa7d6;
}

.internal-app-screen .internal-stat-card.success::after {
  background: var(--brand);
}

.internal-app-screen .ops-layout {
  grid-template-columns: minmax(620px, 1fr) minmax(390px, 440px);
  gap: 16px;
  align-items: start;
}

.internal-app-screen .ops-board {
  min-width: 0;
}

.internal-app-screen .ops-workbench {
  gap: 14px;
}

.internal-app-screen .ops-task-section,
.internal-app-screen .ops-detail,
.internal-app-screen .ops-order-row,
.internal-app-screen .ops-dialog-panel {
  border-color: #dfe8dc;
  box-shadow: 0 12px 28px rgba(27, 41, 29, 0.045);
}

.internal-app-screen .ops-task-section {
  padding: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.internal-app-screen .ops-task-section .internal-panel-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2ea;
}

.internal-app-screen .ops-task-section .internal-panel-header h3 {
  font-size: 19px;
}

.internal-app-screen .ops-task-section .internal-panel-header span {
  min-width: 72px;
  padding: 6px 10px;
  color: var(--brand-dark);
  text-align: center;
  background: #f0f8ec;
  border: 1px solid #d1eac8;
  border-radius: 999px;
}

.internal-app-screen .ops-row-list {
  gap: 10px;
}

.internal-app-screen .ops-order-row {
  position: relative;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 13px 14px;
  overflow: hidden;
  background: #ffffff;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.internal-app-screen .ops-order-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #d8e1d5;
}

.internal-app-screen .ops-order-row.tone-warning::before {
  background: #f0b429;
}

.internal-app-screen .ops-order-row.tone-info::before {
  background: #5aa7d6;
}

.internal-app-screen .ops-order-row.tone-success::before {
  background: var(--brand);
}

.internal-app-screen .ops-order-row.tone-danger::before {
  background: var(--danger);
}

.internal-app-screen .ops-order-row:hover {
  border-color: #cdddc7;
  box-shadow: 0 16px 32px rgba(27, 41, 29, 0.07);
  transform: translateY(-1px);
}

.internal-app-screen .ops-order-row.is-selected {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(63, 159, 47, 0.18), 0 16px 34px rgba(39, 113, 29, 0.09);
}

.internal-app-screen .ops-order-main {
  grid-template-columns: minmax(0, 1fr) minmax(188px, auto);
  padding-left: 4px;
}

.internal-app-screen .ops-order-main strong {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.internal-app-screen .ops-order-main small,
.internal-app-screen .ops-order-meta small {
  font-size: 12px;
}

.internal-app-screen .ops-order-inline {
  grid-column: 1 / 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: 4px;
}

.internal-app-screen .ops-order-inline.compact {
  margin-top: -2px;
}

.internal-app-screen .ops-order-inline span {
  min-height: 28px;
  padding: 6px 9px;
  color: #4f5b50;
  background: #f4f7f1;
  border: 1px solid #e3ebdf;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.1;
}

.internal-app-screen .ops-order-inline span.is-positive {
  color: #216a18;
  background: #edf8e9;
  border-color: #cae9c1;
}

.internal-app-screen .ops-row-actions {
  justify-content: flex-end;
  align-self: stretch;
}

.internal-app-screen .primary-cta.compact,
.internal-app-screen .secondary-cta.compact,
.internal-app-screen .icon-copy {
  min-height: 36px;
  border-radius: 8px;
}

.internal-app-screen .secondary-cta.compact {
  background: #ffffff;
}

.internal-app-screen .ops-detail {
  top: 22px;
  gap: 16px;
  max-height: calc(100vh - 44px);
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 10px;
}

.internal-app-screen .ops-detail-header {
  position: sticky;
  top: -18px;
  z-index: 2;
  margin: -18px -18px 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #edf2ea;
  border-radius: 10px 10px 0 0;
  backdrop-filter: blur(12px);
}

.internal-app-screen .ops-detail-header strong {
  font-size: 18px;
}

.internal-app-screen .ops-detail-actions {
  padding: 0 0 14px;
}

.internal-app-screen .ops-detail-group {
  gap: 9px;
}

.internal-app-screen .ops-detail-group h3 {
  font-size: 15px;
}

.internal-app-screen .ops-detail-grid {
  gap: 7px;
}

.internal-app-screen .ops-detail-grid div,
.internal-app-screen .ops-prepress-grid div {
  min-height: 58px;
  background: #fbfcfa;
  border: 1px solid #e4ece1;
}

.internal-app-screen .ops-detail-grid strong,
.internal-app-screen .ops-prepress-grid strong {
  font-size: 12px;
}

.internal-app-screen .internal-file-grid.compact {
  gap: 9px;
}

.internal-app-screen .internal-file-grid.compact .internal-file-box {
  min-height: 0;
}

.internal-app-screen .internal-file-box {
  padding: 11px;
  background: #fbfcfa;
  border: 1px solid #e2eadf;
}

.internal-app-screen .internal-file-box img {
  height: 104px;
  background: #ffffff;
  border: 1px solid #edf2ea;
}

.internal-app-screen .internal-file-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 10px;
  color: var(--brand-dark);
  background: #eff8ea;
  border: 1px solid #cfe8c7;
  border-radius: 999px;
  text-decoration: none;
}

.internal-app-screen .ops-note-stack p {
  color: #634814;
  background: #fffbef;
}

.internal-app-screen .ops-prepress {
  background: #f4fbf1;
  border-color: #cfe8c7;
}

.internal-app-screen .ops-prepress-checklist p {
  min-height: 34px;
  background: #ffffff;
}

.internal-app-screen .ops-prepress-checklist .icon {
  color: var(--brand);
}

.internal-app-screen .ops-prepress-recommendation {
  color: #1f4f19;
  background: #ffffff;
}

.internal-app-screen .ops-history {
  gap: 9px;
}

.internal-app-screen .ops-history li {
  padding: 11px 11px 11px 30px;
  background: #fbfcfa;
  border: 1px solid #e4ece1;
}

.internal-app-screen .ops-history li::before {
  left: 12px;
  top: 17px;
  width: 7px;
  height: 7px;
}

.internal-app-screen .internal-customer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.internal-app-screen .internal-customer-card,
.internal-app-screen .internal-kanban-column,
.internal-app-screen .internal-tracking-card {
  background: #ffffff;
  border-color: #dfe8dc;
  box-shadow: 0 12px 28px rgba(27, 41, 29, 0.045);
}

.internal-app-screen .internal-kanban {
  gap: 12px;
}

.internal-app-screen .internal-kanban-column {
  padding: 12px;
  border: 1px solid #dfe8dc;
  border-radius: 8px;
}

.internal-app-screen .tracking-empty,
.internal-app-screen .internal-muted {
  color: #667064;
}

@media (max-width: 1320px) {
  .internal-app-screen .ops-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .internal-app-screen .ops-detail {
    position: static;
    max-height: none;
  }
}

@media (max-width: 1120px) {
  .internal-app-screen .ops-app {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .ops-sidebar {
    position: static;
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #dfe8dc;
  }

  .internal-app-screen .ops-side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .internal-app-screen .ops-toolbar {
    position: static;
  }

  .internal-app-screen .ops-toolbar-actions {
    grid-template-columns: 1fr 1fr auto;
  }
}

@media (max-width: 760px) {
  .internal-app-screen .ops-shell {
    width: 100% !important;
    max-width: 100% !important;
  }

  .internal-app-screen .ops-workspace {
    padding: 14px;
  }

  .internal-app-screen .ops-toolbar,
  .internal-app-screen .ops-detail-header {
    align-items: stretch;
    flex-direction: column;
  }

  .internal-app-screen .ops-toolbar-actions,
  .internal-app-screen .ops-stats,
  .internal-app-screen .ops-side-nav,
  .internal-app-screen .ops-order-main,
  .internal-app-screen .ops-detail-grid,
  .internal-app-screen .ops-prepress-grid,
  .internal-app-screen .internal-customer-grid {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .ops-order-row {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .ops-order-inline,
  .internal-app-screen .ops-row-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

/* Customer CRM view */
.internal-app-screen .customer-inventory {
  display: grid;
  gap: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe8dc;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(27, 41, 29, 0.045);
}

.internal-app-screen .customer-inventory-header,
.internal-app-screen .customer-inventory-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) minmax(180px, 1fr) minmax(180px, 1fr) 108px minmax(140px, 0.8fr) 132px minmax(140px, 0.8fr) 104px;
  gap: 12px;
  align-items: center;
}

.internal-app-screen .customer-inventory-header {
  position: sticky;
  top: 95px;
  z-index: 4;
  min-height: 44px;
  padding: 0 14px;
  color: var(--muted);
  background: #f4f8f1;
  border-bottom: 1px solid #dfe8dc;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.internal-app-screen .customer-inventory-row {
  position: relative;
  min-height: 78px;
  padding: 12px 14px;
  border-bottom: 1px solid #edf2ea;
  transition: background 140ms ease, box-shadow 140ms ease;
}

.internal-app-screen .customer-inventory-row:last-child {
  border-bottom: 0;
}

.internal-app-screen .customer-inventory-row:hover {
  background: #fbfdf9;
  box-shadow: inset 4px 0 0 #b8dfad;
}

.internal-app-screen .customer-inventory-row.is-selected {
  background: #f3fbef;
  box-shadow: inset 4px 0 0 var(--brand);
}

.internal-app-screen .customer-inventory-cell {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.internal-app-screen .customer-inventory-cell.identity {
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.internal-app-screen .customer-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #1f5a18;
  background: #eaf7e5;
  border: 1px solid #cce8c1;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.internal-app-screen .customer-inventory-cell strong {
  min-width: 0;
  font-size: 13px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.internal-app-screen .customer-inventory-cell small {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.internal-app-screen .customer-inventory-cell.metric strong {
  font-size: 15px;
}

.internal-app-screen .customer-inventory-cell.pending {
  align-content: center;
}

.internal-app-screen .customer-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 9px;
  color: #4f5b50;
  background: #f4f7f1;
  border: 1px solid #e3ebdf;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.internal-app-screen .customer-state.warning {
  color: #6b4b00;
  background: #fff7df;
  border-color: #efd884;
}

.internal-app-screen .customer-state.info {
  color: #145077;
  background: #edf7ff;
  border-color: #cae4f6;
}

.internal-app-screen .customer-state.success {
  color: var(--brand-dark);
  background: #edf8e9;
  border-color: #cae9c1;
}

.internal-app-screen .customer-inventory-actions {
  display: flex;
  justify-content: flex-end;
}

.internal-app-screen .ops-dialog.sales-dialog {
  width: min(980px, calc(100% - 28px));
}

.internal-app-screen .ops-dialog.sales-dialog .ops-dialog-panel {
  gap: 14px;
  max-height: min(820px, calc(100vh - 36px));
  overflow: auto;
}

.internal-app-screen .ops-dialog.sales-dialog .ops-dialog-panel footer {
  position: sticky;
  bottom: -18px;
  margin: 0 -18px -18px;
  padding: 12px 18px 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.internal-app-screen .sales-modal {
  display: grid;
  gap: 14px;
}

.internal-app-screen .sales-hero {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #f4fbf1;
  border: 1px solid #cfe8c7;
  border-radius: 10px;
}

.internal-app-screen .sales-hero .customer-avatar {
  width: 54px;
  height: 54px;
  font-size: 17px;
}

.internal-app-screen .sales-hero div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.internal-app-screen .sales-hero span:first-child,
.internal-app-screen .sales-section h3,
.internal-app-screen .sales-next-step h3 {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.internal-app-screen .sales-hero strong {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.internal-app-screen .sales-hero small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.internal-app-screen .sales-metrics,
.internal-app-screen .sales-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.internal-app-screen .sales-metrics .customer-inventory-cell,
.internal-app-screen .sales-contact-grid .customer-inventory-cell {
  min-height: 74px;
  padding: 12px;
  background: #fbfcfa;
  border: 1px solid #e3ebdf;
  border-radius: 8px;
}

.internal-app-screen .sales-section {
  display: grid;
  gap: 10px;
}

.internal-app-screen .sales-state-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.internal-app-screen .sales-order-list {
  display: grid;
  gap: 8px;
  max-height: 310px;
  overflow: auto;
  padding-right: 2px;
}

.internal-app-screen .sales-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(110px, auto);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 10px 12px;
  color: inherit;
  text-align: left;
  background: #ffffff;
  border: 1px solid #e3ebdf;
  border-radius: 8px;
  cursor: pointer;
}

.internal-app-screen .sales-order-row:hover {
  border-color: #cdddc7;
  background: #fbfdf9;
}

.internal-app-screen .sales-order-row span:first-child {
  display: grid;
  gap: 4px;
}

.internal-app-screen .sales-order-row strong {
  font-size: 13px;
}

.internal-app-screen .sales-order-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.internal-app-screen .sales-order-row b {
  justify-self: end;
  font-size: 13px;
}

.internal-app-screen .sales-next-step {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #fffaf0;
  border: 1px solid #efe1ac;
  border-radius: 8px;
}

.internal-app-screen .sales-next-step p {
  margin: 0;
  color: #634814;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.internal-app-screen .sales-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.internal-app-screen .internal-customer-card {
  position: relative;
  gap: 13px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.internal-app-screen .internal-customer-card:hover {
  border-color: #cdddc7;
  box-shadow: 0 16px 32px rgba(27, 41, 29, 0.07);
  transform: translateY(-1px);
}

.internal-app-screen .internal-customer-card.is-selected {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(63, 159, 47, 0.16), 0 16px 34px rgba(39, 113, 29, 0.09);
}

.internal-app-screen .internal-customer-card.is-selected::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  background: var(--brand);
  border-radius: 0 99px 99px 0;
}

.internal-app-screen .internal-customer-header strong {
  font-size: 18px;
  overflow-wrap: anywhere;
}

.internal-app-screen .internal-customer-header b,
.internal-app-screen .customer-score {
  min-height: 30px;
  padding: 7px 10px;
  color: var(--brand-dark);
  background: #edf8e9;
  border: 1px solid #cae9c1;
  border-radius: 999px;
  font-size: 12px;
  white-space: nowrap;
}

.internal-app-screen .internal-customer-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.internal-app-screen .internal-customer-metric {
  display: grid;
  gap: 5px;
  min-height: 72px;
  padding: 10px;
  background: #fbfcfa;
  border: 1px solid #e3ebdf;
  border-radius: 8px;
}

.internal-app-screen .internal-customer-metric span,
.internal-app-screen .internal-customer-footer span,
.internal-app-screen .customer-health-card span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.internal-app-screen .internal-customer-metric strong {
  font-size: 13px;
  overflow-wrap: anywhere;
}

.internal-app-screen .internal-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px;
  color: #4f5b50;
  background: #f4f7f1;
  border: 1px solid #e3ebdf;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.internal-app-screen .internal-chip.warning {
  color: #6b4b00;
  background: #fff7df;
  border-color: #efd884;
}

.internal-app-screen .internal-chip.info {
  color: #145077;
  background: #edf7ff;
  border-color: #cae4f6;
}

.internal-app-screen .internal-chip.success {
  color: var(--brand-dark);
  background: #edf8e9;
  border-color: #cae9c1;
}

.internal-app-screen .internal-customer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 2px;
}

.internal-app-screen .customer-detail-header small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.internal-app-screen .customer-health {
  padding: 12px;
  background: #f7fbf4;
  border: 1px solid #d4ebca;
  border-radius: 8px;
}

.internal-app-screen .customer-health-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.internal-app-screen .customer-health-card {
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e3ebdf;
  border-radius: 8px;
}

.internal-app-screen .customer-health-card strong {
  font-size: 17px;
}

.internal-app-screen .customer-health-card.warning {
  border-color: #efd884;
  background: #fffaf0;
}

.internal-app-screen .customer-health-card.info {
  border-color: #cae4f6;
  background: #f4f9fd;
}

.internal-app-screen .customer-health-card.success {
  border-color: #cae9c1;
  background: #f5fbf2;
}

.internal-app-screen .customer-order-list {
  display: grid;
  gap: 8px;
}

.internal-app-screen .customer-order-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 58px;
  padding: 10px;
  color: inherit;
  text-align: left;
  background: #fbfcfa;
  border: 1px solid #e3ebdf;
  border-radius: 8px;
  cursor: pointer;
}

.internal-app-screen .customer-order-row:hover {
  border-color: #cdddc7;
  background: #ffffff;
}

.internal-app-screen .customer-order-row span:first-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.internal-app-screen .customer-order-row strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.internal-app-screen .customer-order-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.internal-app-screen .customer-next-step {
  padding: 12px;
  background: #fffaf0;
  border: 1px solid #efe1ac;
  border-radius: 8px;
}

.internal-app-screen .customer-next-step p {
  margin: 0;
  color: #634814;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .internal-app-screen .internal-customer-summary,
  .internal-app-screen .customer-health-grid,
  .internal-app-screen .customer-order-row {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .internal-customer-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 1480px) {
  .internal-app-screen .customer-inventory {
    overflow-x: auto;
  }

  .internal-app-screen .customer-inventory-header,
  .internal-app-screen .customer-inventory-row {
    min-width: 1120px;
  }
}

@media (max-width: 760px) {
  .internal-app-screen .customer-inventory-header {
    display: none;
  }

  .internal-app-screen .customer-inventory {
    overflow: visible;
    gap: 10px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .internal-app-screen .customer-inventory-row {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 10px;
    padding: 14px;
    background: #ffffff;
    border: 1px solid #dfe8dc;
    border-radius: 10px;
  }

  .internal-app-screen .customer-inventory-actions {
    justify-content: flex-start;
  }

  .internal-app-screen .sales-hero,
  .internal-app-screen .sales-order-row {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .sales-metrics,
  .internal-app-screen .sales-contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal-first operations layout */
.internal-app-screen .ops-app {
  grid-template-columns: 260px minmax(0, 1fr);
}

.internal-app-screen .ops-sidebar {
  padding: 18px 16px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6faf4 100%);
}

.internal-app-screen .ops-sidebar-brand {
  align-items: center;
}

.internal-app-screen .ops-sidebar-brand img {
  width: 108px;
}

.internal-app-screen .ops-user-card {
  gap: 5px;
  padding: 12px;
  min-height: 76px;
}

.internal-app-screen .ops-side-nav {
  gap: 4px;
}

.internal-app-screen .ops-nav-button {
  grid-template-columns: minmax(0, 1fr);
  min-height: 58px;
  padding: 11px 12px 11px 17px;
}

.internal-app-screen .ops-nav-button span {
  font-size: 15px;
}

.internal-app-screen .ops-nav-button small {
  font-size: 11px;
}

.internal-app-screen .ops-layout {
  grid-template-columns: minmax(0, 1fr);
}

.internal-app-screen .ops-detail {
  display: none;
}

.internal-app-screen .ops-workspace {
  padding: 18px 22px 28px;
}

.internal-app-screen .ops-toolbar {
  min-height: 92px;
  padding: 16px 18px;
}

.internal-app-screen .ops-board {
  width: 100%;
}

.internal-app-screen .ops-dialog.order-dialog {
  width: min(1080px, calc(100% - 28px));
}

.internal-app-screen .ops-dialog.order-dialog .ops-dialog-panel {
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
}

.internal-app-screen .ops-dialog.order-dialog .ops-dialog-panel footer {
  position: sticky;
  bottom: -18px;
  margin: 0 -18px -18px;
  padding: 12px 18px 18px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.internal-app-screen .order-modal {
  display: grid;
  gap: 14px;
  padding-bottom: 68px;
}

.internal-app-screen .order-modal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #f4fbf1;
  border: 1px solid #cfe8c7;
  border-radius: 10px;
}

.internal-app-screen .order-modal-hero div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.internal-app-screen .order-modal-hero span:first-child {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.internal-app-screen .order-modal-hero strong {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.internal-app-screen .order-modal-hero small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.internal-app-screen .order-modal-hero b {
  font-size: 20px;
  white-space: nowrap;
}

.internal-app-screen .order-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-bottom: 2px;
}

.internal-app-screen .order-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.internal-app-screen .order-modal .ops-detail-group {
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e3ebdf;
  border-radius: 10px;
}

.internal-app-screen .order-modal .ops-detail-grid div {
  background: #fbfcfa;
}

.internal-app-screen .order-modal .internal-file-grid.compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.internal-app-screen .order-modal .internal-file-box img {
  height: 140px;
}

@media (max-width: 1120px) {
  .internal-app-screen .ops-app {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .ops-sidebar {
    padding: 14px;
  }
}

@media (max-width: 760px) {
  .internal-app-screen .order-modal-hero,
  .internal-app-screen .order-modal-grid,
  .internal-app-screen .order-modal .internal-file-grid.compact {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .order-modal-hero b {
    white-space: normal;
  }
}

/* Visual polish: iconography, contrast and spacing */
.internal-app-screen {
  --ops-green-900: #174d13;
  --ops-green-700: #28751f;
  --ops-green-100: #eaf8e4;
  --ops-amber-900: #5f3b00;
  --ops-amber-100: #fff3d0;
  --ops-blue-900: #0c4a6e;
  --ops-blue-100: #e7f5ff;
  --ops-red-900: #7c1f1f;
  --ops-red-100: #fff0f0;
}

.internal-app-screen .ops-nav-button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 10px;
  align-items: center;
}

.internal-app-screen .ops-nav-button .nav-icon {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  padding: 8px;
  color: #546054;
  background: #f4f7f1;
  border: 1px solid #e2eadf;
  border-radius: 8px;
}

.internal-app-screen .ops-nav-button.is-active .nav-icon {
  color: var(--ops-green-900);
  background: var(--ops-green-100);
  border-color: #bee4b4;
}

.internal-app-screen .internal-stat-card {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
}

.internal-app-screen .internal-stat-card > span,
.internal-app-screen .internal-stat-card > strong,
.internal-app-screen .internal-stat-card > small {
  grid-column: 1;
}

.internal-app-screen .stat-icon {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #3f4a3f;
  background: #f2f6ef;
  border: 1px solid #e1eadc;
  border-radius: 8px;
}

.internal-app-screen .stat-icon .icon {
  width: 20px;
  height: 20px;
}

.internal-app-screen .internal-stat-card.warning .stat-icon {
  color: var(--ops-amber-900);
  background: var(--ops-amber-100);
  border-color: #efd884;
}

.internal-app-screen .internal-stat-card.info .stat-icon {
  color: var(--ops-blue-900);
  background: var(--ops-blue-100);
  border-color: #bae0f7;
}

.internal-app-screen .internal-stat-card.success .stat-icon {
  color: var(--ops-green-900);
  background: var(--ops-green-100);
  border-color: #bee4b4;
}

.internal-app-screen .internal-status-badge {
  min-height: 30px;
  padding: 7px 11px;
  color: #2d352d;
  background: #eef3eb;
  border-color: #d7e2d2;
  font-size: 11px;
  font-weight: 900;
}

.internal-app-screen .internal-status-badge.warning {
  color: var(--ops-amber-900);
  background: var(--ops-amber-100);
  border-color: #e6ca69;
}

.internal-app-screen .internal-status-badge.info {
  color: var(--ops-blue-900);
  background: var(--ops-blue-100);
  border-color: #a9d8f2;
}

.internal-app-screen .internal-status-badge.success {
  color: var(--ops-green-900);
  background: var(--ops-green-100);
  border-color: #b4dfa7;
}

.internal-app-screen .internal-status-badge.danger {
  color: var(--ops-red-900);
  background: var(--ops-red-100);
  border-color: #efc6c6;
}

.internal-app-screen .primary-cta {
  color: #ffffff;
  background: linear-gradient(180deg, #42aa34 0%, #2f8d26 100%);
  border-color: #2f8d26;
  box-shadow: 0 8px 18px rgba(48, 141, 38, 0.2);
}

.internal-app-screen .primary-cta:hover {
  background: linear-gradient(180deg, #3b9f2f 0%, #287d20 100%);
}

.internal-app-screen .secondary-cta {
  color: var(--ops-green-900);
  background: #ffffff;
  border-color: #bfe0b7;
}

.internal-app-screen .ops-order-row {
  gap: 14px;
  padding: 15px 16px;
}

.internal-app-screen .ops-order-row.tone-warning {
  background: linear-gradient(90deg, #fffaf0 0%, #ffffff 18%);
}

.internal-app-screen .ops-order-row.tone-info {
  background: linear-gradient(90deg, #f0f8ff 0%, #ffffff 18%);
}

.internal-app-screen .ops-order-row.tone-success {
  background: linear-gradient(90deg, #f3fbef 0%, #ffffff 18%);
}

.internal-app-screen .ops-order-inline {
  gap: 8px;
  margin-top: 2px;
}

.internal-app-screen .ops-order-inline .ops-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 7px 10px;
  color: #4b584c;
  background: #f4f7f1;
  border: 1px solid #dde8d8;
  font-weight: 900;
}

.internal-app-screen .ops-order-inline .ops-pill .icon {
  width: 13px;
  height: 13px;
  color: #6a7569;
  flex: 0 0 auto;
}

.internal-app-screen .ops-order-inline .ops-pill.is-positive {
  color: var(--ops-green-900);
  background: var(--ops-green-100);
  border-color: #bee4b4;
}

.internal-app-screen .ops-order-inline .ops-pill.is-positive .icon {
  color: var(--ops-green-700);
}

.internal-app-screen .ops-automation-inline {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.internal-app-screen .ops-automation-inline.compact {
  margin-top: -2px;
}

.internal-app-screen .ops-automation-inline .internal-status-badge {
  min-height: 27px;
  padding: 5px 9px;
  font-size: 10px;
}

.internal-app-screen .ops-automation-panel {
  padding: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfa 100%);
  border: 1px solid #e1eadc;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(27, 41, 29, 0.035);
}

.internal-app-screen .ops-automation-summary,
.internal-app-screen .ops-automation-agent-grid,
.internal-app-screen .ops-automation-flags,
.internal-app-screen .ops-automation-actions-grid {
  display: grid;
  gap: 10px;
}

.internal-app-screen .ops-automation-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.internal-app-screen .ops-automation-block {
  display: grid;
  gap: 10px;
}

.internal-app-screen .ops-automation-label {
  color: #6b7569;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.internal-app-screen .ops-demo-panel {
  padding: 12px;
  background: linear-gradient(180deg, #f7fbf4 0%, #ffffff 100%);
  border: 1px solid #dce8d5;
  border-radius: 12px;
}

.internal-app-screen .ops-demo-top,
.internal-app-screen .ops-demo-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.internal-app-screen .ops-demo-top > div {
  display: grid;
  gap: 6px;
}

.internal-app-screen .ops-demo-top strong {
  font-size: 14px;
  line-height: 1.2;
}

.internal-app-screen .ops-demo-top p,
.internal-app-screen .ops-demo-hint {
  margin: 0;
  color: #5a6658;
  font-size: 12px;
  line-height: 1.45;
}

.internal-app-screen .ops-automation-metric,
.internal-app-screen .ops-automation-agent,
.internal-app-screen .ops-automation-flag,
.internal-app-screen .ops-automation-action,
.internal-app-screen .ops-automation-empty {
  display: grid;
  gap: 7px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e3ebdf;
  border-radius: 10px;
}

.internal-app-screen .ops-automation-metric span,
.internal-app-screen .ops-automation-action small,
.internal-app-screen .ops-automation-agent small {
  color: #6a7568;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.internal-app-screen .ops-automation-metric strong {
  font-size: 15px;
  line-height: 1.2;
}

.internal-app-screen .ops-automation-metric small,
.internal-app-screen .ops-automation-empty p,
.internal-app-screen .ops-automation-flag p,
.internal-app-screen .ops-automation-action p {
  margin: 0;
  color: #5a6658;
  font-size: 12px;
  line-height: 1.45;
}

.internal-app-screen .ops-automation-metric.tone-success,
.internal-app-screen .ops-automation-agent.state-active {
  background: #f3fbef;
  border-color: #cde6c2;
}

.internal-app-screen .ops-automation-metric.tone-info,
.internal-app-screen .ops-automation-agent.state-watching {
  background: #f0f8ff;
  border-color: #cde4f4;
}

.internal-app-screen .ops-automation-metric.tone-warning,
.internal-app-screen .ops-automation-agent.state-queued {
  background: #fffaf0;
  border-color: #ecd9a6;
}

.internal-app-screen .ops-automation-metric.tone-danger,
.internal-app-screen .ops-automation-agent.state-blocked,
.internal-app-screen .ops-automation-flag.tone-danger,
.internal-app-screen .ops-automation-action.is-blocking {
  background: #fff3f2;
  border-color: #efcaca;
}

.internal-app-screen .ops-automation-agent-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.internal-app-screen .ops-automation-agent strong,
.internal-app-screen .ops-automation-flag strong,
.internal-app-screen .ops-automation-action strong,
.internal-app-screen .ops-automation-empty strong {
  font-size: 14px;
  line-height: 1.25;
}

.internal-app-screen .ops-automation-flag-top,
.internal-app-screen .ops-automation-action-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.internal-app-screen .ops-automation-flags,
.internal-app-screen .ops-automation-actions-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.internal-app-screen .ops-automation-flag.tone-success {
  background: #f3fbef;
  border-color: #cde6c2;
}

.internal-app-screen .ops-automation-flag.tone-warning {
  background: #fffaf0;
  border-color: #ecd9a6;
}

.internal-app-screen .ops-automation-flag.tone-info {
  background: #f0f8ff;
  border-color: #cde4f4;
}

.internal-app-screen .ops-automation-action-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.internal-app-screen .ops-automation-action-badges {
  justify-content: flex-end;
}

.internal-app-screen .ops-automation-action.is-empty,
.internal-app-screen .ops-automation-empty {
  align-content: center;
  background: #f8faf6;
  border-style: dashed;
}

.internal-app-screen .flow-card .ops-automation-inline .internal-status-badge {
  min-height: 25px;
  padding: 4px 8px;
  font-size: 10px;
}

.internal-app-screen .ops-automation-jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.internal-app-screen .ops-automation-job {
  display: grid;
  gap: 7px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e3ebdf;
  border-radius: 10px;
}

.internal-app-screen .ops-automation-job.tone-info {
  background: #f3f9ff;
  border-color: #d2e5f4;
}

.internal-app-screen .ops-automation-job.tone-warning {
  background: #fffaf0;
  border-color: #ecd9a6;
}

.internal-app-screen .ops-automation-job.tone-danger {
  background: #fff4f3;
  border-color: #efcaca;
}

.internal-app-screen .ops-automation-job-top,
.internal-app-screen .ops-automation-job-badges {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.internal-app-screen .ops-automation-job strong {
  font-size: 14px;
  line-height: 1.25;
}

.internal-app-screen .ops-automation-job p,
.internal-app-screen .ops-automation-decisions p {
  margin: 0;
  color: #5a6658;
  font-size: 12px;
  line-height: 1.45;
}

.internal-app-screen .ops-automation-job small,
.internal-app-screen .ops-automation-decisions small {
  color: #6a7568;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
}

.internal-app-screen .ops-automation-job small.is-error {
  color: #7c1f1f;
}

.internal-app-screen .ops-automation-job-ai {
  display: grid;
  gap: 6px;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid #dbe7d2;
  background: #f8fcf4;
}

.internal-app-screen .ops-automation-job-ai.tone-warning {
  background: #fff8ea;
  border-color: #ecd7a3;
}

.internal-app-screen .ops-automation-job-ai.tone-danger {
  background: #fff3f1;
  border-color: #efcaca;
}

.internal-app-screen .ops-automation-job-ai-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.internal-app-screen .ops-automation-job-ai p,
.internal-app-screen .ops-automation-job-ai small {
  margin: 0;
}

.internal-app-screen .ops-automation-decisions {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.internal-app-screen .ops-automation-decisions li {
  display: grid;
  gap: 7px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e3ebdf;
  border-radius: 10px;
}

.internal-app-screen .ops-automation-decisions li.is-empty {
  color: #5d675d;
  background: #f8faf6;
  border-style: dashed;
}

.internal-app-screen .agent-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
  align-items: start;
}

.internal-app-screen .agent-lane {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid #dfe8dc;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(27, 41, 29, 0.045);
}

.internal-app-screen .agent-lane.tone-success {
  background: linear-gradient(180deg, #f7fcf3 0%, #ffffff 28%);
}

.internal-app-screen .agent-lane.tone-warning {
  background: linear-gradient(180deg, #fffaf0 0%, #ffffff 28%);
}

.internal-app-screen .agent-lane.tone-danger {
  background: linear-gradient(180deg, #fff5f4 0%, #ffffff 28%);
}

.internal-app-screen .agent-lane-header,
.internal-app-screen .agent-lane-list {
  display: grid;
  gap: 10px;
}

.internal-app-screen .agent-lane-identity {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.internal-app-screen .agent-lane-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #4f5c4f;
  background: #f3f7f0;
  border: 1px solid #deead9;
  border-radius: 12px;
}

.internal-app-screen .agent-lane-icon .icon {
  width: 18px;
  height: 18px;
}

.internal-app-screen .agent-lane-icon.tone-success {
  color: var(--ops-green-900);
  background: var(--ops-green-100);
  border-color: #bee4b4;
}

.internal-app-screen .agent-lane-icon.tone-warning {
  color: var(--ops-amber-900);
  background: var(--ops-amber-100);
  border-color: #ecd9a6;
}

.internal-app-screen .agent-lane-icon.tone-danger {
  color: var(--ops-red-900);
  background: var(--ops-red-100);
  border-color: #efcaca;
}

.internal-app-screen .agent-lane-identity div {
  display: grid;
  gap: 4px;
}

.internal-app-screen .agent-lane-kicker {
  color: #6c766a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.internal-app-screen .agent-lane-identity strong {
  font-size: 16px;
  line-height: 1.15;
}

.internal-app-screen .agent-lane-identity p,
.internal-app-screen .agent-empty p,
.internal-app-screen .agent-ticket-copy {
  margin: 0;
  color: #5c675b;
  font-size: 12px;
  line-height: 1.45;
}

.internal-app-screen .agent-lane-badges,
.internal-app-screen .agent-ticket-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.internal-app-screen .agent-lane-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.internal-app-screen .agent-lane-metric {
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 10px;
  background: #fbfcfa;
  border: 1px solid #e4ece1;
  border-radius: 10px;
}

.internal-app-screen .agent-lane-metric span,
.internal-app-screen .agent-ticket-footer small,
.internal-app-screen .agent-ticket-top small {
  color: #6c766a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.internal-app-screen .agent-lane-metric strong {
  font-size: 13px;
  line-height: 1.35;
}

.internal-app-screen .agent-lane-playbook {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  background: #f8fbf6;
  border: 1px solid #e2ebdd;
  border-radius: 12px;
}

.internal-app-screen .agent-playbook-label {
  color: #63705f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.internal-app-screen .agent-playbook-grid {
  display: grid;
  gap: 8px;
}

.internal-app-screen .agent-test-case {
  display: grid;
  gap: 5px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e1e9dd;
  border-radius: 10px;
}

.internal-app-screen .agent-test-case strong {
  font-size: 13px;
  line-height: 1.3;
}

.internal-app-screen .agent-test-case p,
.internal-app-screen .agent-playbook-empty,
.internal-app-screen .agent-test-case small {
  margin: 0;
  color: #5d685b;
  font-size: 11px;
  line-height: 1.45;
}

.internal-app-screen .agent-ticket,
.internal-app-screen .agent-empty {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e3ebdf;
  border-radius: 12px;
}

.internal-app-screen .agent-ticket {
  cursor: pointer;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.internal-app-screen .agent-ticket:hover {
  transform: translateY(-2px);
  border-color: #c9dbc2;
  box-shadow: 0 14px 28px rgba(27, 41, 29, 0.075);
}

.internal-app-screen .agent-ticket.state-active {
  background: #f5fbf1;
  border-color: #cee5c4;
}

.internal-app-screen .agent-ticket.state-queued {
  background: #fffaf2;
  border-color: #ecd9a6;
}

.internal-app-screen .agent-ticket.state-blocked {
  background: #fff4f3;
  border-color: #efcaca;
}

.internal-app-screen .agent-ticket-top,
.internal-app-screen .agent-ticket-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.internal-app-screen .agent-ticket-top div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.internal-app-screen .agent-ticket-top strong {
  font-size: 14px;
  line-height: 1.2;
}

.internal-app-screen .agent-empty {
  align-content: center;
  min-height: 180px;
  background: #f8faf6;
  border-style: dashed;
}

.internal-app-screen .agent-empty strong {
  font-size: 14px;
}

.internal-app-screen .customer-inventory-row {
  min-height: 84px;
}

.internal-app-screen .customer-inventory-cell {
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.internal-app-screen .customer-inventory-cell > .icon {
  width: 30px;
  height: 30px;
  padding: 7px;
  color: #607060;
  background: #f4f7f1;
  border: 1px solid #e2eadf;
  border-radius: 8px;
}

.internal-app-screen .customer-inventory-cell.identity {
  grid-template-columns: 40px minmax(0, 1fr);
}

.internal-app-screen .customer-inventory-cell.identity > .icon {
  display: none;
}

.internal-app-screen .customer-state {
  min-height: 30px;
  padding: 0 10px;
  font-weight: 900;
}

.internal-app-screen .section-heading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.internal-app-screen .section-heading .icon {
  width: 26px;
  height: 26px;
  padding: 6px;
  color: var(--ops-green-900);
  background: var(--ops-green-100);
  border: 1px solid #bee4b4;
  border-radius: 8px;
}

.internal-app-screen .order-modal,
.internal-app-screen .sales-modal {
  gap: 16px;
}

.internal-app-screen .order-modal .ops-detail-group,
.internal-app-screen .sales-section,
.internal-app-screen .sales-next-step {
  box-shadow: 0 10px 20px rgba(27, 41, 29, 0.035);
}

.internal-app-screen .sales-metrics .customer-inventory-cell,
.internal-app-screen .sales-contact-grid .customer-inventory-cell {
  grid-template-columns: 32px minmax(0, 1fr);
}

.internal-app-screen .sales-order-row {
  min-height: 64px;
}

@media (max-width: 760px) {
  .internal-app-screen .internal-stat-card,
  .internal-app-screen .customer-inventory-cell,
  .internal-app-screen .ops-automation-summary,
  .internal-app-screen .ops-automation-agent-grid,
  .internal-app-screen .ops-automation-flags,
  .internal-app-screen .ops-automation-actions-grid,
  .internal-app-screen .ops-automation-jobs-grid,
  .internal-app-screen .agent-lane-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .internal-app-screen .stat-icon,
  .internal-app-screen .customer-inventory-cell > .icon {
    display: none;
  }
}

/* Production flow board */
.internal-app-screen .flow-board {
  display: grid;
  gap: 14px;
}

.internal-app-screen .flow-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.internal-app-screen .flow-rail-step {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dfe8dc;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(27, 41, 29, 0.04);
}

.internal-app-screen .flow-rail-step i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background: #9ba69a;
}

.internal-app-screen .flow-rail-icon,
.internal-app-screen .flow-column-icon,
.internal-app-screen .flow-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475247;
  background: #f4f7f1;
  border: 1px solid #e2eadf;
  border-radius: 8px;
}

.internal-app-screen .flow-rail-icon {
  width: 36px;
  height: 36px;
}

.internal-app-screen .flow-rail-icon .icon,
.internal-app-screen .flow-column-icon .icon {
  width: 18px;
  height: 18px;
}

.internal-app-screen .flow-rail-step > span:not(.flow-rail-icon) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.internal-app-screen .flow-rail-step strong {
  font-size: 13px;
}

.internal-app-screen .flow-rail-step small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.internal-app-screen .flow-rail-step.warning i,
.internal-app-screen .flow-column.warning::before {
  background: #f0b429;
}

.internal-app-screen .flow-rail-step.info i,
.internal-app-screen .flow-column.info::before {
  background: #2f93c8;
}

.internal-app-screen .flow-rail-step.success i,
.internal-app-screen .flow-column.success::before {
  background: var(--brand);
}

.internal-app-screen .flow-rail-step.danger i,
.internal-app-screen .flow-column.danger::before {
  background: var(--danger);
}

.internal-app-screen .flow-rail-step.warning .flow-rail-icon,
.internal-app-screen .flow-column.warning .flow-column-icon,
.internal-app-screen .flow-card.warning .flow-card-icon {
  color: var(--ops-amber-900);
  background: var(--ops-amber-100);
  border-color: #efd884;
}

.internal-app-screen .flow-rail-step.info .flow-rail-icon,
.internal-app-screen .flow-column.info .flow-column-icon,
.internal-app-screen .flow-card.info .flow-card-icon {
  color: var(--ops-blue-900);
  background: var(--ops-blue-100);
  border-color: #a9d8f2;
}

.internal-app-screen .flow-rail-step.success .flow-rail-icon,
.internal-app-screen .flow-column.success .flow-column-icon,
.internal-app-screen .flow-card.success .flow-card-icon {
  color: var(--ops-green-900);
  background: var(--ops-green-100);
  border-color: #b4dfa7;
}

.internal-app-screen .flow-rail-step.danger .flow-rail-icon,
.internal-app-screen .flow-column.danger .flow-column-icon,
.internal-app-screen .flow-card.danger .flow-card-icon {
  color: var(--ops-red-900);
  background: var(--ops-red-100);
  border-color: #efc6c6;
}

.internal-app-screen .internal-kanban.ops-kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(260px, 1fr));
  gap: 12px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 6px;
}

.internal-app-screen .flow-column {
  position: relative;
  align-content: start;
  min-height: 420px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #dfe8dc;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(27, 41, 29, 0.055);
}

.internal-app-screen .flow-column::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 4px;
  background: #9ba69a;
  border-radius: 0 0 99px 99px;
}

.internal-app-screen .flow-column-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 2px 10px;
}

.internal-app-screen .flow-column-header > div {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
}

.internal-app-screen .flow-column-icon {
  width: 38px;
  height: 38px;
}

.internal-app-screen .flow-column-header span:not(.flow-column-icon) {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.internal-app-screen .flow-column-header h3 {
  margin: 0;
  font-size: 18px;
}

.internal-app-screen .flow-column-header small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.internal-app-screen .flow-column-header b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  color: var(--ops-green-900);
  background: var(--ops-green-100);
  border: 1px solid #b4dfa7;
  border-radius: 999px;
  font-size: 14px;
}

.internal-app-screen .flow-column-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 36px;
  padding: 8px 10px;
  color: #526052;
  background: #f6f9f3;
  border: 1px solid #e2eadf;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.internal-app-screen .flow-column-meta strong {
  color: #142016;
  font-size: 12px;
}

.internal-app-screen .flow-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  min-height: 138px;
  padding: 20px;
  color: #687368;
  text-align: center;
  background: #f8faf6;
  border: 1px dashed #d8e3d3;
  border-radius: 10px;
}

.internal-app-screen .flow-empty .icon {
  width: 28px;
  height: 28px;
  color: #8b978b;
}

.internal-app-screen .flow-empty strong {
  font-size: 13px;
}

.internal-app-screen .flow-empty small {
  font-size: 11px;
}

.internal-app-screen .flow-card {
  gap: 11px;
  padding: 12px;
  border-color: #dde8d8;
  box-shadow: 0 10px 20px rgba(27, 41, 29, 0.045);
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.internal-app-screen .flow-card:hover {
  transform: translateY(-2px);
  border-color: #c7dbc0;
  box-shadow: 0 16px 28px rgba(27, 41, 29, 0.075);
}

.internal-app-screen .flow-card .internal-tracking-header {
  align-items: flex-start;
}

.internal-app-screen .flow-card .internal-tracking-header div {
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 3px 8px;
  align-items: center;
}

.internal-app-screen .flow-card-icon {
  grid-row: 1 / span 2;
  width: 32px;
  height: 32px;
}

.internal-app-screen .flow-card-icon .icon {
  width: 16px;
  height: 16px;
}

.internal-app-screen .flow-card .internal-tracking-header strong {
  font-size: 13px;
}

.internal-app-screen .flow-card .internal-tracking-header span:not(.internal-status-badge) {
  font-size: 11px;
}

.internal-app-screen .flow-card .internal-tracking-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.internal-app-screen .flow-card .internal-tracking-details span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.internal-app-screen .flow-card .internal-tracking-details .icon {
  width: 15px;
  height: 15px;
  color: #6a7569;
}

.internal-app-screen .flow-mini-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.internal-app-screen .flow-mini-checklist span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 5px 8px;
  color: #6a4b00;
  background: #fff7df;
  border: 1px solid #efd884;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
}

.internal-app-screen .flow-mini-checklist span.is-done {
  color: var(--ops-green-900);
  background: var(--ops-green-100);
  border-color: #b4dfa7;
}

.internal-app-screen .flow-mini-checklist .icon {
  width: 12px;
  height: 12px;
}

.internal-app-screen .flow-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 2px;
}

  .internal-app-screen .flow-card-footer > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

@media (max-width: 1180px) {
  .internal-app-screen .ops-automation-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .internal-app-screen .agent-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .internal-app-screen .flow-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .internal-app-screen .flow-rail {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .internal-kanban.ops-kanban {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .internal-app-screen .flow-column {
    min-height: 0;
  }
}

/* Clean operations UI: lighter visual weight for art and coordinator panels */
.internal-app-screen {
  --ops-bg: #f6f8f5;
  --ops-surface: #ffffff;
  --ops-surface-soft: #fbfcfa;
  --ops-line: #e8eee5;
  --ops-line-strong: #dbe5d7;
  --ops-text: #182018;
  --ops-muted: #6d766d;
  --ops-shadow-soft: 0 8px 22px rgba(22, 36, 24, 0.035);
  --ops-shadow-hover: 0 12px 26px rgba(22, 36, 24, 0.055);
  color: var(--ops-text);
  background: var(--ops-bg);
}

.internal-app-screen .ops-app {
  grid-template-columns: 248px minmax(0, 1fr);
}

.internal-app-screen .ops-sidebar {
  padding: 18px 14px;
  background: #ffffff;
  border-right: 1px solid var(--ops-line);
}

.internal-app-screen .ops-sidebar-brand {
  padding: 0 2px 14px;
  border-bottom-color: var(--ops-line);
}

.internal-app-screen .ops-sidebar-brand img {
  width: 96px;
}

.internal-app-screen .ops-sidebar-brand span {
  color: #738071;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.internal-app-screen .ops-user-card {
  min-height: 0;
  padding: 12px;
  background: #f7faf5;
  border-color: var(--ops-line);
  box-shadow: none;
}

.internal-app-screen .ops-user-card span,
.internal-app-screen .ops-toolbar span,
.internal-app-screen .internal-stat-card span,
.internal-app-screen .internal-panel-header span,
.internal-app-screen .customer-inventory-header {
  color: #768073;
  font-weight: 800;
}

.internal-app-screen .ops-nav-button {
  min-height: 50px;
  padding: 10px 10px 10px 12px;
  border-color: transparent;
  border-radius: 6px;
}

.internal-app-screen .ops-nav-button::before {
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 2px;
}

.internal-app-screen .ops-nav-button .nav-icon {
  width: 30px;
  height: 30px;
  padding: 7px;
  background: transparent;
  border-color: transparent;
}

.internal-app-screen .ops-nav-button:hover {
  background: #f6f8f4;
  border-color: transparent;
}

.internal-app-screen .ops-nav-button.is-active {
  background: #f1f8ed;
  border-color: transparent;
}

.internal-app-screen .ops-nav-button span {
  font-size: 14px;
  font-weight: 800;
}

.internal-app-screen .ops-nav-button small {
  color: #7a8578;
  font-size: 11px;
  font-weight: 600;
}

.internal-app-screen .ops-workspace {
  gap: 14px;
  padding: 18px 22px 26px;
}

.internal-app-screen .ops-toolbar {
  min-height: 78px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--ops-line);
  box-shadow: none;
}

.internal-app-screen .ops-toolbar h2 {
  font-size: clamp(25px, 2vw, 32px);
  line-height: 1.05;
}

.internal-app-screen .ops-toolbar p {
  color: var(--ops-muted);
  font-size: 13px;
  font-weight: 500;
}

.internal-app-screen .ops-toolbar-actions {
  grid-template-columns: minmax(260px, 420px) minmax(180px, 240px) auto;
}

.internal-app-screen .ops-search input,
.internal-app-screen .ops-toolbar select,
.internal-app-screen .ops-form-field input,
.internal-app-screen .ops-form-field select,
.internal-app-screen .ops-form-field textarea {
  min-height: 40px;
  background: #ffffff;
  border-color: var(--ops-line-strong);
  box-shadow: none;
}

.internal-app-screen .ops-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.internal-app-screen .internal-stat-card {
  min-height: 82px;
  padding: 13px 14px;
  background: transparent;
  border: 1px solid var(--ops-line);
  box-shadow: none;
}

.internal-app-screen .internal-stat-card::after {
  display: none;
}

.internal-app-screen .internal-stat-card strong {
  font-size: clamp(19px, 1.8vw, 24px);
}

.internal-app-screen .internal-stat-card small {
  color: #747d72;
  font-weight: 500;
}

.internal-app-screen .stat-icon {
  width: 34px;
  height: 34px;
  background: #ffffff;
  border-color: var(--ops-line);
}

.internal-app-screen .ops-task-section,
.internal-app-screen .internal-customer-card,
.internal-app-screen .internal-kanban-column,
.internal-app-screen .internal-tracking-card,
.internal-app-screen .ops-dialog-panel,
.internal-app-screen .customer-inventory {
  background: var(--ops-surface);
  border-color: var(--ops-line);
  box-shadow: var(--ops-shadow-soft);
}

.internal-app-screen .ops-task-section {
  padding: 0;
  overflow: hidden;
}

.internal-app-screen .ops-task-section .internal-panel-header {
  align-items: center;
  padding: 14px 16px;
  border-bottom-color: var(--ops-line);
}

.internal-app-screen .ops-task-section .internal-panel-header h3 {
  font-size: 17px;
  font-weight: 800;
}

.internal-app-screen .ops-task-section .internal-panel-header p {
  font-size: 12px;
  font-weight: 500;
}

.internal-app-screen .ops-task-section .internal-panel-header span {
  min-width: 0;
  padding: 0;
  color: var(--brand-dark);
  background: transparent;
  border: 0;
  font-size: 12px;
}

.internal-app-screen .ops-row-list {
  gap: 0;
}

.internal-app-screen .ops-order-row {
  gap: 12px;
  padding: 13px 16px;
  background: #ffffff;
  border: 0;
  border-top: 1px solid var(--ops-line);
  border-radius: 0;
  box-shadow: none;
}

.internal-app-screen .ops-order-row:first-child {
  border-top: 0;
}

.internal-app-screen .ops-order-row::before {
  width: 2px;
  opacity: 0.8;
}

.internal-app-screen .ops-order-row.tone-warning,
.internal-app-screen .ops-order-row.tone-info,
.internal-app-screen .ops-order-row.tone-success {
  background: #ffffff;
}

.internal-app-screen .ops-order-row:hover {
  background: #fbfdf9;
  border-color: var(--ops-line);
  box-shadow: none;
  transform: none;
}

.internal-app-screen .ops-order-row.is-selected {
  background: #f6fbf3;
  border-color: var(--ops-line);
  box-shadow: inset 2px 0 0 var(--brand);
}

.internal-app-screen .ops-order-main {
  grid-template-columns: minmax(0, 1fr) minmax(170px, auto);
}

.internal-app-screen .ops-order-main strong {
  font-size: 14px;
  font-weight: 800;
}

.internal-app-screen .ops-order-inline {
  gap: 5px;
  margin: 0 0 0 4px;
}

.internal-app-screen .ops-order-inline .ops-pill,
.internal-app-screen .ops-order-inline span,
.internal-app-screen .internal-status-badge,
.internal-app-screen .customer-state,
.internal-app-screen .internal-chip {
  min-height: 24px;
  padding: 5px 8px;
  background: #f7f9f5;
  border-color: transparent;
  font-size: 10.5px;
  font-weight: 800;
}

.internal-app-screen .ops-order-inline .ops-pill .icon {
  width: 12px;
  height: 12px;
}

.internal-app-screen .primary-cta.compact,
.internal-app-screen .secondary-cta.compact,
.internal-app-screen .icon-copy {
  min-height: 34px;
  border-radius: 6px;
  box-shadow: none;
}

.internal-app-screen .primary-cta {
  box-shadow: none;
}

.internal-app-screen .secondary-cta {
  border-color: var(--ops-line-strong);
}

.internal-app-screen .customer-inventory {
  border-radius: 8px;
  box-shadow: none;
}

.internal-app-screen .customer-inventory-header,
.internal-app-screen .customer-inventory-row {
  grid-template-columns: minmax(230px, 1.4fr) minmax(180px, 1fr) minmax(170px, 1fr) 94px minmax(128px, 0.8fr) 124px minmax(130px, 0.8fr) 96px;
}

.internal-app-screen .customer-inventory-header {
  top: 86px;
  min-height: 38px;
  padding: 0 12px;
  background: #f8faf6;
  border-bottom-color: var(--ops-line);
}

.internal-app-screen .customer-inventory-row {
  min-height: 68px;
  padding: 10px 12px;
  border-bottom-color: var(--ops-line);
}

.internal-app-screen .customer-inventory-row:hover {
  background: #fbfdf9;
  box-shadow: inset 2px 0 0 #bddfb3;
}

.internal-app-screen .customer-inventory-row.is-selected {
  background: #f6fbf3;
  box-shadow: inset 2px 0 0 var(--brand);
}

.internal-app-screen .customer-avatar {
  width: 34px;
  height: 34px;
  color: #2a5d23;
  background: #f0f7ec;
  border-color: transparent;
}

.internal-app-screen .customer-inventory-cell > .icon,
.internal-app-screen .section-heading .icon,
.internal-app-screen .flow-rail-icon,
.internal-app-screen .flow-column-icon,
.internal-app-screen .flow-card-icon {
  background: #f7f9f5;
  border-color: transparent;
}

.internal-app-screen .ops-dialog {
  padding: 18px;
}

.internal-app-screen .ops-dialog.order-dialog,
.internal-app-screen .ops-dialog.sales-dialog {
  width: min(1040px, calc(100% - 28px));
}

.internal-app-screen .ops-dialog-panel {
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(18, 28, 20, 0.18);
}

.internal-app-screen .order-modal-hero,
.internal-app-screen .sales-hero {
  background: #f7fbf5;
  border-color: var(--ops-line);
}

.internal-app-screen .order-modal-hero strong,
.internal-app-screen .sales-hero strong {
  font-size: clamp(20px, 2.3vw, 28px);
}

.internal-app-screen .order-modal .ops-detail-group,
.internal-app-screen .sales-section,
.internal-app-screen .sales-next-step,
.internal-app-screen .sales-metrics .customer-inventory-cell,
.internal-app-screen .sales-contact-grid .customer-inventory-cell,
.internal-app-screen .sales-order-row {
  border-color: var(--ops-line);
  box-shadow: none;
}

.internal-app-screen .sales-next-step,
.internal-app-screen .customer-next-step {
  background: #fffaf0;
}

.internal-app-screen .flow-board {
  gap: 12px;
}

.internal-app-screen .flow-rail {
  gap: 8px;
}

.internal-app-screen .flow-rail-step,
.internal-app-screen .flow-column {
  background: #ffffff;
  border-color: var(--ops-line);
  box-shadow: none;
}

.internal-app-screen .flow-column {
  padding: 12px;
}

.internal-app-screen .flow-column::before {
  height: 2px;
}

.internal-app-screen .flow-column-meta {
  background: #fafbf8;
  border-color: transparent;
}

.internal-app-screen .flow-card {
  border-color: var(--ops-line);
  box-shadow: none;
}

.internal-app-screen .flow-card:hover {
  transform: none;
  border-color: var(--ops-line-strong);
  box-shadow: var(--ops-shadow-hover);
}

.internal-app-screen .flow-mini-checklist span {
  background: #fffaf0;
  border-color: transparent;
}

.internal-app-screen .flow-mini-checklist span.is-done {
  background: #f0f8ec;
  border-color: transparent;
}

@media (max-width: 1120px) {
  .internal-app-screen .ops-app {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .ops-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--ops-line);
  }

  .internal-app-screen .ops-toolbar-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .internal-app-screen .ops-workspace {
    padding: 14px;
  }

  .internal-app-screen .ops-toolbar {
    position: static;
    min-height: 0;
  }

  .internal-app-screen .ops-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .internal-app-screen .ops-order-row {
    border: 1px solid var(--ops-line);
    border-radius: 8px;
  }

  .internal-app-screen .ops-order-main {
    grid-template-columns: 1fr;
  }
}

/* Inventory and flow refinements after visual QA */
.internal-app-screen .customer-inventory-header {
  position: static;
  top: auto;
}

.internal-app-screen .customer-inventory-cell > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.internal-app-screen .customer-inventory-cell strong,
.internal-app-screen .customer-inventory-cell small {
  display: block;
}

.internal-app-screen .customer-inventory-cell.pending {
  grid-template-columns: 1fr;
  gap: 3px;
}

.internal-app-screen .customer-inventory-cell.pending .customer-state {
  justify-self: start;
}

.internal-app-screen .customer-inventory-row {
  align-items: center;
}

.internal-app-screen .internal-kanban.ops-kanban {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  overflow-x: visible;
}

.internal-app-screen .flow-rail {
  grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
}

.internal-app-screen .flow-column {
  min-width: 0;
}

@media (max-width: 760px) {
  .internal-app-screen .customer-inventory-cell,
  .internal-app-screen .customer-inventory-cell.metric,
  .internal-app-screen .customer-inventory-cell.pending {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .internal-app-screen .customer-inventory-cell.pending::before {
    content: "";
    width: 30px;
    height: 30px;
  }
}

/* Mobile-first hardening for the complete customer purchase journey */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

@media (max-width: 760px) {
  body,
  .site-header,
  .registration-landing,
  .campaign-entry,
  .app-module,
  .product-shell,
  .gallery-area,
  .gallery-tab-panel,
  .checkout-stage,
  .checkout-stage-body,
  .checkout-form,
  .checkout-section {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  img,
  svg,
  video,
  canvas,
  iframe {
    max-width: 100%;
  }

  .navbar {
    width: 100%;
    gap: 8px;
    padding: 10px 12px;
  }

  .brand {
    min-width: 0;
    gap: 6px;
  }

  .brand-logo {
    width: min(118px, 34vw);
    height: auto;
    max-height: 32px;
  }

  .brand-product-name {
    flex: 0 0 auto;
    font-size: 0.5rem;
    letter-spacing: 0.08em;
  }

  .nav-cta,
  .cart-button {
    flex: 0 1 142px;
    min-width: 0;
    max-width: 142px;
  }

  .nav-cta-art,
  .cart-button-art {
    width: 100%;
    height: auto;
    max-height: 38px;
    object-fit: contain;
  }

  .cart-button--svg::before {
    right: 18px;
    left: 34px;
  }

  .cart-copy {
    left: 48px;
    right: 28px;
  }

  .cart-button strong {
    right: 7px;
  }

  .registration-landing {
    padding: 16px 14px 28px;
  }

  .campaign-entry {
    gap: 20px;
    padding: 8px 0 16px;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    justify-items: stretch;
  }

  .hero-copy h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(29px, 9.5vw, 38px);
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero-copy h1 .hero-title-primary,
  .hero-copy h1 .hero-title-accent {
    max-width: 100%;
    white-space: normal;
  }

  .hero-lead,
  .hero-trust {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-benefits {
    width: 100%;
    max-width: 100%;
    gap: 0;
  }

  .hero-benefits article {
    min-width: 0;
    min-height: 82px;
    padding: 10px 8px;
  }

  .hero-benefits strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .landing-cta {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 54px;
    gap: 10px;
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
  }

  .hero-visual,
  .hero-bag-frame {
    width: 100%;
    max-width: 100%;
  }

  .hero-bag-frame {
    left: 50%;
  }

  .hero-seal {
    right: 2%;
  }

  .site-footer {
    position: static;
    width: 100%;
    margin-top: 12px;
    padding: 16px 4px 4px;
  }

  .registration-form-open .login-card {
    left: 12px;
    top: 12px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
    padding: 22px 18px;
    transform: none;
  }

  .login-card h2 {
    max-width: 100%;
    font-size: 24px;
    line-height: 1.05;
  }

  .login-field input,
  .login-field select {
    min-width: 0;
    font-size: 16px;
  }

  .journey-header-shell {
    padding: 0 12px;
  }

  .journey-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .journey-step {
    min-width: 0;
    min-height: 64px;
    padding: 10px 8px;
    text-align: center;
    border-radius: 14px;
  }

  .journey-step span {
    position: static;
    display: block;
    margin: 0 0 2px;
    font-size: 11px;
    line-height: 1;
    opacity: 0.75;
  }

  .journey-step strong {
    margin: 0;
    font-size: 12px;
    line-height: 1.15;
  }

  .journey-step small {
    display: none;
  }

  .product-shell {
    padding: 12px;
  }

  .gallery-area,
  .buy-panel,
  .product-profile,
  .checkout-stage,
  .checkout-section {
    min-width: 0;
    border-radius: 18px;
  }

  .buy-panel,
  .product-profile,
  .checkout-section {
    padding: 16px;
  }

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

  .gallery-tab {
    width: 100%;
    min-width: 0;
  }

  .mockup-workbar {
    gap: 12px;
    padding: 14px;
  }

  .mockup-workbar-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mockup-workbar-actions > *,
  .mockup-submit-order,
  .mockup-back-step {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .mockup-embed-module,
  .mockup-embed-frame,
  .product-shell.is-mockup-workspace .mockup-embed-module,
  .product-shell.is-mockup-workspace .mockup-embed-frame {
    width: 100%;
    min-width: 0;
    min-height: 920px;
    border-radius: 16px;
  }

  .checkout-stage {
    padding: 16px 12px;
  }

  .checkout-stage-header h2 {
    font-size: 25px;
    line-height: 1.08;
  }

  .checkout-stage-body,
  .checkout-grid,
  .checkout-buyer-grid,
  .checkout-delivery-grid,
  .checkout-associated-grid,
  .checkout-documents-actions-row,
  .checkout-footer,
  .associate-contact-card header {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-grid > *,
  .checkout-grid .span-2,
  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea,
  .checkout-documents-actions-row > *,
  .checkout-footer > * {
    grid-column: auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .checkout-form input,
  .checkout-form select,
  .checkout-form textarea {
    font-size: 16px;
  }

  .checkout-form-intro,
  .checkout-step-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .checkout-form-intro > span {
    align-self: flex-start;
  }

  .checkout-step-progress {
    gap: 5px;
    padding: 5px;
  }

  .checkout-step-progress button {
    display: flex;
    justify-content: center;
    min-height: 46px;
    padding: 7px 4px;
  }

  .checkout-step-progress button > span {
    width: 28px;
    height: 28px;
  }

  .checkout-step-progress button strong,
  .checkout-step-progress button small {
    display: none;
  }

  .checkout-section-header {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .checkout-section-toggle {
    grid-column: 1 / -1;
    width: 100%;
  }

  .checkout-step-actions .primary-cta {
    width: 100%;
  }

  .checkout-payment-provider,
  .associate-contact-card header {
    align-items: stretch;
    flex-direction: column;
  }

  .associate-contact-card header button {
    width: 100%;
  }

  .checkout-stage-summary {
    order: 2;
  }

  .art-approval-modal.open,
  .payment-confirm-modal.open {
    align-items: flex-start;
    padding: 10px;
    overflow-y: auto;
  }

  .art-approval-panel,
  .payment-confirm-panel {
    width: 100%;
    max-width: 100%;
    max-height: none;
    margin: auto 0;
    padding: 18px 15px;
  }

  .art-approval-panel h2,
  .payment-confirm-panel h2 {
    padding-right: 38px;
    font-size: 23px;
    line-height: 1.08;
  }

  .art-approval-checklist,
  .art-approval-actions,
  .payment-confirm-grid,
  .payment-confirm-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .art-approval-recaptcha {
    max-width: 100%;
    overflow-x: auto;
  }

  .mobile-buybar {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    width: auto;
    max-width: calc(100vw - 20px);
    border-radius: 18px;
  }

  body:has(.app-module:not([data-flow-step="select"])) .mobile-buybar {
    display: none;
  }

  body.journey-started .assistant-widget {
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  body.journey-started:has(.app-module[data-flow-step="select"]) .assistant-widget {
    bottom: calc(86px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .brand-logo {
    width: min(108px, 32vw);
  }

  .brand-product-name {
    display: none;
  }

  .nav-cta,
  .cart-button {
    max-width: 132px;
  }

  .hero-copy h1 {
    font-size: clamp(27px, 9vw, 34px);
  }

  .hero-benefits strong {
    font-size: 10px;
  }

  .journey-step {
    padding-inline: 5px;
  }

  .journey-step strong {
    font-size: 11px;
  }
}

/* Sales modal must not inherit inventory icon columns when cells have no icon */
.internal-app-screen .sales-modal .sales-metrics,
.internal-app-screen .sales-modal .sales-contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.internal-app-screen .sales-modal .customer-inventory-cell,
.internal-app-screen .sales-modal .customer-inventory-cell.metric {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  min-width: 0;
}

.internal-app-screen .sales-modal .customer-inventory-cell > span {
  min-width: 0;
}

.internal-app-screen .sales-modal .customer-inventory-cell strong,
.internal-app-screen .sales-modal .customer-inventory-cell small {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.internal-app-screen .sales-modal .customer-inventory-cell strong {
  font-size: 15px;
  line-height: 1.2;
}

.internal-app-screen .sales-modal .customer-inventory-cell small {
  font-size: 12px;
  line-height: 1.3;
}

/* Artwork handoff briefing for design and coordinator teams */
.internal-app-screen .ops-mockup-brief {
  display: grid;
  gap: 12px;
  padding: 12px;
  background: #fbfdf8;
  border: 1px solid #dfead9;
  border-radius: 8px;
}

.internal-app-screen .ops-mockup-brief header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.internal-app-screen .ops-mockup-brief header div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.internal-app-screen .ops-mockup-brief header .icon {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.internal-app-screen .ops-mockup-brief header strong {
  font-size: 13px;
}

.internal-app-screen .ops-mockup-brief header span {
  padding: 5px 8px;
  color: #2f6f2a;
  background: #eef8e9;
  border: 1px solid #d1e8c8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.internal-app-screen .ops-brief-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.internal-app-screen .ops-brief-meta span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px;
  background: #ffffff;
  border: 1px solid #e1e9dc;
  border-radius: 8px;
}

.internal-app-screen .ops-brief-meta small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.internal-app-screen .ops-brief-meta b {
  font-size: 12px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.internal-app-screen .ops-brief-lines {
  display: grid;
  gap: 7px;
}

.internal-app-screen .ops-brief-lines p {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 9px 10px;
  background: #ffffff;
  border: 1px solid #e4eadf;
  border-radius: 8px;
}

.internal-app-screen .ops-brief-lines p.is-empty {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.internal-app-screen .ops-brief-lines span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.internal-app-screen .ops-brief-lines strong {
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.internal-app-screen .ops-brief-notes {
  display: grid;
  gap: 6px;
}

.internal-app-screen .ops-brief-notes p {
  margin: 0;
  color: #3d4a3f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.artwork-review-brief {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  background: #fbfdf8;
  border: 1px solid #dfead9;
  border-radius: 8px;
}

.artwork-review-brief strong {
  font-size: 14px;
}

.artwork-review-brief span,
.artwork-review-brief p {
  margin: 0;
  color: #4f5b4f;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .internal-app-screen .ops-brief-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .internal-app-screen .ops-mockup-brief header {
    align-items: flex-start;
    flex-direction: column;
  }

  .internal-app-screen .ops-brief-meta {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .ops-brief-lines p {
    grid-template-columns: 1fr;
  }
}

/* Button polish pass */
button,
[role="button"],
.primary-cta,
.secondary-cta,
.nav-cta,
.landing-cta,
.login-submit,
.gallery-tab,
.mockup-submit-order,
.mockup-size-switch button,
.stepper,
.tier-row button,
.icon-button,
.assistant-toggle,
.assistant-actions button,
.assistant-form button,
.checkout-status a,
.internal-file-link,
.tracking-card-header mark,
.artwork-review-actions a {
  border-radius: var(--button-radius);
}

.primary-cta,
.secondary-cta,
.login-submit,
.mockup-submit-order,
.assistant-form button,
.checkout-status .checkout-pay-link,
.internal-app-screen .primary-cta,
.internal-app-screen .secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 52px;
  padding-inline: 22px;
  font-size: 14px;
  font-weight: 780;
  letter-spacing: -0.01em;
  line-height: 1.16;
}

.primary-cta.compact,
.secondary-cta.compact,
.internal-app-screen .primary-cta.compact,
.internal-app-screen .secondary-cta.compact,
.internal-app-screen .icon-copy {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--button-radius-compact);
  font-size: 12px;
  font-weight: 760;
  box-shadow: none;
}

.secondary-cta,
.internal-app-screen .secondary-cta,
.internal-app-screen .secondary-cta.compact,
.internal-app-screen .icon-copy {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
  border: 1px solid #e7d6bf;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 8px 16px rgba(17, 17, 17, 0.035);
}

.secondary-cta:hover,
.internal-app-screen .secondary-cta:hover,
.internal-app-screen .icon-copy:hover {
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f6efe4 100%);
  border-color: #dcc8ac;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 18px rgba(17, 17, 17, 0.05);
}

.flow-next-cta {
  color: #fff;
  background: linear-gradient(135deg, #ffb248 0%, #f08d1d 56%, #db7200 100%);
  border: 1px solid #d27711;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 12px 24px rgba(219, 114, 0, 0.2);
}

.flow-next-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, #ffbb5b 0%, #f49522 56%, #e07802 100%);
  border-color: #ca6c06;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 26px rgba(219, 114, 0, 0.24);
}

.flow-next-cta:focus-visible {
  outline: 3px solid rgba(240, 141, 29, 0.24);
}

.flow-next-cta.is-disabled,
.flow-next-cta:disabled {
  color: #9f927f;
  background: linear-gradient(180deg, #f8f1e8 0%, #f2e7da 100%);
  border-color: #e2d4c3;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.flow-next-cta.is-disabled:hover,
.flow-next-cta:disabled:hover {
  color: #9f927f;
  background: linear-gradient(180deg, #f8f1e8 0%, #f2e7da 100%);
  border-color: #e2d4c3;
  box-shadow: none;
  transform: none;
}

@media (max-width: 1080px) {
  .purchase-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-step {
    min-height: 102px;
    padding: 16px 18px 16px 96px;
  }

  .journey-step span {
    left: -10px;
    font-size: 74px;
  }

  .journey-step strong {
    font-size: 20px;
  }
}

.gallery-tab,
.option-card,
.mockup-size-switch,
.mockup-size-switch button,
.internal-role-select span,
.internal-nav-button,
.internal-app-screen .ops-nav-button {
  border-radius: var(--button-radius-soft);
}

.gallery-tab {
  min-height: 42px;
  padding-inline: 18px;
  box-shadow: 0 8px 18px rgba(24, 33, 31, 0.04);
}

.gallery-tab.is-active {
  box-shadow: inset 0 0 0 1px rgba(63, 170, 51, 0.1), 0 10px 22px rgba(39, 113, 29, 0.06);
}

.mockup-size-switch {
  padding: 5px;
}

.mockup-size-switch button {
  min-height: 44px;
}

.option-card {
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease, transform 140ms ease;
}

.option-card:hover {
  background: #fbfdf8;
  border-color: #c7dfbf;
  transform: translateY(-1px);
}

.customer-chip button {
  min-height: 30px;
  padding: 0 12px;
  border-radius: var(--button-radius);
}

.cart-button,
.mobile-buybar,
.mobile-buybar a {
  border-radius: var(--button-radius);
}

.internal-app-screen .ops-nav-button {
  padding: 12px 14px 12px 16px;
}

.internal-app-screen .ops-nav-button::before {
  border-radius: var(--button-radius);
}

.internal-app-screen .internal-logout {
  border-radius: var(--button-radius);
}

.internal-app-screen .customer-inventory-actions .primary-cta.compact,
.internal-app-screen .sales-actions .primary-cta.compact,
.internal-app-screen .sales-actions .secondary-cta.compact,
.internal-app-screen .ops-detail-actions .primary-cta.compact,
.internal-app-screen .ops-detail-actions .secondary-cta.compact,
.internal-app-screen .order-modal-actions .primary-cta.compact,
.internal-app-screen .order-modal-actions .secondary-cta.compact {
  min-height: 38px;
  padding-inline: 16px;
  border-radius: var(--button-radius);
}

.internal-app-screen .customer-inventory-actions .primary-cta.compact {
  min-width: 92px;
}

.internal-app-screen .ops-dialog-panel footer .primary-cta,
.internal-app-screen .ops-dialog-panel footer .secondary-cta,
.internal-app-screen .ops-dialog-panel footer .icon-button {
  border-radius: var(--button-radius);
}

/* Admin clarity pass: simpler board, visible side summary and lighter detail reading */
.internal-app-screen .ops-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.internal-app-screen .ops-search {
  flex: 1 1 280px;
  min-width: 260px;
}

.internal-app-screen #statusFilter {
  min-width: 200px;
}

.internal-app-screen .ops-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.internal-app-screen .ops-layout {
  grid-template-columns: minmax(0, 1fr) minmax(370px, 430px);
  gap: 16px;
  align-items: start;
}

.internal-app-screen .ops-board {
  min-width: 0;
}

.internal-app-screen .ops-detail {
  display: grid;
  position: sticky;
  top: 92px;
  gap: 12px;
  max-height: calc(100vh - 112px);
  padding: 16px;
  overflow: auto;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--ops-line);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(22, 36, 24, 0.06);
}

.internal-app-screen .ops-detail-header {
  position: static;
  margin: 0;
  padding: 0 0 10px;
  background: transparent;
  border-bottom: 1px solid var(--ops-line);
  border-radius: 0;
  backdrop-filter: none;
}

.internal-app-screen .ops-detail-header div {
  gap: 5px;
}

.internal-app-screen .ops-detail-header strong {
  font-size: 21px;
  line-height: 1.05;
}

.internal-app-screen .ops-detail-header small {
  color: var(--ops-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.internal-app-screen .ops-detail-actions {
  gap: 8px;
  padding: 0;
  border-bottom: 0;
}

.internal-app-screen .ops-detail-actions .primary-cta.compact,
.internal-app-screen .ops-detail-actions .secondary-cta.compact {
  flex: 1 1 0;
  justify-content: center;
}

.internal-app-screen .ops-console-note {
  padding: 10px 12px;
  color: #556253;
  background: #f8faf7;
  border-color: #e2eadf;
  font-size: 11.5px;
  font-weight: 700;
}

.internal-app-screen .ops-workbench {
  gap: 14px;
}

.internal-app-screen .ops-workbench-hero {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.internal-app-screen .ops-focus-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--ops-line);
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(22, 36, 24, 0.04);
}

.internal-app-screen .ops-focus-card.tone-warning {
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
  border-color: #eadcad;
}

.internal-app-screen .ops-focus-card.tone-info {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-color: #d9e7f3;
}

.internal-app-screen .ops-focus-card.tone-success {
  background: linear-gradient(180deg, #f7fbf4 0%, #ffffff 100%);
  border-color: #d7e8d1;
}

.internal-app-screen .ops-focus-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.internal-app-screen .ops-focus-top div {
  display: grid;
  gap: 4px;
}

.internal-app-screen .ops-focus-top span {
  color: #6f796d;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.internal-app-screen .ops-focus-top strong {
  font-size: 22px;
  line-height: 1;
}

.internal-app-screen .ops-focus-card p,
.internal-app-screen .ops-focus-card small {
  margin: 0;
  color: #5d675b;
  line-height: 1.45;
}

.internal-app-screen .ops-focus-card p {
  font-size: 13px;
  font-weight: 700;
}

.internal-app-screen .ops-focus-card small {
  font-size: 12px;
  font-weight: 600;
}

.internal-app-screen .ops-focus-card b {
  font-size: 15px;
}

.internal-app-screen .ops-workbench-sections {
  display: grid;
  gap: 14px;
}

.internal-app-screen .ops-task-section {
  border-radius: 18px;
  overflow: hidden;
}

.internal-app-screen .ops-task-section .internal-panel-header {
  padding: 16px 18px 12px;
}

.internal-app-screen .ops-task-section .internal-panel-header h3 {
  font-size: 16px;
}

.internal-app-screen .ops-task-section .internal-panel-header p {
  color: #667062;
  font-size: 11.5px;
}

.internal-app-screen .ops-task-section .internal-panel-header span {
  color: #586455;
  font-size: 11px;
  font-weight: 800;
}

.internal-app-screen .ops-row-list {
  gap: 0;
}

.internal-app-screen .ops-order-row {
  gap: 10px;
  padding: 14px 16px;
}

.internal-app-screen .ops-order-main strong {
  font-size: 13px;
}

.internal-app-screen .ops-order-main small {
  color: #6b7469;
  font-size: 11.5px;
  font-weight: 600;
}

.internal-app-screen .ops-detail-summary,
.internal-app-screen .ops-detail-spotlight {
  display: grid;
  gap: 8px;
}

.internal-app-screen .ops-detail-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.internal-app-screen .ops-detail-summary-card,
.internal-app-screen .ops-detail-spotlight-card {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #fbfcfa;
  border: 1px solid #e4ece1;
  border-radius: 14px;
}

.internal-app-screen .ops-detail-summary-card span,
.internal-app-screen .ops-detail-spotlight-card span {
  color: #6d766b;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.internal-app-screen .ops-detail-summary-card strong {
  font-size: 14px;
  line-height: 1.25;
}

.internal-app-screen .ops-detail-spotlight-card strong {
  font-size: 15px;
  line-height: 1.2;
}

.internal-app-screen .ops-detail-spotlight-card p {
  margin: 0;
  color: #566155;
  font-size: 12px;
  line-height: 1.45;
}

.internal-app-screen .ops-detail-spotlight-card.tone-danger {
  background: #fff7f5;
  border-color: #efd0cb;
}

.internal-app-screen .ops-detail-spotlight-card.tone-info {
  background: #f7fbff;
  border-color: #d8e7f3;
}

.internal-app-screen .ops-detail-spotlight-card.tone-success {
  background: #f6fbf3;
  border-color: #d7e8d0;
}

.internal-app-screen .ops-detail-group {
  gap: 8px;
}

.internal-app-screen .ops-detail-group h3 {
  font-size: 14px;
}

.internal-app-screen .ops-detail-grid {
  gap: 8px;
}

.internal-app-screen .ops-detail-grid div {
  min-height: 58px;
  padding: 10px 11px;
  border-radius: 12px;
}

.internal-app-screen .ops-detail-grid strong {
  font-size: 12px;
  line-height: 1.35;
}

.internal-app-screen .ops-detail-disclosure {
  background: #ffffff;
  border: 1px solid var(--ops-line);
  border-radius: 16px;
  overflow: hidden;
}

.internal-app-screen .ops-detail-disclosure summary {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  cursor: pointer;
  list-style: none;
}

.internal-app-screen .ops-detail-disclosure summary::-webkit-details-marker {
  display: none;
}

.internal-app-screen .ops-detail-disclosure summary::after {
  content: "+";
  color: #5b6658;
  font-size: 18px;
  font-weight: 700;
}

.internal-app-screen .ops-detail-disclosure[open] summary::after {
  content: "-";
}

.internal-app-screen .ops-detail-disclosure summary .icon {
  width: 18px;
  height: 18px;
  color: var(--brand-dark);
}

.internal-app-screen .ops-detail-disclosure summary div {
  display: grid;
  gap: 2px;
}

.internal-app-screen .ops-detail-disclosure summary span {
  color: #1c241b;
  font-size: 13px;
  font-weight: 800;
}

.internal-app-screen .ops-detail-disclosure summary small {
  color: #6d766b;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
}

.internal-app-screen .ops-detail-disclosure-body {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}

.internal-app-screen .ops-detail-disclosure-body .ops-detail-group.is-embedded {
  gap: 10px;
}

.internal-app-screen .ops-detail-disclosure-body .ops-detail-group.is-embedded h3 {
  display: none;
}

.internal-app-screen .ops-detail-disclosure-body .ops-automation-panel,
.internal-app-screen .ops-detail-disclosure-body .ops-detail-group.is-embedded {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.internal-app-screen .ops-detail-disclosure-body .internal-file-grid.compact,
.internal-app-screen .ops-detail-disclosure-body .ops-automation-summary,
.internal-app-screen .ops-detail-disclosure-body .ops-automation-agent-grid,
.internal-app-screen .ops-detail-disclosure-body .ops-automation-flags,
.internal-app-screen .ops-detail-disclosure-body .ops-automation-actions-grid,
.internal-app-screen .ops-detail-disclosure-body .ops-automation-jobs-grid {
  gap: 8px;
}

.internal-app-screen .ops-detail-disclosure-body .internal-file-box {
  min-height: 0;
  border-radius: 12px;
}

.internal-app-screen .ops-detail-disclosure-body .ops-history li {
  border-radius: 12px;
}

@media (max-width: 1320px) {
  .internal-app-screen .ops-layout {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .ops-detail {
    position: static;
    max-height: none;
  }
}

@media (max-width: 900px) {
  .internal-app-screen .ops-workbench-hero,
  .internal-app-screen .ops-detail-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .internal-app-screen .ops-toolbar-actions {
    width: 100%;
  }

  .internal-app-screen .ops-search,
  .internal-app-screen #statusFilter,
  .internal-app-screen .ops-detail-actions .primary-cta.compact,
  .internal-app-screen .ops-detail-actions .secondary-cta.compact {
    flex: 1 1 100%;
    width: 100%;
  }

  .internal-app-screen .ops-stats,
  .internal-app-screen .ops-detail-grid {
    grid-template-columns: 1fr;
  }

  .internal-app-screen .ops-detail {
    padding: 14px;
  }
}

.internal-app-screen .customer-inventory-row,
.internal-app-screen .sales-order-row,
.internal-app-screen .customer-order-row,
.internal-app-screen .ops-order-row {
  border-radius: 14px;
}

.internal-app-screen .customer-inventory {
  border-radius: 16px;
}

.internal-app-screen .customer-state,
.internal-app-screen .internal-status-badge,
.internal-app-screen .internal-chip,
.internal-app-screen .ops-order-inline .ops-pill,
.internal-app-screen .ops-order-inline span {
  border-radius: var(--button-radius);
}

/* Horizontal journey tabs on a vertical rail keep the full step label visible. */
body.journey-started .journey-header-shell {
  position: fixed;
  top: 50%;
  right: auto;
  left: max(0px, calc((100vw - 1720px) / 2));
  z-index: 44;
  display: block;
  width: 180px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  transform: translateY(-50%);
  backdrop-filter: none;
}

body.journey-started .journey-steps {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}

body.journey-started .journey-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-areas: "number title";
  align-items: center;
  column-gap: 10px;
  width: 168px;
  min-height: 56px;
  padding: 9px 14px 9px 10px;
  overflow: hidden;
  color: #ffffff;
  text-align: left;
  background: #102117;
  border: 1px solid #1d3827;
  border-left: 0;
  border-radius: 0 15px 15px 0;
  box-shadow: 0 8px 22px rgba(22, 34, 20, 0.08);
  transform: none;
  transition: width 0.18s ease, transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

body.journey-started .journey-step:hover,
body.journey-started .journey-step:focus-visible {
  width: 176px;
  transform: translateX(2px);
  background: #193323;
  border-color: #6da955;
  box-shadow: 0 10px 24px rgba(36, 74, 27, 0.12);
}

body.journey-started .journey-step span {
  grid-area: number;
  position: static;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #17210f;
  background: #a6ce00;
  border: 1px solid #a6ce00;
  border-radius: 10px;
  box-shadow: none;
  transform: none;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
}

body.journey-started .journey-step strong {
  grid-area: title;
  position: static;
  display: -webkit-box;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  color: #ffffff;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: left;
}

body.journey-started .journey-step small {
  display: none;
}

body.journey-started .journey-step.is-active {
  width: 176px;
  background: linear-gradient(145deg, #f4fbed 0%, #e5f5db 100%);
  border-color: #8bc95b;
  box-shadow: 0 12px 26px rgba(83, 151, 35, 0.18);
  transform: translateX(2px);
}

body.journey-started .journey-step.is-active span {
  color: #174d14;
  background: #a6ce00;
  border-color: #93b900;
  text-shadow: none;
}

body.journey-started .journey-step.is-active strong {
  color: #183015;
}

body.journey-started .journey-step.is-complete span {
  color: #256522;
  background: #eaf7e5;
  border-color: #b7dda9;
}

body.journey-started .journey-step.is-complete:not(.is-active) {
  background: #dff1d5;
  border-color: #a9d492;
}

body.journey-started .journey-step.is-complete:not(.is-active) strong {
  color: #294823;
}

body.journey-started .journey-step.is-disabled,
body.journey-started .journey-step:disabled {
  opacity: 0.7;
  transform: none;
}

body.journey-started .product-shell {
  width: calc(100% - 228px);
  margin-right: auto;
  margin-left: max(196px, calc((100% - 1320px) / 2));
}

body.journey-started .assistant-widget {
  right: 18px;
  bottom: 22px;
  z-index: 60;
}

body.journey-started .assistant-toggle {
  grid-template-columns: 54px;
  width: 54px;
  min-width: 54px;
  min-height: 54px;
  overflow: visible;
}

body.journey-started .assistant-toggle-copy {
  display: none;
}

body.journey-started .assistant-toggle-mark {
  border-radius: 50%;
}

body.journey-started .assistant-widget.is-open .assistant-toggle {
  transform: none;
}

@media (min-width: 1051px) {
  body.journey-started .social-rail {
    top: auto;
    bottom: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 16px;
    transform: none;
  }

  body.journey-started .social-rail span {
    display: none;
  }

  body.journey-started .social-rail a,
  body.journey-started .social-rail .social-rail-mark {
    width: 32px;
    height: 32px;
  }

  body.journey-started .social-rail .icon {
    width: 19px;
    height: 19px;
  }
}

@media (max-width: 1400px) and (min-width: 761px) {
  body.journey-started .product-shell {
    margin-right: 32px;
    margin-left: 196px;
  }
}

/* Compact desktop: avoid squeezing the gallery beside a fixed-width purchase panel. */
@media (min-width: 761px) and (max-width: 1230px) {
  body.journey-started .product-shell:not(.is-mockup-workspace):not(.is-checkout-workspace) {
    grid-template-columns: minmax(0, 1fr);
  }

  body.journey-started .product-shell:not(.is-mockup-workspace):not(.is-checkout-workspace) .buy-panel {
    justify-self: center;
    width: min(100%, 760px);
    margin-top: 18px;
  }

  body.journey-started .product-shell:not(.is-mockup-workspace):not(.is-checkout-workspace) .carousel-stage {
    height: clamp(540px, 54vw, 600px);
  }
}

@media (max-width: 760px) {
  body.journey-started .nav-links--journey {
    display: flex;
    margin-left: auto;
    font-size: 0;
  }

  body.journey-started .nav-links--journey a {
    width: 36px;
    min-height: 36px;
    padding: 0;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
  }

  body.journey-started .nav-links--journey a::before {
    content: "";
    width: 15px;
    height: 15px;
    border: 2px solid #d0f443;
    border-radius: 50%;
  }

  body.journey-started .nav-links--journey a::after {
    content: "";
    width: 7px;
    height: 2px;
    margin: 10px 0 0 -5px;
    background: #d0f443;
    border-radius: 999px;
    transform: rotate(45deg);
  }

  body.journey-started .journey-header-shell {
    position: fixed;
    top: 50%;
    right: auto;
    left: 0;
    width: 48px;
    margin: 0;
    padding: 0;
    background: transparent;
    transform: translateY(-50%);
  }

  body.journey-started .journey-steps {
    gap: 6px;
  }

  body.journey-started .journey-step,
  body.journey-started .journey-step.is-active,
  body.journey-started .journey-step:hover,
  body.journey-started .journey-step:focus-visible {
    width: 44px;
    min-height: 48px;
    padding: 6px 3px;
    border-radius: 0 12px 12px 0;
    transform: none;
  }

  body.journey-started .journey-step span {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-size: 10px;
  }

  body.journey-started .journey-step strong {
    display: none;
  }

  body.journey-started .product-shell {
    width: calc(100% - 48px);
    margin-right: 0;
    margin-left: 44px;
  }

  body.journey-started .flow-guide {
    right: 10px;
    bottom: 148px;
    width: min(300px, calc(100vw - 76px));
    border-radius: 18px;
  }

  body.journey-started .flow-guide.is-minimized {
    width: 176px;
  }

  .flow-guide-body {
    padding: 13px 14px 14px;
  }

  .flow-guide-body h2 {
    font-size: 18px;
  }

  .flow-guide-body > p {
    margin-bottom: 9px;
  }

  body.journey-started .assistant-widget {
    right: 10px;
    bottom: 82px;
  }

  body.journey-started .assistant-toggle {
    grid-template-columns: 48px;
    width: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  body.journey-started .assistant-panel {
    width: min(370px, calc(100vw - 40px));
  }
}

/* Checkout: clear field hierarchy for buyer and delivery details. */
.checkout-buyer-grid,
.checkout-delivery-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.checkout-buyer-primary-name.is-legal-name,
.checkout-delivery-address {
  grid-column: 1 / -1;
}

.checkout-buyer-name {
  grid-column: span 3;
}

.checkout-form .is-person-name {
  text-transform: capitalize;
}

.checkout-buyer-third,
.checkout-buyer-document-type,
.checkout-buyer-document {
  grid-column: span 2;
}

.checkout-delivery-city,
.checkout-delivery-state {
  grid-column: span 3;
}

.checkout-buyer-contact {
  grid-column: span 3;
}

.checkout-delivery-reference {
  grid-column: 1 / -1;
}

/* Direccion colombiana: captura guiada y una sola linea compatible con pedidos. */
.colombian-address-fields {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 12px;
  border: 0;
}

.colombian-address-fields legend {
  padding: 0;
  color: #273225;
  font-size: 12px;
  font-weight: 850;
}

.colombian-address-help {
  margin: -5px 0 1px;
  color: #788274;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
}

.colombian-address-composer {
  display: grid;
  grid-template-columns: minmax(130px, 1.25fr) repeat(3, minmax(95px, 0.8fr));
  gap: 10px;
  align-items: end;
}

.colombian-address-details {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 10px;
}

.colombian-address-fields label > span:first-child small {
  color: #899284;
  font-size: 10px;
  font-weight: 650;
}

.colombian-address-prefixed-input {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
}

.colombian-address-prefixed-input > span {
  display: grid;
  place-items: center;
  min-height: 44px;
  color: #65705f;
  background: #f4f7f1;
  border: 1px solid #e2e9df;
  border-right: 0;
  border-radius: 14px 0 0 14px;
  font-size: 14px;
  font-weight: 850;
}

.checkout-form .colombian-address-prefixed-input > input,
.registration-address-fields .colombian-address-prefixed-input > input {
  min-width: 0;
  border-radius: 0 14px 14px 0;
}

.colombian-address-preview {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 10px 12px;
  background: #f5f9ef;
  border-left: 3px solid #a6ce00;
  border-radius: 0 12px 12px 0;
}

.colombian-address-preview > span {
  color: #72806d;
  font-size: 9px;
  font-weight: 750;
}

.colombian-address-preview > strong {
  color: #172018;
  font-size: 11px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.registration-address-fields {
  gap: 10px;
  padding: 12px;
  background: #f8faf6;
  border: 1px solid #e1e8dd;
  border-radius: 12px;
}

.registration-address-fields legend {
  padding: 0 5px;
  color: #2d392a;
  font-size: 13px;
}

.registration-address-fields .colombian-address-composer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.registration-address-fields .colombian-address-details {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.registration-address-fields label {
  gap: 6px;
  color: #5a6655;
  font-size: 11px;
}

.registration-address-fields input,
.registration-address-fields select {
  width: 100%;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d8dfd4;
  border-radius: 12px;
  outline: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
}

.registration-address-fields input:focus,
.registration-address-fields select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(39, 113, 29, 0.12);
}

.registration-address-fields .colombian-address-prefixed-input > span {
  min-height: 46px;
}

.registration-address-fields .colombian-address-preview {
  margin: 0;
}

@media (max-width: 900px) {
  .checkout-buyer-name,
  .checkout-buyer-contact,
  .checkout-delivery-address,
  .checkout-delivery-reference {
    grid-column: 1 / -1;
  }

  .checkout-buyer-third,
  .checkout-buyer-document-type,
  .checkout-buyer-document,
  .checkout-delivery-city,
  .checkout-delivery-state {
    grid-column: span 3;
  }

  .checkout-buyer-document {
    grid-column: 1 / -1;
  }

  .checkout-delivery-grid .colombian-address-composer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .checkout-buyer-grid,
  .checkout-delivery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-buyer-name,
  .checkout-buyer-third,
  .checkout-buyer-document-type,
  .checkout-buyer-document,
  .checkout-buyer-contact,
  .checkout-delivery-address,
  .checkout-delivery-city,
  .checkout-delivery-state,
  .checkout-delivery-reference {
    grid-column: 1;
  }

  .checkout-delivery-grid .colombian-address-composer,
  .checkout-delivery-grid .colombian-address-details,
  .registration-address-fields .colombian-address-composer,
  .registration-address-fields .colombian-address-details {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Business associate registry: progressive form instead of one long field list. */
.associate-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.associate-form-heading > div {
  display: grid;
  gap: 3px;
}

.associate-form-heading strong {
  color: #111711;
  font-size: 15px;
}

.associate-form-heading small {
  color: #687363;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.45;
}

#checkoutAssociateProgress {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #677161;
  background: #f4f7f2;
  border: 1px solid #e1e9de;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
}

#checkoutAssociateProgress.is-complete {
  color: #23702b;
  background: #edf9e9;
  border-color: #cce8c6;
}

.associate-form-steps {
  display: grid;
  gap: 8px;
}

.associate-form-step {
  overflow: clip;
  background: #ffffff;
  border: 1px solid #e2e9df;
  border-radius: 14px;
}

.associate-form-step summary {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
}

.associate-form-step summary::-webkit-details-marker {
  display: none;
}

.associate-form-step summary > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #51604d;
  background: #f4f7f2;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 900;
}

.associate-form-step summary > div {
  display: grid;
  gap: 2px;
}

.associate-form-step summary strong {
  color: #182016;
  font-size: 12px;
}

.associate-form-step summary small {
  color: #788274;
  font-size: 9px;
  font-weight: 650;
}

.associate-form-step summary em {
  color: #7b8477;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.associate-form-step[open] {
  border-color: #bfdcb7;
  box-shadow: 0 10px 22px rgba(35, 74, 27, 0.06);
}

.associate-form-step[open] > summary {
  background: #f7fbf5;
  border-bottom: 1px solid #e3ece0;
}

.associate-form-step[open] > summary > span,
.associate-form-step.is-complete summary > span {
  color: #ffffff;
  background: var(--brand);
}

.associate-form-step.is-complete summary em {
  color: #28762f;
}

.associate-form-step > .checkout-associated-grid,
.associate-form-step > .associate-contact-stack {
  margin: 14px;
}

.associate-contact-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.associate-contact-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 12px;
  background: #fbfcfa;
  border: 1px solid #e5ebe2;
  border-radius: 12px;
}

.associate-contact-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
}

.associate-contact-card > header > div {
  display: grid;
  gap: 2px;
}

.associate-contact-card header strong {
  color: #182016;
  font-size: 11px;
}

.associate-contact-card header small {
  color: #7a8476;
  font-size: 8px;
  font-weight: 650;
}

.associate-contact-card .checkout-associated-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.associate-contact-card button,
.associate-assisted-field button,
.associate-step-actions button {
  color: #235b27;
  background: #ffffff;
  border: 1px solid #cfe1ca;
  border-radius: 9px;
  font: inherit;
  font-size: 8px;
  font-weight: 850;
  cursor: pointer;
}

.associate-contact-card button {
  max-width: 92px;
  min-height: 30px;
  padding: 4px 7px;
  line-height: 1.2;
}

.associate-assisted-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
}

.associate-assisted-field button {
  min-width: 70px;
  padding: 0 9px;
}

.associate-assisted-textarea {
  align-items: start;
}

.associate-assisted-textarea button {
  min-height: 40px;
}

.associate-contact-card button:hover,
.associate-assisted-field button:hover,
.associate-step-actions button:hover {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
}

.associate-field-help {
  margin-top: 5px;
  color: #788274;
  font-size: 9px;
  font-weight: 650;
}

.associate-optional {
  margin-left: 5px;
  color: #7c8578;
  font-size: 8px;
  font-weight: 750;
}

.associate-step-actions {
  display: flex;
  justify-content: flex-end;
  margin: 0 14px 14px;
}

.associate-step-actions button {
  min-height: 36px;
  padding: 0 13px;
  font-size: 9px;
}

@media (max-width: 900px) {
  .associate-contact-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .associate-contact-card .checkout-associated-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .associate-form-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .associate-form-step summary {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .associate-form-step summary em {
    grid-column: 2;
  }

  .associate-contact-card .checkout-associated-grid,
  .associate-assisted-field {
    grid-template-columns: minmax(0, 1fr);
  }

  .associate-assisted-field button {
    min-height: 36px;
  }
}
/* Seguimiento premium: interfaz pública compacta y editorial. */
.tracking-page {
  min-height: 100vh;
  color: #182018;
  background-color: #fbfcf9;
  background-image: none;
}

body.tracking-page::before { content: ""; position: fixed; inset: 68px 0 0; z-index: 0; pointer-events: none; background: url("assets/hojas-flotando.svg") center 20% / min(1920px, 132%) auto no-repeat; opacity: .14; }
body.tracking-page .tracking-shell { position: relative; z-index: 1; }

.tracking-page .site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 18, 16, 0.96);
  backdrop-filter: blur(16px);
}

.tracking-page .navbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: min(1340px, calc(100% - 40px));
  min-height: 68px;
}

.tracking-nav-center { justify-self: center; }
.tracking-nav-center a { color: #f5f5f3; text-decoration: none; font-size: 13px; font-weight: 800; }
.tracking-nav-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.tracking-buy-button { padding: 11px 24px; color: #10130d; background: #a8d820; border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 900; text-transform: uppercase; }
.tracking-customer-pill { max-width: 280px; padding: 9px 16px; overflow: hidden; color: #fff; background: #292b29; border: 1px solid #484b48; border-radius: 999px; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }

.tracking-page .tracking-shell {
  width: min(920px, calc(100% - 40px));
  max-width: none;
  margin: 0 auto;
  padding: 64px 0 130px;
}

.tracking-social-rail { position: fixed; left: 14px; top: 50%; z-index: 18; display: grid; gap: 4px; padding: 10px 7px; background: rgba(255,255,255,.94); border: 1px solid #dfe5dc; border-radius: 999px; box-shadow: 0 16px 34px rgba(34,48,29,.1); transform: translateY(-50%); }
.tracking-social-rail a { display: grid; width: 38px; height: 38px; place-items: center; color: #141714; border-radius: 50%; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.tracking-social-rail a:hover { background: #eef6e7; transform: translateY(-1px); }
.tracking-social-rail img,.tracking-social-rail svg { width: 20px; height: 20px; fill: currentColor; }
.tracking-legal-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; display: flex; justify-content: center; gap: 18px; padding: 13px 24px; color: #535a51; background: rgba(251,252,249,.94); border-top: 1px solid rgba(218,224,214,.75); backdrop-filter: blur(12px); font-size: 10px; font-weight: 700; }
.tracking-legal-footer a { color: #30352f; }
body.tracking-page .assistant-widget { display: grid; bottom: 52px; }

.tracking-page .tracking-hero {
  max-width: 680px;
  gap: 10px;
  margin: 0 0 34px;
}

.tracking-page .product-kicker {
  margin: 0;
  color: #6e803d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tracking-page .tracking-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.tracking-hero-copy {
  margin: 2px 0 18px;
  color: #697167;
  font-size: 16px;
}

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.tracking-page .tracking-search {
  display: flex;
  gap: 8px;
  max-width: 620px;
  padding: 6px;
  align-items: center;
  background: #fff;
  border: 1px solid #dfe4db;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(29, 43, 25, .07);
}

.tracking-page .tracking-search label {
  flex: 1;
  display: block;
}

.tracking-page .tracking-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 15px;
}

.tracking-page .tracking-search input::placeholder { color: #747b72; font-weight: 650; }

.tracking-page .tracking-search .primary-cta {
  min-width: 132px;
  min-height: 46px;
  box-shadow: none;
}

.tracking-page .tracking-empty {
  padding: 0;
  color: #838b80;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 14px;
}

.tracking-page .tracking-card {
  gap: 0;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e8e0;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(35, 50, 30, .08);
}

.tracking-page .tracking-card-header {
  padding: 24px 26px 18px;
  align-items: center;
  border-bottom: 1px solid #edf0eb;
}

.tracking-page .tracking-card-header span,
.tracking-page .tracking-summary span {
  font-size: 10px;
  letter-spacing: .1em;
}

.tracking-page .tracking-card-header strong {
  font-size: 19px;
  letter-spacing: -.02em;
}

.tracking-page .tracking-card-header mark {
  padding: 7px 11px;
  color: #346622;
  background: #eef7e8;
  font-size: 12px;
}

.tracking-page .tracking-summary {
  grid-template-columns: 1.4fr 1fr .55fr .8fr;
  gap: 0;
  padding: 18px 26px;
  border-bottom: 1px solid #edf0eb;
}

.tracking-page .tracking-summary div {
  gap: 5px;
  padding: 0 18px;
  background: transparent;
  border-left: 1px solid #edf0eb;
  border-radius: 0;
}

.tracking-page .tracking-summary div:first-child {
  padding-left: 0;
  border-left: 0;
}

.tracking-page .tracking-summary strong {
  font-size: 14px;
}

.tracking-page .artwork-review-panel {
  gap: 12px;
  padding: 20px 26px;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #edf0eb;
  border-radius: 0;
}

.tracking-page .artwork-review-panel h2 {
  font-size: 15px;
}

.tracking-page .artwork-review-status {
  font-size: 13px;
}

.tracking-page .artwork-review-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.tracking-page .artwork-review-box {
  min-height: 0;
  padding: 11px 12px;
  background: #f7f8f5;
  border-radius: 10px;
}

.tracking-page .artwork-review-box img {
  max-height: 92px;
}

.tracking-asset-preview { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.tracking-asset-preview img { width: 100%; height: 112px; object-fit: contain; background: #fff; border-radius: 8px; }
.tracking-asset-preview strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.tracking-file-type { display: grid; width: 100%; height: 112px; place-items: center; color: #b22b24; background: #fff; border: 1px solid #ecefe9; border-radius: 8px; font-size: 20px; }
.tracking-page .artwork-review-box.has-preview { transition: transform .2s ease, box-shadow .2s ease; }
.tracking-page .artwork-review-box.has-preview:hover { box-shadow: 0 10px 24px rgba(36,50,31,.08); transform: translateY(-2px); }
.tracking-page .artwork-review-box.is-sheet-pending {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(157, 219, 18, .2), transparent 34%),
    linear-gradient(145deg, #f8fbf4, #eef6e7);
  border: 1px solid #dbe8d2;
}

.tracking-sheet-pending {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 112px;
}

.tracking-sheet-pending-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #5d8112;
  background: #fff;
  border: 1px solid #d6e5cb;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(60, 86, 44, .1);
}

.tracking-sheet-pending-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tracking-sheet-pending-copy {
  display: grid;
  gap: 4px;
}

.tracking-sheet-pending-copy small {
  width: max-content;
  padding: 4px 8px;
  color: #43620b;
  background: rgba(157, 219, 18, .2);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tracking-sheet-pending-copy strong {
  color: #172017;
  font-size: 13px;
  line-height: 1.25;
}

.tracking-sheet-pending-copy p {
  margin: 0;
  color: #6c756a;
  font-size: 10px;
  line-height: 1.4;
}

.tracking-page .artwork-review-brief,
.tracking-page .artwork-review-note:not(:last-child) {
  display: none;
}

.tracking-page .tracking-timeline {
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 0;
  padding: 24px 26px 28px;
}

.tracking-page .tracking-timeline li {
  min-height: 48px;
  padding: 25px 8px 0 0;
  color: #939a91;
  background: transparent;
  border-radius: 0;
  font-size: 11px;
  line-height: 1.25;
}

.tracking-page .tracking-timeline li::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 12px;
  right: 0;
  height: 1px;
  background: #dfe4dc;
}

.tracking-page .tracking-timeline li::before {
  z-index: 2;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  transform: translateY(-50%);
}

.tracking-page .tracking-timeline li.done,
.tracking-page .tracking-timeline li.current {
  color: #294f21;
  background: transparent;
  box-shadow: none;
}

.tracking-page .tracking-timeline li.done::after {
  background: #8fc83c;
}

@media (max-width: 720px) {
  .tracking-page .navbar { grid-template-columns: 1fr auto; width: calc(100% - 28px); }
  .tracking-nav-center { display: none; }
  .tracking-buy-button { padding: 10px 14px; font-size: 10px; }
  .tracking-customer-pill { display: none; }
  .tracking-social-rail { display: none; }
  .tracking-legal-footer { position: static; flex-direction: column; gap: 6px; align-items: center; text-align: center; }
  .tracking-page .assistant-widget { bottom: 18px; }
  .tracking-page .tracking-shell { width: min(100% - 28px, 920px); padding-top: 38px; }
  .tracking-page .nav-links { display: none; }
  .tracking-page .tracking-search { align-items: stretch; }
  .tracking-page .tracking-search .primary-cta { min-width: 104px; }
  .tracking-page .tracking-card-header { align-items: flex-start; flex-direction: column; }
  .tracking-page .tracking-summary { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .tracking-page .tracking-summary div:nth-child(3) { padding-left: 0; border-left: 0; }
  .tracking-page .artwork-review-grid { grid-template-columns: 1fr; }
  .tracking-sheet-pending { min-height: 94px; }
  .tracking-page .tracking-timeline { grid-template-columns: 1fr; padding-top: 16px; }
  .tracking-page .tracking-timeline li { min-height: 38px; padding: 3px 0 18px 30px; }
  .tracking-page .tracking-timeline li::before { left: 5px; top: 9px; }
  .tracking-page .tracking-timeline li::after { top: 16px; bottom: 0; left: 11px; width: 1px; height: auto; }
}

/* Final mobile composition: customer journey and personalization workspace */
@media (max-width: 760px) {
  .registration-form-open .login-card {
    animation: none;
  }

  body.journey-started .journey-header-shell {
    position: static;
    width: 100%;
    margin: 10px 0 4px;
    padding: 0 12px;
    transform: none;
  }

  body.journey-started .journey-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  body.journey-started .journey-step,
  body.journey-started .journey-step.is-active,
  body.journey-started .journey-step:hover,
  body.journey-started .journey-step:focus-visible {
    grid-template-columns: 24px minmax(0, 1fr);
    grid-template-areas: "number title";
    column-gap: 4px;
    width: 100%;
    min-width: 0;
    min-height: 60px;
    padding: 8px 5px;
    border-radius: 14px;
    transform: none;
  }

  body.journey-started .journey-step span {
    width: 24px;
    height: 24px;
    margin: 0;
  }

  body.journey-started .journey-step strong {
    display: block;
    overflow: visible;
    font-size: 10px;
    line-height: 1.15;
    text-align: left;
    -webkit-line-clamp: initial;
  }

  body.journey-started .product-shell {
    width: 100%;
    margin: 0;
    padding: 10px 12px 18px;
  }

  body.journey-started .flow-guide {
    display: none;
  }

  body.journey-started .flow-guide.is-minimized {
    width: min(176px, calc(100vw - 84px));
  }

  body.journey-started .assistant-widget {
    right: 10px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .product-shell.is-mockup-workspace .mockup-workbar {
    gap: 12px;
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .product-shell.is-mockup-workspace .mockup-back-step {
    justify-self: start;
    width: auto;
    min-height: 36px;
    padding: 0 4px;
    color: #4f5b4d;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .mockup-workbar-copy {
    min-width: 0;
  }

  .mockup-workbar-copy strong {
    font-size: 17px;
    line-height: 1.12;
  }

  .mockup-selected-reference {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "label"
      "name"
      "measure";
    gap: 4px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 11px 12px;
  }

  .mockup-selected-reference strong {
    overflow: visible;
    font-size: 12px;
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
  }

  .mockup-selected-reference small {
    padding: 0;
    border-left: 0;
    white-space: normal;
  }

  .mockup-embed-module,
  .mockup-embed-frame,
  .product-shell.is-mockup-workspace .mockup-embed-module,
  .product-shell.is-mockup-workspace .mockup-embed-frame {
    min-height: 980px;
  }
}

/* Boton principal unificado: negro, lima y forma capsula. */
body .primary-cta,
body .flow-next-cta,
body .landing-cta,
body .login-submit,
body .mockup-submit-order,
body .mobile-buybar a,
body .assistant-form button,
body .checkout-status .checkout-pay-link,
body #goToMockupBtn:not(:disabled),
body .internal-app-screen .primary-cta,
body .tracking-page .primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  color: #0b120c;
  background: #a6ce00;
  border: 1px solid #94b900;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(128, 163, 0, .22);
  font-weight: 850;
  line-height: 1.1;
}

body .primary-cta:hover,
body .flow-next-cta:hover,
body .landing-cta:hover,
body .login-submit:hover,
body .mockup-submit-order:hover,
body .mobile-buybar a:hover,
body .assistant-form button:hover,
body .checkout-status .checkout-pay-link:hover,
body #goToMockupBtn:not(:disabled):hover,
body .internal-app-screen .primary-cta:hover,
body .tracking-page .primary-cta:hover {
  color: #071008;
  background: #b9e51b;
  border-color: #a6ce00;
  box-shadow: 0 13px 26px rgba(128, 163, 0, .28);
  transform: translateY(-1px);
}

body .primary-cta:focus-visible,
body .flow-next-cta:focus-visible,
body .landing-cta:focus-visible,
body .login-submit:focus-visible,
body .mockup-submit-order:focus-visible,
body .mobile-buybar a:focus-visible {
  outline: 3px solid rgba(13, 23, 16, .24);
  outline-offset: 3px;
}

body .primary-cta:disabled,
body .primary-cta.is-disabled,
body .flow-next-cta:disabled,
body .flow-next-cta.is-disabled,
body .mockup-submit-order:disabled,
body #goToMockupBtn:disabled {
  color: #899188;
  background: #e9ede7;
  border-color: #d9dfd6;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Navegacion de pasos: solo el paso seleccionado conserva máxima intensidad. */
body.journey-started .journey-step:not(.is-active) {
  color: #8b948b;
  background: #f3f5f2;
  border-color: #e0e5df;
  box-shadow: none;
  opacity: .72;
}

body.journey-started .journey-step:not(.is-active) strong {
  color: #7d867d;
}

body.journey-started .journey-step:not(.is-active) span {
  color: #7d867d;
  background: #e8ece7;
  border-color: #d9dfd7;
}

body.journey-started .journey-step.is-complete:not(.is-active) {
  background: #edf3e9;
  border-color: #d4e1cd;
  opacity: .78;
}

body.journey-started .journey-step.is-complete:not(.is-active) strong {
  color: #667960;
}

body.journey-started .journey-step.is-complete:not(.is-active) span {
  color: #53684d;
  background: #dcebd4;
  border-color: #c6ddbb;
}

body.journey-started .journey-step.is-active {
  color: #b9e51b;
  background: #0d1710;
  border-color: #a6ce00;
  box-shadow: 0 12px 26px rgba(89, 127, 0, .22);
  opacity: 1;
}

body.journey-started .journey-step.is-active strong {
  color: #b9e51b;
}

body.journey-started .journey-step.is-active span {
  color: #10170d;
  background: #a6ce00;
  border-color: #a6ce00;
}

body.journey-started .journey-step:not(.is-active):hover,
body.journey-started .journey-step:not(.is-active):focus-visible {
  color: #687267;
  background: #e9ede7;
  border-color: #cdd5ca;
  box-shadow: none;
}

body.journey-started .journey-step.is-active:hover,
body.journey-started .journey-step.is-active:focus-visible {
  color: #d0f443;
  background: #17271b;
  border-color: #a6ce00;
}

/* El SVG oficial ya incluye las tintas blanca y verde. */
body .brand-logo {
  width: auto;
  height: 38px;
  max-width: 208px;
  filter: none;
}

.tracking-social-rail a:first-child {
  width: 48px;
  padding: 7px;
  background: #0d1710;
  border-radius: 999px;
}

.tracking-social-rail a:first-child img {
  width: 34px;
  height: auto;
  object-fit: contain;
}

/* claudIA: el acceso flotante reutiliza exactamente el avatar del panel. */
.assistant-toggle-mark,
body.journey-started .assistant-toggle-mark {
  position: relative;
  width: 54px;
  height: 54px;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.assistant-toggle-avatar {
  position: absolute;
  top: 0;
  left: 0;
  width: 84px;
  height: 84px;
  transform: scale(0.642857);
  transform-origin: top left;
}

@media (max-width: 760px) {
  .assistant-toggle-mark,
  body.journey-started .assistant-toggle-mark {
    width: 48px;
    height: 48px;
  }

  .assistant-toggle-avatar {
    transform: scale(0.571429);
  }
}

/* Invitacion visible junto al acceso flotante de claudIA. */
body.journey-started .assistant-toggle {
  grid-template-columns: minmax(0, auto) 54px;
  grid-template-areas: "message avatar";
  gap: 10px;
  width: auto;
  min-width: 54px;
}

body.journey-started .assistant-toggle-mark {
  grid-area: avatar;
}

body.journey-started .assistant-toggle-copy {
  grid-area: message;
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 190px;
  padding: 11px 16px;
  color: #172117;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #dce8d7;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(29, 58, 24, 0.12);
}

body.journey-started .assistant-toggle-copy::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -7px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-top: 1px solid #dce8d7;
  border-right: 1px solid #dce8d7;
  transform: translateY(-50%) rotate(45deg);
}

body.journey-started .assistant-toggle-copy strong {
  color: #172117;
  font-size: 13px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: none;
}

body.journey-started .assistant-toggle-copy small {
  color: #5f725b;
  font-size: 11px;
  line-height: 1.15;
  text-shadow: none;
}

body.journey-started .assistant-widget.is-open .assistant-toggle {
  grid-template-columns: 54px;
  grid-template-areas: "avatar";
}

body.journey-started .assistant-widget.is-open .assistant-toggle-copy {
  display: none;
}

@media (max-width: 760px) {
  body.journey-started .assistant-toggle {
    grid-template-columns: minmax(0, auto) 48px;
    min-width: 48px;
  }

  body.journey-started .assistant-toggle-copy {
    min-width: 166px;
    padding: 9px 12px;
  }

  body.journey-started .assistant-toggle-copy strong {
    font-size: 12px;
  }

  body.journey-started .assistant-widget.is-open .assistant-toggle {
    grid-template-columns: 48px;
  }
}

/* Oferta de ahorro por volumen al entrar al cierre de compra. */
.volume-offer-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.volume-offer-modal[hidden] {
  display: none;
}

.volume-offer-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.volume-offer-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(10, 18, 11, 0.58);
  border: 0;
  border-radius: 0;
  backdrop-filter: blur(7px);
}

.volume-offer-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: min(620px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 30px;
  overflow: auto;
  background:
    radial-gradient(circle at 92% 6%, rgba(166, 206, 0, 0.2), transparent 32%),
    #ffffff;
  border: 1px solid #dce8d7;
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(9, 30, 13, 0.28);
  opacity: 0;
  transform: translateY(26px) scale(0.97);
  transition: opacity 0.24s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.volume-offer-modal.is-open .volume-offer-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.volume-offer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: #334333;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dce7d8;
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.volume-offer-heading {
  display: grid;
  gap: 7px;
  padding-right: 42px;
}

.volume-offer-heading > span {
  width: max-content;
  padding: 6px 10px;
  color: #28420d;
  background: #d8f45f;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.volume-offer-heading h2 {
  max-width: 520px;
  margin: 0;
  color: #101810;
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.volume-offer-heading p {
  margin: 0;
  color: #687266;
  font-size: 13px;
  line-height: 1.45;
}

.volume-offer-heading p strong {
  color: #30432d;
}

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

.volume-offer-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: #183017;
  background: #f5f9f2;
  border: 1px solid #dbe8d5;
  border-radius: 20px;
}

.volume-offer-card.is-current {
  color: #ffffff;
  background: #102117;
  border-color: #102117;
  box-shadow: 0 18px 32px rgba(16, 33, 23, 0.15);
  outline: 3px solid rgba(166, 206, 0, 0.35);
}

.volume-offer-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.volume-offer-card-top > span {
  font-size: 14px;
  font-weight: 900;
}

.volume-offer-card mark {
  padding: 5px 8px;
  color: #2b480c;
  background: #d7f35d;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.volume-offer-saving {
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.volume-offer-card small {
  color: #657360;
  font-size: 11px;
}

.volume-offer-card.is-current small {
  color: #d8e5d6;
}

.volume-offer-card small b {
  color: inherit;
  font-size: 14px;
}

.volume-offer-card > button {
  min-height: 42px;
  margin-top: 3px;
  padding: 0 14px;
  color: #12200f;
  background: #a6ce00;
  border: 1px solid #94b900;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.volume-offer-card > button:hover:not(:disabled) {
  background: #b9e51b;
  transform: translateY(-1px);
}

.volume-offer-card.is-current > button {
  color: #153017;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
}

.volume-offer-card.is-current > button:hover {
  color: #153017;
  background: #eef6e9;
  border-color: #eef6e9;
}

.volume-offer-card > button:disabled {
  color: #6f786b;
  background: #e4e9e1;
  border-color: #d4dcd0;
  cursor: default;
}

.volume-offer-note {
  margin: -5px 0 0;
  color: #747e71;
  font-size: 10px;
  text-align: center;
}

.volume-offer-note strong {
  color: #40533c;
  font-weight: 900;
}

.volume-offer-keep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  justify-self: stretch;
  min-height: 48px;
  padding: 0 20px;
  color: #0b150b;
  background: #a6ce00;
  border: 1px solid #94b900;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(128, 163, 0, 0.2);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.volume-offer-keep:hover {
  background: #b9e51b;
  box-shadow: 0 15px 28px rgba(128, 163, 0, 0.26);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .volume-offer-modal {
    align-items: end;
    padding: 10px;
  }

  .volume-offer-panel {
    width: 100%;
    padding: 24px 18px 20px;
    border-radius: 24px;
  }

  .volume-offer-grid {
    grid-template-columns: 1fr;
  }

  .volume-offer-heading h2 {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .volume-offer-modal,
  .volume-offer-panel {
    transition: none;
  }
}

/* Segunda vista del landing: explicación amplia del proceso en tres pasos. */
.purchase-steps-view {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 38px;
  width: min(1320px, 100%);
  min-height: 650px;
  margin: 10px auto 72px;
  padding: clamp(52px, 6vw, 82px);
  overflow: hidden;
  color: #ffffff;
  background: #0d1710;
  border: 1px solid #213325;
  border-radius: 38px;
  box-shadow: 0 30px 70px rgba(13, 31, 17, 0.18);
}

.purchase-steps-view::before {
  content: "";
  position: absolute;
  top: -190px;
  right: -130px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(166, 206, 0, 0.24), transparent 68%);
  pointer-events: none;
}

.purchase-steps-heading {
  position: relative;
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.purchase-steps-heading > span {
  width: max-content;
  padding: 7px 11px;
  color: #17210f;
  background: #b9e51b;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.purchase-steps-heading h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(50px, 6.3vw, 88px);
  font-weight: 950;
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.purchase-steps-heading h2 em {
  display: block;
  color: #b9e51b;
  font-style: normal;
}

.purchase-steps-heading p {
  max-width: 680px;
  margin: 3px 0 0;
  color: #c5d0c4;
  font-size: 16px;
  line-height: 1.55;
}

.purchase-steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.purchase-steps-grid article {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-areas:
    "number icon"
    "title title"
    "copy copy";
  gap: 12px;
  min-height: 214px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  backdrop-filter: blur(8px);
}

.purchase-steps-grid article > span {
  grid-area: number;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #14200f;
  background: #a6ce00;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 950;
}

.purchase-steps-grid .icon {
  grid-area: icon;
  justify-self: end;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #b9e51b;
  stroke-width: 1.8;
}

.purchase-steps-grid article > strong {
  grid-area: title;
  align-self: end;
  font-size: 22px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.purchase-steps-grid article > p {
  grid-area: copy;
  margin: 0;
  color: #bdc9bc;
  font-size: 12px;
  line-height: 1.5;
}

.purchase-steps-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  justify-self: start;
  min-height: 54px;
  padding: 0 28px;
  color: #0b140b;
  background: #a6ce00;
  border: 1px solid #b9e51b;
  border-radius: 999px;
  box-shadow: 0 15px 30px rgba(128, 163, 0, 0.2);
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.purchase-steps-cta:hover {
  background: #b9e51b;
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .purchase-steps-view {
    gap: 28px;
    min-height: 0;
    margin: 10px auto 42px;
    padding: 38px 20px;
    border-radius: 28px;
  }

  .purchase-steps-heading h2 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .purchase-steps-heading p {
    font-size: 14px;
  }

  .purchase-steps-grid {
    grid-template-columns: 1fr;
  }

  .purchase-steps-grid article {
    min-height: 180px;
  }

  .purchase-steps-cta {
    justify-self: stretch;
  }
}

/* Firma de apertura y respaldo de marca del hero. */
.hero-step-heading {
  width: max-content;
  max-width: 100%;
  margin: 0 0 14px auto;
  text-align: right;
}

.hero-step-signature {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.17em;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0 0 12px;
  justify-content: flex-end;
  color: #111712;
  font-family: Caveat, "Segoe Print", cursive;
  font-size: clamp(27px, 2.1vw, 37px);
  font-style: normal;
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0;
  white-space: nowrap;
  transform: rotate(-1deg);
  transform-origin: left center;
}

.hero-step-subtitle {
  margin: 5px 0 0;
  color: #4d554f;
  font-size: clamp(12px, 0.9vw, 14px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.035em;
}

.hero-step-signature strong {
  position: relative;
  display: inline-block;
  color: #079523;
  font-family: inherit;
  font-size: 1.08em;
  font-style: inherit;
  font-weight: 700;
}

.hero-step-signature strong::after {
  content: "";
  position: absolute;
  right: -7%;
  bottom: -9px;
  left: -2%;
  height: 13px;
  border-top: 3px solid #079523;
  border-radius: 52% 48% 0 0;
  transform: rotate(-1.6deg);
}

.hero-step-signature strong::before {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -13px;
  width: 23%;
  height: 8px;
  border-top: 2px solid rgba(7, 149, 35, 0.68);
  border-radius: 50%;
  transform: rotate(-5deg);
}

@media (max-width: 600px) {
  .registration-landing .campaign-entry,
  .registration-landing .hero-copy {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero-step-signature {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: end;
    gap: 0.08em;
    width: 100%;
    max-width: 100%;
    padding-bottom: 9px;
    font-size: clamp(34px, 9.8vw, 38px);
    line-height: 0.92;
    white-space: normal;
    transform: none;
  }

  .hero-step-signature span {
    width: 100%;
    text-align: right;
  }

  .hero-step-heading {
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 12px;
    padding-inline: 6px;
  }

  .hero-step-signature strong {
    margin-right: 2px;
  }

  .hero-step-signature strong::after {
    right: -2%;
    bottom: -7px;
    left: -2%;
  }

  .hero-step-signature strong::before {
    right: -4%;
    bottom: -11px;
  }

  .hero-step-subtitle {
    margin-top: 4px;
    font-size: 12px;
    text-align: right;
  }

  .hero-copy h1 {
    font-size: clamp(27px, 7.45vw, 32px);
  }

  .hero-copy h1 .hero-title-primary,
  .hero-copy h1 .hero-title-accent {
    width: 100%;
    white-space: normal;
  }

  .hero-lead {
    width: 100%;
  }
}
