/* The orientation result: distinct stages, clear hierarchy and a handoff to a person. */
.diagnostic-page .di-result-refresh { position:relative;isolation:isolate;padding:clamp(20px,3.2vw,38px);overflow:hidden;border:1px solid #52697a;border-radius:24px;background:radial-gradient(ellipse at 100% 0,#ffae3020,transparent 48%),linear-gradient(130deg,#102f43,#081c2b 70%);box-shadow:0 24px 65px #0003; }
.di-result-refresh::before { content:'';position:absolute;top:0;left:34px;width:110px;height:3px;background:linear-gradient(90deg,#ff991e,#ffd17b);border-radius:0 0 4px 4px; }
.diagnostic-page .di-result-refresh > .di-heading { align-items:center;gap:14px;margin-bottom:24px;padding-bottom:22px;border-bottom:1px solid #46607170; }
.di-result-refresh > .di-heading > span { width:42px;height:42px;flex-basis:42px;border:1px solid #ffb44750;border-radius:14px;background:linear-gradient(135deg,#ffad4329,#ffad4308);color:#ffc679;font-size:13px; }
.diagnostic-page .di-result-refresh .di-heading h2 { font-size:clamp(25px,3vw,34px);line-height:1.12;margin:0 0 6px;color:#fff;letter-spacing:-.035em; }
.di-result-refresh .di-heading p { color:#acc5d4;font-size:12px;line-height:1.5; }
.di-result-refresh .di-result-lead { display:flex;gap:20px;align-items:flex-start;padding:22px 24px;margin-bottom:24px;border:1px solid #4b6f835c;border-radius:17px;background:linear-gradient(110deg,#183c50b3,#102c3e4d); }
.di-result-refresh .di-r-icon { display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border:1px solid #ffb44455;border-radius:13px;background:#ffb44414;color:#ffbd61; }
.di-result-refresh .di-r-icon svg { display:block;width:24px;height:24px; }
.di-result-refresh .di-result-lead > .di-r-icon { flex-basis:62px;width:62px;height:62px;border-radius:19px;background:radial-gradient(circle at 30% 20%,#ffba4f44,#ffba4f08);box-shadow:0 0 30px #ffad4310; }
.di-result-refresh .di-result-lead > .di-r-icon svg { width:32px;height:32px; }
.di-result-refresh .di-result-badge { padding:0;background:none;border:0;color:#ffc679;font:750 10px/1.5 system-ui;letter-spacing:.07em;text-transform:uppercase; }
.diagnostic-page .di-result-refresh h3.di-result-lead-title { margin:8px 0 10px;color:#f5f9fc;font:750 clamp(19px,2.2vw,24px)/1.25 system-ui;letter-spacing:-.025em; }
.diagnostic-page .di-result-refresh p.di-result-summary { max-width:85ch;margin:0;color:#d3e1e9;font:400 15px/1.75 system-ui; }
.di-result-refresh .di-result-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px; }
.di-result-refresh .di-result-card { position:relative;padding:22px;border:1px solid #395e73;border-radius:17px;background:linear-gradient(150deg,#102d40,#0a2132);box-shadow:0 8px 22px #00000012;min-width:0; }
.di-result-refresh .di-result-card-heading { display:flex;align-items:flex-start;gap:12px;margin-bottom:20px; }
.diagnostic-page .di-result-refresh .di-result-card h3 { display:block;margin:2px 0 6px;color:#f5f9fc;font:750 15px/1.35 system-ui; }
.di-result-refresh .di-result-card h3::before { display:none; }
.diagnostic-page .di-result-refresh .di-result-card-heading p { margin:0;color:#9cb8ca;font:400 11px/1.6 system-ui; }
.di-result-refresh .di-result-card--steps { border-color:#467d79;background:linear-gradient(145deg,#163c43,#0c2535); }
.di-result-refresh .di-result-card--steps .di-r-icon { color:#9ee7d5;border-color:#8bdfc650;background:#81d9c516; }
.di-result-refresh .di-result-card--questions .di-r-icon { color:#a9d4ff;border-color:#83bfff55;background:#83bfff14; }
.di-result-refresh .di-result-card ul { display:grid;gap:13px;margin:0;padding:0;list-style:none;counter-reset:orientation; }
.diagnostic-page .di-result-refresh .di-result-card li { position:relative;padding:0 0 0 30px;margin:0;color:#c9dce8;font:400 13px/1.75 system-ui;overflow-wrap:anywhere;counter-increment:orientation; }
.di-result-refresh .di-result-card li::before { content:counter(orientation,decimal-leading-zero);position:absolute;top:3px;left:0;width:21px;height:21px;display:grid;place-items:center;border-radius:6px;background:#ffffff07;color:#a5bfd0;font:650 9px/1 system-ui; }
.di-result-refresh .di-result-card--steps li::before { color:#9ce0d0;background:#8de2c90d; }
.diagnostic-page .di-result-refresh p.di-result-note { margin:22px 0;padding:13px 16px;border:1px solid #e5b06233;border-left:3px solid #e5b062;border-radius:0 11px 11px 0;background:#e5b06208;color:#d9c7ad!important;font:400 11px/1.7 system-ui!important; }
.di-result-refresh .di-result-handoff { display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;border:1px solid #f9ae4940;border-radius:16px;background:radial-gradient(ellipse at 100% 50%,#ffa43120,transparent 75%),#0c2435; }
.di-result-refresh .di-result-handoff strong { color:#fff;font:750 17px/1.35 system-ui; }
.diagnostic-page .di-result-refresh .di-result-handoff p { margin:6px 0 0;max-width:62ch;color:#a9c1d1;font:400 12px/1.6 system-ui; }
.di-result-refresh .di-result-next { flex-shrink:0;margin:0;min-height:48px;padding:13px 20px;border:1px solid #ffc35f;border-radius:11px;background:linear-gradient(135deg,#ffbd4c,#ff9118);color:#102331;font:800 13px/1.4 system-ui;box-shadow:0 7px 22px #ff991b20; }
.di-result-refresh .di-result-next:hover { filter:brightness(1.08); }
.di-result-refresh .di-result-next:focus-visible { outline:3px solid #fff;outline-offset:4px; }
.di-result-refresh[data-urgency=urgent] .di-result-lead { border-color:#f3aa615c;background:linear-gradient(110deg,#69412366,#102c3e4d); }
.di-result-refresh[data-urgency=urgent] .di-result-badge { color:#ffd1a6;background:none;border:0; }
.di-result-refresh[data-urgency=unclear] .di-result-badge { color:#b6d8fa; }
@media(max-width:760px) {
 .diagnostic-page .di-result-refresh { padding:20px 16px;border-radius:19px; }
 .di-result-refresh::before { left:20px;width:75px; }
 .diagnostic-page .di-result-refresh > .di-heading { gap:11px;padding-bottom:18px;margin-bottom:18px; }
 .di-result-refresh .di-heading > span { width:35px;height:35px;flex-basis:35px;border-radius:11px; }
 .di-result-refresh .di-result-lead { padding:17px 15px;gap:12px;margin-bottom:16px; }
 .di-result-refresh .di-result-lead > .di-r-icon { width:36px;height:36px;flex-basis:36px;border-radius:11px; }
 .di-result-refresh .di-result-lead > .di-r-icon svg { width:22px;height:22px; }
 .diagnostic-page .di-result-refresh h3.di-result-lead-title { font-size:19px; }
 .diagnostic-page .di-result-refresh p.di-result-summary { font-size:13px;line-height:1.7; }
 .di-result-refresh .di-result-grid { grid-template-columns:1fr;gap:12px; }
 .di-result-refresh .di-result-card { padding:18px; }
 .di-result-refresh .di-result-card-heading { margin-bottom:15px; }
 .di-result-refresh .di-result-handoff { padding:19px 16px;display:block; }
 .di-result-refresh .di-result-next { display:flex;margin-top:16px;box-sizing:border-box;width:100%; }
}
