.eim-compare[hidden]{display:none!important}
.eim-compare{position:fixed;inset:0;z-index:200000;display:flex;flex-direction:column;background:#f1f5f9;color:#152238;font:14px/1.45 system-ui,sans-serif}
.eim-compare .eim-compare-toolbar{display:flex!important;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 18px;background:#fff;border-bottom:1px solid #d4deea;position:static!important;width:auto!important;min-height:0!important}
.eim-compare .eim-compare-toolbar button{width:auto!important;flex:none!important;min-width:0!important}
.eim-compare-toolbar>div{margin-right:auto}.eim-compare-toolbar strong{font-size:20px}.eim-compare-toolbar small{display:block;color:#465870}
.eim-compare button{padding:9px 13px;border:1px solid #b8c6d8;border-radius:10px;background:#fff;color:#18263c;font:600 14px system-ui;cursor:pointer}
.eim-compare #compare-run{background:#c94308;color:white;border-color:#c94308}
.eim-compare-hint{margin:0;padding:7px 18px;color:#45566d;font-size:12px}
.eim-compare-columns{--compare-left:50%;display:grid;grid-template-columns:minmax(0,calc(var(--compare-left) - 5px)) 10px minmax(0,1fr);flex:1;min-height:0}
.eim-compare-slot{display:flex;flex-direction:column;min-width:0;min-height:0;background:white}
.eim-compare-controls{display:flex;gap:10px;align-items:center;padding:12px;border-top:3px solid #e95015;border-bottom:1px solid #d4deea}
.eim-compare-slot[data-side=b] .eim-compare-controls{border-top-color:#0079a8}
.eim-compare-controls label{display:flex;flex-direction:column;gap:3px;min-width:0;font-size:11px;font-weight:700}.eim-compare-controls label:first-of-type{flex:1}
.eim-compare-controls input,.eim-compare-controls select{box-sizing:border-box;min-width:0;width:100%;border:1px solid #b8c6d8;border-radius:8px;padding:8px;background:#fff;color:#152238;font:14px system-ui}
.eim-compare-letter{font-weight:800;font-size:20px}.eim-compare-slot iframe{border:0;width:100%;flex:1;min-height:0;background:#fff}
.eim-compare-divider{cursor:col-resize;background:#d5dfeb;touch-action:none}.eim-compare-divider:hover,.eim-compare-divider:focus{background:#0079a8;outline:2px solid #0079a8;outline-offset:-2px}
.is-resizing iframe{pointer-events:none}
html.eim-comparison-pane body[data-dashboard-theme] .page>header,html.eim-comparison-pane body #breadcrumbBar,html.eim-comparison-pane body #btn-notification-center,html.eim-comparison-pane body .eim-auto-parity-card{display:none!important}
html.eim-comparison-pane body[data-dashboard-theme] .page,html.eim-comparison-pane body[data-dashboard-theme] .dashboard-shell,html.eim-comparison-pane body[data-dashboard-theme] .dashboard-panels{margin:0!important;padding:6px!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
html.eim-comparison-pane body[data-dashboard-theme] .workspace-shell{margin:0!important;padding:8px!important;position:static!important;min-height:0!important;border-radius:0!important}
html.eim-comparison-pane body[data-dashboard-theme] .workspace-shell-top,html.eim-comparison-pane body[data-dashboard-theme] .workspace-shell-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important;min-height:0!important}
html.eim-comparison-pane body[data-dashboard-theme] #reportingPanel .overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html.eim-comparison-pane body #btn-compare-keywords,html.eim-comparison-pane body .dashboard-rail,html.eim-comparison-pane body>header,html.eim-comparison-pane body .workspace-search,html.eim-comparison-pane body #btn-command-center,html.eim-comparison-pane body #btn-strategy-drawer,html.eim-comparison-pane body #system-health-bar{display:none!important}
.eim-comparison-pane .dashboard-shell{display:block!important;padding:8px!important;margin:0!important;max-width:100%!important}
.eim-comparison-pane .workspace-shell{margin:0!important;padding:8px!important;position:static!important}
.eim-comparison-pane .panel{padding:12px!important;min-width:0!important}
.eim-comparison-pane .grid-2,.eim-comparison-pane .source-layout{grid-template-columns:minmax(0,1fr)!important}
.eim-comparison-pane .overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.eim-comparison-pane .overview-card{min-width:0!important;padding:16px!important;grid-column:auto!important}
.eim-comparison-pane .overview-card h3{font-size:clamp(16px,2.5vw,22px)!important}
.eim-comparison-pane .overview-card-meta{max-width:none!important;font-size:12px!important}
.eim-comparison-pane canvas{max-width:100%!important}.eim-comparison-pane table{display:block;overflow-x:auto;max-width:100%}
@media(max-width:560px){.eim-comparison-pane .overview-grid{grid-template-columns:minmax(0,1fr)!important}.eim-compare-controls{flex-wrap:wrap}.eim-compare-controls label:last-child{width:100%}}
@media(max-width:760px){.eim-compare-columns{display:flex;flex-direction:column;overflow-y:auto}.eim-compare-slot{flex:none;height:75dvh}.eim-compare-divider{display:none}.eim-compare-toolbar{gap:8px;padding:10px}.eim-compare-toolbar small{display:none}.eim-compare-hint{font-size:11px}}
