:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}body{color:#1d252c;background:#f7f7f4;margin:0}a{color:#145c7c}.app-header{background:#fff;border-bottom:1px solid #d8dedf;justify-content:space-between;align-items:center;gap:24px;padding:16px 24px;display:flex}.app-header nav{gap:16px;display:flex}.brand{color:#1d252c;font-weight:700;text-decoration:none}.page{max-width:1120px;margin:0 auto;padding:32px 24px}.card{background:#fff;border:1px solid #d8dedf;border-radius:12px;padding:20px}.warning{background:#fff8dd;border-color:#e6c75d}.grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;display:grid}.form-section{border-top:1px solid #d8dedf;margin-top:20px;padding-top:20px}.section-heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.section-heading h2,.section-heading p{margin:0}.consumer-group-list{gap:14px;display:grid}.consumer-group-card{background:#f8faf9;border:1px solid #cbd5d8;border-radius:10px;margin:0;padding:16px}.consumer-group-card legend{padding:0 6px;font-weight:700}.group-actions{justify-content:flex-end;margin-top:-8px}.field-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:0 14px;display:grid}.advanced-settings{margin:12px 0}.advanced-settings>summary{color:#145c7c;cursor:pointer;margin-bottom:12px;font-weight:650}.report-details>summary{color:#145c7c;cursor:pointer;font-size:1.05rem;font-weight:700}.engineering-report-page{max-width:1440px}.engineering-report-header dl{grid-template-columns:minmax(170px,max-content) 1fr;gap:6px 18px;margin:0;display:grid}.engineering-report-header dt{color:#53636b;font-weight:600}.engineering-report-header dd{margin:0}.engineering-report-card{overflow:hidden}.engineering-summary{gap:22px;display:grid}.engineering-summary-section{break-inside:avoid-page}.engineering-summary-section h2{color:#213b47;border-bottom:2px solid #486a7a;margin:0 0 8px;padding-bottom:5px;font-size:1.05rem}.engineering-summary-table-wrap{overflow-x:auto}.engineering-summary-table{table-layout:fixed;border:1px solid #aebbc1;min-width:660px;margin:0}.engineering-summary-table th,.engineering-summary-table td{text-align:center;vertical-align:middle;border:1px solid #c7d0d4;padding:7px 9px}.engineering-summary-table thead th{color:#263b45;background:#e8edef;font-size:.9rem;font-weight:700}.engineering-summary-table thead th:first-child,.engineering-summary-table tbody th{text-align:left;width:25%}.engineering-summary-table tbody th{background:#f6f8f8;font-weight:650}.engineering-summary-unit{color:#53636b!important;font-size:.82rem!important;font-weight:600!important}.engineering-summary-value{font-variant-numeric:tabular-nums;font-weight:700;display:block}.engineering-summary-symbol{color:#53636b;margin-top:2px;font-size:.8rem;display:block}.engineering-summary-note{color:#53636b;margin:-8px 0 0;font-size:.9rem}.report-details[open]>summary{margin-bottom:20px}.report-details section+section{margin-top:24px}.report-steps li+li{margin-top:16px}.report-steps p{margin:5px 0}.report-formulas,.print-step-formulas{gap:9px;margin:9px 0;display:grid}.report-formula,.print-step-formula{border-left:3px solid #b7c2c7;padding-left:12px}.report-formula>p:first-child,.print-step-formula>p:first-child{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.95rem}.report-symbols,.print-step-symbols{gap:3px;margin:6px 0;display:grid}.report-symbols div,.print-step-symbols div{grid-template-columns:minmax(80px,auto) 1fr;gap:10px;display:grid}.report-symbols dt,.print-step-symbols dt{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:700}.report-symbols dd,.print-step-symbols dd{margin:0}label{gap:6px;margin-bottom:12px;display:grid}input{font:inherit;border:1px solid #b7c2c7;border-radius:8px;padding:10px 12px}select{font:inherit;background-color:#fff;border:1px solid #b7c2c7;border-radius:8px;padding:10px 12px}optgroup{font-style:normal;font-weight:700}table{border-collapse:collapse;width:100%;margin:16px 0}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #d8dedf;padding:8px}pre{background:#f3f5f5;border-radius:8px;max-height:420px;padding:12px;overflow:auto}.muted{color:#53636b}.error-text{color:#9b1c1c}.success-text{color:#22613b}.actions{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;display:flex}.actions.compact{gap:8px;margin:0}button,.button{color:#fff;font:inherit;background:#145c7c;border:0;border-radius:8px;padding:10px 14px;text-decoration:none;display:inline-block}.button.secondary{background:#53636b}button.secondary-action{color:#145c7c;background:#e7f0f3}button.danger-link{color:#9b1c1c;background:0 0;padding-left:6px;padding-right:6px}button.danger{background:#9b1c1c}button:disabled,.button[aria-disabled=true]{background:#8ba1aa}button.danger-link:disabled{color:#8b969b;background:0 0}.print-report{background:#fff}.print-report-toolbar{background:#f3f5f5;border:1px solid #d8dedf;border-radius:12px;margin-bottom:24px;padding:20px}.print-report-document{color:#000;background:#fff}.print-report-title{margin-bottom:0;font-size:1.4rem}.print-report-subtitle{color:#333;margin-top:4px}.print-block{margin-top:24px}.print-block h2{border-bottom:1px solid #999;margin-bottom:12px;padding-bottom:4px;font-size:1.05rem}.print-summary-block>.engineering-summary{gap:16px}.print-summary-block .engineering-summary-section h2{color:#000;border-bottom-color:#666}.print-meta{grid-template-columns:max-content 1fr;gap:4px 16px;margin:8px 0;display:grid}.print-meta dt{color:#444;font-weight:600}.print-meta dd{margin:0}.print-steps{padding-left:20px}.print-steps li{margin-bottom:10px}.print-step-title{margin:0;font-weight:600}.print-step-reference,.print-step-substitution,.print-step-result,.print-step-rounding{color:#333;margin:2px 0;font-size:.95rem}.print-warnings ul{padding-left:0;list-style:none}.print-warnings li{padding-left:18px;display:block;position:relative}.print-warnings li:before{content:"•";position:absolute;left:0}.print-report-footer{border-top:1px solid #999;flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:32px;padding-top:8px;display:flex}@media print{@page{margin:18mm 16mm;size:A4;@bottom-center{content:"Страница " counter(page) " из " counter(pages);font-size:9pt}}body{background:#fff!important}.no-print,.app-header{display:none!important}.print-report{padding:0}.card,.print-report-toolbar{background:#fff!important;border:0!important;padding:0!important}.warning{background:#fff!important;border:1px solid #000!important}table{font-size:.9rem}.engineering-summary-table{min-width:0}.engineering-summary-table thead th{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#eee!important}thead{display:table-header-group}tr{page-break-inside:avoid}.print-block{break-inside:auto;page-break-inside:auto}.print-block>h2,.print-step-title,.print-step-formula{break-after:avoid-page;page-break-after:avoid}.print-steps>li,.print-step-formula{break-inside:avoid-page;page-break-inside:avoid}.print-report-footer{display:none}.print-warnings ul{margin-bottom:0}a{color:#000;text-decoration:none}}
