: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;
}

/* 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);
}

.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;
  padding: 0;
  color: #111;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  box-shadow: none;
  transition: transform 0.18s ease, filter 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);
}

.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: none;
}

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-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 {
  min-height: clamp(740px, calc(100vh - 190px), 860px);
}

.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(560px, calc(100vh - 160px), 680px);
  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(84%, 620px);
  height: min(92%, 620px);
  margin-bottom: 0;
  max-height: 92%;
  object-fit: contain;
  filter: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.carousel-main img.mockup-active {
  width: min(90%, 640px);
  max-height: 92%;
}

.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: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfb 100%);
  border: 1px solid #e7ede4;
  border-radius: 30px;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.05);
}

.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: 22px;
  padding: 10px 12px;
  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: 20px;
}

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

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

.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(22px, 1.8vw, 28px);
  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.62;
  max-width: 42ch;
}

.flow-panel fieldset {
  display: grid;
  gap: 12px;
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, #fbfef8 0%, #f8fcf4 100%);
  border: 1px solid #dfe9d9;
  border-radius: 24px;
  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: 14px;
}

.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;
}

.campaign-size-grid .option-card span {
  font-size: 15px;
}

.campaign-size-grid .option-card small {
  color: #5f6b58;
}

.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: 14px;
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfa 100%);
  border: 1px solid #e5ebe1;
  border-radius: 24px;
  box-shadow: 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: 20px;
  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: 10px;
}

.product-profile-grid article {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 10px;
  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.45;
}

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

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

.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-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);
}

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

.payment-confirm-header > div {
  display: grid;
  gap: 4px;
}

.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;
}

.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-note,
.payment-confirm-status {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

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

.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: 10px;
  position: sticky;
  top: 86px;
  order: 2;
}

.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: 12px;
  background: #ffffff;
  border: 1px solid #e7ede5;
  border-radius: 20px;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.03);
}

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

.checkout-mockup-frame img {
  display: block;
  width: 100%;
  height: 188px;
  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: 10px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid #e7ede5;
  border-radius: 20px;
  box-shadow: 0 10px 18px rgba(17, 17, 17, 0.03);
}

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

.checkout-qty-header strong {
  color: #111711;
  font-size: 15px;
  font-weight: 800;
}

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

.checkout-order-specs-block {
  display: grid;
  gap: 4px;
}

.checkout-order-specs-block > span {
  color: #75816f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-order-specs {
  margin: 0;
  color: #5f685b;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
}

.checkout-stage-summary .qty-row {
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  gap: 10px;
}

.checkout-stage-summary .qty-input span {
  font-size: 12px;
}

.checkout-stage-summary .stepper {
  width: 42px;
  height: 42px;
  font-size: 20px;
}

.checkout-stage-summary .qty-range {
  height: 14px;
  margin: 4px 0;
}

.checkout-stage-summary .tier-row {
  gap: 8px;
}

.checkout-stage-summary .tier-row button {
  min-height: 32px;
  font-size: 12px;
}

.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 .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-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-meta {
  gap: 12px;
}

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

.price-box-checkout .drawer-total {
  margin-top: 4px;
  padding: 16px 2px 4px;
  background: transparent;
  border: 0;
  border-top: 2px solid rgba(214, 205, 190, 0.92);
  border-radius: 0;
  box-shadow: none;
}

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

.price-box-checkout .drawer-total strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.shipping-status-text {
  margin: 8px 2px 0;
  color: #6b7568;
  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-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-header {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  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-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;
  gap: 4px;
}

.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-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;
}

.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 {
  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[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;
}

.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);
}

.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(82%, 500px);
    height: min(90%, 500px);
    max-height: 90%;
  }

  .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;
    padding: 0;
  }

  .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;
  }

  .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(92%, 270px);
    height: min(90%, 270px);
    max-height: 90%;
  }

  .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;
  }
}

/* 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: #273024;
  text-align: left;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dfe8da;
  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);
  border-color: #badb9e;
  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: #65705f;
  background: #f3f6f1;
  border: 1px solid #dce5d8;
  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: #4c5548;
  -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, #fafff5 0%, #eef9e5 100%);
  border-color: #86c84e;
  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-disabled,
body.journey-started .journey-step:disabled {
  opacity: 0.46;
  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: none;
  }

  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 and assisted delivery location. */
.checkout-buyer-grid,
.checkout-delivery-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.checkout-buyer-company,
.checkout-delivery-address {
  grid-column: 1 / -1;
}

.checkout-buyer-third,
.checkout-buyer-document-type,
.checkout-buyer-document,
.checkout-delivery-city,
.checkout-delivery-state,
.checkout-delivery-postal {
  grid-column: span 2;
}

.checkout-buyer-contact {
  grid-column: span 3;
}

.checkout-delivery-reference {
  grid-column: span 4;
}

.checkout-delivery-map {
  display: flex;
  align-items: end;
  grid-column: span 2;
}

.checkout-delivery-map .checkout-map-link {
  width: 100%;
  min-height: 44px;
  font-weight: 800;
}

.checkout-delivery-postal small {
  margin-top: 5px;
  color: #788274;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.35;
}

.checkout-location-assist {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 12px 11px 14px;
  background: linear-gradient(100deg, #f7fbf4 0%, #fbfdf9 100%);
  border: 1px solid #dfeadc;
  border-radius: 14px;
}

.checkout-location-assist > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.checkout-location-assist strong {
  color: #172015;
  font-size: 12px;
  line-height: 1.25;
}

.checkout-location-assist small,
#checkoutLocationStatus {
  color: #687363;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.4;
}

#checkoutLocationStatus:empty {
  display: none;
}

#checkoutLocationStatus[data-state="success"] {
  color: #28762f;
}

#checkoutLocationStatus[data-state="error"] {
  color: #a33a2c;
}

#checkoutUseLocationBtn {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  color: #184d20;
  background: #ffffff;
  border: 1px solid #cfe2ca;
  border-radius: 999px;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

#checkoutUseLocationBtn:hover,
#checkoutUseLocationBtn:focus-visible {
  color: #ffffff;
  background: var(--brand);
  border-color: var(--brand);
  outline: none;
}

#checkoutUseLocationBtn:disabled {
  cursor: wait;
  opacity: 0.64;
}

@media (max-width: 900px) {
  .checkout-buyer-company,
  .checkout-buyer-contact,
  .checkout-delivery-address,
  .checkout-delivery-reference,
  .checkout-delivery-map {
    grid-column: 1 / -1;
  }

  .checkout-buyer-third,
  .checkout-buyer-document-type,
  .checkout-buyer-document,
  .checkout-delivery-city,
  .checkout-delivery-state,
  .checkout-delivery-postal {
    grid-column: span 3;
  }

  .checkout-buyer-document {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .checkout-buyer-grid,
  .checkout-delivery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout-buyer-company,
  .checkout-buyer-third,
  .checkout-buyer-document-type,
  .checkout-buyer-document,
  .checkout-buyer-contact,
  .checkout-delivery-address,
  .checkout-delivery-city,
  .checkout-delivery-state,
  .checkout-delivery-postal,
  .checkout-delivery-reference,
  .checkout-delivery-map {
    grid-column: 1;
  }

  .checkout-location-assist {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  #checkoutUseLocationBtn {
    width: 100%;
  }
}

/* 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;
  }
}
