/* Solution pages: live order run (hero), problem toggle, configurable settings and the CTA route graphic. Brand 2026.3. */

/* ── Live order run (inside the Forest hero) ── */
.lr{background:var(--sl-forest-700);border:1px solid var(--sl-forest-600);border-radius:16px;overflow:hidden;color:var(--sl-cream-ink)}
.lr-bar{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--sl-forest-600);font-size:13px;color:var(--sl-sage-text)}
.lr-bar strong{color:var(--sl-cream-ink);font-weight:600}
.lr-live{display:inline-flex;align-items:center;gap:6px;margin-left:auto;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--sl-sage-text)}
.lr-live i{width:7px;height:7px;border-radius:50%;background:var(--sl-mint);animation:lrBlink 1.6s ease-in-out infinite}
@keyframes lrBlink{50%{opacity:.25}}
.lr-pick{display:grid;grid-template-columns:auto 1fr;gap:10px 12px;align-items:center;padding:16px 18px 6px;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--sl-mint)}
.lr-seg{display:flex;gap:4px;flex-wrap:wrap;padding:3px;background:var(--sl-forest);border:1px solid var(--sl-forest-600);border-radius:999px;justify-self:start}
.lr-seg button{font:600 13px 'Schibsted Grotesk',Arial,sans-serif;letter-spacing:0;text-transform:none;color:var(--sl-sage-text);background:transparent;border:0;border-radius:999px;padding:6px 12px;cursor:pointer;transition:background .2s}
.lr-seg button:hover{color:var(--sl-cream-ink)}
.lr-seg button[aria-pressed="true"]{background:var(--sl-mint);color:var(--sl-forest)}
.lr-seg button:focus-visible{outline:2px solid var(--sl-mint);outline-offset:2px}
.lr-steps{list-style:none;margin:0;padding:10px 18px 4px;position:relative}
.lr-steps::before{content:'';position:absolute;left:37px;top:26px;bottom:26px;width:2px;background:var(--sl-forest-600)}
.lr-steps .lr-prog{position:absolute;left:37px;top:26px;width:2px;height:0;background:var(--sl-mint);transition:height .5s ease}
.lr-step{position:relative;display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;padding:9px 0;opacity:.45;transition:opacity .35s}
.lr-step.on,.lr-step.done{opacity:1}
.lr-ico{position:relative;z-index:1;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--sl-forest);border:1px solid var(--sl-forest-600);
  font:800 13px 'Schibsted Grotesk',Arial,sans-serif;color:var(--sl-mint);transition:border-color .3s,box-shadow .3s}
.lr-ico img{width:24px;height:24px}
.lr-step.on .lr-ico{border-color:var(--sl-mint);box-shadow:0 0 0 4px rgba(92,196,154,.18)}
.lr-name{font-size:14px;font-weight:600;color:var(--sl-cream-ink)}
.lr-sub{font-size:12.5px;color:var(--sl-sage-text);margin-top:2px}
.lr-state{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;padding:4px 9px;border-radius:999px;white-space:nowrap;
  background:rgba(217,230,223,.08);color:var(--sl-sage-text);transition:background .3s,color .3s}
.lr-state svg{width:12px;height:12px}
.lr-step.on .lr-state{background:rgba(92,196,154,.16);color:var(--sl-mint)}
.lr-step.done .lr-state{background:var(--sl-mint);color:var(--sl-forest)}
.lr-spin{animation:lrSpin 1s linear infinite}
@keyframes lrSpin{to{transform:rotate(360deg)}}
.lr-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;padding:12px 18px;border-top:1px solid var(--sl-forest-600);font-size:13px;color:var(--sl-sage-text)}
.lr-foot strong{color:var(--sl-cream-ink);font-variant-numeric:tabular-nums}
.lr-replay{display:inline-flex;align-items:center;gap:6px;font:600 13px 'Schibsted Grotesk',Arial,sans-serif;color:var(--sl-mint);background:transparent;border:1px solid var(--sl-forest-600);border-radius:999px;padding:6px 12px;cursor:pointer}
.lr-replay:hover{border-color:var(--sl-mint)}
.lr-replay svg{width:14px;height:14px}

/* ── Today / with Supply Lens toggle on the problem cards ── */
.sol-toggle{display:inline-flex;gap:4px;padding:4px;margin:4px auto 28px;background:var(--sl-cream-deep);border-radius:999px;position:relative}
.sol-toggle-wrap{text-align:center}
.sol-toggle button{position:relative;z-index:1;font:600 14px 'Schibsted Grotesk',Arial,sans-serif;color:var(--sl-forest);background:transparent;border:0;border-radius:999px;padding:9px 18px;cursor:pointer}
.sol-toggle button[aria-pressed="true"]{color:#fff}
.sol-toggle .ink{position:absolute;top:4px;bottom:4px;left:0;border-radius:999px;background:var(--sl-forest);transition:transform .35s cubic-bezier(.2,.8,.2,1),width .35s cubic-bezier(.2,.8,.2,1)}
.problem-grid .prob-card{background:#fff;border:1px solid var(--sl-stone);border-radius:16px;padding:28px;transition:border-color .35s,transform .35s,box-shadow .35s}
.problem-grid .prob-card::before,.problem-grid .prob-card::after{display:none!important}
.prob-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;border-radius:999px;padding:4px 10px;margin-bottom:14px;background:var(--sl-cream-deep);color:var(--sl-slate);transition:background .35s,color .35s}
.prob-badge svg{width:13px;height:13px}
.prob-swap{display:grid}
.prob-swap>*{grid-area:1/1;transition:opacity .35s,transform .35s}
.prob-fix{color:var(--sl-forest)!important;font-style:normal!important;font-size:15px!important;line-height:1.6;margin:10px 0 0!important}
.js-sol .prob-fix{opacity:0;transform:translateY(6px);pointer-events:none;margin:0!important}
.problem-grid.with .prob-card{border-color:var(--sl-leaf);box-shadow:0 1px 2px rgba(15,58,46,.06),0 10px 24px rgba(15,58,46,.08)}
.problem-grid.with .prob-exp{opacity:0;transform:translateY(-6px)}
.problem-grid.js-sol.with .prob-fix{opacity:1;transform:none;pointer-events:auto}
.problem-grid.with .prob-badge{background:var(--sl-mint-wash);color:var(--sl-forest)}

/* ── Configurable key settings ── */
.cfg-row{padding:12px 0;border-bottom:1px solid var(--sl-stone)}
.cfg-row:last-of-type{border-bottom:0}
.cfg-label{font-size:13px;font-weight:600;color:var(--sl-forest);margin-bottom:8px}
.cfg-opts{display:flex;gap:6px;flex-wrap:wrap}
.cfg-opts button{font:500 12.5px 'Schibsted Grotesk',Arial,sans-serif;color:var(--sl-forest);background:#fff;border:1px solid var(--sl-stone);border-radius:6px;padding:6px 10px;cursor:pointer;transition:background .2s,border-color .2s}
.cfg-opts button:hover{border-color:var(--sl-leaf)}
.cfg-opts button[aria-pressed="true"]{background:var(--sl-forest);border-color:var(--sl-forest);color:#fff}
.cfg-opts button:focus-visible{outline:2px solid var(--sl-mint-ink);outline-offset:2px}
.cfg-out{margin-top:14px;padding:14px 16px;border-radius:10px;background:var(--sl-mint-wash);color:var(--sl-forest);font-size:14px;line-height:1.55}
.cfg-out .cfg-k{font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--sl-mint-ink);display:block;margin-bottom:4px}
.cfg-out b{font-weight:600}
.cfg-out b.flash{animation:cfgFlash .6s}
@keyframes cfgFlash{0%{background:#fff}100%{background:transparent}}

/* ── CTA route graphic (light Mint wash band) ── */
.cta-route{flex-shrink:0;width:420px;max-width:100%}
.cta-route svg{display:block;width:100%;height:auto;overflow:visible}
.cr-line{fill:none;stroke:var(--sl-forest);stroke-opacity:.25;stroke-width:2;stroke-dasharray:4 6}
.cr-chip rect{fill:#fff;stroke:var(--sl-stone);stroke-width:1.5}
.cr-chip text{fill:var(--sl-forest);font:600 15px 'Schibsted Grotesk',Arial,sans-serif}
.cr-chip .cr-k{fill:var(--sl-mint-ink);font:600 11px 'Schibsted Grotesk',Arial,sans-serif;letter-spacing:.12em}
.cr-hub{fill:var(--sl-forest)}
.cr-ring{fill:none;stroke:var(--sl-leaf);stroke-width:1.5;transform-box:fill-box;transform-origin:center;animation:rbPulse2 2.4s ease-out infinite}
@keyframes rbPulse2{0%{opacity:.8;transform:scale(1)}100%{opacity:0;transform:scale(1.8)}}
.cr-dot{fill:var(--sl-leaf)}
.cr-dot.back{fill:var(--sl-forest)}

@media (max-width:900px){.cta-route{width:100%;margin-top:28px}}
@media (prefers-reduced-motion:reduce){
  .lr-live i,.lr-spin,.cr-ring{animation:none}
  .cr-dot{display:none}
  .prob-swap>*{transition:none}
}
.prob-quote{font-style:normal!important;font-weight:700}
@media (max-width:600px){
  .lr-pick{grid-template-columns:1fr;gap:6px}
  .lr-seg{border-radius:14px;justify-self:stretch}
  .lr-state{padding:4px 7px}
}
