/* ==========================================================================
   Saddl Case Study: 35 SKUs Needed Stock Attention. Only 13 Still Had Pending Reorders.
   Route: /resources/case-studies/marketplace-inventory-reorder-diagnostic/
   Design System: Saddl Design Kit Tokens & Standards
   ========================================================================== */

:root {
  --cs-paper: #F5F3ED;
  --cs-ink: #28332D;
  --cs-forest: #26352E;
  --cs-terracotta: #BC452F;
  --cs-terracotta-bright: var(--cs-terracotta);
  --cs-sage: #819582;
  --cs-pale: #E4EADC;
  --cs-muted: #536457;
  --cs-mist: #D4DFD5;
  --cs-rule: #C9C9BD;
  --cs-peach: #E7B494;
  --cs-stone: #ECE9DF;
  --cs-soft: #ECE9DF;
  --cs-bluegrey: #E2E7E5;
  --cs-amber: #E7B494;
  --cs-display: var(--saddl-font-display, 'Barlow Condensed', 'Arial Narrow', sans-serif);
  --cs-body: var(--saddl-font-body, 'Manrope', Arial, sans-serif);
  --cs-read: min(760px, calc(100% - 48px));
  --cs-wide: min(1080px, calc(100% - 48px));
  --cs-full: min(1200px, calc(100% - 48px));
}

/* ── READING PROGRESS BAR ── */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--cs-terracotta);
  width: 0%;
  z-index: 999;
  transition: width 0.1s linear;
}

/* ── SHELL & CONTAINER ── */
.cs-inventory-page .wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  padding-bottom: 60px;
}

.cs-inventory-page .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 12px;
  padding-block: 22px 14px;
  color: var(--cs-muted);
  font-size: 0.9375rem;
}

.cs-inventory-page .breadcrumbs a {
  color: var(--cs-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.cs-inventory-page .breadcrumbs a:hover {
  color: var(--cs-terracotta);
  text-decoration: underline;
}

.cs-inventory-page .breadcrumbs span[aria-hidden="true"] {
  color: var(--cs-rule);
}

.cs-inventory-page .breadcrumb-badge {
  background: var(--cs-sage);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 6px;
}

/* ── ARTICLE HEADER ── */
.cs-inventory-page .article-header {
  max-width: var(--cs-wide);
  margin: 0 auto;
  padding: 24px 0 0;
}

.cs-inventory-page .cs-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cs-sage);
  margin-bottom: 14px;
}

.cs-inventory-page .article-header h1 {
  font-family: var(--cs-display);
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--cs-forest);
  max-width: 860px;
  margin-bottom: 16px;
}

.cs-inventory-page .article-header .supporting-line {
  font-family: var(--cs-body);
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--cs-muted);
  line-height: 1.5;
  max-width: 680px;
  margin-bottom: 22px;
  font-weight: 500;
}

.cs-inventory-page .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--cs-muted);
  margin-bottom: 36px;
}

.cs-inventory-page .meta-sep {
  opacity: 0.4;
}

/* ── SERIES STRIP ── */
.cs-inventory-page .series-strip {
  max-width: var(--cs-wide);
  margin: 0 auto 36px;
  background: var(--cs-stone);
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  border-left: 4px solid var(--cs-sage);
}

.cs-inventory-page .ss-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cs-forest);
  flex-shrink: 0;
}

.cs-inventory-page .ss-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cs-inventory-page .ss-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cs-muted);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid var(--cs-rule);
  background: var(--cs-paper);
  transition: all 0.15s ease;
}

.cs-inventory-page .ss-link:hover {
  color: var(--cs-forest);
  border-color: var(--cs-forest);
  text-decoration: none;
}

.cs-inventory-page .ss-link.anchor {
  background: var(--cs-forest);
  color: #fff;
  border-color: var(--cs-forest);
}

.cs-inventory-page .ss-link.anchor:hover {
  opacity: 0.9;
}

/* ── HERO CARD ── */
.cs-inventory-page .hero-card {
  background: var(--cs-forest);
  color: #fff;
  border-radius: 10px 10px 0 0;
  padding: 36px 36px 28px;
  max-width: var(--cs-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cs-inventory-page .hero-cell {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}

.cs-inventory-page .hero-cell .hc-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  line-height: 1.4;
  flex-grow: 0;
}

.cs-inventory-page .hero-cell .hc-value {
  font-family: var(--cs-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.cs-inventory-page .hero-cell .hc-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  margin-top: auto;
}

.cs-inventory-page .hc-value.terracotta { color: #FF7056; }
.cs-inventory-page .hc-value.peach { color: var(--cs-peach); }
.cs-inventory-page .hc-value.mist { color: var(--cs-mist); }
.cs-inventory-page .hc-value.amber { color: #E0A855; }

.cs-inventory-page .hero-bottom {
  background: var(--cs-forest);
  color: #fff;
  max-width: var(--cs-wide);
  margin: 0 auto 48px;
  border-radius: 0 0 10px 10px;
  padding: 18px 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.cs-inventory-page .hero-bottom strong {
  color: #fff;
}

/* ── AEO BLOCK ── */
.cs-inventory-page .aeo-block {
  max-width: var(--cs-read);
  margin: 0 auto 44px;
  background: var(--cs-pale);
  border-left: 4px solid var(--cs-forest);
  border-radius: 0 8px 8px 0;
  padding: 24px 28px;
}

.cs-inventory-page .aeo-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cs-forest);
  margin-bottom: 10px;
}

.cs-inventory-page .aeo-block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cs-ink);
  margin: 0;
}

/* ── BODY TEXT ── */
.cs-inventory-page .body-text {
  max-width: var(--cs-read);
  margin: 0 auto 36px;
}

.cs-inventory-page .body-text p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--cs-ink);
  margin-bottom: 20px;
}

.cs-inventory-page .body-text p:last-child {
  margin-bottom: 0;
}

.cs-inventory-page .body-text h2 {
  font-family: var(--cs-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cs-forest);
  margin: 48px 0 18px;
}

.cs-inventory-page .body-text h3 {
  font-family: var(--cs-display);
  font-size: clamp(19px, 3vw, 25px);
  font-weight: 600;
  color: var(--cs-forest);
  margin: 32px 0 14px;
}

/* ── SECTION DIVIDER ── */
.cs-inventory-page .section-divider {
  max-width: var(--cs-read);
  margin: 44px auto;
  height: 1px;
  background: var(--cs-rule);
  border: none;
}

/* ── PORTFOLIO STATUS ── */
.cs-inventory-page .portfolio-status {
  max-width: var(--cs-wide);
  margin: 0 auto 44px;
}

.cs-inventory-page .portfolio-status-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--cs-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-align: center;
}

.cs-inventory-page .status-bar-track {
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  margin-bottom: 20px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.cs-inventory-page .status-bar-seg {
  height: 100%;
}

.cs-inventory-page .seg-ok { background: var(--cs-sage); }
.cs-inventory-page .seg-overstock { background: var(--cs-amber); }
.cs-inventory-page .seg-critical { background: var(--cs-terracotta); }
.cs-inventory-page .seg-oos { background: var(--cs-peach); }
.cs-inventory-page .seg-reorder { background: #8B5E3C; }

.cs-inventory-page .status-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.cs-inventory-page .status-cell {
  padding: 20px 16px;
  border-radius: 6px;
  text-align: center;
  transition: transform 0.15s ease;
}

.cs-inventory-page .status-cell.cell-ok { background: rgba(129, 149, 130, 0.16); }
.cs-inventory-page .status-cell.cell-over { background: rgba(212, 145, 58, 0.14); }
.cs-inventory-page .status-cell.cell-critical { background: rgba(188, 69, 47, 0.12); }
.cs-inventory-page .status-cell.cell-oos { background: rgba(231, 180, 148, 0.2); }
.cs-inventory-page .status-cell.cell-reorder { background: var(--cs-soft); border: 1px solid var(--cs-rule); }

.cs-inventory-page .status-cell .sc-count {
  font-family: var(--cs-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
}

.cs-inventory-page .cell-ok .sc-count { color: var(--cs-forest); }
.cs-inventory-page .cell-over .sc-count { color: var(--cs-amber); }
.cs-inventory-page .cell-critical .sc-count { color: var(--cs-terracotta); }
.cs-inventory-page .cell-oos .sc-count { color: #BC6E41; }
.cs-inventory-page .cell-reorder .sc-count { color: var(--cs-muted); }

.cs-inventory-page .status-cell .sc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cs-muted);
}

.cs-inventory-page .portfolio-note {
  font-size: 13px;
  color: var(--cs-muted);
  font-style: italic;
  text-align: center;
  margin-top: 14px;
}

/* ── WATERFALL ── */
.cs-inventory-page .waterfall {
  max-width: var(--cs-wide);
  margin: 0 auto 16px;
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}

.cs-inventory-page .waterfall-step {
  flex: 1;
  min-width: 200px;
  position: relative;
  display: flex;
}

.cs-inventory-page .waterfall-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--cs-rule);
  z-index: 2;
  font-weight: 700;
}

.cs-inventory-page .wf-box {
  width: 100%;
  background: var(--cs-soft);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
  border-top: 4px solid var(--cs-rule);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cs-inventory-page .wf-box.wf-start { border-top-color: var(--cs-terracotta); }
.cs-inventory-page .wf-box.wf-mid { border-top-color: var(--cs-amber); }
.cs-inventory-page .wf-box.wf-end { border-top-color: var(--cs-forest); background: var(--cs-pale); }

.cs-inventory-page .wf-step-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cs-muted);
  margin-bottom: 8px;
}

.cs-inventory-page .wf-number {
  font-family: var(--cs-display);
  font-size: clamp(34px, 4.5vw, 50px);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
}

.cs-inventory-page .wf-box.wf-start .wf-number { color: var(--cs-terracotta); }
.cs-inventory-page .wf-box.wf-mid .wf-number { color: var(--cs-amber); }
.cs-inventory-page .wf-box.wf-end .wf-number { color: var(--cs-forest); }

.cs-inventory-page .wf-desc {
  font-size: 13px;
  color: var(--cs-ink);
  line-height: 1.4;
  margin-bottom: 6px;
  font-weight: 600;
}

.cs-inventory-page .wf-context {
  font-size: 12px;
  color: var(--cs-muted);
  margin-top: auto;
}

.cs-inventory-page .waterfall-caption {
  max-width: var(--cs-read);
  margin: 0 auto 44px;
  font-size: 13px;
  color: var(--cs-muted);
  font-style: italic;
  text-align: center;
  padding: 0 16px;
}

/* ── DECISION PANELS ── */
.cs-inventory-page .decision-panels {
  max-width: var(--cs-wide);
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cs-inventory-page .decision-panel {
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.cs-inventory-page .dp-move {
  background: var(--cs-pale);
  border-top: 4px solid var(--cs-forest);
}

.cs-inventory-page .dp-track {
  background: rgba(212, 145, 58, 0.08);
  border-top: 4px solid var(--cs-amber);
}

.cs-inventory-page .dp-buy {
  background: rgba(188, 69, 47, 0.07);
  border-top: 4px solid var(--cs-terracotta);
}

.cs-inventory-page .dp-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cs-muted);
  margin-bottom: 8px;
}

.cs-inventory-page .dp-headline {
  font-family: var(--cs-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 10px;
}

.cs-inventory-page .dp-move .dp-headline { color: var(--cs-forest); }
.cs-inventory-page .dp-track .dp-headline { color: #8F5C1B; }
.cs-inventory-page .dp-buy .dp-headline { color: var(--cs-terracotta); }

.cs-inventory-page .dp-sub {
  font-size: 13px;
  color: var(--cs-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cs-rule);
}

.cs-inventory-page .network-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 14px;
}

.cs-inventory-page .network-table th {
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cs-muted);
  padding: 4px 0 6px;
  border-bottom: 1px solid var(--cs-rule);
}

.cs-inventory-page .network-table td {
  padding: 6px 0;
  color: var(--cs-ink);
  border-bottom: 1px solid rgba(201, 201, 189, 0.4);
}

.cs-inventory-page .network-table tr:last-child td {
  font-weight: 700;
  border-bottom: none;
  padding-top: 8px;
}

.cs-inventory-page .dp-stats {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cs-inventory-page .dp-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(201, 201, 189, 0.4);
}

.cs-inventory-page .dp-stat-row:last-child {
  border-bottom: none;
}

.cs-inventory-page .dp-stat-label {
  color: var(--cs-muted);
  flex: 1;
}

.cs-inventory-page .dp-stat-value {
  font-weight: 700;
  color: var(--cs-ink);
}

.cs-inventory-page .dp-stat-value.highlight-ok {
  color: var(--cs-forest);
}

.cs-inventory-page .dp-stat-value.highlight-zero {
  color: var(--cs-terracotta);
}

.cs-inventory-page .dp-decision-block {
  margin-top: auto;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 6px;
}

.cs-inventory-page .dp-decision-verb {
  font-family: var(--cs-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.cs-inventory-page .dp-move .dp-decision-verb { color: var(--cs-forest); }
.cs-inventory-page .dp-track .dp-decision-verb { color: #8F5C1B; }
.cs-inventory-page .dp-buy .dp-decision-verb { color: var(--cs-terracotta); }

.cs-inventory-page .dp-decision-desc {
  font-size: 13px;
  color: var(--cs-muted);
  line-height: 1.5;
}

/* ── DECISION SUMMARY TABLE ── */
.cs-inventory-page .decision-summary {
  max-width: var(--cs-wide);
  margin: 0 auto 44px;
  overflow-x: auto;
}

.cs-inventory-page .ds-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--cs-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.cs-inventory-page .ds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--cs-paper);
}

.cs-inventory-page .ds-table thead th {
  background: var(--cs-forest);
  color: #fff;
  padding: 14px 18px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cs-inventory-page .ds-table thead th:first-child { border-radius: 6px 0 0 0; }
.cs-inventory-page .ds-table thead th:last-child { border-radius: 0 6px 0 0; }

.cs-inventory-page .ds-table tbody tr:nth-child(even) {
  background: var(--cs-soft);
}

.cs-inventory-page .ds-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--cs-rule);
  color: var(--cs-ink);
  vertical-align: top;
}

.cs-inventory-page .ds-table tbody td:first-child {
  font-weight: 600;
}

.cs-inventory-page .decision-verb-move {
  color: var(--cs-forest);
  font-family: var(--cs-display);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.cs-inventory-page .decision-verb-track {
  color: #8F5C1B;
  font-family: var(--cs-display);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.cs-inventory-page .decision-verb-buy {
  color: var(--cs-terracotta);
  font-family: var(--cs-display);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

.cs-inventory-page .decision-verb-hold {
  color: var(--cs-muted);
  font-family: var(--cs-display);
  font-size: 18px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── ALLOCATION BLOCK ── */
.cs-inventory-page .allocation-block {
  max-width: var(--cs-wide);
  margin: 0 auto 44px;
  background: var(--cs-stone);
  border-radius: 10px;
  overflow: hidden;
}

.cs-inventory-page .allocation-header {
  background: var(--cs-forest);
  color: #fff;
  padding: 24px 32px;
}

.cs-inventory-page .alloc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.cs-inventory-page .alloc-title {
  font-family: var(--cs-display);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
}

.cs-inventory-page .alloc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--cs-rule);
  padding: 2px;
}

.cs-inventory-page .alloc-cell {
  background: #fff;
  padding: 24px 20px;
  text-align: center;
}

.cs-inventory-page .alloc-cell.total-cell {
  background: var(--cs-pale);
}

.cs-inventory-page .ac-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cs-muted);
  margin-bottom: 8px;
}

.cs-inventory-page .ac-value {
  font-family: var(--cs-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  color: var(--cs-forest);
  line-height: 1;
  margin-bottom: 4px;
}

.cs-inventory-page .ac-unit {
  font-size: 12px;
  color: var(--cs-muted);
  font-weight: 500;
}

.cs-inventory-page .alloc-note {
  padding: 16px 32px;
  font-size: 13px;
  color: var(--cs-muted);
  line-height: 1.6;
  border-top: 1px solid var(--cs-rule);
  margin: 0;
}

/* ── SIGNAL BLOCKS ── */
.cs-inventory-page .signal-block {
  max-width: var(--cs-read);
  margin: 0 auto 36px;
  padding: 22px 28px;
  border-radius: 0 8px 8px 0;
  border-left: 4px solid var(--cs-rule);
}

.cs-inventory-page .signal-block.forest-border {
  border-left-color: var(--cs-forest);
  background: var(--cs-pale);
}

.cs-inventory-page .sb-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cs-forest);
  margin-bottom: 10px;
}

.cs-inventory-page .signal-block p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cs-ink);
  margin: 0;
}

/* ── CAPITAL CALLOUT ── */
.cs-inventory-page .capital-callout {
  max-width: var(--cs-wide);
  margin: 0 auto 44px;
  background: var(--cs-forest);
  color: #fff;
  border-radius: 10px;
  padding: 40px 44px;
  display: flex;
  gap: 36px;
  align-items: center;
}

.cs-inventory-page .cc-number {
  font-family: var(--cs-display);
  font-size: clamp(76px, 12vw, 114px);
  font-weight: 600;
  line-height: 0.85;
  color: #FF7056;
  flex-shrink: 0;
}

.cs-inventory-page .cc-content {
  flex: 1;
}

.cs-inventory-page .cc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.cs-inventory-page .cc-title {
  font-family: var(--cs-display);
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.1;
}

.cs-inventory-page .cc-question {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.cs-inventory-page .cc-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.cs-inventory-page .cc-factor {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.cs-inventory-page .cc-guardrail {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
  margin-top: 6px;
}

/* ── SADDL WORKFLOW ── */
.cs-inventory-page .saddl-workflow {
  max-width: var(--cs-wide);
  margin: 0 auto 44px;
  background: var(--cs-stone);
  border-radius: 10px;
  overflow: hidden;
}

.cs-inventory-page .sw-header {
  background: var(--cs-forest);
  color: #fff;
  padding: 28px 36px;
}

.cs-inventory-page .sw-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.cs-inventory-page .sw-title {
  font-family: var(--cs-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
}

.cs-inventory-page .workflow-chain {
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
}

.cs-inventory-page .wc-node {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.cs-inventory-page .wc-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
  width: 18px;
}

.cs-inventory-page .wc-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cs-terracotta);
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--cs-terracotta);
}

.cs-inventory-page .wc-line {
  width: 2px;
  flex: 1;
  background: var(--cs-rule);
  min-height: 28px;
  margin: 4px 0;
}

.cs-inventory-page .wc-line.last {
  background: transparent;
}

.cs-inventory-page .wc-content {
  flex: 1;
  padding-bottom: 24px;
}

.cs-inventory-page .wc-content.highlight {
  background: var(--cs-pale);
  border-radius: 8px;
  padding: 18px 22px;
  margin-bottom: 0;
}

.cs-inventory-page .wc-step {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cs-terracotta);
  margin-bottom: 4px;
}

.cs-inventory-page .wc-title {
  font-family: var(--cs-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--cs-forest);
  margin-bottom: 4px;
}

.cs-inventory-page .wc-desc {
  font-size: 14px;
  color: var(--cs-muted);
  line-height: 1.6;
}

/* ── CHECKLIST ── */
.cs-inventory-page .checklist-wrap {
  max-width: var(--cs-read);
  margin: 0 auto 44px;
}

.cs-inventory-page ol.checklist {
  list-style: none;
  counter-reset: item;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}

.cs-inventory-page ol.checklist li {
  counter-increment: item;
  display: flex;
  gap: 16px;
  padding: 18px 22px;
  background: var(--cs-soft);
  border-radius: 6px;
  align-items: flex-start;
}

.cs-inventory-page ol.checklist li::before {
  content: counter(item, decimal-leading-zero);
  font-size: 12px;
  color: var(--cs-terracotta);
  font-weight: 800;
  flex-shrink: 0;
  min-width: 24px;
  padding-top: 2px;
  line-height: 1;
  font-family: var(--cs-body);
}

.cs-inventory-page .checklist-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-inventory-page .checklist-content b {
  font-size: 15px;
  font-weight: 700;
  color: var(--cs-forest);
}

.cs-inventory-page .checklist-content em {
  font-size: 13.5px;
  color: var(--cs-muted);
  font-style: normal;
  line-height: 1.6;
}

/* ── FAQ ── */
.cs-inventory-page .faq-wrap {
  max-width: var(--cs-read);
  margin: 0 auto 48px;
}

.cs-inventory-page .faq-title {
  font-family: var(--cs-display);
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 600;
  color: var(--cs-forest);
  margin-bottom: 24px;
}

.cs-inventory-page .faq-item {
  border-top: 1px solid var(--cs-rule);
}

.cs-inventory-page .faq-item:last-child {
  border-bottom: 1px solid var(--cs-rule);
}

.cs-inventory-page details summary {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--cs-ink);
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: color 0.15s ease;
}

.cs-inventory-page details summary:hover {
  color: var(--cs-terracotta);
}

.cs-inventory-page details summary::-webkit-details-marker {
  display: none;
}

.cs-inventory-page details summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--cs-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cs-inventory-page details[open] summary::after {
  content: '−';
}

.cs-inventory-page .faq-body {
  font-size: 14.5px;
  color: var(--cs-muted);
  line-height: 1.75;
  padding-bottom: 22px;
}

/* ── CTA BLOCK ── */
.cs-inventory-page .cta-block {
  background: var(--cs-forest);
  color: #fff;
  border-radius: 10px;
  max-width: var(--cs-wide);
  margin: 0 auto 48px;
  padding: 52px 48px;
  text-align: center;
}

.cs-inventory-page .cta-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}

.cs-inventory-page .cta-title {
  font-family: var(--cs-display);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 16px;
}

.cs-inventory-page .cta-sub {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.cs-inventory-page .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cs-terracotta);
  color: #fff;
  padding: 14px 34px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.cs-inventory-page .cta-btn:hover {
  background: var(--cs-terracotta-bright);
  text-decoration: none;
  transform: translateY(-1px);
}

.cs-inventory-page .cta-tagline {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

/* ── RELATED RESOURCES ── */
.cs-inventory-page .related-wrap {
  max-width: var(--cs-wide);
  margin: 0 auto 48px;
}

.cs-inventory-page .related-title {
  font-family: var(--cs-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: var(--cs-forest);
  margin-bottom: 20px;
}

.cs-inventory-page .related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cs-inventory-page .related-card {
  background: var(--cs-soft);
  border-radius: 8px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.cs-inventory-page .related-card:hover {
  background: var(--cs-pale);
  border-color: var(--cs-rule);
  text-decoration: none;
  transform: translateY(-2px);
}

.cs-inventory-page .rc-type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cs-forest);
}

.cs-inventory-page .rc-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--cs-ink);
  line-height: 1.45;
  flex: 1;
}

/* ── DATA NOTE ── */
.cs-inventory-page .data-note {
  max-width: var(--cs-read);
  margin: 0 auto 56px;
  padding: 24px 28px;
  background: var(--cs-stone);
  border-radius: 6px;
  font-size: 13px;
  color: var(--cs-muted);
  line-height: 1.65;
}

.cs-inventory-page .data-note-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--cs-forest);
  margin-bottom: 10px;
}

.cs-inventory-page .data-note p {
  margin-bottom: 12px;
}

.cs-inventory-page .data-note p:last-child {
  margin-bottom: 0;
}

/* ── RESPONSIVE ADAPTATIONS ── */
@media (max-width: 860px) {
  .cs-inventory-page .hero-card {
    grid-template-columns: 1fr 1fr;
    padding: 28px 24px;
  }
  .cs-inventory-page .hero-bottom {
    padding: 16px 24px;
  }
  .cs-inventory-page .decision-panels {
    grid-template-columns: 1fr;
  }
  .cs-inventory-page .alloc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cs-inventory-page .related-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cs-inventory-page .status-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cs-inventory-page .waterfall {
    flex-direction: column;
  }
  .cs-inventory-page .waterfall-step:not(:last-child)::after {
    content: '↓';
    right: auto;
    left: 50%;
    top: auto;
    bottom: -18px;
    transform: translateX(-50%);
  }
  .cs-inventory-page .capital-callout {
    flex-direction: column;
    gap: 20px;
    padding: 32px 28px;
    text-align: left;
    align-items: flex-start;
  }
  .cs-inventory-page .series-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 540px) {
  .cs-inventory-page .hero-card {
    grid-template-columns: 1fr;
  }
  .cs-inventory-page .related-grid {
    grid-template-columns: 1fr;
  }
  .cs-inventory-page .status-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cs-inventory-page .alloc-grid {
    grid-template-columns: 1fr;
  }
  .cs-inventory-page .cta-block {
    padding: 36px 24px;
  }
  .cs-inventory-page .workflow-chain {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #progress { transition: none; }
}
