/* Все еще БТМ, 08.10.2026. Desktop changes D2/D3/D5; the rest is mobile only. */
body#btm .btm-header-messengers{display:none}
body#btm .menu-button>span:nth-child(3){display:none}
body#btm .btm-machining-page .mach-quick-request{align-items:stretch}
body#btm .btm-machining-page .mach-quick-request>div:first-child{max-width:none;width:100%;align-self:stretch;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}
body#btm .btm-machining-page .mach-quick-request>div:first-child:before{inset:0;background-size:100% 100%;background-position:center}
body#btm .btm-machining-page .mach-quick-request>div:first-child>.mach-textlink{align-self:flex-start}
body#btm .btm-machining-page .mach-casting .btm-btn+.mach-textlink{margin-top:16px}
body#btm.parts-page #estimate:before{opacity:.12}
@media(max-width:760px){
 /* M1: three square controls and a three-line menu. */
 body#btm .site-header{display:flex;gap:8px;padding-left:16px;padding-right:16px;align-items:center}
 body#btm .site-header>.brand{margin-right:auto;min-width:0;gap:7px;flex:0 1 auto}
 body#btm .site-header>.brand img{width:32px;height:34px;flex:0 0 32px}
 body#btm .site-header>.brand>span{font-size:18px;white-space:nowrap}
 body#btm .site-header>.brand small{font-size:6px;letter-spacing:.03em;white-space:nowrap}
 body#btm .btm-header-messengers{display:flex;align-items:center;gap:6px;flex:0 0 auto;margin:0}
 body#btm .btm-header-messengers .btm-messenger-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;padding:8px;margin:0;box-sizing:border-box;border:1px solid #bec6bb;border-radius:0;background:#182525;clip-path:none}
 body#btm .btm-header-messengers img{display:block;width:24px;height:24px;border-radius:0}
 body#btm .site-header>.menu-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:40px;height:40px;min-width:40px;max-width:40px;flex:0 0 40px;margin:0;padding:9px;box-sizing:border-box;border:1px solid #bec6bb;border-radius:0;background:#e9ede1;color:#c94132;clip-path:none}
 body#btm .site-header>.menu-button>span{display:block;flex:0 0 2px;width:20px;height:2px;margin:0;padding:0;background:currentColor;transform:none;transition:transform .2s,opacity .2s}
 body#btm .site-header>.menu-button[aria-expanded=true]>span:first-child{transform:translateY(7px) rotate(45deg)}
 body#btm .site-header>.menu-button[aria-expanded=true]>span:nth-child(2){opacity:0}
 body#btm .site-header>.menu-button[aria-expanded=true]>span:last-child{transform:translateY(-7px) rotate(-45deg)}
 /* M2: a readable sentence with real spaces. */
 body#btm .btm-corporate-home #directions .task-note p{display:block;min-width:0}
 body#btm .btm-corporate-home #directions .task-note p>strong{display:block;margin-bottom:7px;font-size:14px}
 body#btm .btm-corporate-home #directions .task-note p>span{display:block;margin:0;font-size:14px;letter-spacing:normal}
 body#btm .btm-corporate-home #directions .task-note p br{display:none}
 /* M3: show the first engineering picture even on touch/hover. */
 body#btm .btm-type-tile .btm-type-line,body#btm .btm-type-tile:is(:hover,:focus-visible) .btm-type-line{display:block!important;opacity:1!important;visibility:visible!important;transform:none!important;filter:grayscale(1);mix-blend-mode:multiply}
 body#btm .btm-type-tile .btm-type-photo,body#btm .btm-type-tile:is(:hover,:focus-visible) .btm-type-photo{display:none!important;opacity:0!important}
 body#btm :is(.btm-type-grid,.btm-category-types){width:var(--oct8-viewport,100vw);max-width:none;margin-left:calc((100% - var(--oct8-viewport,100vw))/2);margin-right:0;box-sizing:border-box;grid-template-columns:repeat(2,minmax(0,1fr))}
 body#btm .btm-type-tile{min-width:0}
 /* M4: 50/50 fixed action bar. */
 body#btm .btm-mobile-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;box-sizing:border-box}
 body#btm .btm-mobile-actions>a{display:flex;align-items:center;justify-content:center;gap:12px;min-width:0;min-height:52px;padding:14px 12px;box-sizing:border-box;font-size:14px}
 body#btm .btm-mobile-actions>a>span{font-size:19px;line-height:1}
 /* M5: home brands only. */
 body#btm .btm-corporate-home .btm-brand-section .btm-brand-grid{width:var(--oct8-viewport,100vw);max-width:none;margin-left:calc((100% - var(--oct8-viewport,100vw))/2);margin-right:0;grid-template-columns:repeat(2,minmax(0,1fr));box-sizing:border-box}
 body#btm .btm-corporate-home .btm-brand-grid .btm-brand-link{min-width:0;padding:16px 10px;gap:8px;display:flex;align-items:center}
 body#btm .btm-corporate-home .btm-brand-grid .btm-brand-mark{width:42px;min-width:42px;height:32px;flex:0 0 42px}
 body#btm .btm-corporate-home .btm-brand-grid .btm-brand-name{min-width:0;flex:1;font-size:13px;line-height:1.4;letter-spacing:0;white-space:normal;overflow-wrap:anywhere}
 body#btm .btm-corporate-home .btm-brand-grid .btm-brand-arrow{display:none}
 /* M6: full-width inquiry panels with internal field padding. */
 body#btm :is(.btm-form,.mach-form,.lead-form,.lp-lead-form){width:var(--oct8-viewport,100vw);max-width:none;min-width:0;margin-left:calc((100% - var(--oct8-viewport,100vw))/2);margin-right:0;padding:24px 18px;box-sizing:border-box}
 body#btm :is(.btm-form,.mach-form,.lead-form,.lp-lead-form) :is(input:not([type=checkbox]):not([type=radio]),textarea,select){max-width:100%;box-sizing:border-box}
 /* M7: headings, equal CTA widths and one continuous caption panel. */
 body#btm :is(.btm-foundry-hero,.industrial-hero,.lp-industrial-hero,.btm-chain-hero,.mach-hero,.btm-info-hero:not(.btm-contact-hero)){height:auto;min-height:var(--fifth-hero-height,calc(100svh - 108px))}
 body#btm.btm-site .btm-info-hero:not(.btm-contact-hero) h1{font-size:clamp(34px,9.4vw,46px);line-height:1.12}
 body#btm .btm-foundry-hero h1{font-size:clamp(36px,10vw,48px);line-height:1.1}
 body#btm:is(.iron-page,.parts-page) .industrial-hero h1,body#btm.btm-site .btm-casting-landing .lp-industrial-hero h1{font-size:clamp(33px,9.2vw,46px);line-height:1.13}
 body#btm.btm-site .btm-chain-hero h1,body#btm .btm-machining-page>.mach-hero h1{font-size:clamp(34px,9.4vw,46px);line-height:1.12}
 body#btm :is(.btm-foundry-actions,.hero-actions,.lp-hero-actions,.btm-chain-actions,.mach-hero-links){display:grid!important;grid-template-columns:minmax(0,1fr);gap:12px!important;width:100%;max-width:100%}
 body#btm :is(.btm-foundry-actions,.hero-actions,.lp-hero-actions,.btm-chain-actions,.mach-hero-links)>a{width:100%!important;max-width:none;min-width:0;min-height:56px;box-sizing:border-box;justify-content:space-between;margin-left:0;margin-right:0}
 body#btm :is(.btm-foundry-actions,.hero-actions,.lp-hero-actions,.btm-chain-actions,.mach-hero-links) .btm-outline-content{width:100%;justify-content:space-between}
 body#btm .oct8-hero-caption{position:relative;z-index:2;flex:0 0 auto;width:100%;max-width:100%;box-sizing:border-box;padding:12px 14px;background:rgba(10,20,20,.78);border-left:2px solid #c94132;color:#fff;margin-top:4px}
 body#btm .oct8-hero-caption>p{display:inline!important;margin:0!important;padding:0!important;font-size:14px!important;line-height:1.55!important;font-weight:400!important;color:#f3f4ee!important;letter-spacing:0!important}
 body#btm .oct8-hero-caption>p+p:before{content:' '}
 body#btm.iron-page .industrial-hero>.third-hero-cta{width:100%}
 body#btm .btm-foundry-bottom>span{display:block;background:rgba(10,20,20,.78);padding:10px 12px;font-size:12px;line-height:1.5}
 body#btm .btm-chain-hero-facts,body#btm .mach-hero-spec{background:rgba(10,20,20,.65);padding:12px!important;border:0;box-sizing:border-box}
 body#btm .mach-hero-spec{gap:8px 12px!important}
 /* M8: product badge is decorative and hidden on mobile only. */
 body#btm :is(.photo-label,.lp-photo-label,.btm-photo-label){display:none!important}
 /* M9: align each pair of product captions and CTA buttons. */
 body#btm:is(.iron-page,.btm-site) :is(.product-grid,.lp-product-grid){grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:14px}
 body#btm:is(.iron-page,.btm-site) :is(.product-card,.lp-product-card){display:flex;flex-direction:column;min-width:0;height:auto;align-self:stretch}
 body#btm:is(.iron-page,.btm-site) :is(.product-copy,.lp-product-copy){display:flex;flex-direction:column;flex:1;min-width:0}
 body#btm:is(.iron-page,.btm-site) :is(.product-copy,.lp-product-copy)>h3{font-size:21px;line-height:1.2;min-height:2.4em;margin-top:12px;margin-bottom:12px;overflow-wrap:normal;hyphens:auto}
 body#btm:is(.iron-page,.btm-site) :is(.product-copy,.lp-product-copy)>p{flex:1;font-size:14px;line-height:1.6;margin:0 0 18px;hyphens:auto}
 body#btm:is(.iron-page,.btm-site) :is(.product-copy,.lp-product-copy)>a{width:100%;min-height:58px;box-sizing:border-box;margin-top:auto;padding:12px 10px;font-size:12px;line-height:1.4}
 body#btm:is(.iron-page,.btm-site) :is(.product-copy,.lp-product-copy)>a svg{flex:0 0 18px;width:18px;height:18px}
 @supports(grid-template-rows:subgrid){
  body#btm:is(.iron-page,.btm-site) :is(.product-card,.lp-product-card){display:grid;grid-template-rows:subgrid;grid-row:span 5;row-gap:12px}
  body#btm:is(.iron-page,.btm-site) :is(.product-copy,.lp-product-copy){display:contents}
  body#btm:is(.iron-page,.btm-site) :is(.product-copy,.lp-product-copy)>h3{margin:0;min-height:0}
  body#btm:is(.iron-page,.btm-site) :is(.product-copy,.lp-product-copy)>:is(.eyebrow,.lp-eyebrow){font-size:11px;line-height:1.5;letter-spacing:.02em;align-self:end}
 }
 /* M10: the action group spans the entire block, not the icon track. */
 body#btm:is(.iron-page,.btm-site) :is(.custom-part,.lp-custom-part){display:grid;grid-template-columns:24px minmax(0,1fr);gap:16px 12px;padding-top:28px}
 body#btm :is(.custom-part,.lp-custom-part)>.btm-custom-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;min-width:0;margin-top:4px}
 body#btm :is(.custom-part,.lp-custom-part) .btm-custom-actions>a{display:flex;align-items:center;justify-content:space-between;width:100%;min-width:0;min-height:56px;margin:0;padding:16px 18px;box-sizing:border-box;white-space:normal;overflow-wrap:normal;word-break:normal;font-size:15px;line-height:1.4}
 body#btm :is(.custom-part,.lp-custom-part) .btm-custom-actions svg{flex:0 0 22px}
 /* M11: two lines, desktop breaks retained. */
 body#btm br.oct8-mobile-join{display:none}
 body#btm:is(.iron-page,.btm-site) :is(.request-copy,.lp-request-copy)>h2:has(.oct8-mobile-join){font-size:clamp(25px,6.8vw,35px);line-height:1.2;max-width:none;width:100%}
 body#btm:is(.iron-page,.btm-site) :is(.request-copy,.lp-request-copy)>h2:has(.oct8-mobile-join)>em{white-space:nowrap}
 /* M12/M13: the illustrated machining stamp and casting block. */
 body#btm.btm-site .btm-machining-page .mach-capacity-stamp{width:100%;padding:16px 12px;gap:10px}
 body#btm.btm-site .btm-machining-page .mach-capacity-stamp>span{font-size:12px;letter-spacing:0}
 body#btm.btm-site .btm-machining-page .mach-capacity-stamp strong{display:block;font-size:clamp(16px,4.4vw,22px);line-height:1.45;font-weight:600;letter-spacing:0}
 body#btm .mach-capacity-stamp .oct8-capacity-line{display:block;white-space:nowrap;font:inherit}
 body#btm .btm-machining-page .mach-casting{width:var(--oct8-viewport,100vw);max-width:none;margin-left:calc((100% - var(--oct8-viewport,100vw))/2);margin-right:0;padding-left:20px;padding-right:20px;box-sizing:border-box}
 body#btm .btm-machining-page .mach-casting>div{min-width:0}
 body#btm .btm-machining-page .mach-casting h2{font-size:clamp(23px,6.6vw,32px);line-height:1.2;width:100%;max-width:none}
 body#btm .btm-machining-page .mach-casting h2>em{display:inline;white-space:normal}
 /* M14: compact contact hero, image and content preserved. */
 body#btm.btm-site .btm-contacts-page .btm-contact-hero{height:auto;min-height:0;max-height:none;display:block;padding:0}
 body#btm.btm-site .btm-contacts-page .btm-contact-hero .btm-info-hero-copy{width:100%;padding:28px 20px;box-sizing:border-box}
 body#btm.btm-site .btm-contacts-page .btm-contact-hero h1{font-size:clamp(34px,9.4vw,44px);line-height:1.12}
}
@media(max-width:359px){
 body#btm .site-header{padding-left:12px;padding-right:12px;gap:5px}
 body#btm .site-header>.brand{gap:5px}
 body#btm .site-header>.brand>span{font-size:16px}
 body#btm .site-header>.brand small{font-size:5.5px}
 body#btm .btm-header-messengers{gap:5px}
}

/* Follow-up 08.10: a single heading line and shared hero text panels. */
body#btm .btm-corporate-home #directions h2.btm-directions-title{white-space:nowrap;max-width:100%;width:max-content;font-size:clamp(26px,3vw,46px);line-height:1.2}
body#btm .btm-corporate-home #directions h2.btm-directions-title .red-underline{display:inline}
body#btm :is(.btm-foundry-copy,.btm-chain-hero-copy,.mach-hero-copy,.btm-info-hero-copy)>p,
body#btm .btm-info-hero>p,
body#btm .oct8-hero-caption{
 position:relative;box-sizing:border-box;min-width:0;max-width:100%;
 padding:14px 18px;background:rgba(10,20,20,.78);border:0;border-left:2px solid #c94132;
 border-radius:0;box-shadow:none;color:#f3f4ee;font-size:16px;line-height:1.65;font-weight:400;letter-spacing:0;
}
body#btm .oct8-hero-caption{margin:16px 0 20px;flex:0 0 auto;z-index:2;width:100%;max-width:630px}
body#btm .oct8-hero-caption>p{display:inline!important;margin:0!important;padding:0!important;background:none!important;border:0!important;font-size:16px!important;line-height:1.65!important;font-weight:400!important;color:#f3f4ee!important;letter-spacing:0!important}
body#btm .oct8-hero-caption>p+p:before{content:' '}
body#btm :is(.btm-foundry-bottom>span,.btm-chain-hero-facts,.mach-hero-spec){background:rgba(10,20,20,.78);border:0;border-left:2px solid #c94132;padding:12px 16px;box-sizing:border-box;color:#f3f4ee}
@media(max-width:760px){
 body#btm .btm-corporate-home #directions h2.btm-directions-title{font-size:clamp(23px,6.5vw,32px);letter-spacing:0}
 body#btm :is(.btm-foundry-copy,.btm-chain-hero-copy,.mach-hero-copy,.btm-info-hero-copy)>p,
 body#btm .btm-info-hero>p,
 body#btm .oct8-hero-caption{width:100%;max-width:100%;padding:12px 14px;font-size:14px;line-height:1.7}
 body#btm .oct8-hero-caption{margin-top:4px;margin-bottom:0}
 body#btm .oct8-hero-caption>p{font-size:14px!important;line-height:1.7!important}
 body#btm :is(.btm-chain-hero-facts,.mach-hero-spec){padding:12px 14px!important;border-left:2px solid #c94132}
}

@media(min-width:981px){body#btm .btm-corporate-home #directions .section-top{grid-template-columns:max-content minmax(0,1fr) minmax(240px,.7fr)}}

@media(max-width:760px){
 body#btm :is(.btm-foundry-copy,.btm-chain-hero-copy,.mach-hero-copy,.btm-info-hero-copy)>p,body#btm .btm-info-hero>p{font-size:14px!important;line-height:1.7!important;font-weight:400!important}
}

/* 08.10: spacing in the three red production bars; edge-to-edge brands directory. */
@media(max-width:760px){
 body#btm .btm-corporate-home .btm-number-bars>div{column-gap:20px}
 body#btm .btm-corporate-home .btm-number-bars>div>strong{flex:0 0 auto}
 body#btm .btm-corporate-home .btm-number-bars>div>span{flex:1 1 0;min-width:0;overflow-wrap:anywhere;hyphens:auto}
 body#btm .btm-page>.btm-brands-directory{width:var(--oct8-viewport,100vw);max-width:none;margin-left:calc((100% - var(--oct8-viewport,100vw))/2);margin-right:0;grid-template-columns:repeat(2,minmax(0,1fr));box-sizing:border-box}
 body#btm .btm-brands-directory .btm-brand-link{min-width:0}
 body#btm .btm-brands-directory .btm-brand-name{min-width:0;white-space:normal;overflow-wrap:anywhere}
}

/* Product/category inquiry: widen the outer panel, keep the form inside its padding. */
@media(max-width:760px){
 body#btm .btm-inquiry{width:var(--oct8-viewport,100vw);max-width:none;min-width:0;margin-left:calc((100% - var(--oct8-viewport,100vw))/2);margin-right:0;padding:24px 20px;box-sizing:border-box;grid-template-columns:minmax(0,1fr)}
 body#btm .btm-inquiry .btm-form{width:100%;max-width:100%;min-width:0;margin-left:0;margin-right:0;padding:0;box-sizing:border-box}
 body#btm .btm-inquiry .btm-inquiry-intro{min-width:0;max-width:100%}
}

@media(max-width:760px){body#btm .btm-product-detail:has(.btm-inquiry){grid-template-columns:minmax(0,1fr)}}

/* 08.10: shared quote form, full-width panel and readable controls. */
body#btm .btm-inquiry.btm-inquiry-wide{
 --quote-gutter:clamp(24px,5vw,88px);
 display:grid;grid-template-columns:minmax(0,1fr);gap:0;
 width:var(--oct8-viewport,100vw);max-width:none;min-width:0;
 margin-left:calc((100% - var(--oct8-viewport,100vw))/2)!important;margin-right:0!important;
 padding:0;border:0;border-top:1px solid #c8cec3;border-bottom:1px solid #c8cec3;
 border-radius:0;clip-path:none;box-sizing:border-box;overflow:hidden;
}
body#btm .btm-inquiry-wide>.btm-inquiry-intro{
 display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:12px 48px;
 width:100%;max-width:none;min-width:0;padding:44px var(--quote-gutter) 36px;box-sizing:border-box;
}
body#btm .btm-inquiry-wide>.btm-inquiry-intro>.btm-eyebrow{grid-column:1;grid-row:1;margin:0}
body#btm .btm-inquiry-wide>.btm-inquiry-intro>h2{grid-column:1;grid-row:2/5;margin:0;max-width:none}
body#btm .btm-inquiry-wide>.btm-inquiry-intro>p{grid-column:2;grid-row:2;max-width:none;margin:0;font-size:16px;line-height:1.7}
body#btm .btm-inquiry-wide>.btm-inquiry-intro>.btm-inquiry-phone{grid-column:2;grid-row:3;margin:4px 0 0}
body#btm .btm-inquiry-wide>.btm-inquiry-intro>a[href^="mailto:"]{grid-column:2;grid-row:4;margin:0}
body#btm .btm-inquiry-wide.is-compact{margin-top:40px}
body#btm .btm-inquiry-wide.is-compact>.btm-inquiry-intro{display:block;padding-top:32px;padding-bottom:24px}
body#btm .btm-inquiry-wide.is-compact>.btm-inquiry-intro>h2{font-size:clamp(30px,3vw,42px);line-height:1.2}
body#btm .btm-inquiry-wide>.btm-form{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px 28px;
 width:100%;max-width:none;min-width:0;margin:0;padding:36px var(--quote-gutter) 40px;
 box-sizing:border-box;clip-path:none;border:0;border-top:1px solid #c8cec3;border-radius:0;
 background:#fffef9;color:#182525;
}
body#btm .btm-inquiry-wide>.btm-form:before{left:var(--quote-gutter);top:0;width:56px;height:3px;background:#c94132}
body#btm .btm-inquiry-wide>.btm-form>*{min-width:0;max-width:100%;box-sizing:border-box}
body#btm .btm-inquiry-wide .btm-form-heading{grid-column:1/-1;margin:0;font:500 clamp(26px,2.4vw,34px)/1.25 var(--head)}
body#btm .btm-inquiry-wide .btm-form-context{grid-column:1/-1;margin:0;font-size:15px;line-height:1.6}
body#btm .btm-inquiry-wide .btm-fields{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 28px;margin:0}
body#btm .btm-inquiry-wide .btm-form label{min-width:0;margin:0;font-size:15px;line-height:1.6;font-weight:600;letter-spacing:0;box-sizing:border-box}
body#btm .btm-inquiry-wide .btm-form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]),textarea){
 display:block;width:100%;min-width:0;max-width:100%;margin:9px 0 0;padding:14px 16px;
 min-height:54px;border:1px solid #a9b3a5;border-radius:0;background:#fff;color:#182525;
 font:400 16px/1.55 var(--btm-font,Manrope,sans-serif);box-sizing:border-box;box-shadow:none;
}
body#btm .btm-inquiry-wide .btm-form textarea{min-height:140px;resize:vertical}
body#btm .btm-inquiry-wide .btm-form :is(input,textarea)::placeholder{color:#657066;opacity:1}
body#btm .btm-inquiry-wide .btm-form :is(input,textarea):focus-visible{outline:2px solid #c94132;outline-offset:2px}
body#btm .btm-inquiry-wide .btm-form .btm-file{
 display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;
 width:100%;height:100%;min-height:173px;padding:20px 24px;text-align:left;
 border:1px dashed #a6b19f;background:#eef1e8;color:#182525;
}
body#btm .btm-inquiry-wide .btm-file>span{display:block;margin:0;font-size:14px;line-height:1.6;font-weight:400;color:#536052}
body#btm .btm-inquiry-wide .btm-file>input[type=file]{
 display:block;width:100%;min-width:0;max-width:100%;height:auto;min-height:44px;
 margin:8px 0 0;padding:0;border:0;background:transparent;color:#39473e;
 font:400 14px/1.5 var(--btm-font,Manrope,sans-serif);box-sizing:border-box;
}
body#btm .btm-inquiry-wide .btm-file>input[type=file]::file-selector-button{
 min-height:44px;margin:0 12px 0 0;padding:10px 14px;border:1px solid #182525;border-radius:0;
 background:#182525;color:#fff;font:600 14px/1.5 var(--btm-font,Manrope,sans-serif);cursor:pointer;
}
body#btm .btm-inquiry-wide .btm-form .btm-consent{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.65;font-weight:400}
body#btm .btm-inquiry-wide .btm-consent>input{flex:0 0 20px;width:20px;height:20px;min-height:0;margin:2px 0 0;padding:0;accent-color:#c94132}
body#btm .btm-inquiry-wide .btm-consent>span{display:block;min-width:0;flex:1}
body#btm .btm-inquiry-wide .btm-consent a{font:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
body#btm .btm-inquiry-wide .btm-form>.btm-btn{width:100%;min-height:58px;margin:0;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:16px;line-height:1.5;white-space:normal}
body#btm .btm-inquiry-wide .btm-form :is(.btm-form-status,.btm-test-note,.btm-new-inquiry){grid-column:1/-1;margin:0;font-size:14px;line-height:1.65}
body#btm .btm-inquiry-wide .btm-form-status:empty{display:none}
@media(max-width:760px){
 body#btm .btm-inquiry.btm-inquiry-wide{--quote-gutter:20px}
 body#btm .btm-inquiry-wide>.btm-inquiry-intro{display:block;padding:32px var(--quote-gutter) 28px}
 body#btm .btm-inquiry-wide>.btm-inquiry-intro>h2{margin:16px 0 20px;font-size:clamp(32px,8.5vw,48px);line-height:1.15}
 body#btm .btm-inquiry-wide>.btm-inquiry-intro>p{font-size:16px;line-height:1.7;margin-bottom:20px}
 body#btm .btm-inquiry-wide>.btm-inquiry-intro>.btm-inquiry-phone{margin:18px 0 8px}
 body#btm .btm-inquiry-wide.is-compact>.btm-inquiry-intro>h2{margin:0;font-size:32px}
 body#btm .btm-inquiry-wide>.btm-form{grid-template-columns:minmax(0,1fr);gap:22px;padding:28px var(--quote-gutter) 32px}
 body#btm .btm-inquiry-wide .btm-fields{grid-template-columns:minmax(0,1fr);gap:22px}
 body#btm .btm-inquiry-wide .btm-form .btm-file{min-height:0;padding:18px 16px;gap:6px}
 body#btm .btm-inquiry-wide .btm-form textarea{min-height:144px}
 body#btm .btm-inquiry-wide .btm-form-heading{font-size:28px}
}

/* Keep the message row aligned with upload area despite legacy input specificity. */
body#btm .btm-inquiry-wide .btm-form textarea[name="message"]{min-height:140px!important}
body#btm .btm-inquiry-wide .btm-form-heading{font-size:clamp(26px,2.4vw,34px)!important;line-height:1.25!important}
@media(max-width:760px){body#btm .btm-inquiry-wide .btm-form-heading{font-size:28px!important}}
