#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-app { display:flex; flex-direction:column; gap:22px; color:var(--text-primary); --em-a:#0f766e; --em-am:#0d9488; --em-s:#14b8a6; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-grid { display:grid; grid-template-columns:1fr; gap:16px; min-width:0; }
@media (min-width:900px) { #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-grid { grid-template-columns:repeat(3, minmax(0,1fr)); } }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-grid > .tbcalc-fieldset, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-grid .tbcalc-fieldset, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-grid .tbcalc-field,
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-grid select, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-grid input { min-width:0; width:100%; box-sizing:border-box; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-fields, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-2col .tbcalc-field { min-width:0; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-2col { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px 16px; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-fields { display:flex; flex-direction:column; gap:12px; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-o { display:flex; flex-direction:column; gap:18px; }

#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-hero { padding:20px 24px 18px; border:1px solid var(--border-color); border-top:1px solid var(--em-s); border-radius:var(--radius-lg); background:var(--bg-secondary); box-shadow:0 -3px 0 0 var(--em-s) inset; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-hero-cap { font-size:0.92rem; font-weight:650; color:var(--text-secondary); letter-spacing:.01em; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-hero-line { display:flex; align-items:baseline; gap:10px; margin-top:10px; flex-wrap:wrap; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-hero-num { font-size:clamp(2.3rem,6vw,3.4rem); font-weight:800; line-height:1; color:var(--em-a); letter-spacing:-0.025em; font-variant-numeric:tabular-nums; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-hero-cur { font-size:1.15rem; color:var(--text-secondary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-hero-note { margin-top:8px; font-size:0.85rem; color:var(--text-muted); }

#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-est { border:1px solid var(--border-color); border-radius:var(--radius-md); overflow:hidden; background:var(--bg-secondary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-est-hd, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-line, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-sub, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-total { display:grid; grid-template-columns:minmax(0,1fr) auto 104px; gap:12px; align-items:baseline; padding:10px 16px; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-est-hd { background:var(--bg-tertiary); font-size:0.76rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); padding-top:9px; padding-bottom:9px; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-est-hd .em-est-amt { text-align:right; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-line { border-top:1px solid var(--border-color); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-l-name { font-size:0.94rem; color:var(--text-secondary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-l-d { font-size:0.86rem; color:var(--text-muted); font-variant-numeric:tabular-nums; text-align:right; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-l-amt { font-weight:700; font-variant-numeric:tabular-nums; text-align:right; font-size:0.96rem; color:var(--text-primary); white-space:nowrap; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-sub { border-top:1px solid var(--border-color); background:var(--bg-tertiary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-sub .em-l-name { font-weight:650; color:var(--text-primary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-total { border-top:2px solid var(--text-secondary); padding-top:13px; padding-bottom:13px; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-total .em-l-name { font-weight:750; font-size:1.02rem; color:var(--text-primary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-l-total { font-size:1.35rem; color:var(--em-a); font-weight:800; }

#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-comp { display:flex; flex-direction:column; gap:9px; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-cap { font-size:0.86rem; font-weight:650; color:var(--text-secondary); margin-bottom:2px; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-stack { display:flex; width:100%; height:10px; border-radius:999px; overflow:hidden; background:var(--bg-tertiary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-seg { display:block; height:100%; width:0; transition:width 180ms ease-out; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-seg-sock { background:var(--em-s); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-seg-sw { background:#2b8a9e; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-seg-light { background:#c7a24a; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-seg-stroba { background:#8a8f98; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-seg-cable { background:#6b7fd7; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-seg-board { background:#c95c4f; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-legend { list-style:none; margin:2px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px 18px; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-lg { display:inline-flex; align-items:center; gap:7px; font-size:0.84rem; color:var(--text-secondary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-dot { width:9px; height:9px; border-radius:3px; display:inline-block; flex:0 0 auto; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .dot-sock { background:var(--em-s); } #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .dot-sw { background:#2b8a9e; } #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .dot-light { background:#c7a24a; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .dot-stroba { background:#8a8f98; } #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .dot-cable { background:#6b7fd7; } #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .dot-board { background:#c95c4f; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-share { font-variant-numeric:tabular-nums; color:var(--text-primary); font-weight:650; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-status { border:1px solid var(--border-color); border-left:4px solid var(--accent-primary); border-radius:var(--radius-sm); padding:11px 15px; font-size:0.9rem; line-height:1.5; color:var(--text-secondary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-status.warn { border-left-color:var(--warning); background:var(--warning-light); color:var(--text-primary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-status.danger { border-left-color:var(--danger); background:var(--danger-light); color:var(--text-primary); }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-tbl table { width:100%; border-collapse:collapse; font-size:0.92rem; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-tbl th, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-tbl td { border:1px solid var(--border-color); padding:9px 12px; text-align:left; vertical-align:top; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-tbl th { background:var(--bg-tertiary); color:var(--text-secondary); font-weight:650; }
#js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-tbl td { color:var(--text-primary); }
html[data-theme="dark"] #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-app { --em-a:#2dd4bf; --em-s:#14b8a6; }
@media (max-width:600px) {
  #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-2col { grid-template-columns:1fr; }
  #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-est-hd, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-line, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-sub, #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-total { grid-template-columns:minmax(0,1fr) auto; }
  #js-tool-container-kalkulyator-stoimosti-elektromontazhnyh-rabot .em-l-d { display:none; }
}
