/* Общий язык A для результатов. Существующие таблицы и графики сохраняют поведение. */
body.results-active{--accent:#ff6d02;--accent-ink:#202733;--accent-text:#a84400;--accent-soft:#fff1e7;--bg:#f6f7f9;--surface:#fff;--surface-2:#f4f5f7;--text:#202733;--muted:#626c7b;--faint:#687382;--line:#e3e7ed;--line-2:#cdd3dc;--r-xl:7px;--radius-sm:5px;font-size:14px}
:root[data-theme=dark] body.results-active{--bg:#171b20;--surface:#1e242b;--surface-2:#252c34;--text:#e4e9ef;--muted:#adb7c4;--faint:#98a4b3;--line:#353e49;--line-2:#576371;--accent-text:#ffb480;--accent-soft:#3b2c22;color-scheme:dark}
.results-active .top{padding:20px 24px}.results-active .top h1{font-size:24px;line-height:1.3;font-weight:600;letter-spacing:-.035em}
.results-active #workspace{background:var(--bg)}
.results-active .workspace-pane{padding:20px 24px 24px;gap:20px;box-sizing:border-box}
.results-active .workspace-pane>.left{border:1px solid var(--line);border-radius:7px;box-shadow:none;min-width:0}
.results-active #tool-screen>.top h1{font-size:24px;line-height:1.3}
.results-active .workspace-pane>.left{flex:1 1 0;box-sizing:border-box}
.results-active .workspace-pane>.right{box-sizing:border-box}
.results-active .origin__pop{display:none;left:auto;right:0}
.results-active .origin:hover .origin__pop,.results-active .origin:focus-visible .origin__pop{display:block}
.results-active #run-meta{white-space:normal;overflow-wrap:anywhere}
.results-active #tool-screen>.top>#run-meta-row{gap:8px 16px}
.results-active .workspace-pane>.right{width:320px;flex:0 0 320px;min-width:0;border:0;background:transparent;padding:0 2px;box-shadow:none}
.results-active .panel-head{padding:0 0 16px}.results-active .panel-head h2{font-size:16px;font-weight:600}
.results-active .impact{border:1px solid var(--line);border-radius:7px;padding:16px;background:var(--surface)}
.results-active .impact table{font-size:13px}.results-active .impact td{overflow-wrap:anywhere}
.results-active .kpi,.results-active .card,.results-active .meta{border-radius:7px;box-shadow:none}
.results-active .kpi__v{font-size:24px;font-weight:600}.results-active .kpi__l{font-size:12px;color:var(--muted)}
.results-active .workspace-pane h2{font-size:16px;font-weight:600}.results-active .workspace-pane h3{font-size:15px;font-weight:600}
.results-active .workspace-pane h4{font-size:14px;font-weight:600}
.results-active .workspace-pane table{font-size:13px}.results-active .workspace-pane th{font-size:12px;font-weight:600}
.results-active .workspace-pane .hint{font-size:12px;line-height:1.5;color:var(--muted)}
.results-active .workspace-pane .label{font-size:12px;font-weight:500;color:var(--muted)}
.results-active input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),.results-active select{font:inherit;font-size:14px;min-height:36px;max-width:100%;padding:6px 10px;border:1px solid var(--line-2);border-radius:5px;background-color:var(--surface);color:var(--text);box-shadow:none}
.results-active textarea{font:inherit;line-height:1.5;border:1px solid var(--line-2);border-radius:5px;background:var(--surface);color:var(--text);max-width:100%;box-sizing:border-box}
.results-active button.primary,.results-active button.secondary,.results-active .btn{min-height:36px;font-size:13px;font-weight:500;text-transform:none;letter-spacing:0;border-radius:5px;box-shadow:none}
.results-active button.primary,.results-active .btn--primary{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.results-active button.secondary{background:var(--surface);border-color:var(--line-2);color:var(--text)}
.results-active .chip,.results-active .chp,.results-active .tab{font-size:13px;font-weight:500}.results-active .tab.on{color:var(--accent-text)}
.results-active :is(input,select,button,textarea):focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}
.results-active .sr-overview{padding:20px}.results-active .sr-result-block{border-radius:7px;margin-bottom:20px}
.results-active .sr-preview{margin:16px 0}.results-active .sr-preview img{max-width:100%;height:auto}
.results-active .sr-section-title{font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--muted);margin:24px 0 12px}
@media(max-width:1180px){.results-active .workspace-pane{padding:16px;gap:16px}.results-active .workspace-pane>.right{flex-basis:auto;max-width:100%}.results-active .workspace-pane[data-tool="seo_report"]>.right{width:100%}}
@media(max-width:760px){.results-active .top{padding:16px}.results-active .top h1{font-size:22px}.results-active .workspace-pane{padding:12px;gap:12px}.results-active .workspace-pane>.right{width:100%}.results-active .sr-overview{padding:16px}.results-active .sr-result-mode-bar{padding:12px}.results-active input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),.results-active select,.results-active button.primary,.results-active button.secondary,.results-active .btn{min-height:44px}}
@media(max-width:760px){.results-active #tool-screen>.top h1{font-size:22px}.results-active .workspace-pane{flex-direction:column;overflow:auto}.results-active .workspace-pane>.left{flex:0 0 auto;width:100%;min-height:440px;height:65vh}.results-active .workspace-pane>.right{flex:none;width:100%;max-height:none;overflow:visible}.results-active .top .meta{flex-basis:100%;width:100%;min-width:0;flex-wrap:wrap}.results-active .origin__pop{left:auto;right:0;max-width:calc(100vw - 48px)}}
@media(max-width:760px){.results-active #tool-screen>.top>#run-meta-row{display:grid;grid-template-columns:minmax(0,1fr);flex-basis:100%;align-items:start}.results-active #run-meta-row .meta__params{white-space:normal;overflow:visible}.results-active #run-stats{flex-wrap:wrap;justify-content:flex-start;margin-left:0;overflow:visible}.results-active #run-stats .stat:first-child{padding-left:0}.results-active #run-meta{display:inline}.results-active .top__sep{display:none}}
