.case-carousel{position:relative;margin-top:12px}
.case-stage{position:relative;height:555px;perspective:1400px;touch-action:pan-y;outline-offset:6px;isolation:isolate}
.rotating-case{position:absolute;left:16px;right:16px;top:22px;height:506px;transform:translateX(calc(var(--side)*78%)) translateZ(calc(var(--side)*var(--side)*-120px)) rotateY(calc(var(--side)*-18deg)) scale(calc(1 - var(--side)*var(--side)*.09));z-index:1;opacity:.45;transition:transform .85s cubic-bezier(.22,1,.36,1),opacity .65s;will-change:transform}
.rotating-case.is-active{z-index:3;opacity:1}
.case-turner{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .9s cubic-bezier(.22,1,.36,1)}
.rotating-case.is-flipped .case-turner{transform:rotateY(180deg)}
.case-face{position:absolute;inset:0;border-radius:24px;backface-visibility:hidden;-webkit-backface-visibility:hidden;overflow:hidden;border:1px solid #bbc9dd;background:#fff;box-shadow:inset 0 1px 0 #fff,0 4px 0 #c7d4e7,0 20px 36px -24px #24467566;padding:23px 23px 22px}
.case-front{display:flex;flex-direction:column}
.case-top{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:40px}
.case-top>span{font:700 13px/1 Arial,sans-serif;letter-spacing:2px;color:#17458c}
.case-flip{width:44px;height:44px;display:grid;place-items:center;background:#edf2f9;border:1px solid #c8d5e6;border-radius:50%;box-shadow:var(--action-light)}
.case-flip svg{height:22px;width:22px;fill:none;stroke:#17458c;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.case-topic{font-size:16px;margin:10px 0 23px;color:#424b58}
.case-result-label{font-size:16px;color:#424b58;margin-bottom:4px}
.case-result{font-size:clamp(32px,9vw,43px);line-height:1.4;letter-spacing:-1.5px;color:#17458c;white-space:nowrap;font-weight:800}
.debt-gauge{position:relative;width:min(100%,280px);height:165px;margin:21px auto 0}
.debt-gauge>svg{display:block;width:100%;height:100%;fill:none;stroke-linecap:round}
.gauge-shadow{stroke:#c2cddd;stroke-width:21;transform:translateY(4px)}
.gauge-track{stroke:#edf2f8;stroke-width:19}
.gauge-value{stroke:#17458c;stroke-width:19;filter:drop-shadow(0 3px 2px #17458c30)}
.gauge-highlight{stroke:#ffffff42;stroke-width:2;transform:translateY(-5px)}
.gauge-reading{position:absolute;left:0;right:0;bottom:11px;text-align:center}
.gauge-reading>span{display:block;font-size:14px;color:#424b58;margin-bottom:9px}
.gauge-reading strong{color:#17458c;display:block;line-height:1}
.gauge-number{font:700 43px/1 Arial,sans-serif;letter-spacing:-1.8px}
.gauge-reading small{font:700 19px Arial,sans-serif;margin-left:4px}
.gauge-needle{position:absolute;bottom:13px;left:calc(50% - 2px);width:4px;height:20px;background:#c0cee2;transform-origin:center bottom;transform:rotate(var(--gauge-angle,83deg)) translateY(-79px);border-radius:5px;box-shadow:0 1px 0 #fff;opacity:.8}
.case-comparison{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #d4dfed;margin-top:auto;padding-top:18px;gap:8px}
.case-comparison>div{display:grid;gap:7px}
.case-comparison>div+div{padding-left:16px;border-left:1px solid #d4dfed}
.case-comparison span{font-size:15px;color:#424b58}
.case-comparison strong{font-size:19px;white-space:nowrap;letter-spacing:-.6px}
.case-comparison>div:last-child strong{color:#17458c}
.case-back{transform:rotateY(180deg);padding:17px 18px;background:#edf2f8;display:flex;flex-direction:column;gap:15px}
.case-back>img{flex:1;width:100%;min-height:0;object-fit:contain;background:#fff;border:1px solid #c3cfe1;border-radius:5px}
.case-navigation{display:flex;align-items:center;justify-content:center;gap:17px}
.case-navigation>button{width:46px;height:46px;border:1px solid #bfcee1;border-radius:50%;background:#fff;color:#17458c;font:30px/1 Arial,sans-serif;box-shadow:var(--action-light)}
.case-dots{display:flex;gap:6px}
.case-dots button{position:relative;min-width:30px;min-height:44px}
.case-dots button:after{content:'';position:absolute;left:10px;top:18px;width:8px;height:8px;border-radius:8px;background:#a9bbd3;transition:width .4s,left .4s,background .4s}
.case-dots button[aria-pressed=true]:after{width:22px;left:3px;background:#17458c}
#case-count{font:13px Arial,sans-serif;white-space:nowrap;color:#424b58}
.case-pause{display:block;margin:14px auto 0;font-size:13px;min-height:36px;color:#424b58}
@media(min-width:600px){.case-carousel{max-width:640px;margin-inline:auto}
.case-stage{height:610px}
.rotating-case{left:65px;right:65px;height:555px}
.case-face{padding:28px 31px}
.case-result{font-size:49px}
.debt-gauge{width:300px;height:182px}
.gauge-number{font-size:49px}
.case-comparison strong{font-size:23px}}
@media(min-width:980px){.case-carousel{max-width:700px}
.case-stage{height:625px}
.rotating-case{left:115px;right:115px;height:555px;transform:translateX(calc(var(--side)*82%)) translateZ(calc(var(--side)*var(--side)*-140px)) rotateY(calc(var(--side)*-24deg)) scale(calc(1 - var(--side)*var(--side)*.05))}}
@media(max-width:359px){.case-stage{height:538px}
.rotating-case{left:7px;right:7px;height:493px}
.case-face{padding:20px 18px}
.case-result{font-size:31px}
.case-comparison strong{font-size:17px}
.case-navigation{gap:8px}}
@media(prefers-reduced-motion:reduce){.rotating-case,.case-turner{transition:none;animation:none}
.gauge-needle{display:none}}
.case-result{font-weight:700}
.case-face{border-top:3px solid var(--guide)}
.case-comparison{border-top-color:var(--guide)}
.case-comparison>div+div{border-left-color:#0c285850}
.case-navigation>button,.case-flip,.case-pause{border:1px solid #9db3d3;background:#fff;color:#0c2858;box-shadow:var(--action-light);transition:transform .16s,box-shadow .16s}
.case-navigation>button,.case-flip{border-radius:50%}
.case-pause{min-height:42px;padding:8px 16px;border-radius:10px}
.case-navigation>button:active,.case-flip:active,.case-pause:active{transform:translateY(2px);box-shadow:var(--action-pressed)}
@media(prefers-reduced-motion:reduce){.case-flip,.case-pause{transition:none}}
#dashboard{overflow:hidden;--guide:#0c2858;--action-light:inset 0 1px 1px #fff,0 5px 15px #c9d7e44d;--action-pressed:inset 0 1px 4px #bccbd44d}.case-swipe-hint{text-align:center;font-size:14px;color:#516b8b;margin:18px 0 0}.case-results-note{margin-top:20px}.case-flip{flex-shrink:0}.case-pause{font-size:14px}.case-topic{font-weight:600}.case-navigation button{touch-action:manipulation}.case-stage{width:100%}.rotating-case:not(.is-active){pointer-events:none}@media(max-width:600px){#dashboard>.wrap{width:calc(100% - 32px)}#dashboard .title{margin-bottom:25px}.case-carousel{margin-top:0}.case-stage{height:555px}.rotating-case{height:506px;left:16px;right:16px}.case-face{padding:23px}.case-result{font-size:clamp(31px,9vw,40px)}.case-topic{font-size:17px}.case-comparison strong{font-size:19px}.case-count{font-size:14px}}@media(max-width:360px){.rotating-case{left:7px;right:7px}.case-face{padding:20px 18px}.case-comparison strong{font-size:17px}}
/* Mobile: bring the gauge directly beneath the result and shorten the card. */
@media(max-width:600px){
#dashboard .case-stage{height:490px}
#dashboard .rotating-case{top:14px;height:455px}
#dashboard .case-face{padding:18px 22px}
#dashboard .case-top{min-height:36px}
#dashboard .case-flip{width:38px;height:38px}
#dashboard .case-topic{margin:3px 0 8px;font-size:17px;line-height:1.5}
#dashboard .case-result-label{font-size:15px;line-height:1.5;margin-bottom:2px}
#dashboard .case-result{line-height:1.25;font-size:clamp(31px,9vw,38px)}
#dashboard .debt-gauge{height:150px;width:min(100%,270px);margin:3px auto 0;flex-shrink:0}
#dashboard .gauge-reading{bottom:10px}
#dashboard .gauge-reading>span{margin-bottom:7px}
#dashboard .gauge-number{font-size:43px}
#dashboard .gauge-needle{bottom:12px;transform:rotate(var(--gauge-angle,83deg)) translateY(-72px)}
#dashboard .case-comparison{padding-top:12px}
#dashboard .case-comparison>div{gap:4px}
#dashboard .case-back{padding:16px 18px;gap:10px}
#dashboard .case-pause{margin-top:10px}
#dashboard .case-swipe-hint{margin-top:12px}
}
@media(max-width:360px){#dashboard .case-face{padding:16px 18px}#dashboard .case-result{font-size:31px}}
/* Rebrand case cards: compact navy surfaces and a luminous reduction gauge. */
#dashboard{background:linear-gradient(180deg,#f4f7fc 0%,#eaf0fa 100%);--case-ink:#f5f8ff;--case-muted:#b4c6e1;padding-block:88px}
#dashboard .title{margin-bottom:30px}
#dashboard .case-carousel{margin-top:0}
#dashboard .case-stage{height:555px}
#dashboard .rotating-case{top:12px;height:510px;opacity:.32;transform:translateX(calc(var(--side)*83%)) translateZ(calc(var(--side)*var(--side)*-100px)) rotateY(calc(var(--side)*-9deg)) scale(calc(1 - var(--side)*var(--side)*.06))}
#dashboard .rotating-case.is-active{opacity:1}
#dashboard .case-face{border:1px solid #84ade63d;border-radius:26px;padding:24px 27px;color:var(--case-ink);background:radial-gradient(ellipse at 95% 0%,#244879 0%,transparent 55%),linear-gradient(145deg,#132a4b,#0d1931 75%);box-shadow:0 18px 38px -20px #081d465e,inset 0 1px 0 #ffffff12}
#dashboard .case-top{min-height:38px;gap:12px}
#dashboard .case-top>span{font:600 12px/1.2 Arial,sans-serif;letter-spacing:2.1px;color:#b4d3ff}
#dashboard .case-flip{width:38px;height:38px;background:#ffffff09;border:1px solid #b8d4ff30;box-shadow:none}
#dashboard .case-flip svg{width:19px;height:19px;stroke:#d9e8ff}
#dashboard .case-flip:hover{background:#ffffff18}
#dashboard .case-topic{color:#c0d1e9;font-size:16px;font-weight:400;line-height:1.5;margin:6px 0 14px;letter-spacing:-.025em}
#dashboard .case-result-label{font-size:14px;line-height:1.5;color:#a8bedc;margin-bottom:3px}
#dashboard .case-result{font-size:42px;line-height:1.25;font-weight:700;letter-spacing:-1.5px;color:#fff}
#dashboard .debt-gauge{width:min(100%,280px);height:166px;margin:8px auto 0;flex-shrink:0}
#dashboard .gauge-shadow,#dashboard .gauge-highlight,#dashboard .gauge-needle{display:none}
#dashboard .gauge-track{stroke:#c1dcff16;stroke-width:12}
#dashboard .gauge-value{stroke-width:12;filter:drop-shadow(0 0 6px #56bdf02b)}
#dashboard .gauge-reading{bottom:9px}
#dashboard .gauge-reading>span{font-size:14px;color:#bfd0e8;margin-bottom:8px;letter-spacing:.01em}
#dashboard .gauge-reading strong{color:#93dbff}
#dashboard .gauge-number{font-size:48px;line-height:1;font-weight:600;letter-spacing:-2px;font-variant-numeric:tabular-nums}
#dashboard .gauge-reading small{font-size:21px;font-weight:400;margin-left:5px;color:#93dbff}
#dashboard .case-comparison{margin-top:auto;gap:12px;padding:17px 0 0;border-top:1px solid #a0c5f72b}
#dashboard .case-comparison>div{gap:6px}
#dashboard .case-comparison>div+div{padding-left:17px;border-left:1px solid #a0c5f72b}
#dashboard .case-comparison span{font-size:14px;color:#a8bedc}
#dashboard .case-comparison strong{font-size:21px;font-weight:500;line-height:1.4;color:#ecf3ff;letter-spacing:-.6px}
#dashboard .case-comparison>div:last-child strong{color:#93dbff;font-weight:700}
#dashboard .case-back{padding:18px;gap:14px}
#dashboard .case-back>img{border:0;border-radius:8px;background:#fff}
#dashboard .case-navigation{gap:13px}
#dashboard .case-navigation>button{width:42px;height:42px;background:#ffffff96;border:1px solid #b9cce44d;box-shadow:none;color:#214676;font-size:26px}
#dashboard .case-navigation>button:hover{background:#fff;border-color:#9bb7db}
#dashboard .case-dots{gap:3px}
#dashboard .case-dots button:after{background:#b4c5dd;width:6px;height:6px;top:19px;left:12px}
#dashboard .case-dots button[aria-pressed=true]:after{width:22px;left:3px;background:#3266d5}
#dashboard #case-count{font-size:13px;color:#657e9e;letter-spacing:1px}
#dashboard .case-pause{margin:6px auto 0;padding:4px 12px;min-height:40px;border:0;border-radius:20px;background:transparent;box-shadow:none;color:#617a9a;font-size:13px}
#dashboard .case-pause:hover{background:#dce7f6}
#dashboard .case-swipe-hint{margin-top:4px;color:#617a9a;font-size:14px}
#dashboard .case-results-note{max-width:650px;margin:18px auto 0;color:#74859e;line-height:1.8;font-size:12px}
#dashboard button:focus-visible{outline:2px solid #5596ed;outline-offset:3px}
@media(min-width:980px){#dashboard .case-carousel{max-width:820px}#dashboard .rotating-case{left:175px;right:175px}}
@media(max-width:600px){
 #dashboard{padding-block:58px}
 #dashboard .title{margin-bottom:16px}
 #dashboard .case-stage{height:440px}
 #dashboard .rotating-case{top:10px;height:410px;left:12px;right:12px}
 #dashboard .case-face{padding:18px 21px;border-radius:23px}
 #dashboard .case-topic{font-size:15px;margin:2px 0 9px}
 #dashboard .case-result-label{font-size:14px;margin-bottom:2px}
 #dashboard .case-result{font-size:clamp(29px,8.6vw,36px);line-height:1.25}
 #dashboard .debt-gauge{height:140px;width:min(100%,260px);margin:3px auto 0}
 #dashboard .gauge-number{font-size:43px}
 #dashboard .gauge-reading{bottom:8px}
 #dashboard .gauge-reading>span{font-size:14px;margin-bottom:6px}
 #dashboard .case-comparison{padding-top:12px;gap:8px}
 #dashboard .case-comparison>div{gap:4px}
 #dashboard .case-comparison>div+div{padding-left:12px}
 #dashboard .case-comparison strong{font-size:18px}
 #dashboard .case-back{padding:15px}
}
@media(max-width:360px){#dashboard .rotating-case{left:6px;right:6px}#dashboard .case-face{padding:17px 17px}#dashboard .case-comparison strong{font-size:17px}#dashboard .case-navigation{gap:9px}}
@media(prefers-reduced-motion:reduce){#dashboard .rotating-case{transition:none}#dashboard .gauge-value{filter:none}}
