/* Desktop-only research uses the same typography, surface and controls as UG. */
@media(min-width:1100px){
 .ug-desktop #detail-content.research-ready .legacy-map-history{display:none}
 .ug-desktop .research-panel{padding:24px;background:var(--ug-surface,#191e26);color:var(--ug-text,#edf0f4);border:1px solid var(--ug-border,#303743);border-radius:12px;scroll-margin-top:100px}
 .research-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
 .research-heading h2{margin:0;font-size:22px;letter-spacing:-.02em}.research-heading>span{color:var(--ug-text-muted,#a0a9b7);font-size:13px}
 .research-toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:18px;font-size:13px}
 .research-toolbar>[role=group]{display:flex;padding:3px;gap:3px;border:1px solid var(--ug-border,#303743);border-radius:9px;background:var(--ug-field,#141920)}
 .research-toolbar button{height:34px;border:0;border-radius:6px;background:transparent;color:var(--ug-text-muted,#a0a9b7);padding:6px 12px;font:inherit;cursor:pointer}
 .research-toolbar button[aria-pressed=true]{background:var(--ug-surface-selected,#222833);color:var(--ug-accent,#efa48a);font-weight:600}
 .research-toolbar .research-check{display:flex;gap:7px;align-items:center;color:var(--ug-text-muted,#a0a9b7)}
 .research-check input{accent-color:var(--ug-accent,#efa48a);width:15px;height:15px;margin:0}
 .research-actions{display:flex;gap:8px;margin-left:auto}.research-actions button{height:40px;border:1px solid var(--ug-border,#303743);border-radius:8px;padding:8px 14px}
 .research-actions button:hover{color:var(--ug-accent,#efa48a);border-color:var(--ug-accent,#efa48a)}
 .research-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px;padding-bottom:20px;border-bottom:1px solid var(--ug-border,#303743);margin-bottom:18px;font-size:12px}
 .research-filters label{display:grid;gap:8px;color:var(--ug-text-muted,#a0a9b7);min-width:0}
 .research-filters select,.research-filters input[type=number]{min-width:0;width:100%;height:40px;border:1px solid var(--ug-border,#303743);border-radius:8px;background:var(--ug-field,#141920);color:var(--ug-text,#edf0f4);padding:8px 10px;font:inherit;font-size:14px;color-scheme:dark}
 .research-method{color:var(--ug-text-muted,#a0a9b7);font-size:12px;line-height:1.7;margin:0 0 22px}
 .research-panel :disabled{opacity:.55;cursor:not-allowed}.research-panel :focus-visible{outline:2px solid var(--ug-focus,#efa48a);outline-offset:3px}
 .research-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.research-side{min-width:0;padding:20px;border:1px solid var(--ug-border,#303743);border-radius:10px;background:var(--ug-field,#141920)}
 .research-side>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-height:60px;margin-bottom:16px}
 .research-side h3{margin:0;font-size:19px}.research-side header p{margin:7px 0;color:var(--ug-text-muted,#a0a9b7);font-size:12px}.research-record{display:grid;text-align:right;gap:4px;flex-shrink:0}.research-record b{font-size:25px;color:var(--ug-accent,#efa48a);font-variant-numeric:tabular-nums}.research-record span{font-size:12px;color:var(--ug-text-muted,#a0a9b7)}
 .research-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 10px;margin:0 0 20px;padding:17px 0;border-top:1px solid var(--ug-border,#303743);border-bottom:1px solid var(--ug-border,#303743)}.research-metrics>div{display:grid;gap:5px}.research-metrics span{font-size:12px;color:var(--ug-text-muted,#a0a9b7)}.research-metrics strong{font-size:19px;color:var(--ug-text,#edf0f4);font-variant-numeric:tabular-nums}.research-metrics small{font-size:11px;color:var(--ug-text-muted,#a0a9b7)}
 .research-table-wrap{overflow:auto;max-height:560px;scrollbar-width:thin;scrollbar-color:var(--ug-border,#303743) transparent}.research-table-wrap table{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.research-table-wrap th{position:sticky;top:0;text-align:left;color:var(--ug-text-muted,#a0a9b7);font-weight:500;white-space:nowrap;padding:10px 7px;background:var(--ug-surface-selected,#222833);z-index:1}.research-table-wrap td{padding:12px 7px;border-bottom:1px solid var(--ug-border,#303743);vertical-align:top;color:var(--ug-text,#edf0f4)}.research-table-wrap th:first-child,.research-table-wrap td:first-child{white-space:nowrap}
 .research-result{font-weight:700}.research-result.win{color:#77dda5}.research-result.loss{color:#ff9b9f}.research-table-wrap button{cursor:pointer;color:var(--ug-accent,#efa48a);white-space:nowrap;background:transparent;border:0;padding:0;min-height:28px;font-size:12px}.research-evidence{width:100%;font-size:12px;padding:10px 0}.research-evidence dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:0}.research-evidence dl>div{display:flex;justify-content:space-between;gap:10px}.research-evidence dt{color:var(--ug-text-muted,#a0a9b7)}.research-evidence dd{margin:0}.research-evidence p{line-height:1.7;color:var(--ug-text-muted,#a0a9b7);white-space:normal}.research-evidence-row[hidden]{display:none}.research-evidence-row>td{background:var(--ug-surface-selected,#222833)}.research-empty{padding:26px 16px;color:var(--ug-text-muted,#a0a9b7);line-height:1.8;background:var(--ug-surface-selected,#222833);border-radius:8px}
}
