.workbook-app{color:#202d33;letter-spacing:0;background:#fff;flex-direction:column;height:100dvh;font:14px Arial,sans-serif;display:flex;overflow:hidden}.wb-header{border-bottom:1px solid #cfd7d9;flex-wrap:wrap;align-items:center;gap:24px;padding:12px 20px;display:flex}.wb-header h1{margin:0;font-size:20px;font-weight:700}.wb-header nav{gap:20px;margin-left:auto;display:flex}.wb-header a{color:#244e64;text-decoration:none}.wb-back{align-items:center;gap:8px;display:flex}.wb-toolbar,.wb-range{background:#f3f6f5;border-bottom:1px solid #d7dfdf;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 14px;display:flex}.workbook-app button,.workbook-app select{cursor:pointer;min-height:34px;color:inherit;font:inherit;background:#fff;border:1px solid #cbd5d6;border-radius:4px;justify-content:center;align-items:center;gap:7px;padding:6px 10px;display:inline-flex}.workbook-app button:hover{background:#e9f0f1}.workbook-app button:disabled{opacity:.4;cursor:default}.workbook-app input,.workbook-app textarea{font:inherit;color:#172b36;letter-spacing:0;background:#fff;border:1px solid #bcc9ce;border-radius:3px;min-width:0;padding:6px 8px}.workbook-app input:focus,.workbook-app textarea:focus{outline-offset:0;outline:2px solid #27739a}.wb-search{align-items:center;gap:6px;margin-left:8px;display:flex}.wb-search input{width:180px}.wb-status{color:#52666b;max-width:440px;margin-left:auto;font-size:13px}.wb-formula{border-bottom:1px solid #d7dfdf;flex:none;grid-template-columns:180px minmax(0,1fr) 42px;align-items:center;gap:8px;padding:8px 14px;display:grid}.wb-formula strong{overflow-wrap:anywhere;font-size:13px}.wb-formula textarea{resize:vertical;max-height:180px;font:13px/1.45 monospace}.wb-range input{width:145px;font-family:monospace}.wb-range span{color:#ae2525}.wb-grid{overscroll-behavior:contain;outline:none;flex:1;min-height:0;overflow:auto}.wb-grid table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content}.wb-grid th,.wb-grid td{white-space:normal;overflow-wrap:anywhere;vertical-align:top;box-sizing:border-box;border-bottom:1px solid #dce3e5;border-right:1px solid #dce3e5;height:34px;padding:7px 8px;font-size:13px;line-height:1.4}.wb-grid td{cursor:cell;background:#fff;min-width:115px;max-width:280px}.wb-grid td span{max-height:150px;display:block;overflow:auto}.wb-grid th{color:#536c75;text-align:center;background:#edf2f3;font:12px monospace}.wb-grid thead th{z-index:2;position:sticky;top:0}.wb-grid tbody th{z-index:1;position:sticky;left:0}.wb-grid thead th:first-child{z-index:3;left:0}.wb-grid td.selected{outline-offset:-2px;background:#edf7fc;outline:2px solid #23779d}.wb-grid td.edited{background:#fff7d9}.wb-grid td.error{color:#b72525;background:#fff0ed}.wb-grid td.input-required{color:#805b17;background:#fff7e5}.wb-tabs{background:#f3f6f5;border-top:1px solid #cbd5d6;flex:none;gap:4px;padding:8px 12px;display:flex;overflow-x:auto}.wb-tabs button{white-space:nowrap}.wb-tabs button[aria-pressed=true]{background:#fff;border-bottom:3px solid #25785d;font-weight:700}.wb-error{color:#992e19;background:#fff1e9;justify-content:space-between;align-items:center;gap:16px;padding:10px 16px;display:flex}.wb-error button{flex:none}.quote-section{color:#213337;background:#fff;border-top:3px solid #277457;margin:20px 0;padding:24px 28px}.quote-section header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;display:flex}.quote-section h2{margin:0;font-size:22px}.quote-section .quote-actions{flex-wrap:wrap;gap:8px;display:flex}.quote-section .quote-actions a,.quote-section button{color:#253d47;cursor:pointer;background:#fff;border:1px solid #c8d2d4;border-radius:4px;align-items:center;gap:6px;padding:8px 12px;font:14px Arial,sans-serif;text-decoration:none;display:inline-flex}.quote-section button:disabled{opacity:.5;cursor:default}.quote-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:20px 0;display:grid}.quote-meta label{gap:5px;font-size:13px;display:grid}.quote-meta input,.quote-meta textarea{box-sizing:border-box;width:100%;min-width:0;font:inherit;border:1px solid #c8d2d4;border-radius:4px;padding:9px}.quote-section table{border-collapse:collapse;width:100%;font-size:14px}.quote-section td,.quote-section th{text-align:left;overflow-wrap:anywhere;border-bottom:1px solid #dce3e2;padding:10px 8px}.quote-section td:last-child,.quote-section th:last-child{text-align:right;white-space:nowrap}.quote-summary{border-top:2px solid #277457;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding-top:18px;display:flex}.quote-summary strong{font-size:26px}.quote-note{color:#526970;white-space:pre-wrap;font-size:13px;line-height:1.55}.quote-warning{background:#fff7e9;border-left:3px solid #be7420;margin-top:15px;padding:12px;font-size:13px;line-height:1.5}.quote-blocked{color:#962b24;border-color:#ad302a}.quote-section[data-stale=true] table,.quote-section[data-stale=true] .quote-summary{opacity:.6}.quote-total-caption{color:#607174;font-size:13px}@media (width<=700px){.wb-header{gap:12px;padding:10px}.wb-header nav{margin-left:0}.wb-formula{grid-template-columns:95px minmax(0,1fr) 38px;padding:6px}.wb-toolbar{padding:6px}.wb-status{width:100%;margin:0}.wb-search{margin:0}.wb-grid td{font-size:12px}.quote-section{padding:18px 14px}.quote-meta{grid-template-columns:1fr}.quote-section h2{font-size:19px}.quote-summary strong{font-size:22px}.quote-summary{flex-wrap:wrap}}@media print{body:has(#client-commercial-proposal) :has(#client-commercial-proposal){width:100%!important;height:auto!important;min-height:0!important;display:block!important;position:static!important;overflow:visible!important;transform:none!important}body:has(#client-commercial-proposal)>:not(:has(#client-commercial-proposal)){display:none!important}body:has(#client-commercial-proposal) :has(#client-commercial-proposal)>:not(:has(#client-commercial-proposal)):not(#client-commercial-proposal){display:none!important}body:has(#client-commercial-proposal){height:auto!important;overflow:visible!important}body:has(#client-commercial-proposal) #root{height:auto!important;overflow:visible!important}body:has(#client-commercial-proposal) .configurator-shell{height:auto!important;overflow:visible!important}body:has(#client-commercial-proposal) .output-panel{height:auto!important;overflow:visible!important}body:has(#client-commercial-proposal){background:#fff!important;min-height:0!important}#client-commercial-proposal,#client-commercial-proposal *{visibility:visible!important}#client-commercial-proposal{box-sizing:border-box;width:100%;margin:0;padding:15mm;position:static;top:0;left:0}#client-commercial-proposal .quote-actions,#client-commercial-proposal .quote-warning,#client-commercial-proposal[data-blocked=true] table,#client-commercial-proposal[data-blocked=true] .quote-summary{display:none}#client-commercial-proposal[data-blocked=true]:before{content:"КП не готово. Требуется завершить и проверить расчёт.";color:#962b24;display:block}#client-commercial-proposal input,#client-commercial-proposal textarea{resize:none;border:0;padding:0}#client-commercial-proposal table{break-inside:auto}#client-commercial-proposal tr,#client-commercial-proposal .quote-summary{break-inside:avoid}.quote-section[data-stale=true] table,.quote-section[data-stale=true] .quote-summary{opacity:1}}.wb-purchase{color:#253b40;background:#f7faf9;border-block:1px solid #d5dddd;flex:none;min-width:0}.wb-purchase summary{cursor:pointer;overflow-wrap:anywhere;padding:10px 16px}.wb-purchase-content{max-height:min(280px,35dvh);padding:0 16px 12px;overflow:auto}.wb-purchase table{border-collapse:collapse;width:100%;min-width:620px;font-size:13px}.wb-purchase th,.wb-purchase td{text-align:left;border-bottom:1px solid #d5dddd;padding:7px 10px}.wb-purchase td{white-space:nowrap}.wb-purchase p{font-size:13px;line-height:1.4}.wb-metal-refresh{color:#375b4d;background:#edf6f1;border-bottom:1px solid #cedcd4;flex-wrap:wrap;gap:8px 24px;padding:10px 16px;font-size:13px;display:flex}.wb-metal-refresh-warning{color:#87391e;background:#fff3ee}.wb-price-control{flex:none;min-width:0;font-size:14px}.wb-price-control .wb-metal-refresh{font-size:14px}.wb-price-details summary{cursor:pointer;border-bottom:1px solid #cedcd4;padding:8px 16px}.wb-price-scroll{max-height:38dvh;padding:8px 16px 16px;overflow:auto}.wb-price-scroll table{border-collapse:collapse;width:100%;min-width:780px;margin-block:12px;font-size:14px}.wb-price-scroll td,.wb-price-scroll th{text-align:left;border-bottom:1px solid #cedcd4;padding:8px}.wb-price-scroll button{cursor:pointer;margin-block:4px;padding:7px 10px}.wb-price-scroll a{color:#126087;text-decoration:underline}.wb-price-error{color:#87391e;margin:0;padding:8px 16px}
