/* Shared report grid, based on the 300 and M4 tables. */
#view .classic-control-report .reports300-panel,
#view .classic-control-report.report-table-section{
  background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;
}
#view .classic-control-report :is(.reports300-tableWrap,.delivery-report-tableWrap){
  width:100%;border:0;border-radius:0;box-shadow:none;overflow:auto;
}
#view .classic-control-table{
  width:100%!important;min-width:1040px;max-width:none!important;table-layout:fixed!important;
}
#view .report-grid:not(.rank-report-table){width:100%;table-layout:fixed}
#view .report-grid .req-control-flow-col{width:9%}
#view :is(.classic-control-table,.report-grid){
  border-collapse:separate!important;border-spacing:0!important;
  border:0!important;border-top:1px solid #64748b!important;border-left:1px solid #64748b!important;
  background:#fff;
}
#view :is(.classic-control-table,.report-grid) .classic-report-unit{width:var(--report-unit-column,150px)!important}
#view :is(.classic-control-table,.report-grid) :is(th,td){
  display:table-cell!important;box-sizing:border-box!important;
  border:0!important;border-right:1px solid #64748b!important;border-bottom:1px solid #64748b!important;
  text-align:center!important;vertical-align:middle!important;line-height:1.2!important;letter-spacing:0!important;
  color:#172335!important;background:#fff!important;white-space:normal!important;overflow-wrap:anywhere!important;
  font-variant-numeric:tabular-nums;
}
#view .classic-control-table :is(th,td){
  width:auto!important;min-width:0!important;max-width:none!important;
  padding:9px 6px!important;font-size:16px!important;font-weight:400!important;
}
#view :is(.classic-control-table,.report-grid) thead th{background:#edf1f5!important;word-break:normal}
#view .classic-control-table thead :is(span,small){font-size:inherit!important;font-weight:inherit!important;color:inherit!important}
#view :is(.classic-control-table,.report-grid) :is(
  .reports300-total,.delivery-report-total,.rework-report-total,.requisites-report-total,.rank-report-total,
  .vzo-report-total,.vk-delivery-report-total,.hospital-grand-total,.award-flow-table__total,.award-withdrawals-ovuTotal
)>*{
  background:#fff5cf!important;font-size:18px!important;font-weight:700!important;
}
#view .classic-control-table th:first-child{position:relative}
#view .classic-control-table :is(.reports300-ovuRow,.delivery-report-ovu)>th{padding-left:25px!important;padding-right:25px!important}
#view .classic-control-table .delivery-report-expand{
  position:absolute;left:3px;top:50%;transform:translateY(-50%);width:20px;height:24px;min-width:20px;
  border:0;background:transparent;font-size:16px;font-weight:400;color:#475569;padding:0;
}
#view :is(.classic-control-table,.report-grid) :is(
  .reports300-number--added,.reports300-flowHead--added,.delivery-report-number--added,.delivery-report-flowHead--added,
  .rework-report-number--added,.rework-report-flowHead--added,.requisites-report-number--added,.requisites-report-flowHead--added,
  .rank-report-flowColumn--added,.vk-delivery-report-flowHead--added,.vk-delivery-report-flow--added,.m4-added
){
  color:#b32a32!important;background:#fcecee!important;
}
#view :is(.classic-control-table,.report-grid) :is(
  .reports300-number--completed,.reports300-flowHead--completed,.delivery-report-number--completed,.delivery-report-flowHead--completed,
  .rework-report-number--completed,.rework-report-flowHead--completed,.requisites-report-flowHead--completed,
  .rank-report-flowColumn--completed,.vk-delivery-report-flowHead--completed,.vk-delivery-report-flow--completed,.m4-completed
){
  color:#187348!important;background:#eaf5ee!important;
}
#view .classic-control-table .reports300-categoryMetric__values{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:baseline;gap:8px;width:100%;padding:0 4px;box-sizing:border-box;
}
#view .classic-control-table .reports300-categoryMetric__values :is(strong,i){
  font-size:16px!important;font-weight:400!important;line-height:1.2!important;font-style:normal;
  padding:0!important;background:none!important;border:0!important;text-align:right!important;
  display:block!important;min-width:0;width:100%;margin:0!important;white-space:nowrap;font-variant-numeric:tabular-nums;
}
#view .classic-control-table .reports300-categoryMetric__values :is(strong,i):empty{visibility:hidden}
#view .classic-control-table .reports300-categoryMetric__values i,
#view .classic-control-table .delivery-report-dynamic{color:#187348!important;font-size:16px!important;font-weight:400!important}
#view .classic-control-table :is(.reports300-total,.delivery-report-total) :is(strong,i,.delivery-report-dynamic){font-weight:700!important;font-size:18px!important}
#view :is(.classic-control-table,.report-grid) tr.report-division-total>*{background:#e8edf2!important;font-weight:600!important}
#view .report-grid .vk-delivery-report-danger{background:#fcecee!important}
#view .report-grid :is(.vzo-report-positive,.is-awarded,.is-completed){color:#187348!important}
#view .report-grid :is(.vzo-report-negative,.is-withdrawn,.hospital-total,.is-total-count){color:#b32a32!important}
#view .report-grid.rank-report-table .rank-report-rankColumn{vertical-align:bottom!important}
#view .report-grid .vzo-report-ovu th{position:relative;padding-inline:25px!important}
#view .report-grid .vzo-report-expand{
  position:absolute;left:3px;top:50%;transform:translateY(-50%);width:20px;height:24px;
  margin:0;padding:0;border:0;background:transparent;color:#475569;font-size:16px;
}
#view .control-reports-head--with-disclosures{display:grid;grid-template-columns:minmax(0,1fr) auto}
#view .control-reports-head--with-disclosures .control-reports-tabs{grid-column:1 / -1;min-width:0;max-width:100%}
#view .control-reports-expand-switch{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13px}
#view .control-reports-expand-switch input{
  appearance:none;box-sizing:border-box;display:grid;align-items:center;width:34px;height:20px;margin:0;
  border:1px solid #64748b;border-radius:12px;background:#e2e8f0;cursor:pointer;
}
#view .control-reports-expand-switch input::before{
  content:"";width:12px;height:12px;margin-inline:3px;border-radius:50%;background:#64748b;
}
#view .control-reports-expand-switch input:checked{background:#166a52;border-color:#166a52}
#view .control-reports-expand-switch input:checked::before{justify-self:end;background:#fff}
#view .control-reports-expand-switch input:focus-visible{outline:2px solid #166a52;outline-offset:3px}
#view .reports-hide-disclosures :is(.delivery-report-expand,.vzo-report-expand,.award-coverage-expand){display:none!important}
#view .reports-hide-disclosures :is(.award-coverage-ovu-label,.req-control-name){display:block}
@media screen{
  #view .report-grid :is(th,td){padding:9px 6px!important;font-size:16px!important;font-weight:400}
  #view .report-grid :is(.rank-report-total,.vzo-report-total,.award-flow-table__total,.award-withdrawals-ovuTotal)>*{font-weight:700}
  #view .report-grid.rank-report-table{
    --rank-flow-column-width:124px;
    width:100%;
    min-width:max(100%,calc(var(--report-unit-column,150px) + 3 * var(--rank-flow-column-width) + var(--rank-column-count,1) * 76px));
  }
  #view .report-grid.rank-report-table .rank-report-flowColumn{width:var(--rank-flow-column-width);min-width:var(--rank-flow-column-width)}
  #view .report-grid.rank-report-table thead .rank-report-flowColumn{white-space:nowrap!important}
  #view .report-grid.rank-report-table .rank-report-rankColumn{width:auto;min-width:0}
  #view .report-grid.req-control-table{min-width:1050px}
  #view .report-grid .req-control-flow-col{width:116px}
  #view .award-coverage-table thead tr:last-child th{padding-inline:4px!important;font-size:14px!important}
  #view .classic-control-table.honorary-report-table{min-width:1200px}
  #view .classic-control-table .honorary-report-current-year{width:88px}
  #view .report-grid.vzo-report-categoryTable{min-width:680px}
  #view .report-grid.hospital-report-table{min-width:720px}
  #view .hospital-report-page--dense .report-grid.hospital-report-table{min-width:1000px}
  #view .award-withdrawals-ovuList{overflow:auto}
  #view .report-grid.award-withdrawals-ovuTable{min-width:930px}
  #view .report-grid.award-withdrawals-ovuTable col.is-represented{width:136px}
}
#view .classic-report-summary{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important;
  gap:0!important;border:0;border-bottom:1px solid #cbd5e1;padding:0 0 12px;margin:0 0 16px;
}
#view .classic-report-summary article{
  grid-column:auto!important;grid-row:auto!important;
  display:grid!important;grid-template-rows:48px 28px;align-items:center;gap:8px!important;min-width:0;box-sizing:border-box;
  min-height:0!important;padding:8px 12px!important;border:0!important;border-right:1px solid #d8dfe6!important;
  border-radius:0!important;background:transparent!important;box-shadow:none!important;
}
#view .classic-report-summary article:last-child{border-right:0!important}
#view .classic-report-summary article>span{display:flex!important;flex-direction:column;justify-content:center;align-items:center;text-align:center!important;font-size:13px!important;font-weight:400!important;line-height:16px!important;height:48px;margin:0!important}
#view .classic-report-summary article>span :is(span,small){font-size:12px!important;line-height:16px!important;margin:0!important;font-weight:400!important}
#view .classic-report-summary :is(strong,i){display:block!important;font-size:20px!important;font-weight:600!important;line-height:28px!important;margin:0!important;padding:0!important;font-variant-numeric:tabular-nums;white-space:nowrap;font-style:normal}
#view .classic-report-summary article>strong{text-align:center!important;align-self:center}
#view .classic-report-summary .reports300-summaryCard__values{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px!important;align-items:baseline;width:100%;height:28px;margin:0!important}
#view .classic-report-summary .reports300-summaryCard__values :is(strong,i){text-align:right!important;min-width:0}
#view .reports300-summary.classic-report-summary{
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr))!important;
  padding:0 0 16px;
}
#view .reports300-summary.classic-report-summary article{
  grid-template-rows:48px 32px;gap:12px!important;padding:12px 10px!important;
}
#view .reports300-summary.classic-report-summary article>span{
  font-size:16px!important;line-height:22px!important;color:#111827!important;opacity:1!important;
}
#view .reports300-summary.classic-report-summary article>span :is(span,small){
  font-size:16px!important;line-height:22px!important;color:inherit!important;opacity:1!important;
}
#view .reports300-summary.classic-report-summary :is(strong,i){
  font-size:24px!important;line-height:32px!important;font-weight:600!important;
}
#view .reports300-summary.classic-report-summary .reports300-summaryCard__values{
  height:32px;gap:12px!important;
}
/* Join each pair at the centre: debt ends left of the gap, dynamics starts right. */
#view .reports300-summary.classic-report-summary .reports300-summaryCard__values i,
#view .classic-control-table .reports300-categoryMetric__values i{text-align:left!important}
#view .classic-report-summary :is(strong,i):empty{visibility:hidden}
#view .classic-report-summary :is(.reports300-summaryCard--added,.delivery-report-summary__added)>strong{color:#b32a32!important}
#view .classic-report-summary :is(.reports300-summaryCard--completed,.delivery-report-summary__dynamic)>strong{color:#187348!important}
#view .classic-control-table .reports300-categoryMetric__values strong{color:#172335!important}
#view .classic-control-report :is(.reports300-panel__head,.report-table-section__head){padding:6px 0 12px;border:0;background:transparent}
#view .classic-control-report :is(.reports300-panel__head,.report-table-section__head) h2{font-size:16px;font-weight:600}
#view .classic-control-report .reports300-panel__facts{font-size:12px;font-weight:400}
@media print{
  #view .delivery-report-summary.classic-report-summary{grid-template-columns:repeat(8,minmax(0,1fr))!important}
  #view .delivery-report-summary.classic-report-summary article{padding-left:5px!important;padding-right:5px!important}
  #view .delivery-report-table.classic-control-table thead th{font-size:14px!important}
  #view .reports300-summary.classic-report-summary{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))!important}
  #view .reports300-summary.classic-report-summary :is(strong,i){font-size:20px!important}
  #view .classic-control-table{min-width:0!important}
  #view .classic-control-table .classic-report-unit{width:37.5mm!important}
  #view .classic-control-table :is(th,td){padding:5px 4px!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  #view .classic-control-table .delivery-report-expand{display:none!important}
  #view .classic-control-table :is(.reports300-ovuRow,.delivery-report-ovu)>th{padding:5px 4px!important}
  #view .classic-control-table tr{break-inside:avoid}
  #view .classic-control-report :is(.reports300-panel__head,.report-table-section__head){display:none!important}
  #view .report-grid:not(.rank-report-table){min-width:0!important}
  #view .report-grid .classic-report-unit{width:var(--rank-print-name-width,37.5mm)!important}
  #view .report-grid :is(th,td){print-color-adjust:exact;-webkit-print-color-adjust:exact}
  #view .control-reports-expand-switch,#view .report-grid :is(.delivery-report-expand,.vzo-report-expand,.award-coverage-expand){display:none!important}
}
body.combined-report-measuring #view .classic-control-table{min-width:0!important}
body.combined-report-measuring #view .classic-control-table .delivery-report-expand{display:none!important}
body.combined-report-measuring #view .classic-control-table .classic-report-unit{width:37.5mm!important}
#view .combined-report-slide.is-compact .classic-control-table :is(th,td){font-size:14px!important;padding:4px!important}
#view .combined-report-slide.is-dense .classic-control-table :is(th,td){font-size:12px!important;padding:3px!important}
#view .combined-report-slide.is-ultra-dense .classic-control-table :is(th,td){font-size:11px!important;padding:2px!important}
#view .combined-report-slide:is(.is-compact,.is-dense,.is-ultra-dense) .classic-control-table :is(strong,i,.delivery-report-dynamic){font-size:inherit!important}
body.combined-report-measuring #view .combined-report-slide .report-grid{min-width:0!important}
body.combined-report-measuring #view .combined-report-slide .report-grid .classic-report-unit{width:var(--rank-print-name-width,37.5mm)!important}

#view .award-coverage-scroll{max-width:100%;overflow-x:auto}
#view .award-coverage-table{min-width:1300px;font-variant-numeric:tabular-nums}
#view .award-coverage-table tbody th{overflow-wrap:anywhere}
#view .award-coverage-table :is(th,td){padding:6px 5px;text-align:center;vertical-align:middle}
#view .award-coverage-table tbody td:nth-child(4n+5){font-weight:700}
#view .award-coverage-table .award-coverage-ovu-row>th{background:#f8fafc!important}
#view .award-coverage-table .award-coverage-vch-rows th{font-weight:400}
#view .award-coverage-table [hidden],#view [data-award-coverage-settings][hidden]{display:none}
#view .award-coverage-ovu-label{display:grid;grid-template-columns:24px minmax(0,1fr) 24px;align-items:center;gap:4px}
#view .award-coverage-ovu-label > span{grid-column:2}
#view .award-coverage-expand{width:24px;height:24px;padding:0;line-height:1;border-radius:4px}
#view .award-coverage-settings{
  box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 24px);
  padding:16px;border:1px solid var(--line);border-radius:8px;color:var(--text);background:var(--card,#fff)
}
#view .award-coverage-settings::backdrop{background:rgba(15,23,42,.45)}
#view .award-coverage-settings form{display:grid;gap:12px}
#view .award-coverage-settings h3,#view .award-coverage-settings p{margin:0}
#view .award-coverage-settings__groups{max-height:55dvh;overflow:auto;overscroll-behavior:contain}
#view .award-coverage-settings__groups details{border-bottom:1px solid var(--line)}
#view .award-coverage-settings__groups summary{padding:10px 0;cursor:pointer;overflow-wrap:anywhere}
#view .award-coverage-settings__groups summary span{margin-inline-start:8px;font-size:12px}
#view .award-coverage-settings__groups fieldset{border:0;margin:0;padding:6px 0 10px;min-width:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:4px}
#view .award-coverage-settings__groups fieldset:disabled{opacity:.6}
#view .award-coverage-settings__groups label{display:flex;align-items:center;gap:6px;min-height:32px;overflow-wrap:anywhere}
#view .award-coverage-settings__groups label input{flex:none}
#view .award-coverage-settings__ovu{font-weight:600}
#view .award-coverage-settings__actions{justify-content:flex-end}
@media print{
  #view .award-coverage-scroll{overflow:visible}
  #view .award-coverage-table{min-width:0!important}
  #view .award-coverage-table :is(th,td){font-size:9px!important;padding:4px 2px}
  #view .award-coverage-table tr{break-inside:avoid}
  #view .award-coverage-ovu-label{display:block}
  #view .award-coverage-expand,#view .award-coverage-settings{display:none!important}
}
