/* Paper-figure treatment, following the GroundingPI reference. */
.results-v3{--plot-ours:#9467bd;--plot-blue:#557ce5;--plot-rule:#ddd7e5;color:#302b36}
.results-v3 .r3-figure{position:relative;min-width:0;margin:0;background:#fff}
.results-v3 .r3-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:10px 0 12px}
.results-v3 .r3-heading h3{font-size:1.35rem;letter-spacing:0;font-weight:600}
.results-v3 .r3-tools{display:flex;gap:8px;align-items:center}
.results-v3 .r3-tools button{border:1px solid #e5ddeb;border-radius:7px;background:#fff;padding:5px 11px;font-size:12px;min-height:34px;white-space:nowrap;color:#6d5b80}
.results-v3 .r3-tools button:hover{background:#f7f3fb}
.results-v3 .r3-plot{position:relative;max-width:1020px;margin:0 auto}
.results-v3 .r3-svg{display:block;width:100%;height:auto;overflow:visible;font-family:'Times New Roman',Times,serif}
.results-v3 .r3-mark{cursor:pointer;outline:none;transition:opacity .15s}
.results-v3 .r3-mark:focus-visible>path,.results-v3 .r3-mark:focus-visible>rect,.results-v3 .r3-mark:focus-visible>circle{stroke:#432664;stroke-width:2}
.results-v3 .r3-muted{opacity:.18}
.results-v3 .r3-sector-label{fill:#34313b;font-weight:700}
.results-v3 .r3-group-label{fill:#6b6670;font-weight:700;letter-spacing:.35px}
.results-v3 .r3-score{font-variant-numeric:tabular-nums;pointer-events:none}
.results-v3 .r3-center{font-weight:700;fill:var(--plot-ours)}
.results-v3 .r3-tooltip{position:absolute;z-index:10;pointer-events:none;background:#fff;border:1px solid #ded5e9;box-shadow:0 6px 22px #30213c20;border-radius:9px;padding:11px 14px;max-width:270px;font:13px/1.5 system-ui,sans-serif;color:#433c4b}
.results-v3 .r3-tooltip[hidden]{display:none}
.results-v3 .r3-tooltip strong{display:block;color:#76529a;font-weight:650}
.results-v3 .r3-tooltip b{font-variant-numeric:tabular-nums;font-size:20px;color:#302b36}
.results-v3 .r3-tooltip small{display:block;color:#82778c;margin-top:3px}
.results-v3 .r3-key{display:flex;gap:12px 20px;align-items:center;flex-wrap:wrap;font:14px/1.5 Georgia,'Times New Roman',serif;margin:6px 0 4px}
.results-v3 .r3-key span{display:inline-flex;gap:7px;align-items:center}
.results-v3 .r3-key i{display:inline-block;width:14px;height:14px;background:#9467bd}
.results-v3 .r3-key i.r3-baselines{background:linear-gradient(90deg,#557ce5 0 25%,#7e9eea 25% 50%,#a4baf0 50% 75%,#c4d1f5 75%)}
.results-v3 .r3-note{color:#8b8194;font-size:12px;line-height:1.6;margin:8px 0 0}
.results-v3 .r3-detail{margin-top:12px;border-top:1px solid #e9e3ee;border-bottom:1px solid #e9e3ee}
.results-v3 .r3-detail summary{padding:10px 0;cursor:pointer;color:#6c597d;font-size:13px}
.results-v3 .r3-detail-body{padding:4px 0 15px;color:#75677f;font-size:12px;line-height:1.6}
.results-v3 .r3-detail-body a{color:#79539d;text-decoration:underline;text-underline-offset:3px}
.results-v3 .r3-table-wrap{overflow:auto;max-height:360px;margin:10px 0}
.results-v3 table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}
.results-v3 th,.results-v3 td{padding:8px 11px;border-bottom:1px solid #eee8f2;font-variant-numeric:tabular-nums}
.results-v3 thead th{position:sticky;top:0;background:#faf8fc;z-index:1;color:#514458;font-weight:600}
.results-v3 tr.r3-ours{background:#faf7fd;color:#79549e}
.results-v3 .r3-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:38px;margin-top:48px;padding-top:32px;border-top:1px solid #eee7f2;align-items:start}
.results-v3 .r3-grid .r3-plot{min-height:0}
.results-v3 .r3-grid .r3-heading h3{font-size:1.2rem}
.results-v3 .r3-line-legend{display:flex;flex-wrap:wrap;gap:4px 15px;margin:12px 0;color:#71657b;font-size:12px}
.results-v3 .r3-line-legend button{border:0;background:none;padding:4px 0;display:flex;gap:6px;align-items:center;color:inherit;font-size:inherit}
.results-v3 .r3-line-legend button[aria-pressed=false]{opacity:.35}
.results-v3 .r3-line-legend i{display:block;width:16px;height:3px}
.r3-dialog{position:fixed;inset:12px;width:calc(100% - 24px);height:calc(100% - 24px);max-width:1450px;max-height:none;border:0;border-radius:14px;padding:45px 26px 24px;background:#fff;overflow:auto}
.r3-dialog::backdrop{background:#21172eb0;backdrop-filter:blur(4px)}
.r3-dialog>.r3-close{position:sticky;top:0;float:right;z-index:25;margin-top:-28px;background:#fff;border:1px solid #dfd5e9;padding:8px 15px;border-radius:7px;color:#665071}
.r3-dialog .r3-figure{clear:both;max-width:1100px;margin:auto}
.r3-dialog .r3-plot{overflow-x:auto}
.r3-dialog .r3-svg{min-width:700px}
.r3-dialog .r3-heading{display:none}
.results-v3 .r3-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.results-v3 .r3-grid{grid-template-columns:1fr;gap:36px;margin-top:32px;padding-top:24px}.results-v3 .r3-grid .r3-plot{max-width:630px}.results-v3 .r3-heading h3{font-size:1.15rem}.results-v3 .r3-key{font-size:12px;gap:8px 14px}.results-v3 .r3-heading{gap:8px}.results-v3 .r3-tools button{padding:5px 8px}.results-v3 .r3-note{font-size:11px}.r3-dialog{padding:42px 10px 20px}}
@media(prefers-reduced-motion:reduce){.results-v3 .r3-mark{transition:none}}
