/* Campaign page: one Saddl OS view that carries both the audit outcome (insights) and each product's story (levers).
   Light Paper frame on the Stone band, same family as Home's demo. Terracotta marks what needs attention; Sage/Forest are calm. */
.os { background: #e5e0d5; padding: 48px 0 56px; margin-top: 8px; }
.os :focus-visible { outline: 3px solid #bc452f; outline-offset: 2px; }
:is(.conversion,.cinema) .os h2 { max-width: 20ch; text-wrap: balance; }
:is(.conversion,.cinema) .os-lead { margin-top: 14px; color: #536457; max-width: 58ch; text-wrap: pretty; }
.ov-frame { margin-top: 24px; background: #fbfaf6; border: 1px solid #c9c9bd; border-radius: 8px; overflow: hidden; }
.ov-bar { display: flex; align-items: center; gap: 10px 18px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid #c9c9bd; }
.ov-brand { font: 800 22px/1 SaddlBody, Arial, sans-serif; letter-spacing: -1px; color: #28332d; }
.ov-brand span { font-weight: 400; letter-spacing: 0; }
.ov-tabs { display: flex; gap: 4px; margin-inline: auto; }
.ov-tab { min-height: 40px; padding: 8px 14px; border: 0; border-radius: 4px; background: transparent; font: 600 14px/1 SaddlBody, Arial, sans-serif; color: #536457; cursor: pointer; transition: background-color .25s, color .25s; }
.ov-tab[aria-selected="true"] { background: #e4eadc; color: #26352e; }
.ov-demo { font-size: 12px; color: #536457; }
:is(.conversion,.cinema) .os-brief { margin: 0; padding: 18px 16px 14px; font: 600 clamp(22px, 3vw, 30px)/1.14 SaddlDisplay, Arial, sans-serif; color: #26352e; max-width: 40ch; }

/* top products */
.sb-thumb { display: block; position: relative; overflow: hidden; border-radius: 4px; background: #e5e0d5; flex: none; }
.sb-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.os-prods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 16px 16px; }
.os-prod:last-child { grid-column: 1 / -1; }
.os-prod { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "th n" "r r" "c c" "t t"; row-gap: 1px; gap: 0 10px; align-items: center; text-align: left; padding: 10px; border: 1px solid #c9c9bd; border-radius: 6px; background: #fbfaf6; color: #28332d; cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; font-family: SaddlBody, Arial, sans-serif; }
.os-prod:hover { border-color: #819582; }
.os-prod[aria-selected="true"] { border-color: #26352e; background: #e4eadc; box-shadow: inset 0 0 0 1px #26352e; }
.os-prod .sb-thumb { grid-area: th; width: 40px; height: 40px; }
.os-pr { margin-top: 8px; }
.os-pn { grid-area: n; font-size: 14px; font-weight: 600; line-height: 1.2; }
.os-pr { grid-area: r; font-size: 13px; color: #536457; font-variant-numeric: tabular-nums; }
.os-pc { grid-area: c; font-size: 13px; color: #536457; font-variant-numeric: tabular-nums; }
.os-pt { grid-area: t; margin-top: 8px; padding-top: 6px; border-top: 1px solid #ddd9cd; font-size: 12px; font-weight: 700; color: #9f3624; }
.os-pt.is-ok { color: #536457; font-weight: 600; } .os-pt.is-opp { color: #26352e; }

/* insights (left) and story (right) */
.os-grid { display: grid; }
.ov-feed { padding: 16px; }
.ov-feed h3 { font-size: 22px; color: #26352e; display: flex; align-items: baseline; gap: 8px; }
.ov-feed h3 small { font: 400 14px SaddlBody, Arial, sans-serif; color: #536457; }
.ov-list { list-style: none; margin: 8px 0 0; padding: 0; }
.ov-row { border-top: 1px solid #ddd9cd; }
.ov-row[hidden] { display: none; }
.ov-head { display: grid; grid-template-columns: 58px minmax(0, 1fr) 20px; gap: 2px 12px; width: 100%; padding: 13px 4px; border: 0; background: transparent; text-align: left; cursor: pointer; align-items: start; font-family: SaddlBody, Arial, sans-serif; color: inherit; transition: background-color .2s; }
.ov-head:hover { background: #f5f3ed; }
.ov-row.is-rel > .ov-head { background: #f3f0e7; }
.ov-chip { grid-row: 1 / span 2; align-self: start; padding: 4px 0; border-radius: 3px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.ov-chip.is-act { background: #e7b494; color: #26352e; }
.ov-chip.is-watch { background: #e4eadc; color: #26352e; border: 1px solid #b7c4b8; }
.ov-cat { grid-column: 2; font-size: 13px; color: #536457; }
.ov-cat b { color: #9f3624; font-weight: 600; }
.ov-txt { grid-column: 2; font-size: 16px; line-height: 1.35; color: #28332d; font-weight: 600; }
.ov-caret { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 10px; height: 10px; border-right: 2px solid #536457; border-bottom: 2px solid #536457; transform: rotate(45deg); transition: transform .25s; justify-self: center; }
.ov-row.is-open .ov-caret { transform: rotate(-135deg); }
.ov-detail { padding: 0 4px 14px 74px; }
.ov-detail[hidden] { display: none; }
:is(.conversion,.cinema) .ov-detail p { margin: 0; font-size: 15px; color: #536457; max-width: 52ch; }
.ov-open { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 4px; font-size: 14px; font-weight: 600; color: #9f3624; text-decoration: none; border-bottom: 1px solid #bc452f; align-self: start; }
.ov-open:hover { color: #26352e; }

.os-story { padding: 16px; background: #f3f0e7; border-top: 1px solid #ddd9cd; min-width: 0; }
.st-head { display: flex; align-items: center; gap: 12px; }
.st-head .sb-thumb { width: 52px; height: 52px; }
.st-head p { margin: 0; font-size: 13px; color: #536457; line-height: 1.3; }
.st-head p b { display: block; font-size: 17px; color: #26352e; font-weight: 600; }
.st-label { margin: 16px 0 8px; font-size: 13px; color: #536457; }
.ov-econ { display: flex; height: 20px; border-radius: 3px; overflow: hidden; gap: 2px; }
.ov-econ span { display: block; height: 100%; transform-origin: left; }
.ov-e1 { background: #819582; } .ov-e2 { background: #c9c9bd; } .ov-e3 { background: #e7b494; } .ov-e4 { background: #26352e; }
.ov-legend { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
.ov-legend li { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: #28332d; }
.ov-legend i { width: 10px; height: 10px; border-radius: 2px; flex: none; transform: translateY(1px); }
.ov-legend b { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.st-group { margin: 26px 0 2px; font-size: 13px; font-weight: 600; color: #9f3624; }
.st-group.is-ok { color: #536457; margin-top: 16px; }
.st-lanes { list-style: none; margin: 0; padding: 0; position: relative; }
.st-lane { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) 100px; grid-template-areas: "mark id chart" "mark st chart"; column-gap: 12px; row-gap: 1px; align-items: center; padding: 12px 0; border-top: 1px solid #ddd9cd; }
.st-lanes > .st-lane:first-child { border-top: 0; }
.st-mark { grid-area: mark; align-self: center; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #b7bfb3; color: #f5f3ed; font: 600 18px/1 SaddlDisplay, Arial, sans-serif; position: relative; z-index: 1; background: #f3f0e7; }
.st-id { grid-area: id; display: flex; align-items: center; gap: 8px; align-self: end; color: #26352e; }
.st-id svg { width: 18px; height: 18px; flex: none; color: #819582; }
:is(.conversion,.cinema) .st-id h4 { margin: 0; font-size: 20px; line-height: 1.1; font-weight: 600; color: inherit; }
.st-status { grid-area: st; margin: 0; font-size: 14px; line-height: 1.35; color: #536457; align-self: start; }
.st-chart { grid-area: chart; width: 100px; height: auto; aspect-ratio: 160 / 56; overflow: visible; }
.st-lane.is-flag .st-mark { background: #bc452f; border-color: #bc452f; }
.st-lane.is-flag .st-id svg { color: #bc452f; }
.st-lane.is-flag .st-status { color: #28332d; font-weight: 600; }
.st-lane.is-opp .st-mark { background: #26352e; border-color: #26352e; }
.st-lane.is-opp .st-id svg { color: #26352e; }
.st-lane.is-ok { opacity: .7; }
.st-lane.is-pulse { background: #e4eadc; box-shadow: -8px 0 0 #e4eadc, 8px 0 0 #e4eadc; }
.st-link { position: absolute; left: 15px; top: -14px; width: 2px; height: 28px; background: #bc452f; transform-origin: top; z-index: 0; }
.st-link::after { content: ''; position: absolute; left: -4px; bottom: -1px; border: 5px solid transparent; border-top: 7px solid #bc452f; border-bottom: 0; }
.st-chart .c-a { stroke: #bc452f; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.st-chart .c-b { stroke: #819582; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-chart .c-fa { fill: #bc452f; } .st-chart .c-fb { fill: #819582; } .st-chart .c-fc { fill: #c9c9bd; }
.st-chart .c-track { fill: rgba(40, 51, 45, .12); }
.st-chart .c-dash { fill: none; stroke: #bc452f; stroke-width: 1.5; stroke-dasharray: 3 3; }
.st-chart .c-zone { fill: rgba(188, 69, 47, .12); }
.st-chart .c-tick { stroke: #26352e; stroke-width: 2; }
.st-chart .c-lab { font: 600 10px SaddlBody, Arial, sans-serif; fill: #536457; }
.st-lane.is-ok .st-chart .c-a, .st-lane.is-ok .st-chart .c-fa { stroke: #819582; fill: #819582; }
.st-lane.is-ok .st-chart polyline.c-a { fill: none; }
:is(.conversion,.cinema) .st-verdict { margin: 16px 0 0; font-size: 17px; line-height: 1.4; color: #26352e; text-wrap: pretty; }
:is(.conversion,.cinema) .st-first { margin: 14px 0 0; padding: 14px 16px 16px; border: 1px solid #26352e; border-radius: 4px; background: #fbfaf6; }
.st-first b { display: block; font-size: 13px; font-weight: 600; color: #9f3624; margin-bottom: 3px; }
.st-first span { color: #26352e; font-weight: 600; font-size: 17px; line-height: 1.35; }
:is(.conversion,.cinema) .ov-note { margin-top: 12px; font-size: 13px; color: #536457; }
.dx-nojs { display: none; }
html:not(.dx-js) .dx-nojs { display: block; margin-top: 22px; }
html:not(.dx-js) .ov-tabs, html:not(.dx-js) .os-prods, html:not(.dx-js) .os-story { display: none; }
.dx-nojs > div { padding: 16px 0; border-top: 1px solid #c9c9bd; }
.dx-nojs h3 { font-size: 26px; margin-bottom: 8px; color: #26352e; }
.dx-nojs li { margin: 4px 0; }
:is(.conversion,.cinema) .os-brief[data-static] { display: block; }

@media (min-width: 560px) {
  .os-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .os-prod:last-child { grid-column: auto; }
}
@media (min-width: 640px) {
  .st-lane { grid-template-columns: 32px 170px minmax(0, 1fr) 190px; grid-template-areas: "mark id chart st"; }
  .st-status { align-self: center; } .st-id { align-self: center; }
  .st-chart { width: 100%; max-width: 170px; justify-self: start; }
}
@media (min-width: 1000px) {
  .os { padding: 72px 0 80px; }
  .os-prods { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .os-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); }
  .ov-feed { padding: 22px 24px 26px; }
  .os-story { border-top: 0; border-left: 1px solid #ddd9cd; padding: 22px 24px 26px; }
  :is(.conversion,.cinema) .os-brief { padding: 22px 24px 16px; }
  .os-prods { padding: 0 24px 22px; gap: 10px; }
  .st-lane { grid-template-columns: 32px 170px minmax(0, 1fr) 150px; }
}
@media (max-width: 480px) { .ov-bar { padding: 12px; } .ov-tab { padding: 8px 10px; font-size: 13px; } .ov-tabs { margin-inline: 0; order: 3; width: 100%; } .ov-detail { padding-left: 4px; } }
@media (prefers-reduced-motion: reduce) { .os-prod, .ov-head, .ov-caret, .ov-tab { transition: none; } }

/* Home: what our team does next, a full-width row under the grid (replaces the verdict and first-move boxes). */
.os[data-team] .st-verdict, .os[data-team] .st-first { display: none; }
.os-team { border-top: 0; padding: 22px 16px 24px; background: #26352e; color: #f5f3ed; }
.st-team-h { margin: 0 0 6px; font: 600 24px/1.1 SaddlDisplay, Arial, sans-serif; color: #f5f3ed; }
.st-team-for { font-weight: 500; color: #e7b494; }
.os-team ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.os-team li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 12px; padding: 12px 0; border-top: 1px solid #3f5346; position: relative; }
.os-team li:first-child { border-top: 0; }
.st-tn { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #26352e; color: #f5f3ed; border: 1.5px solid #819582; font: 600 16px/1 SaddlDisplay, Arial, sans-serif; position: relative; z-index: 1; }
.os-team li:nth-child(3) .st-tn { background: #e7b494; border-color: #e7b494; color: #26352e; }
.os-team b { display: block; font-size: 15px; font-weight: 700; color: #f5f3ed; }
.os-team p { margin: 2px 0 0; font-size: 15px; line-height: 1.5; color: #d4dfd5; max-width: 46ch; }
@media (min-width: 640px) { .os-team ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; } .os-team li:nth-child(2) { border-top: 0; } }
@media (min-width: 1000px) {
  .os-team { padding: 22px 24px 26px; }
  .os-team ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
  .os-team li { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 8px 0 0; border-top: 0; }
  .os-team li:not(:last-child)::after { content: ''; position: absolute; top: 22px; left: 36px; right: -22px; height: 2px; background: #536457; }
  .os-team p { font-size: 14px; }
}
/* Home: a tighter story. Only the levers that matter are shown; the rest live in the full Saddl OS. */
.os[data-team] .st-healthy { display: none; }
.os[data-team] .st-group.is-ok { margin-top: 14px; font-size: 14px; font-weight: 600; color: #536457; }
.ov-more { display: none; margin: 10px 0 0; min-height: 44px; padding: 8px 14px; border: 1px solid #c9c9bd; border-radius: 6px; background: transparent; color: #28332d; font: 600 14px/1.2 SaddlBody, Arial, sans-serif; cursor: pointer; }
.os[data-team] .ov-more:not([hidden]) { display: inline-flex; align-items: center; }
.ov-row.is-extra { display: none; }
@media (max-width: 559px) {
  .os[data-team] .os-prods { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; padding-bottom: 14px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .os[data-team] .os-prod { flex: 0 0 74%; scroll-snap-align: start; }
  .os[data-team] .os-prod:last-child { grid-column: auto; }
  .os-team li { padding: 9px 0; }
  .os-team p { font-size: 14px; }
}

.os .os-follow { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 2px 28px; margin: 6px 0 0; }
.os .os-follow a, .os .os-follow #source-open { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #28332d; font: 600 14px/1.2 SaddlBody, Arial, sans-serif; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; width: auto; }

.os-team :focus-visible { outline: 3px solid #e7b494; outline-offset: 3px; }
.os .os-follow { flex-direction: row; text-align: left; align-items: center; justify-content: flex-start; }
