
.wbcr{--bg:#f5f7fb;--panel:#fff;--panel2:#eef3f8;--ink:#172231;--muted:#5e6d7e;--line:#d7e0e9;--blue:#2563eb;--green:#138a5b;--red:#d63b52;--yellow:#f3c623;margin:28px 0 42px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:22px;overflow:hidden}.wbcr.dark{--bg:#111b28;--panel:#1c2938;--panel2:#152230;--ink:#f6f8fb;--muted:#aebccc;--line:#34475a;--blue:#79a4ff;--green:#51d398;--red:#ff7184;--yellow:#ffd84d}.wbcr *{box-sizing:border-box}.wbcr button,.wbcr select{font:inherit}.wbcr-head{padding:clamp(22px,4vw,44px);background:var(--panel2);border-bottom:1px solid var(--line)}.wbcr-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center}.wbcr-brand{font-weight:800;letter-spacing:-.03em;font-size:20px}.wbcr-brand b{color:#fa3753}.wbcr-theme{display:flex;gap:4px;padding:4px;background:var(--bg);border:1px solid var(--line);border-radius:12px}.wbcr-theme button{border:0;background:transparent;color:var(--muted);padding:8px 12px;border-radius:8px;cursor:pointer}.wbcr-theme button[aria-pressed=true]{background:var(--panel);color:var(--ink);box-shadow:0 1px 5px #0002}.wbcr-kicker{margin:38px 0 12px;color:var(--blue);font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:13px}.wbcr h1{color:var(--ink)!important;font-size:clamp(34px,6vw,66px)!important;line-height:1.02!important;letter-spacing:-.045em;margin:0 0 18px!important;max-width:980px}.wbcr-lead{color:var(--muted);font-size:clamp(17px,2.2vw,22px);line-height:1.55;max-width:900px;margin:0}.wbcr-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:34px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel)}.wbcr-kpi{padding:19px;min-width:0;border-right:1px solid var(--line)}.wbcr-kpi:last-child{border-right:0;border-top:4px solid var(--yellow)}.wbcr-kpi small{display:block;color:var(--muted);margin-bottom:8px}.wbcr-kpi strong{font-size:clamp(20px,3vw,31px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wbcr-main{padding:clamp(20px,4vw,42px)}.wbcr-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:end}.wbcr-metric label{display:block;color:var(--muted);font-size:13px;margin-bottom:7px}.wbcr-metric select{width:100%;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:13px}.wbcr-mode{display:flex;border:1px solid var(--line);border-radius:12px;padding:4px;background:var(--panel)}.wbcr-mode button{border:0;background:transparent;color:var(--muted);padding:10px 16px;border-radius:8px;cursor:pointer}.wbcr-mode button[aria-pressed=true]{background:var(--blue);color:#fff}.wbcr-summary{margin:22px 0;display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.wbcr-focus,.wbcr-method{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:22px}.wbcr-focus h2,.wbcr-method h2{color:var(--ink)!important;margin:0 0 9px!important;font-size:22px!important}.wbcr-focus p,.wbcr-method p{color:var(--muted);margin:0;line-height:1.55}.wbcr-focus strong{color:var(--green)}.wbcr-tablewrap{overflow:auto;border:1px solid var(--line);border-radius:15px;background:var(--panel)}.wbcr table{width:100%;min-width:880px;border-collapse:collapse;font-size:14px}.wbcr th,.wbcr td{text-align:right;padding:14px 12px;border-bottom:1px solid var(--line);white-space:nowrap;font-variant-numeric:tabular-nums}.wbcr th{position:sticky;top:0;background:var(--panel2);color:var(--muted);font-size:12px}.wbcr th:nth-child(2),.wbcr td:nth-child(2){text-align:left;white-space:normal;min-width:250px}.wbcr td:first-child,.wbcr th:first-child{text-align:center}.wbcr tbody tr:last-child td{border-bottom:0}.wbcr .pos{color:var(--green);font-weight:700}.wbcr .neg{color:var(--red);font-weight:700}.wbcr-rank{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--panel2);font-weight:700}.wbcr tbody tr:first-child .wbcr-rank{background:var(--yellow);color:#182230}.wbcr-note{color:var(--muted);font-size:13px;line-height:1.55;margin:18px 0 0}.wbcr canvas{display:block;width:100%;height:210px}.wbcr-chart{background:var(--panel);border:1px solid var(--line);border-radius:15px;padding:20px;margin:16px 0}.wbcr-chart h2{color:var(--ink)!important;font-size:20px!important;margin:0 0 16px!important}@media(max-width:760px){.wbcr-kpis{grid-template-columns:1fr 1fr}.wbcr-kpi:nth-child(2){border-right:0}.wbcr-kpi:nth-child(-n+2){border-bottom:1px solid var(--line)}.wbcr-controls,.wbcr-summary{grid-template-columns:1fr}.wbcr-mode{width:100%}.wbcr-mode button{flex:1}.wbcr-toolbar{align-items:flex-start}.wbcr-theme button{padding:8px}.wbcr h1{font-size:36px!important}.wbcr-main,.wbcr-head{padding:20px}}@media(max-width:420px){.wbcr-kpis{grid-template-columns:1fr}.wbcr-kpi{border-right:0;border-bottom:1px solid var(--line)}.wbcr-kpi:last-child{border-bottom:0}.wbcr-brand{font-size:18px}}

/* T-101.7.1: report uses the available screen and turns wide rows into readable cards. */
.wbcr{width:100%;max-width:1400px;margin-left:auto;margin-right:auto}.wbcr-head{padding:clamp(26px,3.5vw,52px)}.wbcr-main{padding:clamp(22px,3vw,44px)}.wbcr-kpi strong{font-size:clamp(22px,2.4vw,34px)}
@media(max-width:820px){.wbcr-tablewrap{overflow:visible;border:0;background:transparent}.wbcr table{min-width:0;border-collapse:separate;border-spacing:0 12px}.wbcr thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.wbcr tbody{display:block}.wbcr tbody tr{display:grid;grid-template-columns:46px minmax(0,1fr);gap:0;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:0 2px 8px #0d1b2a0a}.wbcr tbody td{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:right!important;white-space:normal;min-width:0!important;padding:9px 0;border-bottom:1px solid var(--line)}.wbcr tbody td::before{content:attr(data-label);color:var(--muted);font-size:12px;text-align:left}.wbcr tbody td:first-child{grid-row:1;grid-column:1;padding:2px 8px 10px 0;border:0;justify-content:flex-start}.wbcr tbody td:first-child::before,.wbcr tbody td:nth-child(2)::before{display:none}.wbcr tbody td:nth-child(2){grid-row:1;grid-column:2;padding:0 0 10px;font-size:17px;font-weight:700;border:0;justify-content:flex-start}.wbcr tbody td:nth-child(n+3){grid-column:1/-1}.wbcr tbody td:last-child{border-bottom:0}.wbcr-chart{padding:16px}.wbcr canvas{height:160px}}
@media(max-width:600px){.wbcr{border-left:0;border-right:0;border-radius:0;margin:14px 0 34px}.wbcr-head,.wbcr-main{padding:18px 16px}.wbcr-toolbar{align-items:center}.wbcr-theme{flex-shrink:0}.wbcr-theme button{padding:7px 9px}.wbcr-kicker{margin-top:28px}.wbcr h1{font-size:clamp(31px,10vw,42px)!important;line-height:1.04!important}.wbcr-lead{font-size:16px}.wbcr-kpis{grid-template-columns:1fr 1fr;margin-top:24px}.wbcr-kpi{padding:15px}.wbcr-kpi strong{font-size:21px}.wbcr-controls{gap:12px}.wbcr-focus,.wbcr-method{padding:17px}.wbcr-summary{gap:10px}.wbcr-note{font-size:12px}.wbcr tbody tr{padding:13px}.wbcr-brand{font-size:17px}}
@media(max-width:390px){.wbcr-kpis{grid-template-columns:1fr}.wbcr-kpi{border-right:0;border-bottom:1px solid var(--line)}.wbcr-kpi:last-child{border-bottom:0}.wbcr-toolbar{align-items:flex-start}.wbcr-theme{flex-direction:column}.wbcr-theme button{width:74px}.wbcr h1{font-size:30px!important}}

/* T-101.7.2: semantic, labelled ranking for both top and antitop. */
.wbcr-chart{padding:22px}.wbcr-chart h2{margin-bottom:7px!important}.wbcr-chart-head p{max-width:1000px;margin:0;color:var(--muted);font-size:13px;line-height:1.55}.wbcr-chart-list{display:grid;gap:13px;margin:20px 0 0;padding:0;list-style:none}.wbcr-chart-row{display:grid;grid-template-columns:32px minmax(190px,1.25fr) minmax(110px,.45fr) minmax(220px,2.2fr);gap:12px;align-items:center}.wbcr-chart-rank{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--panel2);font-weight:800;font-size:13px}.wbcr-chart-name{font-weight:650;line-height:1.25;min-width:0}.wbcr-chart-value{text-align:right;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}.wbcr-chart-track{display:block;height:12px;border-radius:999px;background:var(--panel2);overflow:hidden}.wbcr-chart-track span{display:block;height:100%;border-radius:inherit;background:var(--green)}.wbcr[data-mode-current="anti"] .wbcr-chart-track span{background:var(--red)}.wbcr[data-mode-current="top"] .wbcr-chart-row:first-child .wbcr-chart-rank{background:var(--yellow);color:#182230}.wbcr[data-mode-current="anti"] .wbcr-chart-row:first-child .wbcr-chart-rank{background:var(--red);color:#fff}
@media(max-width:760px){.wbcr-chart-row{grid-template-columns:32px minmax(0,1fr) auto}.wbcr-chart-track{grid-column:2/-1}.wbcr-chart-value{font-size:13px}}
@media(max-width:420px){.wbcr-chart{padding:16px}.wbcr-chart-list{gap:16px}.wbcr-chart-name{font-size:14px}}

/* T-104: evidence-first rankings. */
.wbcr table{min-width:980px}.wbcr td.primary{font-weight:800;color:var(--blue)}.wbcr td.change.pos{color:var(--green)}.wbcr td.change.neg{color:var(--red)}
.wbcr-chart-row{grid-template-columns:32px minmax(230px,1.5fr) minmax(130px,.5fr) minmax(220px,2fr)}.wbcr-chart-copy{display:grid;gap:4px;min-width:0}.wbcr-chart-copy strong{line-height:1.25}.wbcr-chart-copy small{color:var(--muted);line-height:1.35}.wbcr-all{margin-top:22px;border:1px solid var(--line);border-radius:15px;background:var(--panel);overflow:hidden}.wbcr-all>summary{min-height:48px;display:flex;align-items:center;cursor:pointer;padding:14px 18px;font-weight:800;color:var(--ink);list-style:none}.wbcr-all>summary::-webkit-details-marker{display:none}.wbcr-all>summary::after{content:'+';margin-left:auto;font-size:24px;color:var(--blue)}.wbcr-all[open]>summary::after{content:'−'}.wbcr-all>p{margin:0;padding:0 18px 16px;color:var(--muted);font-size:13px}.wbcr-all .wbcr-tablewrap{border-radius:0;border-left:0;border-right:0;border-bottom:0}.wbcr-mode button,.wbcr-theme button,.wbcr-metric select,.wbcr-all>summary{min-height:44px}
@media(max-width:820px){.wbcr table{min-width:0}.wbcr-chart-row{grid-template-columns:32px minmax(0,1fr) auto}.wbcr-chart-track{grid-column:2/-1}.wbcr-all{overflow:visible}.wbcr-all .wbcr-tablewrap{border:0}.wbcr-all>p{padding-bottom:4px}.wbcr tbody td.primary{color:var(--blue)}.wbcr tbody td[data-label="Предмет"]{overflow-wrap:anywhere}}
@media(max-width:420px){.wbcr-chart-row{grid-template-columns:28px minmax(0,1fr)}.wbcr-chart-value{grid-column:2;text-align:left}.wbcr-chart-track{grid-column:2}.wbcr-chart-copy small{font-size:11px}.wbcr-mode button{padding:10px 8px}}
