/* One visible research console, sized to the space between the fixed banners. */
html.inline-embedded .intro { display:none; }
html.inline-embedded main { padding:0 4px 8px!important; }
main:has(.buyer-desk)>.desk:not(.buyer-desk) { display:none; }
.desk:not(.awaiting-launch) {
 height:min(460px,var(--motor-height,70dvh));
 min-height:0;display:flex;flex-direction:column;padding:12px;
}
.desk .top { flex:none;gap:6px;padding-bottom:6px; }
.desk progress { flex:none;margin:5px 0;height:4px; }
.desk .research-focus { display:none; }
.desk:not(.awaiting-launch) .console-body {
 flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 gap:12px;margin:0;
}
.desk .console-body [data-part="log"] {
 height:100%!important;min-height:0;max-height:100%!important;overscroll-behavior:contain;
}
.desk .console-body .meter { min-height:0;padding:4px;gap:5px;overflow:hidden; }
.desk .reading.has-progress-ring { width:140px;flex:none;margin:0 auto; }
.desk .reading.has-progress-ring strong { font-size:36px; }
.desk .pct-fraction { display:none; }
.desk [data-part="regions"] .atlas { max-height:150px;object-fit:contain; }
.desk .atlas-legend { display:none; }
.desk.awaiting-launch { margin:0 auto;padding:16px; }
@media(max-width:680px){
 .desk:not(.awaiting-launch) { padding:10px;height:min(520px,var(--motor-height,70dvh)); }
 .desk:not(.awaiting-launch) .console-body { grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:6px; }
 .desk .console-body .meter { grid-row:1;display:grid;grid-template-columns:96px minmax(0,1fr);gap:4px 10px;padding:4px 0; }
 .desk .reading.has-progress-ring { width:90px;grid-column:1;grid-row:1 / 3; }
 .desk .reading.has-progress-ring strong { font-size:28px; }
 .desk [data-part="status"] { grid-column:2;font-size:11px;line-height:1.4; }
 .desk [data-part="regions"] { grid-column:2;width:100%;max-width:none;min-width:0; }
 .desk [data-part="regions"] .atlas { width:100%;height:auto;max-height:88px; }
 .desk .atlas-label { display:none; }
 .desk .atlas-legend { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px 8px;padding:0;margin:0; }
 .desk .atlas-legend li { font-size:9px;padding:2px 0; }
 .desk [data-part="log"] li { padding:7px 4px;gap:6px; }
 .desk .trace-detail strong { font-size:12px;line-height:1.35; }
 .desk .trace-detail .research-detail { font-size:11px;line-height:1.35; }
 .desk .region-country-strip { padding-bottom:0; }
}
@media(max-height:500px){
 .desk .reading.has-progress-ring { width:74px; }
 .desk .reading.has-progress-ring strong { font-size:24px; }
 .desk [data-part="regions"] .atlas { max-height:60px; }
}

/* Let the buyer engine map use its panel instead of a thumbnail-sized cap. */
.buyer-desk:not(.awaiting-launch) .console-body{grid-template-columns:minmax(0,2fr) minmax(0,3fr)}
.buyer-desk .console-body .meter{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:100px auto minmax(0,1fr);align-content:stretch;justify-items:center;gap:5px;padding:4px}
.buyer-desk .reading.has-progress-ring{width:100px;grid-area:auto}
.buyer-desk .reading.has-progress-ring strong{font-size:30px}
.buyer-desk [data-part="regions"]:not([hidden]){width:100%;max-width:none;min-height:0;height:100%}
.buyer-desk [data-part="regions"] .atlas{width:100%;max-width:none;height:100%;max-height:none}
@media(max-width:680px){
 .buyer-desk:not(.awaiting-launch) .console-body{grid-template-columns:minmax(0,1fr)}
 .buyer-desk .console-body .meter{grid-template-columns:76px minmax(0,1fr);grid-template-rows:76px auto;gap:4px 10px;padding:4px 0}
 .buyer-desk .reading.has-progress-ring{width:72px;grid-column:1;grid-row:1}
 .buyer-desk .reading.has-progress-ring strong{font-size:24px}
 .buyer-desk [data-part="status"]{grid-column:2;grid-row:1}
 .buyer-desk [data-part="regions"]:not([hidden]){grid-column:1 / -1;grid-row:2;height:auto}
 .buyer-desk [data-part="regions"] .atlas{height:auto;max-height:none}
 .buyer-desk .atlas-legend{grid-template-columns:repeat(3,minmax(0,1fr));gap:1px 8px}
}
@media(max-height:500px){
 .buyer-desk .console-body .meter{grid-template-rows:60px auto minmax(0,1fr)}
 .buyer-desk .reading.has-progress-ring{width:58px}
 .buyer-desk .reading.has-progress-ring strong{font-size:20px}
}
@media(max-width:680px) and (max-height:500px){
 .buyer-desk .console-body .meter{grid-template-rows:60px auto}
 .buyer-desk [data-part="regions"] .atlas{max-height:100px}
}
