:root{--ms-blue:#2f66c9;--ms-blue-2:#0f6cbd;--ms-blue-3:#106ebe;--app-bg:#f3f3f3;--surface:#ffffff;--surface-2:#fafafa;--line:#e0e0e0;--line-2:#d8d8d8;--text:#242424;--muted:#666;--muted-2:#8a8a8a;--pale-blue:#c7e5ff;--selected:#c7e0f4;--success:#107c10;--warning:#f5a400;--error:#c50f1f;--radius-card:24px;--radius-control:8px;--shadow-soft:0 1px 2px rgba(0,0,0,.06);--topbar-h:56px;--sidebar-w:266px;--bg:var(--app-bg);--side:var(--app-bg);--panel:var(--surface);--panel2:var(--surface-2);--accent:var(--ms-blue-2);--blue:var(--ms-blue-2);--warn:var(--warning);--red:var(--error);--green:var(--success)}
*{box-sizing:border-box}html{background:var(--app-bg)}body{margin:0;background:var(--app-bg);color:var(--text);font:14px/1.45 "Segoe UI",Arial,sans-serif}a{color:var(--ms-blue-2);text-decoration:none}a:hover{text-decoration:underline}.muted{color:var(--muted)}.small{font-size:12px;color:var(--muted)}code,pre{font-family:"Cascadia Mono","Consolas",monospace}
.topbar{height:var(--topbar-h);background:var(--ms-blue);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 16px;position:fixed;top:0;left:0;right:0;z-index:20;box-shadow:0 1px 0 rgba(0,0,0,.12)}.topbar-left,.topbar-right{display:flex;align-items:center;gap:12px}.app-launcher{width:22px;height:22px;display:grid;grid-template-columns:repeat(3,4px);grid-auto-rows:4px;gap:3px;align-content:center;justify-content:center}.app-launcher i{display:block;background:#fff;border-radius:50%;opacity:.95}.ms-logo{display:grid;grid-template-columns:repeat(2,10px);grid-template-rows:repeat(2,10px);gap:2px}.ms-logo i:nth-child(1){background:#f25022}.ms-logo i:nth-child(2){background:#7fba00}.ms-logo i:nth-child(3){background:#00a4ef}.ms-logo i:nth-child(4){background:#ffb900}.brand-main{font-weight:600;font-size:15px}.brand-sub{font-weight:600;font-size:15px}.topbar-separator{height:24px;width:1px;background:rgba(255,255,255,.45)}.topbar-icon{width:30px;height:30px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.55);border-radius:6px;color:#fff}.topbar-icon:hover{background:rgba(255,255,255,.12);text-decoration:none}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--ms-blue);font-weight:700}
.app{display:grid;grid-template-columns:var(--sidebar-w) minmax(0,1fr);min-height:100vh;padding-top:var(--topbar-h)}.side{background:var(--app-bg);border-right:0;padding:16px 0 24px;position:sticky;top:var(--topbar-h);height:calc(100vh - var(--topbar-h));overflow:auto}.main{min-width:0}.work{padding:24px 28px 40px;max-width:1280px}.page-command{height:58px;background:var(--app-bg);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 28px;position:sticky;top:var(--topbar-h);z-index:12}.page-context{display:flex;align-items:baseline;gap:12px;min-width:0}.page-context .current{font-size:16px;font-weight:700;color:var(--text);white-space:nowrap}.page-context .hint{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lang{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}.lang a{padding:5px 9px;border:1px solid var(--line-2);border-radius:999px;color:var(--muted);background:#fff}.lang a.active{background:var(--ms-blue-2);border-color:var(--ms-blue-2);color:#fff;text-decoration:none}
.property-selector{height:64px;margin:0 0 14px 0;padding:10px 18px 10px 20px;border-radius:0 32px 32px 0;background:#fff;border:1px solid var(--line);border-left:0;box-shadow:var(--shadow-soft);display:flex;align-items:center;gap:12px;color:var(--text)}.property-selector:hover{text-decoration:none}.property-selector small{display:block;color:var(--muted);font-size:12px;font-weight:400;margin-top:1px}.property-globe{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eef6ff;color:var(--ms-blue-2);font-weight:700}.property-chevron{margin-left:auto;color:var(--muted)}.logo{font-size:20px;font-weight:700;color:var(--text);margin:0 20px 4px}.subtitle{font-size:12px;color:var(--muted);margin:0 20px 14px}.tree{padding-bottom:20px}.tree h3{font-size:12px;line-height:1.2;text-transform:uppercase;letter-spacing:2.7px;color:var(--muted);font-weight:600;margin:22px 20px 8px;padding-top:12px;border-top:1px solid var(--line)}.tree h3:first-child{border-top:0;margin-top:8px}.tree a{min-height:44px;margin:2px 16px;padding:10px 13px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--text);font-weight:600;font-size:14px}.tree a:hover{background:#fff;text-decoration:none}.tree a.on{background:var(--ms-blue);color:#fff;box-shadow:var(--shadow-soft)}.tree a.on .pill,.tree a.on .src-badge{border-color:rgba(255,255,255,.45);color:#fff;background:rgba(255,255,255,.16)}.nav-group{margin:4px 16px;border:0;background:transparent}.nav-group summary{min-height:38px;padding:9px 13px;border-radius:10px;cursor:pointer;list-style:none;color:var(--text);font-weight:700}.nav-group summary:after{content:'⌄';float:right;color:var(--muted)}.nav-group:not([open]) summary:after{content:'›'}.nav-group summary:hover{background:#fff}.nav-group-body{padding:2px 0}.nav-group-body a{margin:1px 0 1px 8px;min-height:36px;font-size:13px}.nav-cat .pill,.pill{font-size:11px;border:1px solid var(--line);border-radius:999px;padding:2px 7px;color:#0b4f8a;background:var(--pale-blue)}.src-badge{font-size:10px;border:1px solid var(--line);border-radius:999px;padding:2px 6px;color:#0b4f8a;background:var(--pale-blue);font-weight:700}.src-badge.ru{color:var(--success);background:#e9f7e9;border-color:#b9dfb9}.src-badge.en{color:#0b4f8a;background:#e6f3ff;border-color:#bfe2ff}.src-badge.other{color:#8a5a00;background:#fff4ce;border-color:#ffd679}
h1{font-size:28px;line-height:1.2;font-weight:700;margin:0 0 24px;color:var(--text);letter-spacing:-.02em}h2{font-size:21px;line-height:1.25;font-weight:650;margin:26px 0 12px;color:var(--text)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);padding:22px 24px;box-shadow:var(--shadow-soft)}.card.accent{border-color:#bfe2ff;background:#fff}.kpi{font-size:28px;font-weight:700;color:var(--text)}.source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.source-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);padding:20px 22px;box-shadow:var(--shadow-soft)}.source-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:10px}.source-title{font-size:18px;font-weight:700;color:var(--text)}.type-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.type-list a{color:#0b4f8a;background:var(--pale-blue);border:1px solid #bfe2ff;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:600}
.ops-hero{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-bottom:18px}.ops-panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);padding:22px 24px;box-shadow:var(--shadow-soft)}.ops-title{font-size:28px;line-height:1.15;font-weight:700;margin:0 0 8px;color:var(--text);letter-spacing:-.025em}.ops-subtitle{max-width:820px;color:var(--muted);margin:0 0 16px}.metric-strip{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));border:1px solid var(--line);border-radius:var(--radius-card);overflow:hidden;background:#fff;box-shadow:var(--shadow-soft)}.metric-cell{padding:16px 18px;border-right:1px solid var(--line)}.metric-cell:last-child{border-right:0}.metric-value{font-size:27px;line-height:1;font-weight:700;color:var(--text);letter-spacing:-.02em}.metric-label{font-size:13px;color:var(--muted);margin-top:8px}.mini-chart{height:132px;display:flex;align-items:end;gap:6px;border-top:1px solid var(--line);padding-top:12px;margin-top:10px}.mini-chart a{flex:1;min-width:7px;background:linear-gradient(180deg,#5b8def,var(--ms-blue-2));border-radius:4px 4px 0 0;opacity:.9}.quality-board{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px;margin:14px 0}.quality-tile{border:1px solid var(--line);background:#fff;border-radius:18px;padding:14px}.quality-tile b{font-size:22px;color:var(--text)}.progress,.bar{height:7px;background:#ececec;border-radius:999px;overflow:hidden;margin-top:6px}.progress i,.bar i{display:block;height:100%;background:var(--ms-blue-2)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:22px 0 10px}.section-head h2{margin:0;font-size:21px}
form.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:14px 0 18px}form.filters.wide{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}input,select,button{height:38px;background:#fff;border:1px solid #8a8a8a;color:var(--text);padding:7px 10px;border-radius:4px;font:14px "Segoe UI",Arial,sans-serif}input:focus,select:focus,button:focus{outline:2px solid #99d6ff;outline-offset:1px;border-color:var(--ms-blue-2)}button,.btn{cursor:pointer;background:var(--ms-blue-2);border:1px solid var(--ms-blue-2);color:#fff;border-radius:8px;font-weight:600}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:7px 12px}.btn:hover{background:var(--ms-blue-3);text-decoration:none}.btn.on{background:#fff;color:var(--ms-blue-2);border-color:var(--ms-blue-2)}.actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0 16px}.badge{display:inline-block;padding:4px 8px;border:1px solid var(--line);border-radius:999px;margin:2px;color:#0b4f8a;background:var(--pale-blue);font-size:12px}.ok{color:var(--success)}.warn{color:var(--warning)}.red{color:var(--error)}
table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;font-size:13px;box-shadow:var(--shadow-soft)}th,td{border-bottom:1px solid #ededed;padding:12px 14px;text-align:left;vertical-align:top}th{background:#fff;color:var(--text);font-weight:700;font-size:13px}tbody tr{min-height:52px}tbody tr:hover{background:#f7fbff}tbody tr.selected{background:var(--selected)}tbody tr:last-child td{border-bottom:0}.source-health-table th,.source-health-table td{padding:10px 12px}.source-health-table .source-name{font-weight:700;color:var(--text)}.source-health-table .domain-code{font-family:"Cascadia Mono","Consolas",monospace;color:var(--muted);font-size:12px}pre{white-space:pre-wrap;max-height:520px;overflow:auto;background:#fff;border:1px solid var(--line);padding:12px;border-radius:8px;color:var(--text)}.split{display:grid;grid-template-columns:1fr 1fr;gap:16px}.chart-row{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:14px 0}.chart-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius-card);padding:18px;box-shadow:var(--shadow-soft)}.daily-bars{height:150px;display:flex;align-items:end;gap:5px;border-top:1px solid var(--line);padding-top:10px}.daily-bars a{flex:1;min-width:8px;background:var(--ms-blue-2);border-radius:4px 4px 0 0}.donut{width:132px;height:132px;border-radius:50%;margin:12px auto}.legend{display:flex;flex-direction:column;gap:6px}.legend a{display:flex;justify-content:space-between;gap:8px;color:var(--text)}.dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:6px}.empty-help{border:1px dashed var(--line-2);background:#fff;border-radius:var(--radius-card);padding:22px;margin:14px 0;text-align:left;color:var(--text)}
@media(max-width:980px){:root{--sidebar-w:1fr}.topbar{position:sticky}.app{display:block;padding-top:0}.side{position:relative;top:0;height:auto;border-bottom:1px solid var(--line)}.page-command{position:relative;top:0;padding:12px 16px;height:auto;align-items:flex-start;flex-direction:column}.work{padding:18px 14px}.chart-row,.split,.ops-hero{grid-template-columns:1fr}.metric-strip,.quality-board{grid-template-columns:1fr 1fr}.topbar-right{display:none}table{display:block;overflow-x:auto;white-space:nowrap}}
@media(max-width:640px){.metric-strip,.quality-board{grid-template-columns:1fr}.brand-sub,.topbar-separator{display:none}.topbar{padding:0 10px}.tree a{margin-left:10px;margin-right:10px}.property-selector{margin-right:10px}}


/* aff.bio brand polish pass #4 */
:root{--bing-topbar:#2870c8;--bing-active:#0078d4;--bing-light:#eaf4ff;--bing-row:#e7f3ff;--bing-card-radius:16px;--bing-control-radius:6px}
body{font-size:13px;line-height:1.42;color:#1f1f1f}.topbar{height:48px;background:var(--bing-topbar);padding:0 14px}.brand-main,.brand-sub{font-size:14px;font-weight:600}.topbar-left{gap:10px}.topbar-right{gap:8px}.topbar-icon{width:28px;height:28px;border:0;border-radius:4px;font-size:15px}.avatar{width:30px;height:30px}.app{padding-top:48px}.side{top:48px;height:calc(100vh - 48px);background:#f7f7f7;padding-top:12px}.page-command{top:48px;height:52px;background:#f5f5f5;padding:0 26px}.work{max-width:1180px;padding:22px 28px 38px}.property-selector{height:52px;margin:0 12px 12px 12px;border-radius:8px;border:1px solid #e4e4e4;padding:8px 11px;background:#fff;box-shadow:none}.property-globe{width:26px;height:26px;background:#f3f8ff;color:#0f6cbd;font-size:14px}.property-selector small{font-size:11px}.tree h3{font-size:11px;letter-spacing:1.3px;margin:16px 18px 5px;padding-top:10px;color:#767676}.tree a{min-height:34px;margin:1px 12px;padding:7px 10px;border-radius:6px;font-size:13px;font-weight:500;justify-content:flex-start;gap:9px}.tree a:hover{background:#fff}.tree a.on{background:var(--bing-active);color:#fff;box-shadow:none}.nav-ico{width:18px;height:18px;display:inline-grid;place-items:center;flex:0 0 18px;font-size:13px;line-height:1;color:currentColor;opacity:.9}.nav-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tree a .pill,.src-badge{margin-left:auto}.nav-group{margin:2px 12px}.nav-group summary{min-height:32px;padding:7px 10px;border-radius:6px;font-size:13px}.nav-group-body a{margin-left:0}.topbar-separator{height:20px}.app-launcher{width:20px;height:20px;grid-template-columns:repeat(3,3px);grid-auto-rows:3px}.ms-logo{grid-template-columns:repeat(2,8px);grid-template-rows:repeat(2,8px)}h1{font-size:24px;margin-bottom:18px;font-weight:650}h2{font-size:18px;margin:24px 0 10px;font-weight:650}.ops-title{font-size:25px}.ops-panel,.card,.source-card,.chart-card{border-radius:var(--bing-card-radius);box-shadow:none;border-color:#e5e5e5}.metric-strip{border-radius:var(--bing-card-radius);box-shadow:none}.metric-cell{padding:14px 16px;background:#fff}.metric-value{font-size:25px}.metric-label{text-transform:none;color:#616161}.quality-board{gap:10px}.quality-tile{border-radius:var(--bing-card-radius);box-shadow:none}.actions{gap:8px;margin:12px 0}.btn,button{height:34px;min-height:34px;border-radius:var(--bing-control-radius);font-size:13px;padding:6px 11px;background:var(--bing-active);border-color:var(--bing-active);box-shadow:none}.btn.on,.actions .btn.on{background:#e5f1fb;color:#004578;border-color:#c7e0f4}.actions .btn:not(.on){background:#e5f1fb;color:#004578;border-color:#c7e0f4}.actions .btn:first-child:not(.on){background:var(--bing-active);color:#fff;border-color:var(--bing-active)}form.filters{background:#fff;border:1px solid #e5e5e5;border-radius:var(--bing-card-radius);padding:14px;display:grid;align-items:end;gap:10px;box-shadow:none}input,select,button{height:34px;border-color:#c8c8c8;border-radius:var(--bing-control-radius);font-size:13px;background:#fff}input::placeholder{color:#767676}.badge,.type-list a{background:#eef6ff;border-color:#d7ebff;color:#0f548c;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:500}.badge.red{background:#fde7e9;color:#a4262c;border-color:#f3b3ba}.badge.ok,.ok{color:#107c10}.warn{color:#986f0b}.red{color:#a4262c}table{border-radius:var(--bing-card-radius);box-shadow:none;border-color:#e5e5e5;font-size:13px;background:#fff}th{font-size:12px;color:#424242;background:#fff;border-bottom:1px solid #e5e5e5;padding:10px 12px}td{padding:10px 12px;border-bottom:1px solid #f0f0f0}tbody tr:hover{background:#f8fbff}tbody tr:first-child{background:#f5fbff}.source-health-table .domain-code{font-size:11px}.bar,.progress{height:5px;background:#f1f1f1}.bar i,.progress i{background:#0f6cbd}.table-foot{font-size:12px;color:#616161;text-align:right;margin:7px 4px 14px}.daily-bars{height:105px;background:linear-gradient(#fff,#fff),repeating-linear-gradient(to top,#eaeaea 0,#eaeaea 1px,transparent 1px,transparent 26px);border:1px solid #e5e5e5;border-radius:8px;padding:10px 8px 0}.daily-bars a,.mini-chart a{background:#0f6cbd;border-radius:2px 2px 0 0;opacity:.82}.mini-chart{height:108px;border:1px solid #e5e5e5;border-radius:8px;padding:10px 8px 0;background:repeating-linear-gradient(to top,#f0f0f0 0,#f0f0f0 1px,transparent 1px,transparent 24px)}.donut{width:112px;height:112px}.empty-help{border-style:solid;border-radius:var(--bing-card-radius);background:#fff;text-align:center;padding:34px}.empty-help:before{content:'⌕';display:block;margin:0 auto 10px;width:54px;height:54px;border-radius:50%;background:#f3f3f3;color:#8a8a8a;font-size:28px;line-height:54px}.section-head{margin-top:20px}.section-head .small{color:#707070}.lang a{height:28px;display:inline-flex;align-items:center;border-radius:999px}.page-context .current{font-size:15px}.page-context .hint{font-size:12px}
@media(max-width:980px){.app{padding-top:0}.side{top:0;height:auto}.page-command{top:0}.work{padding:18px 14px}.topbar{height:48px}.tree a{min-height:36px}}

/* Bing polish #1 quick fixes */
.source-health-table th:nth-child(9),.source-health-table td:nth-child(9){min-width:88px;white-space:nowrap}.source-health-table .btn,td .btn{background:#fff!important;color:#0f6cbd!important;border-color:#c7e0f4!important;height:28px;min-height:28px;padding:4px 8px}.source-health-table .btn:hover,td .btn:hover{background:#eaf4ff!important}.source-health-table td{vertical-align:middle}.source-health-table .badge{margin-bottom:3px}.tree{padding-bottom:48px}


/* Bing polish #2: Site Explorer, parser monitor, recommendations */
.metric-cards{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px;margin:14px 0 18px}.metric-card{background:#fff;border:1px solid #e5e5e5;border-radius:12px;padding:14px 16px;box-shadow:none}.metric-card span{display:block;color:#616161;font-size:12px;margin-bottom:7px}.metric-card b{font-size:25px;line-height:1;color:#242424}.site-explorer-shell .split-view,.parser-monitor-shell .split-view{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;align-items:start}.explorer-table{min-width:0}.explorer-table table{box-shadow:none;border-radius:12px}.explorer-table th{font-size:12px;color:#616161;font-weight:600}.explorer-table td{padding:9px 11px;vertical-align:middle}.explorer-table tbody tr.selected{background:#e7f3ff;box-shadow:inset 3px 0 0 #0f6cbd}.toolbar-row{height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 2px;color:#242424}.detail-panel{position:sticky;top:112px;background:#fff;border:1px solid #e5e5e5;border-radius:12px;padding:18px;box-shadow:none}.detail-kicker{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:#616161;margin-bottom:6px}.detail-panel h2{margin:0 0 10px;font-size:20px}.indexed-state{display:flex;align-items:center;gap:8px;margin:8px 0 14px;color:#424242}.status-dot{width:9px;height:9px;border-radius:50%;background:#8a8a8a;display:inline-block}.status-dot.ok{background:#107c10}.status-dot.red{background:#c50f1f}.status-dot.warn{background:#f5a400}.detail-metrics{display:grid;grid-template-columns:1fr auto;gap:8px 12px;margin:12px 0}.detail-metrics dt{color:#616161}.detail-metrics dd{margin:0;font-weight:650}.detail-tags{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.info-banner{background:#f5f9ff;border:1px solid #cfe4ff;border-radius:10px;padding:11px;margin-top:12px;color:#242424}.recommendations-shell table{border-radius:12px}.recommendations-shell tbody tr{background:#fff}.recommendations-shell tbody tr:hover{background:#fff8f1}.recommendation-card{background:#fff;border:1px solid #e5e5e5;border-left:4px solid #0f6cbd;border-radius:10px;padding:14px 16px;margin:14px 0}.recommendation-card.low{border-left-color:#107c10;background:#fbfffb}.parser-monitor-shell .badge.ok{background:#eef8ee;color:#107c10;border-color:#b6ddb6}.parser-monitor-shell .badge.red{background:#fff1f1;color:#c50f1f;border-color:#f1b5b5}.parser-monitor-shell .badge.warn{background:#fff8e1;color:#8a6100;border-color:#f3d480}.table-foot{font-size:12px;color:#616161;padding:8px 2px}@media(max-width:1100px){.site-explorer-shell .split-view,.parser-monitor-shell .split-view{grid-template-columns:1fr}.detail-panel{position:relative;top:0}.metric-cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.metric-cards{grid-template-columns:1fr}}


/* Bing polish #3: parser monitor filters, calmer actions, sectional details, LLM pipeline */
.parser-filter-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 12px}.parser-filter-tabs a{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border:1px solid var(--border,#e5e5e5);border-radius:999px;background:#fff;color:#424242;text-decoration:none;font-size:13px}.parser-filter-tabs a.active{background:#e7f3ff;border-color:#a9d3ff;color:#0f6cbd;box-shadow:inset 0 0 0 1px #cfe4ff}.parser-filter-tabs span{color:#616161;font-weight:600}.parser-filter-form{display:grid;grid-template-columns:minmax(220px,1fr) 150px 190px auto;gap:10px;align-items:center;margin:0 0 14px}.parser-filter-form input,.parser-filter-form select{height:36px;border:1px solid #d1d1d1;border-radius:8px;background:#fff;padding:0 10px;color:#242424}.parser-filter-form button{height:36px;border:1px solid #0f6cbd;background:#0f6cbd;color:#fff;border-radius:8px;padding:0 14px;font-weight:600}.row-actions{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#8a8a8a}.row-actions a{color:#0f6cbd;text-decoration:none;font-size:13px}.row-actions a:hover{text-decoration:underline}.parser-detail-panel{padding:0;overflow:hidden}.parser-detail-panel .detail-kicker,.parser-detail-panel h2{padding-left:18px;padding-right:18px}.parser-detail-panel .detail-kicker{padding-top:18px}.detail-section{border-top:1px solid #f0f0f0;padding:14px 18px}.detail-section h3{margin:0 0 8px;font-size:13px;color:#424242;font-weight:650}.detail-section .info-banner{margin-top:0}.detail-section .detail-actions{margin-top:0}.btn.secondary{background:#fff!important;color:#0f6cbd!important;border-color:#d1d1d1!important}.llm-pipeline{margin-top:16px}.llm-pipeline h2{margin:0 0 6px;font-size:18px}.llm-pipeline ol{margin:12px 0 0;padding-left:22px}.llm-pipeline li{margin:7px 0;color:#242424}.explorer-table th a{color:#424242;text-decoration:none}.explorer-table th a:hover{color:#0f6cbd;text-decoration:underline}@media(max-width:1000px){.parser-filter-form{grid-template-columns:1fr}.site-explorer-shell .split-view,.parser-monitor-shell .split-view{grid-template-columns:1fr}.detail-panel{position:static}}


/* Parser monitor final UX polish */
.filter-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;color:#616161;font-size:13px}.filter-summary a{color:#0f6cbd;text-decoration:none}.filter-summary a:hover{text-decoration:underline}.detail-close{position:absolute;right:14px;top:12px;width:28px;height:28px;display:grid;place-items:center;border-radius:6px;color:#616161;text-decoration:none;font-size:20px}.detail-close:hover{background:#f3f3f3;color:#242424}.explorer-table thead th{position:sticky;top:64px;z-index:2;background:#fff}.parser-detail-panel{position:sticky}.parser-monitor-shell .explorer-table table{table-layout:auto}.parser-monitor-shell .explorer-table th:last-child,.parser-monitor-shell .explorer-table td:last-child{min-width:112px}


/* Parser table bugfix: no floating/sticky header artifacts */
.explorer-table{overflow-x:auto;position:relative}
.explorer-table thead th{position:static!important;top:auto!important;z-index:auto!important;background:#fff}
.explorer-table table{table-layout:auto;width:100%;min-width:860px;border-collapse:separate;border-spacing:0}
.parser-monitor-shell .explorer-table table{table-layout:auto;min-width:920px}
.parser-monitor-shell .split-view{grid-template-columns:minmax(0,1fr) 360px}
.badge.neutral,.status-dot.neutral{background:#f3f2f1;color:#605e5c;border-color:#e1dfdd}
.parser-errors-shell table{table-layout:fixed;width:100%}
.parser-errors-shell th:nth-child(1){width:110px}.parser-errors-shell th:nth-child(2){width:170px}.parser-errors-shell th:nth-child(3){width:140px}.parser-errors-shell th:nth-child(4){width:34%}
.parser-errors-shell td{word-break:break-word}
.parser-errors-shell code{white-space:normal;word-break:break-word;color:#a4262c;background:#fff4f4;border:1px solid #fde7e9;border-radius:6px;padding:3px 5px;display:inline-block}
.table-layout-fix{table-layout:auto}
@media(max-width:1200px){.parser-monitor-shell .split-view{grid-template-columns:1fr}.detail-panel{position:relative;top:0}.parser-monitor-shell .explorer-table table{min-width:920px}}


/* aff.bio brand polish pass #4 */
.affbio-mark{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;position:relative;background:linear-gradient(135deg,#ffffff 0%,#dff0ff 46%,#9fd3ff 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.75),0 1px 2px rgba(0,0,0,.12)}
.affbio-mark:before{content:'a';font-weight:800;font-size:16px;line-height:1;color:#0f6cbd;letter-spacing:-.08em;margin-left:-1px;margin-top:-1px}
.affbio-mark i{position:absolute;width:5px;height:5px;border-radius:50%;background:#2f66c9;box-shadow:0 0 0 2px rgba(255,255,255,.75)}
.affbio-mark i:nth-child(1){right:3px;top:3px;background:#3ecf8e}
.affbio-mark i:nth-child(2){right:3px;bottom:3px;background:#60a5fa}
.affbio-mark i:nth-child(3){left:3px;bottom:3px;background:#a78bfa}
.brand-main{letter-spacing:-.02em}
.brand-sub{opacity:.96}
.property-globe{background:linear-gradient(135deg,#eef6ff,#dff0ff);color:#0f6cbd}


/* Russian sidebar + source status legend polish */
.status-legend{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px;padding:10px 12px;background:#fff;border:1px solid #e5e5e5;border-radius:12px;color:#424242}
.legend-chip{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1;border:1px solid #e5e5e5;border-radius:999px;padding:6px 9px;background:#fafafa;color:#424242;white-space:nowrap}
.legend-chip i{width:8px;height:8px;border-radius:50%;background:#8a8a8a;display:inline-block}
.legend-chip.imported i{background:#107c10}.legend-chip.planned i{background:#8a8a8a}.legend-chip.manual i{background:#0f6cbd}.legend-chip.blocked i{background:#c50f1f}.legend-chip.wayback i{background:#8b5cf6}.legend-chip.needs i{background:#f5a400}


/* plain work tracker for non-technical users */
.plain-help{background:#fff7ed;border:1px solid #fed7aa;border-radius:18px;padding:18px 20px;margin:14px 0;color:#7c2d12}
.plain-help h2{margin:0 0 8px;font-size:18px;color:#7c2d12}
.stage-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:14px 0 24px}
.stage-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 4px 14px rgba(15,23,42,.04)}
.stage-card h3{margin:0 0 8px;font-size:16px;display:flex;justify-content:space-between;gap:10px}
.stage-card h3 span{background:#eef2ff;color:#3730a3;border-radius:999px;padding:2px 9px;font-size:12px}
.stage-card p{margin:0 0 10px;color:#475569;font-size:13px;line-height:1.35}
.stage-card ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.stage-card li{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #f1f5f9;padding-top:6px;font-size:13px}
.stage-card.review h3 span{background:#fef3c7;color:#92400e}.stage-card.blocked h3 span{background:#fee2e2;color:#991b1b}.stage-card.production h3 span{background:#dcfce7;color:#166534}

/* work tracker project streams: Sites / Telegram / CRM */
.project-streams{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:14px;margin:14px 0 24px}
.stream-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;box-shadow:0 4px 14px rgba(15,23,42,.04);display:flex;flex-direction:column;gap:10px}
.stream-card h2{margin:0;font-size:18px}.stream-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.stream-card p{margin:0;color:#475569}.stream-card ul{margin:0;padding-left:18px;color:#334155}.stream-card li{margin:4px 0}.stream-step{background:#f8fafc;border:1px solid #eef2f7;border-radius:12px;padding:10px;color:#334155}.stream-risk{border-left:4px solid #f59e0b;background:#fffbeb;border-radius:10px;padding:9px 10px;color:#92400e;font-size:13px}.stream-card.done{border-color:#bbf7d0}.stream-card.in_progress{border-color:#bfdbfe}.stream-card.review{border-color:#fed7aa}.stream-card.blocked{border-color:#fecaca}.stream-card .actions{margin-top:auto}.stream-card .btn{font-size:12px}
@media(max-width:1000px){.project-streams{grid-template-columns:1fr}}


/* public catalog phase 1 */
.catalog-hero{display:grid;grid-template-columns:minmax(0,1.4fr) auto;gap:14px;align-items:center;background:#fff;border:1px solid #e5e5e5;border-radius:18px;padding:18px 20px;margin-bottom:14px}.catalog-hero.compact h1,.catalog-page-head h1{margin:0 0 6px;font-size:26px;line-height:1.15}.catalog-hero p,.catalog-page-head p{margin:0;color:#475569;max-width:760px}.eyebrow{text-transform:uppercase;letter-spacing:1.1px;color:#0f6cbd;font-size:11px;font-weight:700;margin:0 0 6px}.catalog-mini-stats{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.catalog-stats{display:grid;gap:8px}.catalog-stats span,.catalog-mini-stats span{background:#f5f9ff;border:1px solid #cfe4ff;border-radius:999px;padding:7px 10px;font-size:13px;color:#334155;white-space:nowrap}.catalog-stats b{display:inline;font-size:16px;color:#242424}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin:14px 0 20px}.catalog-grid.compact{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.catalog-card{background:#fff;border:1px solid #e5e5e5;border-radius:14px;padding:12px 13px;color:#242424;display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;row-gap:2px;min-height:70px}.catalog-card:hover,.catalog-card.active{border-color:#0f6cbd;background:#f5f9ff;text-decoration:none}.catalog-icon{font-size:20px;color:#0f6cbd}.catalog-card b{font-size:15px}.catalog-card small{color:#616161;grid-column:2;font-size:12px}.catalog-page-head{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px 16px;margin-bottom:12px}.catalog-section{margin-top:8px}.technical-nav{margin:8px 12px;border:1px solid #e5e5e5;border-radius:10px;background:#fff}.technical-nav summary{cursor:pointer;padding:9px 10px;font-weight:700;color:#424242}.technical-nav-body{padding:2px 0 8px}.technical-nav-body a{margin-left:8px;margin-right:8px}.entity-human-summary h1{margin-bottom:12px}.summary-line{margin:6px 0}.evidence-details{background:#fff;border:1px solid #e5e5e5;border-radius:18px;padding:14px 16px;margin-top:18px}.evidence-details summary{cursor:pointer;font-weight:700;color:#242424}.entity-description{margin:14px 0}
@media(max-width:900px){.catalog-hero{grid-template-columns:1fr}.catalog-page-head{display:block}.catalog-mini-stats{justify-content:flex-start;margin-top:10px}.catalog-hero.compact h1,.catalog-page-head h1{font-size:22px}}


/* people avatars: local safe thumbnails */
.person-cell{display:flex;align-items:center;gap:10px;min-width:0}.person-cell span{min-width:0}.person-avatar{display:inline-block;object-fit:cover;border-radius:999px;background:#eef2ff;border:1px solid #dbeafe;box-shadow:0 1px 2px rgba(15,23,42,.08);vertical-align:middle}.person-avatar.thumb{width:38px;height:38px;flex:0 0 38px}.person-avatar.large{width:96px;height:96px;flex:0 0 96px}.entity-summary-main{display:flex;align-items:center;gap:18px}.entity-summary-main h1{margin-top:0}@media(max-width:700px){.entity-summary-main{align-items:flex-start}.person-avatar.large{width:72px;height:72px;flex-basis:72px}}
