/* Page components for E-Comm 360 Lab pages (mockup v. 17 Nov 2026) */
.section { padding: 64px 0; }
.section.alt { background: var(--light); }
.section.dark { background: var(--base); color: #fff; }
.section h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 12px; }
.section .intro { color: var(--muted); max-width: 680px; margin: 0 0 28px; font-size: 17px; }
.section.dark .intro { color: rgba(255, 255, 255, .8); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.section.dark .eyebrow, .hero .eyebrow { color: var(--accent); }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.head-row h2 { margin: 0; }
.more { font-weight: 600; white-space: nowrap; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.box { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.section.alt .box { border-color: transparent; }
.box h3 { margin: 0 0 8px; font-size: 19px; }
.box p { margin: 0 0 10px; color: var(--muted); }
.box .link { font-weight: 600; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--light); color: var(--base); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa0b8; }
.badge.ok::before { background: #1f9d55; } .badge.warn::before { background: #e0a100; } .badge.no::before { background: #c8372d; }
.meta { font-size: 14px; color: var(--muted); }
.rows { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 16px; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); }
.row h3 { margin: 2px 0; font-size: 17px; }
.row .when { color: var(--muted); font-size: 14px; white-space: nowrap; }
.row-actions { display: flex; align-items: center; gap: 14px; }
.note { background: var(--light); border-radius: 14px; padding: 14px 18px; margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { font: inherit; font-size: 14px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--base); cursor: pointer; }
.chip[aria-pressed=true] { background: var(--base); border-color: var(--base); color: #fff; }
.steps-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; counter-reset: s; padding: 0; list-style: none; margin: 0 0 8px; }
.steps-nav a { text-decoration: none; font-weight: 500; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 40px 0; border-top: 1px solid var(--line); }
.step .num { width: 48px; height: 48px; border-radius: 50%; background: var(--base); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 20px "Space Grotesk", Arial, sans-serif; }
.step h2 { margin: 6px 0 10px; font-size: 26px; }
.step > div > p { color: var(--muted); max-width: 720px; }
.options-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 20px 0 10px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.option { background: var(--light); border-radius: 14px; padding: 16px; }
.option h4 { margin: 0 0 6px; font-size: 16px; }
.option p { margin: 0; color: var(--muted); font-size: 14px; }
.option.warn { background: #fff4e5; }
.step .go { display: inline-block; margin-top: 16px; font-weight: 600; }
.placeholder-text { color: var(--muted); font-style: italic; }
.bars { display: grid; gap: 12px; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; }
.bar .track { grid-column: 1 / -1; height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--base); border-radius: 999px; }
.bar .fill.peer { background: var(--accent); margin-top: 3px; }
.section.dark .bar .track { background: rgba(255, 255, 255, .2); }
.section.dark .bar .fill { background: #fff; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cols3 h3 { font-size: 18px; margin: 0 0 10px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.aside { position: sticky; top: 100px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.hidden-empty[hidden] { display: none !important; }
.loading { color: var(--muted); }
@media (max-width: 900px) {
  .g3, .g4, .cols3 { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 560px) {
  .g2, .g3, .g4, .cols3, .steps-nav { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .row { flex-direction: column; align-items: flex-start; }
  .section { padding: 44px 0; }
}