dialog.modal-card.purchasing-need-card[open]{color:#25324a;border:1px solid #dce3ed;border-radius:16px;flex-direction:column;width:min(780px,100vw - 32px);height:fit-content;min-height:0;max-height:calc(100vh - 40px);padding:0;display:flex;overflow:auto}.purchasing-need-card::backdrop{background:#1421365c}.purchasing-needs-page section[aria-label="План и факт пополнения"]{background:#fff;border:1px solid #dbe5eb;border-radius:12px;margin:12px 0;padding:16px}.purchasing-needs-page section[aria-label="План и факт пополнения"] table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.purchasing-needs-page section[aria-label="План и факт пополнения"] th,.purchasing-needs-page section[aria-label="План и факт пополнения"] td{text-align:right;white-space:nowrap;border-bottom:1px solid #dde7ed;padding:10px 14px}.purchasing-needs-page section[aria-label="План и факт пополнения"] th{background:#eef5f7;position:sticky;top:0}.purchasing-needs-page section[aria-label="План и факт пополнения"] th:first-child,.purchasing-needs-page section[aria-label="План и факт пополнения"] td:first-child{text-align:left;white-space:normal;min-width:240px}.purchasing-needs-page section[aria-label="План и факт пополнения"] td small{color:#526777;margin-top:4px;display:block}.purchasing-needs-page section[aria-label="План и факт пополнения"] nav{gap:8px;margin-top:12px;display:flex}.purchasing-need-card section[aria-label=История\ потребления] details table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}.purchasing-need-card section[aria-label=История\ потребления] details th,.purchasing-need-card section[aria-label=История\ потребления] details td{text-align:right;white-space:nowrap;border-bottom:1px solid #dde7ed;padding:7px 12px}.purchasing-need-card section[aria-label=История\ потребления] details th{background:#eef5f7;position:sticky;top:0}.purchasing-need-card section[aria-label=История\ потребления] details th:first-child,.purchasing-need-card section[aria-label=История\ потребления] details td:first-child{text-align:left}dialog.modal-card.purchasing-need-card .modal-header h2{font-family:Arial,Segoe UI,sans-serif;font-size:23px;font-weight:650;line-height:1.3}.purchasing-need-card .modal-body{flex:0 auto}.purchasing-needs-page .table-link{color:#245b7d;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}.purchasing-need-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px;display:grid}.purchasing-need-card dl>div{background:#f5f7fb;border-radius:10px;padding:14px}.purchasing-need-card dt{color:#637086;font-size:13px}.purchasing-need-card dd{font-variant-numeric:tabular-nums;margin:6px 0 0;font-size:22px;font-weight:650}.purchasing-need-card .need-card-warning{background:#fff8e8;border-left:3px solid #d49b31;border-radius:6px;padding:12px}@media (max-width:540px){.purchasing-need-card dl{grid-template-columns:1fr}.purchasing-need-card .modal-footer{flex-wrap:wrap}}dialog.modal-card.purchasing-need-card[open]{width:min(1240px,100vw - 32px);height:min(780px,100dvh - 40px);overflow:hidden}.purchasing-need-card .modal-header{flex-shrink:0;gap:20px;padding:16px 20px}.purchasing-need-card .modal-header p{margin:5px 0 0;font-size:12px}.purchasing-need-card .modal-body{flex:1;min-height:0;padding:20px;overflow:auto}.purchasing-need-card dl{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.purchasing-need-card dd{font-size:24px}.need-card-tabs{border-bottom:1px solid #dbe5eb;flex-shrink:0;gap:6px;padding:0 20px;display:flex}.need-card-tabs button{color:#405b68;font:inherit;cursor:pointer;background:0 0;border:0;padding:12px 15px}.need-card-tabs button[aria-pressed=true]{color:#185e4b;background:#e8f4ef;font-weight:600;box-shadow:inset 0 -3px #28785f}.need-card-explanation{background:#f2f7fa;border-radius:10px;padding:14px}.need-card-explanation p{margin:8px 0;font-size:13px}.need-next-actions,.need-preview-fields{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.need-preview-fields .form-field{width:220px}.need-preview-result{color:#185e4b;background:#e5f3ed;border-radius:10px;margin:20px 0;padding:20px;font-size:22px;font-weight:650;display:block}.need-peer-table{border-collapse:collapse;width:100%;font-size:14px}.need-peer-table th,.need-peer-table td{text-align:right;border-bottom:1px solid #dde7ed;padding:12px}.need-peer-table th{background:#eef5f7}.need-peer-table th:first-child,.need-peer-table td:first-child{text-align:left}.need-card-footer{color:#526777;background:#f3f7f9;border-top:1px solid #dde7ed;flex-shrink:0;padding:12px 20px;font-size:12px}@media (max-width:700px){.purchasing-need-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.need-card-tabs{overflow:auto}.purchasing-need-card .modal-header{flex-wrap:wrap}.need-peer-table{min-width:600px}}.need-orders-card{border:1px solid var(--line);border-radius:14px}.need-orders-card table{border-collapse:collapse;text-align:left;width:100%}.need-orders-card th,.need-orders-card td{border-bottom:1px solid var(--line);vertical-align:top;padding:10px 14px}.need-orders-card th{white-space:nowrap;background:#f3f7f9}.need-orders-card td:nth-child(2),.need-orders-card td:nth-child(3){text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.need-calculation-details{margin:6px 0 10px}.need-calculation-details>summary{cursor:pointer;color:#245b7a;padding:6px 0;font-weight:600}.purchasing-need-card dl>div{padding:8px 10px}.purchasing-need-card dd{margin-top:3px;font-size:20px}.purchasing-need-card .need-card-explanation{margin-bottom:8px;padding:8px 10px}.purchasing-need-card .need-card-explanation h3{margin:0 0 6px;font-size:15px}.purchasing-need-card .smart-grid-table-wrap{min-height:0;max-height:none}@media (max-width:720px){html dialog.modal-card.purchasing-need-card[open]{border-radius:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;inset:0}.purchasing-need-card .modal-header{gap:8px;padding:10px 12px}.purchasing-need-card .modal-body{padding:12px}.purchasing-need-card .need-card-tabs{padding:0 8px}.purchasing-need-card .need-card-tabs button{flex:none;min-height:44px;padding:8px}.purchasing-need-card .need-card-footer{padding:8px 12px calc(8px + env(safe-area-inset-bottom))}.purchasing-need-card .need-preview-fields{flex-direction:column;align-items:stretch}.purchasing-need-card .need-preview-fields .form-field{width:100%}.purchasing-need-card :is(input:not([type=checkbox]),select){min-height:44px;font-size:16px}.purchasing-need-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}}
.needs-workbench .page-heading{margin-bottom:10px}.needs-workbench .page-heading h1{font-size:28px}.needs-workbench .page-description{max-width:850px;margin-bottom:0}.need-snapshot-bar{color:#526777;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;margin:10px 0;font-size:12px;display:flex}.need-view-tabs{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.need-view-tabs button{color:#264653;font:inherit;cursor:pointer;background:#fff;border:1px solid #d5e1e8;border-radius:9px;align-items:center;gap:10px;padding:9px 12px;font-size:13px;display:flex}.need-view-tabs button span{background:#edf3f6;border-radius:5px;padding:2px 6px;font-weight:700}.need-view-tabs button[aria-pressed=true]{color:#185e4b;background:#e1f1eb;border-color:#80b7a6;box-shadow:inset 0 -2px #28785f}.needs-workbench .smart-grid-table-wrap{min-height:280px;max-height:calc(100dvh - 350px);overflow:auto}.needs-workbench .need-product-link{text-align:left;color:#215e72;font:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:flex-start;max-width:100%;padding:0;display:flex}.need-product-link strong{white-space:normal;font-size:13px;line-height:1.3}.need-product-link small{color:#677985;overflow-wrap:anywhere;margin-top:3px;font-size:11px}.need-product-link:hover strong{text-decoration:underline}.need-buy-value{color:#165b45;background:#e5f4ed;border-radius:5px;padding:4px 7px;font-weight:700}.need-negative-value{color:#a12934;font-weight:700}.need-filter-fields{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.need-filter-fields .form-field{width:300px;max-width:100%}.needs-workbench input[type=checkbox]{accent-color:#28785f;width:16px;height:16px}@media (max-width:900px){.needs-workbench .smart-grid-table-wrap{max-height:65dvh}.need-view-tabs{gap:5px}.need-view-tabs button{padding:7px}.need-snapshot-bar{justify-content:flex-start}}.needs-workbench .need-product-link{flex-flow:wrap;align-items:baseline;gap:8px}.need-product-link strong{font-size:14px}.need-product-link small{margin-top:0;font-size:12px}.need-row-reason{white-space:normal;margin-top:3px;font-size:13px}.need-row-reason summary{cursor:pointer;color:#176e5b;width:fit-content}.need-row-reason[open]{max-width:340px}.need-row-reason>span{padding:6px 0;line-height:1.4;display:block}@media (max-width:720px){.needs-workbench .smart-grid-table-wrap{min-height:0;max-height:none;overflow:visible}.needs-workbench .need-view-tabs button{min-height:44px}.needs-workbench .need-filter-fields :is(input:not([type=checkbox]),select){min-height:44px;font-size:16px}.needs-workbench .need-row-reason[open]{max-width:none}}@media (max-width:600px){.needs-workbench .page-heading .heading-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;max-width:100%;display:grid;overflow:visible}.needs-workbench .page-heading .heading-actions>*{white-space:normal;overflow-wrap:anywhere;text-align:center;justify-content:center;align-items:center;width:100%;min-width:0;display:flex}}
