.mb-catchment{max-width:1240px;margin:32px auto;padding:0 20px;color:#17324d;font-size:17px;line-height:1.65}.mb-catchment *{box-sizing:border-box}.mb-catchment h1{font-size:clamp(29px,4vw,46px);line-height:1.18;max-width:950px}.mb-catchment h2{font-size:27px;line-height:1.3}.mb-catchment h3{font-size:21px}.mc-badge{font-size:13px;font-weight:700;color:#155fa5;letter-spacing:.08em}.mc-lead{max-width:900px;font-size:20px}.mc-steps,.mc-presets,.mc-actions{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0}.mc-steps span{flex:1;min-width:180px;padding:15px;background:#edf4fa;border-radius:10px}.mc-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.4fr);gap:24px;align-items:start}.mb-catchment fieldset,.mc-output{padding:22px;border:1px solid #cedce8;border-radius:14px;background:#fff;min-width:0;margin:0 0 20px}.mb-catchment legend{font-weight:700;padding:0 7px;font-size:19px}.mb-catchment label{display:block;font-weight:600;margin:0 0 16px}.mb-catchment input,.mb-catchment select{display:block;width:100%;min-height:48px;margin-top:6px;border:1px solid #9aafc2;border-radius:7px;padding:10px;background:white;color:#17324d;font:inherit}.mb-catchment small{display:block;font-weight:400;color:#486077;font-size:14px;line-height:1.5;margin-top:6px}.mb-catchment button{border:1px solid #155fa5;background:#155fa5;color:white;padding:12px 18px;border-radius:8px;font:600 16px/1.4 Arial,sans-serif;cursor:pointer;min-height:46px}.mb-catchment button:hover{background:#0b477f}.mc-presets button,.mc-variants button{color:#155fa5;background:#fff;text-align:left}.mc-presets button:hover,.mc-variants button:hover{background:#edf4fa}.mc-variants button{display:block;width:100%;margin:8px 0}.mb-catchment button:disabled{opacity:.45;cursor:not-allowed}.mb-catchment :focus-visible{outline:3px solid #efaa25;outline-offset:3px}.mc-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mc-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.mc-stats div{padding:13px;background:#eff5fa;border-radius:9px}.mc-stats strong,.mc-stats span{display:block}.mc-stats strong{font-size:24px}.mc-stats span{font-size:14px}.mc-ok,.mc-warn{padding:12px;border-left:5px solid #16816d;background:#e8f5f1;font-weight:700}.mc-warn{border-color:#b87513;background:#fff4dc}.mc-drawing svg{display:block;width:100%;height:auto}.mb-catchment table{width:100%;border-collapse:collapse;font-size:15px;margin:20px 0}.mb-catchment th,.mb-catchment td{text-align:left;border-bottom:1px solid #d7e1ea;padding:9px 6px}.mb-catchment caption{font-weight:700;text-align:left;padding:8px 0}.mb-catchment [role=alert]{color:#a12727;font-weight:700}.mc-method{margin:28px 0;padding:24px;background:#edf4fa;border-radius:14px}.mb-catchment details{margin:16px 0}.mb-catchment summary{cursor:pointer;font-weight:700}.mb-catchment video{display:block;width:100%;height:auto;border-radius:12px}.mb-catchment a{text-decoration:underline}.mb-catchment .mc-table-wrap{overflow-x:auto}.mb-catchment li{margin:8px 0}.mb-catchment .mc-actions{margin-bottom:0}@media(max-width:850px){.mc-layout{grid-template-columns:1fr}.mb-catchment{padding:0 12px}.mb-catchment fieldset,.mc-output{padding:16px}.mc-two{grid-template-columns:1fr}.mc-stats strong{font-size:21px}.mc-stats span{font-size:13px}}@media print{.mb-catchment form,.mc-presets,.mc-actions{display:none}.mc-layout{display:block}.mc-output{border:0}.mb-catchment{max-width:none}}

.mc-drawing{overflow-x:auto}.mc-drawing svg{min-width:550px}.mehbud-roof-page .entry-header{display:none}

.mc-layout>div{min-width:0}@media(max-width:850px){.mc-layout{grid-template-columns:minmax(0,1fr)}}

@media(max-width:600px){.mc-drawing::before{content:"↔ Прокрутіть схему вбік. Повний план — у PNG або PDF.";display:block;font-size:14px;line-height:1.5;font-weight:600;margin:10px 0;color:#155fa5}.mb-catchment[data-lang="ru"] .mc-drawing::before{content:"↔ Прокрутите схему вбок. Полный план — в PNG или PDF."}}

.mc-info{padding:12px;background:#edf4fa;border-left:5px solid #155fa5;font-weight:600}

.mb-catchment [hidden]{display:none!important}

.mc-wall{padding:14px;border:1px solid #d2dfea;border-radius:10px;margin:12px 0;background:#f5f8fb}.mc-wall h3{margin:0 0 12px}.mc-wall button{background:white;color:#155fa5;font-size:14px;padding:8px 10px;min-height:40px}.mc-wall button:hover{background:#edf4fa}.mc-two{grid-template-columns:1fr 1fr}.mb-catchment th,.mb-catchment td{overflow-wrap:anywhere}@media(max-width:600px){.mc-two{grid-template-columns:1fr}}
.mc-stats strong{overflow-wrap:anywhere}

.mc-two{align-items:end}
