:root{
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;
  --primary:#1d4ed8;
  --primary2:#2563eb;
  --danger:#dc2626;
  --ok:#16a34a;
  --warn:#f59e0b;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 16px;
}

@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


*{box-sizing:border-box}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: -0.01em;
}

.upload-progress{
  position:fixed;
  top:14px;
  right:18px;
  z-index:2000;
  width:min(420px, calc(100vw - 28px));
  pointer-events:none;
}
.upload-progress[hidden]{
  display:none !important;
}
.upload-progress__panel{
  display:grid;
  gap:8px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.96);
  box-shadow:0 16px 40px rgba(15,23,42,.16);
  backdrop-filter:blur(12px);
}
.upload-progress__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.upload-progress__title{
  font-size:13px;
  font-weight:700;
  color:#0f172a;
}
.upload-progress__meta{
  font-size:12px;
  color:#64748b;
}
.upload-progress__bar{
  position:relative;
  overflow:hidden;
  height:10px;
  border-radius:999px;
  background:#e2e8f0;
}
.upload-progress__fill{
  display:block;
  height:100%;
  width:0%;
  border-radius:inherit;
  background:linear-gradient(90deg, #1d4ed8 0%, #2563eb 55%, #22c55e 100%);
  transition:width .18s ease;
}
.upload-progress.is-indeterminate .upload-progress__fill{
  width:36% !important;
  animation:upload-progress-indeterminate 1.15s ease-in-out infinite;
}
@keyframes upload-progress-indeterminate{
  0% { transform:translateX(-115%); }
  100% { transform:translateX(320%); }
}

@font-face {
	font-family: 'Libre Barcode 39';
	src:url('./fonts/BarCode39.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;	
}
.app{display:flex; min-height:100vh;}
.app.sidebar-collapsed .sidebar{display:none}
.sidebar{
  width:320px; background:#0b1b3a; color:#e5e7eb;
  padding:18px; display:flex; flex-direction:column; gap:16px;
  position:sticky; top:0; align-self:flex-start; flex-shrink:0;
  height:100vh; max-height:100vh; overflow:hidden;
}
.sidebar .menu{flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none;}
.sidebar .menu::-webkit-scrollbar{width:0; height:0}
.sidebar .menu::-webkit-scrollbar-thumb{background:transparent}
.sidebar__footer{flex:0 0 auto}
.brand{display:flex; gap:12px; align-items:center; padding:10px 10px 6px;}
.brand__logo{
  width:42px; height:42px; border-radius:12px;
  background:linear-gradient(135deg,#1d4ed8,#22c55e);
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
}
.brand__title{font-weight:800; letter-spacing:.3px}
.brand__sub{font-size:12px; color:#9ca3af}

.userbox{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px; padding:12px;
}
.userbox__name{font-weight:700}
.userbox__meta{font-size:12px; color:#cbd5e1; margin-top:4px}
.userbox__actions{margin-top:10px; display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.userbox .contour-switch-list{display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.userbox .contour-switch-btn,
.userbox .contour-switch-chip{
  background:rgba(255,255,255,.08);
  color:#e5e7eb;
  border:1px solid rgba(255,255,255,.16);
}

/* Нижний блок учётной записи */
.userbox--bottom{flex:0 0 auto; position:relative; display:grid; gap:10px;}
.userbox__caption{font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#9ca3af;}
.userbox__row{display:flex; align-items:center; gap:12px; min-width:0;}
.userbox__avatar{width:52px; height:52px; flex:0 0 52px; border-radius:50%; overflow:hidden; background:rgba(255,255,255,.10); border:2px solid rgba(255,255,255,.22); display:grid; place-items:center; transition:border-color .15s ease, transform .15s ease;}
.userbox__avatar:hover{border-color:rgba(255,255,255,.55); transform:scale(1.04);}
.userbox__avatar-inner{position:relative; width:100%; height:100%; display:grid; place-items:center; font-weight:800; font-size:18px; color:#e5e7eb;}
.userbox__avatar-inner img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;}
.userbox__identity{flex:1 1 auto; min-width:0; display:grid; gap:2px; text-align:left; padding:4px 2px; margin:0;}
.userbox__identity .userbox__name{margin-top:0; line-height:1.25; overflow-wrap:anywhere;}
.userbox__identity .userbox__meta{margin-top:0;}
.userbox__switchers .portal-switchers{display:grid; gap:10px;}
.userbox__switchers .portal-switcher{display:grid; gap:5px;}
.userbox__switchers .portal-switcher>span{font-size:11px; color:#cbd5e1;}
.userbox__switchers .portal-switcher .input{width:100%; background:rgba(255,255,255,.08); color:#e5e7eb; border:1px solid rgba(255,255,255,.18); border-radius:8px; padding:8px 9px;}
.userbox__switchers .portal-switcher[hidden]{display:none!important;}
.portal-switcher__gear{position:absolute; bottom:6px; right:6px; width:24px; height:24px; display:grid; place-items:center; padding:0; border:0; border-radius:6px; background:rgba(11,27,58,.55); color:#9ca3af; cursor:pointer;}
.portal-switcher__gear:hover{background:rgba(255,255,255,.14); color:#e5e7eb;}
.portal-switcher__gear.is-open{color:#fff; background:rgba(37,99,235,.45);}
.userbox .contour-switch-btn{padding:7px 12px; border-radius:8px; font:inherit; font-size:12px; font-weight:700; cursor:pointer;}
.userbox .contour-switch-btn:hover:not(:disabled){background:rgba(255,255,255,.16);}
.userbox .contour-switch-btn.is-active{background:#2563eb; border-color:#2563eb; color:#fff; cursor:default;}
.userbox__logout{position:absolute; top:8px; right:8px; width:30px; height:30px; display:grid; place-items:center; padding:0; border:1px solid rgba(255,255,255,.14); border-radius:8px; background:transparent; color:#9ca3af; cursor:pointer;}
.userbox__logout:hover{background:rgba(255,255,255,.10); color:#fca5a5; border-color:rgba(255,255,255,.28);}
.userbox__panel{position:absolute; left:0; right:0; bottom:calc(100% + 8px); z-index:30; background:#12264d; border:1px solid rgba(255,255,255,.16); border-radius:12px; padding:12px; box-shadow:0 14px 34px rgba(2,8,23,.5); display:grid; gap:8px;}
.userbox__panel[hidden]{display:none;}
.userbox__panel-title{font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#9ca3af;}
.userbox__panel .portal-switchers{display:grid; gap:10px;}
.userbox__panel .portal-switcher{display:grid; gap:5px;}
.userbox__panel .portal-switcher>span{font-size:11px; color:#cbd5e1;}
.userbox__panel .portal-switcher .input{width:100%; background:rgba(255,255,255,.08); color:#e5e7eb; border:1px solid rgba(255,255,255,.18); border-radius:8px; padding:8px 9px;}

/* Search v2 */
.sv2-page{display:grid;gap:14px;min-width:0;padding-bottom:28px}
.sv2-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}
.sv2-page-head h1{margin:0;font-size:26px;line-height:1.15;letter-spacing:0}
.sv2-page-head p{margin:5px 0 0;color:var(--muted);font-size:14px}
.sv2-search-band{display:flex;align-items:center;gap:16px;min-width:0;padding:14px 16px;border:1px solid var(--line);border-radius:7px;background:#fff}
.sv2-search-input{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.sv2-search-input .input{flex:1;max-width:none;min-width:0;height:42px;font-size:14px}
.sv2-search-input .btn{height:42px;min-width:94px}
.sv2-search-meta{flex:0 0 auto;color:var(--muted);font-size:13px;font-weight:600}
.sv2-content{display:grid;gap:14px;min-width:0}
.sv2-initial{display:flex;align-items:center;justify-content:center;min-height:190px;padding:28px;border:1px dashed #c6d0da;border-radius:7px;background:#f8fafc;color:#64748b;font-size:14px;text-align:center}
.sv2-initial--error{border-color:#e4b6b9;background:#fff7f7;color:#a72f38}
.sv2-candidate-head{display:flex;align-items:center;justify-content:space-between;padding:2px 2px 0;font-size:14px}
.sv2-candidate-head span{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:24px;padding:0 8px;border-radius:12px;background:#e8f1fb;color:#00599f;font-weight:700}
.sv2-candidates{display:grid;gap:7px}
.sv2-candidate{display:grid;grid-template-columns:minmax(230px,1.4fr) 118px 130px 130px minmax(170px,1fr) minmax(130px,.8fr);align-items:center;gap:12px;width:100%;min-height:66px;padding:10px 12px;border:1px solid #d7e0e9;border-radius:6px;background:#fff;color:var(--text);font:inherit;text-align:left;cursor:pointer;transition:border-color .16s ease,background .16s ease}
.sv2-candidate:hover{border-color:#79a9d3;background:#f7fbff}
.sv2-candidate>span{display:grid;gap:3px;min-width:0}
.sv2-candidate strong{overflow:hidden;color:#18324a;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.sv2-candidate>span:nth-child(5) strong{display:-webkit-box;overflow:hidden;line-height:1.3;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.sv2-candidate small{overflow:hidden;color:#708296;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.sv2-candidate__person strong{font-size:15px}
.sv2-candidate em{justify-self:end;max-width:100%;padding:4px 7px;border:1px solid #dde5ed;border-radius:4px;background:#f7f9fb;color:#62778b;font-size:11px;font-style:normal;line-height:1.25;text-align:right}
.sv2-person-head{display:grid;grid-template-columns:auto minmax(230px,.8fr) minmax(500px,1.8fr);align-items:center;gap:16px;padding:14px 16px;border:1px solid #ccd8e3;border-radius:7px;background:#fff}
.sv2-person-head__main{min-width:0}
.sv2-person-head__main h2{overflow:hidden;margin:0;color:#16334e;font-size:20px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap;letter-spacing:0}
.sv2-person-head__main p{overflow:hidden;margin:4px 0 0;color:#65798c;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.sv2-person-head__facts{display:grid;grid-template-columns:repeat(4,minmax(105px,1fr));gap:8px}
.sv2-person-head__facts span{display:grid;gap:3px;min-width:0;padding-left:10px;border-left:2px solid #dce5ed}
.sv2-person-head__facts small{color:#718397;font-size:10px;text-transform:uppercase}
.sv2-person-head__facts strong{overflow:hidden;color:#1d3449;font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.sv2-person-head__unit{grid-column:1/-1}.sv2-person-head__facts .sv2-person-head__unit strong{overflow:visible;line-height:1.35;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}
.sv2-person-300{min-width:0;border:1px solid #d5dee7;border-radius:7px;background:#fff;overflow:hidden}
.sv2-person-300>header{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:9px 13px;border-bottom:1px solid #dfe6ec;background:#f5f8fa}
.sv2-person-300>header h3{margin:0;color:#203c54;font-size:14px;letter-spacing:0}.sv2-person-300>header span{color:#6d8092;font-size:11px}
.sv2-person-300__table{min-width:0;overflow-x:auto}.sv2-person-300__row{display:grid;grid-template-columns:minmax(150px,.8fr) 130px minmax(220px,2fr);min-width:620px;border-bottom:1px solid #e4e9ee}.sv2-person-300__row:last-child{border-bottom:0}
.sv2-person-300__row>*{min-width:0;padding:9px 12px;border-right:1px solid #e4e9ee;color:#2a4358;font-size:12px;line-height:1.35;overflow-wrap:anywhere}.sv2-person-300__row>*:last-child{border-right:0}.sv2-person-300__row--head{background:#edf2f6}.sv2-person-300__row--head>*{color:#62768a;font-size:10px;font-weight:800;text-transform:uppercase}.sv2-person-300__empty{padding:18px;color:#748698;font-size:12px;text-align:center}
.sv2-summary{display:grid;grid-template-columns:repeat(6,minmax(105px,1fr));border:1px solid #d5dee7;border-radius:7px;background:#fff;overflow:hidden}
.sv2-summary>div{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:62px;padding:10px 14px;border-right:1px solid #e2e8ee}
.sv2-summary>div:last-child{border-right:0}
.sv2-summary span{color:#63768a;font-size:12px;font-weight:600}
.sv2-summary strong{color:#1a3853;font-size:24px;line-height:1}
.sv2-summary .is-ok strong{color:#18704a}
.sv2-summary .is-danger strong{color:#b13d47}
.sv2-data-warning{padding:10px 12px;border:1px solid #dfc087;border-radius:6px;background:#fff8e8;color:#79571f;font-size:12px;font-weight:600}
.sv2-episodes{display:grid;gap:8px;min-width:0}
.sv2-episodes>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:0 2px}
.sv2-episodes h3{margin:0;font-size:15px;letter-spacing:0}
.sv2-episodes>header span{color:#73869a;font-size:11px}
.sv2-episode-table{min-width:0;border:1px solid #d5dee7;border-radius:7px;background:#fff;overflow:hidden}
.sv2-episode-group{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:36px;padding:9px 12px;border-bottom:1px solid #d9e2e9;background:#eaf1f6;color:#244861}
.sv2-episode-group strong{font-size:13px;letter-spacing:0}
.sv2-episode-group span{color:#647b8d;font-size:10px;text-transform:uppercase}
.sv2-episode-group--vzo{border-top:2px solid #5b8f79;background:#edf5f1;color:#285a45}
.sv2-episode-group--vzo span{color:#607e70}
.sv2-episode-row{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(135px,.8fr) minmax(135px,.8fr) minmax(135px,.8fr) minmax(150px,.8fr);align-items:center;width:100%;min-height:52px;padding:0;border:0;border-bottom:1px solid #e2e8ee;background:#fff;color:#263e53;font:inherit;text-align:left;cursor:pointer}
.sv2-episode-row:last-child{border-bottom:0}
.sv2-episode-row:not(.sv2-episode-row--head):hover{background:#f7fafc}
.sv2-episode-row.is-active{background:#eef6fc;box-shadow:inset 4px 0 #1772b8}
.sv2-episode-row>span{display:grid;align-content:center;gap:2px;align-self:stretch;min-width:0;padding:9px 11px;border-right:1px solid #e6ebf0;font-size:12px;line-height:1.3}
.sv2-episode-row>span:last-child{border-right:0}
.sv2-episode-row strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}
.sv2-episode-row small{color:#718397;font-size:10px}
.sv2-episode-meta{display:flex;align-items:center;gap:6px;min-width:0}
.sv2-character{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:2px 5px;border:1px solid #cad5df;border-radius:3px;background:#f4f7f9;color:#536b7d;font-size:10px;font-weight:800;line-height:1.2;letter-spacing:0}
.sv2-character--danger{border-color:#d9959b;background:#fff0f1;color:#a72f39}
.sv2-special-order{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:2px 6px;border:1px solid #b9a56c;border-radius:3px;background:#fff8df;color:#725b18;font-size:10px;font-weight:800;line-height:1.2;letter-spacing:0}
.sv2-episode-row--head{min-height:35px;background:#edf2f6;color:#516679;cursor:default}
.sv2-episode-row--head>span{font-size:11px;font-weight:700;text-transform:uppercase}
.sv2-episode-row .is-ok{color:#176d49;font-weight:700}
.sv2-episode-row .is-danger{color:#ae3842;font-weight:700}
.sv2-episode-row .is-progress{color:#8a611f;font-weight:700}
.sv2-episode-row .is-missing,.sv2-episode-row .is-neutral{color:#788898}
.sv2-episode-pager{display:flex;align-items:center;justify-content:center;gap:10px;padding-top:2px}
.sv2-episode-pager span{color:#667a8d;font-size:12px;font-weight:600}
.sv2-episode-detail{display:grid;gap:12px;min-width:0;padding-top:2px;scroll-margin-top:12px}
.sv2-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:15px 16px;border:1px solid #d4dee7;border-radius:7px;background:#fff}
.sv2-detail-head>div:first-child>span{color:#718397;font-size:11px;font-weight:700;text-transform:uppercase}
.sv2-detail-head h2{margin:4px 0 0;color:#173650;font-size:19px;line-height:1.25;letter-spacing:0}
.sv2-detail-head .sv2-character{margin-top:7px}
.sv2-detail-head__badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:7px}.sv2-detail-head__badges .sv2-character{margin-top:0}
.sv2-match{display:grid;gap:3px;max-width:390px;padding:7px 10px;border-left:3px solid #9aabb9;background:#f5f7f9;color:#536779}
.sv2-match strong{font-size:12px}
.sv2-match span{font-size:11px}
.sv2-match--exact{border-color:#1d7a50;background:#eff8f3;color:#17633f}
.sv2-match--high{border-color:#357cae;background:#f0f7fc;color:#2e6285}
.sv2-match--ambiguous{border-color:#c68a29;background:#fff8e9;color:#805b20}
.sv2-timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border:1px solid #d5dee7;border-radius:7px;background:#fff;overflow:hidden}
.sv2-timeline__step{position:relative;display:flex;align-items:center;gap:11px;min-height:70px;padding:11px 16px;border-right:1px solid #dfe6ed}
.sv2-timeline__step:last-child{border-right:0}
.sv2-timeline__step>span{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:2px solid #9cabb9;border-radius:50%;color:#687b8d;font-size:11px;font-weight:800}
.sv2-timeline__step>div{display:grid;gap:4px}
.sv2-timeline__step strong{font-size:13px}
.sv2-timeline__step small{color:#6e8193;font-size:11px}
.sv2-timeline__step--ok>span{border-color:#19805a;background:#edf8f2;color:#176a49}
.sv2-timeline__step--danger>span{border-color:#ba4a53;background:#fff1f2;color:#a3353e}
.sv2-timeline__step--progress>span{border-color:#c08a33;background:#fff8e9;color:#835f24}
.sv2-timeline__step--missing>span,.sv2-timeline__step--neutral>span{border-color:#aebbc7;background:#f4f6f8;color:#778897}
.sv2-stage-stack{display:grid;gap:10px}
.sv2-stage-section{min-width:0;border:1px solid #d5dee7;border-radius:7px;background:#fff;overflow:hidden}
.sv2-stage-section>header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:49px;padding:8px 12px;background:#f3f6f8;border-bottom:1px solid #dce4eb}
.sv2-stage-section>header>div{display:flex;align-items:center;gap:10px}
.sv2-stage-section h3{margin:0;color:#203c54;font-size:14px;letter-spacing:0}
.sv2-stage-section__index{color:#7b8c9c;font-size:11px;font-weight:800}
.sv2-stage-pill{padding:5px 8px;border:1px solid #ccd6df;border-radius:4px;background:#fff;color:#617487;font-size:11px;font-weight:700}
.sv2-stage-pill--ok{border-color:#a9d3bd;background:#f0f8f4;color:#176b48}
.sv2-stage-pill--danger{border-color:#e1b2b6;background:#fff3f4;color:#a83740}
.sv2-stage-pill--progress{border-color:#e3ca9b;background:#fff9ec;color:#805b21}
.sv2-stage-section__body{display:grid;gap:9px;padding:10px}
.sv2-stage-empty{padding:24px;border:1px dashed #cbd5df;border-radius:5px;background:#fafbfc;color:#738496;text-align:center;font-size:12px}
.sv2-stage-empty--danger{border-color:#dfb0b4;background:#fff6f6;color:#a53a43}
.sv2-record{border:1px solid #dce4eb;border-radius:5px;background:#fff;overflow:hidden}
.sv2-record--danger{border-color:#d99399;box-shadow:inset 4px 0 #b53f49}
.sv2-record--danger .sv2-record__head{background:#fff3f4;border-bottom-color:#e8c3c6}
.sv2-record__head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:10px 12px;border-bottom:1px solid #e4eaf0;background:#fafbfd}
.sv2-record__head>div{display:grid;gap:3px;min-width:0}
.sv2-record__head>div>span{color:#768899;font-size:10px;font-weight:700;text-transform:uppercase}
.sv2-record__head strong{font-size:14px;line-height:1.3}
.sv2-record__badges{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}
.sv2-record__status{flex:0 0 auto;padding:4px 7px;border-radius:4px;background:#eaf1f7;color:#49667e;font-size:11px;font-weight:700}
.sv2-record__status--ok{background:#eaf7f0;color:#166744}
.sv2-record__status--danger{background:#fff0f1;color:#a7343d}
.sv2-record__status--progress{background:#fff5df;color:#7f5b21}
.sv2-facts{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));margin:0}
.sv2-fact{min-width:0;padding:9px 11px;border-right:1px solid #e5ebf0;border-bottom:1px solid #e5ebf0}
.sv2-fact:nth-child(4n){border-right:0}
.sv2-fact--wide{grid-column:1/-1;border-right:0}
.sv2-fact dt{margin:0 0 4px;color:#748698;font-size:10px;font-weight:600;text-transform:uppercase}
.sv2-fact dd{margin:0;color:#263e53;font-size:12px;line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap}
.sv2-fact--key{background:#f1f7fb;box-shadow:inset 3px 0 #4c88b4}
.sv2-fact--key dt{color:#416f92;font-weight:800}
.sv2-fact--key dd{color:#173e5d;font-weight:700}
.sv2-fact--danger{background:#fff1f2;box-shadow:inset 3px 0 #b53f49}
.sv2-fact--danger dt,.sv2-fact--danger dd{color:#a3303a;font-weight:800}
.sv2-fact--control-ok{background:#eff8f3;box-shadow:inset 3px 0 #27825d}
.sv2-fact--control-ok dt,.sv2-fact--control-ok dd{color:#176744;font-weight:700}
.sv2-fact--control-warn{background:#fff4e6;box-shadow:inset 3px 0 #c47a25}
.sv2-fact--control-warn dt,.sv2-fact--control-warn dd{color:#82531e;font-weight:700}
.sv2-fact--control-neutral{background:#f5f7f9}
.sv2-fact--control-neutral dd{color:#5e7183;font-weight:700}
.sv2-fact--long dd{display:block;max-height:none;overflow:visible;text-overflow:clip;white-space:pre-wrap}
.sv2-record__actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px;padding:9px 11px;border-top:1px solid #e2e8ee;background:#f8fafb}
@media (max-width:1250px){
  .sv2-candidate{grid-template-columns:minmax(210px,1.5fr) 110px 125px 125px minmax(160px,1fr)}
  .sv2-candidate em{display:none}
  .sv2-person-head{grid-template-columns:auto 1fr}.sv2-person-head__facts{grid-column:1/-1}
  .sv2-summary{grid-template-columns:repeat(3,1fr)}.sv2-summary>div:nth-child(3){border-right:0}.sv2-summary>div:nth-child(-n+3){border-bottom:1px solid #e2e8ee}
  .sv2-facts{grid-template-columns:repeat(3,minmax(140px,1fr))}.sv2-fact:nth-child(4n){border-right:1px solid #e5ebf0}.sv2-fact:nth-child(3n){border-right:0}.sv2-fact--wide{grid-column:1/-1;border-right:0}
}
@media (max-width:900px){
  .sv2-search-band{align-items:stretch;flex-direction:column}.sv2-search-meta{min-height:16px}
  .sv2-candidate{grid-template-columns:minmax(190px,1.5fr) 110px 120px}.sv2-candidate>span:nth-child(4),.sv2-candidate>span:nth-child(5){display:none}
  .sv2-person-head__facts{grid-template-columns:repeat(2,1fr)}
  .sv2-episode-table{overflow-x:auto}.sv2-episode-row{min-width:790px}
  .sv2-facts{grid-template-columns:repeat(2,minmax(130px,1fr))}.sv2-fact:nth-child(3n){border-right:1px solid #e5ebf0}.sv2-fact:nth-child(2n){border-right:0}.sv2-fact--wide{grid-column:1/-1;border-right:0}
}
@media (max-width:620px){
  .sv2-page-head h1{font-size:22px}.sv2-search-input{align-items:stretch;flex-direction:column}.sv2-search-input .btn{width:100%}
  .sv2-candidate{grid-template-columns:1fr 105px}.sv2-candidate>span:nth-child(n+3){display:none}
  .sv2-person-head{grid-template-columns:1fr}.sv2-person-head .btn{justify-self:start}.sv2-person-head__facts{grid-template-columns:1fr}
  .sv2-summary{grid-template-columns:repeat(2,1fr)}.sv2-summary>div{border-bottom:1px solid #e2e8ee}.sv2-summary>div:nth-child(2n){border-right:0}
  .sv2-detail-head{flex-direction:column}.sv2-match{width:100%;max-width:none}
  .sv2-timeline{grid-template-columns:1fr}.sv2-timeline__step{border-right:0;border-bottom:1px solid #dfe6ed}.sv2-timeline__step:last-child{border-bottom:0}
  .sv2-facts{grid-template-columns:1fr}.sv2-fact,.sv2-fact:nth-child(n){grid-column:auto;border-right:0}.sv2-fact--wide{grid-column:1/-1}
}
.userbox .contour-switch-btn:hover,
.userbox .contour-switch-chip:hover{
  background:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.24);
}
.userbox .contour-switch-chip.is-active,
.userbox .contour-switch-chip:disabled{
  background:rgba(59,130,246,.22);
  border-color:rgba(96,165,250,.46);
  color:#dbeafe;
}

.menu{display:flex; flex-direction:column; gap:6px}
.menu a{
  text-decoration:none; color:#e5e7eb;
  padding:10px 12px; border-radius:12px;
  border:1px solid transparent;
  display:flex; justify-content:space-between; align-items:center;
}
.menu a:hover{background:rgba(255,255,255,.06)}
.menu a.active{
  background:rgba(29,78,216,.22);
  border-color:rgba(29,78,216,.35);
}
.sidebar__footer{margin-top:auto; font-size:12px; color:#94a3b8; padding:10px}

.main{flex:1; display:flex; flex-direction:column; min-width:0}
.topbar{
  padding:14px 18px;
  display:flex; align-items:center; justify-content:space-between;
}
.topbar__left{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.sidebar-toggle{
  width:36px;
  height:36px;
  min-width:36px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  font-size:18px;
  line-height:1;
}
.topbar__right{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end;
}
.breadcrumbs{color:var(--muted); font-size:13px; min-width:0; overflow-wrap:anywhere}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--card); border:1px solid var(--line);
  padding:8px 12px; border-radius:999px; box-shadow:var(--shadow);
  font-size:12px; color:var(--muted);
}

#pillStatus{
  display:none !important;
}
.contour-switch-list{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.contour-switch-btn,
.contour-switch-chip{
  border:1px solid var(--line);
  background:var(--card);
  color:var(--text);
  border-radius:999px;
  padding:8px 12px;
  font-size:12px;
  cursor:pointer;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
.contour-switch-btn:hover,
.contour-switch-chip:hover{
  background:#eff6ff;
  border-color:#93c5fd;
}
.contour-switch-chip.is-active,
.contour-switch-chip:disabled{
  background:#dbeafe;
  border-color:#60a5fa;
  color:#1d4ed8;
  cursor:default;
}
.content{padding:0 18px 18px}
.content{overflow-x:hidden}

.admin-req-contours-field{
  grid-column:1 / -1;
}
.admin-req-contours{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  min-height:42px;
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--card);
}
.admin-req-contours--invalid{
  border-color:#dc2626;
  background:#fef2f2;
}
.admin-req-contour{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--text);
}
.admin-req-contour input[type="checkbox"]{
  margin:0;
}
.admin-req-contour input[type="checkbox"]:disabled + span{
  opacity:.95;
}


.h1{font-size:22px; margin:0 0 12px}
.h2{font-size:16px; margin:18px 0 10px}
.muted{color:var(--muted)}
.hr{border:0; border-top:1px solid var(--line); margin:14px 0}

.grid{display:grid; gap:12px}
.grid--2{grid-template-columns:1fr 1fr}
@media(max-width:980px){
  .sidebar{display:none}
  .grid--2{grid-template-columns:1fr}
}

.card{
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  background:#fff;
  display:flex;
  flex-direction:column;
}

#view label{padding:2px;}

.row{display:flex; gap:10px; align-items:center; flex-wrap:wrap}
.spacer{flex:1}

.input, .select, .textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  outline:none;
  font-size:14px;
  background:#fff;
}

input#file {padding:10px;}

.textarea{min-height:88px; resize:vertical}

.btn{
  border:1px solid var(--line);
  background:#fff;
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
}
.btn:hover{border-color:#cbd5e1}
.btn:disabled{
  opacity:.55;
  cursor:default;
  pointer-events:none;
}
.btn--primary{
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  border-color:transparent; color:#fff;
}
.btn--danger{background:#fee2e2; border-color:#fecaca; color:#991b1b}
.btn--sm{
  padding:7px 10px;
  border-radius:10px;
  font-size:12px;
  line-height:1.1;
}
.btn--danger-soft{
  background:#fff1f2;
  border-color:#fecdd3;
  color:#9f1239;
}
.btn--danger-soft:hover{
  border-color:#fda4af;
  background:#ffe4e6;
}
.btn--ghost{background:transparent; border-color:rgba(255,255,255,.15); color:#e5e7eb}
.btn--ghost:hover{background:rgba(255,255,255,.08)}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:14px;
}
.table th, .table td{
  padding:10px 10px;
  border-bottom:1px solid var(--line);
  font-size:13px;
  vertical-align:top;
}
.table th{background:#f8fafc; color:#334155; text-align:left}
.table tr:last-child td{border-bottom:0}

.badge{
  display:inline-flex; align-items:center;
  padding:4px 8px; border-radius:999px; font-size:12px;
  border:1px solid var(--line); background:#f8fafc; color:#334155;
}
.badge--ok{background:#dcfce7; border-color:#bbf7d0; color:#166534}
.badge--warn{background:#fef9c3; border-color:#fde68a; color:#854d0e}
.badge--danger{background:#fee2e2; border-color:#fecaca; color:#991b1b}

.toast{
  position:fixed; left:50%; bottom:22px; transform:translateX(-50%);
  background:#0f172a; color:#fff;
  padding:12px 14px; border-radius:12px;
  box-shadow:var(--shadow);
  max-width: 560px; width: calc(100% - 24px);
  z-index:9999;
}
.hidden{display:none}


p.no_nagr {
    color: red;
    font-weight: 500;
}

.modal_wind_body {
    text-align: center;
}

.modal_wind_body h1 {
    font-size: 35px;
}

.paginations {
    display: flex;
    margin-top: 12px;
}

.paginations .active {
    background: #0b1b3a;
    color: white;
    border-radius: 5px;
}

#pag button {
    margin-left: 5px;
    border: 0px;
    padding: 5px;
    width: 25px;
	border-radius: 5px;
}

#pag button:hover {
    cursor: pointer;
    background: #c1c1c1;
}

.search_rows:hover {
    cursor: pointer;
    background: #f4f7fb;
}

.red {
	color:red;
}

.modalManual {				
	position:fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 11000;
}
.cardManual {
	background: #fff;
	border-radius: 10px;
	width: 480px;
	padding: 25px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	position: relative;
	animation: slideDown 0.3s ease;
	z-index: 11001;
}
@keyframes slideDown {
	from {transform: translateY(-30px); opacity: 0;}
	to {transform: translateY(0); opacity: 1;}
}
.closeManual {
	position: absolute;
	right: 10px;
	top: -5px;
	font-size: 28px;
	color: #777;
	cursor: pointer;
	transition: color 0.2s;
}
.closeManual:hover {color: #000;}

.h2Manual {
	margin: 0 0 10px 0;
}

.fieldManual {
	margin-bottom: 15px;
}
.labelManual {
	display: block;
	font-size: 13px;
	color:#555;
	margin-bottom: 5px;				
}
.modalManual input, .modalManual select {
	width: 100%;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
}
input.readonlyManual {
	border:none;
}

.btn-manual {
	width: 100%;
	background: #0078d7;
	color: white;
	border: none;
	padding: 10px;
	border-radius: 6px;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.2s;
}

.btn-manual:hover {
	background: #005fa3;
}
.select-wraper-manual {
	position: relative;				
	width: 100%;
}
#searchInputManual {
	width: 100%;
	padding: 10px 35px 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	box-sizing: border-box;
}			
#searchInputManual:focus {
	outline: none;
	border-color: #0078d7;
	box-shadow: 0 0 0 2px rgba(0,120,215,0.2);
}

.dropdownManual {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: 250px;
	overflow-y: auto;
	border: 1px solid #ccc;
	background: white;
	z-index: 1000;				
}		
.dropdownManual.hidden {
	display: none;
}
#dropdownListManual {
	list-style: none;
	margin: 0;
	padding: 0;
}
#dropdownListManual li {
	padding: 2px 2px;
	cursor: pointer;
	font-size: 10pt;
}
#dropdownListManual li:hover, #dropdownListManual li.active {
	background: #f0f0f0;
}
/* ─────────────────────────────────────────────
   WOW THEME UPGRADE
───────────────────────────────────────────── */

:root{
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;

  --primary:#1d4ed8;
  --primary2:#2563eb;

  --shadow: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow2: 0 18px 50px rgba(15, 23, 42, .16);

  --radius: 16px;
}

/* фон чуть богаче */
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(1000px 600px at 80% 30%, rgba(34,197,94,.10), transparent 55%),
    var(--bg);
}

/* sidebar делаем “дороже” */
.sidebar{
  width:320px;
  color:#e5e7eb;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:16px;

  background:
    radial-gradient(900px 500px at 10% 0%, rgba(37,99,235,.25), transparent 55%),
    radial-gradient(700px 400px at 90% 20%, rgba(34,197,94,.18), transparent 55%),
    linear-gradient(180deg, #071530 0%, #0b1b3a 55%, #071530 100%);

  border-right: 1px solid rgba(255,255,255,.08);
}

/* brand подсветка */
.brand{
  display:flex; gap:12px; align-items:center;
  padding:10px 10px 6px;
}
.brand__logo{
  width:42px; height:42px; border-radius:14px;
  background:linear-gradient(135deg,#1d4ed8,#22c55e);
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
.brand__title{font-weight:900; letter-spacing:.3px}
.brand__sub{font-size:12px; color:#a7b1c2}

/* userbox чуть стекляннее */
.userbox{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:12px;
  backdrop-filter: blur(8px);
}

/* main view — аккуратнее */
.view{
  background: rgba(255,255,255,.85);
  border:1px solid rgba(226,232,240,.9);
  border-radius: 18px;
  box-shadow: var(--shadow2);
  padding:18px;
  min-height: calc(100vh - 90px);
  backdrop-filter: blur(6px);
  overflow-x: hidden;
}

/* ─────────────────────────────────────────────
   3-LVL MENU
───────────────────────────────────────────── */

.menu{display:flex; flex-direction:column; gap:6px}
.menu > *{flex:0 0 auto}

/* группа */
.menu-group{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 8px;
  overflow:hidden;
}
.menu-group.open{
  background: rgba(255,255,255,.06);
  border-color: rgba(37,99,235,.28);
}

.menu-root-link{
  min-height:42px;
  border:1px solid rgba(255,255,255,.1) !important;
  border-radius:8px !important;
  background:rgba(255,255,255,.04);
}
.menu-root-link:hover{background:rgba(255,255,255,.08) !important}
.menu-root-link.active{
  background:rgba(29,78,216,.28) !important;
  border-color:rgba(96,165,250,.45) !important;
}

.menu-group__head{
  width:100%;
  border:0;
  background: transparent;
  color:#e5e7eb;
  padding:10px 12px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.menu-group__head:hover{ background: rgba(255,255,255,.06); }

.menu-group__left{display:flex; align-items:center; gap:10px; min-width:0; flex:1}
.menu-ico{ width:22px; display:inline-flex; justify-content:center; opacity:.95 }
.menu-title{ min-width:0; font-weight:800; letter-spacing:.2px; font-size:13px; line-height:1.2; }

.menu-group > .menu-group__head .menu-ico,
.menu-root-link .menu-ico{
  width:24px;
  height:24px;
  flex:0 0 24px;
  display:inline-grid;
  place-items:center;
  color:#dbeafe;
}
.menu-root-link[data-group="menu_home"] .menu-ico{color:#92aec5}
.menu-group[data-group="grp_system_admin"] > .menu-group__head .menu-ico{color:#b78d91}
.menu-group[data-group="grp_awarding"] > .menu-group__head .menu-ico{color:#bba36f}
.menu-group[data-group="grp_logistics_root"] > .menu-group__head .menu-ico{color:#7fa394}
.menu-group[data-group="grp_ranks_root"] > .menu-group__head .menu-ico{color:#999bb2}
.menu-group[data-group="grp_uvbd_root"] > .menu-group__head .menu-ico{color:#7d9fa1}
.menu-group[data-group="grp_control_analytics_root"] > .menu-group__head .menu-ico{color:#819db5}
.menu-group[data-group="grp_tasks_appeals_root"] > .menu-group__head .menu-ico{color:#ad898c}
.menu-group[data-group="grp_tasks_appeals_root"] > .menu-group__head .menu-title{
  white-space:nowrap;
}
.menu-group[data-group="grp_profile_root"] > .menu-group__head .menu-ico{color:#94a3b0}
.menu-badge--aggregate{margin-left:auto;box-shadow:0 0 0 2px rgba(127,29,29,.18)}
.menu-section__head .ico.admin,
.menu-section__head .ico.bug{color:#b78d91}
.menu-section__head .ico.gift,
.menu-section__head .ico.award{color:#bba36f}
.menu-section__head .ico.boxes,
.menu-section__head .ico.box,
.menu-section__head .ico.truck,
.menu-section__head .ico.receive{color:#7fa394}
.menu-section__head .ico.analytics,
.menu-section__head .ico.search{color:#819db5}
.menu-section__head .ico.idcard,
.menu-section__head .ico.approvals{color:#7d9fa1}
.menu-section__head .ico.pen,
.menu-section__head .ico.classifiers{color:#999bb2}
.menu-section__head .ico.import,
.menu-section__head .ico.gear{color:#b79a76}
.menu-section__head .ico.report,
.menu-section__head .ico.book{color:#9caebe}

.menu-caret{
  opacity:.7;
  transform: rotate(-90deg);
  transition: transform .18s ease, opacity .18s ease;
}
.menu-group.open .menu-caret{
  transform: rotate(0deg);
  opacity: .95;
}

/* тело группы */
.menu-group__body{
  display:none;
  padding:5px 6px 8px;
  background:rgba(4,15,31,.16);
}
.menu-group.open .menu-group__body{ display:block; }

.menu-section{
  border-top:1px solid rgba(255,255,255,.07);
}
.menu-section:first-child{border-top:0}

.menu-section__head{
  width:100%;
  min-height:39px;
  padding:8px 8px 8px 10px;
  border:0;
  border-left:2px solid transparent;
  background:transparent;
  color:#cbd5e1;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  text-align:left;
}
.menu-section__head:hover{background:rgba(255,255,255,.055);color:#f8fafc}
.menu-section.open > .menu-section__head{color:#fff;background:rgba(70,113,151,.17);border-left-color:#819db5}
.menu-section__left{display:flex;align-items:center;gap:8px;min-width:0;flex:1}
.menu-section__left .menu-ico{width:18px;flex:0 0 18px}
.menu-section__title{min-width:0;font-size:13px;font-weight:650;line-height:1.3}
.menu-section__caret{
  flex:0 0 auto;
  opacity:.65;
  transform:rotate(-90deg);
  transition:transform .16s ease,opacity .16s ease;
}
.menu-section.open > .menu-section__head .menu-section__caret{transform:rotate(0);opacity:.95}
.menu-section__body{display:none;margin-left:18px;padding:3px 0 6px 7px;border-left:1px solid rgba(174,196,215,.2)}
.menu-section.open > .menu-section__body{display:block}

.menu-item{
  text-decoration:none;
  color:#e5e7eb;
  padding:8px 9px;
  border-radius: 6px;
  border:1px solid transparent;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;

  transition: background .12s ease, border-color .12s ease;
}

.menu-item__left{ display:flex; align-items:center; gap:10px; }
.menu-item__left .menu-item__icon{
  width:18px;
  flex:0 0 18px;
  display:inline-grid;
  place-items:center;
  color:#9caebe;
  opacity:.95;
}
.menu-item:hover .menu-item__icon,
.menu-item.active .menu-item__icon{color:#dbeafe}
.povsk-workspace-status{
  display:block;
  width:9px;
  height:9px;
  border-radius:50%;
  opacity:.82;
  box-shadow:0 0 0 2px rgba(255,255,255,.07);
}
.povsk-workspace-status.is-ready{background:#66a17d}
.povsk-workspace-status.is-empty{background:#aa6468}
.menu-section__body .menu-item{min-height:34px;padding:7px 8px 7px 10px;font-size:12.5px;line-height:1.3}

.menu-dot{
  width:8px; height:8px;
  border-radius:999px;
  background: rgba(255,255,255,.25);
  opacity:.8;
}

.menu-item:hover{
  background: rgba(255,255,255,.07);
}

.menu-item.active{
  background: rgba(29,78,216,.22);
  border-color: rgba(29,78,216,.35);
}

.menu-item.active .menu-dot{
  background: rgba(34,197,94,.95);
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
}

.menu-group.task-overdue-alert{
  border-color:rgba(248,113,113,.85);
  box-shadow:0 0 0 1px rgba(185,28,28,.25),0 8px 24px rgba(127,29,29,.28);
}
.menu-group.task-overdue-alert > .menu-group__head{
  background:#b91c1c;
  color:#fff;
}
.menu-group.task-overdue-alert > .menu-group__head:hover{
  background:#991b1b;
}
.menu-group.task-overdue-alert .menu-badge{
  background:#fff;
  color:#991b1b;
}
.menu-section.task-overdue-alert > .menu-section__head{
  background:#b91c1c;
  color:#fff;
}
.menu-section.task-overdue-alert > .menu-section__head:hover{
  background:#991b1b;
}
.menu-section.task-overdue-alert .menu-badge{
  background:#fff;
  color:#991b1b;
}
.menu-item.task-overdue-alert{
  border-color:rgba(248,113,113,.75);
  background:rgba(185,28,28,.34);
  color:#fff;
}
.menu-item.task-overdue-alert:hover,
.menu-item.task-overdue-alert.active{
  border-color:rgba(252,165,165,.95);
  background:rgba(185,28,28,.5);
}
.menu-item.task-overdue-alert .menu-dot{
  background:#fca5a5;
  box-shadow:0 0 0 4px rgba(248,113,113,.2);
}

/* mobile */
@media(max-width:980px){
  .sidebar{display:none}
}

.tabs{
  display:flex;
  gap:8px;
  margin-bottom:14px;
}

.tab{
  padding:8px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:600;
}

.tab.active{
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  color:#fff;
  border-color:transparent;
}

/* =========================
   Tabs
========================= */
.tabs{
  display:flex;
  gap:8px;
  margin:12px 0 16px;
}
.tab{
  border:1px solid var(--line);
  background:#fff;
  padding:8px 14px;
  border-radius:10px;
  cursor:pointer;
  font-size:13px;
  color:var(--muted);
}
.tab.active{
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  color:#fff;
  border-color:transparent;
}

/* =========================
   Compact table
========================= */
.table--compact th,
.table--compact td{
  padding:6px 8px;
  font-size:12px;
  vertical-align:middle;
}

/* =========================
   Inputs inside table
========================= */
.table input,
.table select{
  width:100%;
  padding:6px 8px;
  font-size:12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
}

.table input:focus,
.table select:focus{
  outline:none;
  border-color:var(--primary);
  box-shadow:0 0 0 2px rgba(29,78,216,.08);
}

/* checkbox аккуратный */
.table input[type="checkbox"]{
  width:auto;
  transform:scale(1.05);
}

/* =========================
   Buttons small
========================= */
.btn--xs{
  padding:6px 10px;
  font-size:12px;
  border-radius:8px;
}

.btn--ok{
  background:#dcfce7;
  border:1px solid #bbf7d0;
  color:#166534;
}
.btn--ok:hover{
  background:#bbf7d0;
}

/* =========================
   Card spacing
========================= */
.card{
  margin-top:10px;
}

/* =========================
   Hover row
========================= */
.table tbody tr:hover{
  background:#f8fafc;
}

.shipment-row{
  cursor:pointer;
}

.shipment-row:focus-visible{
  outline:2px solid #93c5fd;
  outline-offset:-2px;
}

.shipment-row.is-open{
  background:#f8fafc;
}

.shipment-row__label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
}

.shipment-row__chevron{
  color:#64748b;
  font-size:12px;
  min-width:12px;
}

.shipment-row__action{
  display:inline-flex;
  margin-top:6px;
  padding:4px 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  color:#475569;
  background:#f8fafc;
  border:1px solid #e2e8f0;
 }

.shipment-details-row td{
  background:transparent;
}

.shipment-details-cell{
  padding:12px !important;
}

.shipment-panel{
  border:1px solid #dbe7ff;
  border-radius:18px;
  overflow:hidden;
  background:
    radial-gradient(900px 280px at 0% 0%, rgba(37,99,235,.10), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:0 14px 30px rgba(15,23,42,.07);
}

.shipment-modal-root{
  position:fixed;
  inset:0;
  z-index:1300;
  display:none;
}

.shipment-modal-root.is-open{
  display:block;
}

.shipment-modal-overlay{
  position:absolute;
  inset:0;
  padding:18px;
  background:rgba(15,23,42,.42);
  backdrop-filter:blur(8px);
  overflow:auto;
}

.shipment-modal-dialog{
  width:min(1120px, 100%);
  max-height:min(880px, calc(100vh - 36px));
  margin:0 auto;
  display:flex;
  flex-direction:column;
  border-radius:24px;
  overflow:hidden;
  border:1px solid rgba(219,231,255,.9);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,251,255,.98) 100%);
  box-shadow:0 24px 70px rgba(15,23,42,.24);
}

.shipment-modal-dialog__topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:12px 16px;
  border-bottom:1px solid #dbe7ff;
  background:
    linear-gradient(135deg, rgba(29,78,216,.10), rgba(34,197,94,.06)),
    #ffffff;
}

.shipment-modal-dialog__meta{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.shipment-modal-dialog__eyebrow{
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#2563eb;
}

.shipment-modal-dialog__title{
  font-size:16px;
  line-height:1.15;
  color:#0f172a;
}

.shipment-modal-dialog__route{
  font-size:12px;
  font-weight:600;
  color:#475569;
}

.shipment-modal-dialog__close{
  min-height:34px;
  padding:6px 12px;
  border-radius:999px;
  flex-shrink:0;
}

.shipment-modal-dialog__body{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:14px;
}

.shipment-modal-dialog__body .shipment-panel{
  min-height:0;
}

body.shipment-modal-open{
  overflow:hidden;
}

.shipment-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  padding:18px 20px;
  border-bottom:1px solid rgba(219,231,255,.9);
  background:
    linear-gradient(135deg, rgba(29,78,216,.10), rgba(34,197,94,.08)),
    #ffffff;
}

.shipment-hero__main{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.shipment-hero__eyebrow{
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#2563eb;
}

.shipment-hero__title{
  font-size:20px;
  font-weight:800;
  color:#0f172a;
  line-height:1.1;
}

.shipment-hero__route{
  font-size:14px;
  font-weight:600;
  color:#334155;
}

.shipment-hero__meta{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.shipment-hero__pill{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  color:#334155;
  background:rgba(255,255,255,.88);
  border:1px solid #dbe7ff;
}

.shipment-details-wrap{
  padding:14px 16px 16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.shipment-detail-meta{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:8px;
}

.shipment-detail-meta__item{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
  padding:10px 12px;
  border-radius:14px;
  background:#f8fbff;
  border:1px solid #dbe7ff;
}

.shipment-detail-meta__item span{
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#64748b;
}

.shipment-detail-meta__item strong{
  font-size:13px;
  line-height:1.3;
  color:#0f172a;
  overflow-wrap:anywhere;
}

.shipment-summary-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
  gap:8px;
}

.shipment-summary-card{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-height:68px;
  padding:10px 12px;
  border-radius:14px;
  background:#ffffff;
  border:1px solid #e2e8f0;
  box-shadow:0 8px 18px rgba(15,23,42,.04);
}

.shipment-summary-card strong{
  font-size:20px;
  line-height:1;
  color:#0f172a;
}

.shipment-summary-card__label{
  font-size:11px;
  font-weight:700;
  color:#64748b;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.shipment-summary-card--award{
  background:linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
}

.shipment-summary-card--certificate{
  background:linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
}

.shipment-summary-card--received{
  background:linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.shipment-summary-card--transit{
  background:linear-gradient(180deg, #fffbea 0%, #ffffff 100%);
}

.shipment-kit-panel{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid #dbe7ff;
  box-shadow:0 12px 24px rgba(15,23,42,.05);
}

.shipment-kit-panel--ok{
  border-color:#bbf7d0;
  background:linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.shipment-kit-panel--warn{
  border-color:#fed7aa;
  background:linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
}

.shipment-kit-panel__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  flex-wrap:wrap;
}

.shipment-kit-panel__title{
  font-size:14px;
  font-weight:800;
  color:#0f172a;
}

.shipment-kit-panel__note{
  margin-top:4px;
  font-size:12px;
  color:#64748b;
}

.shipment-kit-panel__badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:#9a3412;
  background:#ffedd5;
  border:1px solid #fdba74;
}

.shipment-kit-panel__badge--ok{
  color:#166534;
  background:#dcfce7;
  border-color:#86efac;
}

.shipment-kit-panel__stats{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));
  gap:8px;
}

.shipment-kit-panel__stat{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-height:68px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.85);
  border:1px solid #e2e8f0;
}

.shipment-kit-panel__stat b{
  font-size:20px;
  line-height:1;
  color:#0f172a;
}

.shipment-kit-panel__stat span{
  font-size:11px;
  font-weight:700;
  color:#64748b;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.shipment-kit-panel__stat--bad{
  border-color:#fdba74;
  background:#fff7ed;
}

.shipment-kit-panel__lists{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:10px;
}

.shipment-kit-panel__list{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:12px;
  border-radius:14px;
  border:1px solid #e2e8f0;
  background:rgba(255,255,255,.9);
}

.shipment-kit-panel__list-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:800;
  color:#0f172a;
}

.shipment-kit-panel__list-head b{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
}

.shipment-kit-panel__list-body{
  margin:0;
  padding-left:18px;
  display:grid;
  gap:6px;
  color:#334155;
  font-size:12px;
  line-height:1.45;
}

.shipment-toolbar{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(220px, 280px);
  gap:10px;
  align-items:start;
}

.shipment-filter-tabs{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
}

.shipment-filter-tab{
  border:1px solid #dbe7ff;
  background:#ffffff;
  color:#334155;
  min-height:36px;
  padding:6px 10px;
  border-radius:999px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:700;
  transition:background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.shipment-filter-tab b{
  min-width:24px;
  padding:1px 7px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:11px;
  line-height:1.2;
  text-align:center;
}

.shipment-filter-tab:hover{
  border-color:#93c5fd;
  transform:translateY(-1px);
}

.shipment-filter-tab.is-active{
  color:#ffffff;
  border-color:transparent;
  background:linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow:0 10px 20px rgba(37,99,235,.20);
}

.shipment-filter-tab.is-active b{
  background:rgba(255,255,255,.18);
  color:#ffffff;
}

.control-filter-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.control-filter-tab{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #dbe5f1;
  background:#fff;
  color:#334155;
  font-weight:600;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.control-filter-tab strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
}

.control-filter-tab:hover{
  transform:translateY(-1px);
  border-color:rgba(37, 99, 235, 0.28);
  box-shadow:0 10px 18px rgba(37, 99, 235, 0.08);
}

.control-filter-tab.is-active{
  background:linear-gradient(135deg, #1d4ed8, #2563eb);
  border-color:transparent;
  color:#fff;
  box-shadow:0 14px 24px rgba(37, 99, 235, 0.24);
}

.control-filter-tab.is-active strong{
  background:rgba(255, 255, 255, 0.16);
  color:#fff;
}

.control-reports-page{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:12px;
}

.control-reports-head{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.control-reports-tabs{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:4px;
  padding:4px;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#eef3f8;
}

.control-reports-tab{
  min-height:34px;
  padding:6px 14px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#475569;
  font:inherit;
  font-size:13px;
  font-weight:900;
  cursor:pointer;
}

.control-reports-tab:hover{
  color:#0f172a;
}

.control-reports-tab.is-active{
  background:#ffffff;
  color:#0f172a;
  box-shadow:0 2px 8px rgba(15,23,42,.08);
}

.control-reports-pane{
  min-width:0;
  display:none;
}

.control-reports-pane.is-active{
  display:block;
}

.delivery-report-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.delivery-report-printHead{
  display:none;
}

.delivery-report-filters{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.delivery-report-filterGroup{
  display:grid;
  grid-template-columns:auto auto;
  gap:4px 6px;
  padding:7px 9px;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#ffffff;
}

.delivery-report-filterGroup > span{
  grid-column:1 / -1;
  color:#334155;
  font-size:11px;
  font-weight:950;
}

.delivery-report-filterGroup label{
  display:flex;
  align-items:center;
  gap:5px;
}

.delivery-report-filterGroup small{
  color:#64748b;
  font-size:10px;
  font-weight:950;
}

.delivery-report-filterGroup input{
  width:128px;
  border:0;
  background:transparent;
  color:#0f172a;
  font:inherit;
  font-size:12px;
  font-weight:850;
  outline:none;
}

.delivery-report-summary{
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
  gap:8px;
  margin-bottom:10px;
}

.delivery-report-summary article{
  min-width:0;
  padding:12px;
  border:1px solid #d8e2ee;
  border-left:4px solid #2563eb;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 6px 16px rgba(15,23,42,.04);
}

.delivery-report-summary__debt{
  margin-left:4px;
  border-left:6px solid #dc2626;
}

.delivery-report-summary__absence{
  border-left-color:#d97706 !important;
}

.delivery-report-summary__dynamic{
  border-left-color:#16a34a !important;
}

.delivery-report-summary__service{
  border-left-color:#dc2626 !important;
}

.delivery-report-summary span{
  display:block;
  min-height:30px;
  color:#64748b;
  font-size:11px;
  line-height:1.25;
  font-weight:900;
}

.delivery-report-summary span small{
  display:block;
  margin-top:2px;
  color:#94a3b8;
  font:inherit;
  font-size:10px;
}

.delivery-report-summary strong{
  display:block;
  margin-top:5px;
  color:#0f172a;
  font-size:28px;
  line-height:1;
  font-weight:950;
}

.delivery-report-summary__absence strong{
  color:#b45309;
}

.delivery-report-summary__dynamic strong{
  color:#15803d;
}

.delivery-report-summary__service strong{
  color:#b91c1c;
}

.delivery-report-tableWrap{
  overflow:auto;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#ffffff;
}

.delivery-report-table{
  width:100%;
  min-width:900px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}

.delivery-report-table th,
.delivery-report-table td{
  padding:10px 9px;
  border-right:1px solid #dbe4ee;
  border-bottom:1px solid #dbe4ee;
  vertical-align:middle;
}

.delivery-report-table tr > :last-child{
  border-right:0;
}

.delivery-report-table tbody tr:last-child > *{
  border-bottom:0;
}

.delivery-report-table thead th{
  background:#eaf0f7;
  color:#334155;
  font-size:12px;
  line-height:1.2;
  font-weight:950;
  text-align:center;
}

.delivery-report-table thead tr:first-child th{
  background:#dce6f1;
  color:#0f172a;
  font-size:13px;
}

.delivery-report-nameCol{
  width:36%;
  text-align:left !important;
}

.delivery-report-total th,
.delivery-report-total td{
  background:#fef3c7;
  font-weight:950;
}

.delivery-report-total th,
.delivery-report-ovu th,
.delivery-report-vch th{
  text-align:left;
}

.delivery-report-ovu th,
.delivery-report-ovu td{
  background:#eff6ff;
  font-weight:950;
}

.delivery-report-ovu th{
  display:flex;
  align-items:center;
  gap:8px;
}

.delivery-report-vch th{
  padding-left:48px;
  color:#334155;
  font-weight:800;
}

.delivery-report-expand{
  display:inline-flex;
  width:25px;
  height:25px;
  flex:0 0 25px;
  align-items:center;
  justify-content:center;
  border:1px solid #bfdbfe;
  border-radius:6px;
  background:#ffffff;
  color:#1d4ed8;
  font:inherit;
  font-size:16px;
  line-height:1;
  font-weight:950;
  cursor:pointer;
}

.delivery-report-number{
  color:#0f172a;
  font-size:16px;
  font-weight:900;
  text-align:center;
  font-variant-numeric:tabular-nums;
}

.delivery-report-number--absence{
  color:#b45309;
}

.delivery-report-number--service{
  color:#b91c1c;
}

.delivery-report-headerSub{
  display:block;
  margin-top:3px;
  font-size:10px;
  font-weight:850;
}

.delivery-report-reworkGroup,
.delivery-report-reworkStart{
  border-left:3px solid #64748b !important;
}

.delivery-report-dynamic{
  color:#15803d;
  font-weight:950;
}

.delivery-report-zero{
  color:#94a3b8;
}

.delivery-report-empty{
  padding:22px;
  border:1px dashed #cbd5e1;
  border-radius:8px;
  background:#f8fafc;
  color:#64748b;
  font-weight:850;
  text-align:center;
}

.rework-report-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.rework-report-summary{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:8px;
  margin-bottom:10px;
}

.rework-report-card{
  min-width:0;
  padding:12px;
  border:1px solid #d8e2ee;
  border-left:4px solid #64748b;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 6px 16px rgba(15,23,42,.04);
}

.rework-report-card--debt{ border-left-color:#dc2626; }
.rework-report-card--dynamic{ border-left-color:#16a34a; }
.rework-report-card--review{ border-left-color:#7c3aed; }
.rework-report-card--ovu{ border-left-color:#2563eb; }
.rework-report-card--admin{ border-left-color:#0f766e; }

.rework-report-card span{
  display:block;
  min-height:29px;
  color:#64748b;
  font-size:11px;
  line-height:1.25;
  font-weight:900;
}

.rework-report-card strong{
  display:block;
  margin-top:5px;
  color:#0f172a;
  font-size:28px;
  line-height:1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.rework-report-card--debt strong{ color:#b91c1c; }
.rework-report-card--dynamic strong{ color:#15803d; }
.rework-report-card--review strong{ color:#6d28d9; }
.rework-report-card--ovu strong{ color:#1d4ed8; }
.rework-report-card--admin strong{ color:#0f766e; }

.rework-report-tableWrap{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:auto;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#ffffff;
}

.rework-report-table{
  width:100%;
  min-width:760px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}

.rework-report-table th,
.rework-report-table td{
  padding:10px 9px;
  border-right:1px solid #dbe4ee;
  border-bottom:1px solid #dbe4ee;
  vertical-align:middle;
}

.rework-report-table tr > :last-child{ border-right:0; }
.rework-report-table tbody tr:last-child > *{ border-bottom:0; }

.rework-report-table thead th{
  background:#dce6f1;
  color:#0f172a;
  font-size:12px;
  line-height:1.2;
  font-weight:950;
  text-align:center;
}

.rework-report-nameCol{
  width:40%;
  text-align:left !important;
}

.rework-report-total > *{
  background:#fef3c7;
  font-weight:950;
}

.rework-report-total th,
.rework-report-ovu th,
.rework-report-vch th{
  text-align:left;
}

.rework-report-ovu > *{
  background:#eff6ff;
  font-weight:950;
}

.rework-report-ovu th{
  display:flex;
  align-items:center;
  gap:8px;
}

.rework-report-vch th{
  padding-left:48px;
  color:#334155;
  font-weight:800;
}

.rework-report-number{
  color:#15803d;
  font-size:16px;
  font-weight:950;
  text-align:center;
  font-variant-numeric:tabular-nums;
}

.rework-report-number--debt{ color:#b91c1c; }
.rework-report-number--ovu{ color:#1d4ed8; }
.rework-report-number--admin{ color:#0f766e; }

.requisites-report-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.requisites-report-summary{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:9px;
  margin-bottom:10px;
}

.requisites-report-card{
  min-width:0;
  padding:13px 15px;
  border:1px solid #d8e2ee;
  border-top:4px solid #2563eb;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 6px 16px rgba(15,23,42,.04);
}

.requisites-report-card--recent{
  border-top-color:#d97706;
}

.requisites-report-card--overdue{
  border-top-color:#be123c;
}

.requisites-report-card > span{
  display:block;
  min-height:18px;
  color:#475569;
  font-size:12px;
  font-weight:950;
}

.requisites-report-card__value{
  display:flex;
  align-items:baseline;
  gap:7px;
  margin-top:7px;
}

.requisites-report-card__value strong{
  color:#0f172a;
  font-size:29px;
  line-height:1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.requisites-report-card__value small{
  color:#64748b;
  font-size:13px;
  font-weight:850;
}

.requisites-report-card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-top:9px;
  padding-top:8px;
  border-top:1px solid #e2e8f0;
}

.requisites-report-card__meta b{
  color:#334155;
  font-size:13px;
}

.requisites-report-card__meta em{
  color:#15803d;
  font-size:12px;
  font-style:normal;
  font-weight:950;
}

.requisites-report-tableWrap{
  overflow:auto;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#ffffff;
}

.requisites-report-table{
  width:100%;
  min-width:1120px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}

.requisites-report-table th,
.requisites-report-table td{
  padding:9px 6px;
  border-right:1px solid #dbe4ee;
  border-bottom:1px solid #dbe4ee;
  vertical-align:middle;
}

.requisites-report-table tr > :last-child{
  border-right:0;
}

.requisites-report-table tbody tr:last-child > *{
  border-bottom:0;
}

.requisites-report-table thead th{
  background:#eaf0f7;
  color:#334155;
  font-size:11px;
  line-height:1.2;
  font-weight:950;
  text-align:center;
}

.requisites-report-table thead tr:first-child th{
  background:#dce6f1;
  color:#0f172a;
  font-size:12px;
}

.requisites-report-nameCol{
  width:25%;
  text-align:left !important;
}

.requisites-report-table tbody td{
  color:#0f172a;
  font-size:14px;
  font-weight:850;
  text-align:center;
  font-variant-numeric:tabular-nums;
}

.requisites-report-table tbody th{
  color:#0f172a;
  font-size:12px;
  text-align:left;
}

.requisites-report-groupStart{
  border-left:3px solid #64748b !important;
}

.requisites-report-installed{
  color:#166534 !important;
  font-weight:950 !important;
}

.requisites-report-dynamic{
  color:#15803d;
  font-weight:950;
}

.requisites-report-total > *{
  background:#fef3c7;
  font-weight:950 !important;
}

.requisites-report-ovu > *{
  background:#eff6ff;
  font-weight:950 !important;
}

.requisites-report-ovu th{
  display:flex;
  align-items:center;
  gap:8px;
}

.requisites-report-vch th{
  padding-left:48px;
  color:#475569;
  font-weight:800;
}

.rank-report-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.rank-report-toolbar__actions{
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.rank-report-dynamicsToggle{
  display:inline-flex;
  min-height:38px;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border:1px solid #cbd5e1;
  border-radius:7px;
  background:#ffffff;
  color:#334155;
  font-size:13px;
  font-weight:800;
  cursor:pointer;
  user-select:none;
}

.rank-report-dynamicsToggle:hover{
  border-color:#94a3b8;
  background:#f8fafc;
}

.rank-report-dynamicsToggle input{
  width:17px;
  height:17px;
  margin:0;
  accent-color:#15803d;
  cursor:pointer;
}

.rank-report-chnpControl{
  position:relative;
  z-index:20;
}

.rank-report-chnpControl__loading,
.rank-report-chnpPicker{
  display:inline-flex;
  min-height:38px;
  align-items:center;
  border:1px solid #cbd5e1;
  border-radius:7px;
  background:#ffffff;
  color:#64748b;
  font-size:13px;
  font-weight:800;
}

.rank-report-chnpControl__loading{
  padding:7px 10px 7px 35px;
  background:#f8fafc;
  opacity:.75;
}

.rank-report-chnpPicker{
  position:relative;
}

.rank-report-chnpPicker > summary{
  display:flex;
  min-height:36px;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:5px 9px;
  color:#172033;
  cursor:pointer;
  list-style:none;
  user-select:none;
}

.rank-report-chnpPicker > summary::-webkit-details-marker{
  display:none;
}

.rank-report-chnpPicker > summary::before{
  content:'';
  display:grid;
  width:17px;
  height:17px;
  flex:0 0 17px;
  place-items:center;
  border:1px solid #94a3b8;
  border-radius:4px;
  color:#ffffff;
  font-size:12px;
  font-weight:900;
}

.rank-report-chnpPicker.has-selection > summary::before{
  content:'✓';
  border-color:#15803d;
  background:#15803d;
}

.rank-report-chnpPicker[open]{
  border-color:#94a3b8;
  background:#f8fafc;
}

.rank-report-chnpPicker__title{
  display:flex;
  min-width:0;
  flex:1 1 auto;
}

.rank-report-chnpPicker__title b{
  font-size:15px;
  line-height:1.2;
}

.rank-report-chnpPicker__title small{
  overflow:hidden;
  color:#64748b;
  font-size:12px;
  font-weight:700;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.rank-report-chnpPicker__count{
  flex:0 0 auto;
  padding:3px 6px;
  border-radius:5px;
  background:#eef4fb;
  color:#334155;
  font-size:13px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

.rank-report-chnpPicker__panel{
  position:absolute;
  top:calc(100% + 6px);
  right:0;
  z-index:80;
  width:min(720px, calc(100vw - 32px));
  padding:0 10px 10px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 16px 34px rgba(15,23,42,.2);
}

.rank-report-chnpPicker__actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 2px;
}

.rank-report-chnpPicker__actions > span{
  color:#64748b;
  font-size:12px;
  font-weight:700;
}

.rank-report-chnpPicker__actions > div{
  display:flex;
  align-items:center;
  gap:5px;
}

.rank-report-chnpPicker__actions button{
  min-height:28px;
  padding:4px 9px;
  border:1px solid #cbd5e1;
  border-radius:5px;
  background:#f8fafc;
  color:#334155;
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}

.rank-report-chnpPicker__actions button:hover{
  border-color:#94a3b8;
  background:#eef2f7;
}

.rank-report-chnpPicker__grid{
  display:grid;
  max-height:300px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:5px;
  overflow:auto;
  padding:1px;
}

.rank-report-chnpOption{
  display:flex;
  min-width:0;
  min-height:36px;
  align-items:center;
  gap:7px;
  padding:5px 8px;
  border:1px solid #d7e0ea;
  border-radius:6px;
  background:#ffffff;
  color:#334155;
  font:inherit;
  font-size:13px;
  font-weight:750;
  text-align:left;
  cursor:pointer;
}

.rank-report-chnpOption:hover{
  border-color:#94a3b8;
  background:#f8fafc;
}

.rank-report-chnpOption i{
  display:grid;
  width:18px;
  height:18px;
  flex:0 0 18px;
  place-items:center;
  border:1px solid #94a3b8;
  border-radius:4px;
  color:#ffffff;
  font-size:12px;
  font-style:normal;
  font-weight:950;
}

.rank-report-chnpOption span{
  min-width:0;
  flex:1 1 auto;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.rank-report-chnpOption strong{
  min-width:32px;
  flex:0 0 auto;
  color:#172033;
  font-size:13px;
  font-weight:900;
  text-align:right;
  font-variant-numeric:tabular-nums;
}

.rank-report-chnpOption.is-selected strong{
  color:#14532d;
}

.rank-report-chnpOption.is-selected{
  border-color:#5f88b4;
  background:#edf5fc;
  color:#183b61;
}

.rank-report-chnpOption.is-selected i{
  border-color:#2563eb;
  background:#2563eb;
}

.rank-report-chnpPicker.is-readonly > summary::before{
  border-color:#94a3b8;
}

.rank-report-chnpOption:disabled{
  cursor:default;
  opacity:.78;
}

.rank-report-chnpOption:disabled:hover{
  border-color:#d8e0e8;
  background:#fff;
}

.rank-report-chnpOption.is-selected:disabled:hover{
  border-color:#5f88b4;
  background:#edf5fc;
}

.rank-report-chnpPicker.is-saving .rank-report-chnpPicker__count{
  opacity:.55;
}

.rank-report-summary{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
  margin-bottom:10px;
}

.rank-report-summary--print{
  display:none;
}

.rank-report-summary article{
  min-width:0;
  padding:14px 16px;
  border:1px solid #d8e2ee;
  border-left:4px solid #2563eb;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 6px 16px rgba(15,23,42,.04);
}

.rank-report-summary__added{
  border-left-color:#dc2626 !important;
  background:#fffafa !important;
}

.rank-report-summary__completed{
  border-left-color:#16a34a !important;
  background:#f7fcf8 !important;
}

.rank-report-summary__debt{
  background:#f8fbff !important;
}

.rank-report-summary article > span{
  display:block;
  min-height:34px;
  color:#64748b;
  font-size:14px;
  line-height:1.2;
  font-weight:900;
}

.rank-report-summary article > strong{
  display:block;
  margin-top:5px;
  color:#0f172a;
  font-size:34px;
  line-height:1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.rank-report-tableHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin:14px 0 8px;
}

.rank-report-tableHead h2{
  margin:0;
  color:#172033;
  font-size:20px;
  line-height:1.2;
}

.rank-report-tableHead > div > span{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:13px;
}

.rank-report-legend{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px 12px;
  flex-wrap:wrap;
}

.rank-report-legend > span{
  display:inline-flex !important;
  align-items:center;
  gap:5px;
  margin:0 !important;
  color:#475569 !important;
  font-size:12px !important;
  font-weight:800;
  white-space:nowrap;
}

.rank-report-legend i{
  width:10px;
  height:10px;
  border-radius:2px;
  background:#172033;
}

.rank-report-legend i.is-added{background:#dc2626}
.rank-report-legend i.is-completed{background:#16a34a}

.rank-report-summary__added > strong{
  color:#dc2626 !important;
}

.rank-report-summary__completed > strong{
  color:#15803d !important;
}

.rank-report-tableWrap{
  max-width:100%;
  overflow:auto;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#ffffff;
}

.rank-report-table{
  width:max-content;
  min-width:100%;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}

.rank-report-table th,
.rank-report-table td{
  min-width:68px;
  height:44px;
  padding:5px 6px;
  border-right:1px solid #dbe4ee;
  border-bottom:1px solid #dbe4ee;
  color:#0f172a;
  text-align:center;
  vertical-align:middle;
}

.rank-report-table tr > :last-child{
  border-right:0;
}

.rank-report-table tbody tr:last-child > *{
  border-bottom:0;
}

.rank-report-table thead th{
  position:sticky;
  top:0;
  z-index:2;
  height:198px;
  background:#e7eef6;
  color:#334155;
  font-size:16px;
  font-weight:950;
}

.rank-report-table .rank-report-nameColumn{
  left:0;
  z-index:4;
  width:148px;
  min-width:148px;
  max-width:148px;
  text-align:center;
}

.rank-report-table .rank-report-flowColumn{
  width:96px;
  min-width:96px;
  text-align:center;
}

.rank-report-table .rank-report-flowColumn--added{
  background:#fff7f7;
}

.rank-report-table .rank-report-flowColumn--completed{
  background:#f4fbf6;
}

.rank-report-table .rank-report-flowColumn--current{
  border-right:3px solid #94a3b8;
  background:#f4f7fa;
}

.rank-report-table thead .rank-report-flowColumn--added{
  color:#b91c1c;
}

.rank-report-table thead .rank-report-flowColumn--completed{
  color:#15803d;
}

.rank-report-headSub{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:12px;
  line-height:1.05;
  font-weight:700;
}

.rank-report-rankColumn{
  width:76px;
  min-width:76px;
  padding:7px 5px !important;
  vertical-align:bottom !important;
}

.rank-report-rankColumn > span{
  display:inline-block;
  max-height:180px;
  overflow:hidden;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  line-height:1.1;
  font-size:16px;
  font-weight:700;
  white-space:normal;
}

.rank-report-rankColumn > span > i{
  color:inherit;
  font:inherit;
  font-style:normal;
}

.rank-report-table tbody th{
  position:sticky;
  left:0;
  z-index:1;
  width:148px;
  min-width:148px;
  max-width:148px;
  overflow:hidden;
  background:#ffffff;
  font-size:13px;
  text-align:left;
}

.rank-report-flowValue,
.rank-report-rankMetric{
  display:inline-block;
  line-height:1;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.rank-report-flowValue{
  font-size:18px;
  font-weight:700;
}

.rank-report-flowValue--added{
  color:#dc2626;
}

.rank-report-flowValue--completed{
  color:#15803d;
}

.rank-report-flowValue--current{
  color:#172033;
}

.rank-report-rankMetric{
  display:grid;
  width:64px;
  margin:0 auto;
  grid-template-columns:32px 28px;
  align-items:baseline;
  justify-content:center;
  column-gap:4px;
}

.rank-report-rankMetric > b{
  min-width:0;
  color:#334155;
  font-size:16px;
  font-weight:600;
  text-align:right;
}

.rank-report-rankMetric > em{
  min-width:0;
  color:#15803d;
  font-size:14px;
  font-style:normal;
  font-weight:600;
  text-align:left;
}

.rank-report-rankMetric.is-static{
  display:block;
  width:auto;
  text-align:center;
}

.rank-report-rankMetric.is-static > b{
  display:inline-block;
  text-align:center;
}

.rank-report-total > *{
  background:#fef3c7 !important;
  height:50px !important;
}

.rank-report-total > th{
  font-size:15px;
  font-weight:900;
}

.rank-report-total .rank-report-flowValue{
  font-size:20px;
  font-weight:900;
}

.rank-report-total .rank-report-rankMetric > b{
  color:#172033;
  font-size:18px;
  font-weight:700;
}

.rank-report-total .rank-report-rankMetric > em{
  font-size:16px;
  font-weight:700;
}

.rank-report-ovu > *{
  height:auto !important;
  min-height:42px;
  background:#f1f7ff;
}

.rank-report-ovu > th{
  padding-inline:5px;
  background:#f1f7ff;
  font-size:16px;
  font-weight:800;
}

.rank-report-ovu .rank-report-nameCell > span{
  font-size:16px;
}

.rank-report-vch > th{
  padding-left:8px;
  color:#475569;
  font-weight:600;
}

.rank-report-nameCell{
  display:flex;
  width:100%;
  min-width:0;
  align-items:center;
  gap:4px;
}

.rank-report-nameCell > span,
.rank-report-vch > th > span{
  display:block;
  min-width:0;
  overflow:hidden;
  overflow-wrap:anywhere;
  text-overflow:clip;
  white-space:normal;
  line-height:1.2;
}

.rank-report-table .delivery-report-expand{
  width:20px;
  min-width:20px;
  height:20px;
  flex:0 0 20px;
  padding:0;
  border-radius:5px;
  font-size:14px;
}

.rank-report-table .delivery-report-expand:disabled{
  border-color:#dbe4ee;
  background:#f8fafc;
  color:#94a3b8;
  cursor:not-allowed;
}

.rank-report-ovu .rank-report-flowValue{
  font-weight:700;
}

.rank-report-ovu .rank-report-rankMetric > b{
  font-weight:600;
}

.rank-report-vch .rank-report-flowValue{
  font-weight:600;
}

.rank-report-vch .rank-report-rankMetric > b{
  color:#475569;
  font-weight:500;
}

.rank-report-vch .rank-report-rankMetric > em{
  font-size:13px;
  font-weight:500;
}

.rank-report-vch > *{
  height:auto !important;
  min-height:42px;
}

.rank-report-vch:hover > *{
  background:#f8fafc;
}

.rank-report-printTables{
  display:none;
}

.rank-report-chnpPrintPage{
  display:none;
}

.vzo-report-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.vzo-report-toolbar__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
}

.vzo-report-group{
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:3px;
  border:1px solid #cbd5e1;
  border-radius:7px;
  background:#ffffff;
}

.vzo-report-group > span{
  padding:0 7px;
  color:#475569;
  font-size:11px;
  font-weight:900;
}

.vzo-report-group > button{
  width:32px;
  height:30px;
  border:0;
  border-radius:5px;
  background:transparent;
  color:#475569;
  font:inherit;
  font-size:13px;
  font-weight:950;
  cursor:pointer;
}

.vzo-report-group > button:hover{
  background:#f1f5f9;
}

.vzo-report-group > button.is-active{
  background:#1d4ed8;
  color:#ffffff;
}

.vzo-report-group > button:disabled{
  cursor:wait;
  opacity:.65;
}

.vzo-report-board{
  display:grid;
  gap:8px;
  width:min(1440px, 100%);
  margin:0 auto;
  padding:10px;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#f7fafc;
  box-shadow:0 14px 34px rgba(15,23,42,.07);
}

.vzo-report-overview{
  display:grid;
  grid-template-columns:minmax(250px, .82fr) minmax(0, 2.18fr);
  gap:9px;
}

.vzo-report-coverage{
  display:flex;
  min-width:0;
  align-items:center;
  gap:16px;
  padding:15px;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 7px 18px rgba(15,23,42,.05);
}

.vzo-report-ring{
  display:grid;
  width:112px;
  height:112px;
  flex:0 0 112px;
  place-items:center;
  border-radius:50%;
  background:conic-gradient(#15803d var(--vzo-angle), #e2e8f0 0);
}

.vzo-report-ring::before{
  content:"";
  grid-area:1 / 1;
  width:82px;
  height:82px;
  border-radius:50%;
  background:#ffffff;
}

.vzo-report-ring > div{
  z-index:1;
  grid-area:1 / 1;
  text-align:center;
}

.vzo-report-ring strong,
.vzo-report-ring span{
  display:block;
}

.vzo-report-ring strong{
  color:#166534;
  font-size:21px;
  line-height:1;
  font-weight:950;
}

.vzo-report-ring span{
  margin-top:4px;
  color:#64748b;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
}

.vzo-report-coverage__text{
  min-width:0;
}

.vzo-report-coverage__text span{
  display:block;
  color:#64748b;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
}

.vzo-report-coverage__text strong{
  display:block;
  margin-top:7px;
  color:#0f172a;
  font-size:22px;
  line-height:1.15;
  font-weight:950;
}

.vzo-report-coverage__text small{
  display:block;
  margin-top:6px;
  color:#64748b;
  font-size:12px;
  line-height:1;
  font-weight:850;
}

.vzo-report-metrics{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:9px;
}

.vzo-report-metric{
  min-width:0;
  padding:13px;
  border:1px solid #d8e2ee;
  border-top:4px solid #2563eb;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 7px 18px rgba(15,23,42,.05);
}

.vzo-report-metric--awards{ border-top-color:#475569; }
.vzo-report-metric--year{ border-top-color:#15803d; }
.vzo-report-metric--empty{ border-top-color:#dc2626; }

.vzo-report-metric span,
.vzo-report-metric strong,
.vzo-report-metric small{
  display:block;
}

.vzo-report-metric span{
  min-height:28px;
  color:#64748b;
  font-size:10px;
  line-height:1.2;
  font-weight:950;
  text-transform:uppercase;
}

.vzo-report-metric strong{
  margin-top:7px;
  color:#0f172a;
  font-size:30px;
  line-height:1;
  font-weight:950;
}

.vzo-report-metric--year strong{ color:#15803d; }
.vzo-report-metric--empty strong{ color:#b91c1c; }

.vzo-report-metric small{
  min-height:28px;
  margin-top:7px;
  color:#64748b;
  font-size:10px;
  line-height:1.3;
  font-weight:750;
}

.vzo-report-section{
  min-width:0;
  padding:10px;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 7px 18px rgba(15,23,42,.04);
}

.vzo-report-section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
}

.vzo-report-section__head h2{
  margin:0;
  color:#0f172a;
  font-size:17px;
  font-weight:950;
}

.vzo-report-section__head span{
  color:#64748b;
  font-size:11px;
  font-weight:850;
}

.vzo-report-categories{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(215px, 1fr));
  gap:8px;
}

.vzo-report-category{
  min-width:0;
  padding:11px;
  border:1px solid #e2e8f0;
  border-radius:7px;
  background:#f8fafc;
}

.vzo-report-category__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.vzo-report-category__head strong{
  overflow:hidden;
  color:#0f172a;
  font-size:14px;
  font-weight:950;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.vzo-report-category__head b{
  padding:3px 6px;
  border-radius:5px;
  background:#dcfce7;
  color:#166534;
  font-size:11px;
  font-weight:950;
}

.vzo-report-category__numbers{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:5px;
  margin-top:10px;
}

.vzo-report-category__numbers span{
  min-width:0;
  text-align:center;
}

.vzo-report-category__numbers small,
.vzo-report-category__numbers b{
  display:block;
}

.vzo-report-category__numbers small{
  overflow:hidden;
  color:#64748b;
  font-size:9px;
  line-height:1.1;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.vzo-report-category__numbers b{
  margin-top:4px;
  color:#0f172a;
  font-size:17px;
  line-height:1;
  font-weight:950;
}

.vzo-report-category__bar{
  height:6px;
  margin-top:10px;
  overflow:hidden;
  border-radius:4px;
  background:#e2e8f0;
}

.vzo-report-category__bar span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:#15803d;
}

.vzo-report-tableWrap{
  width:100%;
  overflow:auto;
  border:1px solid #dbe4ee;
  border-radius:7px;
}

.vzo-report-table{
  width:100%;
  min-width:780px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}

.vzo-report-table th,
.vzo-report-table td{
  padding:7px 6px;
  border-right:1px solid #dbe4ee;
  border-bottom:1px solid #dbe4ee;
  text-align:center;
  font-size:16px;
  font-weight:850;
  font-variant-numeric:tabular-nums;
}

.vzo-report-table tr > :last-child{ border-right:0; }
.vzo-report-table tbody tr:last-child > *{ border-bottom:0; }

.vzo-report-table thead th{
  background:#e7edf4;
  color:#334155;
  font-size:12px;
  line-height:1.2;
  font-weight:950;
}

.vzo-report-table thead th:first-child,
.vzo-report-table tbody th{
  width:27%;
  text-align:left;
}

.vzo-report-categoryTable{
  min-width:700px;
}

.vzo-report-categoryTable thead th:first-child,
.vzo-report-categoryTable tbody th{
  width:18%;
}

.vzo-report-categoryTable tbody th{
  font-size:16px;
  font-weight:950;
}

.vzo-report-total > *{
  background:#fef3c7;
  color:#0f172a;
  font-weight:950;
}

.vzo-report-ovu > *{
  background:#ffffff;
  color:#0f172a;
  font-weight:850;
}

.vzo-report-ovu th{
  display:table-cell;
  font-weight:800;
}

.vzo-report-vch th{
  padding-left:47px;
  color:#475569;
  font-weight:800;
}

.vzo-report-expand{
  display:inline-flex;
  width:18px;
  height:18px;
  margin-right:5px;
  padding:0;
  vertical-align:middle;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:0;
  background:transparent;
  color:#475569;
  font:inherit;
  font-size:14px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
}

.vzo-report-positive{ color:#166534; font-weight:950; }
.vzo-report-yearValue{ color:#15803d; font-weight:950; }
.vzo-report-negative{ color:#b91c1c; font-weight:950; }

.vzo-report-percent{
  display:inline-flex;
  min-width:58px;
  justify-content:center;
  padding:4px 6px;
  border-radius:5px;
  background:#dcfce7;
  color:#166534;
  font-size:14px;
  font-weight:950;
}

.vzo-report-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#64748b;
  font-size:10px;
  font-weight:800;
}

.award-flow-board{
  display:grid;
  gap:10px;
  width:min(1440px, 100%);
  margin:0 auto;
  padding:12px;
  border:1px solid #cbd8e6;
  border-radius:8px;
  background:#f5f8fb;
  box-shadow:0 14px 32px rgba(15,23,42,.07);
}

.award-flow-title{
  display:flex;
  min-width:0;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:4px 3px 2px;
}

.award-flow-title span,
.award-flow-title h2,
.award-flow-title strong,
.award-flow-title small{
  display:block;
}

.award-flow-title span{
  color:#2563eb;
  font-size:12px;
  font-weight:950;
}

.award-flow-title h2{
  margin:3px 0 0;
  color:#0f172a;
  font-size:24px;
  line-height:1.1;
  font-weight:950;
}

.award-flow-title > strong{
  color:#0f172a;
  font-size:30px;
  line-height:1;
  text-align:right;
  font-variant-numeric:tabular-nums;
  font-weight:950;
}

.award-flow-title small{
  margin-top:4px;
  color:#64748b;
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
}

.award-flow-cards{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:8px;
}

.award-flow-card{
  min-width:0;
  min-height:128px;
  padding:13px;
  border:1px solid #d8e2ee;
  border-top:4px solid #2563eb;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 6px 16px rgba(15,23,42,.045);
}

.award-flow-card--sent{ border-top-color:#0f766e; }
.award-flow-card--registry{ border-top-color:#d97706; }
.award-flow-card--awarded{ border-top-color:#15803d; }
.award-flow-card--withdrawn{ border-top-color:#dc2626; }

.award-flow-card > span,
.award-flow-card > strong,
.award-flow-card > small{
  display:block;
}

.award-flow-card > span{
  min-height:32px;
  color:#475569;
  font-size:11px;
  line-height:1.25;
  font-weight:950;
  text-transform:uppercase;
}

.award-flow-card > strong{
  margin-top:7px;
  color:#0f172a;
  font-size:32px;
  line-height:1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.award-flow-card--awarded > strong{ color:#166534; }
.award-flow-card--withdrawn > strong{ color:#b91c1c; }
.award-flow-card--registry > strong{ color:#a16207; }

.award-flow-card > small{
  margin-top:9px;
  color:#64748b;
  font-size:10px;
  line-height:1.3;
  font-weight:800;
}

.award-flow-card > small b{
  color:#0f172a;
  font-size:12px;
  font-weight:950;
}

.award-flow-section{
  min-width:0;
  padding:12px;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 6px 16px rgba(15,23,42,.04);
}

.award-flow-section__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}

.award-flow-section__head h2{
  margin:0;
  color:#0f172a;
  font-size:17px;
  font-weight:950;
}

.award-flow-section__head > span{
  color:#64748b;
  font-size:10px;
  font-weight:850;
}

.award-flow-years{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:8px;
}

.award-flow-year{
  min-width:0;
  overflow:hidden;
  border:1px solid #d7e1ec;
  border-radius:7px;
  background:#f8fafc;
}

.award-flow-year > header{
  padding:9px 11px;
  border-bottom:1px solid #d7e1ec;
  background:#e8eef5;
}

.award-flow-year > header strong{
  color:#0f172a;
  font-size:18px;
  line-height:1;
  font-weight:950;
}

.award-flow-year__uk{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  border-bottom:1px solid #d7e1ec;
  background:#ffffff;
}

.award-flow-year__uk > span,
.award-flow-year__results > span{
  min-width:0;
  padding:10px 8px;
  text-align:center;
}

.award-flow-year__uk > span + span,
.award-flow-year__results > span + span{
  border-left:1px solid #e2e8f0;
}

.award-flow-year small,
.award-flow-year b{
  display:block;
}

.award-flow-year small{
  min-height:25px;
  color:#64748b;
  font-size:9px;
  line-height:1.25;
  font-weight:900;
  text-transform:uppercase;
}

.award-flow-year b{
  margin-top:5px;
  color:#0f172a;
  font-size:19px;
  line-height:1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.award-flow-year__results{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.award-flow-year.is-history .award-flow-year__uk{
  grid-template-columns:1fr;
}

.award-flow-year.is-history .award-flow-year__results{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.award-flow-year__results .is-process{ border-top:3px solid #d97706; }
.award-flow-year__results .is-awarded{ border-top:3px solid #16a34a; }
.award-flow-year__results .is-withdrawn{ border-top:3px solid #dc2626; }
.award-flow-year__results .is-process b{ color:#a16207; }
.award-flow-year__results .is-awarded b{ color:#166534; }
.award-flow-year__results .is-withdrawn b{ color:#b91c1c; }

.award-flow-tableWrap{
  width:100%;
  overflow:auto;
  border:1px solid #d6e0eb;
  border-radius:7px;
}

.award-flow-table{
  width:100%;
  min-width:780px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}

.award-flow-table th,
.award-flow-table td{
  padding:9px 7px;
  border-right:1px solid #d6e0eb;
  border-bottom:1px solid #d6e0eb;
  color:#0f172a;
  text-align:center;
  font-size:16px;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

.award-flow-table tr > :last-child{ border-right:0; }
.award-flow-table tbody tr:last-child > *{ border-bottom:0; }

.award-flow-table thead th{
  background:#e8eef5;
  color:#334155;
  font-size:11px;
  line-height:1.25;
  font-weight:950;
}

.award-flow-table thead th:first-child,
.award-flow-table tbody th{
  width:12%;
  text-align:left;
}

.award-flow-table td b,
.award-flow-table td small{
  display:block;
}

.award-flow-table td small{
  margin-top:3px;
  color:#64748b;
  font-size:9px;
  font-weight:850;
}

.award-flow-table td.is-awarded b{ color:#166534; }
.award-flow-table td.is-withdrawn b{ color:#b91c1c; }

.award-flow-table__total > *{
  background:#fff7d6;
  font-size:17px;
  font-weight:950;
}

.award-flow-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 3px;
  color:#64748b;
  font-size:10px;
  font-weight:800;
}

.award-withdrawals-board{display:grid;gap:10px;color:#0f172a}
.award-withdrawals-title{display:none}
.award-withdrawals-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.award-withdrawals-summary article{position:relative;min-width:0;min-height:92px;padding:13px 15px;overflow:hidden;border:1px solid #d8e2ee;border-top:4px solid #dc2626;border-radius:8px;background:#fff;box-shadow:0 5px 15px rgba(15,23,42,.045)}
.award-withdrawals-summary article.is-category-1{border-top-color:#2563eb}
.award-withdrawals-summary article.is-category-2{border-top-color:#d97706}
.award-withdrawals-summary article.is-category-3{border-top-color:#7c3aed}
.award-withdrawals-summary span,.award-withdrawals-summary strong,.award-withdrawals-summary small{display:block}
.award-withdrawals-summary span{color:#64748b;font-size:11px;line-height:1.2;font-weight:900;text-transform:uppercase}
.award-withdrawals-summary strong{margin-top:8px;color:#b91c1c;font-size:30px;line-height:1;font-weight:950;font-variant-numeric:tabular-nums}
.award-withdrawals-summary .is-category strong{color:#1d4ed8}
.award-withdrawals-summary .is-category-2 strong{color:#b45309}
.award-withdrawals-summary .is-category-3 strong{color:#6d28d9}
.award-withdrawals-summary .is-category small{position:absolute;right:15px;bottom:15px;color:#64748b;font-size:13px;font-weight:900}
.award-withdrawals-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.45fr);gap:10px;align-items:stretch}
.award-withdrawals-side{display:block}
.award-withdrawals-side>.award-withdrawals-panel{height:100%}
.award-withdrawals-panel{min-width:0;padding:12px;border:1px solid #d8e2ee;border-radius:8px;background:#fff;box-shadow:0 5px 15px rgba(15,23,42,.04)}
.award-withdrawals-panel>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;padding-bottom:8px;border-bottom:1px solid #e2e8f0}
.award-withdrawals-panel>header h2{margin:0;font-size:18px;line-height:1.15;font-weight:950}
.award-withdrawals-panel>header span{color:#b91c1c;font-size:20px;font-weight:950}
.award-withdrawals-ovuList{overflow:hidden;border:1px solid #cbd5e1;border-radius:7px;background:#fff}
.award-withdrawals-ovuTable{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
.award-withdrawals-ovuTable col.is-number{width:42px}
.award-withdrawals-ovuTable col.is-ovu{width:14%}
.award-withdrawals-ovuTable col.is-total{width:12%}
.award-withdrawals-ovuTable col.is-represented{width:13%}
.award-withdrawals-ovuTable col.is-decision{width:15%}
.award-withdrawals-ovuTable :is(th,td){height:45px;padding:7px 9px;border-right:1px solid #d5dee8;border-bottom:1px solid #d5dee8;text-align:center;vertical-align:middle}
.award-withdrawals-ovuTable :is(th,td):last-child{border-right:0}
.award-withdrawals-ovuTable thead th{height:36px;padding:6px 8px;color:#334155;font-size:14px;line-height:1.15;font-weight:900;background:#e7edf4}
.award-withdrawals-ovuTable thead .is-total-count{color:#b91c1c}
.award-withdrawals-ovuTable thead tr:first-child th:last-child{letter-spacing:0;text-transform:none}
.award-withdrawals-ovuTable tbody tr:last-child>*{border-bottom:0}
.award-withdrawals-ovuTable tbody tr:nth-child(even){background:#f5f8fb}
.award-withdrawals-ovuTable tbody :is(th,td){color:#1e293b;font-size:17px;line-height:1.15;font-weight:500}
.award-withdrawals-ovuTable tbody th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.award-withdrawals-ovuTable tbody td:first-child{background:#f1f5f9}
.award-withdrawals-ovuTable tbody .is-total-count{color:#b91c1c}
.award-withdrawals-ovuTable .award-withdrawals-ovuTotal>*{height:49px;color:#102f49;font-size:18px;font-weight:950;background:#fff5cf}
.award-withdrawals-ovuTable .award-withdrawals-ovuTotal th{text-transform:none}
.award-withdrawals-ovuTable .award-withdrawals-ovuTotal .is-total-count{color:#b91c1c}
.award-withdrawals-reasons{display:grid;gap:6px;margin:0;padding:0;list-style:none;counter-reset:withdrawal-reason}
.award-withdrawals-reasons li{display:grid;grid-template-columns:24px minmax(0,1fr) 45px 42px;min-height:38px;align-items:center;gap:7px;padding:6px 8px;border-bottom:1px solid #e2e8f0;counter-increment:withdrawal-reason}
.award-withdrawals-reasons li::before{content:counter(withdrawal-reason);display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f1eafe;color:#6d28d9;font-size:10px;font-weight:950}
.award-withdrawals-reasons li>b{font-size:14px;line-height:1.25;font-weight:850}
.award-withdrawals-reasons li>span{color:#b91c1c;font-size:18px;font-weight:950;text-align:right}
.award-withdrawals-reasons li>small{color:#64748b;font-size:12px;font-weight:850;text-align:right}
.award-withdrawals-empty{padding:20px;color:#94a3b8;font-size:13px;font-weight:800;text-align:center}

@media screen and (max-width:900px){
  .award-withdrawals-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .award-withdrawals-layout{grid-template-columns:1fr}
}

.reports300-page{
  display:grid;
  gap:12px;
}

.reports300-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.reports300-toolbar__actions{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.reports300-dateField{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#ffffff;
  color:#475569;
  font-size:12px;
  font-weight:900;
}

.reports300-dateField input{
  width:132px;
  border:0;
  background:transparent;
  color:#0f172a;
  font:inherit;
  outline:none;
}

.reports300-loading{
  padding:22px;
  border:1px solid #dbe5f1;
  border-radius:8px;
  background:#ffffff;
  color:#64748b;
  font-weight:800;
}

.reports300-loading--error{
  border-color:#fecaca;
  background:#fff1f2;
  color:#991b1b;
}

.reports300-board{
  width:min(1380px, 100%);
  min-height:760px;
  margin:0 auto;
  padding:14px;
  border:1px solid #d8e2ee;
  border-radius:10px;
  background:#f7fafc;
  color:#0f172a;
  box-shadow:0 16px 38px rgba(15,23,42,.08);
}

.reports300-hero{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:9px;
  align-items:stretch;
}

.reports300-metric,
.reports300-category,
.reports300-ovuPanel,
.reports300-focusCard{
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 8px 20px rgba(15,23,42,.05);
}

.reports300-kicker{
  display:none;
  margin-bottom:8px;
  color:#a7f3d0;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.reports300-hero h1{
  margin:0;
  font-size:42px;
  line-height:1;
  font-weight:950;
  letter-spacing:0;
}

.reports300-hero__period{
  margin:10px 0 14px;
  color:#d1fae5;
  font-size:13px;
  font-weight:850;
}

.reports300-metric{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding:14px;
}

.reports300-metric span,
.reports300-focusCard span{
  color:#64748b;
  font-size:11px;
  font-weight:950;
  text-transform:uppercase;
}

.reports300-metric strong{
  display:block;
  margin-top:8px;
  overflow:hidden;
  color:#0f172a;
  font-size:34px;
  line-height:1.02;
  font-weight:950;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.reports300-metric--work strong{
  color:#15803d;
}

.reports300-metric--debt strong{
  color:#b91c1c;
}

.reports300-metric--best strong,
.reports300-metric--worst strong{
  font-size:20px;
}

.reports300-metric small{
  display:block;
  margin-top:8px;
  overflow:hidden;
  color:#64748b;
  font-size:12px;
  font-weight:850;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.reports300-metric__danger{
  color:#b91c1c !important;
  font-weight:950 !important;
}

.reports300-segments{
  display:flex;
  width:100%;
  height:22px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(226,232,240,.35);
}

.reports300-segments--empty span{
  width:100%;
  background:#e2e8f0;
}

.reports300-segments__part,
.reports300-ovu__segment{
  display:block;
  height:100%;
}

.reports300-segments__part--amber,
.reports300-ovu__segment--amber{ background:#f59e0b; }

.reports300-segments__part--rose,
.reports300-ovu__segment--rose{ background:#e11d48; }

.reports300-segments__part--steel,
.reports300-ovu__segment--steel{ background:#475569; }

.reports300-categoryGrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:9px;
  margin-top:9px;
}

.reports300-category{
  position:relative;
  min-height:116px;
  overflow:hidden;
  padding:12px;
}

.reports300-category::before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:5px;
  background:#2563eb;
}

.reports300-category--amber::before{ background:#f59e0b; }
.reports300-category--rose::before{ background:#e11d48; }
.reports300-category--steel::before{ background:#475569; }

.reports300-category__head,
.reports300-category__body{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.reports300-category__head span{
  color:#0f172a;
  font-size:14px;
  font-weight:950;
}

.reports300-category__head b{
  padding:3px 7px;
  border-radius:999px;
  background:#f1f5f9;
  color:#475569;
  font-size:12px;
  font-weight:950;
}

.reports300-category__body{
  margin-top:12px;
}

.reports300-category__body strong{
  font-size:38px;
  line-height:1;
  font-weight:950;
}

.reports300-category--amber .reports300-category__body strong{ color:#b45309; }
.reports300-category--rose .reports300-category__body strong{ color:#be123c; }
.reports300-category--steel .reports300-category__body strong{ color:#334155; }

.reports300-category__meter{
  height:8px;
  margin-top:12px;
  overflow:hidden;
  border-radius:999px;
  background:#e2e8f0;
}

.reports300-category__meter span{
  display:block;
  height:100%;
  border-radius:999px;
  background:#2563eb;
}

.reports300-category--amber .reports300-category__meter span{ background:#f59e0b; }
.reports300-category--rose .reports300-category__meter span{ background:#e11d48; }
.reports300-category--steel .reports300-category__meter span{ background:#475569; }

.reports300-workBadge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:54px;
  padding:5px 9px;
  border-radius:999px;
  background:#dcfce7;
  color:#166534;
  font-size:12px;
  font-weight:950;
}

.reports300-bottom{
  display:block;
  margin-top:9px;
}

.reports300-ovuPanel{
  min-width:0;
  padding:12px;
}

.reports300-sectionTitle{
  display:flex;
  align-items:flex-end;
  margin-bottom:9px;
}

.reports300-sectionTitle h2{
  margin:0;
  color:#0f172a;
  font-size:18px;
  font-weight:950;
  letter-spacing:0;
}

.reports300-sectionTitle span{
  color:#64748b;
  font-size:12px;
  font-weight:900;
}

.reports300-ovuList{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:7px;
}

.reports300-ovu{
  display:grid;
  grid-template-columns:28px minmax(132px, 1fr) repeat(5, minmax(64px, .36fr));
  gap:6px;
  align-items:stretch;
  padding:8px;
  border:1px solid #e2e8f0;
  border-radius:8px;
  background:#f8fafc;
}

.reports300-ovu__number{
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  width:100%;
  min-height:100%;
  border-radius:7px;
  background:#dbeafe;
  color:#1d4ed8;
  font-size:13px;
  font-weight:950;
}

.reports300-ovu__name{
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.reports300-ovu__name strong{
  overflow:hidden;
  color:#0f172a;
  font-size:15px;
  line-height:1.15;
  font-weight:950;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.reports300-ovu__name span{
  margin-top:4px;
  color:#475569;
  font-size:14px;
  font-weight:950;
  white-space:nowrap;
}

.reports300-ovu__num{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:4px;
  padding:6px 5px;
  border-radius:7px;
  background:#ffffff;
  text-align:center;
}

.reports300-ovu__num span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  overflow:visible;
  max-width:100%;
  color:#64748b;
  font-size:9.5px;
  line-height:1.05;
  font-weight:950;
  text-overflow:clip;
  text-transform:none;
  white-space:normal;
}

.reports300-ovu__num b{
  color:#0f172a;
  font-size:26px;
  line-height:1;
  font-weight:950;
}

.reports300-ovu__num--amber b{ color:#b45309; }
.reports300-ovu__num--rose b{ color:#be123c; }
.reports300-ovu__num--steel b{ color:#334155; }
.reports300-ovu__num--work b{ color:#15803d; }

.reports300-focus{
  display:grid;
  gap:9px;
}

.reports300-focusCard{
  min-height:124px;
  padding:14px;
}

.reports300-focusCard strong{
  display:block;
  margin-top:8px;
  overflow:hidden;
  color:#0f172a;
  font-size:18px;
  line-height:1.15;
  font-weight:950;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.reports300-focusCard b{
  display:block;
  margin-top:10px;
  font-size:34px;
  line-height:1;
  font-weight:950;
}

.reports300-focusCard--best b{
  color:#15803d;
}

.reports300-focusCard--worst b{
  color:#b91c1c;
}

.reports300-empty{
  padding:16px;
  border:1px dashed #cbd5e1;
  border-radius:8px;
  background:#f8fafc;
  color:#64748b;
  font-weight:850;
}

.reports300-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:9px;
  padding-top:9px;
  border-top:1px solid #e2e8f0;
  color:#64748b;
  font-size:11px;
  font-weight:850;
}

.vk-delivery-report-toolbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.vk-delivery-report-toolbar__actions{
  display:flex;
  align-items:center;
  gap:8px;
}

.vk-delivery-report-printHead{
  display:none;
}

.vk-delivery-report-summary{
  display:grid;
  grid-template-columns:1.12fr repeat(4, minmax(0, 1fr));
  gap:8px;
  margin-bottom:10px;
}

.vk-delivery-report-card{
  min-width:0;
  min-height:116px;
  padding:13px 14px;
  border:1px solid #d8e2ee;
  border-top:4px solid #2563eb;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 6px 18px rgba(15,23,42,.05);
}

.vk-delivery-report-card > span{
  display:block;
  min-height:32px;
  color:#526174;
  font-size:12px;
  line-height:1.2;
  font-weight:950;
}

.vk-delivery-report-card > div{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:8px;
}

.vk-delivery-report-card .vk-delivery-report-card__numbers{
  justify-content:flex-start;
}

.vk-delivery-report-card .vk-delivery-report-card__numbers > b{
  margin-left:auto;
}

.vk-delivery-report-card strong{
  color:#0f172a;
  font-size:30px;
  line-height:1;
  font-weight:950;
}

.vk-delivery-report-dynamic{
  color:#15803d;
  font-size:16px;
  line-height:1;
  font-weight:950;
  white-space:nowrap;
}

.vk-delivery-report-added{
  color:#dc2626;
  font-size:16px;
  line-height:1;
  font-weight:950;
  white-space:nowrap;
}

.vk-delivery-report-card__totalNumbers{
  display:grid !important;
  width:100%;
  grid-template-columns:minmax(68px, 1fr) 52px 52px;
  align-items:baseline !important;
  justify-content:stretch !important;
  column-gap:6px;
  font-variant-numeric:tabular-nums;
}

.vk-delivery-report-card__totalNumbers > *{
  min-width:0;
  text-align:right;
}

.vk-delivery-report-card b{
  color:#526174;
  font-size:13px;
  font-weight:950;
}

.vk-delivery-report-card small{
  display:block;
  margin-top:10px;
  color:#64748b;
  font-size:11px;
  font-weight:900;
}

.vk-delivery-report-card i{
  display:block;
  height:5px;
  margin-top:12px;
  overflow:hidden;
  border-radius:3px;
  background:#e8eef5;
}

.vk-delivery-report-card i em{
  display:block;
  height:100%;
  border-radius:inherit;
  background:currentColor;
}

.vk-delivery-report-card--total{
  border-top-color:#334155;
  background:#f8fafc;
}

.vk-delivery-report-card--total > span{
  min-height:32px;
}

.vk-delivery-report-card--age1{
  border-top-color:#16a34a;
  color:#16a34a;
}

.vk-delivery-report-card--age2{
  border-top-color:#ca8a04;
  color:#ca8a04;
}

.vk-delivery-report-card--age3{
  border-top-color:#ea580c;
  color:#ea580c;
}

.vk-delivery-report-card--age4{
  border-top-color:#dc2626;
  color:#dc2626;
}

.vk-delivery-report-panel{
  overflow:hidden;
  border:1px solid #94a3b8;
  border-radius:8px;
  background:#ffffff;
  box-shadow:0 8px 22px rgba(15,23,42,.05);
}

.vk-delivery-report-panel__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 15px;
  border-bottom:1px solid #94a3b8;
  background:#f4f7fa;
}

.vk-delivery-report-panel__head h2{
  margin:0;
  color:#0f172a;
  font-size:16px;
  font-weight:950;
}

.vk-delivery-report-panel__head span{
  display:block;
  margin-top:3px;
  color:#64748b;
  font-size:11px;
  font-weight:850;
}

.vk-delivery-report-panel__head > b{
  color:#0f172a;
  font-size:24px;
  line-height:1;
  font-weight:950;
}

.vk-delivery-report-tableWrap{
  overflow:auto;
}

.vk-delivery-report-table{
  width:100%;
  min-width:1480px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}

.vk-delivery-report-table th,
.vk-delivery-report-table td{
  height:43px;
  padding:8px 10px;
  border-right:1px solid #94a3b8;
  border-bottom:1px solid #94a3b8;
  color:#1e293b;
  font-size:12px;
  line-height:1.2;
  text-align:center;
  vertical-align:middle;
}

.vk-delivery-report-table tr > :last-child{
  border-right:0;
}

.vk-delivery-report-table tbody tr:last-child > *{
  border-bottom:0;
}

.vk-delivery-report-table thead th{
  position:sticky;
  top:0;
  z-index:1;
  background:#eaf0f7;
  color:#334155;
  font-size:16px;
  line-height:1.15;
  font-weight:950;
}

.vk-delivery-report-table thead tr:first-child th{
  height:76px;
}

.vk-delivery-report-table tbody th{
  text-align:left;
  font-weight:900;
}

.vk-delivery-report-table tbody tr:not(.vk-delivery-report-total) > th{
  font-size:16px;
}

.vk-delivery-report-table tbody tr:hover > *{
  background:#f8fafc;
}

.vk-delivery-report-table .vk-delivery-report-index{
  width:48px;
  color:#64748b;
  text-align:center;
}

.vk-delivery-report-table .vk-delivery-report-name{
  width:260px;
  text-align:left;
}

.vk-delivery-report-headPeriod{
  display:block;
  margin-top:3px;
}

.vk-delivery-report-flowHead--added,
.vk-delivery-report-flow--added{
  width:190px;
  background:#fff7f7;
}

.vk-delivery-report-flowHead--completed,
.vk-delivery-report-flow--completed{
  width:220px;
  background:#f4fbf6;
}

.vk-delivery-report-flowHead--required,
.vk-delivery-report-flow--required{
  width:190px;
  border-right:1px solid #94a3b8 !important;
  background:#f4f7fa;
}

.vk-delivery-report-flowHead--added{
  color:#b91c1c !important;
}

.vk-delivery-report-flowHead--completed{
  color:#15803d !important;
}

.vk-delivery-report-flow{
  font-size:18px !important;
  line-height:1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
  text-align:center !important;
}

.vk-delivery-report-flow .vk-delivery-report-added,
.vk-delivery-report-flow .vk-delivery-report-dynamic,
.vk-delivery-report-flow > b{
  display:inline-block;
  min-width:72px;
  font-size:18px;
  text-align:center;
}

.vk-delivery-report-danger{
  background:#fffafa;
  font-weight:950 !important;
}

.vk-delivery-report-danger--start{
  border-left:4px solid #dc2626 !important;
}

.vk-delivery-report-danger--end{
  border-right:4px solid #dc2626 !important;
}

.vk-delivery-report-table thead .vk-delivery-report-danger{
  border-top:4px solid #dc2626 !important;
  color:#991b1b;
}

.vk-delivery-report-table tbody tr:last-child .vk-delivery-report-danger{
  border-bottom:4px solid #dc2626 !important;
}

.vk-delivery-report-cell{
  display:grid;
  width:100px;
  min-height:20px;
  margin:0 auto;
  grid-template-columns:44px 44px;
  align-items:baseline;
  justify-content:center;
  column-gap:8px;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.vk-delivery-report-cell > b{
  min-width:1px;
  color:inherit;
  font-size:16px;
  line-height:1;
  font-weight:950;
  text-align:right;
}

.vk-delivery-report-cell .vk-delivery-report-dynamic{
  font-size:16px;
  line-height:1;
  text-align:left;
}

.vk-delivery-report-cell .vk-delivery-report-added{
  font-size:16px;
  line-height:1;
  text-align:left;
}

.vk-delivery-report-total > *{
  background:#fff7d6;
  color:#0f172a !important;
  font-size:18px !important;
  font-weight:950 !important;
}

.vk-delivery-report-total .vk-delivery-report-cell > b{
  font-size:18px;
}

.vk-delivery-report-total .vk-delivery-report-dynamic{
  font-size:18px;
}

.vk-delivery-report-total .vk-delivery-report-added{
  font-size:18px;
}

.vk-delivery-report-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:8px;
  color:#64748b;
  font-size:10px;
  font-weight:850;
}

.vk-delivery-report-link{
  display:inline;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:inherit;
  line-height:inherit;
  font-variant-numeric:inherit;
  cursor:pointer;
  text-decoration:underline;
  text-decoration-color:transparent;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  transition:color .16s ease, text-decoration-color .16s ease;
}

.vk-delivery-report-link:hover{
  color:#1d4ed8;
  text-decoration-color:currentColor;
}

.vk-delivery-report-link:focus-visible{
  border-radius:3px;
  outline:2px solid #60a5fa;
  outline-offset:3px;
}

body.vk-delivery-list-open{
  overflow:hidden;
}

.vk-delivery-listModal{
  position:fixed;
  inset:0;
  z-index:12000;
  display:grid;
  place-items:center;
  padding:16px;
  background:rgba(15,23,42,.52);
}

.vk-delivery-listModal[hidden]{
  display:none;
}

.vk-delivery-listModal__dialog{
  display:flex;
  width:calc(100vw - 32px);
  max-width:1600px;
  height:calc(100vh - 32px);
  max-height:900px;
  min-width:0;
  min-height:0;
  flex-direction:column;
  overflow:hidden;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#fff;
  box-shadow:0 28px 80px rgba(15,23,42,.32);
}

.vk-delivery-listModal__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border-bottom:1px solid #dbe4ee;
  background:#f8fafc;
  flex:0 0 auto;
}

.vk-delivery-listModal__head h2{
  margin:0;
  color:#0f172a;
  font-size:19px;
  line-height:1.25;
  font-weight:950;
}

.vk-delivery-listModal__head span{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}

.vk-delivery-listModal__close{
  width:34px;
  height:34px;
  flex:0 0 34px;
  padding:0;
  border:1px solid #cbd5e1;
  border-radius:6px;
  background:#fff;
  color:#475569;
  font-size:23px;
  line-height:1;
  cursor:pointer;
}

.vk-delivery-listModal__close:hover{
  border-color:#94a3b8;
  color:#0f172a;
}

.vk-delivery-listModal__toolbar{
  padding:10px 16px;
  border-bottom:1px solid #e2e8f0;
  background:#fff;
  flex:0 0 auto;
}

.vk-delivery-listModal__toolbar label{
  display:grid;
  grid-template-columns:auto minmax(240px, 520px);
  align-items:center;
  justify-content:start;
  gap:10px;
}

.vk-delivery-listModal__toolbar label > span{
  color:#475569;
  font-size:12px;
  font-weight:900;
}

.vk-delivery-listModal__toolbar input{
  width:100%;
}

.vk-delivery-listModal__body{
  width:100%;
  min-height:0;
  min-width:0;
  flex:1 1 auto;
  overflow:auto;
  scrollbar-gutter:stable;
  background:#fff;
}

.vk-delivery-listModal__loading,
.vk-delivery-listModal__empty{
  display:grid;
  min-height:240px;
  place-items:center;
  padding:24px;
  color:#64748b;
  font-size:14px;
  font-weight:850;
  text-align:center;
}

.vk-delivery-listTable{
  width:2542px;
  min-width:100%;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}

.vk-delivery-listTable col.vk-delivery-listTable__index{width:52px;}
.vk-delivery-listTable col.vk-delivery-listTable__fio{width:220px;}
.vk-delivery-listTable col.vk-delivery-listTable__birth{width:110px;}
.vk-delivery-listTable col.vk-delivery-listTable__rank{width:150px;}
.vk-delivery-listTable col.vk-delivery-listTable__position{width:270px;}
.vk-delivery-listTable col.vk-delivery-listTable__number{width:110px;}
.vk-delivery-listTable col.vk-delivery-listTable__award{width:220px;}
.vk-delivery-listTable col.vk-delivery-listTable__awardNumber{width:130px;}
.vk-delivery-listTable col.vk-delivery-listTable__decree{width:170px;}
.vk-delivery-listTable col.vk-delivery-listTable__character{width:130px;}
.vk-delivery-listTable col.vk-delivery-listTable__sentFrom{width:220px;}
.vk-delivery-listTable col.vk-delivery-listTable__vk{width:220px;}
.vk-delivery-listTable col.vk-delivery-listTable__outgoing{width:180px;}
.vk-delivery-listTable col.vk-delivery-listTable__date{width:120px;}

.vk-delivery-listTable th,
.vk-delivery-listTable td{
  padding:8px 9px;
  border-right:1px solid #e2e8f0;
  border-bottom:1px solid #e2e8f0;
  color:#334155;
  font-size:12px;
  line-height:1.3;
  text-align:left;
  vertical-align:top;
  overflow-wrap:anywhere;
}

.vk-delivery-listTable thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#eaf0f7;
  color:#334155;
  font-size:11px;
  font-weight:950;
  white-space:nowrap;
}

.vk-delivery-listTable tbody th{
  color:#0f172a;
  font-size:13px;
  font-weight:900;
}

.vk-delivery-listTable tbody tr:nth-child(even) > *{
  background:#f8fafc;
}

.vk-delivery-listTable tbody tr:hover > *{
  background:#eff6ff;
}

.vk-delivery-listTable tr > :first-child{text-align:center;}

.vk-delivery-listModal__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 16px;
  border-top:1px solid #dbe4ee;
  background:#f8fafc;
  color:#64748b;
  font-size:12px;
  font-weight:850;
  flex:0 0 auto;
}

.vk-delivery-listModal__pages{
  display:flex;
  align-items:center;
  gap:8px;
}

.vk-delivery-listModal__pages label{
  display:flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
}

.vk-delivery-listModal__pages select{
  width:auto;
  min-width:104px;
}

@media (max-width: 1180px){
  .vzo-report-overview{
    grid-template-columns:1fr;
  }

  .delivery-report-toolbar{
    flex-direction:column;
  }

  .requisites-report-toolbar{
    flex-direction:column;
  }

  .rework-report-toolbar{
    flex-direction:column;
  }

  .rank-report-toolbar{
    flex-direction:column;
  }

  .delivery-report-filters{
    width:100%;
    justify-content:flex-start;
  }

  .delivery-report-summary{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .vk-delivery-report-summary{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .rework-report-summary{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }

  .reports300-hero{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px){
  .vzo-report-toolbar{
    flex-direction:column;
  }

  .vzo-report-toolbar__actions{
    width:100%;
    justify-content:flex-start;
  }

  .vzo-report-metrics{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .control-reports-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .control-reports-tabs{
    width:100%;
    overflow-x:auto;
    flex-wrap:nowrap;
    justify-content:flex-start;
  }

  .control-reports-tab{
    flex:1 0 auto;
  }

  .delivery-report-filterGroup{
    width:100%;
  }

  .delivery-report-filterGroup label{
    min-width:0;
  }

  .delivery-report-filterGroup input{
    width:100%;
    min-width:0;
  }

  .delivery-report-summary{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .vk-delivery-report-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .vk-delivery-report-toolbar__actions{
    width:100%;
    justify-content:flex-start;
  }

  .vk-delivery-report-summary{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .rework-report-summary{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .requisites-report-summary{
    grid-template-columns:1fr;
  }

  .rank-report-toolbar__actions{
    width:100%;
    justify-content:flex-start;
  }

  .rank-report-tableHead{
    align-items:flex-start;
    flex-direction:column;
  }

  .rank-report-legend{
    justify-content:flex-start;
  }

  .rank-report-chnpPicker__grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .reports300-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .reports300-board{
    min-height:0;
    padding:10px;
    border-radius:8px;
  }

  .reports300-hero,
  .reports300-categoryGrid,
  .reports300-ovuList{
    grid-template-columns:1fr;
  }

  .reports300-hero h1{
    font-size:32px;
  }
}

@media (max-width: 560px){
  .vk-delivery-listModal{
    padding:0;
  }

  .vk-delivery-listModal__dialog{
    width:100vw;
    height:100vh;
    border:0;
    border-radius:0;
  }

  .vk-delivery-listModal__toolbar label{
    grid-template-columns:1fr;
    gap:5px;
  }

  .vk-delivery-listModal__footer{
    align-items:stretch;
    flex-direction:column;
  }

  .vk-delivery-listModal__pages{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
  }

  .vk-delivery-listModal__pages label{
    justify-content:center;
  }

  .vzo-report-coverage{
    align-items:flex-start;
    flex-direction:column;
  }

  .vzo-report-metrics{
    grid-template-columns:1fr;
  }

  .vzo-report-toolbar__actions > .btn{
    flex:1 1 100%;
  }

  .vzo-report-category__numbers{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    row-gap:10px;
  }

  .delivery-report-summary{
    grid-template-columns:1fr;
  }

  .vk-delivery-report-summary{
    grid-template-columns:1fr;
  }

  .vk-delivery-report-toolbar__actions{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .vk-delivery-report-toolbar__actions .btn{
    min-width:0;
    white-space:normal;
  }

  .rework-report-summary{
    grid-template-columns:1fr;
  }

  .rank-report-summary{
    grid-template-columns:1fr;
  }

  .rank-report-chnpPicker__title small,
  .rank-report-chnpPicker__actions > span{
    display:none;
  }

  .rank-report-chnpPicker__actions{
    justify-content:flex-end;
  }

  .rank-report-chnpPicker__grid{
    grid-template-columns:1fr;
  }

  .rank-report-chnpControl{
    grid-column:1 / -1;
  }

  .rank-report-chnpPicker{
    width:100%;
  }

  .rank-report-chnpPicker > summary{
    width:100%;
  }

  .rank-report-toolbar__actions{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .rank-report-toolbar__actions .delivery-report-filterGroup{
    grid-column:1 / -1;
  }

  .rank-report-toolbar__actions .btn{
    min-width:0;
    white-space:normal;
  }

  .delivery-report-filters{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .delivery-report-filterGroup{
    grid-column:1 / -1;
  }

  .delivery-report-filters > .btn{
    width:100%;
    min-width:0;
    padding-inline:7px;
    white-space:normal;
  }
}

@media (max-width:1180px){
  .award-flow-cards{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width:720px){
  .award-flow-board{
    padding:8px;
  }

  .award-flow-title,
  .award-flow-section__head{
    align-items:flex-start;
    flex-direction:column;
  }

  .award-flow-cards{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .award-flow-card{
    min-height:118px;
    padding:10px;
  }

  .award-flow-card > strong{
    font-size:27px;
  }

}

@media print{
  @page{
    size:A4 landscape;
    margin:7mm;
  }

  @page rankReportChnp{
    size:A4 landscape;
    margin:7mm;
  }

  body{
    background:#ffffff !important;
  }

  .topbar,
  .sidebar,
  .breadcrumbs,
  .control-reports-head,
  .vzo-report-toolbar,
  .award-flow-toolbar,
  .requisites-report-toolbar,
  .rework-report-toolbar,
  .rank-report-toolbar,
  .rank-report-chnpPicker,
  .vk-delivery-report-toolbar,
  .vk-delivery-listModal,
  .delivery-report-toolbar,
  .reports300-toolbar,
  #toast{
    display:none !important;
  }

  .app,
  .main,
  #view{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
  }

  .reports300-page{
    display:block;
  }

  .vzo-report-board{
    width:100%;
    padding:0;
    border:0;
    background:#ffffff;
    box-shadow:none;
  }

  .award-flow-board{
    width:100%;
    padding:0;
    border:0;
    background:#ffffff;
    box-shadow:none;
  }

  .award-flow-card,
  .award-flow-section{
    break-inside:avoid;
    box-shadow:none !important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }

  .vzo-report-coverage,
  .vzo-report-metric,
  .vzo-report-section,
  .vzo-report-category{
    break-inside:avoid;
    box-shadow:none !important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }

  .reports300-board{
    width:100%;
    min-height:0;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:#ffffff;
    box-shadow:none;
  }

  .reports300-metric,
  .reports300-category,
  .reports300-ovuPanel,
  .reports300-focusCard,
  .reports300-ovu{
    break-inside:avoid;
    box-shadow:none !important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }

  .delivery-report-summary article,
  .vk-delivery-report-card,
  .vk-delivery-report-table tr,
  .rework-report-card,
  .rework-report-table tr,
  .requisites-report-card,
  .requisites-report-table tr,
  .rank-report-summary article,
  .rank-report-table tr,
  .delivery-report-table tr{
    break-inside:avoid;
    box-shadow:none !important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }

  .delivery-report-printHead{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    margin-bottom:7mm;
    border-bottom:1px solid #cbd5e1;
    padding-bottom:3mm;
  }

  .delivery-report-printHead h1{
    margin:0;
    color:#0f172a;
    font-size:22px;
  }

  .delivery-report-printHead span{
    color:#475569;
    font-size:10px;
    font-weight:800;
  }

  .rank-report-summary{
    gap:5px;
    margin-bottom:2mm;
  }

  .rank-report-summary--screen{
    display:none;
  }

  .rank-report-summary--print{
    display:grid;
  }

  .rank-report-tableHead{
    display:none;
  }

  .rank-report-summary article{
    padding:5px 7px;
  }

  .rank-report-summary article > span{
    min-height:0;
    font-size:11px;
  }

  .rank-report-summary article > strong{
    margin-top:2px;
    font-size:20px;
  }

  :is(#rankReportBody, #rankMonthReportBody) .delivery-report-printHead{
    margin-bottom:3mm;
    padding-bottom:2mm;
  }

  .rank-report-tableWrap{
    overflow:visible;
    border-radius:0;
  }

  .rank-report-tableWrap--print{
    border:0;
  }

  .rank-report-tableWrap--screen{
    display:none;
  }

  .rank-report-printTables{
    display:block;
  }

  .rank-report-printSheet{
    break-after:auto;
    page-break-after:auto;
  }

  .rank-report-mainPrintPage--withChnp{
    display:block;
    break-after:page !important;
    page-break-after:always !important;
  }

  .rank-report-chnpPrintPage{
    display:block !important;
    position:relative;
    width:100%;
    clear:both;
    page:rankReportChnp;
    break-before:page !important;
    page-break-before:always !important;
  }

  .rank-report-chnpPrintPage .rank-report-printSheet--chnp{
    display:block;
  }

  body.rank-report-print-main-only .rank-report-mainPrintPage--withChnp{
    break-after:auto !important;
    page-break-after:auto !important;
  }

  body.rank-report-print-main-only .rank-report-chnpPrintPage{
    display:none !important;
  }

  body.rank-report-print-chnp-only .rank-report-mainPrintPage{
    display:none !important;
  }

  body.rank-report-print-chnp-only .rank-report-chnpPrintPage{
    display:block !important;
    page:auto;
    break-before:auto !important;
    page-break-before:auto !important;
  }

  .rank-report-table{
    width:var(--rank-print-table-width);
    min-width:0;
    margin:0 auto;
    border:1.2px solid #64748b;
    table-layout:fixed;
  }

  .rank-report-table thead th,
  .rank-report-table tbody th{
    position:static;
  }

  .rank-report-table thead th{
    height:38mm;
    font-size:16px;
    line-height:1.1;
    font-weight:800;
  }

  .rank-report-table th,
  .rank-report-table td{
    min-width:0;
    height:auto;
    padding:3px;
    border-right-color:#64748b;
    border-bottom-color:#64748b;
  }

  .rank-report-table .rank-report-nameColumn,
  .rank-report-table tbody th{
    width:var(--rank-print-name-width);
    min-width:var(--rank-print-name-width);
    max-width:var(--rank-print-name-width);
  }

  .rank-report-table .rank-report-flowColumn{
    width:29mm;
    min-width:29mm;
  }

  .rank-report-table thead .rank-report-flowColumn{
    overflow-wrap:normal;
    font-size:15px;
    word-break:normal;
  }

  .rank-report-rankColumn{
    position:relative !important;
    width:var(--rank-print-width);
    min-width:var(--rank-print-width);
    padding:1mm 0 !important;
    overflow:hidden;
    text-align:center !important;
  }

  .rank-report-rankColumn > span{
    position:static;
    display:flex;
    box-sizing:border-box;
    width:auto;
    height:35mm;
    max-width:100%;
    max-height:35mm;
    margin:0 auto;
    overflow:hidden;
    align-items:center;
    justify-content:center;
    text-orientation:mixed;
    white-space:nowrap;
    writing-mode:vertical-rl;
    transform:rotate(180deg);
  }

  .rank-report-rankColumn > span > i{
    display:block;
    max-width:100%;
    max-height:35mm;
    color:#0f172a;
    font-family:Arial, sans-serif;
    font-size:var(--rank-print-font);
    line-height:1.1;
    font-weight:700;
    font-synthesis:none;
    letter-spacing:0;
    text-align:center;
    text-align-last:center;
    text-orientation:inherit;
    overflow-wrap:normal;
    white-space:nowrap;
    writing-mode:inherit;
  }

  .rank-report-headSub{
    margin-top:3px;
    font-size:11px;
  }

  .rank-report-flowValue{
    font-size:14px;
  }

  .rank-report-rankMetric > b{
    font-size:14px;
  }

  .rank-report-rankMetric{
    width:100%;
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    justify-items:center;
    row-gap:1px;
  }

  .rank-report-rankMetric > b,
  .rank-report-rankMetric > em{
    text-align:center;
  }

  .rank-report-rankMetric > em{
    font-size:12px;
  }

  .rank-report-total > *{
    height:9mm !important;
  }

  .rank-report-total > th,
  .rank-report-ovu > th,
  .rank-report-ovu .rank-report-nameCell > span{
    font-size:16px;
  }

  .rank-report-ovu > th,
  .rank-report-ovu .rank-report-nameCell{
    text-align:center;
  }

  .rank-report-ovu .rank-report-nameCell{
    justify-content:center;
  }

  .rank-report-ovu > *,
  .rank-report-vch > *{
    height:7.5mm !important;
  }

  .rank-report-vch > th{
    padding-left:5px;
    font-size:13px;
  }

  .rank-report-table--chnp .rank-report-vch > th{
    padding-inline:3px;
    text-align:center;
  }

  .rank-report-table--chnp{
    border:0 !important;
    border-collapse:separate;
    border-spacing:0;
  }

  .rank-report-table--chnp th,
  .rank-report-table--chnp td{
    border-top:0 !important;
    border-right:1px solid #64748b !important;
    border-bottom:1px solid #64748b !important;
    border-left:0 !important;
  }

  .rank-report-table--chnp thead tr:first-child > *{
    border-top:1.4px solid #475569 !important;
  }

  .rank-report-table--chnp tr > :first-child{
    border-left:1.4px solid #475569 !important;
  }

  .rank-report-table--chnp tr > :last-child{
    border-right:1.4px solid #475569 !important;
  }

  .rank-report-table--chnp tbody tr:last-child > *{
    border-bottom:1.4px solid #475569 !important;
  }

  .rank-report-table--chnp .rank-report-nameColumn{
    padding-inline:4px !important;
    font-size:15px;
    line-height:1.15;
    white-space:normal;
  }

  .rank-report-nameCell > span,
  .rank-report-vch > th > span{
    overflow:hidden;
    overflow-wrap:anywhere;
    text-overflow:clip;
    white-space:normal;
    line-height:1.15;
  }

  .rank-report-table .delivery-report-expand{
    display:none;
  }

  .vk-delivery-report-printHead{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    margin-bottom:5mm;
    padding-bottom:3mm;
    border-bottom:1px solid #cbd5e1;
  }

  .vk-delivery-report-printHead h1{
    margin:0;
    color:#0f172a;
    font-size:22px;
  }

  .vk-delivery-report-printHead span{
    display:block;
    margin-top:2mm;
    color:#475569;
    font-size:10px;
    font-weight:800;
  }

  .vk-delivery-report-printHead > strong{
    color:#0f172a;
    font-size:28px;
    font-weight:950;
  }

  .vk-delivery-report-summary{
    grid-template-columns:1.12fr repeat(4, minmax(0, 1fr));
    gap:5px;
    margin-bottom:4mm;
  }

  .vk-delivery-report-card{
    min-height:0;
    padding:8px 9px;
  }

  .vk-delivery-report-card > span{
    min-height:26px;
    font-size:9px;
  }

  .vk-delivery-report-card strong{
    font-size:22px;
  }

  .vk-delivery-report-card b{
    font-size:10px;
  }

  .vk-delivery-report-card i{
    margin-top:7px;
  }

  .vk-delivery-report-panel{
    overflow:visible;
    border-radius:0;
    box-shadow:none;
  }

  .vk-delivery-report-panel__head{
    padding:7px 9px;
  }

  .vk-delivery-report-panel__head h2{
    font-size:13px;
  }

  .vk-delivery-report-panel__head > b{
    font-size:19px;
  }

  .vk-delivery-report-tableWrap{
    overflow:visible;
  }

  .vk-delivery-report-table{
    min-width:0;
  }

  .vk-delivery-report-table thead{
    display:table-header-group;
  }

  .vk-delivery-report-table thead th{
    position:static;
  }

  .vk-delivery-report-table th,
  .vk-delivery-report-table td{
    height:auto;
    padding:4px 5px;
    border-color:#64748b;
    font-size:8px;
  }

  .vk-delivery-report-panel{
    border-color:#64748b;
  }

  .vk-delivery-report-table .vk-delivery-report-index{
    width:8mm;
  }

  .vk-delivery-report-table .vk-delivery-report-name{
    width:45mm;
  }

  .vk-delivery-report-footer{
    margin-top:3mm;
  }

  .delivery-report-tableWrap{
    overflow:visible;
    border-radius:0;
  }

  .delivery-report-table{
    min-width:0;
    font-size:10px;
  }

  .rework-report-tableWrap{
    overflow:visible;
    border-radius:0;
  }

  .rework-report-table{
    min-width:0;
    font-size:10px;
  }

  .requisites-report-tableWrap{
    overflow:visible;
    border-radius:0;
  }

  .requisites-report-table{
    min-width:0;
    font-size:9px;
  }

  .requisites-report-table th,
  .requisites-report-table td{
    padding:5px 3px;
  }

  .delivery-report-table th,
  .delivery-report-table td{
    padding:6px 5px;
  }

  .rework-report-table th,
  .rework-report-table td{
    padding:6px 5px;
  }
}

.control-remove-modal{
  width:min(640px, 96vw);
}

.control-remove-modal__textarea{
  min-height:120px;
  resize:vertical;
}

.control-remove-modal__files{
  margin-top:10px;
  display:grid;
  gap:4px;
}

.admin-award-stats{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.admin-award-stats__summary{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:12px;
}

.admin-award-stats__card{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-height:120px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid #dbe7ff;
  box-shadow:0 14px 28px rgba(15,23,42,.05);
}

.admin-award-stats__card--wide{
  grid-column:span 2;
}

.admin-award-stats__card--accent{
  background:linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  border-color:transparent;
  color:#ffffff;
  box-shadow:0 18px 36px rgba(29,78,216,.20);
}

.admin-award-stats__card--danger{
  background:linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%);
  border-color:transparent;
  color:#ffffff;
  box-shadow:0 18px 36px rgba(220,38,38,.20);
}

.admin-award-stats__label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#64748b;
}

.admin-award-stats__card--accent .admin-award-stats__label,
.admin-award-stats__card--danger .admin-award-stats__label{
  color:rgba(255,255,255,.72);
}

.admin-award-stats__value{
  font-size:32px;
  line-height:1;
  color:#0f172a;
}

.admin-award-stats__value--location{
  font-size:24px;
  line-height:1.15;
}

.admin-award-stats__card--accent .admin-award-stats__value,
.admin-award-stats__card--danger .admin-award-stats__value{
  color:#ffffff;
}

.admin-award-stats__sub{
  font-size:13px;
  color:#475569;
}

.admin-award-stats__card--accent .admin-award-stats__sub,
.admin-award-stats__card--danger .admin-award-stats__sub{
  color:rgba(255,255,255,.86);
}

.admin-award-stats__character{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.admin-award-stats__character strong{
  color:#0f172a;
}

.admin-award-stats__ovu-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(320px, 1fr));
  gap:14px;
}

.admin-award-stats__ovu-card{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:16px;
  border-radius:18px;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid #dbe7ff;
  box-shadow:0 14px 28px rgba(15,23,42,.05);
}

.admin-award-stats__ovu-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.admin-award-stats__ovu-title{
  font-size:22px;
  line-height:1.1;
  font-weight:800;
  color:#0f172a;
}

.admin-award-stats__ovu-sub{
  margin-top:4px;
  font-size:13px;
  color:#64748b;
}

.admin-award-stats__ovu-total{
  min-width:72px;
  padding:10px 12px;
  border-radius:16px;
  background:linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
  color:#ffffff;
  font-size:28px;
  line-height:1;
  font-weight:800;
  text-align:center;
  box-shadow:0 14px 28px rgba(29,78,216,.18);
}

.admin-award-stats__ovu-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:10px;
}

.admin-award-stats__ovu-stat{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-height:76px;
  padding:12px 14px;
  border-radius:14px;
  background:#ffffff;
  border:1px solid #dbe7ff;
}

.admin-award-stats__ovu-stat span{
  font-size:11px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#64748b;
}

.admin-award-stats__ovu-stat strong{
  font-size:24px;
  line-height:1;
  color:#0f172a;
}

.admin-award-stats__ovu-stat--accent{
  background:linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.admin-award-stats__ovu-breakdown{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.admin-award-stats__ovu-breakdown-title{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#475569;
}

.admin-award-stats__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.admin-award-stats__chip{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:160px;
  padding:10px 12px;
  border-radius:14px;
  background:#ffffff;
  border:1px solid #dbe7ff;
}

.admin-award-stats__chip strong{
  font-size:14px;
  color:#0f172a;
}

.admin-award-stats__chip span{
  font-size:12px;
  color:#64748b;
}

.admin-award-stats__chip--empty{
  min-width:100%;
}

@media (max-width: 760px){
  .admin-award-stats__card--wide{
    grid-column:span 1;
  }

  .admin-award-stats__value{
    font-size:28px;
  }

  .admin-award-stats__ovu-grid{
    grid-template-columns:1fr;
  }

  .admin-award-stats__ovu-stats{
    grid-template-columns:1fr;
  }

  .admin-award-stats__ovu-total{
    min-width:64px;
    font-size:24px;
  }
}

.award-vch-stats{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.award-vch-stats__summary{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(190px, 1fr));
  gap:12px;
}

.award-vch-stats__card{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-height:120px;
  padding:14px 16px;
  border-radius:18px;
  background:linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border:1px solid #d7e6f8;
  box-shadow:0 16px 34px rgba(15,23,42,.05);
}

.award-vch-stats__card--wide{
  grid-column:span 2;
}

.award-vch-stats__card--accent{
  background:linear-gradient(135deg, #0f172a 0%, #0f766e 100%);
  border-color:transparent;
  color:#ffffff;
  box-shadow:0 20px 38px rgba(15,118,110,.18);
}

.award-vch-stats__card--danger{
  background:linear-gradient(135deg, #7f1d1d 0%, #dc2626 100%);
  border-color:transparent;
  color:#ffffff;
  box-shadow:0 18px 36px rgba(220,38,38,.20);
}

.award-vch-stats__label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#64748b;
}

.award-vch-stats__card--accent .award-vch-stats__label,
.award-vch-stats__card--danger .award-vch-stats__label{
  color:rgba(255,255,255,.72);
}

.award-vch-stats__value{
  font-size:32px;
  line-height:1;
  color:#0f172a;
}

.award-vch-stats__value--wide{
  font-size:24px;
  line-height:1.15;
}

.award-vch-stats__card--accent .award-vch-stats__value,
.award-vch-stats__card--danger .award-vch-stats__value{
  color:#ffffff;
}

.award-vch-stats__sub{
  font-size:13px;
  color:#475569;
}

.award-vch-stats__card--accent .award-vch-stats__sub,
.award-vch-stats__card--danger .award-vch-stats__sub{
  color:rgba(255,255,255,.86);
}

.award-vch-stats__filters-card{
  overflow:visible;
}

.award-vch-stats__filters{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:14px;
}

.award-vch-stats__filter{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.award-vch-stats__filter label{
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#475569;
}

.award-vch-stats__lookup{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px;
  align-items:start;
}

.award-vch-stats__lookup .input:disabled{
  color:#0f172a;
  background:#f8fafc;
}

.award-vch-stats__dropdown{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:84px;
  z-index:20;
  display:flex;
  flex-direction:column;
  gap:6px;
  max-height:280px;
  overflow:auto;
  padding:8px;
  border-radius:16px;
  background:rgba(255,255,255,.98);
  border:1px solid #d7e6f8;
  box-shadow:0 24px 48px rgba(15,23,42,.14);
}

.award-vch-stats__dropdown.hidden{
  display:none;
}

.award-vch-stats__dropdown-item{
  display:flex;
  flex-direction:column;
  gap:3px;
  width:100%;
  padding:10px 12px;
  border:none;
  border-radius:12px;
  background:#ffffff;
  text-align:left;
  cursor:pointer;
  transition:background .15s ease, transform .15s ease;
}

.award-vch-stats__dropdown-item:hover,
.award-vch-stats__dropdown-item.is-active{
  background:#eef6ff;
  transform:translateY(-1px);
}

.award-vch-stats__dropdown-title{
  font-size:14px;
  font-weight:700;
  color:#0f172a;
}

.award-vch-stats__dropdown-sub{
  font-size:12px;
  color:#64748b;
}

.award-vch-stats__dropdown-empty{
  padding:10px 12px;
  border-radius:12px;
  background:#f8fafc;
  color:#64748b;
  font-size:13px;
}

.award-vch-stats__table-wrap{
  overflow:auto;
  border-radius:18px;
  border:1px solid #d7e6f8;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.award-vch-stats__table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  min-width:760px;
}

.award-vch-stats__table thead th{
  position:sticky;
  top:0;
  z-index:1;
  padding:14px 16px;
  background:#eff6ff;
  color:#334155;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:left;
  border-bottom:1px solid #d7e6f8;
}

.award-vch-stats__table tbody td{
  padding:14px 16px;
  border-bottom:1px solid #e2e8f0;
  vertical-align:top;
}

.award-vch-stats__table tbody tr:last-child td{
  border-bottom:none;
}

.award-vch-stats__award-name{
  font-size:15px;
  font-weight:700;
  color:#0f172a;
}

.award-vch-stats__award-total{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px;
  padding:8px 12px;
  border-radius:999px;
  background:#85aaac;
  color:#ffffff;
  font-size:15px;
  font-weight:800;
}

.award-vch-stats__character-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.award-vch-stats__character-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:#ffffff;
  border:1px solid #d7e6f8;
  box-shadow:0 8px 18px rgba(15,23,42,.04);
}

.award-vch-stats__character-chip strong{
  font-size:13px;
  color:#0f172a;
}

.award-vch-stats__character-chip span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  padding:4px 8px;
  border-radius:999px;
  background:#ecfeff;
  color:#0f766e;
  font-size:12px;
  font-weight:800;
}

.award-vch-stats__character-empty,
.award-vch-stats__table-empty{
  padding:18px;
  color:#64748b;
  font-size:14px;
}

@media (max-width: 760px){
  .award-vch-stats__card--wide{
    grid-column:span 1;
  }

  .award-vch-stats__value{
    font-size:28px;
  }

  .award-vch-stats__lookup{
    grid-template-columns:1fr;
  }

  .award-vch-stats__dropdown{
    right:0;
  }

  .award-vch-stats__table{
    min-width:640px;
  }
}

.shipment-search{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.shipment-search__label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:#64748b;
}

.shipment-search-input{
  min-height:38px;
  border-radius:12px;
  border-color:#dbe7ff;
  box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.shipment-search-input:focus{
  border-color:#60a5fa;
  box-shadow:0 0 0 4px rgba(59,130,246,.12);
}

.shipment-details-status{
  display:flex;
  flex-wrap:wrap;
  gap:6px 12px;
  align-items:center;
  font-size:11px;
  font-weight:600;
  color:#475569;
}

.shipment-toolbar__hint{
  font-size:11px;
  color:#64748b;
}

.shipment-items{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:10px;
}

.shipment-card{
  border:1px solid #e2e8f0;
  border-radius:16px;
  background:#ffffff;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:10px;
  box-shadow:0 8px 18px rgba(15,23,42,.04);
  min-width:0;
}

.shipment-card__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
}

.shipment-card__type-wrap{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

.shipment-card__index{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:11px;
  font-weight:800;
}

.shipment-card__type{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:4px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  border:1px solid transparent;
}

.shipment-card__type--award{
  color:#92400e;
  background:#fff7ed;
  border-color:#fed7aa;
}

.shipment-card__type--certificate{
  color:#1d4ed8;
  background:#eff6ff;
  border-color:#bfdbfe;
}

.shipment-card__pair-badge{
  display:inline-flex;
  align-items:center;
  min-height:24px;
  padding:4px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  border:1px solid transparent;
}

.shipment-card__pair-badge--ok{
  color:#166534;
  background:#dcfce7;
  border-color:#86efac;
}

.shipment-card__pair-badge--warn{
  color:#9a3412;
  background:#ffedd5;
  border-color:#fdba74;
}

.shipment-card__title{
  font-size:14px;
  font-weight:800;
  color:#0f172a;
  line-height:1.3;
}

.shipment-card__subtitle{
  font-size:12px;
  color:#475569;
}

.shipment-card__fields{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px;
}

.shipment-card__field{
  min-width:0;
  padding:8px 10px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}

.shipment-card__field span{
  display:block;
  margin-bottom:4px;
  font-size:11px;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:#64748b;
}

.shipment-card__field strong{
  display:block;
  font-size:12px;
  color:#0f172a;
  overflow-wrap:anywhere;
}

.shipment-empty{
  padding:22px 18px;
  border:1px dashed #cbd5e1;
  border-radius:16px;
  text-align:center;
  color:#64748b;
  background:#ffffff;
}

.shipment-card--skeleton{
  pointer-events:none;
}

.shipment-card__skeleton{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  background:#e2e8f0;
}

.shipment-card__skeleton::after{
  content:"";
  position:absolute;
  inset:0;
  transform:translateX(-100%);
  background:linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  animation:shipmentSkeleton 1.2s ease-in-out infinite;
}

.shipment-card__skeleton--line{
  height:14px;
}

.shipment-card__skeleton--short{
  width:34%;
}

.shipment-card__skeleton--mid{
  width:58%;
}

.shipment-card__skeleton--grid{
  height:88px;
}

.shipment-details-more{
  display:flex;
  justify-content:center;
}

.shipment-details-more__btn{
  min-width:180px;
  min-height:42px;
  border-radius:999px;
}

.shipment-page-head{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  padding:16px 18px;
  background:
    radial-gradient(900px 280px at 0% 0%, rgba(37,99,235,.08), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border:1px solid #dbe7ff;
  box-shadow:0 14px 30px rgba(15,23,42,.06);
}

.shipment-page-head__main{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.shipment-page-head__sub{
  color:#475569;
  max-width:760px;
}

.shipment-section-tabs{
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px;
  border:1px solid #dbe7ff;
  border-radius:10px;
  background:#f1f5f9;
  overflow-x:auto;
}

.shipment-section-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:8px 16px;
  border:1px solid transparent;
  border-radius:7px;
  background:transparent;
  color:#475569;
  font-weight:800;
  white-space:nowrap;
  cursor:pointer;
}

.shipment-section-tab b{
  min-width:24px;
  padding:2px 7px;
  border-radius:999px;
  background:#e2e8f0;
  color:#334155;
  font-size:11px;
}

.shipment-section-tab.is-active{
  border-color:#bfdbfe;
  background:#fff;
  color:#1d4ed8;
  box-shadow:0 3px 10px rgba(15,23,42,.08);
}

.shipment-section-tab.is-active b{
  background:#dbeafe;
  color:#1d4ed8;
}

.shipment-board{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:14px 16px 16px;
  border:1px solid #dbe7ff;
  background:linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:0 14px 28px rgba(15,23,42,.05);
}

.shipment-board__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.shipment-board__titles{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.shipment-board__titles h3{
  margin:0;
  font-size:20px;
  line-height:1.1;
  color:#0f172a;
}

.shipment-board__titles p{
  margin:0;
  color:#64748b;
}

.shipment-board__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.shipment-board__toolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}

.shipment-board__search{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:min(360px, 100%);
  flex:1 1 360px;
}

.shipment-board__field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.shipment-board__source{
  flex:0 1 330px;
  min-width:min(260px, 100%);
}

.shipment-board__source select{
  width:100%;
}

.shipment-board__search span,
.shipment-board__field > span{
  font-size:11px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#64748b;
}

.shipment-receipt-tabs{
  display:flex;
  align-items:center;
  gap:4px;
  width:max-content;
  max-width:100%;
  padding:4px;
  border:1px solid #dbe7ff;
  border-radius:9px;
  background:#f8fafc;
  overflow-x:auto;
}

.shipment-receipt-tab{
  min-height:34px;
  padding:6px 13px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
  cursor:pointer;
}

.shipment-receipt-tab.is-active{
  background:#1d4ed8;
  color:#fff;
  box-shadow:0 3px 9px rgba(37,99,235,.2);
}

.shipment-board__updating{
  min-height:20px;
  color:#2563eb;
  font-size:12px;
  font-weight:700;
}

.shipment-origin-filters{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.shipment-origin-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:36px;
  padding:7px 12px;
  border-radius:999px;
  border:1px solid #dbe7ff;
  background:#fff;
  color:#334155;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.shipment-origin-chip b{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:26px;
  height:24px;
  padding:0 8px;
  border-radius:999px;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:11px;
}

.shipment-origin-chip:hover{
  transform:translateY(-1px);
  border-color:#93c5fd;
  box-shadow:0 10px 20px rgba(37,99,235,.08);
}

.shipment-origin-chip.is-active{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(135deg, #1d4ed8, #2563eb);
  box-shadow:0 14px 24px rgba(37,99,235,.18);
}

.shipment-origin-chip.is-active b{
  background:rgba(255,255,255,.18);
  color:#fff;
}

.shipment-table-wrap{
  width:100%;
  overflow:auto;
  border:1px solid #dbe7ff;
  border-radius:8px;
  background:#fff;
}

.shipment-table{
  min-width:920px;
}

.shipment-table th{
  background:#f8fbff;
  white-space:nowrap;
}

.shipment-table td{
  vertical-align:top;
}

.shipment-table__box,
.shipment-table__outgoing,
.shipment-table__count,
.shipment-table__status{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.shipment-table__box strong,
.shipment-table__outgoing strong,
.shipment-table__count strong{
  color:#0f172a;
}

.shipment-table__box span,
.shipment-table__outgoing span,
.shipment-table__count span,
.shipment-table__status-meta,
.shipment-table__sub{
  font-size:12px;
  color:#64748b;
  overflow-wrap:anywhere;
}

.shipment-table__route{
  font-weight:700;
  color:#0f172a;
  overflow-wrap:anywhere;
}

.shipment-table__actions{
  white-space:nowrap;
}

.shipment-doc-list{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.shipment-doc-list--panel{
  flex-direction:row;
  flex-wrap:wrap;
}

.shipment-doc-chip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:38px;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid #dbe7ff;
  background:#f8fbff;
  color:#0f172a;
  text-decoration:none;
}

.shipment-doc-chip:hover{
  border-color:#93c5fd;
  background:#eff6ff;
}

.shipment-doc-chip__name{
  font-size:12px;
  font-weight:700;
  overflow-wrap:anywhere;
}

.shipment-doc-chip__action{
  font-size:11px;
  font-weight:700;
  color:#2563eb;
  white-space:nowrap;
}

.shipment-doc-empty{
  display:block;
  font-size:12px;
  color:#64748b;
}

.shipment-docs-panel{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid #dbe7ff;
  background:#f8fbff;
}

.shipment-docs-panel__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.shipment-docs-panel__title{
  font-size:12px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#475569;
}

.shipment-docs-panel__meta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:28px;
  padding:0 10px;
  border-radius:999px;
  background:#e0ecff;
  color:#1d4ed8;
  font-weight:800;
  font-size:12px;
}

.shipment-upload-inline{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:220px;
}

.shipment-upload-inline__pick{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:7px 12px;
  border-radius:10px;
  border:1px dashed #93c5fd;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}

.shipment-upload-inline__pick:hover{
  background:#dbeafe;
}

.shipment-upload-inline__name{
  font-size:12px;
  color:#64748b;
  overflow-wrap:anywhere;
}

.shipment-upload-inline__submit{
  align-self:flex-start;
}

.shipment-board__footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.shipment-board__footer-meta{
  font-size:12px;
  color:#64748b;
}

.shipment-pager{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

.shipment-pager__btn{
  min-width:34px;
  height:34px;
  border:1px solid #dbe7ff;
  border-radius:10px;
  background:#fff;
  color:#334155;
  cursor:pointer;
}

.shipment-pager__btn.is-active{
  background:#1d4ed8;
  border-color:#1d4ed8;
  color:#fff;
}

.shipment-pager__dots{
  color:#64748b;
  padding:0 4px;
}

.receive-pro__mode-switch{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:4px;
  padding:4px;
  border:1px solid #dbe3ef;
  border-radius:8px;
  background:#f1f5f9;
}

.receive-pro__mode-btn{
  min-height:36px;
  padding:7px 10px;
  border:0;
  border-radius:6px;
  background:transparent;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.receive-pro__mode-btn.is-active{
  background:#fff;
  color:#1d4ed8;
  box-shadow:0 2px 8px rgba(15,23,42,.09);
}

.receive-pro__legacy-form{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.receive-pro__legacy-form[hidden],
.receive-pro__legacy-results[hidden],
#receiveScannerBand[hidden],
#receiveScanForm[hidden]{
  display:none !important;
}

.receive-pro__legacy-results{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:16px;
  border:1px solid #dbe7ff;
  border-radius:10px;
  background:#fff;
}

.receive-pro__legacy-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.receive-pro__legacy-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.receive-pro__legacy-card{
  display:flex;
  flex-direction:column;
  gap:11px;
  min-width:0;
  padding:14px;
  border:1px solid #cbdcf7;
  border-radius:8px;
  background:#f8fbff;
}

.receive-pro__legacy-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:#64748b;
  font-size:12px;
}

.receive-pro__legacy-type{
  color:#1d4ed8;
  font-weight:800;
  text-transform:uppercase;
}

.receive-pro__legacy-card h3{
  margin:0;
  color:#0f172a;
  font-size:16px;
  line-height:1.3;
}

.receive-pro__legacy-person{
  color:#334155;
  font-weight:800;
}

.receive-pro__legacy-numbers{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px;
}

.receive-pro__legacy-numbers > div,
.receive-pro__legacy-route{
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
  padding:8px 10px;
  border:1px solid #e2e8f0;
  border-radius:6px;
  background:#fff;
}

.receive-pro__legacy-numbers span,
.receive-pro__legacy-route span{
  color:#64748b;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
}

.receive-pro__legacy-numbers strong,
.receive-pro__legacy-route strong{
  color:#0f172a;
  overflow-wrap:anywhere;
}

.receive-pro__legacy-route small{
  color:#64748b;
}

.receive-pro__legacy-confirm{
  align-self:flex-end;
}

.receive-pro__legacy-message{
  padding:12px 14px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#f8fafc;
  color:#475569;
}

.receive-pro__legacy-message--error{
  border-color:#fecaca;
  background:#fff1f2;
  color:#b91c1c;
}

.shipment-empty--soft{
  border:1px dashed #cbd5e1;
  background:#fff;
}

@keyframes shipmentSkeleton{
  100%{
    transform:translateX(100%);
  }
}

@media (max-width: 900px){
  .shipment-modal-overlay{
    padding:16px;
  }

  .shipment-modal-dialog{
    max-height:calc(100vh - 32px);
  }

  .shipment-modal-dialog__topbar{
    flex-direction:column;
    align-items:stretch;
  }

  .shipment-toolbar{
    grid-template-columns:1fr;
  }

  .shipment-card__fields{
    grid-template-columns:1fr;
  }

  .shipment-page-head,
  .shipment-board__head,
  .shipment-board__toolbar,
  .shipment-board__footer{
    flex-direction:column;
    align-items:stretch;
  }

  .shipment-board__meta{
    justify-content:flex-start;
  }

  .receive-pro__legacy-grid{
    grid-template-columns:1fr;
  }

  .shipment-board__search,
  .shipment-board__source{
    flex:none;
    width:100%;
    min-width:100%;
  }

  .receive-hero{
    flex-direction:column;
  }

  .receive-hero__pills{
    justify-content:flex-start;
  }

  .receive-scan-row{
    grid-template-columns:1fr;
  }

  .receive-log-head{
    flex-direction:column;
    align-items:stretch;
  }
}

@media (max-width: 640px){
  .shipment-modal-overlay{
    padding:0;
  }

  .shipment-modal-dialog{
    width:100%;
    min-height:100vh;
    max-height:100vh;
    border-radius:0;
    border-left:none;
    border-right:none;
  }

  .shipment-modal-dialog__topbar{
    padding:14px 16px;
  }

  .shipment-modal-dialog__body{
    padding:12px;
  }

  .shipment-details-cell{
    padding:10px !important;
  }

  .shipment-details-wrap{
    padding:16px;
  }

  .shipment-detail-meta{
    grid-template-columns:1fr;
  }

  .shipment-summary-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .shipment-filter-tab{
    width:100%;
    justify-content:space-between;
  }

  .shipment-items{
    grid-template-columns:1fr;
  }

  .shipment-origin-chip{
    width:100%;
    justify-content:space-between;
  }

  .shipment-section-tab{
    flex:1 0 auto;
  }

  .shipment-board__source,
  .shipment-board__search{
    min-width:100%;
  }

  .shipment-receipt-tabs{
    width:100%;
  }

  .shipment-receipt-tab{
    flex:1 0 auto;
  }

  .shipment-upload-inline{
    min-width:0;
  }

  .receive-hero-card{
    padding:16px;
  }

  .receive-hero__title{
    font-size:20px;
  }

  .receive-stats-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .receive-entry{
    padding:14px;
  }

  .receive-entry__top{
    flex-direction:column;
  }

  .receive-entry__fields{
    grid-template-columns:1fr;
  }
}

.page-receive{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.receive-shell{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.receive-hero-card{
  gap:16px;
  border-radius:20px;
  border-color:#dbe7ff;
  background:
    radial-gradient(900px 240px at 0% 0%, rgba(37,99,235,.10), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow:0 18px 40px rgba(15,23,42,.08);
}

.receive-hero{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}

.receive-hero__main{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.receive-hero__eyebrow{
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#2563eb;
}

.receive-hero__title{
  font-size:24px;
  line-height:1.1;
  font-weight:800;
  color:#0f172a;
}

.receive-hero__subtitle{
  font-size:14px;
  color:#475569;
  max-width:860px;
}

.receive-hero__pills{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}

.receive-scan-row{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px;
  align-items:center;
}

.receive-scan-input{
  min-height:54px;
  border-radius:16px;
  border-color:#bfdbfe;
  box-shadow:0 10px 24px rgba(37,99,235,.08);
  font-size:15px;
}

.receive-scan-input:focus{
  border-color:#60a5fa;
  box-shadow:0 0 0 4px rgba(59,130,246,.12);
}

.receive-helper{
  font-size:13px;
  color:#64748b;
}

.receive-stats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(170px, 1fr));
  gap:12px;
}

.receive-stat{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-height:92px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid #e2e8f0;
  background:#ffffff;
  box-shadow:0 10px 24px rgba(15,23,42,.05);
}

.receive-stat strong{
  font-size:28px;
  line-height:1;
  color:#0f172a;
}

.receive-stat__label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:#64748b;
}

.receive-stat--ok{
  background:linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
}

.receive-stat--warn{
  background:linear-gradient(180deg, #fffbea 0%, #ffffff 100%);
}

.receive-stat--danger{
  background:linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
}

.receive-log-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:10px;
}

.receive-log-head__title{
  margin:0 0 4px;
}

.receive-log-meta{
  font-size:13px;
}

.receive-log{
  display:grid;
  gap:12px;
}

.receive-empty{
  padding:32px 22px;
  border-radius:18px;
  border:1px dashed #cbd5e1;
  text-align:center;
  color:#64748b;
  background:#ffffff;
}

.receive-entry{
  display:flex;
  flex-direction:column;
  gap:14px;
  padding:16px 18px;
  border-radius:20px;
  border:1px solid #e2e8f0;
  background:#ffffff;
  box-shadow:0 12px 28px rgba(15,23,42,.05);
}

.receive-entry--received{
  border-color:#bbf7d0;
  background:
    linear-gradient(180deg, rgba(240,253,244,.78) 0%, rgba(255,255,255,.98) 100%);
}

.receive-entry--already{
  border-color:#fde68a;
  background:
    linear-gradient(180deg, rgba(255,251,235,.86) 0%, rgba(255,255,255,.98) 100%);
}

.receive-entry--error{
  border-color:#fecaca;
  background:
    linear-gradient(180deg, rgba(255,241,242,.92) 0%, rgba(255,255,255,.98) 100%);
}

.receive-entry__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}

.receive-entry__time{
  font-size:12px;
  font-weight:700;
  color:#64748b;
}

.receive-entry__title{
  font-size:18px;
  line-height:1.2;
  font-weight:800;
  color:#0f172a;
}

.receive-entry__subtitle{
  font-size:14px;
  color:#475569;
}

.receive-entry__chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.receive-chip{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid #dbe7ff;
  background:#ffffff;
  color:#334155;
  font-size:12px;
  font-weight:700;
}

.receive-chip--ok{
  background:#f0fdf4;
  border-color:#bbf7d0;
  color:#166534;
}

.receive-chip--danger{
  background:#fff1f2;
  border-color:#fecaca;
  color:#991b1b;
}

.receive-chip--route{
  background:#eff6ff;
  border-color:#bfdbfe;
  color:#1d4ed8;
}

.receive-chip--doc{
  background:#fff7ed;
  border-color:#fed7aa;
  color:#9a3412;
}

.receive-chip--info{
  background:#f8fafc;
  border-color:#e2e8f0;
  color:#475569;
}

.receive-entry__fields{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:10px;
}

.receive-entry__field{
  min-width:0;
  padding:12px 14px;
  border-radius:16px;
  background:#ffffff;
  border:1px solid #e2e8f0;
}

.receive-entry__field span{
  display:block;
  margin-bottom:4px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:#64748b;
}

.receive-entry__field strong{
  display:block;
  font-size:13px;
  line-height:1.4;
  color:#0f172a;
  overflow-wrap:anywhere;
}

@media (max-width: 900px){
  .receive-hero{
    flex-direction:column;
  }

  .receive-hero__pills{
    justify-content:flex-start;
  }

  .receive-scan-row{
    grid-template-columns:1fr;
  }

  .receive-log-head{
    flex-direction:column;
    align-items:stretch;
  }
}

@media (max-width: 640px){
  .receive-hero-card{
    padding:16px;
  }

  .receive-hero__title{
    font-size:20px;
  }

  .receive-stats-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .receive-entry{
    padding:14px;
  }

  .receive-entry__top{
    flex-direction:column;
  }

  .receive-entry__fields{
    grid-template-columns:1fr;
  }
}

/* =========================
   Disabled / readonly (на будущее)
========================= */
.table input[readonly],
.table select[disabled]{
  background:#f1f5f9;
  color:#64748b;
  cursor:not-allowed;
}

/* =========================
   Parent select highlight
========================= */
.table select[data-field="parent_id"]{
  font-weight:500;
}

.dirty-field{
  background:#fff7d6;
  border-color:#f59e0b;
}

.hidden{display:none}
.row--changed{background:#fff7e6}
.req{border:1px solid #ddd;padding:8px;margin:8px 0}

.menu-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  border-radius: 50%;
  padding: 0;
  margin-left: 6px;
  min-width: 20px;
  width: 20px;
  height: 20px;
  text-align: center;
  box-sizing: border-box;
  flex: 0 0 auto;
}
.menu-badge.menu-badge--wide {
  width: 24px;
  min-width: 24px;
  height: 24px;
  font-size: 10px;
  border-radius: 50%;
}

.menu-badge.hidden {
  display: none;
}
.scan_info {
  background: #f7fafc;
  border-left: 6px solid #3182ce;
  padding: 14px;
  margin: 16px 0;
  border-radius: 8px;
}

.scan_info_header {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.scan_ovu {
  font-size: 45px;          /* БОЛЬШЕ */
  font-weight: 700;
  color: #1a365d;
  letter-spacing: 0.3px;
}

.scan_hint {
  display: block;
  margin: 10px 0 2px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
}

.scan_hint--info {
  color: #1d4ed8;
  background: #dbeafe;
  border: 1px solid #93c5fd;
}

.scan_hint--warn {
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid #fdba74;
}

.scan_row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}

.scan_val {
  font-weight: 600;
  color: #2d3748;
}

.scan_key {
  min-width: 110px;
  color: #555;
}

.scan_num {
  font-weight: 700;
  color: #000;
}

.admin-req-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 200px;
  gap: 10px;
  margin: 8px 0 14px;
}

.admin-req-toolbar--pro {
  grid-template-columns: minmax(280px, 1fr) auto 180px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid #dbe7ff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.admin-req-hint {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
}

.admin-req-stats {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #334155;
  font-weight: 600;
}

.admin-req-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}

.admin-req-tabs .btn {
  min-width: 128px;
}

.admin-req-tabs span {
  margin-left: 6px;
  font-weight: 800;
}

.admin-req-list {
  margin-top: 12px;
  display: grid;
  gap: 14px;
}

.admin-req-pagination {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid #dbe7ff;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.admin-req-pagination__pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-req-pagination__dots {
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.admin-req-pagination .btn {
  min-width: 44px;
}

.req-card {
  width: 100%;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid #d9e5f5;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.req-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.req-card__title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.req-card__meta {
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
}

.req-card__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 10px 12px;
}

.req-card__grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.req-card__grid label span {
  font-size: 12px;
  color: #475569;
  font-weight: 700;
}

.req-card__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.req-card__actions .btn {
  min-width: 130px;
}

.req-table td {
  vertical-align: top;
}

.req-card .input {
  width: 100%;
  min-width: 0;
}

.req-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.input--invalid {
  border-color: #dc2626 !important;
  background: #fef2f2 !important;
}

.reship-grid {
  display: grid;
  gap: 14px;
}

.reship-card {
  border: 1px solid #dbe6f4;
  box-shadow: 0 8px 22px rgba(15,23,42,.06);
}

.reship-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.reship-head-note {
  font-size: 12px;
  color: #64748b;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

.reship-inline {
  display: flex;
  gap: 8px;
  width: min(520px, 100%);
}

.reship-inline .input {
  flex: 1;
}

.reship-hint {
  font-size: 12px;
  margin-bottom: 10px;
  min-height: 18px;
}

.reship-lookup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  margin-bottom: 10px;
}

.reship-lookup-box {
  border: 1px solid #dbe6f4;
  background: #f8fbff;
  border-radius: 10px;
  padding: 10px;
}

.reship-lookup-title {
  font-size: 12px;
  color: #475569;
  font-weight: 700;
  margin-bottom: 8px;
}

.reship-inline--wide {
  width: 100%;
}

.reship-lookup-actions {
  display: flex;
  align-items: end;
}

.reship-actions {
  margin-top: 12px;
  width: 100%;
}

.reship-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 10px 12px;
}

.reship-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.reship-form-grid label span {
  font-size: 12px;
  color: #475569;
  font-weight: 700;
}

@media (max-width: 1280px) {
  .admin-req-toolbar {
    grid-template-columns: 1fr;
  }
  .req-card__grid {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
  }
}

@media (max-width: 1000px) {
  .req-card__head {
    flex-direction: column;
  }

  .req-card__grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .reship-form-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .reship-lookup-grid {
    grid-template-columns: 1fr;
  }

  .reship-lookup-actions .btn {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .admin-req-toolbar--pro {
    padding: 10px;
  }

  .admin-req-pagination {
    padding: 10px;
    justify-content: center;
  }

  .req-card {
    padding: 12px;
  }

  .req-card__grid {
    grid-template-columns: 1fr;
  }

  .req-card__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .reship-head {
    flex-direction: column;
    align-items: stretch;
  }

  .reship-head-note {
    width: fit-content;
  }

  .reship-inline {
    width: 100%;
  }

  .reship-form-grid {
    grid-template-columns: 1fr;
  }
}

/* коробки */
.box_store {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}

.box_scan_option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
}

.box_scan_option input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.box_card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
  transition: .15s;
}

.box_card--closed {
  background: linear-gradient(180deg, #fffaf0, #ffffff);
  border-color: #fcd34d;
}

.box_card--scan-hit {
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .24), 0 16px 30px rgba(22, 163, 74, .22);
  animation: box-card-scan-hit 1.6s ease-out;
}

.box_card--closed.box_card--scan-hit {
  border-color: #22c55e;
}

@keyframes box-card-scan-hit {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .36), 0 6px 14px rgba(0, 0, 0, .08);
  }
  36% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, .22), 0 18px 34px rgba(22, 163, 74, .24);
  }
  100% {
    box-shadow: 0 0 0 4px rgba(34, 197, 94, .24), 0 16px 30px rgba(22, 163, 74, .22);
  }
}

.box_card:hover {
  transform: translateY(-2px);
}

.box_card_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.box_card_header_side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.box_card_header_text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.box_ovu {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
}

.box_route_name {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.box_id {
  white-space: nowrap;
  color: #475569;
}

.box_status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.box_status--open {
  background: #dcfce7;
  color: #166534;
}

.box_status--closed {
  background: #fef3c7;
  color: #92400e;
}

.box_stats {
  margin-top: 10px;
  font-size: 14px;
}

.box_hint {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
  text-align: right;
}

.box_hint--closed {
  color: #92400e;
}

.box_card_actions {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* модалка */
.modal_body {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  width: 460px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal_body--box {
  width: min(760px, calc(100vw - 32px));
  padding: 24px;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  overflow: hidden;
}

.box_modal_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.box_modal_header_side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.box_modal_title {
  margin: 0;
  line-height: 1.1;
}

.box_modal_meta {
  margin-top: 8px;
  color: #64748b;
  font-size: 13px;
}

.box_modal_close {
  flex: 0 0 auto;
}

.box_items_summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.box_summary_chip {
  min-width: 92px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  text-align: center;
}

.box_summary_chip--award {
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  border-color: #bfdbfe;
}

.box_summary_chip--certificate {
  background: linear-gradient(180deg, #ecfeff, #cffafe);
  border-color: #a5f3fc;
}

.box_summary_chip--accent {
  background: linear-gradient(180deg, #fef3c7, #fde68a);
  border-color: #fcd34d;
}

.box_summary_value {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
}

.box_summary_label {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: #475569;
}

.box_modal_controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.box_filter_tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.box_filter_tab {
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.box_filter_tab b {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  text-align: center;
}

.box_filter_tab:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.box_filter_tab.is-active {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
}

.box_search_input {
  width: 100%;
}

.box_modal_scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  padding-right: 6px;
  margin-right: -2px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
  scrollbar-gutter: stable;
}

.box_modal_scroll::-webkit-scrollbar {
  width: 10px;
}

.box_modal_scroll::-webkit-scrollbar-track {
  background: transparent;
}

.box_modal_scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  border-radius: 999px;
  border: 2px solid #ffffff;
}

.box_modal_scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #94a3b8, #64748b);
}

body.box-build-modal-open {
  overflow: hidden;
}

.box_items_status {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
}

.box_completeness {
  margin-bottom: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #f5d0fe;
  background: linear-gradient(180deg, #fff7ed, #fff1f2);
}

.box_completeness--ok {
  border-color: #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4, #ecfdf5);
}

.box_completeness_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.box_completeness_title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.box_completeness_badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff1f2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 700;
}

.box_completeness_badge--ok {
  background: #dcfce7;
  color: #166534;
}

.box_completeness_stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.box_completeness_stat {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, .72);
}

.box_completeness_stat b {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
}

.box_completeness_stat span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #475569;
}

.box_completeness_stat--bad {
  border-color: #fecaca;
  background: #fff7f7;
}

.box_completeness_stat--bad b {
  color: #b91c1c;
}

.box_completeness_group {
  margin-top: 12px;
}

.box_completeness_group_title {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.box_completeness_list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #475569;
  font-size: 13px;
}

.box_completeness_list li + li {
  margin-top: 6px;
}

.box_completeness_pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.box_completeness_page_btn {
  flex: 0 0 auto;
}

.box_completeness_page_meta {
  font-size: 12px;
  color: #64748b;
}

.box_completeness_coverage {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.box_completeness_coverage_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: rgba(255,255,255,.74);
}

.box_completeness_coverage_row--bad {
  border-color: #fed7aa;
  background: #fff7ed;
}

.box_completeness_coverage_type {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.box_completeness_coverage_values {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  color: #475569;
  font-size: 12px;
}

.box_completeness_coverage_values b {
  color: #0f172a;
}

.box_completeness_note {
  margin-top: 8px;
  font-size: 12px;
  color: #b45309;
}

.box_completeness_note--ok {
  color: #166534;
}

.box_items {
  flex: 0 0 auto;
  min-height: auto;
  overflow: visible;
  padding-right: 0;
  margin-right: 0;
  }

.box_items::-webkit-scrollbar {
  width: 10px;
}

.box_items::-webkit-scrollbar-track {
  background: transparent;
}

.box_items::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  border-radius: 999px;
  border: 2px solid #ffffff;
}

.box_items::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #94a3b8, #64748b);
}

.box_items_list {
  display: grid;
  gap: 12px;
}

.box_item_card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.box_item_index {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 13px;
}

.box_item_main {
  min-width: 0;
}

.box_item_head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.box_item_type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.box_item_type--award {
  background: #dbeafe;
  color: #1d4ed8;
}

.box_item_type--certificate {
  background: #cffafe;
  color: #0f766e;
}

.box_item_number {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
}

.box_item_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}

.box_item_meta_note {
  color: #b45309;
  font-weight: 600;
}

.box_item_remove {
  white-space: nowrap;
}

.box_items_empty {
  padding: 32px 18px;
  text-align: center;
  border: 1px dashed #cbd5e1;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.box_items_empty_icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 20px;
}

.box_items_empty_title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.box_items_empty_text {
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
}

.box_items_loading {
  padding: 28px 18px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px dashed #cbd5e1;
}

.box_items_loading_title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}

.box_items_loading_text {
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
}

.box_items_more {
  margin-top: 14px;
  flex: 0 0 auto;
}

.box_items_more_btn {
  width: 100%;
}

.box_items_more_note {
  padding: 10px 12px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

.send-card {
  max-width: 520px;
}

.box-info {
  margin-top: 16px;
}

.hidden {
  display: none;
}

.modal_body--box .modal_footer {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

@media (max-width: 680px) {
  .modal_body--box {
    width: calc(100vw - 18px);
    max-height: calc(100vh - 18px);
    padding: 18px;
    border-radius: 20px;
  }

  .box_modal_header {
    flex-direction: column;
  }

  .box_modal_header_side {
    width: 100%;
    align-items: stretch;
  }

  .box_modal_close {
    width: 100%;
  }

  .box_modal_controls {
    grid-template-columns: 1fr;
  }

  .box_items_summary {
    justify-content: flex-start;
  }

  .box_completeness_header {
    align-items: flex-start;
  }

  .box_completeness_coverage_row {
    align-items: flex-start;
    flex-direction: column;
  }

  .box_completeness_coverage_values {
    justify-content: flex-start;
  }

  .box_completeness_pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .box_item_card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .box_item_index {
    width: 34px;
    height: 34px;
  }

  .box_item_remove {
    width: 100%;
  }

  .modal_body--box .modal_footer .btn {
    width: 100%;
  }
}

.ovu {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.file-btn {
  display: inline-block;
  padding: 10px;
  border: 1px dashed #999;
  cursor: pointer;
  margin: 10px 0;
  text-align: center;
}

.file-btn:hover {
  background: #f5f5f5;
}

.file-status {
  margin-top: 8px;
  font-size: 14px;
  color: #2e7d32;
}

.file-status.hidden {
  display: none;
}


/* ───────── ЛОГИСТИКА → ГЕНЕРАЦИЯ ───────── */

.gen-card {
  max-width: 700px;
}

.gen-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 18px;
  padding: 0 2px;
  border-bottom: 1px solid #dbe4ef;
  overflow-x: auto;
  scrollbar-width: none;
}

.gen-tabs__btn {
  position: relative;
  flex: 0 0 auto;
  margin-bottom: -1px;
  padding: 0 18px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  border-radius: 0;
  white-space: nowrap;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.gen-tabs__btn.is-active {
  color: #0f172a;
  border-bottom-color: #2563eb;
}

.gen-section {
  margin-top: 14px;
}

.gen-section.hidden {
  display: none;
}

.gen-info {
  margin-top: 10px;
  padding: 10px;
  background: #f9fafb;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
}

.gen-info .ovu {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.gen-info .stats {
  display: flex;
  gap: 14px;
}

.gen-info .preview {
  margin-top: 10px;
  width: 640px;
  max-width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #dbe2ea;
  border-radius: 8px;
  padding: 10px;
}

.gen-info .preview h4 {
  margin: 0 0 8px 0;
}

.preview-groups {
  max-height: 360px;
  overflow: auto;
  padding-right: 6px;
}

.preview-groups .group {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #fff;
}

.preview-groups .group:last-child {
  margin-bottom: 0;
}

.preview-groups .group-title {
  padding: 8px 10px;
  font-weight: 700;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.preview-groups .group-body {
  padding: 6px 10px;
}

.preview-groups .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  border-bottom: 1px dashed #eef2f7;
}

.preview-groups .row:last-child {
  border-bottom: 0;
}

.preview-groups .fio {
  flex: 1;
  min-width: 0;
}

.preview-groups .rank {
  color: #4b5563;
  white-space: nowrap;
}

.gen-footer {
  margin-top: 18px;
  text-align: right;
}

.label {
  width: 30mm;
  height: 20mm;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  page-break-after: always;
}

.barcode {
  font-family: "Libre Barcode 39", monospace;
  font-size: 20px;
}

.barcode_number {
font-weight: 540;
letter-spacing: 0.32rem;
font-size: 14px;
}

.modal{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #000000ad;
  z-index: 1200;
}

/* ===========================
   СТРАНИЦА: Отправка медали/удостоверения
   =========================== */

.page-send-item {
  padding: 20px;
}

.page-send-item h1 {
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: 600;
}

.send-item-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1400px;
}

@media (max-width: 1024px) {
  .send-item-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ───────────────────────────── */
/* ЛЕ ВАЯ КОЛОНКА: ПОИСК И СПИСОК */
/* ───────────────────────────── */

.send-item-left {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e0e0e0;
}

.search-box {
  margin-bottom: 20px;
}

.search-box .input {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.filter-group {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
}

.filter-group input[type="radio"] {
  cursor: pointer;
}

.search-box .btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.search-box .btn--primary {
  background: #2563eb;
  color: white;
}

.search-box .btn--primary:hover {
  background: #1e40af;
}

/* СПИСОК ПРЕДМЕТОВ */

.items-list {
  max-height: 600px;
  overflow-y: auto;
  margin-bottom: 15px;
}

.item-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.item-card:hover {
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.item-card.selected {
  background: #eff6ff;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}

.item-card__header {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.badge--award {
  background: #fef3c7;
  color: #92400e;
}

.badge--certificate {
  background: #dbeafe;
  color: #0c4a6e;
}

.badge--status {
  background: #dcfce7;
  color: #166534;
}

.item-card__body {
  font-size: 13px;
}

.item-card__body p {
  margin: 4px 0;
}

.item-card__body strong {
  font-weight: 600;
  color: #1f2937;
}

.muted {
  color: #666;
}

.muted.small {
  font-size: 12px;
  color: #999;
}

.loading,
.empty,
.error {
  text-align: center;
  padding: 30px;
  color: #666;
}

.empty {
  color: #999;
  font-style: italic;
}

.error {
  color: #dc2626;
  background: #fee2e2;
  border-radius: 6px;
  border: 1px solid #fecaca;
}

/* ПАГИНАЦИЯ */

.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.pagination__info {
  color: #666;
}

.search-pager-wrap {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.search-pager {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.search-pager .pager-btn {
  min-width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: #334155;
  font-weight: 600;
  cursor: pointer;
  padding: 0 10px;
}

.search-pager .pager-btn:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
}

.search-pager .pager-btn.active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}

.search-pager .pager-dots {
  color: #94a3b8;
  padding: 0 2px;
}

.btn--small {
  padding: 6px 12px;
  font-size: 12px;
  background: #e5e7eb;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn--small:hover {
  background: #d1d5db;
}

/* ───────────────────────────── */
/* ПРАВАЯ КОЛОНКА: ФОРМА ОТПРАВКИ */
/* ───────────────────────────── */

.send-item-right {
  background: white;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  min-width: 0;
  overflow: hidden;
}

.send-form {
  min-width: 0;
}

.send-form h2 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.selected-item {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 20px;
}

.selected-item.hidden {
  display: none;
}

.selected-item p {
  margin: 4px 0;
  font-size: 14px;
}

.selected-item strong {
  color: #22c55e;
}

.item-info {
  color: #1f2937;
  font-weight: 500;
  margin-top: 4px;
}

.form-group,
.form-row > .form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 14px;
  color: #374151;
}

.form-group .input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.form-group .input:focus,
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 12px;
}

.send-documents-panel {
  margin-top: 8px;
  padding: 16px 16px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.send-documents-panel__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  min-width: 0;
  flex-wrap: wrap;
}

.send-documents-panel__title strong {
  color: #0f172a;
  font-size: 15px;
  line-height: 1.3;
}

.send-documents-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.send-documents-panel__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.send-documents-panel__subtitle {
  margin-bottom: 14px;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}

.send-documents-panel__cta {
  position: relative;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.send-documents-panel__cta::before {
  content: "\f15c";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-right: 8px;
}

.send-documents-panel__cta:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
}

.send-location-picker {
  position: relative;
}

.send-location-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: 220px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.send-location-dropdown.hidden {
  display: none;
}

.send-location-option {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #1f2937;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.send-location-option:hover {
  background: #eff6ff;
}

.send-location-empty {
  padding: 10px 12px;
  color: #6b7280;
  font-size: 13px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.form-actions .btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.btn--primary {
  background: #2563eb;
  color: white;
}

.btn--primary:hover:not(:disabled) {
  background: #1e40af;
}

.btn--primary:disabled {
  background: #d1d5db;
  cursor: not-allowed;
}

.btn--ghost {
  background: #e5e7eb;
  color: #374151;
}

.btn--ghost:hover {
  background: #d1d5db;
}

.send-generated-result {
  margin-bottom: 12px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.send-generated-result__head {
  align-items: flex-start;
  gap: 8px;
}

.send-generated-result__summary {
  min-width: 0;
  flex: 1 1 220px;
}

.send-generated-result__actions {
  gap: 8px;
  justify-content: flex-end;
}

.send-generated-result__list {
  margin-top: 10px;
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}

.send-generated-result__item {
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  min-width: 0;
  flex-wrap: nowrap;
}

.send-generated-result__index {
  min-width: 24px;
  flex: 0 0 24px;
}

.send-generated-result__file {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.send-generated-result__file strong,
.send-generated-result__file .muted {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.send-generated-result__file .muted {
  max-height: 34px;
  overflow: hidden;
}

@media (max-width: 720px) {
  .send-generated-result__item {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .send-generated-result__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* СТАТУС СООБЩЕНИЯ */

.status-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  white-space: pre-line;
}

.status-message.hidden {
  display: none;
}

.status-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.status-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.status-message.loading {
  background: #dbeafe;
  color: #0c4a6e;
  border: 1px solid #bfdbfe;
}

.status-message.info {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

/* ───────── SEARCH RESULT CARD ───────── */
#pagContainer table {	
	border: none;
}

#pagTable {
	margin-top: 10px;
	border: none;
}

#pagTable .active {
    background: #0b1b3a;
    color: white;
    border-radius: 5px;
}

.search-card {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 8px 20px rgba(15,23,42,.08);
  transition: .15s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.search-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #2563eb, #22c55e);
}

.search-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15,23,42,.14);
}

.search-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-card__fio {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: .2px;
}

.search-card__meta {
  font-size: 12px;
  color: #64748b;
}

.search-card__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.search-card__field {
  background: #f1f5f9;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 500;
  color: #334155;
}

.search-card__field strong {
  font-weight: 700;
  color: #0f172a;
}

.search-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.search-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2px;
  border: 1px solid transparent;
}

.search-badge--award {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #3730a3;
}

.search-badge--cert {
  background: #ecfeff;
  border-color: #67e8f9;
  color: #155e75;
}

.search-badge--warn {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.search-badge--ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

/* ───────── PERSON CARD (OPENED) ───────── */

.person-card {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(15,23,42,.12);
  animation: personFade .18s ease;
}

@keyframes personFade {
  from {opacity:0; transform: translateY(8px)}
  to {opacity:1; transform: translateY(0)}
}

.person-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.person-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .3px;
}

.person-sub {
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
}

.person-status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.person-status--active {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.person-status--archived {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.person-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.person-field {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
}

.person-field span {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 3px;
}

.person-field strong {
  font-weight: 700;
  color: #0f172a;
}

.person-section {
  margin-top: 16px;
}

.person-section h3 {
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.person-section h3::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg,#2563eb,#22c55e);
}

.person-list {
  display: grid;
  gap: 8px;
}

.person-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: .12s;
}

.person-item:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.person-item__left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.person-item__title {
  font-size: 13px;
  font-weight: 700;
}

.person-item__meta {
  font-size: 11px;
  color: #64748b;
}

.person-item__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ───────── PERSON CARD (MODAL) ───────── */

.person-card {
  background: linear-gradient(180deg, #ffffff, #f9fbff);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(15,23,42,.14);
  animation: personFade .18s ease;
  width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

@keyframes personFade {
  from {opacity:0; transform: translateY(10px)}
  to {opacity:1; transform: translateY(0)}
}

.person-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.person-name {
  font-size: 18px;
  font-weight: 900;
}

.person-sub {
  font-size: 12px;
  color: #64748b;
}

.person-summary {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.person-status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.person-status--active {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

/* sections */
.person-section {
  margin-top: 12px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}

.section-head:hover {
  background: #e9eef6;
}

.section-caret {
  transition: transform .15s ease;
}

.section-head.open .section-caret {
  transform: rotate(180deg);
}

.section-body {
  margin-top: 6px;
}

/* history rows */
.history-row {
  padding: 8px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}
.history-row:last-child {
  border-bottom: 0;
}

.person-card--admin-edit {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-x: hidden;
  overflow-y: auto;
  border-radius: 8px;
}

.person-card--admin-edit .section-body {
  max-width: 100%;
  overflow: visible;
}

.admin-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.admin-edit-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: #334155;
}

.admin-edit-input {
  width: 100%;
  min-width: 0;
}

.admin-edit-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #dbe3ec;
}

.admin-compact-btn {
  width: auto !important;
  min-width: 0;
  min-height: 34px;
  padding: 7px 12px !important;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
  border-radius: 6px !important;
}

.admin-move-target {
  width: 100% !important;
  min-height: 36px;
  padding: 8px 10px;
  justify-content: flex-start;
  border-radius: 6px;
  text-align: left;
  white-space: normal;
}

.admin-search-table-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid #dbe3ec;
  border-radius: 7px;
  background: #fff;
}

.admin-search-table {
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  table-layout: fixed;
}

.admin-search-table :is(th, td) {
  padding: 9px 10px;
  vertical-align: middle;
  overflow-wrap: anywhere;
}

.admin-search-table th:nth-child(1) { width: 24%; }
.admin-search-table th:nth-child(2) { width: 16%; }
.admin-search-table th:nth-child(3) { width: 23%; }
.admin-search-table th:nth-child(4) { width: 17%; }
.admin-search-table th:nth-child(5) { width: 20%; }

.admin-search-table td > span,
.admin-search-table td > small {
  display: block;
}

.admin-search-table td > small {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.25;
}

.admin-search-primary {
  color: #172033;
  font-weight: 750;
  line-height: 1.25;
}

.admin-search-empty {
  padding: 20px !important;
  color: #64748b;
  text-align: center;
}

.admin-section-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.admin-edit-records {
  border: 1px solid #dbe3ec;
  border-radius: 7px;
  overflow: hidden;
}

.admin-edit-record {
  padding: 12px;
  border-bottom: 2px solid #cbd5e1;
  background: #fff;
}

.admin-edit-record:last-child {
  border-bottom: 0;
}

.admin-edit-record__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.admin-edit-record__head > div:first-child {
  min-width: 0;
}

.admin-edit-record__head strong,
.admin-edit-record__head span {
  display: block;
}

.admin-edit-record__head strong {
  color: #172033;
  font-size: 14px;
  line-height: 1.25;
}

.admin-edit-record__head span {
  margin-top: 2px;
  color: #64748b;
  font-size: 11px;
}

.admin-edit-record__actions,
.admin-inline-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.admin-award-fields,
.admin-cert-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.admin-award-fields label,
.admin-cert-fields label,
.admin-inline-panel > label {
  min-width: 0;
  color: #334155;
  font-size: 12px;
}

.admin-award-fields label,
.admin-cert-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.admin-award-fields .is-wide,
.admin-cert-fields .is-wide {
  grid-column: span 2;
}

.person-card--admin-edit input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 0;
}

.admin-check-field {
  flex-direction: row !important;
  align-items: center;
  align-self: end;
  min-height: 38px;
}

.admin-delivery-reset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 8px 10px;
  border-top: 1px dashed #cbd5e1;
  background: #f8fafc;
}

.admin-delivery-reset__title {
  font-size: 12px;
  font-weight: 750;
}

.admin-delivery-reset__state {
  margin-top: 2px;
  font-size: 11px;
}

.admin-edit-empty {
  padding: 18px;
  color: #64748b;
  text-align: center;
}

.admin-inline-panel {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #f8fafc;
}

.admin-inline-actions {
  margin-top: 10px;
}

.admin-inline-error {
  margin: 9px 0 2px;
  padding: 9px 10px;
  border: 1px solid #e3a6aa;
  border-radius: 6px;
  background: #fff4f4;
  color: #8e2f36;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.person-card--admin-edit .closeManual {
  top: 8px;
  right: 10px;
}

@media (max-width: 900px) {
  .admin-edit-grid,
  .admin-award-fields,
  .admin-cert-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-search-table th:nth-child(1) { width: 26%; }
  .admin-search-table th:nth-child(2) { width: 16%; }
  .admin-search-table th:nth-child(3) { width: 24%; }
  .admin-search-table th:nth-child(4) { width: 16%; }
  .admin-search-table th:nth-child(5) { width: 18%; }
}

@media (max-width: 620px) {
  .modalManual { padding: 8px; }
  .person-card--admin-edit {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    padding: 12px;
  }
  .admin-edit-grid,
  .admin-award-fields,
  .admin-cert-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-award-fields .is-wide,
  .admin-cert-fields .is-wide {
    grid-column: auto;
  }
  .admin-search-table th:nth-child(4),
  .admin-search-table td:nth-child(4) {
    display: none;
  }
}

/* UVBD issuance */
.uvbd-issuance-dashboard {
  display: grid;
  gap: 12px;
  color: #172033;
}

.uvbd-issuance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.uvbd-issuance-head h1,
.uvbd-issuance-breakdown h2 {
  margin: 0;
  letter-spacing: 0;
}

.uvbd-issuance-head h1 {
  font-size: 25px;
  line-height: 1.15;
}

.uvbd-issuance-head span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
}

.uvbd-issuance-refresh {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 6px;
}

.uvbd-issuance-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.uvbd-issuance-metric {
  min-width: 0;
  min-height: 112px;
  padding: 13px 14px;
  border: 1px solid #d8e2ec;
  border-top: 4px solid #64748b;
  border-radius: 7px;
  background: #fff;
}

.uvbd-issuance-metric.is-blue { border-top-color: #2563eb; }
.uvbd-issuance-metric.is-green { border-top-color: #15803d; }
.uvbd-issuance-metric.is-red { border-top-color: #dc2626; }
.uvbd-issuance-metric.is-amber { border-top-color: #d97706; }
.uvbd-issuance-metric.is-violet { border-top-color: #7c3aed; }

.uvbd-issuance-metric > span,
.uvbd-issuance-metric > strong,
.uvbd-issuance-metric > small {
  display: block;
}

.uvbd-issuance-metric > span {
  min-height: 30px;
  color: #475569;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}

.uvbd-issuance-metric > strong {
  margin-top: 7px;
  color: #172033;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.uvbd-issuance-metric > small {
  margin-top: 8px;
  color: #64748b;
  font-size: 11px;
}

.uvbd-issuance-metric > small b {
  color: #b91c1c;
  font-size: 13px;
}

.uvbd-issuance-breakdown {
  min-width: 0;
  padding: 12px;
  border: 1px solid #d8e2ec;
  border-radius: 7px;
  background: #fff;
}

.uvbd-issuance-breakdown > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.uvbd-issuance-breakdown h2 {
  font-size: 18px;
}

.uvbd-issuance-breakdown > header span {
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}

.uvbd-issuance-table-wrap {
  width: 100%;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

.uvbd-issuance-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.uvbd-issuance-table .uvbd-issuance-name-col { width: 22%; }
.uvbd-issuance-table .uvbd-issuance-main-col { width: 10%; }
.uvbd-issuance-table .uvbd-issuance-debt-col { width: 8%; }

.uvbd-issuance-table :is(th, td) {
  padding: 8px 7px;
  border-right: 1px solid #d9e1ea;
  border-bottom: 1px solid #d9e1ea;
  text-align: center;
  vertical-align: middle;
}

.uvbd-issuance-table :is(th, td):last-child { border-right: 0; }
.uvbd-issuance-table tbody tr:last-child > * { border-bottom: 0; }

.uvbd-issuance-table thead th {
  height: 45px;
  color: #334155;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 850;
  background: #edf2f7;
}

.uvbd-issuance-table thead tr:first-child > th:first-child {
  text-align: left;
}

.uvbd-issuance-table thead .uvbd-issuance-subhead th {
  height: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 10px;
}

.uvbd-issuance-table .is-absence-column {
  background: #fff4f4;
}

.uvbd-issuance-table tbody .is-absence-column strong {
  color: #b91c1c;
}

.uvbd-issuance-table tbody th {
  color: #1e293b;
  font-size: 14px;
  line-height: 1.25;
  text-align: left;
}

.uvbd-issuance-table tbody td strong,
.uvbd-issuance-table tbody td small {
  display: block;
}

.uvbd-issuance-table tbody td strong {
  color: #172033;
  font-size: 17px;
  line-height: 1;
  font-weight: 850;
}

.uvbd-issuance-table tbody td small {
  margin-top: 5px;
  color: #b91c1c;
  font-size: 10px;
  line-height: 1.15;
}

.uvbd-issuance-table .is-total > * {
  background: #fff4cc;
  font-weight: 900;
}

.uvbd-issuance-table .is-ovu > * {
  background: #f8fafc;
}

.uvbd-issuance-table .is-ovu th {
  position: relative;
  padding-left: 43px;
}

.uvbd-issuance-table .is-ovu th > span,
.uvbd-issuance-table .is-ovu th > small {
  display: block;
}

.uvbd-issuance-table .is-ovu th > small {
  margin-top: 2px;
  color: #64748b;
  font-size: 10px;
  font-weight: 650;
}

.uvbd-issuance-expand {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 27px;
  height: 27px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #b8c5d3;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  font-size: 20px;
  line-height: 24px;
  cursor: pointer;
}

.uvbd-issuance-expand.is-open {
  transform: translateY(-50%) rotate(45deg);
}

.uvbd-issuance-expand:disabled {
  opacity: .25;
  cursor: default;
}

.uvbd-issuance-table .is-vch th {
  padding-left: 43px;
  color: #475569;
  font-size: 13px;
  font-weight: 650;
}

.uvbd-issuance-table .is-vch > * {
  background: #fff;
}

.uvbd-issuance-table .is-hidden {
  display: none;
}

.uvbd-issuance-loading,
.uvbd-issuance-error,
.uvbd-issuance-empty {
  padding: 32px;
  color: #64748b;
  text-align: center;
}

.uvbd-issuance-error { color: #b91c1c; }

@media (max-width: 1180px) {
  .uvbd-issuance-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .uvbd-issuance-table .uvbd-issuance-name-col { width: 19%; }
  .uvbd-issuance-table :is(th, td) { padding: 7px 5px; }
  .uvbd-issuance-table tbody td strong { font-size: 15px; }
}

@media (max-width: 760px) {
  .uvbd-issuance-head { align-items: flex-start; }
  .uvbd-issuance-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uvbd-issuance-breakdown { padding: 8px; }
  .uvbd-issuance-table thead { display: none; }
  .uvbd-issuance-table,
  .uvbd-issuance-table tbody,
  .uvbd-issuance-table tr { display: block; }
  .uvbd-issuance-table tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-bottom: 2px solid #cbd5e1;
  }
  .uvbd-issuance-table tbody tr > th {
    grid-column: 1 / -1;
  }
  .uvbd-issuance-table :is(th, td) {
    border-right: 1px solid #d9e1ea;
    border-bottom: 1px solid #d9e1ea;
  }
  .uvbd-issuance-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 3px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.15;
    font-weight: 750;
  }
}

/* ───────── GLOBAL SEARCH PERSON CARD ───────── */

.global-person-modal {
  padding: 20px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 24%),
    rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(8px);
}

.person-card--global-search {
  width: min(1320px, 97vw);
  max-height: min(92vh, 980px);
  padding: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(219, 234, 254, 0.85);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.3);
}

.global-person-close {
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  font-size: 30px;
  line-height: 1;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.global-person-close:hover {
  color: #0f172a;
  background: #ffffff;
}

.global-person-scroll {
  overflow-y: auto;
  max-height: min(92vh, 980px);
  padding: 18px;
  display: grid;
  gap: 14px;
  background:
    radial-gradient(circle at top left, rgba(219, 234, 254, 0.75), transparent 25%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.global-person-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.85fr);
  gap: 12px;
}

.global-person-hero__main {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 18px 20px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.28), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 60%, #0ea5e9 100%);
  box-shadow: 0 22px 45px rgba(29, 78, 216, 0.25);
}

.global-person-hero__main::after {
  content: "";
  position: absolute;
  inset: auto -48px -72px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(2px);
}

.global-person-hero__aside {
  border-radius: 22px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(191, 219, 254, 0.8);
  box-shadow: 0 18px 35px rgba(148, 163, 184, 0.18);
  display: grid;
  gap: 10px;
  align-content: start;
}

.global-person-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.74;
}

.global-person-title {
  margin-top: 8px;
  font-size: clamp(24px, 2.6vw, 31px);
  line-height: 1.1;
  font-weight: 900;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.global-person-subtitle {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 1;
}

.global-person-chip-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.global-person-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 700;
  color: #f8fafc;
  backdrop-filter: blur(8px);
}

.global-person-chip--strong {
  background: rgba(15, 23, 42, 0.24);
}

.global-person-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
}

.global-person-status-badge--active {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #166534;
}

.global-person-status-badge--archived {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.global-person-status-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: #0f172a;
}

.global-person-status-note {
  font-size: 12px;
  line-height: 1.45;
  color: #475569;
}

.global-person-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.global-person-metric {
  min-height: 96px;
  padding: 13px 14px;
  border-radius: 18px;
  border: 1px solid #dbe5f1;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 30px rgba(148, 163, 184, 0.12);
  display: grid;
  gap: 6px;
  align-content: start;
}

.global-person-metric--primary {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #bfdbfe;
}

.global-person-metric--state {
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
  border-color: #c7d2fe;
}

.global-person-metric--mil {
  background: linear-gradient(135deg, #ecfeff 0%, #e0f2fe 100%);
  border-color: #a5f3fc;
}

.global-person-metric--neutral {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.global-person-metric__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.global-person-metric__value {
  font-size: 22px;
  line-height: 1.08;
  font-weight: 900;
  color: #0f172a;
}

.global-person-metric__note {
  font-size: 12px;
  line-height: 1.35;
  color: #475569;
}

.global-person-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 12px;
}

.global-person-panel {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 35px rgba(148, 163, 184, 0.13);
}

.global-person-panel--awards {
  padding-bottom: 20px;
}

.section-head--global {
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  border-color: #dbeafe;
  font-size: 13px;
}

.section-head--global:hover {
  background: linear-gradient(135deg, #f1f6ff 0%, #e4efff 100%);
}

.person-card--global-search .section-body {
  margin-top: 10px;
}

.global-person-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.global-person-detail {
  min-height: 68px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  display: grid;
  gap: 6px;
  align-content: start;
}

.global-person-detail--wide {
  grid-column: span 2;
}

.global-person-detail span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.global-person-detail strong {
  font-size: 14px;
  line-height: 1.35;
  color: #0f172a;
  word-break: break-word;
}

.global-award-groups {
  display: grid;
  gap: 14px;
}

.global-award-group {
  border: 1px solid #dbe5f1;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.global-award-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  user-select: none;
}

.global-award-group--gosnagr .global-award-group__head {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.global-award-group--monagr .global-award-group__head {
  background: linear-gradient(135deg, #ecfeff 0%, #dbeafe 100%);
}

.global-award-group__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.global-award-group__title {
  margin-top: 5px;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  color: #0f172a;
}

.global-award-group__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.global-award-group__count {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 900;
  color: #0f172a;
}

.global-award-list {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.global-award-card {
  padding: 13px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 24px rgba(148, 163, 184, 0.1);
}

.global-award-card--gosnagr {
  border-color: #bfdbfe;
}

.global-award-card--monagr {
  border-color: #bae6fd;
}

.global-award-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.global-award-card__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.global-award-card__title {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
  color: #0f172a;
}

.global-award-card__subtitle {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: #475569;
}

.global-award-card__serial {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 52px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dbeafe;
  font-size: 11px;
  font-weight: 800;
  color: #1e3a8a;
}

.global-award-card__facts {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}

.global-award-card__fact {
  min-height: 54px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid #e2e8f0;
  display: grid;
  gap: 4px;
  align-content: start;
}

.global-award-card__fact span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.global-award-card__fact strong {
  font-size: 12px;
  line-height: 1.35;
  color: #0f172a;
  word-break: break-word;
}

.global-person-empty {
  padding: 16px;
  border-radius: 16px;
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1080px) {
  .global-person-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .global-person-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .global-person-modal {
    padding: 12px;
  }

  .person-card--global-search {
    width: min(100vw, 100%);
    max-height: calc(100vh - 24px);
    border-radius: 22px;
  }

  .global-person-scroll {
    max-height: calc(100vh - 24px);
    padding: 18px;
  }

  .global-person-hero {
    grid-template-columns: 1fr;
  }

  .global-person-close {
    top: 12px;
    right: 12px;
  }

  .global-award-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .global-person-title {
    font-size: 22px;
  }

  .global-person-metrics {
    grid-template-columns: 1fr;
  }

  .global-person-detail-grid {
    grid-template-columns: 1fr;
  }

  .global-person-detail--wide {
    grid-column: auto;
  }

  .global-award-card__top {
    flex-direction: column;
  }

  .global-award-card__serial {
    width: 100%;
  }

  .global-award-card__facts {
    grid-template-columns: 1fr;
  }
}

/* ───────── SEARCH PERSON CARD ───────── */

.search-person-modal {
  padding: 20px;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 24%),
    rgba(15, 23, 42, 0.58);
  backdrop-filter: none;
}

.person-card--search {
  width: min(1320px, 97vw);
  max-height: min(92vh, 980px);
}

.search-person-scroll {
  background:
    radial-gradient(circle at top left, rgba(204, 251, 241, 0.72), transparent 24%),
    linear-gradient(180deg, #f7fcfd 0%, #eef6fb 100%);
}

.search-person-hero__main {
  background:
    radial-gradient(circle at top right, rgba(103, 232, 249, 0.22), transparent 26%),
    linear-gradient(135deg, #0f172a 0%, #0f766e 55%, #0ea5e9 100%);
}

.search-sheet-modal {
  padding: 18px;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.12), transparent 24%),
    rgba(15, 23, 42, 0.6);
}

.search-sheet {
  width: min(1220px, 96vw);
  max-height: 92vh;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(224, 242, 254, 0.84), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, #eef4f9 100%);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
  position: relative;
  overflow: hidden;
}

.search-sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
}

.search-sheet__scroll {
  max-height: 92vh;
  overflow: auto;
  padding: 18px;
  display: grid;
  gap: 14px;
}

.search-sheet__head {
  padding: 18px 20px;
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(103, 232, 249, 0.18), transparent 24%),
    linear-gradient(135deg, #0f172a 0%, #155e75 54%, #0284c7 100%);
  color: #fff;
  display: grid;
  gap: 8px;
}

.search-sheet__title {
  font-size: 26px;
  line-height: 1.15;
  font-weight: 900;
}

.search-sheet__subtitle {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.search-sheet__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-sheet__chips span {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.search-sheet__chip--active {
  background: rgba(34, 197, 94, 0.18) !important;
  border-color: rgba(167, 243, 208, 0.45) !important;
}

.search-sheet__chip--archived {
  background: rgba(239, 68, 68, 0.16) !important;
  border-color: rgba(254, 202, 202, 0.45) !important;
}

.search-sheet__summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.search-sheet__panel {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #dbe5f1;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.12);
  display: grid;
  gap: 10px;
}

.search-sheet__line {
  font-size: 13px;
  line-height: 1.5;
  color: #0f172a;
  word-break: break-word;
}

.search-sheet__line-list {
  display: grid;
  gap: 8px;
}

.search-sheet__line-head {
  display: grid;
  grid-template-columns: minmax(90px, 120px) minmax(110px, 140px) 1fr;
  gap: 10px;
  padding: 0 10px;
}

.search-sheet__line-head span {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.search-sheet__line-item {
  display: grid;
  grid-template-columns: minmax(90px, 120px) minmax(110px, 140px) 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.95);
}

.search-sheet__line-step {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.search-sheet__line-date {
  font-size: 12px;
  color: #334155;
}

.search-sheet__line-awardes {
  font-size: 12px;
  color: #475569;
  word-break: break-word;
}

.search-sheet__panel-title {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #475569;
}

.search-sheet__kits {
  display: grid;
  gap: 10px;
}

.search-person-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.search-person-summary__note {
  width: 100%;
  font-size: 12px;
  color: #475569;
}

.search-person-summary-tag {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #dbe5f1;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
}

.search-person-summary-tag--strong {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.search-object-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 10px;
}

.search-kit-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #dbe5f1;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.9), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 30px rgba(148, 163, 184, 0.12);
  display: grid;
  gap: 10px;
}

.search-kit-card__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.search-kit-card__title {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 900;
  color: #0f172a;
}

.search-kit-card__subtitle {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #475569;
}

.search-kit-card__status {
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #c7d2fe;
  background: #eef2ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.search-kit-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-kit-card__chip {
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #dbe5f1;
  background: rgba(248, 250, 252, 0.95);
  font-size: 11px;
  color: #334155;
  display: inline-flex;
  align-items: center;
}

.search-kit-card__layout {
  display: grid;
  gap: 10px;
}

.search-kit-card__block {
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.95);
  display: grid;
  gap: 8px;
}

.search-kit-card__block-title {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.search-kit-card__delivery {
  display: grid;
  gap: 8px;
}

.search-kit-card__delivery-item {
  display: grid;
  gap: 4px;
}

.search-kit-card__mini-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.search-kit-card__delivery-text {
  font-size: 12px;
  line-height: 1.45;
  color: #0f172a;
}

.search-kit-card__compare {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 12px;
  border: 1px solid #dbe5f1;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  display: inline-flex;
  align-items: center;
}

.search-kit-card__compare--ok {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #166534;
}

.search-kit-card__compare--soft {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.search-kit-card__compare--warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.search-kit-card__compare--danger {
  border-color: #fecdd3;
  background: #fff1f2;
  color: #be123c;
}

.search-kit-card__compare--muted {
  border-color: #dbe5f1;
  background: rgba(255, 255, 255, 0.88);
  color: #475569;
}

.search-kit-card__flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-kit-card__flag {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #dbe5f1;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  display: inline-flex;
  align-items: center;
}

.search-kit-card__flag--ok {
  border-color: #a7f3d0;
  background: #ecfdf5;
  color: #166534;
}

.search-kit-card__flag--warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.search-kit-card__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.search-kit-card__footer {
  display: grid;
  gap: 8px;
}

.search-kit-card__footer-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-kit-card__footer-notes span {
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid #dbe5f1;
  background: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  color: #334155;
  display: inline-flex;
  align-items: center;
}

.search-kit-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.search-object-card {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid #dbe5f1;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.88), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 30px rgba(148, 163, 184, 0.12);
  display: grid;
  gap: 10px;
  content-visibility: auto;
  contain-intrinsic-size: 280px;
}

.search-object-card--award {
  border-color: #bfdbfe;
}

.search-object-card--certificate {
  border-color: #bae6fd;
}

.search-object-card__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.search-object-card__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.search-object-card__title {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  color: #0f172a;
}

.search-object-card__subtitle {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #475569;
}

.search-object-card__serial {
  min-width: 60px;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.search-object-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-object-pill {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
}

.search-object-pill--status {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #3730a3;
}

.search-object-pill--local {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #166534;
}

.search-object-pill--scope {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.search-object-pill--admin {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}

.search-object-pill--location {
  background: #ecfeff;
  border-color: #a5f3fc;
  color: #155e75;
}

.search-object-pill--link {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.search-object-pill--warning {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #be123c;
}

.search-object-card__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 8px;
}

.search-object-card__facts--compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.search-object-card__fact {
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: rgba(248, 250, 252, 0.95);
  display: grid;
  gap: 4px;
  align-content: start;
}

.search-object-card__fact span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.search-object-card__fact strong {
  font-size: 12px;
  line-height: 1.35;
  color: #0f172a;
  word-break: break-word;
}

.search-object-card__route {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%);
  display: grid;
  gap: 4px;
}

.search-object-card__route-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #475569;
}

.search-object-card__route strong {
  font-size: 14px;
  line-height: 1.3;
  color: #0f172a;
}

.search-object-card__route span:last-child {
  font-size: 12px;
  line-height: 1.35;
  color: #334155;
}

.search-object-card__route-alt {
  font-size: 12px;
  line-height: 1.35;
  color: #0f766e;
}

.search-object-card__bottom {
  display: grid;
  gap: 8px;
}

.search-object-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-object-card__meta span,
.search-object-tag {
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid #dbe5f1;
  background: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  color: #334155;
  display: inline-flex;
  align-items: center;
}

.search-object-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.search-history-btn {
  margin-left: auto;
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.search-history-btn:hover {
  background: #dbeafe;
}

.search-compact-cell {
  display: grid;
  gap: 4px;
  min-width: 150px;
}

.search-compact-cell__title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.search-compact-cell__primary {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
}

.search-compact-cell__secondary {
  font-size: 12px;
  line-height: 1.35;
  color: #475569;
  word-break: break-word;
}

.search-compact-cell__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-compact-cell__tags span {
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid #dbe5f1;
  background: rgba(248, 250, 252, 0.95);
  font-size: 11px;
  color: #334155;
  display: inline-flex;
  align-items: center;
}

.search-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.search-timeline-item {
  width: 100%;
  padding: 13px;
  border-radius: 16px;
  border: 1px solid #dbe5f1;
  background:
    radial-gradient(circle at top right, rgba(224, 242, 254, 0.9), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.11);
  text-align: left;
  display: grid;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
  content-visibility: auto;
  contain-intrinsic-size: 220px;
}

.search-timeline-item:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 18px 34px rgba(59, 130, 246, 0.14);
}

.search-timeline-item__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.search-timeline-item__stamp {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.search-timeline-item__object {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.search-timeline-item__title {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
  color: #0f172a;
}

.search-timeline-item__subtitle {
  font-size: 12px;
  line-height: 1.35;
  color: #334155;
}

.search-timeline-item__route {
  font-size: 12px;
  line-height: 1.4;
  color: #475569;
}

.search-timeline-item__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.search-timeline-item__chips span {
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #dbe5f1;
  font-size: 10px;
  color: #334155;
  display: inline-flex;
  align-items: center;
}

.search-history-modal {
  padding: 16px;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: none;
}

.search-history-card {
  width: min(820px, 96vw);
  max-height: min(88vh, 920px);
  overflow: auto;
}

.search-history-head {
  padding-right: 28px;
  display: grid;
  gap: 6px;
}

.search-history-head__eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.search-history-head__title {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  color: #0f172a;
}

.search-history-head__meta {
  font-size: 13px;
  color: #475569;
}

.search-history-list {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.search-history-event {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #dbe5f1;
  background:
    radial-gradient(circle at top right, rgba(240, 249, 255, 0.82), transparent 35%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 28px rgba(148, 163, 184, 0.1);
  display: grid;
  gap: 10px;
  content-visibility: auto;
  contain-intrinsic-size: 220px;
}

.search-history-event--issue {
  border-color: #fecaca;
}

.search-history-event--receive {
  border-color: #a7f3d0;
}

.search-history-event--delivered {
  border-color: #bfdbfe;
}

.search-history-event__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.search-history-event__title {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
  color: #0f172a;
}

.search-history-event__stamp {
  margin-top: 5px;
  font-size: 12px;
  color: #64748b;
}

.search-history-event__kind {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #dbe5f1;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #334155;
  display: inline-flex;
  align-items: center;
}

.search-history-event__route {
  font-size: 14px;
  line-height: 1.5;
  color: #334155;
}

.search-history-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-history-event__meta span {
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dbe5f1;
  font-size: 12px;
  color: #334155;
  display: inline-flex;
  align-items: center;
}

.search-history-event__comment {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.96);
  border: 1px solid #e2e8f0;
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
}

@media (max-width: 820px) {
  .search-person-modal {
    padding: 12px;
  }

  .person-card--search {
    width: min(100vw, 100%);
    max-height: calc(100vh - 24px);
  }

  .search-object-grid,
  .search-timeline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .search-object-card__top,
  .search-timeline-item__top,
  .search-history-event__top {
    flex-direction: column;
  }

  .search-object-card__serial {
    width: 100%;
  }

  .search-object-card__facts {
    grid-template-columns: 1fr;
  }

  .search-history-btn {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}
/* ───────── BARCODE PRINT UI ───────── */

.barcode-panel {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 14px;
}

.barcode-controls {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.styled-select {
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #fff;
	font-size: 14px;
	cursor: pointer;
	transition: 0.2s;
}

.styled-select:hover {
	border-color: #2563eb;
}

.styled-select:focus {
	outline: none;
	border-color: #1d4ed8;
	box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.barcode-info {
	margin-top: 8px;
	padding: 10px;
	background: #e0f2fe;
	border: 1px solid #bae6fd;
	border-radius: 6px;
	font-weight: 600;
	color: #0369a1;
	text-align: center;
}

.barcode-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
	gap: 12px;
}
.barcode-card {
	background: #fff;
	padding: 10px;
	border-radius: 10px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
	text-align: center;
}
.barcode-card .barcode {
	font-family: "Libre Barcode 39", monospace;
	font-size: 20px;
}
.barcode-card .barcode_number {
	font-weight: 600;
	letter-spacing: 0.32rem;
	font-size: 14px;
}
.barcode-card .barcode-caption {
	margin-top: 4px;
	font-size: 12px;
	color: #0f172a;
}

.gen-table tr {
	height:50px;
	text-align: left;
}

.gen-card {
  max-width: none;
}

.gen-pro {
  display: grid;
  gap: 18px;
}

.gen-pro__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr);
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid #dbe4ee;
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, .14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(249, 115, 22, .12), transparent 30%),
    linear-gradient(135deg, #f8fbff 0%, #ffffff 48%, #fffaf4 100%);
  box-shadow: 0 22px 50px rgba(15, 23, 42, .08);
  overflow: hidden;
}

.gen-pro__hero::after {
  content: "";
  position: absolute;
  inset: auto -40px -46px auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  filter: blur(8px);
  pointer-events: none;
}

.gen-pro__hero-main,
.gen-pro__hero-side {
  position: relative;
  z-index: 1;
}

.gen-pro__eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #1d4ed8;
}

.gen-pro__title {
  margin: 10px 0 0;
}

.gen-pro__subtitle {
  margin-top: 10px;
  max-width: 760px;
  color: #475569;
  line-height: 1.6;
  font-size: 14px;
}

.gen-pro__hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.gen-pro__hero-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(148, 163, 184, .3);
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.gen-pro__hero-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

.gen-pro__hero-metric,
.gen-pro__hero-note {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(148, 163, 184, .26);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.gen-pro__hero-metric span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #64748b;
}

.gen-pro__hero-metric strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.25;
  color: #0f172a;
}

.gen-pro__hero-note {
  color: #475569;
  line-height: 1.55;
  font-size: 13px;
}

.gen-pro__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

.gen-pro__sidebar,
.gen-pro__main {
  min-width: 0;
}

.gen-pro__main {
  display: grid;
  gap: 18px;
}

.gen-pro__panel {
  border-radius: 26px;
  border: 1px solid #dce5ef;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  box-shadow: 0 18px 40px rgba(15, 23, 42, .07);
  overflow: hidden;
}

.gen-pro__panel--controls {
  position: static;
}

.gen-pro__inner-card {
  margin: 0;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.75);
}

.gen-pro__panel-head,
.gen-history-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.gen-history-head__actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gen-pro__panel-kicker {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #64748b;
}

.gen-pro__panel-title {
  margin: 6px 0 0;
  font-size: 22px;
  line-height: 1.2;
  color: #0f172a;
}

.gen-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 18px;
  padding: 0 2px;
  border-bottom: 1px solid #dbe4ef;
  overflow-x: auto;
  scrollbar-width: none;
}

.gen-tabs__btn {
  position: relative;
  flex: 0 0 auto;
  min-height: 44px;
  margin-bottom: -1px;
  padding: 0 18px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
  transition: color .16s ease, border-color .16s ease;
}

.gen-tabs__btn.is-active {
  color: #0f172a;
  border-bottom-color: #2563eb;
}

.gen-tabs__btn:hover {
  color: #0f172a;
}

.gen-section {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.gen-section.hidden {
  display: none;
}

.gen-grid {
  row-gap: 14px;
}

.gen-field__label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #64748b;
}

.gen-field__control {
  width: 100%;
}

.gen-people-list {
  max-height: 260px;
  overflow: auto;
  display: grid;
  gap: 8px;
  margin-top: 10px;
  padding-right: 4px;
}

.gen-people-list__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 11px 12px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: rgba(255,255,255,.82);
  transition: border-color .16s ease, background .16s ease;
}

.gen-people-list__item:hover {
  border-color: #93c5fd;
  background: #f8fbff;
}

.gen-people-list__check {
  margin-top: 2px;
}

.gen-people-list__text {
  color: #0f172a;
  line-height: 1.45;
  font-size: 13px;
}

.gen-info {
  margin-top: 4px;
  padding: 16px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border: 1px solid #dbe7f3;
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.gen-info .ovu {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f172a;
}

.gen-info .stats {
  display: flex;
  gap: 14px;
}

.gen-info .preview {
  margin-top: 10px;
  max-width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #dce5ef;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .05);
}

.gen-info .preview h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #334155;
}

.preview-groups {
  max-height: 420px;
  overflow: auto;
  padding-right: 6px;
}

.preview-groups .group {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 10px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  overflow: hidden;
}

.preview-groups .group:last-child {
  margin-bottom: 0;
}

.preview-groups .group-title {
  padding: 10px 12px;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  letter-spacing: .04em;
}

.preview-groups .group-body {
  padding: 8px 12px;
}

.preview-groups .row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed #eef2f7;
}

.preview-groups .row:last-child {
  border-bottom: 0;
}

.preview-groups .fio {
  flex: 1;
  min-width: 0;
}

.preview-groups .rank {
  color: #4b5563;
  white-space: nowrap;
}

.gen-footer {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gen-footer .btn {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  font-weight: 700;
}

.gen-footer .btn.is-loading {
  position: relative;
  cursor: progress;
  box-shadow: 0 14px 26px rgba(37, 99, 235, .18);
}

.gen-submit-status {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #bfdbfe;
  background:
    radial-gradient(800px 160px at 0% 0%, rgba(37,99,235,.10), transparent 45%),
    linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  color: #1e3a8a;
  box-shadow: 0 10px 26px rgba(37, 99, 235, .08);
}

.gen-submit-status__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.gen-submit-status__title::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #2563eb;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, .28);
  animation: gen-submit-pulse 1.2s ease infinite;
}

.gen-submit-status__text {
  font-size: 12px;
  line-height: 1.45;
  color: #475569;
}

@keyframes gen-submit-pulse {
  0% {
    transform: scale(.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, .28);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(.95);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

.gen-pro__inline-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

.gen-pro__batch-meta {
  color: #475569;
  margin-bottom: 14px;
  font-size: 14px;
}

.gen-pro__batch-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.gen-pro__batch-list {
  display: grid;
  gap: 10px;
}

.gen-pro__batch-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.gen-pro__batch-index {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
}

.gen-pro__batch-file {
  min-width: 0;
}

.gen-pro__batch-file strong,
.gen-pro__batch-file span {
  display: block;
}

.gen-pro__batch-file strong {
  color: #0f172a;
  word-break: break-word;
}

.gen-pro__batch-file span {
  margin-top: 4px;
  color: #64748b;
  font-size: 12px;
  word-break: break-all;
}

.gen-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  min-width: 84px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.gen-file-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.gen-file-btn--download {
  color: #0f172a;
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  box-shadow: 0 10px 18px rgba(37, 99, 235, .10);
}

.gen-file-btn--download:hover {
  border-color: #93c5fd;
  background: linear-gradient(180deg, #dbeafe, #bfdbfe);
}

.gen-file-btn--danger {
  color: #991b1b;
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff1f2, #ffe4e6);
  box-shadow: 0 10px 18px rgba(239, 68, 68, .08);
}

.gen-file-btn--danger:hover {
  border-color: #fca5a5;
  background: linear-gradient(180deg, #ffe4e6, #fecdd3);
}

.gen-history {
  padding: 18px;
}

.gen-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}

.gen-table thead th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #64748b;
  font-weight: 800;
  padding: 0 8px 6px;
}

.gen-table tbody td {
  padding: 9px 8px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.gen-table tbody td:first-child {
  border-left: 1px solid #e2e8f0;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.gen-table tbody td:last-child {
  border-right: 1px solid #e2e8f0;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.gen-table__file {
  font-weight: 700;
  color: #0f172a;
  word-break: break-word;
  font-size: 13px;
  line-height: 1.25;
}

.gen-table__date {
  white-space: nowrap;
  color: #475569;
  font-size: 12px;
}

.gen-table__cell--actions {
  width: 1%;
  white-space: nowrap;
}

.gen-table__actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

@media (max-width: 1180px) {
  .gen-pro__hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .gen-pro__hero {
    padding: 20px;
    border-radius: 24px;
  }

  .gen-pro__panel,
  .gen-history {
    border-radius: 22px;
  }

  .gen-tabs {
    padding-bottom: 0;
  }

  .gen-pro__batch-item {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .gen-pro__batch-actions,
  .gen-pro__inline-actions {
    justify-content: stretch;
  }

  .gen-pro__batch-actions .btn,
  .gen-pro__inline-actions .btn {
    width: 100%;
  }

  .gen-table {
    display: block;
    overflow-x: auto;
  }

  .gen-table__actions {
    justify-content: stretch;
    width: 100%;
  }

  .gen-table__actions .gen-file-btn {
    flex: 1 1 100%;
    min-width: 0;
  }
}

.mode-switch {
	display: inline-flex;
	background: #eef2f7;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 4px;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	flex-wrap: wrap;
}

.mode-switch__btn {
	border: 0;
	background: transparent;
	color: #475569;
	font-weight: 600;
	padding: 8px 12px;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
}

.mode-switch__btn:hover {
	background: rgba(255, 255, 255, 0.7);
}

.mode-switch__btn.is-active {
	color: #fff;
	background: linear-gradient(135deg, var(--primary), var(--primary2));
	box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}

.receive-pro {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.receive-pro__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
	gap: 18px;
	padding: 24px;
	border-radius: 28px;
	background:
		radial-gradient(circle at top left, rgba(59, 130, 246, 0.24), transparent 38%),
		radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.16), transparent 32%),
		linear-gradient(135deg, #081a3a 0%, #0f2d62 58%, #123f7e 100%);
	color: #f8fbff;
	box-shadow: 0 24px 48px rgba(8, 26, 58, 0.18);
}

.receive-pro__hero-main,
.receive-pro__hero-side {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.receive-pro__eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

.receive-pro__title {
	margin: 0;
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.receive-pro__subtitle {
	margin: 0;
	max-width: 760px;
	font-size: 15px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.84);
}

.receive-pro__hero-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.receive-pro__hero-tag {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 12px;
	font-weight: 600;
}

.receive-pro__hero-note {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(8px);
}

.receive-pro__hero-note strong {
	font-size: 14px;
}

.receive-pro__hero-note span {
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.78);
}

.receive-pro__layout {
	display: grid;
	grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
	gap: 18px;
	align-items: start;
}

.receive-pro__rail {
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: sticky;
	top: 0;
}

.receive-pro__panel {
	padding: 18px;
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 1)),
		var(--card);
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.receive-pro__panel--scan {
	background:
		radial-gradient(circle at top right, rgba(29, 78, 216, 0.12), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.98));
}

.receive-pro__panel-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.receive-pro__panel-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #64748b;
}

.receive-pro__panel-title,
.receive-pro__toolbar-title {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
}

.receive-pro__scan-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.receive-pro__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	color: #334155;
}

.receive-pro__input,
.receive-pro__search-input {
	height: 48px;
	border-radius: 16px;
	border: 1px solid #d8e1ef;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.receive-pro__input:focus,
.receive-pro__search-input:focus {
	border-color: rgba(37, 99, 235, 0.5);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.receive-pro__scan-actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.receive-pro__scan-hint {
	font-size: 12px;
	line-height: 1.6;
	color: #64748b;
}

.receive-pro__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.receive-pro__stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	border-radius: 18px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.receive-pro__stat--accent {
	background: linear-gradient(135deg, #e8f0ff, #f2f7ff);
	border-color: rgba(37, 99, 235, 0.2);
}

.receive-pro__stat span {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
}

.receive-pro__stat strong {
	font-size: 26px;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #0f172a;
}

.receive-pro__tips {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.receive-pro__tip {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding: 14px 16px;
	border-radius: 18px;
	background: #f8fafc;
	border: 1px solid #edf2f7;
}

.receive-pro__tip strong {
	font-size: 14px;
	color: #0f172a;
}

.receive-pro__tip span {
	font-size: 12px;
	line-height: 1.55;
	color: #64748b;
}

.receive-pro__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.receive-pro__toolbar {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.05);
}

.receive-pro__toolbar-main {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.receive-pro__toolbar-meta {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
}

.receive-pro__toolbar-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.receive-pro__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.receive-pro__filter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid #dbe5f1;
	background: #fff;
	color: #334155;
	font-weight: 600;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.receive-pro__filter strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12px;
}

.receive-pro__filter:hover {
	transform: translateY(-1px);
	border-color: rgba(37, 99, 235, 0.28);
	box-shadow: 0 10px 18px rgba(37, 99, 235, 0.08);
}

.receive-pro__filter.is-active {
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 14px 24px rgba(37, 99, 235, 0.24);
}

.receive-pro__filter.is-active strong {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.receive-pro__search {
	display: block;
	min-width: min(320px, 100%);
}

.receive-pro__feed-wrap {
	border-radius: 26px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 252, 0.98));
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
	padding: 18px;
}

.receive-pro__feed {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.receive-pro__card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 18px;
	border-radius: 24px;
	background: #fff;
	border: 1px solid #e5edf6;
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.receive-pro__card--received {
	background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.receive-pro__card--already {
	background: linear-gradient(180deg, #fffef8, #fffdf2);
	border-color: #f5df9d;
}

.receive-pro__card--error {
	background: linear-gradient(180deg, #fff7f7, #fff2f2);
	border-color: #fecaca;
}

.receive-pro__card-top,
.receive-pro__card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.receive-pro__card-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	height: 32px;
	padding: 0 10px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 700;
}

.receive-pro__badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
}

.receive-pro__badge--received {
	background: #dcfce7;
	color: #166534;
}

.receive-pro__badge--already {
	background: #fef3c7;
	color: #92400e;
}

.receive-pro__badge--error {
	background: #fee2e2;
	color: #b91c1c;
}

.receive-pro__card-type {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #64748b;
	margin-bottom: 6px;
}

.receive-pro__card-title {
	margin: 0;
	font-size: 22px;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #0f172a;
}

.receive-pro__card-person {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #475569;
}

.receive-pro__card-time {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
	white-space: nowrap;
}

.receive-pro__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.receive-pro__chip {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	font-size: 12px;
	font-weight: 600;
	color: #334155;
}

.receive-pro__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.receive-pro__meta {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	border-radius: 18px;
	background: #f8fafc;
	border: 1px solid #edf2f7;
	min-width: 0;
}

.receive-pro__meta span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #94a3b8;
}

.receive-pro__meta strong {
	font-size: 14px;
	line-height: 1.45;
	color: #0f172a;
	word-break: break-word;
}

.receive-pro__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 280px;
	padding: 32px;
	border-radius: 24px;
	background:
		radial-gradient(circle at top, rgba(37, 99, 235, 0.08), transparent 34%),
		#fff;
	border: 1px dashed #cbd5e1;
	text-align: center;
}

.receive-pro__empty-emoji {
	width: 64px;
	height: 64px;
	border-radius: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 34px;
	font-weight: 700;
}

.receive-pro__empty-title {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}

.receive-pro__empty-text {
	max-width: 520px;
	font-size: 14px;
	line-height: 1.6;
	color: #64748b;
}

.receive-pro__pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 6px 4px 0;
}

.receive-pro__pagination-meta {
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
}

.receive-pro__pagination-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.receive-pro__page-btn {
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: 14px;
	border: 1px solid #dbe5f1;
	background: #fff;
	color: #334155;
	font-weight: 700;
	cursor: pointer;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.receive-pro__page-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	border-color: rgba(37, 99, 235, 0.28);
	box-shadow: 0 10px 16px rgba(37, 99, 235, 0.08);
}

.receive-pro__page-btn.is-active {
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 12px 20px rgba(37, 99, 235, 0.22);
}

.receive-pro__page-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

@media (max-width: 1180px) {
	.receive-pro__hero,
	.receive-pro__layout {
		grid-template-columns: 1fr;
	}

	.receive-pro__rail {
		position: static;
	}
}

@media (max-width: 820px) {
	.receive-pro__hero {
		padding: 18px;
		border-radius: 24px;
	}

	.receive-pro__panel,
	.receive-pro__toolbar,
	.receive-pro__feed-wrap,
	.receive-pro__card {
		border-radius: 20px;
	}

	.receive-pro__toolbar-main,
	.receive-pro__toolbar-actions,
	.receive-pro__card-head,
	.receive-pro__pagination {
		flex-direction: column;
		align-items: stretch;
	}

	.receive-pro__stats,
	.receive-pro__grid {
		grid-template-columns: 1fr;
	}

	.receive-pro__scan-actions {
		grid-template-columns: 1fr;
	}

	.receive-pro__search {
		min-width: 100%;
	}
}

@keyframes receiveFloat {
	0%,
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}

	50% {
		transform: translate3d(0, 16px, 0) scale(1.05);
	}
}

@keyframes receivePulse {
	0%,
	100% {
		transform: scale(1);
		opacity: 1;
	}

	50% {
		transform: scale(0.82);
		opacity: 0.7;
	}
}

.receive-pro {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.receive-pro__hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
	gap: 20px;
	padding: 28px;
	border-radius: 32px;
	overflow: hidden;
	background: linear-gradient(135deg, #06152d 0%, #0b2450 46%, #0f5b86 100%);
	color: #f7fbff;
	box-shadow: 0 28px 54px rgba(7, 21, 45, 0.24);
}

.receive-pro__hero::after {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: 31px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.receive-pro__hero-glow {
	position: absolute;
	border-radius: 999px;
	pointer-events: none;
	opacity: 0.7;
	animation: receiveFloat 14s ease-in-out infinite;
}

.receive-pro__hero-glow--one {
	width: 320px;
	height: 320px;
	top: -110px;
	right: 22%;
	background: radial-gradient(circle, rgba(96, 165, 250, 0.38) 0%, rgba(96, 165, 250, 0) 68%);
}

.receive-pro__hero-glow--two {
	width: 280px;
	height: 280px;
	right: -90px;
	bottom: -120px;
	background: radial-gradient(circle, rgba(45, 212, 191, 0.28) 0%, rgba(45, 212, 191, 0) 70%);
	animation-duration: 17s;
}

.receive-pro__hero-main,
.receive-pro__hero-side {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.receive-pro__eyebrow-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.receive-pro__eyebrow {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.receive-pro__live {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(12px);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.receive-pro__live span {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: #4ade80;
	box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.18);
	animation: receivePulse 2s ease-in-out infinite;
}

.receive-pro__live.is-busy {
	background: rgba(245, 158, 11, 0.14);
	border-color: rgba(245, 158, 11, 0.3);
}

.receive-pro__live.is-busy span {
	background: #f59e0b;
	box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.18);
}

.receive-pro__live.is-attention {
	background: rgba(244, 63, 94, 0.14);
	border-color: rgba(251, 113, 133, 0.3);
}

.receive-pro__live.is-attention span {
	background: #fb7185;
	box-shadow: 0 0 0 6px rgba(251, 113, 133, 0.18);
}

.receive-pro__title {
	margin: 0;
	font-size: clamp(32px, 4vw, 46px);
	line-height: 1;
	letter-spacing: -0.05em;
}

.receive-pro__subtitle {
	margin: 0;
	max-width: 780px;
	font-size: 15px;
	line-height: 1.72;
	color: rgba(255, 255, 255, 0.86);
}

.receive-pro__hero-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.receive-pro__hero-tag {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.14);
	font-size: 12px;
	font-weight: 700;
}

.receive-pro__hero-panel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 18px;
	border-radius: 26px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(16px);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.receive-pro__hero-panel.is-busy {
	background: linear-gradient(180deg, rgba(245, 158, 11, 0.16), rgba(255, 255, 255, 0.08));
	border-color: rgba(245, 158, 11, 0.22);
}

.receive-pro__hero-panel.is-attention {
	background: linear-gradient(180deg, rgba(244, 63, 94, 0.14), rgba(255, 255, 255, 0.08));
	border-color: rgba(251, 113, 133, 0.22);
}

.receive-pro__hero-panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.receive-pro__hero-panel-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}

.receive-pro__hero-panel-title {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.1;
}

.receive-pro__hero-panel-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 12px;
	font-weight: 700;
}

.receive-pro__hero-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.receive-pro__hero-metric {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 14px 16px;
	border-radius: 18px;
	background: rgba(4, 19, 42, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.receive-pro__hero-metric span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.receive-pro__hero-metric strong {
	font-size: 28px;
	line-height: 1;
	letter-spacing: -0.04em;
}

.receive-pro__hero-last {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px;
	border-radius: 20px;
	background: rgba(3, 12, 28, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.receive-pro__hero-last span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.receive-pro__hero-last strong {
	font-size: 15px;
	line-height: 1.5;
}

.receive-pro__hero-last small {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.76);
}

.receive-pro__hero-note {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(8px);
}

.receive-pro__hero-note strong {
	font-size: 14px;
}

.receive-pro__hero-note span {
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.78);
}

.receive-pro__layout {
	display: grid;
	grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

.receive-pro__rail {
	display: flex;
	flex-direction: column;
	gap: 16px;
	position: sticky;
	top: 8px;
}

.receive-pro__content {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.receive-pro__panel,
.receive-pro__toolbar,
.receive-pro__feed-wrap,
.receive-pro__card {
	border: 1px solid rgba(148, 163, 184, 0.18);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.07);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88));
	backdrop-filter: blur(12px);
}

.receive-pro__panel {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	border-radius: 28px;
}

.receive-pro__panel::after {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: 27px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 24%);
	pointer-events: none;
}

.receive-pro__panel > * {
	position: relative;
	z-index: 1;
}

.receive-pro__panel--scan {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 255, 0.94));
}

.receive-pro__panel--scan::before {
	content: "";
	position: absolute;
	right: -18%;
	top: -12%;
	width: 220px;
	height: 220px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.14), transparent 70%);
	pointer-events: none;
}

.receive-pro__panel--scan.is-busy {
	border-color: rgba(245, 158, 11, 0.24);
	box-shadow: 0 24px 44px rgba(245, 158, 11, 0.14);
}

.receive-pro__panel--scan.is-attention {
	border-color: rgba(251, 113, 133, 0.28);
}

.receive-pro__panel-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.receive-pro__panel-kicker {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #64748b;
}

.receive-pro__panel-title,
.receive-pro__toolbar-title {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #0f172a;
}

.receive-pro__focus-btn {
	background: rgba(15, 23, 42, 0.04);
	border-color: rgba(148, 163, 184, 0.24);
}

.receive-pro__scanner-band {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 20px;
	background: linear-gradient(135deg, rgba(10, 37, 78, 0.96), rgba(18, 80, 124, 0.92));
	color: #eff8ff;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.receive-pro__scanner-dot {
	flex: 0 0 auto;
	width: 12px;
	height: 12px;
	border-radius: 999px;
	background: #34d399;
	box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.16);
	animation: receivePulse 2s ease-in-out infinite;
}

.receive-pro__panel--scan.is-busy .receive-pro__scanner-dot {
	background: #f59e0b;
	box-shadow: 0 0 0 8px rgba(245, 158, 11, 0.18);
}

.receive-pro__panel--scan.is-attention .receive-pro__scanner-dot {
	background: #fb7185;
	box-shadow: 0 0 0 8px rgba(251, 113, 133, 0.18);
}

.receive-pro__scanner-copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.receive-pro__scanner-copy strong {
	font-size: 16px;
}

.receive-pro__scanner-copy span {
	font-size: 12px;
	line-height: 1.55;
	color: rgba(239, 248, 255, 0.76);
}

.receive-pro__scan-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.receive-pro__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #334155;
}

.receive-pro__input-shell {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 16px;
	border-radius: 18px;
	border: 1px solid #d8e1ef;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 20px rgba(15, 23, 42, 0.04);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.receive-pro__input-shell:focus-within {
	border-color: rgba(37, 99, 235, 0.52);
	box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12), 0 14px 24px rgba(37, 99, 235, 0.12);
	transform: translateY(-1px);
}

.receive-pro__input-prefix {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 56px;
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, #dbeafe, #eff6ff);
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.receive-pro__input,
.receive-pro__search-input {
	width: 100%;
	border: 0;
	background: transparent;
	box-shadow: none;
	padding: 0;
}

.receive-pro__input {
	height: 54px;
	font-size: 15px;
}

.receive-pro__search-input {
	height: 48px;
}

.receive-pro__input:focus,
.receive-pro__search-input:focus {
	border: 0;
	box-shadow: none;
	outline: none;
}

.receive-pro__scan-actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
}

.receive-pro__scan-hint {
	font-size: 12px;
	line-height: 1.65;
	color: #64748b;
}

.receive-pro__micro-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.receive-pro__micro-pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	font-size: 12px;
	font-weight: 700;
	color: #475569;
}

.receive-pro__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.receive-pro__stat {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 96px;
	padding: 16px;
	border-radius: 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.receive-pro__stat::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: rgba(148, 163, 184, 0.22);
}

.receive-pro__stat span {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.receive-pro__stat strong {
	font-size: 28px;
	line-height: 1;
	letter-spacing: -0.04em;
	color: #0f172a;
}

.receive-pro__stat--accent {
	background: linear-gradient(135deg, #e8f1ff, #f4f8ff);
	border-color: rgba(59, 130, 246, 0.22);
}

.receive-pro__stat--accent::after {
	background: linear-gradient(90deg, #2563eb, #38bdf8);
}

.receive-pro__stat--success {
	background: linear-gradient(135deg, #ecfdf5, #f0fdf9);
	border-color: rgba(16, 185, 129, 0.22);
}

.receive-pro__stat--success::after {
	background: linear-gradient(90deg, #10b981, #34d399);
}

.receive-pro__stat--warning {
	background: linear-gradient(135deg, #fff7ed, #fffaf0);
	border-color: rgba(245, 158, 11, 0.24);
}

.receive-pro__stat--warning::after {
	background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.receive-pro__stat--danger {
	background: linear-gradient(135deg, #fff1f2, #fff5f5);
	border-color: rgba(244, 63, 94, 0.22);
}

.receive-pro__stat--danger::after {
	background: linear-gradient(90deg, #f43f5e, #fb7185);
}

.receive-pro__stat--neutral::after {
	background: linear-gradient(90deg, #94a3b8, #cbd5e1);
}

.receive-pro__tips {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.receive-pro__tip {
	padding: 16px;
	border-radius: 20px;
	background: linear-gradient(180deg, #fbfdff, #f8fafc);
	border: 1px solid #e6edf5;
}

.receive-pro__tip strong {
	font-size: 14px;
	color: #0f172a;
}

.receive-pro__tip span {
	display: block;
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.6;
	color: #64748b;
}

.receive-pro__toolbar,
.receive-pro__feed-wrap {
	padding: 20px;
	border-radius: 28px;
}

.receive-pro__toolbar {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.receive-pro__toolbar-main {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.receive-pro__toolbar-meta {
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
}

.receive-pro__toolbar-actions {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.receive-pro__toolbar-side {
	display: flex;
	flex: 1 1 380px;
	flex-direction: column;
	gap: 12px;
	min-width: min(420px, 100%);
}

.receive-pro__toolbar-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.receive-pro__prepare {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 20px;
	border: 1px solid #dbe5f1;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.96));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.receive-pro__prepare.is-busy {
	border-color: rgba(37, 99, 235, 0.28);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.receive-pro__prepare-copy {
	display: flex;
	flex: 1 1 240px;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.receive-pro__prepare-kicker {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #64748b;
}

.receive-pro__prepare-title {
	font-size: 15px;
	line-height: 1.3;
	color: #0f172a;
}

.receive-pro__prepare-text {
	font-size: 12px;
	line-height: 1.5;
	color: #64748b;
}

.receive-pro__prepare-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.receive-pro__prepare-pill {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	white-space: nowrap;
}

.receive-pro__prepare-pill--ok {
	background: #dcfce7;
	color: #166534;
}

.receive-pro__prepare-pill--info {
	background: #dbeafe;
	color: #1d4ed8;
}

.receive-pro__prepare-pill--warn {
	background: #fef3c7;
	color: #92400e;
}

.receive-pro__prepare-pill--danger {
	background: #fee2e2;
	color: #b91c1c;
}

.receive-pro__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.receive-pro__filter {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 14px;
	border-radius: 999px;
	border: 1px solid #dbe5f1;
	background: rgba(255, 255, 255, 0.76);
	color: #334155;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.receive-pro__filter strong {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12px;
}

.receive-pro__filter:hover {
	transform: translateY(-1px);
	border-color: rgba(37, 99, 235, 0.28);
	box-shadow: 0 12px 18px rgba(37, 99, 235, 0.08);
}

.receive-pro__filter.is-active {
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 14px 24px rgba(37, 99, 235, 0.24);
}

.receive-pro__filter.is-active strong {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.receive-pro__search {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: min(360px, 100%);
	padding: 12px 14px;
	border-radius: 20px;
	border: 1px solid #e2e8f0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.92));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.receive-pro__search:focus-within {
	border-color: rgba(37, 99, 235, 0.28);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

.receive-pro__search-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #64748b;
}

.receive-pro__feed-wrap {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 248, 252, 0.96));
}

.receive-pro__feed {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.receive-pro__card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px 18px;
	border-radius: 22px;
	background: linear-gradient(180deg, #ffffff, #fbfdff);
	border: 1px solid #e4ebf5;
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.receive-pro__card::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 5px;
	background: linear-gradient(90deg, #1d4ed8, #38bdf8);
}

.receive-pro__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 36px rgba(15, 23, 42, 0.1);
}

.receive-pro__card--already {
	background: linear-gradient(180deg, #fffef8, #fffdf5);
	border-color: #f3df9a;
}

.receive-pro__card--already::before {
	background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.receive-pro__card--error {
	background: linear-gradient(180deg, #fff7f7, #fff1f2);
	border-color: #fecdd3;
}

.receive-pro__card--error::before {
	background: linear-gradient(90deg, #f43f5e, #fb7185);
}

.receive-pro__card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.receive-pro__card-top-right {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.receive-pro__card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.receive-pro__card-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.receive-pro__card-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 11px;
	font-weight: 800;
}

.receive-pro__badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
}

.receive-pro__badge--received {
	background: #dcfce7;
	color: #166534;
}

.receive-pro__badge--already {
	background: #fef3c7;
	color: #92400e;
}

.receive-pro__badge--error {
	background: #fee2e2;
	color: #b91c1c;
}

.receive-pro__card-type {
	margin-bottom: 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #64748b;
}

.receive-pro__card-title {
	margin: 0;
	font-size: 21px;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: #0f172a;
}

.receive-pro__card-person {
	margin-top: 6px;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
}

.receive-pro__card-time {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	font-size: 11px;
	font-weight: 700;
	color: #475569;
	white-space: nowrap;
}

.receive-pro__card-route {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.9fr);
	gap: 10px 16px;
	padding: 10px 12px;
	border-radius: 16px;
	background: linear-gradient(135deg, #eff6ff, #f8fbff);
	border: 1px solid rgba(59, 130, 246, 0.16);
}

.receive-pro__card-route-main,
.receive-pro__card-route-next {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.receive-pro__card-route span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #64748b;
}

.receive-pro__card-route strong {
	font-size: 13px;
	line-height: 1.4;
	color: #0f172a;
	word-break: break-word;
}

.receive-pro__prepare-note {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 4px 10px;
	align-items: center;
	padding: 8px 10px;
	border-radius: 14px;
	border: 1px solid #dbe5f1;
	background: #f8fafc;
}

.receive-pro__prepare-note span,
.receive-pro__prepare-note em {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
	font-style: normal;
}

.receive-pro__prepare-note strong {
	font-size: 13px;
	line-height: 1.35;
	color: #0f172a;
	word-break: break-word;
}

.receive-pro__prepare-note em {
	grid-column: 2;
	letter-spacing: normal;
	text-transform: none;
}

.receive-pro__prepare-note--prepared {
	background: #f0fdf4;
	border-color: #bbf7d0;
}

.receive-pro__prepare-note--repeat {
	background: #eff6ff;
	border-color: #bfdbfe;
}

.receive-pro__prepare-note--final,
.receive-pro__prepare-note--blocked {
	background: #fff7ed;
	border-color: #fed7aa;
}

.receive-pro__prepare-note--error {
	background: #fff1f2;
	border-color: #fecdd3;
}

.receive-pro__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.receive-pro__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 9px;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	font-size: 11px;
	font-weight: 700;
	color: #334155;
}

.receive-pro__chip-label {
	color: #64748b;
}

.receive-pro__chip strong {
	font-weight: 800;
	color: #0f172a;
}

.receive-pro__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 8px 14px;
}

.receive-pro__fact {
	display: flex;
	align-items: baseline;
	gap: 8px;
	min-width: 0;
}

.receive-pro__fact span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94a3b8;
	white-space: nowrap;
}

.receive-pro__fact strong {
	font-size: 13px;
	line-height: 1.35;
	color: #0f172a;
	word-break: break-word;
}

.receive-pro__fact strong:empty::before {
	content: "—";
	color: #94a3b8;
}

.receive-pro__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 300px;
	padding: 32px;
	border-radius: 26px;
	background: radial-gradient(circle at top, rgba(37, 99, 235, 0.08), transparent 34%), #fff;
	border: 1px dashed #cbd5e1;
	text-align: center;
}

.receive-pro__empty-emoji {
	width: 72px;
	height: 72px;
	border-radius: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #eff6ff, #dbeafe);
	color: #1d4ed8;
	font-size: 34px;
	font-weight: 800;
}

.receive-pro__empty-title {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
}

.receive-pro__empty-text {
	max-width: 520px;
	font-size: 14px;
	line-height: 1.65;
	color: #64748b;
}

.receive-pro__pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	padding: 6px 4px 0;
}

.receive-pro__pagination-meta {
	font-size: 13px;
	font-weight: 700;
	color: #64748b;
}

.receive-pro__pagination-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.receive-pro__page-btn {
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border-radius: 14px;
	border: 1px solid #dbe5f1;
	background: #fff;
	color: #334155;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.receive-pro__page-btn:hover:not(:disabled) {
	transform: translateY(-1px);
	border-color: rgba(37, 99, 235, 0.28);
	box-shadow: 0 10px 16px rgba(37, 99, 235, 0.08);
}

.receive-pro__page-btn.is-active {
	background: linear-gradient(135deg, #1d4ed8, #2563eb);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 12px 20px rgba(37, 99, 235, 0.22);
}

.receive-pro__page-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

@media (max-width: 1180px) {
	.receive-pro__hero,
	.receive-pro__layout {
		grid-template-columns: 1fr;
	}

	.receive-pro__rail {
		position: static;
	}
}

@media (max-width: 860px) {
	.receive-pro__hero {
		padding: 22px;
		border-radius: 28px;
	}

	.receive-pro__panel,
	.receive-pro__toolbar,
	.receive-pro__feed-wrap,
	.receive-pro__card {
		border-radius: 22px;
	}

	.receive-pro__toolbar-main,
	.receive-pro__toolbar-actions,
	.receive-pro__card-top,
	.receive-pro__card-head,
	.receive-pro__pagination {
		flex-direction: column;
		align-items: stretch;
	}

	.receive-pro__card-top-right {
		justify-content: flex-start;
	}

	.receive-pro__stats,
	.receive-pro__facts,
	.receive-pro__hero-metrics {
		grid-template-columns: 1fr;
	}

	.receive-pro__scan-actions {
		grid-template-columns: 1fr;
	}

	.receive-pro__search {
		min-width: 100%;
	}

	.receive-pro__toolbar-side {
		min-width: 100%;
	}
}

@media (max-width: 640px) {
	.receive-pro__hero {
		padding: 18px;
		border-radius: 24px;
	}

	.receive-pro__title {
		font-size: clamp(28px, 8vw, 38px);
	}

	.receive-pro__panel,
	.receive-pro__toolbar,
	.receive-pro__feed-wrap,
	.receive-pro__card {
		padding: 16px;
	}

	.receive-pro__card-route {
		grid-template-columns: 1fr;
	}

	.receive-pro__input-shell {
		padding: 0 12px;
	}

	.receive-pro__hero-tag {
		width: 100%;
		justify-content: space-between;
	}
}

.gen-decree-picker{
	display:flex;
	flex-direction:column;
	gap:12px;
	padding:14px;
	border:1px solid rgba(148,163,184,.24);
	border-radius:18px;
	background:linear-gradient(180deg, rgba(248,250,252,.96), rgba(255,255,255,.98));
}

.gen-decree-picker.hidden{
	display:none;
}

.gen-decree-picker__head{
	display:flex;
	justify-content:space-between;
	align-items:flex-start;
	gap:12px;
}

.gen-decree-picker__title{
	font-size:15px;
	font-weight:700;
	color:#0f172a;
}

.gen-decree-picker__toggle{
	display:inline-flex;
	align-items:center;
	gap:8px;
	font-size:13px;
	font-weight:600;
	color:#334155;
}

.gen-decree-picker__toggle input{
	width:16px;
	height:16px;
	margin:0;
}

.gen-decree-picker__meta{
	font-size:12px;
	line-height:1.45;
	color:#64748b;
}

.gen-decree-picker__actions{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

.gen-decree-picker__list{
	display:flex;
	flex-direction:column;
	gap:8px;
	max-height:320px;
	overflow:auto;
	padding-right:4px;
}

.gen-decree-picker__item{
	display:grid;
	grid-template-columns:18px minmax(0,1fr);
	gap:10px;
	align-items:flex-start;
	padding:10px 12px;
	border:1px solid #e2e8f0;
	border-radius:14px;
	background:#ffffff;
	cursor:pointer;
	transition:border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.gen-decree-picker__item:hover{
	border-color:#bfdbfe;
	box-shadow:0 10px 24px rgba(37,99,235,.08);
	transform:translateY(-1px);
}

.gen-decree-picker__item input{
	margin-top:3px;
}

.gen-decree-picker__item-main{
	display:flex;
	flex-direction:column;
	gap:4px;
	min-width:0;
}

.gen-decree-picker__item-title{
	font-size:14px;
	font-weight:700;
	line-height:1.3;
	color:#0f172a;
	overflow-wrap:anywhere;
}

.gen-decree-picker__item-meta,
.gen-decree-picker__item-awards{
	font-size:12px;
	line-height:1.4;
	color:#475569;
	overflow-wrap:anywhere;
}

.gen-decree-picker__item-awards{
	color:#1e3a8a;
}

@media(max-width:700px){
	.gen-decree-picker__head{
		flex-direction:column;
	}

	.gen-decree-picker__actions .btn{
		width:100%;
	}
}

.invoice-admin-page{
	display:grid;
	gap:20px;
}

.invoice-admin-hero{
	position:relative;
	display:grid;
	grid-template-columns:minmax(0,1.35fr) minmax(280px,.82fr);
	gap:18px;
	padding:28px 30px;
	border:1px solid #dbe4ee;
	border-radius:30px;
	background:
		radial-gradient(circle at top left, rgba(37,99,235,.16), transparent 34%),
		radial-gradient(circle at bottom right, rgba(249,115,22,.11), transparent 30%),
		linear-gradient(135deg, #f8fbff 0%, #ffffff 50%, #fffaf4 100%);
	box-shadow:0 24px 54px rgba(15,23,42,.08);
	overflow:hidden;
}

.invoice-admin-hero::after{
	content:"";
	position:absolute;
	inset:auto -44px -52px auto;
	width:180px;
	height:180px;
	border-radius:999px;
	background:rgba(255,255,255,.54);
	filter:blur(8px);
	pointer-events:none;
}

.invoice-admin-hero__main,
.invoice-admin-hero__side{
	position:relative;
	z-index:1;
}

.invoice-admin-hero__eyebrow{
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.18em;
	color:#1d4ed8;
}

.invoice-admin-hero__title{
	margin:10px 0 0;
	font-size:40px;
	line-height:1.05;
	letter-spacing:-.05em;
	color:#0f172a;
}

.invoice-admin-hero__subtitle{
	margin-top:12px;
	max-width:760px;
	color:#475569;
	line-height:1.65;
	font-size:14px;
}

.invoice-admin-hero__tags{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	margin-top:18px;
}

.invoice-admin-hero__tag{
	display:inline-flex;
	align-items:center;
	min-height:34px;
	padding:0 14px;
	border-radius:999px;
	background:rgba(255,255,255,.84);
	border:1px solid rgba(148,163,184,.3);
	color:#0f172a;
	font-size:12px;
	font-weight:700;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}

.invoice-admin-hero__side{
	display:grid;
	gap:12px;
	align-content:start;
}

.invoice-admin-hero__metric,
.invoice-admin-hero__note{
	padding:16px 18px;
	border-radius:22px;
	background:rgba(255,255,255,.82);
	border:1px solid rgba(148,163,184,.26);
	box-shadow:0 10px 26px rgba(15,23,42,.05);
}

.invoice-admin-hero__metric span{
	display:block;
	font-size:11px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.12em;
	color:#64748b;
}

.invoice-admin-hero__metric strong{
	display:block;
	margin-top:10px;
	font-size:28px;
	line-height:1;
	letter-spacing:-.04em;
	color:#0f172a;
}

.invoice-admin-hero__note{
	color:#475569;
	line-height:1.6;
	font-size:13px;
}

.invoice-admin{
	display:grid;
	gap:18px;
}

.invoice-admin__section{
	margin-top:0;
	padding:20px;
	border-radius:28px;
	border:1px solid #dce5ef;
	background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
	box-shadow:0 18px 40px rgba(15,23,42,.06);
}

.invoice-admin__section-head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:14px;
	margin-bottom:16px;
}

.invoice-admin__section-kicker{
	margin-bottom:6px;
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.16em;
	color:#1d4ed8;
}

.invoice-admin__section-title{
	font-size:23px;
	line-height:1.1;
	letter-spacing:-.03em;
	font-weight:800;
	color:#0f172a;
	margin-bottom:6px;
}

.invoice-admin__section-text{
	max-width:760px;
	font-size:14px;
	line-height:1.6;
	color:#64748b;
}

.invoice-admin__section-badge{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:36px;
	padding:0 14px;
	border-radius:999px;
	background:#eff6ff;
	border:1px solid #bfdbfe;
	font-size:12px;
	font-weight:700;
	white-space:nowrap;
	color:#1d4ed8;
}

.invoice-admin__overview{
	display:grid;
	grid-template-columns:minmax(0,1.45fr) minmax(280px,.88fr);
	gap:16px;
	align-items:start;
}

.invoice-admin__summary-card{
	display:grid;
	gap:14px;
	padding:18px;
	border-radius:24px;
	border:1px solid #dbe5f1;
	background:
		radial-gradient(circle at top right, rgba(14,165,233,.08), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow:0 14px 26px rgba(15,23,42,.05);
}

.invoice-admin__summary-card-kicker{
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.16em;
	color:#0f766e;
}

.invoice-admin__summary-card-title{
	font-size:20px;
	line-height:1.15;
	letter-spacing:-.03em;
	font-weight:800;
	color:#0f172a;
}

.invoice-admin__summary-card-text{
	font-size:13px;
	line-height:1.65;
	color:#475569;
}

.invoice-admin__summary-card-text code{
	padding:2px 6px;
	border-radius:8px;
	background:#eff6ff;
	color:#1d4ed8;
	font-size:12px;
}

.invoice-admin__summary-groups{
	display:grid;
	gap:12px;
}

.invoice-admin__summary-group{
	border:1px solid #dbe5f1;
	border-radius:22px;
	background:linear-gradient(180deg,#ffffff,#f8fbff);
	box-shadow:0 12px 24px rgba(15,23,42,.04);
	overflow:hidden;
}

.invoice-admin__summary-group-summary{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:14px;
	padding:18px;
	cursor:pointer;
	list-style:none;
}

.invoice-admin__summary-group-summary::-webkit-details-marker{
	display:none;
}

.invoice-admin__summary-group-main{
	display:grid;
	gap:6px;
	min-width:0;
}

.invoice-admin__summary-group-title{
	font-size:18px;
	line-height:1.15;
	font-weight:800;
	color:#0f172a;
}

.invoice-admin__summary-group-text{
	font-size:13px;
	line-height:1.55;
	color:#64748b;
}

.invoice-admin__summary-group-metrics{
	display:flex;
	align-items:stretch;
	justify-content:flex-end;
	flex-wrap:wrap;
	gap:8px;
}

.invoice-admin__summary-pill{
	display:inline-flex;
	align-items:center;
	min-height:32px;
	padding:0 12px;
	border-radius:999px;
	border:1px solid #bfdbfe;
	background:#eff6ff;
	font-size:12px;
	font-weight:700;
	color:#1d4ed8;
}

.invoice-admin__summary-metric{
	display:grid;
	gap:6px;
	min-width:108px;
	padding:10px 12px;
	border-radius:16px;
	border:1px solid #e2e8f0;
	background:#ffffff;
	font-size:13px;
	font-weight:700;
	color:#0f172a;
	text-align:left;
}

.invoice-admin__summary-metric b{
	font-size:10px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.14em;
	color:#64748b;
}

.invoice-admin__summary-group-body{
	padding:0 18px 18px;
	border-top:1px solid #e2e8f0;
	background:linear-gradient(180deg,#f8fbff,#f8fafc);
}

.invoice-admin__stats-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
	gap:14px;
}

.invoice-admin__stat-card{
	position:relative;
	display:grid;
	gap:10px;
	padding:18px;
	border-radius:22px;
	border:1px solid #dbeafe;
	background:linear-gradient(135deg,#eff6ff 0%,#ffffff 100%);
	box-shadow:0 14px 24px rgba(15,23,42,.05);
	overflow:hidden;
}

.invoice-admin__stat-card::after{
	content:"";
	position:absolute;
	inset:auto -24px -28px auto;
	width:90px;
	height:90px;
	border-radius:999px;
	background:rgba(255,255,255,.45);
}

.invoice-admin__stat-card--sent{
	border-color:#fde68a;
	background:linear-gradient(135deg,#fffbeb 0%,#ffffff 100%);
}

.invoice-admin__stat-card--remaining{
	border-color:#bbf7d0;
	background:linear-gradient(135deg,#f0fdf4 0%,#ffffff 100%);
}

.invoice-admin__stat-card--neutral{
	border-color:#e2e8f0;
	background:linear-gradient(135deg,#f8fafc 0%,#ffffff 100%);
}

.invoice-admin__stat-label{
	position:relative;
	z-index:1;
	font-size:11px;
	font-weight:800;
	letter-spacing:.16em;
	text-transform:uppercase;
	color:#475569;
}

.invoice-admin__stat-value{
	position:relative;
	z-index:1;
	font-size:34px;
	line-height:1;
	letter-spacing:-.05em;
	font-weight:800;
	color:#0f172a;
}

.invoice-admin__stat-note{
	position:relative;
	z-index:1;
	font-size:13px;
	line-height:1.5;
	color:#64748b;
}

.invoice-admin__subsection-head,
.invoice-admin__list-head,
.invoice-admin__picker-head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:12px;
}

.invoice-admin__subsection-head{
	margin:18px 0 10px;
}

.invoice-admin__subsection-head--tight{
	margin:16px 0 10px;
}

.invoice-admin__subsection-title{
	font-size:15px;
	line-height:1.2;
	font-weight:800;
	color:#0f172a;
	margin:0;
}

.invoice-admin__subsection-text{
	margin-top:4px;
	font-size:13px;
	line-height:1.55;
	color:#64748b;
}

.invoice-admin__delivery-toolbar{
	display:flex;
	flex-wrap:wrap;
	align-items:flex-end;
	gap:10px;
	margin-bottom:12px;
}

.invoice-admin__filter{
	display:flex;
	flex-direction:column;
	gap:6px;
	min-width:180px;
}

.invoice-admin__filter span{
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.14em;
	color:#64748b;
}

.invoice-admin__editor-shell{
	display:grid;
	gap:16px;
	padding:18px;
	border-radius:24px;
	background:
		radial-gradient(circle at top left, rgba(37,99,235,.07), transparent 30%),
		linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
	border:1px solid #dbe5f1;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}

.invoice-admin__editor-top{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:14px;
}

.invoice-admin__editor-title{
	font-size:20px;
	line-height:1.15;
	letter-spacing:-.03em;
	font-weight:800;
	color:#0f172a;
}

.invoice-admin__editor-meta{
	display:grid;
	grid-template-columns:repeat(2,minmax(120px,1fr));
	gap:10px;
}

.invoice-admin__editor-stat{
	padding:12px 14px;
	border-radius:18px;
	border:1px solid #dbe5f1;
	background:rgba(255,255,255,.9);
}

.invoice-admin__editor-stat span{
	display:block;
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.14em;
	color:#64748b;
}

.invoice-admin__editor-stat strong{
	display:block;
	margin-top:8px;
	font-size:22px;
	line-height:1;
	letter-spacing:-.04em;
	color:#0f172a;
}

.invoice-admin__editor-grid{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
	gap:12px;
}

.invoice-admin__field{
	display:flex;
	flex-direction:column;
	gap:6px;
}

.invoice-admin__field span{
	font-size:13px;
	font-weight:700;
	color:#334155;
}

.invoice-admin__textarea{
	min-height:92px;
	resize:vertical;
}

.invoice-admin__editor-strip{
	display:flex;
	align-items:center;
	justify-content:space-between;
	flex-wrap:wrap;
	gap:12px;
}

.invoice-admin__editor-actions{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

.invoice-admin__editor-hint{
	max-width:520px;
	font-size:13px;
	line-height:1.55;
	color:#64748b;
}

.invoice-admin__editor-selection{
	display:grid;
	gap:10px;
}

.invoice-admin__picker-card{
	padding:16px;
	border-radius:22px;
	border:1px solid #dde7f1;
	background:rgba(255,255,255,.86);
	box-shadow:0 10px 22px rgba(15,23,42,.04);
}

.invoice-admin__picker-title{
	font-size:15px;
	font-weight:800;
	color:#0f172a;
}

.invoice-admin__invoice-pick-list{
	display:grid;
	gap:10px;
	max-height:360px;
	overflow:auto;
	padding-right:4px;
}

.invoice-admin__invoice-pick{
	display:grid;
	grid-template-columns:20px minmax(0,1fr);
	align-items:flex-start;
	gap:12px;
	padding:12px 14px;
	border:1px solid #e2e8f0;
	border-radius:18px;
	background:linear-gradient(180deg,#ffffff,#f8fafc);
	cursor:pointer;
	transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.invoice-admin__invoice-pick:hover{
	border-color:#bfdbfe;
	transform:translateY(-1px);
	box-shadow:0 12px 20px rgba(15,23,42,.06);
}

.invoice-admin__invoice-pick input{
	margin-top:4px;
}

.invoice-admin__invoice-pick-main{
	display:flex;
	flex-direction:column;
	gap:4px;
	min-width:0;
}

.invoice-admin__invoice-pick-main strong{
	font-size:14px;
	color:#0f172a;
}

.invoice-admin__table-wrap{
	width:100%;
	overflow:auto;
	border:1px solid #e2e8f0;
	border-radius:22px;
	background:#ffffff;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}

.invoice-admin__table{
	width:100%;
	min-width:880px;
	border-collapse:separate;
	border-spacing:0;
}

.invoice-admin__table--delivery-month{
	min-width:980px;
}

.invoice-admin__table thead th{
	padding:14px 16px;
	border-bottom:1px solid #e2e8f0;
	background:#f8fafc;
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.14em;
	color:#64748b;
}

.invoice-admin__table--delivery-month thead th{
	text-align:center;
	white-space:normal;
	vertical-align:middle;
}

.invoice-admin__table tbody td{
	padding:14px 16px;
	border-bottom:1px solid #eef2f7;
	vertical-align:middle;
	background:#ffffff;
}

.invoice-admin__table--delivery-month tbody td:nth-child(1),
.invoice-admin__table--delivery-month tbody td:nth-child(3),
.invoice-admin__table--delivery-month tbody td:nth-child(4),
.invoice-admin__table--delivery-month tbody td:nth-child(5),
.invoice-admin__table--delivery-month tbody td:nth-child(6),
.invoice-admin__table--delivery-month tbody td:nth-child(7){
	text-align:center;
}

.invoice-admin__table tbody tr:hover td{
	background:#fbfdff;
}

.invoice-admin__table tbody tr:last-child td{
	border-bottom:0;
}

.invoice-admin__table-total td{
	background:#eff6ff !important;
	color:#0f172a;
}

.invoice-admin__table-primary{
	font-size:14px;
	font-weight:700;
	color:#0f172a;
}

.invoice-admin__table-secondary{
	margin-top:4px;
	font-size:12px;
	line-height:1.45;
	color:#64748b;
}

.invoice-admin__actions-cell{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

.invoice-admin__details-row td{
	padding:0;
	background:transparent !important;
}

.invoice-admin__detail{
	padding:18px;
	background:linear-gradient(180deg,#f8fbff,#f8fafc);
	border-top:1px solid #e2e8f0;
}

.invoice-admin__detail-metrics{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
	gap:10px;
	margin-bottom:14px;
}

.invoice-admin__detail-metric{
	padding:12px 14px;
	border-radius:18px;
	border:1px solid #dbe5f1;
	background:#ffffff;
}

.invoice-admin__detail-metric span{
	display:block;
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.14em;
	color:#64748b;
}

.invoice-admin__detail-metric strong{
	display:block;
	margin-top:8px;
	font-size:24px;
	line-height:1;
	letter-spacing:-.04em;
	color:#0f172a;
}

.invoice-admin__chips{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}

.invoice-admin__chip,
.invoice-admin__tag{
	display:inline-flex;
	align-items:center;
	min-height:32px;
	padding:0 12px;
	border-radius:999px;
	font-size:12px;
	font-weight:700;
}

.invoice-admin__chip{
	border:1px solid #dbeafe;
	background:#eff6ff;
	color:#1d4ed8;
}

.invoice-admin__tag{
	border:1px solid #bfdbfe;
	background:#eff6ff;
	color:#1d4ed8;
}

.invoice-admin__tag--muted{
	border-color:#e2e8f0;
	background:#f8fafc;
	color:#64748b;
}

.invoice-admin__facts{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
	gap:10px;
}

.invoice-admin__fact{
	padding:12px 14px;
	border-radius:18px;
	background:#ffffff;
	border:1px solid #e2e8f0;
}

.invoice-admin__fact span{
	display:block;
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.14em;
	color:#64748b;
}

.invoice-admin__fact strong{
	display:block;
	margin-top:8px;
	font-size:20px;
	line-height:1;
	letter-spacing:-.03em;
	color:#0f172a;
}

.invoice-admin__count{
	font-size:15px;
	font-weight:800;
	color:#0f172a;
}

.invoice-admin__switch{
	position:relative;
	display:inline-flex;
	align-items:center;
	width:48px;
	height:28px;
	cursor:pointer;
}

.invoice-admin__switch input{
	position:absolute;
	inset:0;
	margin:0;
	opacity:0;
	cursor:pointer;
	z-index:1;
}

.invoice-admin__switch-track{
	position:relative;
	display:block;
	width:48px;
	height:28px;
	border-radius:999px;
	background:#cbd5e1;
	box-shadow:inset 0 1px 2px rgba(15,23,42,.12);
	transition:background .2s ease;
}

.invoice-admin__switch-track::after{
	content:"";
	position:absolute;
	top:3px;
	left:3px;
	width:22px;
	height:22px;
	border-radius:50%;
	background:#ffffff;
	box-shadow:0 4px 12px rgba(15,23,42,.2);
	transition:transform .2s ease;
}

.invoice-admin__switch input:checked + .invoice-admin__switch-track{
	background:linear-gradient(135deg,#2563eb,#0ea5e9);
}

.invoice-admin__switch input:checked + .invoice-admin__switch-track::after{
	transform:translateX(20px);
}

.invoice-admin__switch input:focus-visible + .invoice-admin__switch-track{
	outline:3px solid rgba(37,99,235,.18);
	outline-offset:2px;
}

.invoice-admin__empty{
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:84px;
	padding:18px 16px;
	border-radius:18px;
	border:1px dashed #cbd5e1;
	background:linear-gradient(180deg,#ffffff,#f8fafc);
	font-size:13px;
	line-height:1.55;
	text-align:center;
	color:#64748b;
}

@media(max-width:980px){
	.invoice-admin-hero,
	.invoice-admin__overview{
		grid-template-columns:1fr;
	}

	.invoice-admin__summary-group-summary{
		flex-direction:column;
	}

	.invoice-admin__summary-group-metrics{
		justify-content:flex-start;
	}
}

@media(max-width:700px){
	.invoice-admin-hero{
		padding:22px 20px;
		border-radius:24px;
	}

	.invoice-admin-hero__title{
		font-size:32px;
	}

	.invoice-admin__section{
		padding:16px;
		border-radius:24px;
	}

	.invoice-admin__section-head,
	.invoice-admin__subsection-head,
	.invoice-admin__list-head,
	.invoice-admin__picker-head,
	.invoice-admin__editor-top{
		flex-direction:column;
		align-items:stretch;
	}

	.invoice-admin__editor-meta{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}

	.invoice-admin__editor-actions .btn,
	.invoice-admin__actions-cell .btn{
		width:100%;
	}

	.invoice-admin__filter{
		min-width:100%;
	}

	.invoice-admin__table{
		min-width:720px;
	}
}

.admin-activity{
	display:grid;
	gap:12px;
}

.admin-activity__note{
	margin-bottom:2px;
}

.admin-activity__filters{
	margin-top:0;
	gap:12px;
}

.admin-activity__grid{
	display:grid;
	gap:8px;
}

.admin-activity__grid--top{
	grid-template-columns:repeat(5, minmax(0, 1fr));
}

.admin-activity__grid--bottom{
	grid-template-columns:repeat(5, minmax(0, 1fr));
}

.admin-activity__actions{
	display:flex;
	gap:8px;
	align-items:center;
	justify-content:flex-end;
}

.admin-activity__table-wrap{
	overflow:auto;
}

.admin-activity__pagination{
	margin-top:10px;
	display:flex;
	gap:6px;
	align-items:center;
}

.admin-activity__payload{
	min-width:180px;
}

.admin-activity__payload summary{
	cursor:pointer;
	font-size:12px;
	font-weight:700;
	color:#1d4ed8;
	list-style:none;
}

.admin-activity__payload summary::-webkit-details-marker{
	display:none;
}

.admin-activity__payload pre{
	margin:8px 0 0;
	padding:10px 12px;
	max-width:420px;
	max-height:260px;
	overflow:auto;
	border-radius:12px;
	border:1px solid #dbeafe;
	background:#f8fbff;
	font-size:12px;
	line-height:1.45;
	color:#0f172a;
	white-space:pre-wrap;
	word-break:break-word;
}

@media(max-width:980px){
	.admin-activity__grid--top{
		grid-template-columns:repeat(2, minmax(0, 1fr));
	}

	.admin-activity__grid--bottom{
		grid-template-columns:repeat(2, minmax(0, 1fr));
	}
}

@media(max-width:700px){
	.admin-activity__grid--top,
	.admin-activity__grid--bottom{
		grid-template-columns:1fr;
	}

	.admin-activity__actions{
		flex-direction:column;
		align-items:stretch;
	}
}

.copy-bd-page{
	display:grid;
	gap:20px;
}

.copy-bd-hero{
	position:relative;
	display:grid;
	grid-template-columns:minmax(0,1.35fr) minmax(280px,.82fr);
	gap:18px;
	padding:28px 30px;
	border:1px solid #dbe4ee;
	border-radius:30px;
	background:
		radial-gradient(circle at top left, rgba(14,165,233,.16), transparent 34%),
		radial-gradient(circle at bottom right, rgba(16,185,129,.12), transparent 30%),
		linear-gradient(135deg, #f7fbff 0%, #ffffff 52%, #f5fff9 100%);
	box-shadow:0 24px 54px rgba(15,23,42,.08);
	overflow:hidden;
}

.copy-bd-hero::after{
	content:"";
	position:absolute;
	inset:auto -54px -62px auto;
	width:220px;
	height:220px;
	border-radius:999px;
	background:rgba(255,255,255,.54);
	filter:blur(8px);
	pointer-events:none;
}

.copy-bd-hero__main,
.copy-bd-hero__side{
	position:relative;
	z-index:1;
}

.copy-bd-hero__eyebrow{
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.18em;
	color:#0f766e;
}

.copy-bd-hero__title{
	margin:10px 0 0;
	font-size:40px;
	line-height:1.05;
	letter-spacing:-.05em;
	color:#0f172a;
}

.copy-bd-hero__subtitle{
	margin-top:12px;
	max-width:760px;
	color:#475569;
	line-height:1.65;
	font-size:14px;
}

.copy-bd-hero__tags{
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	margin-top:18px;
}

.copy-bd-hero__tag{
	display:inline-flex;
	align-items:center;
	min-height:34px;
	padding:0 14px;
	border-radius:999px;
	background:rgba(255,255,255,.84);
	border:1px solid rgba(148,163,184,.28);
	color:#0f172a;
	font-size:12px;
	font-weight:700;
	box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}

.copy-bd-hero__side{
	display:grid;
	gap:12px;
	align-content:start;
}

.copy-bd-hero__metric,
.copy-bd-hero__note{
	padding:16px 18px;
	border-radius:22px;
	background:rgba(255,255,255,.82);
	border:1px solid rgba(148,163,184,.24);
	box-shadow:0 10px 26px rgba(15,23,42,.05);
}

.copy-bd-hero__metric span{
	display:block;
	font-size:11px;
	font-weight:700;
	text-transform:uppercase;
	letter-spacing:.12em;
	color:#64748b;
}

.copy-bd-hero__metric strong{
	display:block;
	margin-top:10px;
	font-size:28px;
	line-height:1;
	letter-spacing:-.04em;
	color:#0f172a;
}

.copy-bd-hero__note{
	color:#475569;
	line-height:1.6;
	font-size:13px;
}

.copy-bd-layout{
	display:grid;
	grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);
	gap:18px;
	align-items:start;
}

.copy-bd-panel{
	padding:20px;
	border-radius:28px;
	border:1px solid #dce5ef;
	background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
	box-shadow:0 18px 40px rgba(15,23,42,.06);
}

.copy-bd-panel--monitor{
	display:grid;
	gap:16px;
}

.copy-bd-panel__head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:14px;
	margin-bottom:16px;
}

.copy-bd-panel__kicker{
	margin-bottom:6px;
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.16em;
	color:#1d4ed8;
}

.copy-bd-panel__title{
	font-size:23px;
	line-height:1.1;
	letter-spacing:-.03em;
	font-weight:800;
	color:#0f172a;
	margin-bottom:6px;
}

.copy-bd-panel__text{
	font-size:14px;
	line-height:1.6;
	color:#64748b;
}

.copy-bd-panel__badge{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:36px;
	padding:0 14px;
	border-radius:999px;
	background:#f8fafc;
	border:1px solid #dbe4ee;
	font-size:12px;
	font-weight:700;
	white-space:nowrap;
	color:#475569;
}

.copy-bd-panel__badge.is-running{
	background:#eff6ff;
	border-color:#bfdbfe;
	color:#1d4ed8;
}

.copy-bd-panel__badge.is-success{
	background:#ecfdf5;
	border-color:#bbf7d0;
	color:#047857;
}

.copy-bd-panel__badge.is-error{
	background:#fef2f2;
	border-color:#fecaca;
	color:#b91c1c;
}

.copy-bd-actions{
	display:grid;
	gap:12px;
}

.copy-bd-action{
	position:relative;
	display:grid;
	gap:14px;
	padding:16px;
	border-radius:24px;
	border:1px solid #dbe5f1;
	background:
		radial-gradient(circle at top right, rgba(14,165,233,.08), transparent 34%),
		linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
	box-shadow:0 12px 24px rgba(15,23,42,.05);
	transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.copy-bd-action:hover{
	transform:translateY(-1px);
	box-shadow:0 18px 28px rgba(15,23,42,.08);
}

.copy-bd-action--amber{
	background:
		radial-gradient(circle at top right, rgba(251,191,36,.12), transparent 34%),
		linear-gradient(180deg,#ffffff 0%,#fffaf0 100%);
}

.copy-bd-action--emerald{
	background:
		radial-gradient(circle at top right, rgba(16,185,129,.12), transparent 34%),
		linear-gradient(180deg,#ffffff 0%,#f3fff8 100%);
}

.copy-bd-action.is-active{
	border-color:#93c5fd;
	box-shadow:0 20px 32px rgba(37,99,235,.12);
}

.copy-bd-action.is-busy{
	border-color:#60a5fa;
}

.copy-bd-action__header{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:12px;
}

.copy-bd-action__title{
	font-size:18px;
	line-height:1.15;
	font-weight:800;
	color:#0f172a;
}

.copy-bd-action__note{
	margin-top:6px;
	font-size:13px;
	line-height:1.55;
	color:#64748b;
}

.copy-bd-action__pill{
	display:inline-flex;
	align-items:center;
	min-height:30px;
	padding:0 12px;
	border-radius:999px;
	background:rgba(255,255,255,.88);
	border:1px solid rgba(148,163,184,.26);
	font-size:11px;
	font-weight:800;
	letter-spacing:.14em;
	text-transform:uppercase;
	color:#475569;
}

.copy-bd-action__button{
	width:100%;
	justify-content:center;
	position:relative;
}

.copy-bd-action__button.is-running{
	pointer-events:none;
}

.copy-bd-action__button.is-running::after{
	content:"";
	width:14px;
	height:14px;
	margin-left:8px;
	border-radius:999px;
	border:2px solid rgba(255,255,255,.45);
	border-top-color:#ffffff;
	animation:copy-bd-spin .8s linear infinite;
}

.copy-bd-monitor__top{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:12px;
}

.copy-bd-monitor__status{
	display:inline-flex;
	align-items:center;
	gap:8px;
	min-height:34px;
	padding:0 14px;
	border-radius:999px;
	background:#f8fafc;
	border:1px solid #dbe4ee;
	font-size:12px;
	font-weight:800;
	letter-spacing:.08em;
	text-transform:uppercase;
	color:#475569;
}

.copy-bd-monitor__status::before{
	content:"";
	width:8px;
	height:8px;
	border-radius:999px;
	background:currentColor;
	opacity:.7;
}

.copy-bd-monitor__status.is-running{
	background:#eff6ff;
	border-color:#bfdbfe;
	color:#1d4ed8;
}

.copy-bd-monitor__status.is-running::before{
	animation:copy-bd-pulse 1.2s ease-in-out infinite;
}

.copy-bd-monitor__status.is-success{
	background:#ecfdf5;
	border-color:#bbf7d0;
	color:#047857;
}

.copy-bd-monitor__status.is-error{
	background:#fef2f2;
	border-color:#fecaca;
	color:#b91c1c;
}

.copy-bd-monitor__stage{
	margin-top:10px;
	font-size:24px;
	line-height:1.18;
	letter-spacing:-.03em;
	font-weight:800;
	color:#0f172a;
}

.copy-bd-monitor__stamp{
	font-size:12px;
	font-weight:700;
	color:#64748b;
	white-space:nowrap;
}

.copy-bd-monitor__stats{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
	gap:12px;
}

.copy-bd-monitor__stat{
	padding:14px 16px;
	border-radius:20px;
	border:1px solid #dbe5f1;
	background:linear-gradient(180deg,#ffffff,#f8fafc);
	box-shadow:0 10px 20px rgba(15,23,42,.04);
}

.copy-bd-monitor__stat span{
	display:block;
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.14em;
	color:#64748b;
}

.copy-bd-monitor__stat strong{
	display:block;
	margin-top:8px;
	font-size:28px;
	line-height:1;
	letter-spacing:-.04em;
	color:#0f172a;
}

.copy-bd-result{
	padding:18px;
	border-radius:24px;
	border:1px solid #dde7f1;
	background:
		radial-gradient(circle at top left, rgba(37,99,235,.06), transparent 26%),
		linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}

.copy-bd-result__grid{
	display:grid;
	grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
	gap:12px;
}

.copy-bd-result__card{
	padding:14px 16px;
	border-radius:20px;
	border:1px solid #dbe5f1;
	background:#ffffff;
	box-shadow:0 10px 20px rgba(15,23,42,.04);
}

.copy-bd-result__card span{
	display:block;
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.14em;
	color:#64748b;
}

.copy-bd-result__card strong{
	display:block;
	margin-top:8px;
	font-size:24px;
	line-height:1.08;
	letter-spacing:-.04em;
	color:#0f172a;
	word-break:break-word;
}

.copy-bd-result__card small{
	display:block;
	margin-top:6px;
	font-size:12px;
	line-height:1.45;
	color:#64748b;
}

.copy-bd-result__empty,
.copy-bd-result__warning{
	padding:14px 16px;
	border-radius:18px;
	font-size:13px;
	line-height:1.6;
}

.copy-bd-result__empty{
	border:1px dashed #cbd5e1;
	background:linear-gradient(180deg,#ffffff,#f8fafc);
	color:#64748b;
}

.copy-bd-result__warning{
	margin-top:12px;
	border:1px solid #fde68a;
	background:#fffbeb;
	color:#92400e;
}

.copy-bd-console{
	padding:18px;
	border-radius:24px;
	border:1px solid #dde7f1;
	background:#0f172a;
	box-shadow:0 20px 36px rgba(15,23,42,.14);
}

.copy-bd-console__head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:12px;
	margin-bottom:14px;
}

.copy-bd-console__title{
	font-size:18px;
	line-height:1.15;
	font-weight:800;
	color:#f8fafc;
}

.copy-bd-console__text{
	margin-top:6px;
	font-size:13px;
	line-height:1.55;
	color:#94a3b8;
}

.copy-bd-console__clear.btn--ghost{
	background:rgba(148,163,184,.08);
	border-color:rgba(148,163,184,.22);
	color:#e2e8f0;
}

.copy-bd-console__clear.btn--ghost:hover{
	background:rgba(148,163,184,.14);
}

.copy-bd-console__body{
	display:grid;
	gap:10px;
	max-height:540px;
	overflow:auto;
	padding-right:4px;
}

.copy-bd-log{
	padding:12px 14px;
	border-radius:18px;
	border:1px solid rgba(148,163,184,.16);
	background:rgba(15,23,42,.42);
}

.copy-bd-log--start,
.copy-bd-log--complete{
	border-color:rgba(34,197,94,.28);
	background:rgba(6,95,70,.22);
}

.copy-bd-log--stage,
.copy-bd-log--progress{
	border-color:rgba(96,165,250,.28);
	background:rgba(30,64,175,.2);
}

.copy-bd-log--warning{
	border-color:rgba(251,191,36,.32);
	background:rgba(120,53,15,.22);
}

.copy-bd-log--error{
	border-color:rgba(248,113,113,.3);
	background:rgba(127,29,29,.24);
}

.copy-bd-log__top{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
}

.copy-bd-log__label{
	display:inline-flex;
	align-items:center;
	min-height:24px;
	padding:0 10px;
	border-radius:999px;
	background:rgba(255,255,255,.08);
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.14em;
	color:#f8fafc;
}

.copy-bd-log__time{
	font-size:12px;
	font-weight:700;
	color:#94a3b8;
}

.copy-bd-log__message{
	margin-top:8px;
	font-size:14px;
	line-height:1.55;
	color:#f8fafc;
	word-break:break-word;
}

.copy-bd-log__meta{
	margin-top:8px;
	font-size:12px;
	line-height:1.5;
	color:#cbd5e1;
}

.copy-bd-log__empty{
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:120px;
	padding:16px;
	border-radius:18px;
	border:1px dashed rgba(148,163,184,.22);
	background:rgba(15,23,42,.3);
	color:#94a3b8;
	text-align:center;
	font-size:13px;
	line-height:1.55;
}

@keyframes copy-bd-spin{
	to{
		transform:rotate(360deg);
	}
}

@keyframes copy-bd-pulse{
	0%, 100%{
		transform:scale(1);
		opacity:.7;
	}
	50%{
		transform:scale(1.35);
		opacity:1;
	}
}

@media(max-width:1080px){
	.copy-bd-hero,
	.copy-bd-layout{
		grid-template-columns:1fr;
	}
}

@media(max-width:700px){
	.copy-bd-hero{
		padding:22px 20px;
		border-radius:24px;
	}

	.copy-bd-hero__title{
		font-size:32px;
	}

	.copy-bd-panel{
		padding:16px;
		border-radius:24px;
	}

	.copy-bd-panel__head,
	.copy-bd-monitor__top,
	.copy-bd-console__head,
	.copy-bd-action__header{
		flex-direction:column;
		align-items:stretch;
	}

	.copy-bd-monitor__stamp{
		white-space:normal;
	}
}

.app.maintenance-blocked{
	grid-template-columns:1fr;
}

.app.maintenance-blocked .sidebar,
.app.maintenance-blocked .topbar{
	display:none;
}

.app.maintenance-blocked .main{
	min-width:0;
}

.app.maintenance-blocked .content{
	padding:0;
}

.maintenance-screen{
	min-height:100vh;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:32px;
	background:
		radial-gradient(circle at top left, rgba(30,64,175,.18), transparent 38%),
		radial-gradient(circle at bottom right, rgba(15,23,42,.2), transparent 42%),
		linear-gradient(180deg, #f6f8fc 0%, #e9eef7 100%);
}

.maintenance-screen__card{
	width:min(680px, 100%);
	padding:36px 34px;
	border-radius:28px;
	border:1px solid rgba(148,163,184,.24);
	background:rgba(255,255,255,.94);
	box-shadow:0 32px 80px rgba(15,23,42,.14);
}

.maintenance-screen__eyebrow{
	display:inline-flex;
	align-items:center;
	min-height:28px;
	padding:0 12px;
	border-radius:999px;
	background:rgba(30,64,175,.08);
	color:#1d4ed8;
	font-size:11px;
	font-weight:800;
	text-transform:uppercase;
	letter-spacing:.14em;
}

.maintenance-screen__title{
	margin:18px 0 0;
	font-size:34px;
	line-height:1.08;
	color:#0f172a;
}

.maintenance-screen__text{
	margin-top:16px;
	font-size:16px;
	line-height:1.65;
	color:#475569;
}

.maintenance-screen__eta{
	margin-top:22px;
	padding:14px 16px;
	border-radius:18px;
	background:#eff4fb;
	border:1px solid rgba(148,163,184,.2);
	color:#0f172a;
	font-size:15px;
	font-weight:700;
	line-height:1.5;
}

.maintenance-screen__actions{
	display:flex;
	flex-wrap:wrap;
	gap:12px;
	margin-top:24px;
}

@media(max-width:700px){
	.maintenance-screen{
		padding:18px;
	}

	.maintenance-screen__card{
		padding:26px 22px;
		border-radius:24px;
	}

	.maintenance-screen__title{
		font-size:28px;
	}
}

.dq-page{
	display:grid;
	gap:18px;
}

.dq-hero{
	display:grid;
	grid-template-columns:minmax(0, 1.7fr) minmax(260px, .9fr);
	gap:20px;
	align-items:start;
	padding:22px;
}

.dq-hero__eyebrow{
	font-size:12px;
	font-weight:800;
	letter-spacing:.12em;
	text-transform:uppercase;
	color:#0f766e;
}

.dq-hero__title{
	margin:8px 0 0;
	font-size:30px;
	line-height:1.15;
	color:#0f172a;
}

.dq-hero__text{
	margin-top:14px;
	font-size:15px;
	line-height:1.65;
	color:#334155;
}

.dq-hero__hint{
	margin-top:14px;
	padding:12px 14px;
	border-radius:14px;
	background:#f8fafc;
	border:1px solid rgba(148,163,184,.22);
	font-size:14px;
	line-height:1.55;
	color:#475569;
}

.dq-hero__side{
	display:grid;
	gap:12px;
	align-content:start;
	padding:18px;
	border-radius:20px;
	background:linear-gradient(180deg, rgba(15,118,110,.08) 0%, rgba(248,250,252,.95) 100%);
	border:1px solid rgba(15,118,110,.14);
}

.dq-hero__meta{
	font-size:13px;
	color:#475569;
}

.dq-toggle{
	display:flex;
	align-items:center;
	gap:10px;
	font-size:14px;
	color:#334155;
}

.dq-summary{
	display:grid;
	grid-template-columns:repeat(4, minmax(0, 1fr));
	gap:14px;
}

.dq-summary__card{
	padding:18px;
}

.dq-summary__card--accent{
	background:linear-gradient(180deg, rgba(15,118,110,.12) 0%, rgba(255,255,255,.98) 100%);
}

.dq-summary__card--danger{
	grid-column:1 / -1;
	border-color:rgba(220,38,38,.25);
	background:linear-gradient(180deg, rgba(254,226,226,.7) 0%, rgba(255,255,255,.98) 100%);
}

.dq-summary__label{
	display:block;
	font-size:12px;
	font-weight:800;
	letter-spacing:.08em;
	text-transform:uppercase;
	color:#64748b;
}

.dq-summary__value{
	display:block;
	margin-top:8px;
	font-size:32px;
	line-height:1.1;
	color:#0f172a;
}

.dq-summary__sub{
	display:block;
	margin-top:10px;
	font-size:13px;
	line-height:1.5;
	color:#475569;
}

.dq-layout{
	display:grid;
	grid-template-columns:minmax(280px, 360px) minmax(0, 1fr);
	gap:18px;
	align-items:start;
}

.dq-sidebar,
.dq-details{
	padding:18px;
}

.dq-sidebar__head{
	padding-bottom:14px;
	border-bottom:1px solid rgba(148,163,184,.18);
}

.dq-sidebar__title{
	font-size:18px;
	font-weight:800;
	color:#0f172a;
}

.dq-sidebar__text{
	margin-top:6px;
	font-size:13px;
	line-height:1.55;
	color:#64748b;
}

.dq-checks{
	display:grid;
	gap:16px;
	margin-top:16px;
}

.dq-check-group{
	display:grid;
	gap:10px;
}

.dq-check-group__title{
	font-size:12px;
	font-weight:800;
	letter-spacing:.08em;
	text-transform:uppercase;
	color:#64748b;
}

.dq-check-group__list{
	display:grid;
	gap:10px;
}

.dq-check{
	width:100%;
	padding:14px;
	border-radius:16px;
	border:1px solid rgba(148,163,184,.18);
	background:#fff;
	text-align:left;
	transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dq-check:hover{
	border-color:rgba(15,118,110,.28);
	box-shadow:0 12px 28px rgba(15,23,42,.08);
	transform:translateY(-1px);
}

.dq-check.is-active{
	border-color:rgba(15,118,110,.6);
	box-shadow:0 16px 34px rgba(15,118,110,.12);
}

.dq-check__top,
.dq-check__bottom{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:10px;
}

.dq-check__count{
	font-size:20px;
	font-weight:800;
	color:#0f172a;
}

.dq-check__title{
	margin-top:12px;
	font-size:15px;
	font-weight:800;
	line-height:1.35;
	color:#0f172a;
}

.dq-check__text{
	margin-top:8px;
	font-size:13px;
	line-height:1.55;
	color:#475569;
}

.dq-check__bottom{
	margin-top:12px;
	font-size:12px;
	color:#64748b;
}

.dq-check--critical{
	background:linear-gradient(180deg, rgba(255,247,237,.96) 0%, rgba(255,255,255,.98) 100%);
}

.dq-check--warning{
	background:linear-gradient(180deg, rgba(248,250,252,.96) 0%, rgba(255,255,255,.98) 100%);
}

.dq-details__head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:16px;
	padding-bottom:14px;
	border-bottom:1px solid rgba(148,163,184,.18);
}

.dq-details__eyebrow{
	font-size:12px;
	font-weight:800;
	letter-spacing:.08em;
	text-transform:uppercase;
	color:#64748b;
}

.dq-details__title{
	margin:8px 0 0;
	font-size:24px;
	line-height:1.2;
	color:#0f172a;
}

.dq-details__text{
	margin-top:10px;
	max-width:780px;
	font-size:14px;
	line-height:1.65;
	color:#475569;
}

.dq-details__meta{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	align-items:center;
	justify-content:flex-end;
}

.dq-table-wrap{
	margin-top:16px;
	overflow:auto;
}

.dq-table{
	min-width:980px;
}

.dq-actions{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
	min-width:220px;
}

.dq-empty{
	padding:18px;
	border-radius:16px;
	background:#f8fafc;
	border:1px dashed rgba(148,163,184,.3);
	font-size:14px;
	line-height:1.6;
	color:#64748b;
}

.dq-empty--spacious{
	margin-top:16px;
}

.dq-pagination{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	margin-top:16px;
}

.dq-pagination__meta{
	font-size:13px;
	color:#64748b;
}

@media(max-width:1100px){
	.dq-summary{
		grid-template-columns:repeat(2, minmax(0, 1fr));
	}

	.dq-layout{
		grid-template-columns:1fr;
	}
}

@media(max-width:760px){
	.dq-hero{
		grid-template-columns:1fr;
		padding:18px;
	}

	.dq-summary{
		grid-template-columns:1fr;
	}

	.dq-details__head{
		flex-direction:column;
	}

	.dq-details__meta{
		justify-content:flex-start;
	}

	.dq-pagination{
		flex-direction:column;
		align-items:stretch;
	}
}

.site-notifications-open{
	overflow:hidden;
}

.site-notifications-popup{
	position:fixed;
	inset:0;
	z-index:2200;
}

.site-notifications-popup__backdrop{
	position:absolute;
	inset:0;
	display:flex;
	align-items:center;
	justify-content:center;
	padding:24px;
	background:rgba(15,23,42,.42);
	backdrop-filter:blur(4px);
}

.site-notifications-popup__dialog{
	width:min(620px, 100%);
	max-height:min(78vh, 680px);
	display:flex;
	flex-direction:column;
	overflow:hidden;
	background:#fff;
	border:1px solid rgba(226,232,240,.95);
	border-radius:18px;
	box-shadow:0 28px 80px rgba(15,23,42,.26);
}

.site-notifications-popup__head{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:16px;
	padding:20px 22px 14px;
	border-bottom:1px solid #e2e8f0;
}

.site-notifications-popup__eyebrow{
	margin-bottom:6px;
	color:#64748b;
	font-size:12px;
	font-weight:800;
	text-transform:uppercase;
}

.site-notifications-popup__title{
	margin:0;
	color:#0f172a;
	font-size:22px;
	line-height:1.2;
}

.site-notifications-popup__meta{
	margin-top:6px;
	color:#64748b;
	font-size:12px;
}

.site-notifications-popup__icon-btn{
	width:34px;
	height:34px;
	flex:0 0 auto;
	border:1px solid #cbd5e1;
	border-radius:10px;
	background:#f8fafc;
	color:#0f172a;
	font-size:22px;
	line-height:1;
	cursor:pointer;
}

.site-notifications-popup__body{
	padding:18px 22px;
	overflow:auto;
	color:#1e293b;
	line-height:1.55;
	white-space:normal;
	word-break:break-word;
}

.site-notifications-popup__actions{
	display:flex;
	justify-content:flex-end;
	gap:10px;
	flex-wrap:wrap;
	padding:14px 22px 20px;
	border-top:1px solid #e2e8f0;
	background:#f8fafc;
}

.povsk-blacklist-popup__dialog{
	width:min(920px, 100%);
	max-height:min(88vh, 820px);
	border-color:#fecaca;
	border-radius:8px;
}

.povsk-blacklist-popup__head{
	background:#fff7f7;
	border-bottom-color:#fecaca;
}

.povsk-blacklist-popup__head .site-notifications-popup__eyebrow,
.povsk-blacklist-popup__head .site-notifications-popup__title{
	color:#991b1b;
}

.povsk-blacklist-popup__body{
	display:grid;
	gap:10px;
	background:#f8fafc;
}

.povsk-blacklist-alert{
	display:grid;
	gap:9px;
	padding:12px;
	border:1px solid #fecaca;
	border-left:4px solid #dc2626;
	border-radius:7px;
	background:#fff;
}

.povsk-blacklist-alert__top{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:12px;
}

.povsk-blacklist-alert__top > div{
	display:grid;
	gap:2px;
}

.povsk-blacklist-alert__top strong{
	font-size:16px;
	color:#0f172a;
}

.povsk-blacklist-alert__top span,
.povsk-blacklist-alert__top time{
	color:#64748b;
	font-size:12px;
}

.povsk-blacklist-alert__criteria{
	display:flex;
	flex-wrap:wrap;
	gap:6px;
}

.povsk-blacklist-alert__criteria span{
	padding:5px 7px;
	border:1px solid #cbd5e1;
	border-radius:5px;
	background:#f8fafc;
	font-size:12px;
}

.povsk-blacklist-alert__note{
	padding-top:8px;
	border-top:1px solid #fee2e2;
	color:#7f1d1d;
	font-size:13px;
}

@media(max-width:640px){
	.site-notifications-popup__backdrop{
		align-items:flex-end;
		padding:12px;
	}

	.site-notifications-popup__dialog{
		max-height:86vh;
		border-radius:16px;
	}

	.site-notifications-popup__title{
		font-size:18px;
	}

	.site-notifications-popup__actions .btn{
		flex:1 1 140px;
	}
}

/* Unified visual system for Statistics -> Reports. */
.control-reports-page{
  gap:10px;
}

.control-reports-head{
  padding:10px 12px;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#ffffff;
}

.control-reports-head > .h1{
  font-size:20px;
  line-height:1.15;
}

.control-reports-tabs{
  max-width:calc(100% - 120px);
  flex-wrap:nowrap;
  justify-content:flex-start;
  overflow-x:auto;
  scrollbar-width:thin;
}

.control-reports-tab{
  flex:0 0 auto;
  min-height:32px;
  padding:6px 11px;
  white-space:nowrap;
}

.report-toolbar{
  display:flex;
  min-width:0;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:10px;
  padding:12px 14px;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#ffffff;
}

.report-toolbar > div:first-child{
  min-width:190px;
}

.report-toolbar > div:first-child > .h1{
  color:#0f172a;
  font-size:20px;
  line-height:1.15;
  font-weight:950;
}

.report-toolbar > div:first-child > .muted{
  margin-top:3px;
  color:#64748b;
  font-size:12px;
}

.report-toolbar__actions{
  display:flex;
  min-width:0;
  align-items:flex-end;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap;
}

.report-toolbar .delivery-report-filterGroup{
  padding:6px 8px;
  border-color:#d8e2ee;
  background:#f8fafc;
}

.report-toolbar .btn{
  min-height:36px;
}

.report-body{
  min-width:0;
}

.reports300-board,
.vzo-report-board,
.award-flow-board{
  width:min(1440px, 100%);
  margin:0 auto;
  padding:10px;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#f6f8fb;
  box-shadow:none;
}

.reports300-board{
  display:grid;
  min-height:0;
  gap:9px;
}

.reports300-summary,
.delivery-report-summary,
.rework-report-summary,
.requisites-report-summary,
.rank-report-summary,
.vk-delivery-report-summary,
.award-flow-cards{
  gap:8px;
  margin-bottom:10px;
}

.reports300-summary{
  display:grid;
  grid-template-columns:repeat(6, minmax(0, 1fr));
}

:is(
  .reports300-summaryCard,
  .delivery-report-summary article,
  .rework-report-card,
  .requisites-report-card,
  .rank-report-summary article,
  .vk-delivery-report-card,
  .vzo-report-metric,
  .award-flow-card
){
  box-sizing:border-box;
  min-width:0;
  min-height:100px;
  margin:0;
  padding:11px 12px;
  border:1px solid #d8e2ee;
  border-top:4px solid #64748b;
  border-left:1px solid #d8e2ee;
  border-radius:7px;
  background:#ffffff;
  box-shadow:none;
}

:is(
  .reports300-summaryCard,
  .delivery-report-summary article,
  .rework-report-card,
  .rank-report-summary article,
  .vk-delivery-report-card,
  .vzo-report-metric,
  .award-flow-card
) > span,
.requisites-report-card > span{
  display:block;
  min-height:28px;
  color:#64748b;
  font-size:11px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:0;
  text-transform:none;
}

:is(
  .reports300-summaryCard,
  .delivery-report-summary article,
  .rework-report-card,
  .rank-report-summary article,
  .vk-delivery-report-card,
  .vzo-report-metric,
  .award-flow-card
) > strong,
.requisites-report-card__value strong{
  display:block;
  min-height:30px;
  margin-top:5px;
  color:#0f172a;
  font-size:28px;
  line-height:1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.reports300-summaryCard small{
  display:block;
  margin-top:7px;
  color:#64748b;
  font-size:10px;
  line-height:1.2;
  font-weight:800;
}

.reports300-summaryCard--current,
.delivery-report-summary__current,
.rework-report-card--debt,
.rank-report-summary__debt{
  border-top-color:#dc2626 !important;
}

.reports300-summaryCard--added,
.rank-report-summary__added,
.vk-delivery-report-card--total{
  border-top-color:#2563eb !important;
}

.reports300-summaryCard--completed,
.delivery-report-summary__dynamic,
.rework-report-card--dynamic,
.rank-report-summary__completed{
  border-top-color:#16a34a !important;
}

.reports300-summaryCard--amber,
.delivery-report-summary__absence,
.requisites-report-card--recent{
  border-top-color:#d97706 !important;
}

.reports300-summaryCard--rose,
.delivery-report-summary__service,
.requisites-report-card--overdue{
  border-top-color:#be123c !important;
}

.reports300-summaryCard--steel,
.delivery-report-summary__debt{
  border-top-color:#475569 !important;
}

.reports300-summaryCard--current strong,
.delivery-report-summary__current strong,
.rework-report-card--debt strong,
.rank-report-summary__debt strong{
  color:#b91c1c;
}

.reports300-summaryCard--added strong,
.rank-report-summary__added strong{
  color:#1d4ed8;
}

.reports300-summaryCard--completed strong,
.delivery-report-summary__dynamic strong,
.rework-report-card--dynamic strong,
.rank-report-summary__completed strong{
  color:#15803d;
}

.reports300-summaryCard--amber strong{color:#b45309}
.reports300-summaryCard--rose strong{color:#be123c}
.reports300-summaryCard--steel strong{color:#334155}

.reports300-panel,
.vzo-report-section,
.award-flow-section,
.vk-delivery-report-panel{
  min-width:0;
  padding:10px;
  border:1px solid #d8e2ee;
  border-radius:7px;
  background:#ffffff;
  box-shadow:none;
}

.reports300-panel__head,
.vzo-report-section__head,
.award-flow-section__head,
.vk-delivery-report-panel__head,
.rank-report-tableHead{
  display:flex;
  min-width:0;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:9px;
}

:is(
  .reports300-panel__head,
  .vzo-report-section__head,
  .award-flow-section__head,
  .vk-delivery-report-panel__head,
  .rank-report-tableHead
) h2{
  margin:0;
  color:#0f172a;
  font-size:17px;
  line-height:1.2;
  font-weight:950;
}

:is(
  .reports300-panel__head,
  .vzo-report-section__head,
  .award-flow-section__head,
  .vk-delivery-report-panel__head,
  .rank-report-tableHead
) span{
  color:#64748b;
  font-size:11px;
  font-weight:800;
}

.reports300-panel__facts{
  display:flex;
  min-width:0;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}

.reports300-panel__facts > span{
  display:inline-flex;
  min-width:0;
  align-items:center;
  gap:5px;
  padding:5px 8px;
  border:1px solid #dbe4ee;
  border-radius:6px;
  background:#f8fafc;
  white-space:nowrap;
}

.reports300-panel__facts b{
  max-width:180px;
  overflow:hidden;
  color:#0f172a;
  text-overflow:ellipsis;
}

.reports300-tableWrap,
.delivery-report-tableWrap,
.rework-report-tableWrap,
.requisites-report-tableWrap,
.rank-report-tableWrap,
.vzo-report-tableWrap,
.award-flow-tableWrap,
.vk-delivery-report-tableWrap{
  border:1px solid #cbd5e1;
  border-radius:7px;
  background:#ffffff;
  box-shadow:none;
}

.reports300-tableWrap{
  width:100%;
  min-width:0;
  overflow:auto;
}

.reports300-table{
  width:100%;
  min-width:860px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}

:is(
  .reports300-table,
  .delivery-report-table,
  .rework-report-table,
  .requisites-report-table,
  .rank-report-table,
  .vzo-report-table,
  .award-flow-table,
  .vk-delivery-report-table
) th,
:is(
  .reports300-table,
  .delivery-report-table,
  .rework-report-table,
  .requisites-report-table,
  .rank-report-table,
  .vzo-report-table,
  .award-flow-table,
  .vk-delivery-report-table
) td{
  border-right-color:#d5dee8;
  border-bottom-color:#d5dee8;
}

.reports300-table th,
.reports300-table td{
  padding:9px 8px;
  border-right:1px solid #d5dee8;
  border-bottom:1px solid #d5dee8;
  vertical-align:middle;
}

.reports300-table tr > :last-child{border-right:0}
.reports300-table tbody tr:last-child > *{border-bottom:0}

:is(
  .reports300-table,
  .delivery-report-table,
  .rework-report-table,
  .requisites-report-table,
  .rank-report-table,
  .vzo-report-table,
  .award-flow-table,
  .vk-delivery-report-table
) thead th{
  background:#e7edf4;
  color:#334155;
  font-size:12px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:0;
  text-align:center;
}

.reports300-table thead th > span{
  display:block;
  margin-top:2px;
  color:#64748b;
  font-size:10px;
}

.reports300-nameCol{
  width:28%;
  text-align:left !important;
}

.reports300-total > *,
.delivery-report-total > *,
.rework-report-total > *,
.requisites-report-total > *,
.rank-report-total > *,
.vzo-report-total > *,
.award-flow-table__total > *,
.vk-delivery-report-total > *{
  background:#fff5cf !important;
  font-weight:950 !important;
}

.reports300-ovuRow > *,
.delivery-report-ovu > *,
.rework-report-ovu > *,
.requisites-report-ovu > *,
.rank-report-ovu > *{
  background:#edf5fd !important;
  font-weight:950 !important;
}

.vzo-report-ovu > *{
  background:#ffffff !important;
  font-weight:850 !important;
}

.vzo-report-ovu > th{
  color:#334155 !important;
  font-weight:800 !important;
}

.vzo-report-coverage{
  border-top:4px solid #0f766e !important;
  background:#f0fdfa !important;
}

.vzo-report-coverage__text strong{
  color:#0f766e;
}

.vzo-report-metric--line{
  border-top-color:#2563eb !important;
  background:#eff6ff !important;
}

.vzo-report-metric--line strong{
  color:#1d4ed8 !important;
}

.vzo-report-metric--awards{
  border-top-color:#d97706 !important;
  background:#fffbeb !important;
}

.vzo-report-metric--awards strong{
  color:#b45309 !important;
}

.vzo-report-metric--year{
  border-top-color:#16a34a !important;
  background:#f0fdf4 !important;
}

.vzo-report-metric--year strong{
  color:#15803d !important;
}

.vzo-report-metric--empty{
  border-top-color:#dc2626 !important;
  background:#fff1f2 !important;
}

.vzo-report-metric--empty strong{
  color:#b91c1c !important;
}

.vzo-report-categoryTable thead th{
  background:#e8f0f8 !important;
  color:#1e3a5f !important;
}

.reports300-total th,
.reports300-ovuRow th,
.reports300-vchRow th{
  color:#0f172a;
  text-align:left;
}

.reports300-ovuRow th{
  display:flex;
  align-items:center;
  gap:8px;
}

.reports300-vchRow th{
  padding-left:48px;
  color:#475569;
  font-weight:800;
}

.reports300-number{
  color:#0f172a;
  font-size:16px;
  font-weight:900;
  text-align:center;
  font-variant-numeric:tabular-nums;
}

.reports300-number--current{color:#0f172a}
.reports300-number--added{color:#dc2626}
.reports300-number--completed{color:#15803d}
.reports300-number--amber{color:#b45309}
.reports300-number--rose{color:#be123c}
.reports300-number--steel{color:#334155}

.reports300-summaryCard__meta{
  display:flex !important;
  min-height:18px;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
}

.reports300-summaryCard__meta b{
  margin-right:auto;
  color:#64748b;
  font-size:10px;
  font-weight:800;
}

.reports300-summaryCard__meta i,
.reports300-categoryMetric i{
  font-style:normal;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.reports300-summaryCard__meta .is-added,
.reports300-categoryMetric .is-added{
  color:#dc2626;
}

.reports300-summaryCard__meta .is-completed,
.reports300-categoryMetric .is-completed{
  color:#15803d;
}

.reports300-categoryMetric{
  padding-inline:5px !important;
  text-align:center;
  font-variant-numeric:tabular-nums;
}

.reports300-categoryMetric > strong{
  display:block;
  color:#0f172a;
  font-size:16px;
  line-height:1;
  font-weight:950;
}

.reports300-categoryMetric--amber > strong{color:#b45309}
.reports300-categoryMetric--rose > strong{color:#be123c}
.reports300-categoryMetric--steel > strong{color:#334155}

.reports300-categoryMetric > span{
  display:flex;
  min-height:15px;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-top:4px;
  font-size:11px;
}

.reports300-summaryCard{
  min-height:86px;
}

.reports300-summaryCard--added{
  border-top-color:#dc2626 !important;
}

.reports300-summaryCard--added > strong{
  color:#dc2626;
}

.reports300-summaryCard--current{
  border-top-color:#475569 !important;
}

.reports300-summaryCard--current > strong{
  color:#0f172a;
}

.reports300-summaryCard__values,
.reports300-categoryMetric__values{
  display:flex;
  min-width:0;
  align-items:baseline;
  justify-content:space-between;
  gap:8px;
}

.reports300-summaryCard__values{
  min-height:30px;
  margin-top:5px;
}

.reports300-summaryCard__values > strong{
  color:#0f172a;
  font-size:28px;
  line-height:1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.reports300-summaryCard__values > i{
  color:#15803d;
  font-size:20px;
  line-height:1;
  font-style:normal;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.reports300-categoryMetric__values{
  justify-content:center;
}

.reports300-categoryMetric__values > strong{
  color:#0f172a;
  font-size:16px;
  line-height:1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.reports300-categoryMetric--amber .reports300-categoryMetric__values > strong{color:#b45309}
.reports300-categoryMetric--rose .reports300-categoryMetric__values > strong{color:#be123c}
.reports300-categoryMetric--steel .reports300-categoryMetric__values > strong{color:#334155}

.reports300-categoryMetric__values > i{
  color:#15803d;
  font-size:16px;
  line-height:1;
  font-style:normal;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.reports300-ovuRow .delivery-report-expand:disabled{
  border-color:#dbe4ee;
  color:#94a3b8;
  cursor:default;
}

.award-flow-title{
  display:none;
}

.vzo-report-board,
.award-flow-board{
  gap:9px;
}

.vzo-report-overview{
  gap:8px;
}

.vzo-report-coverage{
  border-radius:7px;
  box-shadow:none;
}

.award-flow-card{
  min-height:100px;
}

.award-flow-card > small{
  margin-top:7px;
}

.reports300-footer,
.vzo-report-footer,
.award-flow-footer,
.vk-delivery-report-footer{
  padding:2px 3px;
  color:#64748b;
  font-size:10px;
  font-weight:800;
}

@media (max-width:1180px){
  .report-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .report-toolbar__actions{
    width:100%;
    justify-content:flex-start;
  }

  .reports300-summary{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media (max-width:820px){
  .control-reports-tabs{
    max-width:100%;
  }

  .reports300-panel__head{
    align-items:flex-start;
    flex-direction:column;
  }

  .reports300-panel__facts{
    justify-content:flex-start;
  }
}

@media (max-width:560px){
  .report-toolbar{
    padding:10px;
  }

  .report-toolbar__actions{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .report-toolbar__actions .delivery-report-filterGroup{
    grid-column:1 / -1;
    width:100%;
  }

  .report-toolbar__actions > .btn{
    width:100%;
    min-width:0;
    white-space:normal;
  }

  .reports300-summary{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  :is(
    .reports300-summaryCard,
    .delivery-report-summary article,
    .rework-report-card,
    .requisites-report-card,
    .rank-report-summary article,
    .vk-delivery-report-card,
    .vzo-report-metric,
    .award-flow-card
  ) > strong,
  .requisites-report-card__value strong{
    font-size:25px;
  }
}

@media print{
  .report-body{
    background:#ffffff !important;
  }

  .reports300-board,
  .vzo-report-board,
  .award-flow-board,
  .award-withdrawals-board{
    width:100%;
    padding:0;
    border:0;
    background:#ffffff;
  }

  .award-flow-title{
    display:flex !important;
  }

  .reports300-summary{
    grid-template-columns:repeat(6, minmax(0, 1fr));
    gap:5px;
    margin-bottom:4mm;
  }

  .reports300-summaryCard{
    min-height:0;
    padding:7px 8px;
    break-inside:avoid;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }

  .reports300-summaryCard > span{
    min-height:24px;
    font-size:9px;
  }

  .reports300-summaryCard > strong{
    min-height:0;
    font-size:21px;
  }

  .reports300-summaryCard > small{
    font-size:8px;
  }

  :is(
    .delivery-report-summary article,
    .rework-report-card,
    .requisites-report-card,
    .rank-report-summary article,
    .vk-delivery-report-card,
    .vzo-report-metric,
    .award-flow-card
  ){
    min-height:0;
    padding:7px 8px;
    box-shadow:none !important;
    -webkit-print-color-adjust:exact;
    print-color-adjust:exact;
  }

  .rank-report-summary article > span{
    min-height:0;
    font-size:11px;
  }

  .rank-report-summary article > strong{
    min-height:0;
    margin-top:2px;
    font-size:20px;
  }

  .vk-delivery-report-card > span{
    min-height:26px;
    font-size:9px;
  }

  .vk-delivery-report-card > strong,
  .vk-delivery-report-card strong{
    min-height:0;
    font-size:22px;
  }

  .rank-report-table thead th{
    font-size:16px;
  }

  .rank-report-table thead .rank-report-flowColumn{
    font-size:15px;
  }

  .vk-delivery-report-table th,
  .vk-delivery-report-table td{
    padding:4px 5px;
    border-color:#64748b;
    font-size:8px;
  }

  .delivery-report-table,
  .rework-report-table{
    font-size:10px;
  }

  .requisites-report-table{
    font-size:9px;
  }

  .requisites-report-table th,
  .requisites-report-table td{
    padding:5px 3px;
  }

  .delivery-report-table th,
  .delivery-report-table td,
  .rework-report-table th,
  .rework-report-table td{
    padding:6px 5px;
  }

  .reports300-panel{
    padding:0;
    border:0;
  }

  .reports300-panel__facts,
  .reports300-footer{
    display:none;
  }

  .reports300-tableWrap{
    overflow:visible;
    border-radius:0;
  }

  .reports300-table{
    min-width:0;
  }

  .reports300-table th,
  .reports300-table td{
    padding:6px;
  }

  .reports300-table .delivery-report-expand{
    display:none;
  }
}

@media screen{
  .control-reports-page{
    --report-unit-column:clamp(230px, 19vw, 280px);
    width:100%;
    max-width:none;
  }

  .control-reports-pane,
  .reports300-page,
  .report-body{
    width:100%;
    max-width:none;
  }

  .report-body{
    box-sizing:border-box;
    padding:10px;
    border:1px solid #d8e2ee;
    border-radius:8px;
    background:#f6f8fb;
  }

  .reports300-board,
  .vzo-report-board,
  .award-flow-board,
  .award-withdrawals-board{
    width:100%;
    max-width:none;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
  }

  .report-table-section{
    min-width:0;
    padding:10px;
    border:1px solid #d8e2ee;
    border-radius:7px;
    background:#ffffff;
  }

  .report-table-section__head{
    display:flex;
    min-width:0;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    margin-bottom:9px;
  }

  .report-table-section__head h2{
    margin:0;
    color:#0f172a;
    font-size:17px;
    line-height:1.2;
    font-weight:950;
  }

  .report-table-section__head span{
    display:block;
    margin-top:2px;
    color:#64748b;
    font-size:11px;
    font-weight:800;
  }

  .reports300-nameCol,
  .delivery-report-nameCol,
  .rework-report-nameCol,
  .requisites-report-nameCol,
  .vzo-report-table:not(.vzo-report-categoryTable) thead th:first-child,
  .vzo-report-table:not(.vzo-report-categoryTable) tbody th,
  .vk-delivery-report-table .vk-delivery-report-name,
  .rank-report-table .rank-report-nameColumn,
  .rank-report-table tbody th{
    box-sizing:border-box;
    width:var(--report-unit-column);
    min-width:var(--report-unit-column);
    max-width:var(--report-unit-column);
  }

  .reports300-table,
  .delivery-report-table,
  .rework-report-table,
  .requisites-report-table,
  .vzo-report-table,
  .award-flow-table,
  .vk-delivery-report-table{
    width:100%;
  }

  .reports300-table{min-width:1040px}
  .delivery-report-table{min-width:1040px}
  .rework-report-table{min-width:820px}
  .requisites-report-table{min-width:1160px}
  .vzo-report-table:not(.vzo-report-categoryTable){min-width:980px}
  .award-flow-table{min-width:900px}
  .vk-delivery-report-table{min-width:1200px}

  .vzo-report-categoryTable thead th:first-child,
  .vzo-report-categoryTable tbody th{
    width:190px;
    min-width:190px;
    max-width:190px;
  }

  .award-flow-table thead th:first-child,
  .award-flow-table tbody th{
    width:120px;
    min-width:120px;
    max-width:120px;
  }

  .vk-delivery-report-table .vk-delivery-report-index{
    width:46px;
    min-width:46px;
    max-width:46px;
  }

  .vk-delivery-report-flowHead--added,
  .vk-delivery-report-flow--added{
    width:150px;
  }

  .vk-delivery-report-flowHead--completed,
  .vk-delivery-report-flow--completed{
    width:170px;
  }

  .vk-delivery-report-flowHead--required,
  .vk-delivery-report-flow--required{
    width:160px;
  }

  :is(
    .reports300-table,
    .delivery-report-table,
    .rework-report-table,
    .requisites-report-table,
    .vzo-report-table,
    .award-flow-table,
    .vk-delivery-report-table
  ) tbody td,
  :is(
    .reports300-table,
    .delivery-report-table,
    .rework-report-table,
    .requisites-report-table,
    .vzo-report-table,
    .award-flow-table,
    .vk-delivery-report-table
  ) tbody th{
    box-sizing:border-box;
    min-height:42px;
    padding:9px 8px;
    font-size:15px;
    line-height:1.2;
  }

  :is(
    .reports300-table,
    .delivery-report-table,
    .rework-report-table,
    .requisites-report-table,
    .vzo-report-table,
    .award-flow-table,
    .vk-delivery-report-table
  ) thead th{
    box-sizing:border-box;
    height:54px;
    padding:8px 7px;
    font-size:12px;
    line-height:1.2;
    text-align:center;
    vertical-align:middle;
  }

  :is(
    .reports300-table,
    .delivery-report-table,
    .rework-report-table,
    .requisites-report-table,
    .vzo-report-table,
    .award-flow-table,
    .vk-delivery-report-table
  ) thead th:first-child{
    text-align:left;
  }

  :is(
    .reports300-total,
    .delivery-report-total,
    .rework-report-total,
    .requisites-report-total,
    .vzo-report-total,
    .award-flow-table__total,
    .vk-delivery-report-total
  ) > *{
    font-size:17px !important;
    line-height:1.15;
  }

  .rank-report-table .rank-report-nameColumn,
  .rank-report-table tbody th{
    width:var(--report-unit-column);
    min-width:var(--report-unit-column);
    max-width:var(--report-unit-column);
  }

  .rank-report-table thead th{
    height:198px;
    font-size:16px;
  }

  .rank-report-table tbody th,
  .rank-report-table tbody td{
    min-height:42px;
    font-size:15px;
  }

  .rank-report-total > *{
    font-size:17px !important;
  }

  .delivery-report-summary,
  .rework-report-summary,
  .requisites-report-summary,
  .rank-report-summary,
  .vk-delivery-report-summary,
  .reports300-summary,
  .award-flow-cards{
    width:100%;
  }
}

@media screen and (max-width:820px){
  .control-reports-page{
    --report-unit-column:220px;
  }

  .report-body{
    padding:8px;
  }
}

/* Control 300: fixed visual order and aligned category dynamics. */
.reports300-summaryCard--added{
  border-color:#fecaca !important;
  border-top-color:#dc2626 !important;
  background:#fff1f2 !important;
}

.reports300-summaryCard--completed{
  border-color:#bbf7d0 !important;
  border-top-color:#16a34a !important;
  background:#f0fdf4 !important;
}

.reports300-table .reports300-flowHead,
.reports300-table .reports300-number{
  width:11%;
}

.reports300-table .reports300-flowHead--added,
.reports300-table tr > .reports300-number--added{
  border-right-color:#fecaca !important;
  background:#fff1f2 !important;
  color:#b91c1c !important;
}

.reports300-table .reports300-flowHead--completed,
.reports300-table tr > .reports300-number--completed{
  border-right-color:#bbf7d0 !important;
  background:#f0fdf4 !important;
  color:#15803d !important;
}

.reports300-table .reports300-flowHead--current,
.reports300-table tr > .reports300-number--current{
  border-right:2px solid #94a3b8 !important;
  background:#f4f7fa !important;
  color:#0f172a !important;
}

.reports300-summaryCard__values,
.reports300-categoryMetric__values{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:0;
  width:100%;
  align-items:center;
}

.reports300-summaryCard__values > strong,
.reports300-summaryCard__values > i,
.reports300-categoryMetric__values > strong,
.reports300-categoryMetric__values > i{
  display:block;
  min-width:0;
  margin:0;
  text-align:center;
  font-variant-numeric:tabular-nums;
}

.reports300-summaryCard__values > i:empty,
.reports300-categoryMetric__values > i:empty{
  visibility:hidden;
}

/* Shared report language: metric on the first line, period on the second. */
.report-periodSub,
.rank-report-headSub,
.vk-delivery-report-headPeriod{
  display:block !important;
  min-height:0 !important;
  margin-top:3px !important;
  color:#64748b !important;
  font-size:11px !important;
  line-height:1.05 !important;
  font-weight:750 !important;
  white-space:nowrap;
}

.reports300-summaryCard > span,
.rank-report-summary article > span,
.delivery-report-summary article > span,
.rework-report-card > span{
  min-height:34px;
}

/* Added / completed / balance use the same visual language in every report. */
.rank-report-summary__added{
  border-color:#fecaca !important;
  border-top-color:#dc2626 !important;
  background:#fff1f2 !important;
}

.rank-report-summary__added > strong{
  color:#b91c1c !important;
}

.rank-report-summary__completed,
.delivery-report-summary__dynamic,
.rework-report-card--dynamic{
  border-color:#bbf7d0 !important;
  border-top-color:#16a34a !important;
  background:#f0fdf4 !important;
}

.delivery-report-table .delivery-report-flowHead--completed,
.delivery-report-table tr > .delivery-report-number--completed,
.rework-report-table .rework-report-flowHead--completed,
.rework-report-table tr > .rework-report-number--completed,
.requisites-report-table .requisites-report-flowHead--completed,
.requisites-report-table tr > .requisites-report-number--completed{
  border-right-color:#bbf7d0 !important;
  background:#f0fdf4 !important;
  color:#15803d !important;
  text-align:center !important;
}

.delivery-report-table .delivery-report-flowHead--completed,
.rework-report-table .rework-report-flowHead--completed,
.requisites-report-table .requisites-report-flowHead--completed{
  font-weight:950 !important;
}

.reports300-table .reports300-flowHead,
.delivery-report-table .delivery-report-flowHead--completed,
.rework-report-table .rework-report-flowHead--completed,
.requisites-report-table .requisites-report-flowHead--completed,
.rank-report-table .rank-report-flowColumn,
.vk-delivery-report-table :is(.vk-delivery-report-flowHead--added, .vk-delivery-report-flowHead--completed, .vk-delivery-report-flowHead--required){
  text-align:center !important;
  vertical-align:middle !important;
}

.reports300-number,
.delivery-report-number,
.rework-report-number,
.requisites-report-table td,
.rank-report-flowColumn,
.vk-delivery-report-flow{
  font-variant-numeric:tabular-nums;
}

/* Payments report follows the same added / completed / balance structure. */
.requisites-report-card__flow{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:0;
  overflow:hidden;
  margin-top:9px;
  border:1px solid #dbe4ee;
  border-radius:6px;
}

.requisites-report-card__flowItem{
  min-width:0;
  min-height:74px;
  padding:8px 6px;
  border-right:1px solid #dbe4ee;
  text-align:center;
}

.requisites-report-card__flowItem:last-child{
  border-right:0;
}

.requisites-report-card__flowItem--added{
  background:#fff1f2;
}

.requisites-report-card__flowItem--completed{
  background:#f0fdf4;
}

.requisites-report-card__flowItem--current{
  background:#f4f7fa;
}

.requisites-report-card__flowItem small{
  display:block;
  min-height:27px;
  color:#64748b;
  font-size:10px;
  line-height:1.05;
  font-weight:850;
}

.requisites-report-card__flowItem strong{
  display:block;
  min-height:25px;
  margin-top:5px;
  color:#0f172a;
  font-size:23px;
  line-height:1;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.requisites-report-card__flowItem--added strong{
  color:#b91c1c;
}

.requisites-report-card__flowItem--completed strong{
  color:#15803d;
}

.requisites-report-card__requisites{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:8px;
  padding:7px 9px;
  border:1px solid #dbeafe;
  border-radius:5px;
  background:#eff6ff;
  color:#475569;
  font-size:11px;
  font-weight:850;
}

.requisites-report-card__requisites strong{
  color:#1d4ed8;
  font-size:15px;
  font-weight:950;
  font-variant-numeric:tabular-nums;
}

.requisites-report-table .requisites-report-flowHead--added,
.requisites-report-table tr > .requisites-report-number--added{
  border-right-color:#fecaca !important;
  background:#fff1f2 !important;
  color:#b91c1c !important;
  text-align:center !important;
}

.requisites-report-table .requisites-report-flowHead--current,
.requisites-report-table tr > .requisites-report-number--current{
  background:#f4f7fa !important;
  color:#0f172a !important;
  text-align:center !important;
}

@media screen{
  .requisites-report-table{
    min-width:1280px;
  }
}

/* Additional rework uses the same added / completed / balance structure. */
.rework-report-summary{
  grid-template-columns:repeat(6, minmax(0, 1fr));
}

.rework-report-card--added{
  border-color:#fecaca !important;
  border-top-color:#dc2626 !important;
  background:#fff1f2 !important;
}

.rework-report-card--added > strong{
  color:#b91c1c !important;
}

.rework-report-card--current{
  border-color:#d8e2ee !important;
  border-top-color:#64748b !important;
  background:#f4f7fa !important;
}

.rework-report-card--current > strong{
  color:#0f172a !important;
}

.rework-report-table .rework-report-flowHead--added,
.rework-report-table tr > .rework-report-number--added{
  border-right-color:#fecaca !important;
  background:#fff1f2 !important;
  color:#b91c1c !important;
  text-align:center !important;
}

.rework-report-table .rework-report-flowHead--current,
.rework-report-table tr > .rework-report-number--current{
  border-right:2px solid #94a3b8 !important;
  background:#f4f7fa !important;
  color:#0f172a !important;
  text-align:center !important;
}

.rework-report-table :is(.rework-report-flowHead--added, .rework-report-flowHead--completed, .rework-report-flowHead--current){
  text-align:center !important;
  vertical-align:middle !important;
}

@media screen{
  .rework-report-table{
    min-width:980px;
  }
}

@media screen and (max-width:1100px){
  .rework-report-summary{
    grid-template-columns:repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width:680px){
  .rework-report-summary{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

/* Delivery report mirrors added / completed / balance in both logical groups. */
.delivery-report-summary{
  grid-template-columns:repeat(15, minmax(0, 1fr));
}

.delivery-report-summary > article:nth-child(-n+5){
  grid-column:span 3;
}

.delivery-report-summary > article:nth-child(n+6){
  grid-column:span 5;
}

.delivery-report-summary__added{
  border-color:#fecaca !important;
  border-top-color:#dc2626 !important;
  background:#fff1f2 !important;
}

.delivery-report-summary__added > strong{
  color:#b91c1c !important;
}

.delivery-report-summary__current{
  border-color:#d8e2ee !important;
  border-top-color:#64748b !important;
  background:#f4f7fa !important;
}

.delivery-report-summary__current > strong{
  color:#0f172a !important;
}

.delivery-report-summary__reworkStart{
  border-left:4px solid #64748b !important;
}

.delivery-report-table .delivery-report-flowHead--added,
.delivery-report-table tr > .delivery-report-number--added{
  border-right-color:#fecaca !important;
  background:#fff1f2 !important;
  color:#b91c1c !important;
  text-align:center !important;
}

.delivery-report-table .delivery-report-flowHead--current,
.delivery-report-table tr > .delivery-report-number--current{
  background:#f4f7fa !important;
  color:#0f172a !important;
  text-align:center !important;
}

.delivery-report-table :is(.delivery-report-flowHead--added, .delivery-report-flowHead--completed, .delivery-report-flowHead--current){
  text-align:center !important;
  vertical-align:middle !important;
}

@media screen{
  .delivery-report-table{
    min-width:1200px;
  }
}

@media screen and (max-width:1100px){
  .delivery-report-summary{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  .delivery-report-summary > article:nth-child(n){
    grid-column:auto;
  }
}

@media screen and (max-width:680px){
  .delivery-report-summary{
    grid-template-columns:1fr;
  }
}

/* Combined reports builder and print document. */
.combined-report-printHost{
  display:none;
}

.combined-report-builder{
  overflow:hidden;
  border:1px solid #d8e2ee;
  border-radius:8px;
  background:#ffffff;
}

.combined-report-builder__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:18px 20px;
  border-bottom:1px solid #d8e2ee;
  background:#f8fafc;
}

.combined-report-builder__head .h1{
  margin-bottom:3px;
  font-size:22px;
}

.combined-report-titleField{
  display:grid;
  grid-template-columns:180px minmax(0, 1fr);
  align-items:center;
  gap:16px;
  padding:16px 20px;
  border-bottom:1px solid #e2e8f0;
}

.combined-report-titleField > span{
  color:#334155;
  font-size:13px;
  font-weight:900;
}

.combined-report-titleField .input{
  width:100%;
  min-width:0;
  font-size:15px;
  font-weight:800;
}

.combined-report-periodField{
  display:grid;
  grid-template-columns:180px minmax(170px, 240px) minmax(170px, 240px);
  align-items:center;
  gap:16px;
  padding:12px 20px;
  border-bottom:1px solid #e2e8f0;
  background:#fbfdff;
}

.combined-report-periodField > span{
  color:#334155;
  font-size:13px;
  font-weight:900;
}

.combined-report-periodField label{
  display:grid;
  grid-template-columns:22px minmax(0, 1fr);
  align-items:center;
  gap:7px;
  min-width:0;
}

.combined-report-periodField small{
  color:#64748b;
  font-size:12px;
  font-weight:850;
  text-align:right;
}

.combined-report-periodField .input{
  width:100%;
  min-width:0;
  font-weight:800;
}

.combined-report-listHead,
.combined-report-item{
  display:grid;
  grid-template-columns:76px 68px minmax(0, 1fr) 112px;
  align-items:center;
}

.combined-report-listHead{
  min-height:36px;
  padding:0 20px;
  border-bottom:1px solid #d8e2ee;
  background:#eef3f8;
  color:#64748b;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
}

.combined-report-item{
  min-height:72px;
  padding:8px 20px;
  border-bottom:1px solid #e2e8f0;
  background:#ffffff;
  transition:background-color .18s ease, opacity .18s ease;
}

.combined-report-item:last-child{
  border-bottom:0;
}

.combined-report-item:not(.is-enabled){
  background:#f8fafc;
  opacity:.62;
}

.combined-report-item__check{
  display:flex;
  align-items:center;
  width:40px;
  height:32px;
  cursor:pointer;
}

.combined-report-item__check input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.combined-report-item__check span{
  position:relative;
  display:block;
  width:34px;
  height:20px;
  border:1px solid #94a3b8;
  border-radius:10px;
  background:#cbd5e1;
  transition:.18s ease;
}

.combined-report-item__check span::after{
  content:"";
  position:absolute;
  top:2px;
  left:2px;
  width:14px;
  height:14px;
  border-radius:50%;
  background:#ffffff;
  box-shadow:0 1px 3px rgba(15,23,42,.22);
  transition:.18s ease;
}

.combined-report-item__check input:checked + span{
  border-color:#2563eb;
  background:#2563eb;
}

.combined-report-item__check input:checked + span::after{
  transform:translateX(14px);
}

.combined-report-item__check input:focus-visible + span{
  outline:3px solid rgba(37,99,235,.2);
  outline-offset:2px;
}

.combined-report-item__order{
  color:#64748b;
  font-size:18px;
  font-variant-numeric:tabular-nums;
}

.combined-report-item__title{
  display:grid;
  grid-template-columns:minmax(180px, 34%) minmax(0, 1fr);
  align-items:center;
  gap:14px;
  min-width:0;
  padding-right:18px;
}

.combined-report-item__title > span{
  overflow:hidden;
  color:#0f172a;
  font-size:14px;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.combined-report-item__title .input{
  width:100%;
  min-width:0;
}

.combined-report-item__rankOption{
  display:grid;
  grid-template-columns:auto 128px;
  align-items:center;
  gap:8px;
  grid-column:2;
  color:#64748b;
  font-size:11px;
  font-weight:900;
}

.combined-report-item__rankOption small{
  font:inherit;
}

.combined-report-item__rankOption .input{
  height:34px;
  padding-top:4px;
  padding-bottom:4px;
  font-size:12px;
  font-weight:800;
}

.combined-report-item__move{
  display:flex;
  justify-content:flex-end;
  gap:6px;
}

.combined-report-item__move button{
  display:grid;
  place-items:center;
  width:38px;
  height:34px;
  border:1px solid #cbd5e1;
  border-radius:6px;
  background:#ffffff;
  color:#334155;
  font:inherit;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
}

.combined-report-item__move button:hover:not(:disabled){
  border-color:#94a3b8;
  background:#f1f5f9;
  color:#0f172a;
}

.combined-report-item__move button:disabled{
  opacity:.28;
  cursor:default;
}

.combined-report-builder__footer{
  display:flex;
  min-height:52px;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:10px 20px;
  border-top:1px solid #d8e2ee;
  background:#f8fafc;
  color:#475569;
  font-size:13px;
}

#combinedReportStatus{
  text-align:right;
}

@media screen and (max-width:900px){
  .combined-report-listHead{
    display:none;
  }

  .combined-report-item{
    grid-template-columns:54px 44px minmax(0, 1fr) 92px;
    padding:10px 12px;
  }

  .combined-report-item__title{
    grid-template-columns:1fr;
    gap:5px;
    padding-right:10px;
  }

  .combined-report-item__title > span{
    font-size:12px;
  }

  .combined-report-item__rankOption{
    grid-column:1;
    grid-template-columns:auto minmax(120px, 1fr);
  }
}

@media screen and (max-width:640px){
  .combined-report-builder__head,
  .combined-report-titleField,
  .combined-report-periodField,
  .combined-report-builder__footer{
    align-items:stretch;
    grid-template-columns:1fr;
    flex-direction:column;
  }

  .combined-report-builder__head .btn{
    width:100%;
  }

  .combined-report-titleField{
    gap:7px;
  }

  .combined-report-periodField{
    gap:8px;
  }

  .combined-report-item{
    grid-template-columns:42px 34px minmax(0, 1fr);
  }

  .combined-report-item__move{
    grid-column:3;
    justify-content:flex-start;
    margin-top:7px;
  }

  #combinedReportStatus{
    text-align:left;
  }
}

@media print{
  body.combined-report-printing .control-reports-pane{
    display:none !important;
  }

  body.combined-report-printing .control-reports-pane[data-report-pane="main"]{
    display:block !important;
  }

  body.combined-report-printing .combined-report-builder{
    display:none !important;
  }

  body.combined-report-printing .combined-report-printHost{
    display:block !important;
  }

  body:not(.combined-report-printing) .combined-report-printHost{
    display:none !important;
  }

  .combined-report-document,
  .combined-report-slide,
  .combined-report-slide__content{
    width:100%;
    margin:0;
    padding:0;
  }

  .combined-report-slide{
    display:block;
    break-before:page;
    page-break-before:always;
  }

  .combined-report-slide:first-child{
    break-before:auto;
    page-break-before:auto;
  }

  .combined-report-slide__head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12mm;
    margin:0 0 4mm;
    padding:0 0 3mm;
    border-bottom:1.2px solid #334155;
    break-after:avoid;
    page-break-after:avoid;
  }

  .combined-report-slide__document{
    max-width:34%;
    color:#64748b;
    font-size:9pt;
    font-weight:800;
  }

  .combined-report-slide__titleRow{
    display:flex;
    min-width:0;
    align-items:flex-start;
    justify-content:flex-end;
    gap:4mm;
    text-align:right;
  }

  .combined-report-slide__titleRow > span{
    padding-top:1mm;
    color:#2563eb;
    font-size:12pt;
    font-weight:900;
  }

  .combined-report-slide__titleRow h1{
    max-width:175mm;
    margin:0;
    color:#0f172a;
    font-size:19pt;
    line-height:1.08;
    font-weight:900;
  }

  .combined-report-slide__titleRow small{
    display:block;
    margin-top:1.5mm;
    color:#64748b;
    font-size:8.5pt;
    font-weight:700;
  }

  .combined-report-slide__content{
    break-inside:auto;
    page-break-inside:auto;
  }

  .combined-report-slide__content .delivery-report-printHead,
  .combined-report-slide__content .vk-delivery-report-printHead,
  .combined-report-slide__content .reports300-printHead,
  .combined-report-slide__content .award-flow-title,
  .combined-report-slide__content .award-withdrawals-title{
    display:none !important;
  }

  .combined-report-slide__content table{
    break-inside:auto;
    page-break-inside:auto;
  }

  .combined-report-slide__content thead{
    display:table-header-group;
  }

  .combined-report-slide__content tr,
  .combined-report-slide__content article{
    break-inside:avoid;
    page-break-inside:avoid;
  }

}

/* A combined report is a sequence of self-contained A4 landscape slides. */
body.combined-report-measuring .combined-report-printHost{
  position:fixed;
  top:0;
  left:-100000px;
  z-index:-1;
  display:block !important;
  width:282.5mm;
  visibility:hidden;
  pointer-events:none;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide{
  box-sizing:border-box;
  display:flex;
  width:282.5mm;
  height:195mm;
  min-height:195mm;
  max-height:195mm;
  flex-direction:column;
  overflow:hidden;
  padding:0 !important;
  border:0 !important;
  outline:0 !important;
  background:#ffffff;
  box-shadow:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__head{
  box-sizing:border-box;
  display:flex;
  min-height:18mm;
  flex:0 0 auto;
  align-items:flex-end;
  justify-content:flex-end;
  gap:8mm;
  margin:0 0 2.5mm;
  padding:5mm 3mm 2mm;
  border:0 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__document{
  max-width:30%;
  color:#64748b;
  font-size:8.5pt;
  font-weight:800;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__titleRow{
  display:flex;
  min-width:0;
  align-items:flex-start;
  justify-content:flex-end;
  gap:0;
  text-align:right;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__titleRow > span{
  padding-top:.5mm;
  color:#2563eb;
  font-size:10pt;
  font-weight:900;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__titleRow h1{
  max-width:185mm;
  margin:0;
  color:#0f172a;
  font-size:16pt;
  line-height:1.05;
  font-weight:900;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__titleRow small{
  display:block;
  margin-top:1mm;
  color:#64748b;
  font-size:7.5pt;
  line-height:1;
  font-weight:700;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__viewport{
  position:relative;
  min-width:0;
  min-height:0;
  flex:1 1 auto;
  overflow:hidden;
  padding:0 3mm 3mm;
  border:0 !important;
  outline:0 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content{
  box-sizing:border-box;
  border:0 !important;
  outline:0 !important;
  transform-origin:top left;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide,
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide *{
  -webkit-print-color-adjust:exact !important;
  print-color-adjust:exact !important;
}

/* Metric cards remain visible unless a dense slide needs the room. */
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide.is-summary-hidden .combined-report-slide__content :is(
  .reports300-summary,
  .delivery-report-summary,
  .rework-report-summary,
  .requisites-report-summary,
  .rank-report-summary,
  .vk-delivery-report-summary,
  .vzo-report-overview,
  .award-flow-cards
){
  display:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .delivery-report-printHead,
  .vk-delivery-report-printHead,
  .reports300-printHead,
  .award-flow-title,
  .reports300-footer,
  .vzo-report-footer,
  .award-flow-footer,
  .rank-report-legend
){
  display:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-board,
  .vzo-report-board,
  .award-flow-board,
  .reports300-panel,
  .report-table-section,
  .vk-delivery-report-panel,
  .vzo-report-section,
  .award-flow-section
){
  box-sizing:border-box;
  width:100% !important;
  max-width:none !important;
  margin:0 0 2.5mm !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:#ffffff !important;
  box-shadow:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-panel__head,
  .report-table-section__head,
  .vk-delivery-report-panel__head,
  .vzo-report-section__head,
  .award-flow-section__head,
  .rank-report-tableHead
){
  min-height:0 !important;
  margin:0 0 1.5mm !important;
  padding:0 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-panel__head,
  .report-table-section__head,
  .vk-delivery-report-panel__head,
  .vzo-report-section__head,
  .award-flow-section__head,
  .rank-report-tableHead
) h2{
  margin:0 !important;
  color:#334155 !important;
  font-size:9pt !important;
  line-height:1.05 !important;
  font-weight:900 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-panel__head,
  .report-table-section__head,
  .vk-delivery-report-panel__head,
  .vzo-report-section__head,
  .award-flow-section__head,
  .rank-report-tableHead
) :is(span, b){
  display:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-tableWrap,
  .delivery-report-tableWrap,
  .rework-report-tableWrap,
  .requisites-report-tableWrap,
  .vzo-report-tableWrap,
  .award-flow-tableWrap,
  .vk-delivery-report-tableWrap,
  .rank-report-tableWrap
){
  width:100% !important;
  overflow:visible !important;
  border:0 !important;
  border-radius:0 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content table{
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  border:1px solid #64748b !important;
  border-collapse:collapse !important;
  border-spacing:0 !important;
  table-layout:fixed !important;
  background:#ffffff !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content table :is(th, td){
  box-sizing:border-box !important;
  height:auto !important;
  min-height:0 !important;
  padding:4px 5px !important;
  border:1px solid #64748b !important;
  color:#0f172a;
  font-size:11.5px !important;
  line-height:1.12 !important;
  vertical-align:middle !important;
  overflow-wrap:anywhere;
  box-shadow:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content table thead th{
  background:#e2e8f0 !important;
  color:#0f172a !important;
  font-weight:900 !important;
  text-align:center !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content table tbody th{
  font-weight:850 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-nameCol,
  .delivery-report-nameCol,
  .rework-report-nameCol,
  .requisites-report-nameCol,
  .rank-report-nameColumn,
  .vk-delivery-report-name
){
  width:24% !important;
  min-width:0 !important;
  max-width:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .delivery-report-expand,
  .vzo-report-expand
){
  display:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .rank-report-tableWrap--screen{
  display:block !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .rank-report-printTables,
  .rank-report-chnpPrintPage
){
  display:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .rank-report-mainPrintPage--withChnp{
  break-after:auto !important;
  page-break-after:auto !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .rank-report-table thead th{
  height:28mm !important;
  padding:1.5px 2px !important;
  font-size:8px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="ranks"] .rank-report-table tbody :is(th, td){
  font-size:13.5px !important;
  line-height:1.08 !important;
  font-weight:850 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="ranks"] .rank-report-table tbody th{
  font-size:12px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .rank-report-table .rank-report-rankColumn{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .award-flow-years{
  gap:2mm !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="awardFlowState"] .award-flow-years,
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="awardFlowVzo"] .award-flow-years{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr) !important;
  align-items:stretch !important;
  gap:5px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .award-flow-year{
  min-height:0 !important;
  padding:0 !important;
  border:1px solid #64748b !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .award-flow-year :is(small, b, strong){
  font-size:10.5px !important;
  line-height:1.05 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-board{
  display:block !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-cards{
  display:grid !important;
  grid-template-columns:repeat(5, minmax(0, 1fr)) !important;
  gap:5px !important;
  margin-bottom:2.5mm !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-card{
  min-height:58px !important;
  padding:6px 7px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-section{
  margin-bottom:1.5mm !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-section__head{
  margin-bottom:1mm !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-year > header{
  padding:5px 8px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-year :is(.award-flow-year__uk, .award-flow-year__results) > span{
  padding:6px 4px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-year small{
  min-height:20px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-year b{
  margin-top:2px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-table :is(th, td){
  padding:3px 5px !important;
  font-size:10.5px !important;
  line-height:1.04 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-table thead th{
  padding-top:4px !important;
  padding-bottom:4px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(
  [data-combined-slide="awardFlowState"],
  [data-combined-slide="awardFlowVzo"]
) .award-flow-table td small{
  margin-top:1px !important;
  font-size:8.5px !important;
}

/* Compact summary strips leave the report body, rather than decoration, most of the page. */
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="requisites"] .requisites-report-summary{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:5px !important;
  margin-bottom:2.5mm !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="requisites"] .requisites-report-card{
  min-height:0 !important;
  padding:5px 6px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="requisites"] .requisites-report-card > span{
  min-height:0 !important;
  margin-bottom:3px !important;
  font-size:9px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="requisites"] .requisites-report-card__flow{
  margin-top:0 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="requisites"] .requisites-report-card__flowItem{
  min-height:42px !important;
  padding:4px 3px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="requisites"] .requisites-report-card__flowItem small{
  min-height:18px !important;
  font-size:8px !important;
  line-height:1.04 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="requisites"] .requisites-report-card__flowItem strong{
  min-height:16px !important;
  margin-top:2px !important;
  font-size:17px !important;
  line-height:1 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="requisites"] .requisites-report-card__requisites{
  min-height:0 !important;
  margin-top:3px !important;
  padding:3px 5px !important;
  font-size:8px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-overview{
  display:grid !important;
  grid-template-columns:minmax(170px, .9fr) minmax(0, 3.4fr) !important;
  align-items:stretch !important;
  gap:5px !important;
  margin:0 0 2.5mm !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-coverage{
  min-height:64px !important;
  padding:5px 7px !important;
  gap:8px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-ring{
  width:52px !important;
  height:52px !important;
  flex:0 0 52px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-ring::before{
  width:38px !important;
  height:38px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-ring strong{
  font-size:13px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-ring span{
  font-size:6px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-coverage__text span{
  font-size:8.5px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-coverage__text strong{
  font-size:16px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-coverage__text small{
  margin-top:3px !important;
  font-size:8px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-metrics{
  display:grid !important;
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:5px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-metric{
  min-height:64px !important;
  padding:5px 6px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-metric > span{
  min-height:18px !important;
  font-size:8.5px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-metric > strong{
  min-height:18px !important;
  margin-top:2px !important;
  font-size:18px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="vzo"] .vzo-report-metric > small{
  margin-top:2px !important;
  font-size:7px !important;
  line-height:1 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-summary,
  .delivery-report-summary,
  .rework-report-summary,
  .requisites-report-summary,
  .rank-report-summary,
  .vk-delivery-report-summary,
  .award-flow-cards
){
  gap:5px !important;
  margin:0 0 2.5mm !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-summaryCard,
  .delivery-report-summary article,
  .rework-report-card,
  .requisites-report-card,
  .rank-report-summary article,
  .vk-delivery-report-card,
  .vzo-report-metric,
  .award-flow-card
){
  min-height:58px !important;
  padding:6px 7px !important;
  border-width:1px !important;
  border-top-width:3px !important;
  border-radius:4px !important;
  box-shadow:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-summaryCard,
  .delivery-report-summary article,
  .rework-report-card,
  .rank-report-summary article,
  .vk-delivery-report-card,
  .vzo-report-metric,
  .award-flow-card
) > span,
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .requisites-report-card > span{
  min-height:21px !important;
  font-size:9.5px !important;
  line-height:1.08 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-summaryCard,
  .delivery-report-summary article,
  .rework-report-card,
  .rank-report-summary article,
  .vk-delivery-report-card,
  .vzo-report-metric,
  .award-flow-card
) > strong,
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .requisites-report-card__value strong{
  min-height:21px !important;
  margin-top:2px !important;
  font-size:19px !important;
  line-height:1 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .reports300-summaryCard__values{
  min-height:22px !important;
  margin-top:2px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .reports300-summaryCard__values > strong{
  font-size:19px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .reports300-summaryCard__values > i{
  font-size:20px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content .reports300-categoryMetric__values > i{
  font-size:16px !important;
  line-height:1 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content table :is(th, td) *{
  font-size:inherit !important;
  line-height:inherit !important;
}

/* Added, completed and balance columns keep their semantic fills. */
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-flowHead--added,
  .reports300-number--added,
  .delivery-report-flowHead--added,
  .delivery-report-number--added,
  .rework-report-flowHead--added,
  .rework-report-number--added,
  .requisites-report-flowHead--added,
  .requisites-report-number--added,
  .rank-report-flowColumn--added,
  .vk-delivery-report-flowHead--added,
  .vk-delivery-report-flow--added
){
  background:#fff1f2 !important;
  color:#b91c1c !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-flowHead--completed,
  .reports300-number--completed,
  .delivery-report-flowHead--completed,
  .delivery-report-number--completed,
  .rework-report-flowHead--completed,
  .rework-report-number--completed,
  .requisites-report-flowHead--completed,
  .requisites-report-number--completed,
  .rank-report-flowColumn--completed,
  .vk-delivery-report-flowHead--completed,
  .vk-delivery-report-flow--completed
){
  background:#f0fdf4 !important;
  color:#15803d !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-flowHead--current,
  .reports300-number--current,
  .delivery-report-flowHead--current,
  .delivery-report-number--current,
  .rework-report-flowHead--current,
  .rework-report-number--current,
  .requisites-report-flowHead--current,
  .requisites-report-number--current,
  .rank-report-flowColumn--current,
  .vk-delivery-report-flowHead--required,
  .vk-delivery-report-flow--required
){
  background:#f4f7fa !important;
  color:#0f172a !important;
}

/* One semantic palette across every slide: incoming is red, completed is green. */
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-summaryCard--added,
  .delivery-report-summary__added,
  .rework-report-card--added,
  .rank-report-summary__added,
  .requisites-report-card__flowItem--added
){
  border-color:#fecaca !important;
  border-top-color:#dc2626 !important;
  background:#fff1f2 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-summaryCard--added,
  .delivery-report-summary__added,
  .rework-report-card--added,
  .rank-report-summary__added,
  .requisites-report-card__flowItem--added
) :is(span, small, strong, b),
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-flowHead--added,
  .reports300-number--added,
  .delivery-report-flowHead--added,
  .delivery-report-number--added,
  .rework-report-flowHead--added,
  .rework-report-number--added,
  .requisites-report-flowHead--added,
  .requisites-report-number--added,
  .rank-report-flowColumn--added,
  .vk-delivery-report-flowHead--added,
  .vk-delivery-report-flow--added,
  .vk-delivery-report-added
),
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-flowHead--added,
  .reports300-number--added,
  .delivery-report-flowHead--added,
  .delivery-report-number--added,
  .rework-report-flowHead--added,
  .rework-report-number--added,
  .requisites-report-flowHead--added,
  .requisites-report-number--added,
  .rank-report-flowColumn--added,
  .vk-delivery-report-flowHead--added,
  .vk-delivery-report-flow--added,
  .vk-delivery-report-added
) *{
  color:#b91c1c !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-summaryCard--completed,
  .delivery-report-summary__dynamic,
  .rework-report-card--dynamic,
  .rank-report-summary__completed,
  .requisites-report-card__flowItem--completed
){
  border-color:#bbf7d0 !important;
  border-top-color:#16a34a !important;
  background:#f0fdf4 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-summaryCard--completed,
  .delivery-report-summary__dynamic,
  .rework-report-card--dynamic,
  .rank-report-summary__completed,
  .requisites-report-card__flowItem--completed
) :is(span, small, strong, b),
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-flowHead--completed,
  .reports300-number--completed,
  .delivery-report-flowHead--completed,
  .delivery-report-number--completed,
  .rework-report-flowHead--completed,
  .rework-report-number--completed,
  .requisites-report-flowHead--completed,
  .requisites-report-number--completed,
  .rank-report-flowColumn--completed,
  .vk-delivery-report-flowHead--completed,
  .vk-delivery-report-flow--completed,
  .vk-delivery-report-dynamic
),
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-flowHead--completed,
  .reports300-number--completed,
  .delivery-report-flowHead--completed,
  .delivery-report-number--completed,
  .rework-report-flowHead--completed,
  .rework-report-number--completed,
  .requisites-report-flowHead--completed,
  .requisites-report-number--completed,
  .rank-report-flowColumn--completed,
  .vk-delivery-report-flowHead--completed,
  .vk-delivery-report-flow--completed,
  .vk-delivery-report-dynamic
) *{
  color:#15803d !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide.is-compact .combined-report-slide__content table :is(th, td){
  padding:3px 4px !important;
  font-size:10.5px !important;
  line-height:1.08 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide.is-dense .combined-report-slide__content table :is(th, td){
  padding:1.5px 3px !important;
  font-size:9.5px !important;
  line-height:1.04 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide.is-ultra-dense .combined-report-slide__content table :is(th, td){
  padding:1px 2px !important;
  font-size:8.5px !important;
  line-height:1 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:is(.is-dense, .is-ultra-dense) .combined-report-slide__content :is(
  .reports300-panel__head,
  .report-table-section__head,
  .vk-delivery-report-panel__head,
  .vzo-report-section__head,
  .award-flow-section__head,
  .rank-report-tableHead
){
  display:none !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide__content :is(
  .reports300-panel,
  .report-table-section,
  .vk-delivery-report-panel,
  .vzo-report-section,
  .award-flow-section,
  .award-flow-year
){
  break-inside:auto !important;
  page-break-inside:auto !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="deliveryVk"] .vk-delivery-report-table :is(th, td){
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  height:17px !important;
  padding:1px 3px !important;
  font-size:10.5px !important;
  line-height:1.02 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="deliveryVk"] .vk-delivery-report-table thead th{
  height:34px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="deliveryVk"] .vk-delivery-report-table .vk-delivery-report-index{
  width:3% !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="deliveryVk"] .vk-delivery-report-table .vk-delivery-report-name{
  width:23% !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="deliveryVk"] .vk-delivery-report-table .vk-delivery-report-danger{
  border:1px solid #64748b !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="deliveryVk"] .vk-delivery-report-cell{
  width:auto !important;
  min-height:0 !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  column-gap:2px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="deliveryVk"] .vk-delivery-report-flow :is(
  .vk-delivery-report-added,
  .vk-delivery-report-dynamic,
  b
){
  min-width:0 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="deliveryVk"] .vk-delivery-report-footer{
  display:none !important;
}

/* Control 300 keeps the same semantic palette in the combined PDF. */
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="control300"] .reports300-summaryCard--current,
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="control300"] .reports300-number--current{
  background:#f1f5f9 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="control300"] :is(
  .reports300-summaryCard--amber,
  .reports300-categoryMetric--amber
){
  background:#fff7ed !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="control300"] :is(
  .reports300-summaryCard--rose,
  .reports300-categoryMetric--rose
){
  background:#fff1f2 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="control300"] :is(
  .reports300-summaryCard--steel,
  .reports300-categoryMetric--steel
){
  background:#f1f5f9 !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="control300"] .reports300-summaryCard__values > i{
  font-size:20px !important;
}

:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide[data-combined-slide="control300"] .reports300-categoryMetric__values > i{
  font-size:16px !important;
  line-height:1 !important;
}

@media print{
  body.combined-report-printing :is(
    .app,
    .main,
    #view,
    .control-reports-page,
    .control-reports-pane,
    .combined-report-page,
    .combined-report-printHost,
    .combined-report-document
  ){
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    outline:0 !important;
    background:#ffffff !important;
    box-shadow:none !important;
  }

  body.combined-report-printing .combined-report-document{
    width:282.5mm !important;
  }

  body.combined-report-printing .combined-report-slide{
    width:282.5mm !important;
    height:195mm !important;
    min-height:195mm !important;
    max-height:195mm !important;
    break-before:auto !important;
    page-break-before:auto !important;
    break-after:page !important;
    page-break-after:always !important;
  }

  body.combined-report-printing .combined-report-slide__content table thead{
    display:table-header-group !important;
  }

  body.combined-report-printing .combined-report-slide__content table tr{
    break-inside:avoid !important;
    page-break-inside:avoid !important;
  }
}

/* Chromium may pull the final page header into the printer margin. Reserve that space explicitly. */
:is(body.combined-report-measuring, body.combined-report-printing) .combined-report-slide:last-child{
  height:189mm !important;
  min-height:189mm !important;
  max-height:189mm !important;
  transform:translateY(6mm) !important;
}

/* Unit labels use one alignment in screen reports and every print layout. */
:is(
  .reports300-nameCol,
  .delivery-report-nameCol,
  .rework-report-nameCol,
  .requisites-report-nameCol,
  .rank-report-nameColumn,
  .vk-delivery-report-name,
  .vzo-report-table:not(.vzo-report-categoryTable) thead th:first-child
){
  text-align:center !important;
}

:is(
  .reports300-total,
  .delivery-report-total,
  .rework-report-total,
  .requisites-report-total,
  .rank-report-total,
  .vzo-report-total,
  .award-flow-table__total,
  .vk-delivery-report-total
) > th,
:is(
  .reports300-ovuRow,
  .reports300-vchRow,
  .delivery-report-ovu,
  .delivery-report-vch,
  .rework-report-ovu,
  .rework-report-vch,
  .requisites-report-ovu,
  .requisites-report-vch,
  .rank-report-ovu,
  .rank-report-vch,
  .vzo-report-ovu,
  .vzo-report-vch
) > th,
.vk-delivery-report-table tbody > tr > th{
  padding-left:8px !important;
  padding-right:8px !important;
  text-align:center !important;
}

:is(
  .reports300-ovuRow,
  .delivery-report-ovu,
  .rework-report-ovu,
  .requisites-report-ovu
) > th,
.rank-report-nameCell{
  justify-content:center !important;
}

.rank-report-nameCell > span,
.rank-report-vch > th > span{
  text-align:center !important;
}

.report-date-presets{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.report-date-presets .btn{padding:6px 10px;min-height:32px}
.req-control-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
.req-control-summary > article:nth-child(n){grid-column:auto}
.req-control-summary .delivery-report-summary__dynamic strong{color:#16804a}
.req-control-table{table-layout:fixed;width:100%}
.req-control-table th,.req-control-table td{text-align:center!important;vertical-align:middle;overflow-wrap:anywhere;font-size:16px}
.req-control-table td{font-weight:400}
.req-control-table .requisites-report-total td{font-weight:700;font-size:18px}
.req-control-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:baseline;font-variant-numeric:tabular-nums}
.req-control-pair>span{text-align:right;min-width:0}
.req-control-dynamic{color:#16804a;font-size:16px;font-weight:700!important}
@media(max-width:700px){.req-control-table{min-width:1000px}.req-control-summary{grid-template-columns:1fr}}
@media print{.report-date-presets{display:none!important}.req-control-table{min-width:0}.req-control-table th,.req-control-table td{border:1px solid #606a75!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}}

.control-reports-pane .report-period-controls{
  display:grid!important;grid-template-columns:140px 140px auto!important;
  align-items:end!important;gap:6px 10px!important;flex:none;max-width:100%;
}
.control-reports-pane .report-period-controls>span{grid-column:1/-1;margin:0!important}
.control-reports-pane .report-period-controls>label{display:flex!important;flex-direction:column;align-items:stretch!important;gap:4px!important;min-width:0;margin:0!important}
.control-reports-pane .report-period-controls>label>small{width:auto!important;min-width:0;text-align:left!important;align-self:stretch;margin:0!important}
.control-reports-pane .report-period-controls input[type=date]{box-sizing:border-box;width:100%!important;min-width:0!important;height:36px!important;margin:0;padding:5px 8px!important;font-size:14px}
.control-reports-pane .report-date-presets{display:flex;flex-wrap:nowrap;gap:4px;align-self:end}
.control-reports-pane .report-date-presets .btn{height:36px;min-height:36px;padding:5px 9px;white-space:nowrap}
.control-reports-pane .report-toolbar__actions,.control-reports-pane .delivery-report-filters{align-items:flex-end!important;gap:10px;flex-wrap:wrap}
.control-reports-pane .report-toolbar__actions>.btn,.control-reports-pane .delivery-report-filters>.btn{height:36px;min-height:36px;white-space:nowrap;padding:5px 12px}
.control-reports-pane .report-toolbar__actions:has(.report-period-controls)>.btn,.control-reports-pane .delivery-report-filters:has(.report-period-controls)>.btn{margin-bottom:8px}
.control-reports-pane .report-period-controls input[type=date]{border:1px solid #cbd5e1!important;border-radius:5px;background:#fff}
.req-control-name{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;gap:5px;width:100%}
.req-control-name .delivery-report-expand{width:24px;height:24px;min-width:24px;min-height:24px;margin:0!important;padding:0;line-height:22px}
.req-control-name>span{min-width:0;overflow-wrap:anywhere;text-align:center}
.req-control-table .req-control-pair{gap:5px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.req-control-pair>span{white-space:nowrap}
.req-control-table th,.req-control-table td{padding:7px 5px!important}
.req-control-table .requisites-report-number--added,.req-control-table .requisites-report-flowHead--added{color:#b91c1c!important;background:#fff1f2!important}
.req-control-table .requisites-report-number--completed{font-weight:700!important}
@media(max-width:700px){
 .control-reports-pane .report-period-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;width:100%;box-sizing:border-box}
 .control-reports-pane .report-date-presets{grid-column:1/-1}
}
@media print{
 .req-control-name .delivery-report-expand{display:none!important}
 .req-control-name{display:block}
 .req-control-table td,.req-control-table .requisites-report-total td,.req-control-table .req-control-dynamic{font-size:14px!important}
 .req-control-table th{font-size:13px!important}
 .req-control-table tr{break-inside:avoid}
}
:is(body.combined-report-measuring,body.combined-report-printing) .req-control-name{display:block}
:is(body.combined-report-measuring,body.combined-report-printing) .req-control-name .delivery-report-expand{display:none!important}
:is(body.combined-report-measuring,body.combined-report-printing) .req-control-table .req-control-dynamic{font-size:inherit!important}

/* Division subtotals share the report grid and retain metric colors. */
.m4-report-controls{display:flex;flex-wrap:wrap;gap:10px;align-items:end}
.report-chnp-host{margin:10px 0}
.report-chnp-toggle{display:flex;align-items:center;gap:6px;font-size:14px}
.report-chnp-options{display:flex;flex-wrap:wrap;gap:8px 20px;padding:12px 0}
.report-chnp-options label{display:flex;align-items:center;gap:7px;font-size:14px}
.report-chnp-options strong{font-weight:600;color:#475569}
.m4-report-table th:first-child{position:relative}
.m4-report-table th:first-child .delivery-report-expand{position:absolute;left:8px;top:50%;transform:translateY(-50%)}
@media print{.report-chnp-host,.m4-report-table .delivery-report-expand{display:none!important}}
[data-report-pane="m4"] .report-toolbar{display:block}
[data-report-pane="m4"] .report-toolbar .h1{margin-bottom:12px}
.m4-report-controls label{display:flex;flex-direction:column;gap:5px;font-size:13px;min-width:145px}
.m4-report-controls input{box-sizing:border-box;width:100%;height:36px;padding:5px 8px;border:1px solid #cbd5e1;border-radius:5px}
.m4-report-controls .btn{height:36px;white-space:nowrap}
.m4-report-presets{display:flex;gap:4px}
.m4-report-warning{margin:10px 0;color:#805c14;font-size:14px}
.m4-report-board{width:100%;min-width:0}
.m4-report-board .requisites-report-tableWrap{overflow-x:auto;border:0;border-radius:0}
.m4-report-board .m4-report-table{width:100%;min-width:1100px;table-layout:fixed;border-collapse:collapse}
.m4-report-board .m4-report-table :is(th,td){text-align:center!important;vertical-align:middle;border:1px solid #71808e!important;padding:9px 6px!important;white-space:normal!important;overflow-wrap:break-word;font-size:16px!important;font-weight:400!important;line-height:1.2;letter-spacing:0}
.m4-report-board .m4-report-table thead th{background:#edf1f5!important;color:#253746;word-break:normal}
.m4-report-board .m4-report-table .m4-completed{color:#187348!important;background:#eaf5ee!important}
.m4-report-board .m4-report-table .m4-added{color:#b32a32!important;background:#fcecee!important}
.m4-report-board .m4-report-table .requisites-report-total > *{font-size:18px!important;font-weight:700!important}
/* Separate borders survive positioned OVU cells, multirow headers and Chrome printing. */
.control-reports-page .m4-report-board table.m4-report-table,
:is(body.combined-report-measuring,body.combined-report-printing) .combined-report-slide__content .m4-report-board table.m4-report-table{
 border-collapse:separate!important;border-spacing:0!important;border:0!important;border-top:1px solid #64748b!important;border-left:1px solid #64748b!important;
}
.control-reports-page .m4-report-board table.m4-report-table :is(th,td),
:is(body.combined-report-measuring,body.combined-report-printing) .combined-report-slide__content .m4-report-board table.m4-report-table :is(th,td){
 border:0!important;border-right:1px solid #64748b!important;border-bottom:1px solid #64748b!important;
}
body.combined-report-measuring .m4-report-board .m4-report-table{min-width:0!important}
@media print{
 .m4-report-warning{display:none!important}
 .m4-report-board .m4-report-table{min-width:0!important;width:100%!important}
 .m4-report-board .m4-report-table :is(th,td){padding:5px 4px!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 .m4-report-board .m4-report-table tr{break-inside:avoid}
}
.control-reports-page .control-reports-pane table tbody tr.report-division-total > :is(th,td),
:is(body.combined-report-measuring,body.combined-report-printing) .combined-report-slide__content table tbody tr.report-division-total > :is(th,td){background:#e8edf2!important;font-weight:600!important;border-top:1px solid #687887!important}
tr.report-division-total > :first-child{white-space:normal;overflow-wrap:anywhere}
tr.report-division-total{break-after:avoid;page-break-after:avoid}
tr.report-division-unit > :first-child{padding-left:10px!important;padding-right:10px!important}
@media print{
 tr.report-division-total > :is(th,td){print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

/* The report selector shares wheel and drag behavior with section navigation. */
.control-reports-tabs{overscroll-behavior-x:contain;touch-action:pan-x;scroll-behavior:auto;}
.control-reports-tabs.is-scrollable{cursor:grab;}
.control-reports-tabs.is-dragging,.control-reports-tabs.is-dragging *{cursor:grabbing!important;user-select:none;}
#view .honorary-report-table :is(th,td){font-family:"Arial Narrow",Arial,sans-serif!important;}
#view .honorary-report-table thead th{position:static!important;}
#view .honorary-report-table tbody th{font-weight:700!important;}
#view .honorary-report-table .honorary-report-subtotal{font-weight:700;}
@media print{#view .honorary-report-table{min-width:0!important;}#view .honorary-report-table :is(th,td){font-size:11px!important;padding:5px 3px!important;}}

#view .honorary-report-table thead th{font-weight:700!important;font-size:14px!important;overflow-wrap:normal!important;word-break:normal!important;}
#view .honorary-report-table thead tr:last-child th{font-size:12px!important;}

/* Registry totals and download actions occupy separate rows. */
#view .ht-reg-topline{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;}
#view .ht-reg-controls .ht-reg-summary{min-width:0;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));}
#view .ht-reg-controls .ht-reg-filter{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;align-content:start;}
#view .ht-reg-controls .ht-reg-filter b{grid-column:1;grid-row:2;min-width:0;white-space:nowrap;}
#view .ht-reg-controls .ht-reg-filter span{grid-column:1;grid-row:1;min-width:0;overflow-wrap:normal;}
#view .ht-reg-topline>.ht-toolbar{min-width:0;justify-content:flex-end;gap:8px;}
@media(max-width:500px){#view .ht-reg-controls .ht-reg-summary{grid-template-columns:repeat(2,minmax(0,1fr));}#view .ht-reg-controls .ht-reg-filter{padding:9px 8px;gap:6px;}#view .ht-reg-controls .ht-reg-filter b{font-size:20px;}}
@media print{
 #view .control-reports-pane .report-toolbar{display:none!important;}
 #view .honorary-report-summary{display:none!important;}
 #view .classic-control-report .delivery-report-table.honorary-report-table :is(th,td),
 #view .classic-control-report .delivery-report-table.honorary-report-table thead th{font-size:10px!important;padding:5px 2px!important;}
 #view [data-report-pane="honorary"] .report-body{padding:0!important;border:0!important;border-radius:0!important;}
 #view .honorary-report .delivery-report-tableWrap{overflow:visible!important;}
}

/* Пункты меню на уровне группы (например, «Поиск» в «Спецконтингент») — как пункты внутри секций */
.menu-group__body > .menu-item{min-height:34px;padding:7px 8px 7px 10px;font-size:12.5px;line-height:1.3}
