.duct-page{background:var(--e-global-color-ee71334,#f4f4f5);color:#18181b;padding:145px 30px 80px}
.duct-page__inner{max-width:1500px;margin:0 auto}
.duct-page__intro{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:38px}
.duct-page .duct-page__intro h1{font-size:48px!important;font-weight:500;line-height:1.12!important;letter-spacing:-1.6px;margin:0}
.duct-page__intro p{max-width:460px;margin:0 0 5px;font-size:15px;line-height:1.65;color:#71717a}
.duct-calc{font-family:"Inter var",Inter,sans-serif;font-size:14px;line-height:1.45;background:#fff;color:#18181b;border-radius:10px;box-shadow:6px 6px 0 #18181b0a;overflow:hidden;--dc-blue:#4e80ee;--dc-line:#e4e4e7;--dc-muted:#71717a}
.duct-calc *{box-sizing:border-box}
.duct-calc [hidden]{display:none!important}
.duct-calc :where(h2,h3,p){margin:0;color:inherit}
.duct-calc h2{font-size:23px;font-weight:500;line-height:1.3}
.duct-calc h3{font-size:17px;font-weight:500;line-height:1.3}
.duct-calc button,.duct-calc input,.duct-calc select{font:inherit;line-height:1.4;margin:0;text-transform:none;letter-spacing:normal}
.duct-calc button{border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer;padding:0;min-height:0;box-shadow:none}
.duct-calc button:disabled{opacity:.45;cursor:default}
.duct-calc button:focus-visible,.duct-calc input:focus-visible,.duct-calc select:focus-visible{outline:2px solid var(--dc-blue);outline-offset:3px}
.duct-calc input,.duct-calc select{width:100%;min-width:0;height:43px;background:#fff;border:1px solid #a1a1aa;border-radius:4px;padding:9px 11px;color:#18181b;box-shadow:none}
.duct-calc input[aria-invalid=true],.duct-calc select[aria-invalid=true]{border-color:#b42335}
.duct-calc input{font-variant-numeric:tabular-nums}
.duct-calc input::placeholder{color:#a1a1aa}
.duct-calc .dc-button{padding:10px 16px;border:1px solid var(--dc-line);border-radius:4px;background:#f4f4f5;white-space:nowrap;font-size:13px;font-weight:400;transition:background .18s,transform .18s,box-shadow .18s}
.duct-calc .dc-button:hover{background:#e4e4e7;color:#18181b}
.duct-calc .dc-button--primary{background:var(--dc-blue);border-color:var(--dc-blue);color:#fff;box-shadow:4px 4px 0 #18181b}
.duct-calc .dc-button--primary:hover{background:#3e70de;border-color:#3e70de;color:#fff;transform:translate(1px,1px);box-shadow:3px 3px 0 #18181b}
.duct-calc .dc-button--dark{background:#3f3f46;color:#fff;border-color:#3f3f46;box-shadow:4px 4px 0 #18181b}
.duct-calc .dc-button--dark:hover{background:#27272a;color:white}
.duct-calc .dc-text-button{font-size:12px;color:var(--dc-muted);text-decoration:underline;text-underline-offset:3px}
.duct-calc .dc-text-button:hover{color:#18181b}
.dc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:19px 24px;border-bottom:1px solid var(--dc-line)}
.dc-modes{display:flex;gap:4px;background:#f4f4f5;padding:4px;border-radius:6px}
.duct-calc .dc-modes button{padding:9px 16px;font-size:13px;color:var(--dc-muted);white-space:nowrap}
.duct-calc .dc-modes button[aria-pressed=true]{background:#fff;color:#18181b;box-shadow:0 1px 4px #18181b14}
.dc-toolbar__units{font-size:12px;color:var(--dc-muted)}
.dc-workspace{display:grid;grid-template-columns:215px minmax(270px,1fr) minmax(290px,.86fr)}
.dc-catalog{padding:24px 16px;background:#fafafa;border-right:1px solid var(--dc-line)}
.dc-search{display:block;font-size:12px;color:var(--dc-muted);margin-bottom:16px}
.dc-search input{margin-top:8px;height:40px;font-size:13px}
.dc-parts{display:flex;flex-direction:column;gap:2px;max-height:465px;overflow:auto;padding-right:4px}
.dc-parts>*{flex-shrink:0}
.dc-group{font-size:10px;text-transform:uppercase;letter-spacing:.8px;color:var(--dc-muted);margin:15px 9px 5px}
.dc-group:first-child{margin-top:0}
.duct-calc .dc-part{display:block;text-align:left;padding:9px 10px;font-size:12px;line-height:1.4;border-radius:3px;border-left:2px solid transparent}
.duct-calc .dc-part:hover{background:#f4f4f5;color:#18181b}
.duct-calc .dc-part[aria-pressed=true]{color:#3c6edc;background:#eef3fe;border-left-color:var(--dc-blue)}
.dc-empty-search{font-size:12px;color:var(--dc-muted);padding:12px 9px}
.dc-editor{padding:24px 28px 28px;min-width:0}
.dc-editor__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.dc-caption{font-size:11px;color:var(--dc-muted)}
.duct-calc .dc-part-select{display:none;margin-bottom:18px}
.dc-figure{display:flex;align-items:center;gap:18px;min-height:140px;margin-bottom:14px}
.dc-figure img{display:block;width:145px;height:130px;object-fit:contain;flex-shrink:0}
.dc-figure p{font-size:12px;color:var(--dc-muted);margin-top:8px}
.dc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 14px}
.dc-field{display:block;min-width:0}
.dc-field>span{display:flex;justify-content:space-between;gap:6px;margin-bottom:7px;font-size:12px;color:var(--dc-muted)}
.dc-field b{font-size:12px;font-weight:500;color:#18181b;white-space:nowrap}
.dc-result{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f4f4f5;padding:18px 20px;margin-top:24px;border-radius:5px}
.dc-result span{display:block;font-size:12px;color:var(--dc-muted)}
.dc-result small{display:block;color:var(--dc-muted);font-size:11px;margin-top:3px}
.dc-result output{font-size:35px;font-weight:500;color:#18181b;white-space:nowrap;line-height:1.1;font-variant-numeric:tabular-nums}
.dc-result output small{display:inline;font-size:15px;color:inherit;margin:0}
.dc-error{font-size:12px;line-height:1.5;color:#b42335!important;margin-top:10px!important;min-height:18px}
.dc-editor__actions{display:flex;align-items:center;gap:16px;margin-top:12px}
.dc-spec{display:flex;flex-direction:column;min-width:0;padding:24px;background:#fafafa;border-left:1px solid var(--dc-line)}
.dc-spec__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.dc-count{color:var(--dc-muted);font-size:11px;white-space:nowrap}
.dc-spec__list{flex:1;max-height:320px;overflow:auto;padding-right:2px}
.dc-position{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border-bottom:1px solid var(--dc-line);padding:14px 0}
.dc-position:first-child{padding-top:0}
.dc-position__name{font-size:13px;font-weight:500}
.dc-position__details{display:block;font-size:11px;color:var(--dc-muted);margin-top:5px;line-height:1.6}
.dc-position__side{display:flex;align-items:flex-end;flex-direction:column;gap:10px}
.dc-position__area{font-size:13px;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
.dc-position__actions{display:flex;gap:12px}
.duct-calc .dc-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;color:var(--dc-muted);border:1px solid var(--dc-line);background:#fff}
.duct-calc .dc-icon:hover{color:#18181b;background:#f4f4f5}
.dc-icon svg{width:14px;height:14px;stroke:currentColor;fill:none;pointer-events:none}
.dc-empty{padding:30px 0;color:var(--dc-muted);font-size:13px;line-height:1.75}
.dc-empty svg{width:38px;height:38px;stroke:#a1a1aa;fill:none;margin-bottom:14px;display:block}
.dc-total{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;border-top:1px solid var(--dc-line);padding-top:20px;margin-top:24px}
.dc-total span{font-size:12px;color:var(--dc-muted)}
.dc-total output{font-size:30px;line-height:1.1;font-weight:500;white-space:nowrap;font-variant-numeric:tabular-nums}
.dc-total output small{font-size:14px}
.dc-spec .dc-button{margin-top:20px;width:100%}
.dc-spec>.dc-text-button{margin-top:15px;align-self:flex-start}
.dc-table-panel{padding:24px}
.dc-table-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.dc-table-top p{margin-top:6px;color:var(--dc-muted);font-size:12px}
.dc-table-scroll{overflow-x:auto;max-width:100%}
.dc-table{width:100%;border-collapse:collapse;font-size:13px;min-width:860px;table-layout:fixed}
.dc-table th{text-align:left;font-size:11px;font-weight:400;color:var(--dc-muted);background:#f4f4f5;padding:12px 10px}
.dc-table td{padding:16px 10px;vertical-align:top;border-bottom:1px solid var(--dc-line)}
.dc-table th:nth-child(1){width:40px}.dc-table th:nth-child(2){width:280px}.dc-table th:nth-child(4){width:82px}.dc-table th:nth-child(5){width:100px}.dc-table th:nth-child(6){width:42px}
.duct-calc .dc-table input,.duct-calc .dc-table select{height:38px;padding:7px 8px;font-size:13px}
.dc-table-type{display:flex;align-items:center;gap:12px}
.dc-table-type img{width:50px;height:50px;object-fit:contain;flex-shrink:0}
.dc-table-type>div{flex:1;min-width:0}
.dc-table-name{display:block;font-size:10px;line-height:1.45;color:var(--dc-muted);margin-top:6px}
.dc-table-params{display:grid;grid-template-columns:repeat(3,minmax(0,130px));gap:10px}
.dc-table-params .dc-field>span{font-size:10px;margin-bottom:5px}
.dc-table-params .dc-field b{font-size:10px;font-weight:400}
.dc-table-area{font-weight:500;text-align:right;font-variant-numeric:tabular-nums}
.dc-table-area small{display:block;font-weight:400;font-size:10px;color:#b42335;margin-top:5px}
.dc-table-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:24px}
.dc-table-bottom .dc-total{margin:0;padding:0;border:0;min-width:250px}
.dc-table-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.dc-footer{border-top:1px solid var(--dc-line);padding:12px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--dc-muted);font-size:11px}
.dc-notice{color:#3c6edc}
.dc-notice button{margin-left:12px;color:inherit;text-decoration:underline}
.dc-loading{padding:40px;font-size:14px}
.duct-page__help{display:flex;align-items:center;justify-content:space-between;gap:24px;font-size:15px;margin-top:38px;color:#71717a}
.duct-page__help p{margin:0}
.duct-page__help a{font-size:16px;color:#18181b;text-decoration:none;white-space:nowrap}
.duct-page__help a span{padding-left:10px}
@media(max-width:1100px){.duct-page{padding-top:125px}.duct-page .duct-page__intro h1{font-size:36px!important;flex:0 0 50%}.duct-page__intro{gap:24px}.duct-page__intro p{font-size:14px}.dc-workspace{grid-template-columns:175px minmax(250px,1fr) minmax(250px,.86fr)}.dc-editor{padding:22px}.dc-figure{gap:12px}.dc-figure img{width:100px;height:110px}.dc-figure h2{font-size:20px}.dc-spec{padding:22px}}
@media(max-width:900px){.dc-workspace{grid-template-columns:190px minmax(0,1fr)}.dc-spec{grid-column:1/-1;border-left:0;border-top:1px solid var(--dc-line)}.dc-spec__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-height:none}.dc-position{border:0;padding:0}.dc-spec .dc-button{width:auto;align-self:flex-start}.dc-total{max-width:420px}.dc-toolbar__units{display:none}}
@media(max-width:767px){.duct-page{padding:105px 16px 45px}.duct-page__intro{display:block;margin-bottom:26px}.duct-page .duct-page__intro h1{font-size:34px!important;letter-spacing:-1px}.duct-page__intro p{font-size:13px;margin-top:18px}.duct-page__intro p br{display:none}.duct-calc{border-radius:7px}.dc-toolbar{padding:14px}.dc-modes{width:100%}.duct-calc .dc-modes button{flex:1;padding:10px 9px;font-size:12px}.dc-workspace{display:block}.dc-catalog{display:none}.duct-calc .dc-part-select{display:block}.dc-editor{padding:22px 18px 26px}.dc-editor__head{margin-bottom:18px}.dc-figure{min-height:110px;gap:12px;margin-bottom:20px}.dc-figure img{width:110px;height:100px}.dc-figure h2{font-size:19px}.dc-figure p{font-size:11px}.dc-fields{gap:16px 12px}.duct-calc input,.duct-calc select,.duct-calc .dc-table input,.duct-calc .dc-table select{font-size:16px}.dc-result{padding:16px}.dc-result output{font-size:30px}.dc-editor__actions{align-items:flex-start;gap:16px}.dc-editor__actions .dc-button{white-space:normal;font-size:13px}.dc-spec{padding:22px 18px}.dc-spec__list{display:block}.dc-position{padding:14px 0;border-bottom:1px solid var(--dc-line)}.dc-total{max-width:none}.dc-spec .dc-button{width:100%}.dc-table-panel{padding:20px 14px}.dc-table-top{align-items:flex-start;flex-direction:column;gap:16px}.dc-table-bottom{flex-direction:column;align-items:stretch;gap:24px}.dc-table-bottom .dc-total{max-width:none;min-width:0}.dc-table-actions{justify-content:space-between}.dc-footer{padding:14px 18px;flex-direction:column;align-items:flex-start;gap:6px}.duct-page__help{display:block;margin-top:30px;font-size:13px;line-height:1.6}.duct-page__help a{display:inline-block;margin-top:10px;font-size:15px}}
@media(prefers-reduced-motion:reduce){.duct-calc .dc-button{transition:none}}
