.forecast-card-actions{display:flex;align-items:center;gap:9px}
.procurement-page{min-height:0;flex:1 1 0;display:flex;flex-direction:column;gap:10px}
.procurement-toolbar{min-height:70px;padding:12px 14px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between;gap:16px}
.procurement-toolbar h2{margin:0;color:var(--text);font-size:16px}
.procurement-toolbar p{max-width:720px;margin:4px 0 0;color:var(--text-muted);font-size:11px;line-height:1.4}
.procurement-horizon{height:36px;padding:3px;border:1px solid var(--border);border-radius:8px;background:var(--surface-subtle);display:flex;align-items:center;gap:2px;white-space:nowrap}
.procurement-horizon>span{padding:0 8px;color:var(--text-muted);font-size:10px;font-weight:700}
.procurement-horizon button{height:28px;padding:0 12px;border:0;border-radius:6px;color:var(--text-secondary);background:transparent;font-size:11px;font-weight:700}
.procurement-horizon button.active{color:var(--primary);background:var(--surface);box-shadow:0 1px 4px rgba(24,31,52,.09)}
.procurement-controls{min-height:48px;padding:6px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);display:flex;align-items:center;gap:9px}
.procurement-search{width:min(380px,35vw);height:36px}
.procurement-search input{font-size:11px}
.procurement-status-tabs{height:36px;display:flex;align-items:center;gap:2px}
.procurement-status-tabs button{height:30px;padding:0 12px;border:0;border-bottom:2px solid transparent;color:var(--text-secondary);background:transparent;font-size:11px;font-weight:650}
.procurement-status-tabs button.active{border-bottom-color:var(--primary);color:var(--primary)}
.procurement-export{height:34px;margin-left:auto;padding:0 12px;border:1px solid var(--border);border-radius:8px;color:var(--text-secondary);background:var(--surface);font-size:11px;font-weight:700}
.procurement-export:hover:not(:disabled){border-color:var(--primary);color:var(--primary)}
.procurement-export:disabled{opacity:.45}
.procurement-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.procurement-metrics article{min-height:68px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:var(--shadow);display:flex;align-items:center;gap:10px}
.procurement-metric-dot{width:9px;height:38px;border-radius:6px;background:var(--primary);flex:0 0 auto}
.procurement-metric-dot.tone-red{background:#d9485b}.procurement-metric-dot.tone-green{background:#2aa66c}.procurement-metric-dot.tone-violet{background:#805ad5}.procurement-metric-dot.tone-blue{background:#4f67ef}
.procurement-metrics article>div{min-width:0;display:flex;flex-direction:column;gap:1px}
.procurement-metrics small,.procurement-metrics em{overflow:hidden;color:var(--text-muted);font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.procurement-metrics strong{color:var(--text);font-size:16px;line-height:1.2}
.procurement-table-card{min-height:0;flex:1 1 0;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow);display:flex;flex-direction:column}
.procurement-table-wrap{min-height:0;flex:1 1 0;overflow:auto;position:relative}
.procurement-table{width:100%;min-width:1050px;border-collapse:separate;border-spacing:0;table-layout:fixed}
.procurement-table th,.procurement-table td{height:58px;padding:8px 12px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);color:var(--text-secondary);background:var(--surface);font-size:11px;text-align:left;vertical-align:middle}
.procurement-table tr>*:last-child{border-right:0}
.procurement-table thead th{position:sticky;z-index:3;top:0;height:39px;color:var(--text-muted);background:var(--surface-subtle);font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.procurement-table thead th:first-child{width:31%}.procurement-table thead th:nth-child(2){width:11%}.procurement-table thead th:nth-child(3){width:10%}.procurement-table thead th:nth-child(4){width:11%}.procurement-table thead th:nth-child(5){width:12%}.procurement-table thead th:nth-child(6){width:12%}.procurement-table thead th:nth-child(7){width:13%}
.procurement-table tbody tr:hover>*{background:color-mix(in srgb,var(--primary) 3%,var(--surface))}
.procurement-table tbody th{display:flex;align-items:center;gap:9px;color:var(--text);font-weight:600}
.procurement-table tbody th>span:last-child,.procurement-table td{min-width:0}
.procurement-table tbody th>span:last-child{display:flex;flex-direction:column;gap:3px}
.procurement-table td strong,.procurement-table td small,.procurement-table td .procurement-coverage{display:block}
.procurement-table td small,.procurement-table td .procurement-coverage{margin-top:3px}
.procurement-table strong{overflow:hidden;color:var(--text);font-size:11.5px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}
.procurement-table small{overflow:hidden;color:var(--text-muted);font-size:9.5px;text-overflow:ellipsis;white-space:nowrap}
.procurement-product-mark{width:30px;height:30px;border-radius:8px;color:var(--primary);background:color-mix(in srgb,var(--primary) 9%,var(--surface));display:grid;place-items:center;flex:0 0 auto}
.procurement-state{width:max-content;padding:3px 7px;border-radius:999px;font-weight:650}
.procurement-state.state-urgent{color:#c23d4e;background:#fff0f2}.procurement-state.state-warning{color:#a5680c;background:#fff6df}.procurement-state.state-buy{color:#5f55b5;background:#f1efff}.procurement-state.state-enough{color:#21895a;background:#eaf8f1}
:root[data-theme=dark] .procurement-state.state-urgent{color:#ff93a2;background:#3b2028}:root[data-theme=dark] .procurement-state.state-warning{color:#f1bd67;background:#392d1d}:root[data-theme=dark] .procurement-state.state-buy{color:#b5adff;background:#2c2948}:root[data-theme=dark] .procurement-state.state-enough{color:#74d5a5;background:#1e382d}
.procurement-coverage{width:76px;height:5px;border-radius:999px;overflow:hidden;background:var(--surface-subtle)}
.procurement-coverage i{height:100%;border-radius:inherit;background:var(--primary);display:block}
.status-urgent .procurement-coverage i{background:#d9485b}.status-warning .procurement-coverage i{background:#e19a2b}.status-enough .procurement-coverage i{background:#2aa66c}
.procurement-buy-cell{color:var(--primary);text-align:right!important}
.procurement-buy-cell strong{color:inherit;font-size:13px}.status-urgent .procurement-buy-cell{color:#d23f52}
.procurement-buy-cell small{display:block;margin-top:3px}
.procurement-empty{position:absolute;inset:40px 0 0;color:var(--text-muted);background:var(--surface);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}
.procurement-empty strong{color:var(--text);font-size:13px}.procurement-empty span{font-size:11px}
.procurement-table-card>footer{min-height:40px;padding:0 12px;border-top:1px solid var(--border);color:var(--text-muted);display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:10px}
@media(max-width:1180px){.analytics-view-switch button{padding:0 8px}.procurement-page{min-height:700px}.procurement-toolbar{align-items:flex-start;flex-direction:column}.procurement-controls{align-items:flex-start;flex-wrap:wrap}.procurement-search{width:100%}.procurement-export{margin-left:0}.procurement-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.procurement-table-card>footer{align-items:flex-start;flex-direction:column;padding:9px 12px}}
@media(max-width:720px){.procurement-metrics{grid-template-columns:1fr}.procurement-status-tabs{width:100%;overflow:auto}.procurement-horizon{width:100%}.procurement-horizon button{flex:1}.procurement-table-card>footer span:last-child{display:none}}
