/* Keep the source's 16px unit basis and semantic defaults in Bricks. */
html { font-size: 16px; }
body.leadmfg-site { font-family: var(--font-sans); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; }
/* Let the contact strip scroll away while the navigation remains available. */
body.leadmfg-site #brx-header { --lm-admin-offset: 0px; --lm-topbar-height: 32px; position: sticky; top: calc(var(--lm-admin-offset) - var(--lm-topbar-height)); z-index: 50; width: 100%; }
body.leadmfg-site.admin-bar #brx-header { --lm-admin-offset: 32px; }
/* Keep the contact links visible when reached with the keyboard after scrolling. */
body.leadmfg-site #brx-header:has(#brxe-639wvt:focus-within) { top: var(--lm-admin-offset); }
body.leadmfg-site #brx-content { flex: 1; }
body.leadmfg-site #brx-footer { margin-top: 0; }
body.leadmfg-site :where(.brxe-section,.brxe-container,.brxe-block,.brxe-div) { min-width: 0; }
body.leadmfg-site :where(.brxe-heading) { margin: 0; font-family: inherit; }
body.leadmfg-site :where(.brxe-text-basic,.brxe-text-link) { margin-bottom: 0; }
body.leadmfg-site :where(.brxe-image) { display: block; }
body.leadmfg-site :where(.brxe-button) { min-width: 0; }
body.leadmfg-site .lm-header-content { width: 100%; }
body.leadmfg-site [hidden] { display: none !important; }
body.leadmfg-site input[data-logo-pause] { appearance: auto; }
@media (max-width: 782px) { body.leadmfg-site.admin-bar #brx-header { --lm-admin-offset: 46px; } }
@media (max-width: 767px) { body.leadmfg-site #brx-header { --lm-topbar-height: 30px; } }
@media (max-width: 600px) { body.leadmfg-site.admin-bar #brx-header { --lm-admin-offset: 0px; } }

/* Native Form markup differs from the source's field wrappers. */
body.leadmfg-site #category-form .submit-button-wrapper { display: none; }
body.leadmfg-site #category-form select { appearance: none; box-shadow: var(--shadow-card); }
body.leadmfg-site #contact-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
body.leadmfg-site #contact-form .form-group { width: auto; min-width: 0; padding: 0; }
body.leadmfg-site #contact-form .form-group:nth-of-type(n+5) { grid-column: 1 / -1; }
body.leadmfg-site #contact-form .form-group > label:not(.choose-files) { margin-bottom: 6px; }
body.leadmfg-site #contact-form .form-group.file { margin-top: 4px; padding: 40px 24px; border: 2px dashed var(--line-2); border-radius: 12px; background: var(--surface-2); text-align: center; }
body.leadmfg-site #contact-form .form-group.file > label:not(.choose-files) { display: block; font-size: 16px; line-height: 24px; }
body.leadmfg-site #contact-form .form-group.file > label:not(.choose-files)::before { content: ''; display: block; margin: 0 auto 16px; width: 48px; height: 48px; border-radius: 50%; background: var(--surface) url('http://lead.local/wp-content/uploads/2026/10/lm-vector-2398107a7b2de37f0b.png') center / 24px no-repeat; }
body.leadmfg-site #contact-form .form-group.file > label:not(.choose-files)::after { content: 'Available file formats: stp, step, stl, igs, iges, prt, sldprt, sat, x_t, jpg, png, pdf, jpeg, zip, rar'; display: block; margin-top: 6px; font-size: 12.5px; font-weight: 400; line-height: 18px; color: var(--muted); }
body.leadmfg-site #contact-form .choose-files { margin-top: 12px; padding: 0; border: 0; background: transparent; color: var(--primary); font-size: 14px; font-weight: 600; }
body.leadmfg-site #contact-form .file:hover, body.leadmfg-site #contact-form .lm-drag-active { border-color: var(--primary); }
body.leadmfg-site #contact-form button[type=submit] { width: 100%; padding: 16px 24px; }
body.leadmfg-site #contact-form button[type=submit]:hover { background: var(--primary-hover); }
body.leadmfg-site #contact-form input::placeholder, body.leadmfg-site #contact-form textarea::placeholder { color: var(--muted); }
body.leadmfg-site #contact-form input:focus, body.leadmfg-site #contact-form textarea:focus { border-color: var(--primary); outline: none; }
body.leadmfg-site #quote-note { padding: 0 28px; }
@media (max-width: 639.98px) { body.leadmfg-site #contact-form { grid-template-columns: 1fr; } }
body.leadmfg-site #dg-search-form { display: grid; grid-template-columns: minmax(0,1fr) 56px; }
body.leadmfg-site #dg-search-form .form-group { width: auto; padding: 0; }
body.leadmfg-site #dg-search-form input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
body.leadmfg-site #dg-search-form button[type=submit] { width: 56px; height: 100%; padding: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; background-image: url('http://lead.local/wp-content/uploads/2026/10/lm-vector-a2ba5c17eebcdf907a.png'); background-repeat: no-repeat; background-position: center; background-size: 18px; }
body.leadmfg-site #dg-search-form button[type=submit] .text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
body.leadmfg-site #dg-subscribe { gap: 12px; }
body.leadmfg-site #dg-subscribe button[type=submit] { width: 100%; padding: 12px 24px; }
/* Table elements retain their native semantic display instead of Block flex. */
body.leadmfg-site :where(table.brxe-block) { display: table; }
body.leadmfg-site :where(thead.brxe-block) { display: table-header-group; width: auto; }
body.leadmfg-site :where(tbody.brxe-block) { display: table-row-group; width: auto; }
body.leadmfg-site :where(tfoot.brxe-block) { display: table-footer-group; width: auto; }
body.leadmfg-site :where(tr.brxe-block) { display: table-row; width: auto; }
body.leadmfg-site :where(th.brxe-block,td.brxe-block) { display: table-cell; width: auto; }
/* The moving logo groups must keep their intrinsic width while their frame clips. */
body.leadmfg-site .lm-logo-strip-group { max-width: none; }
