@import url("tokens.css");

:root {
  /* Console UI palette - aliased onto the real Ecosa design-system tokens (tokens.css)
     rather than hand-picked hex, so the console and the PDP preview both stay on-brand
     from one source. Names kept as-is so the rest of this file didn't need rewriting. */
  --bg: var(--ecosa-light-grey);
  --panel: var(--surface-card);
  --border: var(--line-default);
  --text: var(--text-body);
  --muted: var(--ecosa-dark-grey);
  --navy: var(--ecosa-blue);
  --gold: var(--ecosa-yellow);
  --gold-hover: #f0b716;
  --accent: var(--navy);
  --accent-light: var(--light-blue-20);
  --danger: var(--text-red);
  --warn-bg: var(--sun-tint);
  --warn-border: #e8cf9c;
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: var(--fw-medium); }

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--panel);
  border-bottom: 1px solid var(--border);
}

header.top .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
header.top .brand img { height: 22px; width: auto; display: block; }
header.top .brand span { color: var(--muted); font-weight: 600; font-size: 14px; padding-left: 10px; border-left: 1px solid var(--border); }

nav.top a {
  margin-left: 18px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
nav.top a.active, nav.top a:hover { color: var(--accent); font-weight: 600; }

main {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 24px 80px;
}

h1 { font-size: 22px; margin: 0 0 4px; }
h2 { font-size: 17px; margin: 0 0 10px; }
p.hint { color: var(--muted); font-size: 13px; margin-top: 2px; }

.source-of-truth-notice {
  background: var(--accent-light); border: 1px solid var(--ecosa-blue-40); border-radius: 8px;
  padding: 10px 14px; font-size: 13px; color: var(--navy); margin: 10px 0 16px; max-width: 720px;
}
.source-of-truth-notice strong { display: block; margin-bottom: 2px; }

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.grid { display: grid; gap: 14px; }
.grid.cols-2 { grid-template-columns: 1fr 1fr; }

label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--muted); }
input[type="checkbox"], input[type="radio"] {
  width: auto;
}
input[type="color"] {
  width: 44px;
  padding: 2px;
}
input, select, textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
textarea { resize: vertical; min-height: 60px; }
.field { margin-bottom: 12px; }

button {
  cursor: pointer;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}
button.primary { background: var(--gold); border-color: var(--gold); color: var(--navy); }
button.primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
button.ghost { background: transparent; border-color: transparent; color: var(--accent); }
button.danger { color: var(--danger); }
button:disabled { opacity: 0.5; cursor: default; }
button.small { padding: 4px 9px; font-size: 12px; }

.pdp-list-thumb { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; display: block; }
.pdp-list-thumb-empty {
  width: 44px; height: 44px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 12px;
}

.pdp-filters { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.pdp-filters input { flex: 1; min-width: 200px; }

.sku-panel { border-top: 1px solid var(--border); padding-top: 4px; }
.sku-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.sku-table th, .sku-table td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--border); }
.sku-table th { color: var(--muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.sku-table td { font-variant-numeric: tabular-nums; }
.pdp-filters select { width: auto; min-width: 150px; }

table { width: 100%; border-collapse: collapse; }
table th, table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--border); font-size: 14px; }
table th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; }
tr.row-link { cursor: pointer; }

table th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
table th.sortable:hover { color: var(--navy); }
table th.sortable::after { content: ""; display: inline-block; width: 10px; margin-left: 3px; opacity: 0.35; }
table th.sortable.sort-asc::after { content: "▲"; font-size: 9px; opacity: 1; color: var(--navy); }
table th.sortable.sort-desc::after { content: "▼"; font-size: 9px; opacity: 1; color: var(--navy); }

.pdp-alert-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.pdp-alert-badge.opportunity { background: #fff3e0; color: #7a4a12; }
.pdp-alert-badge.content_gap { background: var(--accent-light); color: var(--navy); }
.pdp-alert-badge:hover { filter: brightness(0.95); }

.btn-link {
  display: inline-block; padding: 4px 9px; font-size: 12px; font-weight: 700;
  border: 1px solid transparent; border-radius: 8px; color: var(--accent); text-decoration: none;
}
.btn-link:hover { background: var(--accent-light); }

.page-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 4px; }
.btn-link-primary {
  display: inline-block; background: var(--gold); color: var(--navy); text-decoration: none;
  padding: 10px 18px; border-radius: 8px; font-weight: 700; font-size: 13px; white-space: nowrap; flex-shrink: 0;
}
.btn-link-primary:hover { background: var(--gold-hover); }
tr.row-link:hover { background: var(--accent-light); }

.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.badge.draft { background: #eee; color: #666; }
.badge.in_review { background: var(--warn-bg); color: #8a6416; }
.badge.ready_for_dev { background: var(--accent-light); color: var(--accent); }

.repeat-row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.repeat-row > div { flex: 1; }
.repeat-row button { flex-shrink: 0; margin-top: 20px; }

.product-chip {
  display: inline-flex; align-items: center; background: var(--accent-light); color: var(--navy);
  font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 100px;
}
.product-chip button { flex-shrink: 0; margin-top: 0 !important; padding: 0 4px; }

.swatch-manage-grid { display: flex; flex-direction: column; gap: 10px; }
.swatch-manage-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.swatch-manage-preview { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--border); object-fit: cover; flex-shrink: 0; }
.swatch-manage-name { flex: 1; font-weight: 600; }
.swatch-manage-row input[type="color"] { width: 40px; padding: 2px; flex-shrink: 0; }

.block-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.block-header h2 { margin: 0; }

.two-col { display: grid; grid-template-columns: 1fr 260px; gap: 20px; align-items: start; }
.sticky { position: sticky; top: 20px; }

.step-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.step-nav .step-tab {
  background: #fff; border: 1px solid var(--border); color: var(--muted);
  font-size: 12px; font-weight: 600; padding: 6px 10px 6px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.step-nav .step-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.lib-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.lib-tab {
  background: #fff; border: 1px solid var(--border); color: var(--muted);
  font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 999px; cursor: pointer;
}
.lib-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.step-progress-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%; font-size: 10px; font-weight: 700;
  background: var(--border); color: var(--muted); flex-shrink: 0;
}
.step-progress-badge.complete { background: #4caf50; color: #fff; }
.step-progress-badge.partial { background: var(--gold); color: var(--navy); }
.step-progress-badge.empty { background: #fff; border: 1px solid currentColor; color: inherit; opacity: 0.5; }
.step-actions { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 24px; }

.version-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.version-item > div:first-child { cursor: pointer; flex: 1; }
.version-item > div:first-child:hover { color: var(--accent); }
.version-item .meta { color: var(--muted); font-size: 12px; }

.warning-box { background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 8px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }

.diff-added { background: #e6f4ea; }
.diff-removed { background: #fbe9e7; text-decoration: line-through; }

.asset-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.asset-thumb {
  position: relative; display: flex; flex-direction: column; align-items: center;
  width: 140px; font-size: 12px; cursor: grab; padding: 6px; border-radius: 8px;
  border: 1px solid transparent;
}
.asset-thumb:active { cursor: grabbing; }
.asset-thumb.drag-over { border-color: var(--navy); background: var(--accent-light); }
.asset-thumb img, .asset-thumb video { width: 140px; height: 105px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border); background: #000; }
.asset-thumb .asset-number {
  position: absolute; top: 10px; left: 10px; background: var(--navy); color: #fff;
  font-weight: 700; font-size: 11px; width: 20px; height: 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.asset-thumb .asset-caption { margin-top: 6px; text-align: center; word-break: break-word; }
.asset-thumb .asset-tag { color: var(--navy); font-weight: 600; text-align: center; }
.asset-thumb.is-primary img, .asset-thumb.is-primary video { border: 3px solid var(--navy); box-shadow: 0 0 0 2px var(--accent-light); }
.asset-thumb .asset-primary-badge {
  position: absolute; top: 10px; right: 10px; background: var(--navy); color: #fff;
  font-size: 9px; font-weight: 700; letter-spacing: 0.04em; padding: 2px 6px; border-radius: 4px;
}
.asset-add-tile {
  align-items: center; justify-content: center; cursor: pointer;
  border: 2px dashed var(--border); border-radius: 8px; width: 140px; height: 140px;
}
.asset-add-tile:hover { border-color: var(--navy); background: var(--accent-light); }
.asset-add-plus { font-size: 32px; color: var(--navy); line-height: 1; font-weight: 300; }
.upload-preview { display: block; max-width: 220px; max-height: 160px; border-radius: 6px; border: 1px solid var(--border); background: #000; }

.gallery-dropzone { width: 100%; height: 90px; flex-direction: row; gap: 12px; margin-bottom: 18px; font-size: 13.5px; }
.gallery-dropzone .asset-add-plus { font-size: 24px; }
.gallery-section { margin-bottom: 20px; padding-top: 12px; border-top: 1px solid var(--border); }
.gallery-section h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.change-row { border-bottom: 1px solid var(--border); padding: 10px 0; font-size: 13px; }
.change-row .path { font-family: monospace; color: var(--muted); font-size: 12px; }
.change-row .old { color: var(--danger); text-decoration: line-through; }
.change-row .new { color: var(--accent); font-weight: 600; }

.rich-field { display: flex; flex-direction: column; gap: 0; margin-bottom: 12px; }
.boxed-field { border: 1px solid var(--accent-light); background: var(--accent-light); border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.boxed-field label { color: var(--navy); }
.bullet-toolbar {
  flex: 0 0 auto; display: flex; flex-direction: row; align-items: center; gap: 2px;
  background: var(--bg); border: 1px solid var(--border); border-bottom: none;
  border-radius: 8px 8px 0 0; padding: 5px 6px;
}
.bullet-toolbar button {
  width: 30px; height: 30px; padding: 0; border: none; background: transparent;
  border-radius: 4px; font-size: 14px; font-weight: 700; color: var(--text);
}
.bullet-toolbar button:hover { background: var(--accent-light); color: var(--navy); }
.bullet-toolbar button:disabled { opacity: 0.35; pointer-events: none; }
.bullet-toolbar button.active { background: var(--navy); color: #fff; }
.bullet-toolbar .toolbar-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; flex: 0 0 auto; }
.bullet-toolbar input[type=color] { width: 26px; height: 26px; padding: 0; border: 1px solid var(--border); border-radius: 4px; cursor: pointer; }
.bullet-editable {
  flex: 1; min-height: 40px; border: 1px solid var(--border); border-top: none;
  border-radius: 0 0 8px 8px; padding: 10px 12px; background: #fff; font-size: 14px;
}
.bullet-editable:focus { outline: 2px solid var(--accent-light); outline-offset: -1px; }
.bullet-editable.html-source { font-family: monospace; font-size: 12.5px; white-space: pre-wrap; color: var(--text); background: var(--bg); }
.bullet-editable ul { margin: 4px 0; padding-left: 20px; }
.bullet-editable.highlight-box-preview {
  background: var(--accent-light);
  border-color: transparent;
  border-radius: 0 0 12px 12px;
  padding: 16px 18px;
  line-height: 1.6;
}
.bullet-editable.highlight-box-preview ul { padding-left: 18px; margin: 0; }
.bullet-editable.highlight-box-preview li { margin-bottom: 6px; }
.bullet-editable.highlight-box-preview li:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }
.empty-state { color: var(--muted); padding: 30px 0; text-align: center; }

/* Preview page */
.device-toolbar { display: flex; align-items: center; gap: 8px; margin: 16px 0; }
.device-toolbar button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.device-frame-wrap { display: flex; justify-content: center; padding-bottom: 60px; }
.device-frame {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; transition: width 0.2s ease; box-shadow: 0 4px 24px rgba(16, 49, 142, 0.08);
}
.device-frame.mobile { width: 390px; }
.device-frame.tablet { width: 768px; }
.device-frame.desktop { width: 1140px; }

.pdp-preview { font-size: 14px; color: var(--text); }
.pdp-preview .pdp-topbar { background: #ece3fb; text-align: center; font-size: 11px; font-weight: 700; color: var(--navy); padding: 8px; }
.pdp-preview .pdp-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; }
.pdp-preview .pdp-header img { height: 18px; }
.pdp-preview .pdp-icons { display: flex; gap: 12px; color: var(--navy); font-size: 15px; }
.pdp-preview .pdp-search { display: flex; margin: 0 16px 12px; }
.pdp-preview .pdp-search input { flex: 1; border: 1px solid var(--border); border-radius: 8px 0 0 8px; padding: 8px 10px; background: var(--bg); font-size: 13px; }
.pdp-preview .pdp-search button { background: var(--navy); color: #fff; border-radius: 0 8px 8px 0; padding: 0 14px; border: none; }
/* Real spec from the linked Figma frame (Breadcrumbs, node 13241:75418): Nimbus Sans
   Regular 16px, Dark Grey #6A6A6A, 12px gap between icon and text, 18px icon. */
.pdp-preview .pdp-breadcrumb { display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter-mobile) 10px; font-size: 16px; color: var(--ecosa-dark-grey); }
.pdp-preview .pdp-breadcrumb-home { height: 18px; width: 18px; }

.pdp-preview .pdp-hero { position: relative; }
.pdp-preview .pdp-hero img, .pdp-preview .pdp-hero video { width: 100%; display: block; max-height: 320px; object-fit: cover; }
.pdp-preview .pdp-hero-empty { padding: 40px 20px; text-align: center; color: var(--muted); background: var(--bg); font-size: 13px; }

/* Confirmed against the live Pure Mattress PDP: award badges overlay the hero's top-left
   corner, each slightly overlapping the next. The live site pre-composites these into one
   image per product; here we stack the library's individual logos since Naomi picks awards
   per-product from a list rather than uploading a combined graphic. */
.pdp-preview .pdp-award-overlay { position: absolute; top: 12px; left: 12px; display: flex; z-index: 1; }
.pdp-preview .pdp-award-badge {
  width: 52px; height: 52px; border-radius: 50%; object-fit: contain; background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); margin-left: -14px;
}
.pdp-preview .pdp-award-badge:first-child { margin-left: 0; }
.pdp-preview .pdp-award-badge.placeholder {
  display: flex; align-items: center; justify-content: center; font-size: 10px;
  font-weight: 700; color: var(--navy);
}

/* Confirmed against the live Pure Mattress PDP at desktop width: Grid's distinct layout is
   hero on top + a 2x2 grid of the next 4 images below it (24px gaps), replacing the
   thumbnail strip entirely - desktop only, mobile/tablet keep the single-hero + thumbnail
   strip like Landscape. A landscape-oriented asset spans the full 2x2 block rather than
   being squeezed into one square cell. */
.pdp-preview .pdp-hero-grid { display: none; }
.device-frame.desktop .pdp-preview .pdp-hero-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense;
  gap: 24px; margin: 24px var(--gutter-mobile) 0;
}
.pdp-preview .pdp-hero-grid-item { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 4px; display: block; }
.pdp-preview .pdp-hero-grid-item.landscape { grid-column: span 2; grid-row: span 2; }
.device-frame.desktop .pdp-preview .pdp-thumbs-grid-mode { display: none; }

/* Real spec from the linked "Portrait Gallery" mobile/tablet frame (node 2661:119111,
   "Tablet - Sleepwear Grid"): same single-hero + carousel structure as Landscape, just a
   portrait-cropped hero (510:907) and portrait thumbnails (56:93) instead of landscape ones. */
.pdp-preview .pdp-hero-portrait img, .pdp-preview .pdp-hero-portrait video { max-height: none; aspect-ratio: 510/907; }
.pdp-preview .pdp-thumb.portrait { aspect-ratio: 56/93; width: 48px; }
/* Real spec from the linked "Landscape Gallery" frame (node 779:11013): 98:59 aspect
   thumbnails, 16px gap, 2px selected border in Ecosa Blue-40. */
.pdp-preview .pdp-thumbs { display: flex; gap: 16px; padding: 10px 16px; overflow-x: auto; }
.pdp-preview .pdp-thumb { width: 66px; aspect-ratio: 98/59; object-fit: cover; border-radius: 2px; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; }
.pdp-preview .pdp-thumb.active { border-color: var(--ecosa-blue-40); }

/* Desktop: gallery sits left, the "buy box" (title through Add to Cart) sits right -
   confirmed against the live Pure Mattress PDP at desktop width. Mobile/tablet stack them
   in document order, which is the same single column this already was. */
.pdp-preview .pdp-desktop-columns { display: flex; flex-direction: column; }
.pdp-preview .pdp-gallery-col { min-width: 0; }
.device-frame.desktop .pdp-preview .pdp-desktop-columns { flex-direction: row; align-items: flex-start; gap: 32px; padding: 24px var(--gutter-mobile) 0; }
.device-frame.desktop .pdp-preview .pdp-gallery-col { flex: 1 1 55%; }
.device-frame.desktop .pdp-preview .pdp-buybox-col { flex: 1 1 45%; padding: 0; }
.device-frame.desktop .pdp-preview .pdp-hero img, .device-frame.desktop .pdp-preview .pdp-hero video { max-height: none; }

.pdp-preview .pdp-body { padding: 16px 16px 8px; }
.pdp-preview .pdp-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
/* Real spec from the linked Figma frame (Product Name, node 800:4117): Filson Pro Medium,
   #10318E, 26px mobile / 30px desktop+tablet, line-height 1.25. */
.pdp-preview h1 { font-size: 26px; line-height: 1.25; margin: 0; color: var(--navy); flex: 1; }
.device-frame.tablet .pdp-preview h1, .device-frame.desktop .pdp-preview h1 { font-size: 30px; }
.pdp-preview .pdp-heart { font-size: 20px; color: var(--muted); flex-shrink: 0; }
.pdp-preview .pdp-yotpo-placeholder { color: var(--muted); font-size: 12px; letter-spacing: 0.5px; margin-bottom: 10px; opacity: 0.6; cursor: help; }
.pdp-preview .pdp-paragraph { color: #6a6a6a; font-size: 16px; line-height: 24px; margin-bottom: 16px; }
.pdp-preview .pdp-highlight-box { background: #eef4fe; border-radius: 8px; padding: 12px; margin-bottom: 16px; }
.pdp-preview .pdp-highlight-box ul { margin: 0 0 0 20px; padding-left: 0; list-style-position: outside; }
.pdp-preview .pdp-highlight-box li { color: #6a6a6a; font-size: 16px; line-height: 24px; }
.pdp-preview .pdp-highlight-box li strong, .pdp-preview .pdp-highlight-box li b { color: #1c398e; font-weight: 600; }

.pdp-preview .pdp-variant-group { margin-bottom: 14px; }
.pdp-preview .pdp-variant-label { font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 13px; }
.pdp-preview .pdp-variant-options { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-preview .pdp-variant-chip { border: 1px solid var(--border); border-radius: 8px; padding: 6px 14px; font-size: 12px; }

/* Figma "Mattress and Bed Size" variant selector - dropdown with per-option RRP. */
.pdp-preview .pdp-size-dropdown { display: flex; flex-direction: column; gap: 2px; border-radius: 8px; overflow: hidden; }
.pdp-preview .pdp-size-dropdown-header {
  background: #f8f8fa; height: 50px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between;
  font-size: 18px; font-weight: 500; color: #10318e; cursor: pointer;
}
.pdp-preview .pdp-size-dropdown-chevron { font-size: 16px; color: #10318e; }
.pdp-preview .pdp-size-dropdown-list { display: flex; flex-direction: column; gap: 2px; }
.pdp-preview .pdp-size-dropdown-row {
  background: #f8f8fa; height: 40px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 500; color: #10318e; cursor: pointer;
}
.pdp-preview .pdp-size-dropdown-row.selected { background: #e6e9f2; }
.pdp-preview .pdp-size-dropdown-price { text-align: right; }

/* Figma "Color Swatches" variant selector. */
.pdp-preview .pdp-color-swatch-row { display: flex; flex-wrap: wrap; gap: 4px; }
.pdp-preview .pdp-color-swatch { width: 32px; height: 32px; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; box-sizing: border-box; }
.pdp-preview .pdp-color-swatch.selected { border: 1px solid #a1adcf; }
.pdp-preview .pdp-color-swatch-fill { width: 25px; height: 25px; border-radius: 2px; border: 1px solid rgba(0,0,0,0.08); object-fit: cover; }

.pdp-preview .pdp-cart-row { display: flex; gap: 10px; align-items: center; margin: 16px 0 20px; }
.pdp-preview .pdp-cart-btn { flex: 1; background: var(--gold); color: var(--navy); font-weight: 700; text-align: center; padding: 13px; border-radius: 8px; }
.pdp-preview .pdp-heart-box { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); flex-shrink: 0; }

/* Non-editable site/commerce chrome (pricing engine, delivery checker, reviews, quantity) -
   shown greyed-out so it's clear this isn't content drafted or stored in this console. */
.pdp-preview .pdp-chrome { background: var(--bg); border: 1px dashed var(--border); border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; opacity: 0.65; cursor: help; }
.pdp-preview .pdp-chrome-caption { font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 8px; }
/* Real spec from the linked Figma frame (Price - Non-Member state, node 6446:77767):
   two columns (Full Price / Member Price), each a small Nimbus Sans label over a 30px
   Filson Pro Medium value; the Member Price value and "Sign up" pill use the brand's
   blue gradient (#537EFF -> #10318E). */
.pdp-preview .pdp-price-row { display: flex; align-items: flex-start; gap: 16px; }
.pdp-preview .pdp-price-col { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pdp-preview .pdp-price-label { font-family: var(--font-body); font-size: 14px; color: var(--navy); }
.pdp-preview .pdp-price-value { font-family: var(--font-display); font-size: 30px; color: var(--navy); line-height: 1.25; }
.pdp-preview .pdp-price-value.member {
  background: linear-gradient(180deg, #537EFF 15.869%, var(--navy) 93.751%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pdp-preview .pdp-price-pill {
  display: flex; align-items: center; gap: 4px; margin-top: 4px; padding: 6px 8px; border-radius: 30px;
  background: linear-gradient(180deg, #537EFF 15.869%, var(--navy) 93.751%);
  color: #fff; font-family: var(--font-body); font-size: 14px; white-space: nowrap;
}
.pdp-preview .pdp-price-pill-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 14px; height: 14px;
  border-radius: 50%; border: 1px solid #fff; font-size: 9px; font-family: var(--font-display);
}
.pdp-preview .pdp-availability-row { display: flex; gap: 8px; margin-top: 10px; }
.pdp-preview .pdp-availability-row input { flex: 1; border: 1px solid var(--border); border-radius: 6px; padding: 8px 10px; font-size: 12px; background: #fff; }
.pdp-preview .pdp-availability-row button { border: 1px solid var(--border); border-radius: 6px; padding: 8px 12px; font-size: 12px; background: #fff; color: var(--muted); }
.pdp-preview .pdp-qty-stepper { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; flex-shrink: 0; opacity: 0.65; }
.pdp-preview .pdp-qty-stepper span { width: 32px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.pdp-preview .pdp-qty-stepper span:first-child, .pdp-preview .pdp-qty-stepper span:last-child { background: var(--bg); cursor: help; }

.pdp-preview .pdp-reviews-summary { display: flex; align-items: center; gap: 14px; }
.pdp-preview .pdp-reviews-score { font-size: 30px; font-weight: 700; color: var(--navy); }
.pdp-preview .pdp-reviews-bars { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.pdp-preview .pdp-reviews-bar-row { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--muted); }
.pdp-preview .pdp-reviews-bar-track { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.pdp-preview .pdp-reviews-bar-fill { height: 100%; background: var(--muted); }
.pdp-preview .pdp-review-card { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; }
.pdp-preview .pdp-review-card .line { height: 9px; background: var(--border); border-radius: 4px; margin-bottom: 6px; }
.pdp-preview .pdp-review-card .line.short { width: 40%; }
.pdp-preview .pdp-review-card .line.long { width: 90%; }

.pdp-preview .pdp-reco-heading { font-weight: 700; color: var(--navy); font-size: 15px; margin-bottom: 10px; }
.pdp-preview .pdp-reco-row { display: flex; gap: 10px; overflow-x: auto; }
.pdp-preview .pdp-reco-chip { flex: 0 0 110px; }
.pdp-preview .pdp-reco-chip .thumb { width: 110px; height: 82px; border-radius: 6px; background: var(--border); margin-bottom: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pdp-preview .pdp-reco-chip .thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-preview .pdp-reco-chip .name { font-size: 12px; color: var(--navy); font-weight: 600; }
.pdp-preview .pdp-reco-chip.placeholder .thumb { background: var(--bg); border: 1px dashed var(--border); }
.pdp-preview .pdp-reco-chip.placeholder .name { color: var(--muted); }
.pdp-preview .pdp-ugc-placeholder-row { display: flex; gap: 8px; }
.pdp-preview .pdp-ugc-placeholder-row .box { flex: 1; height: 90px; background: var(--bg); border: 1px dashed var(--border); border-radius: 6px; }

/* "Take a Real-Life Look" UGC carousel */
.pdp-preview .pdp-ugc-section { margin-bottom: 20px; }
.pdp-preview .pdp-ugc-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.pdp-preview .pdp-ugc-header > span { font-weight: 700; color: var(--navy); font-size: 15px; }
.pdp-preview .pdp-ugc-arrows { display: flex; gap: 8px; }
.pdp-preview .pdp-ugc-arrow {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  color: var(--navy); font-size: 15px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.pdp-preview .pdp-ugc-arrow:not(.ghost) { background: var(--navy); color: #fff; border-color: var(--navy); }
.pdp-preview .pdp-ugc-track { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.pdp-preview .pdp-ugc-item { width: 100px; height: 130px; object-fit: cover; border-radius: 8px; flex-shrink: 0; scroll-snap-align: start; }

/* "Recycle Your Old Mattress" block */
.pdp-preview .pdp-recycling-block { display: flex; gap: 14px; background: #eef6ea; border-radius: 10px; padding: 16px; margin-bottom: 20px; align-items: flex-start; }
.pdp-preview .pdp-recycling-icon { font-size: 26px; line-height: 1; flex-shrink: 0; }
.pdp-preview .pdp-recycling-title-row { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.pdp-preview .pdp-recycling-title { font-weight: 700; color: var(--navy); font-size: 14px; }
.pdp-preview .pdp-recycling-price { font-weight: 700; color: var(--navy); font-size: 14px; flex-shrink: 0; }
.pdp-preview .pdp-recycling-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin: 0 0 8px; }
.pdp-preview .pdp-recycling-desc strong { color: #333; }
.pdp-preview .pdp-recycling-link { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; color: var(--navy); text-decoration: underline; }

/* Enriched Blocks - 1/2/3-up heading+copy+image modules, or a full-bleed video */
.pdp-preview .pdp-enriched-block { margin-bottom: 24px; }
.pdp-preview .pdp-enriched-heading { text-align: center; color: var(--navy); font-size: 17px; font-weight: 700; margin: 0 0 14px; }
.pdp-preview .pdp-enriched-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.pdp-preview .pdp-enriched-grid.cols-1up .pdp-enriched-col { flex: 1 1 100%; }
.pdp-preview .pdp-enriched-grid.cols-2up .pdp-enriched-col { flex: 1 1 160px; }
.pdp-preview .pdp-enriched-grid.cols-3up .pdp-enriched-col { flex: 1 1 120px; }
.pdp-preview .pdp-enriched-col { display: flex; flex-direction: column; gap: 6px; }
.pdp-preview .pdp-enriched-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.pdp-preview .pdp-enriched-col-heading { color: var(--navy); font-size: 14px; font-weight: 700; margin: 4px 0 0; }
.pdp-preview .pdp-enriched-col-body { color: var(--muted); font-size: 12.5px; line-height: 1.5; margin: 0; }
.pdp-preview .pdp-enriched-video-el { width: 100%; border-radius: 8px; display: block; }

/* Real spec from the linked Figma frame (USPs, node 2304:42758): 24px gap between columns,
   16px between rows, Nimbus Sans Regular 16px navy text, green check-circle icon. */
.pdp-preview .pdp-trust-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 16px; }
.pdp-preview .pdp-trust-item { display: flex; align-items: flex-start; gap: 4px; font-family: var(--font-body); font-weight: 400; color: var(--navy); font-size: 16px; }
.pdp-preview .pdp-trust-check { position: relative; width: 24px; height: 24px; flex-shrink: 0; }
.pdp-preview .pdp-trust-check-circle { width: 100%; height: 100%; display: block; }
.pdp-preview .pdp-trust-check-tick { position: absolute; inset: 0; width: 100%; height: 100%; }
.pdp-preview .pdp-sustainability-row { display: flex; align-items: center; gap: 10px; margin: 16px 0 20px; }
.pdp-preview .pdp-sustainability-icon { width: 19px; height: 17px; flex-shrink: 0; }
.pdp-preview .pdp-sustainability-row span { font-family: var(--font-body); font-size: 14px; color: #478509; letter-spacing: 0.42px; }

/* Real spec from the linked Figma frame (Features accordion, node 922:14077): Filson Pro
   Medium 22px navy header, Nimbus Sans Regular 18px dark-grey body, #E0E0E0 divider. */
.pdp-preview .acc-section { border-bottom: 1px solid var(--border); }
.pdp-preview .acc-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; font-family: var(--font-display); font-weight: var(--fw-medium); color: var(--navy); font-size: 22px; }
.pdp-preview .acc-chevron { width: 14px; height: 8px; transition: transform 0.15s ease; }
.pdp-preview .acc-body { max-height: 0; overflow: hidden; }
.pdp-preview .acc-body.open { max-height: none; }
.pdp-preview .acc-body:not(.open) { display: none; }
.pdp-preview .acc-body-inner { padding-bottom: 16px; color: var(--muted); font-family: var(--font-body); font-size: 18px; line-height: 1.6; }
.pdp-preview .acc-body-inner ul { padding-left: 27px; margin: 0; }
.pdp-preview .acc-header:has(+ .acc-body.open) .acc-chevron { transform: rotate(180deg); }

/* Real spec from the linked Figma frame (Materials, node 922:15181): certification logos
   flex-wrap with 24px gaps, ~80px tall on desktop - scaled down here for the mobile-width
   preview panel. */
.pdp-preview .pdp-cert-row { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.pdp-preview .pdp-cert-badge { display: inline-block; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; font-size: 11px; }
.pdp-preview .pdp-cert-logo { height: 48px; width: auto; object-fit: contain; }
/* Real spec (FAQ, node 894:2372): Filson Pro Medium 30px navy heading, centered; outlined
   navy "See All FAQs" button below the list. */
.pdp-preview .pdp-faq-heading { font-family: var(--font-display); font-size: 30px; font-weight: var(--fw-medium); color: var(--navy); text-align: center; margin: 30px 0 32px; }
.pdp-preview .pdp-faq-see-all-row { display: flex; justify-content: center; margin-top: 24px; }
.pdp-preview .pdp-faq-see-all-btn {
  border: 1px solid var(--navy); border-radius: 8px; background: #fff; color: var(--navy);
  font-family: var(--font-display); font-weight: var(--fw-medium); font-size: 15px; padding: 12px 24px;
}

.pdp-preview .editable { border-radius: 6px; padding: 4px 6px; margin: -4px -6px; }
.pdp-preview .editable:hover { background: var(--accent-light); cursor: text; }
.pdp-preview .editable:focus { outline: 2px solid var(--navy); background: #fff; }

.home-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin: 20px 0; }
.home-stat { background: var(--panel); padding: 18px; }
.home-stat .num { font-size: 28px; font-weight: 700; color: var(--navy); }
.home-stat .lbl { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.home-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 24px; }
.home-card {
  display: block; background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
  padding: 18px; text-decoration: none; transition: border-color .15s ease;
}
.home-card:hover { border-color: var(--navy); }
.home-card-title { color: var(--navy); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.home-card p.hint { margin: 0; }

@media (max-width: 900px) {
  .home-stats, .home-cards { grid-template-columns: repeat(2, 1fr); }
}

.template-thumb-slot {
  width: 160px; height: 120px; flex-shrink: 0; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--border); cursor: pointer; background: var(--bg);
}
.template-thumb-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.template-thumb-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 4px; color: var(--muted); font-size: 12px; border: 2px dashed var(--border);
  box-sizing: border-box; border-radius: 8px;
}
.template-thumb-placeholder:hover { border-color: var(--navy); color: var(--navy); }

.template-variants { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 14px; }
.template-variants h4 { margin: 0 0 10px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.template-variant-card { display: flex; gap: 14px; flex-wrap: wrap; padding: 12px; background: var(--bg); border-radius: 8px; margin-bottom: 10px; }
.template-variant-card .template-thumb-slot { width: 120px; height: 90px; }
.template-device-label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; margin-bottom: 6px; }

.template-checkbox-list { max-height: 150px; overflow-y: auto; border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; background: #fff; }
.template-checkbox-row { display: flex; align-items: center; gap: 6px; padding: 3px 0; font-weight: 400; font-size: 13px; cursor: pointer; }

.template-stale-badge { display: block; font-size: 11.5px; color: #a15c00; background: #fff3e0; border-radius: 5px; padding: 3px 6px; margin-top: 6px; max-width: 180px; }

#template-toolbar {
  display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; margin-bottom: 16px;
}
.template-toolbar-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.template-toolbar-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.template-view-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.cro-card { margin-bottom: 16px; }
.cro-card-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.cro-card-empty { opacity: 0.7; }
.cro-metrics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.cro-metric { background: var(--bg); border-radius: 8px; padding: 10px 12px; }
.cro-metric-label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.cro-metric-value { font-size: 20px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.cro-metric-avg { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.cro-metric-diff.bad { color: #b3541e; font-weight: 600; }
.cro-metric-diff.good { color: #2f7d3c; font-weight: 600; }
.cro-flags { display: flex; flex-direction: column; gap: 8px; }
.cro-flag { display: flex; align-items: flex-start; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; line-height: 1.4; }
.cro-flag.opportunity { background: #fff3e0; color: #7a4a12; }
.cro-flag.positive { background: #eaf6ec; color: #1f5c2b; }
.cro-flag.content_gap { background: var(--accent-light); color: var(--navy); }
.cro-flag-icon { flex-shrink: 0; }
.cro-flags-label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; margin: 12px 0 6px; }
.cro-empty-list { margin-top: 8px; background: var(--bg); border-radius: 8px; padding: 8px 12px; max-height: 240px; overflow-y: auto; }
.cro-empty-row { font-size: 13px; color: var(--muted); padding: 4px 0; border-bottom: 1px solid var(--border); }
.cro-empty-row:last-child { border-bottom: none; }

/* Summary: headline stats + category breakdown + top-products-to-review, so the list of
   100+ PDPs below doesn't have to be scanned top to bottom to find what matters. */
.cro-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.cro-stat { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.cro-stat-value { font-size: 26px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.cro-stat-value.warn { color: #b3541e; }
.cro-stat-label { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.cro-summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.cro-summary-panel { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.cro-summary-panel h3 { margin: 0 0 10px; font-size: 14px; }
.cro-category-table { display: flex; flex-direction: column; gap: 8px; }
.cro-category-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.cro-category-name { font-weight: 600; text-transform: capitalize; min-width: 120px; }
.cro-chip { font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.cro-chip.opportunity { background: #fff3e0; color: #7a4a12; }
.cro-chip.content_gap { background: var(--accent-light); color: var(--navy); }
.cro-top-list { display: flex; flex-direction: column; gap: 2px; }
.cro-top-row { display: flex; flex-direction: column; padding: 7px 8px; border-radius: 6px; text-decoration: none; color: inherit; }
.cro-top-row:hover { background: var(--bg); }
.cro-top-name { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.cro-top-msg { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 880px) { .cro-summary-grid { grid-template-columns: 1fr; } }

.cro-toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.cro-toolbar input[type="search"] { flex: 1 1 220px; min-width: 180px; }
.cro-toolbar select { width: auto; }
.cro-toolbar .hint { margin-left: auto; }

/* Ad vs. content alignment: upload a successful ad, compare its message against this PDP's
   current copy. Collapsed by default since it's a secondary action on an already-dense card. */
.cro-ad-section { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.cro-ad-body { margin-top: 10px; }
.cro-ad-history { margin-bottom: 12px; }
.cro-ad-form { display: flex; flex-direction: column; gap: 8px; max-width: 480px; }
.cro-ad-form textarea { resize: vertical; font: inherit; }
.cro-ad-summary { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; margin-bottom: 12px; }
.cro-ad-claims { display: flex; flex-direction: column; gap: 8px; }
.cro-ad-claim { border-radius: 8px; padding: 8px 10px; font-size: 13.5px; border: 1px solid var(--border); }
.cro-ad-claim-head { display: flex; align-items: center; gap: 8px; }
.cro-ad-claim-status { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 2px 7px; border-radius: 999px; flex-shrink: 0; }
.cro-ad-claim.prominent { border-color: #cfe8d4; }
.cro-ad-claim.prominent .cro-ad-claim-status { background: #eaf6ec; color: #1f5c2b; }
.cro-ad-claim.buried { border-color: #f5ddb0; }
.cro-ad-claim.buried .cro-ad-claim-status { background: #fff3e0; color: #7a4a12; }
.cro-ad-claim.missing { border-color: #f0c4c4; }
.cro-ad-claim.missing .cro-ad-claim-status { background: #fbe4e4; color: #8a2f2f; }
.cro-ad-claim-suggestion { margin-top: 4px; color: var(--muted); font-size: 12.5px; }

/* Guide page: wide reference tables + the process-flow diagram. */
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 480px; }

.process-flow { display: flex; align-items: stretch; gap: 4px; flex-wrap: wrap; margin-top: 14px; }
.process-step {
  flex: 1 1 180px; min-width: 180px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 6px;
}
.process-step-loop { border-color: var(--ecosa-blue-40, var(--accent)); }
.process-step-num {
  width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.process-step h3 { margin: 0; font-size: 14.5px; }
.process-step p { margin: 0; font-size: 12.5px; color: var(--muted); flex: 1; }
.process-roles { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.role-chip { font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.role-chip.owner { background: var(--accent-light); color: var(--navy); }
.role-chip.reviewer { background: #fff3e0; color: #7a4a12; }
.role-chip.support { background: #eee; color: #666; }
.process-loop-note { font-size: 11px; color: var(--navy); font-weight: 600; margin-top: 2px; }
.process-arrow { display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--muted); flex: 0 0 auto; padding: 0 2px; }
@media (max-width: 720px) {
  .process-flow { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); padding: 4px 0; }
}
