/* A clear path from operational context to a reviewable brief. */
.score-workspace{background:#fff;padding-block:54px 64px}
.score-intro h2{font-size:clamp(34px,4vw,54px);line-height:1.08;color:#151e43;margin-bottom:14px}
.score-intro>p{font-size:21px;color:#626d82;margin:0 0 28px}
.score-workspace .score-bands{margin:0 0 24px;gap:8px}
.score-workspace .original-calculator{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(340px,.9fr);gap:20px;background:none;border:0;padding:0;align-items:start}
.calc-controls{border:1px solid #d9dee6;padding:27px 28px 24px;min-width:0;border-radius:3px}
.score-workspace .calc-heading{padding:0;margin:0 0 18px;border:0;display:block}
.score-workspace .calc-heading h3{font-size:25px;letter-spacing:-.03em;margin:0 0 6px;color:#151e43}
.score-workspace .calc-heading p{font-size:14px;margin:0;color:#687289;line-height:1.5}
.score-workspace .calc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:0;margin:0}
.score-workspace .calc-fields label{display:grid;grid-template-columns:24px minmax(0,1fr) 58px;gap:9px;align-items:center;min-height:72px;margin:0;padding:5px 0;border-bottom:1px solid #e1e5eb;font-size:15px;color:#151e43}
.calc-index{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eef1f5;color:#44516c;font-size:12px}
.score-workspace .calc-fields input{width:58px;min-height:38px;padding:6px 10px;border:1px solid #c5ccd7;border-radius:2px;font-size:16px;text-align:center;background:#fff;color:#151e43}
.score-scale{font-size:12px;color:#687289;line-height:1.45;margin:17px 0 12px}
.score-workspace .critical-global{padding:5px 0 0;margin:0;border:0;display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:#151e43}
.score-workspace .critical-global input{width:19px;height:19px;accent-color:#151e43}
.score-workspace .calc-result{display:block;position:sticky;top:100px;align-self:start;border:0;border-radius:3px;background:#151e43!important;padding:30px;color:#fff;min-width:0;box-shadow:none}
.score-workspace .calc-result>span{font-size:15px;color:#cbd5e6;font-weight:400}
.score-workspace #scoreOut{display:block;font-size:clamp(48px,5vw,72px);line-height:1.1;font-weight:800;letter-spacing:-.055em;margin:18px 0 9px}
.score-workspace #ratingOut{font-size:26px;line-height:1.25;letter-spacing:-.025em;color:#fff;margin:0 0 24px}
.score-workspace .score-stable #scoreOut{color:#74a4ff}.score-workspace .score-managed #scoreOut{color:#65d4c7}.score-workspace .score-risk #scoreOut{color:#b5d679}.score-workspace .score-unstable #scoreOut{color:#f3ab49}.score-workspace .score-critical #scoreOut{color:#ff9b9b}
.score-workspace .result-context{color:#d5deec;font-size:16px;line-height:1.6;margin:0 0 22px}
.score-workspace #discussScore{display:flex;width:100%;font-size:15px;min-height:50px;padding-inline:18px}
.score-actions,.brief-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}
.score-actions button,.brief-actions button{border:1px solid #8190ab;background:transparent;color:#fff;border-radius:2px;min-height:44px;font-size:13px;font-weight:600;cursor:pointer;padding:10px 9px}
.score-actions button:hover,.brief-actions button:hover{background:#ffffff12}
.score-workspace #scoreNote{border-top:1px solid #5b6784;padding-top:20px;font-size:13px;line-height:1.6;color:#ccd7e9;margin:25px 0 12px}
.score-workspace .score-progress{height:3px;background:#445172;margin:0}
.action-status{font-size:13px;line-height:1.5;margin:14px 0 0;color:inherit}
.action-status:empty{display:none}.copy-fallback{width:100%;min-height:150px;margin-top:14px;font:13px/1.5 Arial,sans-serif;padding:12px;color:#151e43;background:#fff}
.brief-section{padding:44px 0 46px;background:#fff;color:#151e43}
.brief-intro h1{font-size:clamp(37px,4.5vw,62px);line-height:1.08;letter-spacing:-.045em;color:#151e43;margin:0 0 13px}
.brief-intro>p{font-size:21px;color:#596780;line-height:1.5;margin:0 0 28px}
.brief-routes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #cbd3df;margin-bottom:28px;max-width:100%}
.brief-routes button{font:600 16px/1.4 Helvetica,Arial,sans-serif;color:#5c6881;border:0;border-bottom:3px solid transparent;background:#fff;min-height:52px;padding:12px 15px;cursor:pointer;margin-bottom:-1px}
.brief-routes button[aria-selected=true]{color:#151e43;border-bottom-color:#90bd58}.brief-routes button:hover{background:#f4f7f0}
.brief-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(360px,1fr);gap:46px;align-items:start}
.brief-layout>*{min-width:0}
.brief-form h2,.brief-preview h2{font-size:29px;line-height:1.2;letter-spacing:-.035em;margin:0 0 25px;color:#151e43}
.brief-form .field{margin:0 0 19px;min-width:0}.brief-form .field label{font-size:15px;font-weight:700;display:block;margin:0 0 8px;color:#151e43}
.brief-form .field label small{font-size:12px;font-weight:400;color:#64718b}
.brief-form input,.brief-form select,.brief-form textarea{display:block;width:100%;max-width:100%;border:1px solid #cbd3df;background:#fff;border-radius:2px;min-height:46px;padding:11px 12px;color:#151e43;font-size:15px;line-height:1.5}
.brief-form textarea{min-height:112px;resize:vertical}.brief-form input::placeholder,.brief-form textarea::placeholder{color:#7b859a}
.brief-identity{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:14px;border-top:1px solid #d5dce5;padding-top:21px;margin-top:26px}
.brief-identity .field{margin-bottom:0}.brief-help{font-size:12px;color:#67738a;margin:14px 0 0}
.brief-preview{position:sticky;top:100px;background:#151e43;padding:29px 30px 25px;color:#fff;border-radius:3px}
.brief-preview h2{color:#fff;font-size:28px;margin-bottom:24px}
.brief-preview h2:after{content:'';display:block;width:46px;height:3px;background:#90bd58;margin-top:14px}
.brief-preview h3{font-size:22px;line-height:1.3;margin:0 0 13px;color:#fff;letter-spacing:-.02em}
#scoreAttachment{font-size:13px;line-height:1.6;color:#dbe5f2;margin:0 0 19px}
.brief-preview dl{margin:20px 0 24px;padding-top:21px;border-top:1px solid #8793aa}
.brief-preview dt{font-size:14px;font-weight:700;margin:18px 0 5px}.brief-preview dt:first-child{margin-top:0}
.brief-preview dd{font-size:14px;color:#d6e0ef;line-height:1.6;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow:auto}
.brief-preview .btn{display:flex;width:100%;font-size:14px;padding-inline:18px;min-height:49px}
.brief-privacy{font-size:12px;line-height:1.65;color:#d0dbec;border-top:1px solid #65728c;margin:24px 0 0;padding-top:17px}
.brief-direct{display:flex;gap:28px;align-items:center;justify-content:space-between;margin-top:31px;padding-top:23px;border-top:1px solid #d5dce5;font-size:14px;flex-wrap:wrap}
.brief-direct a{text-decoration:none}.brief-direct a:hover{text-decoration:underline}
[dir=rtl] .brief-intro h1,[dir=rtl] .brief-form h2,[dir=rtl] .brief-preview h2{letter-spacing:0;line-height:1.3}
[dir=rtl] .brief-routes button{font-family:inherit}
@media(max-width:1010px){.brief-layout{gap:28px;grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr)}.brief-identity{grid-template-columns:1fr 1fr}.brief-identity .field:last-child{grid-column:1/-1}.score-workspace .original-calculator{grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr)}.calc-controls{padding-inline:20px}.score-workspace .calc-result{padding:25px 22px}}
@media(max-width:700px){.brief-section{padding:29px 0 35px}.brief-intro h1{font-size:38px;line-height:1.1}.brief-intro>p{font-size:16px;line-height:1.55;margin-bottom:21px}.brief-routes{margin-bottom:25px}.brief-routes button{font-size:13px;min-height:58px;padding:10px 7px}.brief-layout{grid-template-columns:1fr;gap:27px}.brief-form h2{font-size:26px;margin-bottom:21px}.brief-form .field label{font-size:14px}.brief-form textarea{min-height:106px}.brief-identity{gap:14px 12px;margin-top:21px;padding-top:18px}.brief-form input,.brief-form select,.brief-form textarea{font-size:16px}.brief-preview{position:static;padding:25px 22px}.brief-preview h2{font-size:26px}.brief-preview dd{max-height:none;overflow:visible}.brief-direct{font-size:14px;gap:15px;flex-direction:column;align-items:flex-start;margin-top:26px}.score-workspace{padding-block:35px 42px}.score-intro h2{font-size:36px}.score-intro>p{font-size:17px;line-height:1.5;margin-bottom:20px}.score-workspace .score-bands{display:grid;grid-template-columns:1fr;gap:5px;margin-bottom:20px}.score-workspace .score-bands>div{display:flex;justify-content:space-between;align-items:center;min-height:36px;padding:8px 13px;grid-column:auto}.score-workspace .score-bands strong,.score-workspace .score-bands span{font-size:13px}.score-workspace .original-calculator{grid-template-columns:1fr;gap:17px}.calc-controls{padding:22px 16px 20px}.score-workspace .calc-heading h3{font-size:23px}.score-workspace .calc-heading p{font-size:13px}.score-workspace .calc-fields label{grid-template-columns:24px minmax(0,1fr) 56px;gap:10px;min-height:54px;font-size:13px;line-height:1.35}.calc-index{width:24px;height:24px;font-size:11px}.score-workspace .calc-fields input{width:56px;font-size:16px;min-height:38px;padding-inline:6px}.score-workspace .calc-result{position:static;padding:25px 22px}.score-workspace #scoreOut{font-size:58px}.score-workspace #ratingOut{margin-bottom:18px}.score-workspace .result-context{font-size:15px}.score-workspace .critical-global{font-size:13px}}
@media(max-width:360px){.brief-intro h1{font-size:34px}.brief-routes button{font-size:12px}.brief-identity{grid-template-columns:1fr}.brief-identity .field:last-child{grid-column:auto}.score-workspace .calc-fields label{gap:7px;font-size:12px}.score-actions button,.brief-actions button{font-size:12px}}

.score-mobile-bar{display:none}
@media(max-width:700px){.score-mobile-bar{display:flex;position:sticky;top:76px;z-index:40;align-items:center;justify-content:space-between;gap:8px;background:#151e43;color:#fff;padding:9px 10px;margin:0 -4px 13px;border-radius:2px}.score-mobile-bar>a:first-child{font-size:13px;font-weight:700;line-height:1.4;text-decoration:none}.score-mobile-bar .btn{font-size:11px;min-height:40px;min-width:112px;padding:9px 10px;width:auto;white-space:normal}}

/* Keep all ten inputs in five paired rows; the result remains its own card. */
@media(max-width:1120px) and (min-width:701px){.score-workspace .original-calculator{grid-template-columns:1fr}.score-workspace .calc-result{position:static}.score-workspace .calc-fields label{min-height:64px}}
@media(min-width:481px) and (max-width:700px){.score-workspace .calc-fields{gap:0 18px}.score-workspace .calc-fields label{grid-template-columns:22px minmax(0,1fr) 50px;gap:7px;min-height:86px}.score-workspace .calc-fields input{width:50px}}
@media(max-width:480px){.score-workspace .calc-fields{grid-template-columns:1fr;gap:0}}
