/* Mobile-only grading-result preview. The desktop result DOM and CSS are unchanged. */
.feedback-mobile{display:none}
.feedback-reference-mobile>.use-case-pair{display:none}
.mobile-grade-result{max-width:560px;margin:0 auto;padding:14px 0 4px;color:#0a2848}
.mgr-head{text-align:center}
.mgr-eyebrow{margin:0;color:#078be3;font-size:10px;font-weight:950;letter-spacing:.23em}
.mgr-head h2{margin:7px 0 8px;font-size:clamp(27px,7.4vw,38px);font-weight:950;line-height:1.2;letter-spacing:-.035em}
.mgr-head h2 span{position:relative;z-index:0;display:inline-block}
.mgr-head h2 span:after{content:"";position:absolute;z-index:-1;right:-3px;bottom:1px;left:-3px;height:8px;background:#ffe169;transform:rotate(-.6deg)}
.mgr-lead{margin:0 auto 16px;color:#4d657c;font-size:13px;font-weight:650;line-height:1.75}
.mgr-card{margin-top:11px;padding:15px;border:1px solid #cfe4f1;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(20,84,125,.07)}
.mgr-card-title{display:flex;align-items:center;gap:9px;margin:0 0 11px;color:#0d3157;font-size:15px;font-weight:950;line-height:1.4}
.mgr-card-title i{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:8px;background:#078fe5;color:#fff;font-size:14px;font-style:normal}
.mgr-help{width:22px;height:22px;display:grid;place-items:center;margin-left:auto;border:1px solid #9dcae6;border-radius:50%;color:#1688d1;font-size:11px}
.mgr-diagnosis{display:grid;grid-template-columns:104px minmax(0,1fr);align-items:center;gap:13px}
.mgr-score{position:relative;width:104px;height:104px;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#078be3 0 72%,#ddecf5 72% 100%)}
.mgr-score:after{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff}
.mgr-score span{position:relative;z-index:1;color:#183957;font-size:9px;font-weight:850;text-align:center}
.mgr-score b{display:block;color:#071e43;font-size:36px;line-height:1}
.mgr-score small{font-size:9px}
.mgr-diagnosis-copy strong{display:block;color:#0b2f57;font-size:17px;line-height:1.4}
.mgr-diagnosis-copy p{margin:6px 0 0;color:#4b647b;font-size:13px;line-height:1.65}
.mgr-target{display:flex;align-items:center;gap:9px;margin-top:10px;padding:10px 11px;border-radius:11px;background:#fff0f2;color:#ec4255;font-size:12.5px;font-weight:950;line-height:1.45}
.mgr-target i{width:26px;height:26px;display:grid;place-items:center;flex:0 0 26px;border-radius:50%;background:#ff5267;color:#fff;font-size:13px;font-style:normal}
.mgr-priority{border-color:#ffd3d9;background:linear-gradient(135deg,#fff7f8,#fff)}
.mgr-priority .mgr-card-title i{background:#ff5166}
.mgr-priority>strong{display:block;color:#e6374d;font-size:15px;line-height:1.45}
.mgr-priority>p{margin:6px 0 0;color:#4e6579;font-size:13px;line-height:1.7}
.mgr-priority .mgr-action-line{margin-top:10px;padding:10px 12px;border-radius:10px;background:#fff;color:#183a59;font-weight:800}
.mgr-issue-list{overflow:hidden;border:1px solid #d7e7f1;border-radius:12px}
.mgr-issue-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:9px;min-height:48px;padding:9px 11px;background:#fff}
.mgr-issue-row+.mgr-issue-row{border-top:1px solid #e4edf3}
.mgr-issue-row b{font-size:12.5px;line-height:1.45}
.mgr-status{display:flex;align-items:center;gap:6px;color:#198d6d;font-size:10.5px;font-weight:900;white-space:nowrap}
.mgr-status:before{content:"✓";width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#15a77e;color:#fff;font-size:12px}
.mgr-status.weak{color:#b67a00}
.mgr-status.weak:before{content:"△";background:#ffb51b}
.mgr-status.missing{color:#e54154}
.mgr-status.missing:before{content:"×";background:#ff5267}
.mgr-issue-note{margin:10px 0 0;padding:10px 11px;border-radius:10px;background:#edf8ff;color:#3b5c75;font-size:12.5px;line-height:1.65}
.mgr-issue-note b{color:#087fd3}
.mgr-policy-block{padding:11px;border-radius:11px;background:#edf9f5}
.mgr-policy-block+.mgr-policy-block{margin-top:8px;background:#fff7e9}
.mgr-policy-block strong{display:flex;align-items:center;gap:7px;color:#0a946d;font-size:13px}
.mgr-policy-block strong:before{content:"✓";width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#12a579;color:#fff}
.mgr-policy-block.is-more strong{color:#bd7b00}
.mgr-policy-block.is-more strong:before{content:"△";background:#ffb51b}
.mgr-policy-block p{margin:6px 0 0;color:#456175;font-size:12.5px;line-height:1.65}
.mgr-details{margin-top:9px;border:1px solid #cee2ef;border-radius:11px;background:#f7fbfe}
.mgr-details summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;color:#0b68a6;font-size:13px;font-weight:900;cursor:pointer;list-style:none}
.mgr-details summary::-webkit-details-marker{display:none}
.mgr-details summary:after{content:"＋";font-size:18px}
.mgr-details[open] summary:after{content:"−"}
.mgr-details-content{padding:0 12px 12px;color:#4a6479;font-size:12.5px;line-height:1.7}
.mgr-details-content ul{margin:4px 0 0;padding-left:1.25em}
.mgr-feedback-summary{display:grid;gap:8px}
.mgr-feedback-item{padding:11px;border-radius:11px;background:#edf9f5}
.mgr-feedback-item.bad{background:#fff0f2}
.mgr-feedback-item strong{display:flex;align-items:center;gap:7px;color:#0a936c;font-size:13px}
.mgr-feedback-item.bad strong{color:#e23d51}
.mgr-feedback-item q{display:block;margin:7px 0 0;color:#173955;font-size:12.5px;font-weight:800;line-height:1.65}
.mgr-feedback-item p{margin:5px 0 0;color:#4b6479;font-size:12.5px;line-height:1.65}
.mgr-before-after{display:grid;gap:8px}
.mgr-rewrite-box{overflow:hidden;border:1px solid #cee0eb;border-radius:11px;background:#fff}
.mgr-rewrite-box b{display:block;padding:7px 10px;background:#edf3f7;color:#274760;font-size:12px}
.mgr-rewrite-box.after{border-color:#9ed5f4}
.mgr-rewrite-box.after b{background:#e4f5ff;color:#087fd3}
.mgr-rewrite-box p{margin:0;padding:10px;color:#3f5d73;font-size:12.5px;line-height:1.7}
.mgr-arrow{text-align:center;color:#078be3;font-size:22px;font-weight:950;line-height:1}
.mgr-added{padding:9px 10px;border-top:1px solid #d5e9f5;background:#f4fbff}
.mgr-added small{display:block;margin-bottom:5px;color:#637d91;font-size:10px;font-weight:800}
.mgr-tags{display:flex;flex-wrap:wrap;gap:5px}
.mgr-tags span{padding:4px 8px;border-radius:999px;background:#e2f3ff;color:#0874be;font-size:10px;font-weight:850}
.mgr-next-list{display:grid;gap:8px}
.mgr-next-item{display:grid;grid-template-columns:31px minmax(0,1fr);gap:9px;align-items:start;padding:10px;border:1px solid #d7e7f1;border-radius:11px}
.mgr-next-item>span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#078be3;color:#fff;font-size:14px;font-weight:950}
.mgr-next-item b{display:block;color:#113758;font-size:13px}
.mgr-next-item p{margin:4px 0 0;color:#516b80;font-size:12.5px;line-height:1.6}
.mgr-goal{margin:10px 0 0;padding:10px 12px;border-radius:10px;background:#edf8ff;color:#315c7a;font-size:12.5px;font-weight:800;line-height:1.55}
.mgr-goal strong{color:#e47900}
.mgr-cta-wrap{margin-top:13px}
.mgr-primary-cta,.mgr-secondary-cta{width:100%;min-height:56px;display:flex;align-items:center;justify-content:center;gap:12px;border-radius:12px;font-size:14px;font-weight:950;text-decoration:none}
.mgr-primary-cta{background:linear-gradient(135deg,#16a1ef,#0877e3);box-shadow:0 10px 22px rgba(8,126,218,.2);color:#fff}
.mgr-secondary-cta{margin-top:8px;border:1px solid #a9d6ef;background:#fff;color:#0876c5}
.mgr-caption{margin:8px 0 0;color:#758b9e;font-size:10px;text-align:center}
