/* Dedicated source-aware read-only Screen research workspace. */
body.ui-screen-lab{background:#f2f5f8;color:#19364f}
body.ui-screen-lab .sr-main{max-width:1170px;margin:0 auto;padding:28px 24px 78px}
body.ui-screen-lab .sr-hero{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,.75fr);gap:36px;border-radius:23px;padding:54px 50px;background:linear-gradient(115deg,#102c4e 0%,#1b4672 65%,#28536b 100%);color:#fff;box-shadow:0 20px 44px rgba(25,53,86,.12)}
body.ui-screen-lab .sr-eyebrow{display:block;margin-bottom:15px;color:#efc67b;letter-spacing:.09em;font-size:11px;font-weight:800}
body.ui-screen-lab .sr-hero h1{font-size:clamp(29px,3.4vw,45px);line-height:1.14;letter-spacing:-.025em;margin:0 0 20px;max-width:680px;color:#fff}
body.ui-screen-lab .sr-hero p{font-size:15px;line-height:1.75;max-width:690px;margin:0;color:#dbe9f5}
body.ui-screen-lab .sr-hero strong{color:#fff}
body.ui-screen-lab .sr-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
body.ui-screen-lab .sr-hero-actions a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:46px;padding:12px 18px;text-decoration:none;font-size:13px;font-weight:750;border-radius:10px}
body.ui-screen-lab .sr-hero-primary{background:#f7d394;color:#173b60}
body.ui-screen-lab .sr-hero-secondary{border:1px solid #9eb7cf;color:#fff}
body.ui-screen-lab .sr-hero-context{display:grid;align-content:center;gap:5px;border-left:1px solid #6e8fac;padding-left:27px}
body.ui-screen-lab .sr-hero-context span{font-size:10px;letter-spacing:.07em;color:#b7cee2;font-weight:700;margin-top:8px}
body.ui-screen-lab .sr-hero-context strong{font-size:16px;line-height:1.35}
body.ui-screen-lab .sr-hero-context small{font-size:11px;line-height:1.65;color:#d3dfeb;margin-top:13px}
body.ui-screen-lab .sr-panel{border:1px solid #d4dfe9;border-radius:17px;background:#fff;box-shadow:0 5px 25px rgba(17,39,74,.04)}
body.ui-screen-lab .sr-filter-panel{margin-top:22px;padding:23px 27px}
body.ui-screen-lab .sr-intro-line{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px}
body.ui-screen-lab .sr-kicker{font-size:10px;letter-spacing:.08em;font-weight:800;color:#986e2a}
body.ui-screen-lab .sr-intro-line h2{font-size:21px;color:#153c60;margin:6px 0}
body.ui-screen-lab .sr-quiet{font-size:12px;color:#6a7f90}
body.ui-screen-lab .sr-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:15px;margin-top:16px}
body.ui-screen-lab .sr-form label{display:grid;gap:7px;font-size:12px;color:#4c6580;font-weight:750}
body.ui-screen-lab .sr-form select{box-sizing:border-box;width:100%;background:#f9fbfd;border:1px solid #becfdf;border-radius:9px;padding:10px 12px;min-height:46px;color:#213f5a;font:inherit;font-size:14px}
body.ui-screen-lab .sr-form button{background:#173e6b;color:#fff;border:1px solid #173e6b;border-radius:9px;min-height:46px;padding:11px 20px;font:inherit;font-weight:750;font-size:13px;cursor:pointer}
body.ui-screen-lab .sr-form button:disabled{opacity:.62;cursor:wait}
body.ui-screen-lab :is(a,button,select):focus-visible{outline:3px solid #bb8a34;outline-offset:3px}
body.ui-screen-lab .sr-status{margin:12px 0 0;min-height:20px;font-size:12px;color:#55728b;line-height:1.6}
body.ui-screen-lab .sr-status[data-state="error"]{color:#a43d35}
body.ui-screen-lab .sr-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:17px 0}
body.ui-screen-lab .sr-summary>div{background:#fff;border:1px solid #d7e2ec;border-radius:14px;padding:19px 21px;min-width:0}
body.ui-screen-lab .sr-summary span{display:block;color:#5f7891;font-size:10px;font-weight:800;letter-spacing:.06em}
body.ui-screen-lab .sr-summary strong{display:block;color:#173f68;font-size:33px;line-height:1.3;margin:5px 0;font-variant-numeric:tabular-nums}
body.ui-screen-lab .sr-summary small{font-size:11px;color:#728396;line-height:1.55}
body.ui-screen-lab .sr-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;align-items:start}
body.ui-screen-lab .sr-cohort{min-width:0;background:#fff;border:1px solid #d7e1e9;border-radius:17px;overflow:hidden}
body.ui-screen-lab .sr-cohort-head{padding:24px 26px 19px;background:#f5f8fc;border-bottom:1px solid #e1e8ee}
body.ui-screen-lab #sr-replay .sr-cohort-head{background:#fffaf2}
body.ui-screen-lab .sr-source{display:inline-block;font-size:10px;letter-spacing:.06em;font-weight:800;border-radius:4px;padding:5px 8px}
body.ui-screen-lab .sr-source-recorded{background:#e0edf9;color:#194a73}
body.ui-screen-lab .sr-source-replay{background:#f5e8ca;color:#845d1f}
body.ui-screen-lab .sr-cohort h2{font-size:21px;margin:12px 0 5px;color:#193f65}
body.ui-screen-lab .sr-cohort-head p{font-size:12px;line-height:1.75;color:#5e7084;margin:0}
body.ui-screen-lab .sr-cohort-content{padding:19px 26px 26px}
body.ui-screen-lab .sr-empty{font-size:13px;color:#657d8d;line-height:1.7;margin:0}
body.ui-screen-lab .sr-detail-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.ui-screen-lab .sr-detail-stats>div{border:1px solid #e4eaf0;border-radius:10px;padding:10px 12px;min-width:0}
body.ui-screen-lab .sr-detail-stats small{display:block;color:#617a8d;font-size:10px;line-height:1.6}
body.ui-screen-lab .sr-detail-stats strong{display:block;color:#203f5c;font-size:22px;font-variant-numeric:tabular-nums;line-height:1.45}
body.ui-screen-lab .sr-subheading{font-size:13px;font-weight:800;color:#244967;margin:24px 0 13px}
body.ui-screen-lab .sr-bar-row{display:grid;grid-template-columns:105px 1fr 27px;gap:9px;align-items:center;margin:10px 0}
body.ui-screen-lab .sr-bar-row label{font-size:11px;color:#536b81;line-height:1.3}
body.ui-screen-lab .sr-bar-track{display:block;border-radius:6px;height:11px;background:#eef2f6;overflow:hidden}
body.ui-screen-lab .sr-bar-fill{height:100%;display:block;border-radius:6px;background:#345e83}
body.ui-screen-lab .sr-bar-row[data-bucket="loss"] .sr-bar-fill{background:#ac645a}
body.ui-screen-lab .sr-bar-row[data-bucket="flat"] .sr-bar-fill{background:#9faebb}
body.ui-screen-lab .sr-bar-row[data-bucket="gain"] .sr-bar-fill{background:#38836b}
body.ui-screen-lab .sr-bar-row b{font-size:12px;color:#304e6c;text-align:right;font-variant-numeric:tabular-nums}
body.ui-screen-lab .sr-latest{display:grid;gap:1px;border-top:1px solid #e3e9ef}
body.ui-screen-lab .sr-latest-item{display:grid;grid-template-columns:1fr auto;gap:12px;padding:11px 0;border-bottom:1px solid #e3e9ef}
body.ui-screen-lab .sr-latest-item strong{font-size:13px;color:#214764}
body.ui-screen-lab .sr-latest-item small{font-size:11px;color:#687d91;display:block;margin-top:2px}
body.ui-screen-lab .sr-latest-item b{font-size:14px;color:#3b596d;font-variant-numeric:tabular-nums}
body.ui-screen-lab .sr-latest-item b[data-direction="up"]{color:#257056}
body.ui-screen-lab .sr-latest-item b[data-direction="down"]{color:#a64d43}
body.ui-screen-lab .sr-disclosure{margin:22px 0 0;padding:28px 30px;border:1px solid #d7e2ec;border-radius:16px;background:#fff}
body.ui-screen-lab .sr-disclosure h2{margin:7px 0 14px;font-size:23px;color:#1a3f62}
body.ui-screen-lab .sr-disclosure p{font-size:13px;line-height:1.8;color:#516b80;margin:10px 0}
body.ui-screen-lab .sr-disclosure small{font-size:11px;color:#688095;line-height:1.65;display:block}
body.ui-screen-lab .sr-steps{display:flex;gap:14px;flex-wrap:wrap;margin:22px 0}
body.ui-screen-lab .sr-steps a{display:inline-flex;justify-content:center;align-items:center;text-decoration:none;min-height:46px;padding:11px 16px;border:1px solid #234a72;border-radius:9px;color:#1b466d;font-weight:750;font-size:13px}
body.ui-screen-lab .sr-steps a:last-child{background:#1c4671;color:#fff}
@media(max-width:840px){body.ui-screen-lab .sr-hero{grid-template-columns:1fr;gap:24px;padding:35px}body.ui-screen-lab .sr-hero-context{border-left:0;border-top:1px solid #6e8fac;padding:18px 0 0;grid-template-columns:1fr 1fr;gap:5px 15px}body.ui-screen-lab .sr-hero-context small{grid-column:1/-1}body.ui-screen-lab .sr-columns{grid-template-columns:1fr}}
@media(max-width:650px){body.ui-screen-lab .sr-main{padding:14px 14px 50px}body.ui-screen-lab .sr-hero{padding:28px 22px;border-radius:16px}body.ui-screen-lab .sr-hero h1{font-size:29px}body.ui-screen-lab .sr-hero-context{grid-template-columns:1fr}body.ui-screen-lab .sr-hero-actions a{width:100%}body.ui-screen-lab .sr-filter-panel{padding:17px}body.ui-screen-lab .sr-form{grid-template-columns:1fr}body.ui-screen-lab .sr-form button{width:100%}body.ui-screen-lab .sr-summary{grid-template-columns:1fr;gap:9px}body.ui-screen-lab .sr-cohort-head,body.ui-screen-lab .sr-cohort-content{padding:18px}body.ui-screen-lab .sr-disclosure{padding:19px}body.ui-screen-lab .sr-bar-row{grid-template-columns:92px 1fr 26px;gap:7px}body.ui-screen-lab .sr-steps a{width:100%}}
@media(prefers-reduced-motion:no-preference){body.ui-screen-lab .sr-form button,body.ui-screen-lab .sr-steps a{transition:background .18s ease,border-color .18s ease}body.ui-screen-lab .sr-form button:hover{background:#285780}}
