/* Shared visual components for the refined commercial pages (platform, capability, regional).
   Loads after batch-05/06/07 + cinema.css. Forest panels use Peach for accents; Terracotta stays on Paper. */
.b8-dark { background: #26352e; color: #f5f3ed; border-radius: 4px; padding: 28px 20px; margin-block: 8px 34px; }
:is(.batch-five,.batch-six,.batch-seven) .b8-dark h2, :is(.batch-five,.batch-six,.batch-seven) .b8-dark h3 { color: #f5f3ed; }
:is(.batch-five,.batch-six,.batch-seven) .b8-dark p, :is(.batch-five,.batch-six,.batch-seven) .b8-dark dd { color: #d4dfd5; }
:is(.batch-five,.batch-six,.batch-seven) .b8-dark .eyebrow { color: #d4dfd5; }
:is(.batch-five,.batch-six,.batch-seven) .b8-dark .eyebrow::before { background: #e7b494; }
body .b8-dark a { color: #f5f3ed; }
.b8-dark :focus-visible { outline: 3px solid #e7b494 !important; outline-offset: 4px; }
.b8-note { font-size: 14px; color: #536457; }
:is(.batch-five,.batch-six,.batch-seven) .b8-dark .b8-note { color: #d4dfd5; }

/* Three-level ladder (Amazon PPC) */
.b8-ladder { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.b8-rung { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; padding-bottom: 22px; }
.b8-rung:last-child { padding-bottom: 0; }
.b8-rung::before { content: ''; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 2px; background: #536457; }
.b8-rung:last-child::before { display: none; }
.b8-rung-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #e7b494; color: #26352e; font: 600 26px/1 SaddlDisplay, Arial, sans-serif; position: relative; z-index: 1; }
.b8-rung h3 { font-size: 27px!important; margin-top: 2px; }
.b8-rung .b8-q { margin-top: 6px!important; color: #f5f3ed!important; font-weight: 600; }
.b8-rung .b8-a { margin-top: 6px!important; font-size: 15px; }
.b8-read { margin-top: 26px; padding-top: 20px; border-top: 1px solid #536457; }
.b8-read-label { font-size: 13px; color: #e7b494; margin-bottom: 12px; }
.b8-read ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.b8-read li b { display: block; font-weight: 600; color: #f5f3ed; }
.b8-read li span { font-size: 15px; color: #d4dfd5; }

.b8-details { border-top: 1px solid #c9c9bd; border-bottom: 1px solid #c9c9bd; margin-block: 8px; }
.b8-details summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 600; padding-block: 10px; }
.b8-details summary:focus-visible { outline: 3px solid #bc452f; outline-offset: 2px; }
.b8-details > :not(summary) { padding-bottom: 6px; }
:is(.batch-five,.batch-six,.batch-seven) .b8-details .metric-list { margin-block: 6px 12px; }
:is(.batch-five,.batch-six,.batch-seven) .b8-details .metric-list dt { font-size: 24px; }
:is(.batch-five,.batch-six,.batch-seven) .b8-tight { padding-block: 26px; }
:is(.batch-five,.batch-six,.batch-seven) .b8-close-line { font-size: 19px; }

@media (min-width: 768px) {
  .b8-dark { padding: 40px 36px; }
  .b8-read ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (min-width: 1000px) {
  .b8-dark { padding: 48px; }
  .b8-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .b8-cols .b8-read { margin-top: 26px; padding: 0 0 0 40px; border-top: 0; border-left: 1px solid #536457; }
  .b8-cols .b8-read ul { grid-template-columns: 1fr; gap: 22px; }
  .b8-ladder { max-width: 820px; }
  .b8-rung:nth-child(2) { margin-left: 28px; }
  .b8-rung:nth-child(3) { margin-left: 56px; }
}

.b8-details summary { list-style: none; justify-content: space-between; }
.b8-details summary::-webkit-details-marker { display: none; }
.b8-details summary::after { content: '+'; font-size: 24px; line-height: 1; color: #536457; padding-inline: 6px; }
.b8-details[open] summary::after { content: '\2212'; }

/* Operating decision flow (dark panel, three short steps) */
.b8-flow { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; counter-reset: flow; }
.b8-flow li { counter-increment: flow; position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 14px; padding-bottom: 20px; }
.b8-flow li:last-child { padding-bottom: 0; }
.b8-flow li::before { content: counter(flow); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; grid-row: 1 / span 2; background: #e7b494; color: #26352e; font: 600 26px/1 SaddlDisplay, Arial, sans-serif; position: relative; z-index: 1; }
.b8-flow li::after { content: ''; position: absolute; left: 21px; top: 46px; bottom: 2px; width: 2px; background: #536457; }
.b8-flow li:last-child::after { display: none; }
:is(.batch-five,.batch-six,.batch-seven) .b8-flow h3 { font-size: 26px; margin-top: 2px; }
:is(.batch-five,.batch-six,.batch-seven) .b8-flow p { margin-top: 4px; font-size: 15px; }
@media (min-width: 900px) {
  .b8-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
  .b8-flow li { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-bottom: 0; align-content: start; }
  .b8-flow li::before { grid-row: auto; }
  .b8-flow li::after { left: 54px; right: -40px; top: 21px; bottom: auto; width: auto; height: 2px; }
}

/* Two-channel comparison with product art (Noon Core vs Minutes) */
.b8-duo { display: grid; gap: 18px; margin-top: 22px; }
.b8-duo article { background: #f5f3ed; color: #28332d; border-radius: 4px; overflow: hidden; }
.b8-duo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.b8-duo article > div { padding: 18px 20px 22px; }
:is(.batch-five,.batch-six,.batch-seven) .b8-duo h3 { color: #26352e; }
:is(.batch-five,.batch-six,.batch-seven) .b8-duo p { color: #536457; }
.b8-duo-foot { margin-top: 18px!important; }
@media (min-width: 768px) { .b8-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .b8-duo img { aspect-ratio: 16 / 9; } }

/* Uncropped scene (Inventory): portrait art on phones, landscape from 768px. */
.b8-dark .b8-scene { margin: 24px 0 0; }
.b8-scene picture, .b8-scene img { display: block; width: 100%; height: auto; border-radius: 4px; }
.b8-legend { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px 24px; }
.b8-legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 0 12px; align-items: baseline; font-size: 15px; line-height: 1.45; color: #d4dfd5; }
.b8-legend li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #e7b494; transform: translateY(1px); }
.b8-legend b { color: #f5f3ed; font-weight: 600; }
@media (min-width: 640px) { .b8-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .b8-legend { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.b8-scene-portrait { max-width: 520px; margin-inline: auto; }

/* Four-step light flow */
.batch-six .operating-flow.of-4 li::before { color: #bc452f; font-weight: 700; }
@media (min-width: 640px) { .batch-six .operating-flow.of-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .batch-six .operating-flow.of-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Contribution ledger (Profitability): bars sized to an illustrative AED 100 */
.b8-calc { list-style: none; margin: 22px 0 0; padding: 0; }
.b8-calc li { display: grid; grid-template-columns: minmax(0, 1fr) 56px; gap: 6px 12px; align-items: center; padding: 12px 0; border-top: 1px solid #c9c9bd; }
.b8-calc li:first-child { border-top: 0; }
.b8-calc .b8-lbl { grid-column: 1 / -1; font-weight: 600; }
.b8-calc .b8-lbl i { font-style: normal; font-weight: 400; color: #536457; margin-right: 6px; }
.b8-track { height: 22px; background: #e4eadc; border-radius: 2px; overflow: hidden; }
.b8-track span { display: block; height: 100%; width: var(--w); border-radius: 2px; background: #819582; }
.b8-calc .b8-rev .b8-track span { background: #26352e; }
.b8-calc .b8-out { border-top: 2px solid #26352e; }
.b8-calc .b8-out .b8-track span { background: #bc452f; }
.b8-calc .b8-out .b8-lbl { font-size: 17px; }
.b8-val { font: 600 26px/1 SaddlDisplay, Arial, sans-serif; text-align: right; color: #26352e; }
.b8-calc-note { margin-top: 14px!important; font-size: 14px; color: #536457; }
.b8-trio { display: grid; gap: 0; margin-top: 8px; }
.b8-trio > div { padding: 18px 0; border-top: 1px solid #c9c9bd; }
.b8-trio h3 { font-size: 26px!important; }
.b8-trio p { margin-top: 6px!important; }
@media (min-width: 768px) { .b8-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; } .b8-calc li { grid-template-columns: 220px minmax(0, 1fr) 64px; } .b8-calc .b8-lbl { grid-column: auto; } }

/* Expected − Settled = Investigate (Amazon reconciliation). No figures: structure only. */
.b8-eq { display: grid; gap: 0; margin-top: 24px; }
.b8-eq-cell { padding: 20px; border-radius: 4px; background: #e4eadc; }
.b8-eq-cell .b8-tag { display: block; font-size: 13px; color: #536457; margin-bottom: 6px; }
.b8-eq-cell h3 { font-size: 28px!important; }
.b8-eq-cell p { margin-top: 6px!important; }
.b8-eq-op { display: grid; place-items: center; height: 40px; font: 600 30px/1 SaddlDisplay, Arial, sans-serif; color: #536457; }
.b8-eq-cell.b8-eq-flag { background: #f5f3ed; border: 2px solid #bc452f; }
.b8-eq-cell.b8-eq-flag .b8-tag { color: #9f3624; font-weight: 600; }
@media (min-width: 900px) { .b8-eq { grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr) 56px minmax(0, 1.1fr); align-items: stretch; } .b8-eq-op { height: auto; } }

/* Price position scale (Pricing): same AED 43 / 50 / 52 story as the OS pricing module, static. */
.b8-price { position: relative; height: 330px; margin-top: 8px; }
.b8-price-axis { position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: #536457; }
.b8-price-zone { position: absolute; left: 6px; width: 26px; bottom: 0; top: 30%; border-radius: 0 0 13px 13px; background: repeating-linear-gradient(135deg, rgba(231, 180, 148, .28) 0 6px, transparent 6px 12px); }
.b8-mark { position: absolute; left: 0; right: 84px; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 12px; align-items: center; transform: translateY(-50%); }
.b8-dot { width: 16px; height: 16px; margin-left: 11px; border-radius: 50%; background: #819582; border: 3px solid #26352e; box-sizing: content-box; position: relative; left: -3px; }
.b8-mark b { display: block; font: 600 30px/1 SaddlDisplay, Arial, sans-serif; color: #f5f3ed; }
.b8-mark div span { display: block; font-size: 14px; color: #d4dfd5; margin-top: 2px; }
.b8-mark-floor .b8-dot { background: #e7b494; }
.b8-mark-current .b8-dot { background: #f5f3ed; }
.b8-mark-floor b { color: #e7b494; }
.b8-mark-current { top: 12%; }
.b8-mark-floor { top: 33%; }
.b8-mark-median { top: 88%; }
.b8-bottle { position: absolute; right: 0; top: 0; width: 76px; height: auto; }
.b8-price-zone-label { position: absolute; left: 54px; top: 58%; font-size: 13px; color: #e7b494; max-width: 22ch; }
.b8-price-grid { display: grid; gap: 22px; }
.b8-verdict { padding: 18px 20px; border-left: 3px solid #e7b494; background: rgba(245, 243, 237, .06); }
.b8-verdict b { display: block; font: 600 26px/1.15 SaddlDisplay, Arial, sans-serif; color: #f5f3ed; }
.batch-six .b8-dark .b8-verdict p { margin-top: 6px; }
@media (min-width: 900px) { .b8-price-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; } .b8-price { max-width: 420px; } .b8-mark { right: 110px; } .b8-bottle { width: 96px; } }

/* Listing terms (Pricing): keep proven, add gaps */
.b8-terms { display: grid; gap: 16px; margin-top: 22px; }
.b8-terms > div { padding: 18px; border-radius: 4px; background: #f5f3ed; border: 1px solid #c9c9bd; }
.b8-terms h3 { font-size: 24px!important; }
.b8-chips { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.b8-chips li { padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #e4eadc; color: #26352e; }
.b8-chips.b8-gap li { background: transparent; color: #9f3624; border: 1.5px dashed #bc452f; }
.b8-terms .b8-arrow-label { font-size: 13px; color: #536457; }
@media (min-width: 768px) { .b8-terms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Regional "scope today" strip */
.b8-scope { display: grid; gap: 12px; align-items: center; padding: 18px 20px; border-radius: 4px; background: #26352e; color: #f5f3ed; margin-bottom: 8px; }
.b8-scope-label { font-size: 13px; color: #e7b494; }
.b8-scope .b8-chips { margin: 0; }
.b8-scope .b8-chips li { background: #e4eadc; color: #26352e; }
.b8-scope .b8-chips li.b8-road { background: transparent; color: #d4dfd5; border: 1.5px dashed #819582; font-weight: 500; }
@media (min-width: 768px) { .b8-scope { grid-template-columns: auto 1fr; gap: 12px 28px; padding: 20px 28px; } }
.batch-seven .b7-section:first-of-type { border-top: 0; }

/* Callouts: full border + tint instead of a thick side stripe */
.b8-verdict { border: 1px solid #536457; border-left-width: 1px; border-radius: 4px; }
.batch-seven .scope-note { border: 1px solid #b7c4b8; border-left-width: 1px; border-radius: 4px; background: #e4eadc; padding: 14px 18px; }
