/* One reading direction. Controls reveal the next piece of the case in place. */
.haggle-explorer{--hx-bg:#171d28;--hx-ink:#f7f9fc;--hx-muted:#b7c2d2;--hx-line:#374355;--hx-accent:#70ece1;--hx-paper:#fafbf8;--hx-dark:#1d2930;--hx-paper-muted:#59696e;margin-top:28px;border:1px solid var(--hx-line);border-radius:16px;background:var(--hx-bg);overflow:hidden;color:var(--hx-ink);isolation:isolate}
.haggle-explorer *{box-sizing:border-box}
.haggle-explorer [hidden]{display:none!important}
.haggle-explorer :is(button,a):focus-visible{outline:2px solid var(--hx-accent);outline-offset:4px}
.haggle-explorer button{font-family:Inter,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent}
.haggle-explorer button:disabled{cursor:default}
.haggle-explorer svg{display:block;width:24px;height:24px;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.hx-topline{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 28px;border-bottom:1px solid var(--hx-line);font-size:12px;color:var(--hx-muted)}
.hx-demo-label{font-size:10px;padding:4px 8px;border:1px solid var(--hx-line);border-radius:4px;white-space:nowrap}
.hx-steps{list-style:none;scroll-margin-top:96px;position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:24px 12px 0;margin:0 16px}
.hx-steps:before{content:'';position:absolute;top:45px;left:calc(12.5% + 9px);right:calc(12.5% + 9px);height:1px;background:var(--hx-line);z-index:-1}
.haggle-explorer .hx-step{display:flex;align-items:center;flex-direction:column;gap:10px;background:none;border:0;margin:0;padding:0 4px 12px;color:var(--hx-muted);font-size:12px;line-height:1.3;min-width:0}
.hx-step-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--hx-line);border-radius:50%;background:var(--hx-bg);transition:background .18s,border-color .18s,transform .18s}
.hx-step-icon svg{width:20px;height:20px}
.hx-step[aria-current=step]{color:var(--hx-ink)}
.hx-step[aria-current=step] .hx-step-icon{background:var(--hx-accent);border-color:var(--hx-accent);color:#102c31;box-shadow:0 0 0 5px var(--hx-bg)}
.hx-step.is-complete .hx-step-icon{color:var(--hx-accent);border-color:#4e8588}

.hx-stage{padding:20px 32px 28px}
.hx-panel{max-width:680px;margin:0 auto;min-width:0}
[data-haggle-ready=true] .hx-panel{min-height:370px;animation:hx-enter .25s ease-out}
.savings-case .hx-panel-heading{margin:0 0 24px;text-align:center}
.savings-case .hx-panel-heading h3{font:500 clamp(24px,3vw,30px)/1.2 'Manrope',sans-serif;letter-spacing:-.035em;margin:0}
.savings-case .hx-panel-heading p{font-size:13px;color:var(--hx-muted);line-height:1.6;margin:8px auto 0;max-width:46ch}
.hx-source-dock{background:#111720;border:1px solid var(--hx-line);border-radius:12px;padding:20px 16px 0}
.hx-apps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;align-items:start;margin:0;padding:0}
.hx-app{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0;margin:0;padding:0 0 16px;background:none;color:var(--hx-muted);border:0;font-size:11px;line-height:1.4;position:relative}
.hx-app-mark{display:grid;place-items:center;width:48px;height:48px;background:#fff;border:1px solid #e6ebef;border-radius:12px;transition:transform .2s,box-shadow .2s}
.hx-app-mark img{width:28px;height:28px;object-fit:contain;display:block}
.hx-app-mark img[src$='ramp.png']{width:42px;height:42px;border-radius:10px}
.hx-app[aria-pressed=true]{color:var(--hx-ink)}
.hx-app[aria-pressed=true]:after{content:'';position:absolute;height:2px;background:var(--hx-accent);bottom:-1px;width:36px;border-radius:2px}
.hx-app[aria-pressed=true] .hx-app-mark{box-shadow:0 0 0 3px #111720,0 0 0 4px var(--hx-accent)}
.hx-app:hover .hx-app-mark{transform:translateY(-3px)}
.hx-source-detail{display:flex;justify-content:center;align-items:center;gap:12px;min-height:50px;border-top:1px solid var(--hx-line);font-size:12px;line-height:1.5;text-align:center;padding:8px 0}
.hx-source-detail>span{color:var(--hx-muted)}
.hx-source-detail>strong{font-weight:500;color:var(--hx-ink)}
.hx-connection{position:relative;width:1px;height:28px;margin:0 auto;background:var(--hx-line)}
.hx-connection i{position:absolute;top:0;left:-2px;width:5px;height:5px;border-radius:50%;background:var(--hx-accent);animation:hx-flow 2s ease-in-out infinite}
.hx-hub{display:flex;justify-content:center;align-items:center;gap:16px;margin:0 auto;width:fit-content;max-width:100%;padding:0 12px}
.hx-hub-mark{display:grid;place-items:center;width:58px;height:58px;background:#080d14;border:1px solid #667a8f;border-radius:16px;flex:none}
.hx-hub-mark img{width:30px;height:30px;object-fit:contain}
.hx-hub>div{display:flex;flex-direction:column;gap:5px}
.hx-hub strong{font:500 22px/1.2 'Manrope',sans-serif;letter-spacing:-.025em}
.hx-hub>div>span{font-size:11px;color:var(--hx-muted);line-height:1.5}
.hx-audit,.hx-quote,.hx-review{background:var(--hx-paper);color:var(--hx-dark);border-radius:12px;padding:22px 24px}
.hx-document-top{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:11px;line-height:1.4;color:var(--hx-paper-muted);margin-bottom:16px}
.hx-document-top>span:first-child{display:flex;align-items:center;gap:8px}
.hx-document-top svg{width:18px;height:18px}
.hx-document-top>span:last-child{font-size:10px}
.hx-audit-row{display:flex;gap:16px;align-items:center;padding:20px 0;border-top:1px solid #dce3e0}
.hx-audit-icon{color:#76898b;background:#e8eeea;padding:10px;border-radius:8px}
.hx-audit-row>div{display:flex;flex-direction:column;gap:6px;min-width:0}
.hx-audit-row strong{font-size:15px;font-weight:500;line-height:1.4}
.hx-audit-row>div>span{font-size:12px;color:var(--hx-paper-muted);line-height:1.4}
.hx-flag{font-size:10px;background:#f3e7cf;color:#73532b;border-radius:4px;padding:5px 8px;margin-left:auto;white-space:nowrap}
.hx-document-result{display:flex;align-items:center;gap:12px;border-top:1px solid #dce3e0;padding-top:18px;font-size:12px;line-height:1.6;color:#09675d}
.hx-document-result svg{width:20px;height:20px}
.savings-case .hx-context{font-size:11px;color:var(--hx-muted);text-align:center;margin:14px 0 0}
.hx-price-switch{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#e6ece9;border-radius:8px;gap:4px}
.hx-price-switch button{border:0;background:transparent;border-radius:5px;padding:10px 8px;min-height:42px;font-size:12px;color:#526566}
.hx-price-switch button[aria-pressed=true]{background:#fff;color:#142e32;box-shadow:0 1px 4px #142e3214;font-weight:500}
.hx-price-switch button:focus-visible,.hx-approve:focus-visible{outline-color:#006d66}
.hx-price-amount{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:146px;padding:16px 0;gap:6px}
.hx-price-amount s{font-size:16px;color:var(--hx-paper-muted);line-height:1.2}
.hx-price-amount strong{font:500 54px/1.1 'Manrope',sans-serif;letter-spacing:-.055em;font-variant-numeric:tabular-nums;transition:color .2s}
.hx-price-amount>span{font-size:11px;color:var(--hx-paper-muted)}
.hx-price-bar{height:8px;background:#e0e7e3;border-radius:4px;overflow:hidden}
.hx-price-bar>span{display:block;height:100%;width:100%;background:#879a9c;border-radius:4px;transition:width .55s cubic-bezier(.22,1,.36,1),background .3s}
.hx-price-result{text-align:center;font-size:12px;line-height:1.5;color:var(--hx-paper-muted);padding-top:16px}
.hx-quote.is-compared .hx-price-amount strong,.hx-quote.is-compared .hx-price-result{color:#006e61}
.hx-quote.is-compared .hx-price-bar>span{width:41.9919%;background:#17a18e}
.hx-review-line{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid #dce3e0;font-size:13px;line-height:1.5}
.hx-review-line>svg:first-child{color:#728987;width:22px;height:22px}
.hx-review-line>svg:last-child{margin-left:auto;color:#527c72;width:18px;height:18px}
.hx-review-status{color:#78532a;background:#f3e7cf;padding:5px 7px;border-radius:4px}
.hx-approve{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;min-height:46px;margin-top:12px;border:0;border-radius:6px;background:#133f3d;color:#fff;font-size:12px}
.hx-approve svg{width:18px;height:18px}
.hx-approve:hover{background:#00695f}
.savings-case .hx-review-note{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;line-height:1.5;color:var(--hx-paper-muted);margin:16px 0 0}
.hx-review-note svg{width:14px;height:14px}
.hx-review.is-approved .hx-review-status{color:#096354;background:#d5ece2}
.hx-review.is-approved .hx-approve{background:#d5ece2;color:#096354}
.hx-footer{display:flex;align-items:center;gap:14px;padding:18px 28px;border-top:1px solid var(--hx-line);background:#111720}
.hx-back{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--hx-line);border-radius:6px;background:transparent;color:var(--hx-ink);flex:none}
.hx-back:disabled{opacity:.3}
.hx-back:not(:disabled):hover{border-color:var(--hx-accent)}
.hx-progress{white-space:nowrap;flex:none;font-size:11px;color:var(--hx-muted)}
.hx-next{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--hx-accent);color:#123635;border:0;border-radius:6px;padding:12px 16px;min-height:44px;font-size:12px;font-weight:500;margin-left:auto}
.hx-next:hover{background:#a6fff3}
.hx-next svg{width:20px;height:20px}
.hx-sr{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}
@keyframes hx-enter{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}
@keyframes hx-flow{from{transform:translateY(0);opacity:0}30%{opacity:1}to{transform:translateY(24px);opacity:0}}
@media(min-width:540px){.savings-heading h2 br{display:none}.savings-heading h2>span{margin-left:.1em}.savings-case .savings-heading h2{font-size:clamp(34px,4.2vw,50px)}}
@media(max-width:760px){.hx-topline{padding:16px 20px}.hx-stage{padding:16px 24px 24px}.hx-steps{margin-inline:8px;padding-top:20px}.hx-steps:before{top:41px}.hx-footer{padding:16px 20px}.hx-panel-heading{margin-bottom:20px}.haggle-explorer{margin-top:24px}.savings-case .savings-heading h2{margin-top:16px}.savings-case .savings-intro{margin-top:12px}.savings-case .hx-panel-heading h3{font-size:26px}}
@media(max-width:540px){.savings-case-inner{padding:22px 16px}.hx-topline{padding:14px 14px;font-size:11px}.hx-demo-label{font-size:9px;padding:4px 6px}.hx-stage{padding:16px 14px 20px}.hx-steps{margin-inline:0;padding-inline:8px;gap:0}.hx-step{font-size:10px;gap:10px;padding-inline:2px}.hx-step-icon{width:38px;height:38px}.hx-step-icon svg{width:18px;height:18px}.hx-steps:before{top:38px}.savings-case .hx-panel-heading h3{font-size:23px}.savings-case .hx-panel-heading p{font-size:12px;max-width:29ch}.savings-case .hx-panel-heading{margin-bottom:20px}.hx-source-dock{padding:16px 10px 0}.hx-apps{grid-template-columns:repeat(3,1fr);gap:16px 8px}.hx-app{padding-bottom:10px;font-size:10px;gap:8px}.hx-app-mark{width:42px;height:42px;border-radius:10px}.hx-app-mark img{width:26px;height:26px}.hx-app-mark img[src$='ramp.png']{width:36px;height:36px}.hx-app[aria-pressed=true]:after{bottom:0}.hx-source-detail{margin-top:6px;gap:8px;font-size:11px;min-height:46px;flex-wrap:wrap}.hx-connection{height:24px}.hx-hub{gap:12px;padding:0}.hx-hub-mark{width:48px;height:48px;border-radius:14px}.hx-hub-mark img{width:26px;height:26px}.hx-hub strong{font-size:20px}.hx-hub>div>span{font-size:10px}.hx-audit,.hx-quote,.hx-review{padding:18px 14px}.hx-audit-row{gap:10px;padding:20px 0}.hx-audit-icon{padding:7px}.hx-audit-icon svg{width:20px;height:20px}.hx-audit-row strong{font-size:12px}.hx-audit-row>div>span{font-size:10px}.hx-flag{font-size:9px;padding:4px 5px}.hx-document-top{gap:10px;font-size:10px}.hx-document-top>span:last-child{font-size:9px}.hx-document-top svg{width:16px;height:16px}.hx-document-result{font-size:11px;gap:8px}.hx-price-switch button{font-size:10px;padding-inline:4px}.hx-price-amount strong{font-size:46px}.hx-price-result{font-size:11px}.hx-review-line{font-size:11px;gap:8px}.hx-review-line>svg:first-child{width:18px;height:18px}.hx-review-status{font-size:9px}.hx-approve{font-size:11px}.savings-case .hx-review-note{font-size:9px;gap:5px}.hx-footer{padding:14px 12px;gap:10px}.hx-next{font-size:11px;padding:10px 12px;gap:10px}.hx-progress{font-size:10px}.hx-back{width:38px}.hx-back svg{width:20px;height:20px}[data-haggle-ready=true] .hx-panel{min-height:418px}}
@media(max-width:350px){.savings-case-inner{padding-inline:12px}.hx-stage{padding-inline:10px}.hx-topline{padding-inline:10px}.hx-audit-icon{display:none}.hx-review-status{max-width:9ch;text-align:center}.hx-next{font-size:10px}.hx-progress{font-size:9px}.hx-footer{gap:8px}}
@media(prefers-reduced-motion:reduce){.haggle-explorer *{animation:none!important;transition:none!important}.hx-connection i{top:12px}}
@media(forced-colors:active){.haggle-explorer,.hx-source-dock,.hx-audit,.hx-quote,.hx-review{border:1px solid CanvasText}.hx-step[aria-current=step] .hx-step-icon,.hx-app[aria-pressed=true],.hx-price-switch button[aria-pressed=true]{outline:2px solid Highlight}.hx-steps:before,.hx-connection,.hx-price-bar>span{background:CanvasText}}

/* The card introduces the case; the expanded view goes straight to the work. */
.savings-case [hidden]{display:none!important}
.savings-case:has([data-haggle-ready=true]) .savings-case-inner{padding:16px}
.savings-case [data-haggle-ready=true]{margin-top:0}
.savings-case .savings-next{padding:8px 12px}
.savings-case .haggle-source{margin:16px 12px 0}
.hx-panel-heading h3:focus{outline:none}
@media(max-width:540px){.savings-case:has([data-haggle-ready=true]) .savings-case-inner{padding:0}.savings-case .savings-next{padding:8px 20px 0}.savings-case .haggle-source{margin:12px 20px}}

.savings-case .hx-footer .savings-cta{width:auto;min-height:44px;margin:0 0 0 auto;padding:12px 16px;font-size:12px;gap:12px;border-radius:6px}
@media(max-width:540px){.savings-case .hx-footer .savings-cta{padding:10px 12px;font-size:11px;gap:8px}.savings-case .hx-footer .savings-cta .ui-icon{width:16px;height:16px;flex-basis:16px}}

/* Compact, role-led walkthrough. The source remains available on demand. */
.story-fallback{max-width:720px;margin:24px auto 0}
.savings-case:has([data-haggle-ready=true]) .savings-case-inner{padding:0}
.hx-topline{padding:12px 20px;font-size:12px}
.hx-demo-label{border:0;padding:0;font-size:10px}
.hx-steps{padding:16px 8px 0;margin:0 12px}
.hx-steps:before{top:31px}
.hx-step{font-size:10px;gap:6px;padding-bottom:8px}
.hx-step-icon{width:30px;height:30px}
.hx-step-icon svg{width:16px;height:16px}
.hx-stage{padding:16px 24px 20px}
[data-haggle-ready=true] .hx-panel{min-height:0;max-width:560px}
.savings-case .hx-panel-heading{margin-bottom:16px}
.savings-case .hx-panel-heading h3{font-size:24px}
.savings-case .hx-panel-heading p{font-size:12px;margin-top:6px}
.hx-source-dock{padding:14px 12px 0}
.hx-app{gap:6px;padding-bottom:10px;font-size:10px}
.hx-app-mark{width:38px;height:38px;border-radius:9px}
.hx-app-mark img{width:24px;height:24px}
.hx-app-mark img[src$='ramp.png']{width:34px;height:34px}
.hx-source-detail{min-height:36px;font-size:11px}
.hx-connection{height:18px}
.hx-hub{gap:10px}
.hx-hub-mark{width:38px;height:38px;border-radius:10px}
.hx-hub-mark svg{width:22px;height:22px}
.hx-hub strong{font-size:17px}
.hx-hub>div>span{font-size:10px}
.hx-audit,.hx-quote,.hx-review{padding:16px 20px}
.hx-document-top{margin-bottom:10px}
.hx-audit-row{padding:14px 0}
.hx-price-amount{min-height:118px;padding:12px 0}
.hx-price-amount strong{font-size:44px}
.hx-review-line{padding:12px 0}
.hx-footer{padding:12px 20px}
.savings-case .haggle-source{margin:0 20px;padding-block:4px}
.haggle-source summary>span{display:none}
@media(max-width:540px){
 .hx-topline{padding:12px 16px}.hx-steps{margin:0 6px}.hx-stage{padding:12px 16px 16px}
 .hx-apps{gap:12px 8px}.hx-app-mark{width:38px;height:38px}.hx-app{font-size:10px}
 .savings-case .hx-panel-heading h3{font-size:22px}.hx-audit,.hx-quote,.hx-review{padding:16px 14px}
 .hx-footer{padding:12px}.hx-hub strong{font-size:16px}
}
