/* Только инструмент 06. Изоляция от остальных страниц. */
.em28{background:#f7f8f6;color:#243943;min-height:75vh}.em28-hero{padding-bottom:30px}.em28 .em28-wrap{max-width:1320px}.em28 *{box-sizing:border-box}.em28 .em28-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px}.em28 .em28-heading h2{margin:4px 0;font-size:clamp(23px,2.4vw,30px)}.em28 .em28-actions{display:flex;gap:8px}.em28 .em28-base{background:#fff;border:1px solid #e1e6e2;border-radius:14px;padding:15px 18px;display:flex;align-items:end;gap:22px;margin:0 0 17px}.em28 .em28-switches{display:flex;gap:19px;align-items:center;flex-wrap:wrap;padding-bottom:9px}.em28 .em28-switches label,.em28 .em28-check{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:700;color:#354e55}.em28 input[type=checkbox]{accent-color:#9d7841;width:17px;height:17px;flex-shrink:0}.em28 .em28-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:17px;align-items:start}.em28 .em28-panel{border:1px solid #e0e5e1;background:#fff;box-shadow:0 4px 18px #1c343b08;border-radius:15px;min-width:0;overflow:hidden}.em28 .em28-tabs{display:flex;gap:0;background:#f3f5f2;border-bottom:1px solid #e0e6e3;overflow:auto}.em28 .em28-tabs button{flex:1;min-width:max-content;padding:15px 10px;border:0;border-bottom:3px solid transparent;background:transparent;color:#596d70;cursor:pointer;font-size:12px;font-weight:800}.em28 .em28-tabs button.active{color:#263f45;background:#fff;border-bottom-color:#ab854c}.em28 .em28-pane{display:none;padding:18px}.em28 .em28-pane.active{display:block}.em28 .em28-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:4px 0 16px}.em28 .em28-field{display:flex;flex-direction:column;gap:5px;min-width:0;color:#607174;font-size:11px;font-weight:750}.em28 .em28-field span{line-height:1.45}.em28 .em28-field input,.em28 .em28-field select,.em28 .em28-row input,.em28 .em28-row select{width:100%;min-width:0;height:41px;border:1px solid #d2deda;border-radius:8px;padding:8px 10px;background:#fff;color:#213a41;font:inherit;font-size:13px}.em28 .em28-field input:focus,.em28 .em28-field select:focus,.em28 .em28-row input:focus,.em28 .em28-row select:focus{outline:2px solid #bfa173;outline-offset:1px}.em28 .em28-full{grid-column:1/-1}.em28 .em28-grow{flex:1}.em28 .em28-sub{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid #edf0ed;margin:16px 0 11px;padding-top:14px}.em28 .em28-sub:first-child{border-top:0;margin-top:0;padding-top:0}.em28 .em28-sub strong{font-size:14px}.em28 .em28-add{border:1px solid #dadfdb;border-radius:8px;padding:8px 10px;background:#f7f7f2;color:#785d36;cursor:pointer;font-size:12px;font-weight:750}.em28 .em28-row{border:1px solid #e4e8e3;border-radius:10px;background:#fcfcfa;margin:0 0 9px;padding:10px;display:grid;grid-template-columns:1fr;gap:8px}.em28 .em28-row .em28-rowtitle{display:flex;align-items:center;justify-content:space-between;gap:8px}.em28 .em28-row .em28-rowtitle strong{font-size:12px}.em28 .em28-rowfields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.em28 .em28-rowfields>*{min-width:0}.em28 .em28-row label{font-size:10px;color:#6c7b7b;display:grid;gap:4px;font-weight:700}.em28 .em28-remove{border:0;background:#f8eded;color:#a45d51;border-radius:6px;cursor:pointer;font-size:18px;width:29px;height:29px}.em28 .em28-total-line{display:flex;align-items:center;justify-content:space-between;padding:10px 0;font-size:12px;color:#5f7072}.em28 .em28-total-line strong{font-size:15px;color:#2b4448}.em28 .em28-fold{border:1px solid #e5eae6;border-radius:10px;margin-top:10px;background:#fafbf9}.em28 .em28-fold summary{padding:14px;cursor:pointer;color:#43595f;font-size:12px;font-weight:800}.em28 .em28-fold-body{padding:0 13px 13px}.em28 .em28-note{font-size:12px;color:#72807f;line-height:1.55;margin:0 0 13px}.em28 .em28-btn{border:1px solid #2d4448;border-radius:9px;background:#2d4448;color:white;font-size:12px;font-weight:800;cursor:pointer;padding:11px 15px;min-height:39px}.em28 .em28-btn:disabled{opacity:.4;cursor:not-allowed}.em28 .em28-btn-light{background:#fff;color:#385158;border-color:#d5dcd8}.em28 .em28-result{position:sticky;top:82px}.em28 .em28-result-head{padding:20px 19px 11px}.em28 .em28-result h3{font-size:21px;margin:5px 0 8px}.em28 .em28-status{font-size:12px;color:#778586}.em28 .em28-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:0 18px 17px}.em28 .em28-stats div{background:#f5f7f4;border:1px solid #e8ece8;border-radius:10px;padding:11px 9px;min-width:0}.em28 .em28-stats small{display:block;font-size:10px;color:#758380}.em28 .em28-stats strong{display:block;font-size:20px;margin-top:4px;overflow:hidden;text-overflow:ellipsis}.em28 .em28-results{border-top:1px solid #e6ebe7;min-height:90px;max-height:440px;overflow:auto}.em28 .em28-result-section{background:#f1f4f1;color:#506568;padding:9px 15px;font-size:11px;font-weight:850}.em28 .em28-result-line{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px 15px;border-top:1px solid #eef1ed;font-size:12px;color:#3c5055}.em28 .em28-result-line span:last-child{font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums}.em28 .em28-empty{padding:19px;font-size:12px;color:#84908e}.em28 .em28-more{margin:10px 15px}.em28 .em28-result-actions{display:flex;gap:10px;padding:14px 17px}.em28 .em28-result-actions button{flex:1}.em28 .em28-warnings{border-top:1px solid #e6eae6;padding:14px 18px}.em28 .em28-warnings summary{font-size:12px;cursor:pointer;color:#6c7777;font-weight:700}.em28 .em28-warnings #em28-warning-list{max-height:175px;overflow:auto;font-size:11px;color:#697979;line-height:1.55}.em28 .em28-warnings #em28-warning-list p{margin:8px 0}.em28 .em28-plan-fold{background:white;border:1px solid #e0e6e1;border-radius:14px;margin-top:20px;overflow:hidden}.em28 .em28-plan-fold summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 20px;font-weight:800;font-size:15px}.em28 .em28-plan-fold summary small{font-weight:500;color:#7a8788;font-size:11px}.em28 .em28-plan{padding:10px 18px;overflow-x:auto}.em28 .em28-plan svg{width:100%;min-width:700px;max-height:340px;display:block}.em28 .em28-plan-fold p{padding:0 20px 12px}.em28 .em28-note-strip{font-size:12px;color:#74817c;padding:17px 0}.em28 [hidden]{display:none!important}
@media(max-width:1080px){.em28 .em28-layout{grid-template-columns:1fr}.em28 .em28-result{position:static}.em28 .em28-results{max-height:500px}}
@media(max-width:650px){.em28 .em28-base{display:block}.em28 .em28-switches{margin-top:14px;gap:12px}.em28 .em28-heading{align-items:start;flex-direction:column}.em28 .em28-pane{padding:12px}.em28 .em28-grid{grid-template-columns:1fr 1fr;gap:10px}.em28 .em28-rowfields{grid-template-columns:repeat(2,minmax(0,1fr))}.em28 .em28-plan-fold summary{flex-direction:column;align-items:start}}
@media print{header,footer,.em28-hero,.em28-form,.em28-base,.em28-actions,.em28-result-actions,.em28-more,.em28-plan-fold{display:none!important}.em28 .em28-layout{display:block}.em28 .em28-results{max-height:none;overflow:visible}.em28 .em28-panel{border:0;box-shadow:none}}

/* V2.9 — удобочитаемые поля, компактная сборка модулей. */
.em28 .em28-field{font-size:14px;line-height:1.35}
.em28 .em28-field input,.em28 .em28-field select,.em28 .em28-row input,.em28 .em28-row select{min-height:46px;height:auto;font-size:15px}
.em28 .em28-tabs button{font-size:15px;padding:16px 12px}
.em28 .em28-row label{font-size:13px}
.em28 .em28-row .em28-rowtitle strong,.em28 .em28-sub strong{font-size:16px}
.em28 .em28-result-line,.em28 .em28-result-section,.em28 .em28-status,.em28 .em28-total-line,.em28 .em28-note,.em28 .em28-note-strip,.em28 .em28-warnings summary,.em28 .em28-warnings #em28-warning-list{font-size:14px;line-height:1.5}
.em28 .em28-switches label,.em28 .em28-check,.em28 .em28-fold summary{font-size:15px}
.em28 .em28-btn,.em28 .em28-add{font-size:14px}
.em28 .em28-stats small{font-size:13px}
.em28 .em28-result-line{grid-template-columns:minmax(0,1fr) auto}
.em28 .em28-result-line span:first-child{min-width:0;overflow-wrap:anywhere}
.em28 .em29-standard{padding:12px 15px;background:#edf3ed;border-radius:10px;color:#3b5a50;font-weight:650;font-size:14px;line-height:1.4}
.em28 .em29-seq-title{border:0;margin-top:6px;padding-top:6px}
.em28 #em29-modules .em28-rowfields{grid-template-columns:1.7fr .8fr 1fr}
.em28 .em29-block-kind{color:#6b7774;font-size:12px}
@media(max-width:700px){.em28 #em29-modules .em28-rowfields{grid-template-columns:1fr 1fr}.em28 #em29-modules .em28-rowfields label:first-child{grid-column:1/-1}}

/* V3.0 — основной ввод читаемый; редкие параметры в раскрывающихся строках. */
.em28 .em28-field,.em28 .em28-row label{font-size:15px}
.em28 .em28-row input,.em28 .em28-row select,.em28 .em28-field input,.em28 .em28-field select{font-size:16px;min-height:47px}
.em28 .em28-result-line,.em28 .em28-result-section,.em28 .em28-warnings #em28-warning-list{font-size:15px;line-height:1.45}
.em28 .em28-tab button{font-size:16px}
.em28 .em28-row-details{border-top:1px solid #e5e9e5;margin-top:4px;padding-top:6px}
.em28 .em28-row-details>summary{cursor:pointer;font-size:14px;font-weight:700;color:#607773;padding:8px 2px}
.em28 .em28-row-details[open]>.em28-rowfields{padding-top:9px}
.em28 .em28-route-row{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(105px,.7fr) minmax(105px,.7fr);gap:10px}
.em28 .em28-route-row>*{min-width:0}
.em28 .em28-route-row select{font-size:15px}
@media(max-width:780px){.em28 .em28-route-row{grid-template-columns:1fr 1fr}.em28 .em28-route-row>label:first-child{grid-column:1/-1}}

/* V3.1: форма без лишней графики и выгрузки; компактные группы и исходная ведомость */
.em28 .em28-wrap{max-width:1440px}
.em28 .em28-layout{grid-template-columns:minmax(0,1.28fr) minmax(0,.72fr)}
.em28 .em28-tabs button{font-size:15px;min-width:120px}
.em28 .em31-brief{padding:12px 18px;color:#4a605d;background:#f2f5f1;font-size:15px}
.em28 .em31-export-note{font-size:15px;font-weight:700;color:#7a6c55;padding:16px 19px;background:#faf9f5;border-top:1px solid #e3e8e2}
.em28 .em31-add-bottom{display:flex;justify-content:flex-end;padding:8px 2px 14px}
.em28 .em31-add-bottom .em28-add{font-size:15px;padding:10px 15px}
.em28 .em31-compact-row{display:grid;grid-template-columns:75px minmax(150px,1.6fr) 75px 90px 110px 30px;gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #e7eae6}
.em28 .em31-compact-title{font-size:15px;font-weight:700;color:#314b4e}
.em28 .em31-compact-row label,.em28 .em31-nku-row label{font-size:13px;font-weight:650;color:#5b7070;min-width:0;display:grid;gap:5px}
.em28 .em31-compact-row input,.em28 .em31-compact-row select,.em28 .em31-nku-row input,.em28 .em31-nku-row select,.em28 .em31-main-row input{min-width:0;width:100%;font-size:15px;height:45px;padding:6px 8px;border:1px solid #d2ddda;border-radius:7px;background:white;color:#23404a}
.em28 .em31-cell-extra{grid-column:2/6;grid-row:2;font-size:13px}.em28 .em31-cell-extra>summary{cursor:pointer;color:#6c7975}.em28 .em31-cell-extra>div{display:flex;gap:10px;padding-top:9px}.em28 .em31-cell-extra>div label{max-width:180px}
.em28 .em31-main-equipment{display:grid;gap:0}
.em28 .em31-main-row{display:grid;grid-template-columns:minmax(0,1fr) 45px 90px;gap:14px;align-items:center;padding:9px 3px;border-bottom:1px solid #e9ede9;font-size:15px;color:#364c51}
.em28 .em31-main-unit{color:#80908b;font-size:14px;text-align:right}
.em28 .em31-nku-row{display:grid;grid-template-columns:minmax(0,1.8fr) 95px 120px 32px;gap:8px;align-items:center;padding:10px 3px;border-bottom:1px solid #e6ebe7}
.em28 .em28-results{max-height:650px}
@media(max-width:1120px){.em28 .em28-layout{grid-template-columns:1fr}}
@media(max-width:660px){.em28 .em31-compact-row{grid-template-columns:56px minmax(0,1fr) 70px 72px 28px;gap:5px}.em28 .em31-compact-row>label:nth-of-type(4){grid-column:2/5}.em28 .em31-compact-row>.em28-remove{grid-column:5;grid-row:1}.em28 .em31-cell-extra{grid-column:2/5}.em28 .em31-nku-row{grid-template-columns:minmax(0,1fr) 65px 86px 28px}.em28 .em31-main-row{grid-template-columns:minmax(0,1fr) 35px 68px}}
@media print{.em28{display:none!important}}

/* V3.2: отдельный комплект РУНН/НКУ, три таблицы связей и читаемые поля */
.em32 .em28-wrap{max-width:1490px}
.em32 .em28-layout{grid-template-columns:minmax(0,1.15fr) minmax(350px,.85fr)}
.em32 .em28-tabs{display:flex;flex-wrap:wrap;gap:2px}
.em32 .em28-tabs button{font-size:15px;flex:1 1 180px;white-space:normal;padding:13px 11px}
.em32 .em28-field,.em32 .em28-row label,.em32 .em32-parameter-grid label{font-size:15px}
.em32 .em28-rowfields.em32-module-row{grid-template-columns:minmax(0,2.1fr) 80px minmax(0,1fr) 30px}
.em32 .em32-module-row>.em28-remove{align-self:end;margin-bottom:8px}
.em32 .em32-parameters,.em32 .em32-option{border:1px solid #e1e7e2;background:#fcfcfa;border-radius:10px;margin:13px 0;padding:13px 16px}
.em32 .em32-parameters>summary{font-size:16px;font-weight:750;color:#39585d;cursor:pointer}
.em32 .em32-parameter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:17px}
.em32 .em32-option>label{display:flex;align-items:center;gap:9px;font-size:16px;font-weight:650;color:#3b5358}
.em32 .em32-option input[type=checkbox]{width:18px;height:18px}
.em32 #em32-vent-extra{padding:14px 5px 4px}
.em32 .em32-runn-heading{display:grid;grid-template-columns:minmax(0,1fr) 145px 30px;gap:10px;align-items:end}
.em32 .em32-runn .em32-ru-parts,.em32 .em32-runn .em32-ru-mass{padding-top:8px}
.em32 .em32-part{display:grid;grid-template-columns:minmax(0,1fr) 85px 30px;gap:8px;padding:7px 0}
.em32 .em32-part>button{background:#f7ebeb;border:0;border-radius:6px;cursor:pointer}
.em32 .em32-ru-total{font-size:15px;padding:10px 0}
.em32 .em32-links-switch{display:flex;gap:8px;margin-bottom:15px;flex-wrap:wrap}
.em32 .em32-links-switch button{font-size:15px;padding:11px 14px;border:1px solid #cddad4;border-radius:8px;background:white;color:#415e5e;font-weight:750;cursor:pointer}
.em32 .em32-links-switch button.active{background:#254349;color:white;border-color:#254349}
.em32 .em32-links-list{max-height:680px;overflow:auto;border:1px solid #e2e9e4;border-radius:10px}
.em32 .em32-link-row{display:grid;grid-template-columns:minmax(0,1fr) 115px 26px;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid #edf0ed;font-size:15px;line-height:1.35;cursor:text}
.em32 .em32-link-row:last-child{border-bottom:0}
.em32 .em32-link-row input{width:100%;height:42px;padding:7px 9px;border:1px solid #d1ded6;background:white;border-radius:7px;font-size:16px}
.em32 .em32-link-row.is-complete{background:#edf7f0}
.em32 .em32-link-row.is-complete input{border-color:#60a078}
.em32 .em32-mark{color:#2d8150;font-size:21px;font-weight:900}
.em32 .em32-side-lines{display:grid;gap:0}
.em32 .em32-other-row{display:grid;grid-template-columns:minmax(0,1fr) 105px;gap:10px;align-items:center;padding:9px 4px;border-bottom:1px solid #e6ede8;font-size:15px}
.em32 .em32-other-row input{width:100%;min-height:44px;border:1px solid #d4ded8;border-radius:7px;padding:8px;font-size:16px}
.em32 .em28-result-line strong{white-space:nowrap}
@media(max-width:1140px){.em32 .em28-layout{grid-template-columns:1fr}}
@media(max-width:720px){.em32 .em32-parameter-grid{grid-template-columns:1fr}.em32 .em32-runn-heading{grid-template-columns:minmax(0,1fr) 110px 30px}.em32 .em32-link-row{grid-template-columns:minmax(0,1fr) 80px 20px;padding:8px 6px;font-size:14px}.em32 .em28-rowfields.em32-module-row{grid-template-columns:1fr 70px 30px}.em32 .em32-module-row label:nth-child(3){grid-column:1/3}.em32 .em32-module-row>.em28-remove{grid-column:3;grid-row:1}}
.em32 #em29-modules .em28-rowfields.em32-module-row{grid-template-columns:minmax(0,2.1fr) 80px minmax(0,1fr) 30px}
@media(max-width:720px){.em32 #em29-modules .em28-rowfields.em32-module-row{grid-template-columns:minmax(0,1fr) 80px 30px}.em32 #em29-modules .em32-module-row label:nth-child(3){grid-column:1/3}.em32 #em29-modules .em32-module-row>.em28-remove{grid-column:3;grid-row:1}}

/* V3.3 — крупный, полностью видимый ввод ячеек */
.em33 .em33-cell-row{display:grid;grid-template-columns:25px minmax(168px,2.6fr) 75px 70px 103px 102px 95px 29px;align-items:end;gap:8px;padding:12px 0;border-bottom:1px solid #d9e2dc}
.em33 .em33-cell-row>label{display:grid;gap:6px;color:#152d30;font-size:14px;font-weight:750;min-width:0}
.em33 .em33-cell-row input,.em33 .em33-cell-row select{min-width:0;width:100%;height:46px;padding:6px 9px;font-size:16px;color:#15282d;background:white;border:1px solid #afc1ba;border-radius:8px}
.em33 .em33-cell-row .em33-n{font-size:17px;font-weight:850;color:#243e43;padding-bottom:12px}
.em33 .em33-cell-row button{align-self:end;margin-bottom:7px}
.em33 .em31-main-row,.em33 .em31-main-row span,.em33 .em32-other-row,.em33 .em32-other-row span{color:#172a30!important;font-size:16px!important;font-weight:650}
.em33 .em31-main-unit{color:#273f43!important}
.em33 .em33-tm-sec{display:grid;grid-template-columns:minmax(0,1fr) 195px;gap:12px;align-items:center;border-bottom:1px solid #e3e9e5;padding:12px 6px}
.em33 .em33-tm-sec strong{display:block;font-size:16px;color:#1b363a}
.em33 .em33-tm-sec small{display:block;font-size:13px;color:#465e62;margin-top:5px}
.em33 .em33-tm-sec label{font-size:14px;font-weight:700;color:#253e43;display:grid;gap:5px}
.em33 .em33-tm-sec input{width:100%;height:45px;border:1px solid #aec5b8;border-radius:7px;padding:9px;font-size:16px}
.em33 .em33-tm-generated{max-height:250px;overflow:auto;border:1px solid #e1e9e3;border-radius:8px;background:#fcfdfb;margin:10px 0 18px;padding:10px 12px}
.em33 .em33-tm-generated>strong{display:block;font-size:14px;margin-bottom:5px}
.em33 .em33-tm-generated-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #ecf0eb;padding:6px 2px;font-size:14px}
.em33 .em33-vent-row{display:grid;grid-template-columns:37px minmax(160px,1fr) repeat(3,minmax(100px,.7fr));gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #e0e8e2}
.em33 .em33-vent-row>label{font-size:14px;color:#182e30;font-weight:700}
.em33 .em33-vent-row input[type=number]{width:100%;font-size:16px;min-height:43px;border:1px solid #becdc4;border-radius:6px;padding:8px}
.em33 .em33-small-check{display:flex;align-items:center;gap:5px}
.em33 .em33-small-check input{min-width:19px}
@media(max-width:1200px){.em33 .em33-cell-row{grid-template-columns:25px minmax(135px,2fr) 74px 60px 90px 95px 80px 26px;gap:5px}}
@media(max-width:760px){.em33 .em33-cell-row{grid-template-columns:22px minmax(0,1fr) 75px 60px 28px;gap:7px}.em33 .em33-cell-row>label:nth-child(2){grid-column:2/5}.em33 .em33-cell-row>label:nth-child(3){grid-column:2;grid-row:2}.em33 .em33-cell-row>label:nth-child(4){grid-column:3;grid-row:2}.em33 .em33-cell-row>label:nth-child(5){grid-column:4;grid-row:2}.em33 .em33-cell-row>label:nth-child(6){grid-column:2/4;grid-row:3}.em33 .em33-cell-row>label:nth-child(7){grid-column:4;grid-row:3}.em33 .em33-cell-row button{grid-column:5;grid-row:1}.em33 .em33-vent-row{grid-template-columns:40px minmax(0,1fr) minmax(0,1fr)}.em33 .em33-vent-row label:nth-of-type(1){grid-column:2/4}.em33 .em33-tm-sec{grid-template-columns:1fr}}

/* V3.4: compact optical protection controls */
.em33 #em34-arc-routes{margin:12px 0 0;padding:12px 15px;background:#f8faf8;border:1px solid #d8e4dd;border-radius:10px}
.em33 #em34-arc-routes[hidden]{display:none!important}
.em33 .em34-arc-intro{font-size:14px;line-height:1.55;color:#1f3035;margin:4px 0 12px}
.em33 .em34-arc-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,.6fr);gap:12px;align-items:center;margin:7px 0;font-size:15px;font-weight:650;color:#17292f}
.em33 .em34-arc-row input{min-width:0;width:100%;box-sizing:border-box;padding:10px 12px;font:inherit;border-radius:8px;border:1px solid #91aaa0;background:#fff;color:#16282f}
@media(max-width:640px){.em33 .em34-arc-row{grid-template-columns:1fr}}

/* V3.5: читабельный компактный ввод. Только шестой инструмент. */
.em33{color:#111!important;font-size:16px;line-height:1.3}
.em33 .em28-wrap{max-width:1550px}
.em33 .em28-base{position:sticky;top:0;z-index:12;align-items:center;gap:14px;padding:9px 15px;margin-bottom:11px;border:2px solid #334c43;background:#fff;box-shadow:0 4px 12px #152e2516}
.em33 .em28-base .em35-object{display:flex;flex-direction:row;gap:12px;align-items:center;min-width:260px;flex:1 1 300px;font-size:17px;color:#111;font-weight:800}
.em33 .em28-base .em35-object span{flex:0 0 auto;font-size:17px}
.em33 .em28-base .em35-object input{flex:1;min-width:150px;height:40px;font-size:16px}
.em33 .em28-switches{padding:0;gap:8px;display:flex;align-items:center}
.em33 .em28-switches label{display:flex;align-items:center;font-size:16px!important;font-weight:800!important;color:#111!important;border:1px solid #a7b4ad;padding:8px 10px;border-radius:7px;background:#fff;white-space:nowrap}
.em33 .em28-switches label.em35-selected{border-color:#2b8051;background:#e4f5e9}
.em33 .em28-switches input{width:20px;height:20px;accent-color:#187443}
.em33 .em28-layout{gap:12px}
.em33 .em28-pane{padding:12px 15px}
.em33 .em28-tabs button{font-size:16px;color:#111;font-weight:800;padding:9px 9px;line-height:1.2}
.em33 .em28-tabs button.active{color:#0d2518;border-bottom-color:#1d6e45}
.em33 .em28-heading{margin:0 0 9px}
.em33 .em28-heading h2{font-size:23px}
.em33 .em28-sub{margin:10px 0 5px;padding-top:9px}
.em33 .em28-sub strong{font-size:17px;color:#111}
.em33 .em28-grid{gap:8px;margin:3px 0 9px}
.em33 .em28-field,.em33 .em28-row label,.em33 .em32-parameter-grid label,.em33 .em33-cell-row>label,
.em33 .em31-compact-row label,.em33 .em31-nku-row label{color:#111!important;font-size:16px!important;font-weight:700!important;line-height:1.2;gap:4px}
.em33 .em28-field span{line-height:1.2}
.em33 .em28-field input,.em33 .em28-field select,.em33 .em28-row input,.em33 .em28-row select,
.em33 .em33-cell-row input,.em33 .em33-cell-row select,.em33 .em31-main-row input,
.em33 .em32-other-row input,.em33 .em32-link-row input{height:40px;font-size:16px;color:#111!important;border:1px solid #758d80;border-radius:6px;padding:5px 8px;background:#fff}
.em33 .em28-field input::placeholder,.em33 input::placeholder{color:#3b3b3b;opacity:1}
.em33 .em28-row{margin-bottom:5px;padding:7px 9px;gap:5px}
.em33 .em28-rowfields{gap:7px}
.em33 .em28-total-line{padding:6px 0;font-size:16px;color:#111}
.em33 .em28-total-line strong{font-size:16px;color:#111}
.em33 .em31-add-bottom{padding:3px 2px 8px}
.em33 .em31-add-bottom .em28-add,.em33 .em28-add{font-size:16px;color:#111;padding:7px 10px;background:#f1f5ee;border-color:#899e8e}
.em33 #em29-modules .em35-module-row{display:grid;grid-template-columns:minmax(210px,1fr) minmax(110px,150px) 34px;gap:8px;align-items:end}
.em33 #em29-modules .em35-module-row>.em28-remove{align-self:end;margin-bottom:4px}
.em33 #em28-cell-groups{overflow-x:auto;width:100%}
.em33 .em33-cell-row{grid-template-columns:minmax(175px,2.4fr) minmax(78px,.65fr) minmax(88px,.7fr) minmax(90px,.77fr) minmax(100px,.8fr) minmax(100px,.8fr) 30px;min-width:708px;gap:5px;padding:6px 0;align-items:end}
.em33 .em33-cell-row button{margin-bottom:5px}
.em33 .em31-main-row{color:#111!important;font-size:16px!important;line-height:1.22;padding:5px 2px;grid-template-columns:minmax(0,1fr) 42px 95px;gap:8px}
.em33 .em31-main-row>span,.em33 .em31-main-unit,.em33 .em32-other-row>span{color:#111!important;font-weight:700!important;font-size:16px!important}
.em33 .em31-main-row input{font-weight:700}
.em33 .em32-other-row,.em33 .em32-link-row{padding:5px 8px;font-size:16px;line-height:1.2;color:#111!important}
.em33 .em32-other-row span,.em33 .em32-link-row span{color:#111!important}
.em33 .em32-link-row input,.em33 .em32-other-row input{height:39px;font-size:16px}
.em33 .em32-parameters,.em33 .em32-option{padding:9px 11px;margin:8px 0;color:#111}
.em33 .em32-parameters>summary,.em33 .em32-option>label{font-size:16px;font-weight:800;color:#111}
.em33 .em32-parameter-grid{gap:8px;margin-top:10px}
.em33 .em33-tm-sec{grid-template-columns:minmax(0,1fr) minmax(270px,.7fr);gap:8px;padding:7px 4px}
.em33 .em33-tm-sec strong{font-size:16px;color:#111;display:inline}
.em33 .em33-tm-sec small{font-size:15px;color:#111;display:inline;margin-left:8px}
.em33 .em33-tm-sec label{display:flex;align-items:center;gap:8px;font-size:16px;color:#111;font-weight:700}
.em33 .em33-tm-sec label span{flex:1 1 auto;line-height:1.2}
.em33 .em33-tm-sec label input{flex:0 0 93px;min-width:0;height:40px;color:#111;font-size:16px}
.em33 .em33-tm-generated{margin:7px 0 10px;padding:8px 11px;max-height:200px;font-size:16px;color:#111}
.em33 .em33-tm-generated summary{font-weight:750;cursor:pointer}
.em33 .em33-tm-generated-row{font-size:15px;color:#111;padding:3px}
.em33 .em35-door-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #cbd6cc;padding:10px 4px 5px;color:#111;font-size:16px}
.em33 .em35-door-heading>strong{font-size:16px}
.em33 .em35-door-heading label{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700}
.em33 .em35-door-heading input,.em33 .em35-door-row input{height:40px;width:90px;border:1px solid #758d80;border-radius:6px;font-size:16px;color:#111;padding:5px 8px}
.em33 .em35-door-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px;padding:4px}
.em33 .em35-door-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;color:#111;font-weight:700}
.em33 .em35-door-row input{width:100px;flex-shrink:0}
.em33 .em28-note,.em33 .em28-empty,.em33 .em28-note-strip,.em33 .em28-status,.em33 .em28-warnings summary,.em33 .em28-warnings #em28-warning-list,.em33 .em31-export-note{color:#111!important;font-size:16px!important;line-height:1.3}
.em33 .em28-result-head{padding:13px 13px 8px}
.em33 .em28-result-line{padding:7px 11px;font-size:15px;color:#111!important;line-height:1.25}
.em33 .em28-result-section{padding:8px 11px;font-size:16px;color:#111!important}
.em33 .em28-result-line strong,.em33 .em28-result-line span{color:#111!important;font-weight:700}
.em33 .em28-btn-light,.em33 .em28-more{color:#111!important;font-size:16px;background:#fff}
.em33 .em32-links-switch button{color:#111;font-size:16px;padding:7px 10px}
.em33 .em32-links-switch button.active{color:#fff}
.em33 .em28-warnings{padding:10px 13px}
.em33 .em28-results{max-height:620px}
.em33 .em32-link-row.is-complete{background:#e4f6e9}
.em33 .em35-filled:not([type=checkbox]){background:#e7f7eb!important;border:2px solid #23804a!important;color:#111!important}
.em33 input[type=checkbox]:checked{accent-color:#1d7744}
.em33 input:focus-visible,.em33 select:focus-visible{outline:2px solid #23804a!important;outline-offset:1px}
@media(max-width:1190px){.em33 .em28-layout{grid-template-columns:1fr}.em33 .em28-result{position:static}}
@media(max-width:750px){
 .em33 .em28-base{position:sticky;top:0;display:flex;flex-wrap:wrap;gap:7px;padding:8px}
 .em33 .em28-base .em35-object{width:100%;flex:1 0 100%}
 .em33 .em28-switches{gap:5px;flex-wrap:wrap}
 .em33 .em28-switches label{font-size:15px!important;padding:6px}
 .em33 .em33-cell-row{grid-template-columns:minmax(175px,2.4fr) minmax(78px,.65fr) minmax(88px,.7fr) minmax(90px,.77fr) minmax(100px,.8fr) minmax(100px,.8fr) 30px;min-width:708px}
 .em33 .em33-tm-sec{grid-template-columns:1fr}
 .em33 .em35-door-grid{grid-template-columns:1fr}
 .em33 .em28-grid{grid-template-columns:1fr 1fr}
}

/* Все вкладки в одну строку, без второй строки навигации */
.em33 .em28-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}
.em33 .em28-tabs button{flex:1 0 auto;min-width:0;white-space:nowrap;padding:10px 8px}
.em33 .em33-cell-row{grid-template-columns:minmax(170px,2.4fr) minmax(70px,.65fr) minmax(67px,.6fr) minmax(102px,.9fr) minmax(102px,.9fr) minmax(90px,.8fr) 30px}
.em33 .em33-cell-row>label>span{white-space:nowrap}
@media(max-width:750px){.em33 .em33-cell-row{grid-template-columns:180px 76px 68px 105px 105px 90px 30px;min-width:700px}}
