/* «Госзакупки» (#procurement): 44-ФЗ по всем МО. Все правила привязаны к .gz-shell / .gd-*, кроме ссылки в разделах дашбордов. */
.gz-shell,.gd-nav,.gd-drawer{--gz-ink:#16263a;--gz-ink2:#34475b;--gz-muted:#617080;--gz-line:#e2e6ea;--gz-line2:#cfd6de;--gz-paper:#fff;--gz-bg:#f4f5f2;--gz-warm:#f3f2ec;
 --gz-accent:#0d7a6b;--gz-accent-bg:#e3f2ef;--gz-link:#0b5a86;--gz-warn:#9a5b00;--gz-warn-bg:#fdf3e1;--gz-high:#b4233f;--gz-high-bg:#fce8ec;--gz-med:#b26b00;--gz-med-bg:#fdf1dc;--gz-low:#5b6b7c;--gz-low-bg:#edf0f3;
 --gz-r:12px;--gz-shadow:0 1px 2px rgba(22,38,58,.05),0 1px 1px rgba(22,38,58,.03)}
.gz-shell{max-width:1280px;margin:0 auto;padding:22px 24px 48px;color:var(--gz-ink);font-variant-numeric:tabular-nums}
.gz-shell a{color:var(--gz-link);text-decoration:none}
.gz-shell a:hover{text-decoration:underline;text-underline-offset:3px}
.gz-shell :focus-visible,.gd-drawer :focus-visible,.gd-nav :focus-visible{outline:2px solid #2b6fd6;outline-offset:2px;border-radius:4px}
.gz-i{width:14px;height:14px;flex-shrink:0;vertical-align:-2px}
/* навигация разделов — липкая полоса под шапкой */
.gd-nav{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.4) blur(6px);border-bottom:1px solid var(--gz-line)}
.gd-nav-in{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.gd-nav a{position:relative;display:flex;gap:7px;align-items:center;padding:13px 12px 12px;font-size:14px;font-weight:500;color:var(--gz-muted);text-decoration:none;white-space:nowrap;border-bottom:2px solid transparent}
.gd-nav a:hover{color:var(--gz-ink)}
.gd-nav a[aria-current="page"]{color:var(--gz-ink);border-bottom-color:var(--gz-accent);font-weight:650}
.gd-nav a b,.gd-count{font-size:11px;line-height:1.5;background:var(--gz-high);color:#fff;border-radius:999px;padding:0 7px;font-weight:650}
/* заголовок страницы */
.gz-heading{margin-bottom:18px}
.gz-heading h1{margin:4px 0 4px;font-size:28px;line-height:1.2;letter-spacing:-.02em;font-weight:650}
.gz-crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:13px;color:var(--gz-muted)}
.gz-crumbs a{color:var(--gz-muted)}
.gz-sub{margin:0;color:var(--gz-muted);font-size:13.5px;line-height:1.45}
.gz-meta{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:10px 0 0;padding:0}
.gz-meta li{font-size:12px;color:var(--gz-ink2);background:#fff;border:1px solid var(--gz-line);border-radius:999px;padding:2px 10px}
.gz-meta li.is-admin{background:var(--gz-accent-bg);border-color:#bfe1da;color:#0b5e53}
.gz-back{margin:0 0 12px;font-size:14px}
/* вкладки МО */
.gz-tabs{display:flex;gap:4px;overflow-x:auto;margin:0 0 18px;padding:4px;background:#e9ece9;border-radius:10px;scrollbar-width:none}
.gz-tabs a{display:flex;gap:6px;align-items:center;padding:7px 12px;font-size:13.5px;text-decoration:none!important;color:var(--gz-ink2);border-radius:7px;white-space:nowrap}
.gz-tabs a:hover{background:rgba(255,255,255,.6)}
.gz-tabs a[aria-current="page"]{background:#fff;color:var(--gz-ink);font-weight:650;box-shadow:0 1px 3px rgba(22,38,58,.12)}
/* показатели */
.gz-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px;margin-bottom:16px}
.gz-kgroup{background:var(--gz-paper);border:1px solid var(--gz-line);border-radius:var(--gz-r);padding:12px 14px 14px;box-shadow:var(--gz-shadow);border-top:3px solid #9fb0c0}
.gz-kgroup h3{margin:0 0 8px!important;font-size:12px!important;font-weight:650;color:var(--gz-muted);text-transform:uppercase;letter-spacing:.05em}
.gz-kgroup.is-y26{border-top-color:var(--gz-accent)}
.gz-kgroup.is-y25{border-top-color:#6c8db3}
.gz-kgroup.is-warn{border-top-color:#d08a1c;background:linear-gradient(#fffdf8,#fff)}
.gz-kgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gz-kgrid .gz-tile{border:0;padding:0;background:none;box-shadow:none}
.gz-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-bottom:14px}
.gz-tile{background:var(--gz-paper);border:1px solid var(--gz-line);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:2px;min-width:0;box-shadow:var(--gz-shadow)}
.gz-tile span{font-size:12.5px;color:var(--gz-muted)}
.gz-tile strong{font-size:24px;line-height:1.2;font-weight:680;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gz-tile small{font-size:12px;color:var(--gz-muted);line-height:1.35}
.gz-tile.is-warn{border-left:3px solid #d08a1c}
.gz-metric{display:flex;flex-direction:column;gap:2px}
.gz-metric span{font-size:12.5px;color:var(--gz-muted)}
.gz-metric strong{font-size:28px;line-height:1.15;font-weight:700;letter-spacing:-.01em}
.gz-metric small{font-size:12px;color:var(--gz-muted)}
.gz-metric.is-alert strong{color:var(--gz-high)}
/* пояснения */
.gz-note{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:var(--gz-ink2);background:#eef4f8;border:1px solid #dbe7ef;border-radius:10px;padding:10px 12px;margin:0 0 14px}
.gz-note>.gz-i{color:#3c78a6;margin-top:2px}
.gz-note>div,.gz-note p{margin:0}
p.gz-note{display:block}
.gz-hint{font-size:12.5px;color:var(--gz-muted);margin:0 0 8px}
.gz-explain{margin:4px 0 16px;font-size:13px}
.gz-explain summary{display:inline-flex;gap:6px;align-items:center;cursor:pointer;color:var(--gz-muted);list-style:none;padding:4px 0;font-weight:500}
.gz-explain summary::-webkit-details-marker{display:none}
.gz-explain summary:hover{color:var(--gz-ink)}
.gz-explain[open] summary{color:var(--gz-ink);margin-bottom:8px}
.gz-explain>div>.gz-note:last-child{margin-bottom:0}
/* панели */
.gz-panel{background:var(--gz-paper);border:1px solid var(--gz-line);border-radius:var(--gz-r);padding:18px 20px;margin-bottom:16px;box-shadow:var(--gz-shadow);min-width:0}
.gz-panel h2{font-size:17px;margin:0 0 12px;font-weight:650;letter-spacing:-.01em}
.gz-panel-head{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.gz-panel-head h2{margin:0 0 2px}
.gz-panel ul{margin:0;padding-left:18px;font-size:14px;line-height:1.55}
.gz-panel ul li+li{margin-top:4px}
.gz-h3-gap{margin-top:22px!important}
.gd-shell h3{font-size:14.5px;margin:2px 0 10px;font-weight:650}
.gd-shell h4,.gd-drawer h4{font-size:12px;margin:0 0 8px;color:var(--gz-muted);text-transform:uppercase;letter-spacing:.05em;font-weight:650}
/* полосы */
.gz-bars{display:flex;flex-direction:column;gap:8px}
.gz-bars>div{display:grid;grid-template-columns:minmax(140px,220px) 1fr 120px;align-items:center;gap:10px;font-size:13px}
.gz-bars i{display:block;height:10px;background:var(--gz-warm);border-radius:999px;overflow:hidden}
.gz-bars b{display:block;height:100%;background:var(--gz-accent);border-radius:999px}
.gz-bars em{font-style:normal;text-align:right;font-weight:600;white-space:nowrap;display:flex;justify-content:flex-end;gap:6px;align-items:baseline}
.gz-bars em small{font-weight:400;color:var(--gz-muted);font-size:11.5px;min-width:34px}
.gz-rank{display:flex;flex-direction:column}
.gz-rank a{display:grid;grid-template-columns:24px 1fr auto;grid-template-rows:auto 4px;column-gap:10px;row-gap:5px;align-items:center;padding:8px 4px;border-bottom:1px solid var(--gz-line);color:inherit;text-decoration:none!important}
.gz-rank a:last-child{border-bottom:0}
.gz-rank a:hover{background:#f8faf9}
.gz-rank-i{grid-row:1/3;font-size:12px;color:var(--gz-muted);text-align:center;font-weight:600}
.gz-rank-n{font-size:13.5px;font-weight:600;color:var(--gz-ink);min-width:0}
.gz-rank-n small{display:block;font-weight:400;font-size:12px;color:var(--gz-muted)}
.gz-rank-v{font-size:13.5px;font-weight:650;white-space:nowrap}
.gz-rank i{grid-column:2/4;display:block;height:4px;background:var(--gz-warm);border-radius:99px;overflow:hidden}
.gz-rank i b{display:block;height:100%;background:#6c8db3;border-radius:99px}
.gz-cellbar{display:inline-block;width:56px;height:6px;background:var(--gz-warm);border-radius:99px;margin-right:8px;vertical-align:middle;overflow:hidden}
.gz-cellbar i{display:block;height:100%;background:var(--gz-accent);border-radius:99px}
/* фильтры */
.gz-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:12px}
.gz-filters label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--gz-muted);font-weight:500}
.gz-filters label.gz-f-search{flex:1 1 280px}
.gz-filters input,.gz-filters select{font:inherit;font-size:14px;color:var(--gz-ink);height:38px;padding:0 10px;border:1px solid var(--gz-line2);border-radius:8px;background:#fff;min-width:150px;max-width:300px}
.gz-filters .gz-f-search input{max-width:none;width:100%;padding-left:34px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='7' cy='7' r='4.8' fill='none' stroke='%23738291' stroke-width='1.6'/%3E%3Cpath d='m10.6 10.6 3.4 3.4' stroke='%23738291' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 11px 50%/15px}
.gz-filters input:focus,.gz-filters select:focus{border-color:#7aa7cf;box-shadow:0 0 0 3px #dbe9f6;outline:0}
.gz-filters>button,.gz-more,.gz-btn{font:inherit;font-size:13.5px;height:38px;padding:0 14px;border:1px solid var(--gz-line2);border-radius:8px;background:#fff;cursor:pointer;color:var(--gz-ink)!important;text-decoration:none!important;display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.gz-btn:hover,.gz-more:hover,.gz-filters>button:hover:not(:disabled){background:#f3f6f5;border-color:#b9c4cf}
.gz-btn.is-primary{background:var(--gz-accent);border-color:var(--gz-accent);color:#fff!important;font-weight:600}
.gz-btn.is-primary:hover{background:#0a6659;border-color:#0a6659}
.gz-btn:disabled,.gz-filters>button:disabled{opacity:.5;cursor:default}
.gz-more{margin:12px auto 0;display:flex}
.gz-chips{display:flex;flex-wrap:wrap;gap:6px}
.gz-chips button{font:inherit;font-size:13px;height:32px;padding:0 12px;border:1px solid var(--gz-line2);border-radius:999px;background:#fff;cursor:pointer;color:var(--gz-ink2);display:inline-flex;gap:6px;align-items:center}
.gz-chips button b{font-weight:600;color:var(--gz-muted);font-size:12px}
.gz-chips button:hover:not(:disabled){border-color:#9aa9b8}
.gz-chips button[aria-pressed="true"]{background:var(--gz-ink);border-color:var(--gz-ink);color:#fff}
.gz-chips button[aria-pressed="true"] b{color:#c8d3de}
.gz-chips button:disabled{opacity:.45;cursor:default}
/* таблицы */
.gz-table{overflow-x:auto;border:1px solid var(--gz-line);border-radius:10px;background:#fff}
.gz-panel .gz-table{border-radius:8px}
.gz-table table{width:100%;border-collapse:collapse;font-size:13.5px}
.gz-table th,.gz-table td{padding:9px 10px;border-bottom:1px solid var(--gz-line);text-align:left;vertical-align:top}
.gz-table tbody tr:last-child td{border-bottom:0}
.gz-table th{font-size:12px;font-weight:600;color:var(--gz-muted);white-space:nowrap;background:#f7f8f7;position:sticky;top:0;z-index:1}
.gz-table th button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;height:auto}
.gz-table th button:hover,.gz-table th button[aria-sort="ascending"],.gz-table th button[aria-sort="descending"]{color:var(--gz-ink)}
.gz-table .n{text-align:right;white-space:nowrap}
.gz-table small{display:block;color:var(--gz-muted);font-size:12px;line-height:1.35;margin-top:1px}
.gz-table tbody tr:hover{background:#f8faf9}
.gz-sticky{max-height:none}
.gz-unknown{color:var(--gz-muted);font-style:italic}
.gz-muted{color:var(--gz-muted)}
.gz-ok{color:#1f6f43}
.gz-warn{color:var(--gz-warn)}
.gz-badge,.gz-pill{display:inline-block;font-size:11.5px;line-height:1.6;padding:0 8px;border-radius:999px;background:var(--gz-low-bg);color:var(--gz-ink2);white-space:nowrap}
.gz-badge{background:var(--gz-warn-bg);color:var(--gz-warn)}
.gz-pill.is-ok,.gz-obl-settled{background:#e3f3e9;color:#1d6a40}
.gz-pill.is-warn,.gz-obl-closed_residual{background:var(--gz-warn-bg);color:#7a4c00}
.gz-obl-active_remaining{background:#e7f0fa;color:#0b4f86}
.gz-obl-requires_review{background:var(--gz-high-bg);color:#8c1a31}
.gz-dash{font-size:11.5px;margin-left:6px;white-space:nowrap}
.gz-fold summary{cursor:pointer;font-size:14px;margin-top:10px}
.gz-foot{margin-top:28px;padding-top:14px;border-top:1px solid var(--gz-line);font-size:12px;color:var(--gz-muted)}
#gz-content>p[role="status"]{font-size:13px;color:var(--gz-ink2);margin:4px 0 8px}
/* загрузка и ошибки */
.gz-loading{display:flex;gap:10px;align-items:center;color:var(--gz-muted);font-size:14px;padding:22px 4px}
.gz-loading i{width:16px;height:16px;border:2px solid #cfd8e1;border-top-color:var(--gz-accent);border-radius:50%;animation:gz-spin .8s linear infinite}
@keyframes gz-spin{to{transform:rotate(360deg)}}
.gz-error{background:var(--gz-high-bg);border:1px solid #f2c4cd;color:#7c1a2e;border-radius:10px;padding:12px 14px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.gz-error p{margin:0;font-size:14px}
.gz-error button{height:34px;padding:0 12px;border-radius:8px}
@media (prefers-reduced-motion:reduce){.gz-loading i{animation:none}}
@media (max-width:640px){.gz-shell{padding:14px 12px 30px}.gd-nav-in{padding:0 8px}.gz-heading h1{font-size:22px}.gz-bars>div{grid-template-columns:1fr auto}.gz-bars i{grid-column:1/-1;grid-row:2}.gz-kgrid{grid-template-columns:1fr}.gz-filters label,.gz-filters input,.gz-filters select{width:100%;max-width:none}}
.mdv-journey a[data-gz-journey] span{font-weight:700}
/* «Сигналы закупок» — бейджи уровня */
.gs-card{background:#fff;border:1px solid #e1e5e3;border-left:4px solid #b8c2cc;border-radius:10px;padding:12px 14px;margin-bottom:10px}
.gs-card.gs-high{border-left-color:#b4233f}
.gs-card.gs-medium{border-left-color:#c27a00}
.gs-links a{margin-right:8px;font-size:12px;white-space:nowrap}
.gs-badge{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:650;line-height:1.6;padding:0 8px;border-radius:999px;background:var(--gz-low-bg,#edf0f3);color:#3f5063;white-space:nowrap}
.gs-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.8}
.gs-badge.gs-high{background:#fce8ec;color:#a01d37}
.gs-badge.gs-medium{background:#fdf1dc;color:#8a5300}
.gs-family{font-weight:600}
/* ---------- обзор: «Что требует внимания» ---------- */
.gd-attn-stats{display:grid;grid-template-columns:minmax(150px,200px) minmax(170px,230px) 1fr;gap:20px;align-items:start;padding:14px 16px;background:#f8f9f7;border:1px solid var(--gz-line);border-radius:10px;margin-bottom:18px}
.gd-progress-head{display:flex;justify-content:space-between;font-size:12.5px;color:var(--gz-muted);margin-bottom:6px}
.gd-progress-head b{color:var(--gz-ink);font-weight:600}
.gd-stbar{display:flex;height:12px;border-radius:999px;overflow:hidden;background:#e8ebee;gap:2px}
.gd-stbar a{display:block;min-width:4px}
.gd-legend{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:8px;font-size:12.5px}
.gd-legend a{color:var(--gz-ink2)!important;display:inline-flex;align-items:center;gap:6px}
.gd-legend i,.gd-stabs i{display:inline-block;width:9px;height:9px;border-radius:3px}
.gd-legend b{font-weight:650}
.gd-seg-new{background:#3f86c8}.gd-seg-in_work{background:#e0a231}.gd-seg-requested{background:#8064c8}.gd-seg-confirmed{background:#c8344f}.gd-seg-dismissed{background:#a9b4be}
.gd-legend-s{margin:0 0 10px;font-size:12px;color:var(--gz-muted)}
.gd-legend-s span{display:inline-flex;gap:6px;align-items:center}
.gd-legend-s i{width:12px;height:8px;border-radius:2px;background:#9fb3c8}
.gd-legend-s i.is-own,.gd-legend-s i.is-hi{background:var(--gz-high)}
.gd-legend-s i.is-hi{background:#e48a9b}
.gd-legend-s i.is-med{width:2px;height:12px;background:var(--gz-ink)}
.gd-two{display:grid;grid-template-columns:1.25fr 1fr;gap:28px}
.gd-two-even{gap:16px;grid-template-columns:1fr 1fr}
@media (max-width:960px){.gd-two,.gd-two-even{grid-template-columns:1fr}.gd-attn-stats{grid-template-columns:1fr 1fr}.gd-progress{grid-column:1/-1}}
.gd-list{display:flex;flex-direction:column}
.gd-row{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:9px 10px 9px 12px;border-bottom:1px solid var(--gz-line);text-decoration:none!important;color:inherit!important;border-left:3px solid transparent}
.gd-row:hover{background:#f8faf9}
.gd-row.gd-r-high{border-left-color:var(--gz-high)}.gd-row.gd-r-medium{border-left-color:#e0a231}.gd-row.gd-r-low{border-left-color:#b9c3cd}
.gd-row-t{min-width:0}
.gd-row-t b{display:block;font-size:13.5px;font-weight:600;color:var(--gz-ink);line-height:1.35}
.gd-row-t small{display:block;font-size:12px;color:var(--gz-muted);margin-top:1px}
.gd-row-s{font-size:13.5px;font-weight:650;white-space:nowrap}
.gd-mobars{display:flex;flex-direction:column}
.gd-mobar{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 6px;column-gap:10px;row-gap:5px;padding:8px 4px;border-bottom:1px solid var(--gz-line);color:inherit!important;text-decoration:none!important}
.gd-mobar:hover{background:#f8faf9}
.gd-mobar-n{font-size:13.5px;font-weight:600;min-width:0}
.gd-mobar-n small{display:block;font-weight:400;font-size:12px;color:var(--gz-muted)}
.gd-mobar-n em{font-style:normal;color:var(--gz-high)}
.gd-mobar-v{font-size:13.5px;font-weight:650;white-space:nowrap}
.gd-mobar i{grid-column:1/-1;display:block;height:6px;background:#f3e9eb;border-radius:99px;overflow:hidden}
.gd-mobar i b{display:block;height:100%;background:#d0566c;border-radius:99px}
/* ---------- очередь инцидентов ---------- */
.gd-stabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.gd-stabs button{font:inherit;font-size:13.5px;height:36px;padding:0 12px;border:1px solid var(--gz-line2);border-radius:9px;background:#fff;cursor:pointer;color:var(--gz-ink2);display:inline-flex;align-items:center;gap:7px}
.gd-stabs button b{font-size:12px;font-weight:650;color:var(--gz-muted);background:#eef1f3;border-radius:999px;padding:0 7px;line-height:1.6}
.gd-stabs button:hover{border-color:#9aa9b8}
.gd-stabs button[aria-pressed="true"]{border-color:var(--gz-ink);background:var(--gz-ink);color:#fff}
.gd-stabs button[aria-pressed="true"] b{background:rgba(255,255,255,.18);color:#fff}
.gd-qpanel{padding:14px 16px 4px}
.gd-qpanel .gd-fam{margin-bottom:12px}
.gd-filters label{min-width:0}
.gd-summary{display:flex;flex-wrap:wrap;gap:6px 18px;align-items:baseline;font-size:13px;color:var(--gz-muted);margin:4px 2px 10px}
.gd-summary b{color:var(--gz-ink);font-weight:650;font-size:14px}
.gd-summary-k{margin-left:auto;font-size:12px}
.gd-queue tbody tr{cursor:pointer}
.gd-queue tbody tr td:first-child{border-left:3px solid transparent}
.gd-queue tbody tr.gd-r-high td:first-child{border-left-color:var(--gz-high)}
.gd-queue tbody tr.gd-r-medium td:first-child{border-left-color:#e0a231}
.gd-queue tbody tr.gd-r-low td:first-child{border-left-color:#c3ccd5}
.gd-queue tbody tr:focus{outline:2px solid #2b6fd6;outline-offset:-2px}
.gd-queue tbody tr.is-current{background:#eef5fb}
.gd-queue tr.gd-empty{cursor:default}
.gd-queue tr.gd-empty td{padding:28px;text-align:center;color:var(--gz-muted)}
.gd-queue tr.gd-empty button{margin-left:8px;height:32px;padding:0 12px;border-radius:8px}
.gd-queue td b{display:block;font-weight:600;line-height:1.35}
.gd-queue .gd-q-sum{font-weight:650}
.gd-q-mo{min-width:160px;color:var(--gz-ink2)}
.gd-q-dt{white-space:nowrap;color:var(--gz-ink2)}
.gd-q-com{display:inline-flex!important;align-items:center;gap:3px;margin-top:4px}
/* статусы */
.gd-st{display:inline-flex;align-items:center;font-size:12px;line-height:1.6;padding:0 9px;border-radius:999px;background:#eef1f4;color:#36485a;text-decoration:none;white-space:nowrap;font-weight:550}
.gd-st-new{background:#e6f0fa;color:#0b4f86}
.gd-st-in_work{background:#fdf1dc;color:#7a4c00}
.gd-st-requested{background:#efe9fb;color:#4b2d8f}
.gd-st-confirmed{background:#fce8ec;color:#8c1a31}
.gd-st-dismissed{background:#eef1f4;color:#5b6a77}
/* МО: плашка инцидентов */
.gd-alert{display:flex;gap:14px;align-items:center;padding:12px 16px;margin-bottom:14px;background:#fff5f6;border:1px solid #f2c9d1;border-left:4px solid var(--gz-high);border-radius:10px;color:var(--gz-ink)!important;text-decoration:none!important}
.gd-alert b{font-size:22px;color:var(--gz-high);font-weight:700}
.gd-alert span{flex:1;font-size:14px}
.gd-alert em{font-style:normal;font-weight:600;color:var(--gz-high)}
.gd-alert:hover{background:#ffeef1}
.gd-inc-link{font-weight:650}
/* ---------- карточка инцидента ---------- */
body.gd-lock{overflow:hidden}
.gd-backdrop{position:fixed;inset:0;background:rgba(16,30,46,.38);z-index:60;animation:gd-fade .15s ease-out}
.gd-drawer{position:fixed;top:0;right:0;bottom:0;width:min(720px,100vw);background:#fff;z-index:61;display:flex;flex-direction:column;box-shadow:-10px 0 40px rgba(16,30,46,.22);color:var(--gz-ink);font-variant-numeric:tabular-nums;outline:0;animation:gd-slide .18s ease-out;overflow:hidden}
@keyframes gd-fade{from{opacity:0}}
@keyframes gd-slide{from{transform:translateX(24px);opacity:.6}}
@media (prefers-reduced-motion:reduce){.gd-drawer,.gd-backdrop{animation:none}}
.gd-drawer{border-left:4px solid #b9c3cd}
.gd-drawer.gd-sev-high{border-left-color:var(--gz-high)}
.gd-drawer.gd-sev-medium{border-left-color:#e0a231}
.gd-d-top{display:flex;align-items:center;gap:12px;padding:10px 16px 10px 22px;border-bottom:1px solid var(--gz-line);background:#fafbfa;flex-shrink:0}
.gd-d-top code{font-size:12px;color:var(--gz-muted);margin-left:auto;user-select:all}
.gd-d-steps{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--gz-muted)}
.gd-step{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid var(--gz-line2);border-radius:8px;font-size:18px;line-height:1;color:var(--gz-ink)!important;text-decoration:none!important;background:#fff}
a.gd-step:hover{background:#eef3f6}
span.gd-step{opacity:.35}
.gd-close{width:34px;height:34px;padding:0;font-size:24px;line-height:1;background:none;border:1px solid transparent;border-radius:8px;cursor:pointer;color:var(--gz-muted)}
.gd-close:hover{background:#eef1f3;color:var(--gz-ink)}
.gd-d-body{overflow-y:auto;padding:18px 26px 40px;flex:1;overscroll-behavior:contain}
.gd-d-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.gd-tag{font-size:12px;line-height:1.6;padding:0 9px;border-radius:999px;background:#eaf1f7;color:#244a6b;font-weight:550}
.gd-tag.is-muted{background:#f1f2f3;color:var(--gz-muted)}
.gd-drawer h2{font-size:21px;line-height:1.3;margin:10px 0 6px;font-weight:680;letter-spacing:-.01em;overflow-wrap:anywhere}
.gd-d-mo{display:inline-flex;gap:8px;align-items:baseline;font-size:14.5px;font-weight:600;color:var(--gz-link)!important;text-decoration:none!important;margin-bottom:14px}
.gd-d-mo small{font-weight:400;font-size:12.5px;color:var(--gz-muted)}
.gd-d-mo:hover span{text-decoration:underline}
.gd-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;background:var(--gz-line);border:1px solid var(--gz-line);border-radius:10px;overflow:hidden;margin:0 0 16px}
.gd-facts>div{background:#fff;padding:10px 12px;min-width:0}
.gd-facts dt{font-size:12px;color:var(--gz-muted)}
.gd-facts dd{margin:2px 0 0;font-size:16px;font-weight:650;overflow-wrap:anywhere}
.gd-facts small{display:block;font-size:11.5px;font-weight:400;color:var(--gz-muted)}
.gd-gauge{margin:0 0 18px;padding:12px 14px 10px;background:#fbf8f8;border:1px solid #f0e2e5;border-radius:10px}
.gd-gauge-top,.gd-gauge-bot{position:relative;height:20px;font-size:12px;color:var(--gz-ink2)}
.gd-gauge-top span,.gd-gauge-bot span{position:absolute;left:var(--p);transform:translateX(-50%);white-space:nowrap}
.gd-gauge-top span{transform:translateX(-100%);padding-right:2px}
.gd-gauge-bot span{transform:translateX(-50%)}
.gd-gauge-track{position:relative;height:10px;background:#e8ecef;border-radius:999px;margin:3px 0}
.gd-gauge-track b{position:absolute;top:0;bottom:0;background:repeating-linear-gradient(45deg,#e9a0ad 0 4px,#f3c3cc 4px 8px);border-radius:0 999px 999px 0}
.gd-gauge-track i{position:absolute;top:-4px;bottom:-4px;width:3px;margin-left:-1.5px;border-radius:2px}
.gd-gauge-track i.is-med{background:var(--gz-ink)}
.gd-gauge-track i.is-own{background:var(--gz-high)}
.gd-d-sec{margin:0 0 20px}
.gd-d-text{font-size:14.5px;line-height:1.6;margin:0;color:var(--gz-ink)}
.gd-check{margin:0;padding:0;list-style:none;counter-reset:gdc;font-size:14px}
.gd-check li{counter-increment:gdc;position:relative;padding:7px 0 7px 34px;border-bottom:1px dashed var(--gz-line);line-height:1.45}
.gd-check li:last-child{border-bottom:0}
.gd-check li:before{content:counter(gdc);position:absolute;left:0;top:6px;width:22px;height:22px;border-radius:50%;background:var(--gz-accent-bg);color:#0b5e53;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center}
.gd-docs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.gd-docs a{display:inline-flex;gap:6px;align-items:center;font-size:12.5px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;padding:4px 9px;border:1px solid var(--gz-line2);border-radius:7px;color:var(--gz-link)!important;text-decoration:none!important;background:#fff}
.gd-docs a:hover{background:#eef5fb;border-color:#a9c4dc}
.gd-docs-more{width:100%}
.gd-docs-more summary{cursor:pointer;font-size:12.5px;color:var(--gz-muted);margin:2px 0 6px}
.gd-work{background:#f8f9f7;border:1px solid var(--gz-line);border-radius:12px;padding:14px 14px 12px}
.gd-stbtns{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}
.gd-stbtn{font:inherit;text-align:left;padding:8px 10px;border:1px solid var(--gz-line2);border-radius:9px;background:#fff;cursor:pointer;display:flex;flex-direction:column;gap:1px;min-width:0;color:var(--gz-ink)}
.gd-stbtn b{font-size:13px;font-weight:650}
.gd-stbtn small{font-size:11.5px;color:var(--gz-muted);line-height:1.3}
.gd-stbtn:hover:not(:disabled){border-color:#8fa0b1}
.gd-stbtn:disabled{opacity:.6;cursor:wait}
.gd-stbtn[aria-pressed="true"]{box-shadow:inset 0 0 0 1.5px currentColor}
.gd-stbtn-new[aria-pressed="true"]{background:#e6f0fa;color:#0b4f86;border-color:#0b4f86}
.gd-stbtn-in_work[aria-pressed="true"]{background:#fdf1dc;color:#7a4c00;border-color:#7a4c00}
.gd-stbtn-requested[aria-pressed="true"]{background:#efe9fb;color:#4b2d8f;border-color:#4b2d8f}
.gd-stbtn-confirmed[aria-pressed="true"]{background:#fce8ec;color:#8c1a31;border-color:#8c1a31}
.gd-stbtn-dismissed[aria-pressed="true"]{background:#eef1f4;color:#3e4e5e;border-color:#3e4e5e}
.gd-stbtn[aria-pressed="true"] small{color:inherit;opacity:.8}
.gd-comment{display:flex;flex-direction:column;gap:5px;font-size:12.5px;color:var(--gz-muted);margin-top:12px;font-weight:500}
.gd-comment textarea{font:inherit;font-size:14px;padding:9px 10px;border:1px solid var(--gz-line2);border-radius:8px;resize:vertical;min-height:72px;color:var(--gz-ink);background:#fff}
.gd-comment textarea:focus{border-color:#7aa7cf;box-shadow:0 0 0 3px #dbe9f6;outline:0}
.gd-comment small{font-size:11.5px;font-weight:400}
.gd-save-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:10px}
.gd-err{color:#8c1a31;font-size:13px}
.gd-hist{list-style:none;margin:0;padding:0 0 0 14px;border-left:2px solid var(--gz-line);font-size:13.5px}
.gd-hist li{position:relative;padding:0 0 14px 14px}
.gd-hist li:before{content:"";position:absolute;left:-21px;top:5px;width:10px;height:10px;border-radius:50%;background:#fff;border:2px solid #9fb0c0}
.gd-hist li.is-comment:before{border-color:var(--gz-accent)}
.gd-hist-h{display:flex;gap:8px;align-items:baseline;margin-bottom:2px}
.gd-hist-h time{font-size:12px;color:var(--gz-muted)}
.gd-hist p{margin:0;white-space:pre-wrap;background:#f6f7f6;border-radius:8px;padding:7px 10px;line-height:1.45}
/* сравнение цен */
.gd-pbar{display:grid;grid-template-columns:minmax(120px,210px) 1fr 110px;gap:10px;align-items:center;font-size:12.5px;padding:3px 0}
.gd-pbar>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gd-pbar i{position:relative;display:block;height:10px;background:#f1f3f0;border-radius:999px}
.gd-pbar i>b{display:block;height:100%;background:#9fb3c8;border-radius:999px}
.gd-pbar u{position:absolute;top:-4px;bottom:-4px;width:2px;background:var(--gz-ink)}
.gd-pbar.is-hi i>b{background:#e48a9b}
.gd-pbar.is-own i>b{background:var(--gz-high)}
.gd-pbar.is-own{background:#fff4f6;border-radius:6px;font-weight:600}
.gd-pbar em{font-style:normal;text-align:right;white-space:nowrap;color:var(--gz-ink2)}
@media (max-width:720px){.gd-d-body{padding:14px 16px 32px}.gd-stbtns{grid-template-columns:1fr 1fr}.gd-pbar{grid-template-columns:100px 1fr 80px}.gd-d-top{padding-left:16px}.gd-summary-k{display:none}}
.gd-d-mo{flex-wrap:wrap}
.gd-d-body{min-height:0}
.gd-pbar>span{white-space:normal;overflow-wrap:anywhere}
.gd-pbar>span>b{font-weight:650}
.gz-tile strong{white-space:normal;overflow-wrap:anywhere}
.gd-gauge-bot span{left:0;transform:none}
.gd-stbtns{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
@media(max-width:640px){.gd-row{grid-template-columns:auto minmax(0,1fr);gap:6px 10px}.gd-row-s{grid-column:2}.gd-d-top{gap:6px}.gd-d-top code{font-size:10px}.gd-d-steps{font-size:11px}.gd-close{flex-shrink:0}.gd-alert{flex-wrap:wrap}.gd-alert em{margin-left:auto}.gd-pbar{grid-template-columns:minmax(85px,1fr) minmax(30px,1fr) auto}}
