/* Both request builders use the approved Orange Structural layout and fields. */
.techx-request-page{background:#fff;color:#071d3a}
.techx-request-page .os-intake-shell{width:100%;max-width:100%;margin-inline:0}
.techx-request-page .techx-request-form{background:#fff;color:#071d3a;min-width:0;max-width:100%}
.techx-request-form fieldset{border:0;padding:0;margin:0;min-width:0}
.techx-request-form [data-osx-step][hidden]{display:none!important}
.techx-request-form legend{float:none;width:100%;padding:0;margin:0 0 18px;font-family:"OS Cabin",Arial,sans-serif}
.techx-request-form .osx-form-progress{display:none}
.techx-request-form .os-form-progress{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))}
.techx-request-form .os-field{display:flex;flex-direction:column;gap:7px;min-width:0}
.techx-request-form .os-field input,.techx-request-form .os-field select,.techx-request-form .os-field textarea{width:100%;max-width:100%;box-sizing:border-box}
.techx-request-form .os-form-actions{display:flex;justify-content:space-between;gap:12px}
.techx-request-form .os-form-actions [hidden]{display:none!important}
.techx-request-form .os-form-actions button{min-height:44px}
.techx-request-form .os-consent{display:flex;align-items:flex-start;gap:10px;margin:18px 0}
.techx-request-form .os-consent input{width:18px;height:18px;flex:0 0 18px;margin-top:3px}
.techx-request-form [data-osx-sms-consent][hidden]{display:none!important}
.techx-request-page .os-category-hero .os-display{color:#fff}
.os-division-intake-link{padding:18px 22px;background:#fff6ef;border-left:4px solid #f26522;line-height:1.6}
@media(max-width:600px){.techx-request-form .os-form-grid{grid-template-columns:1fr}.techx-request-form .os-form-progress span{white-space:normal;min-width:0;font-size:.68rem}.techx-request-form .os-form-actions button{min-height:44px}}

/* Shared public form controls. Never affect wp-admin, hidden guard fields,
   checkboxes/radios, sliders, or step visibility. Existing form grids remain. */
:where(body.orange-structural-rebuild,body.osx-site-page) main form{--os-form-ink:#071d3a;--os-form-border:#b8c4cf;--os-form-accent:#ff6900}
:where(body.orange-structural-rebuild,body.osx-site-page) main form label{display:block}
:where(body.orange-structural-rebuild,body.osx-site-page) main form :is(input[type="text"],input[type="email"],input[type="tel"],input[type="url"],input[type="password"],input[type="search"],input[type="number"],input[type="date"],input[type="time"],input[type="datetime-local"],select,textarea){box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:48px;border:1px solid var(--os-form-border);border-radius:8px;padding:11px 13px;font:inherit;font-size:16px;line-height:1.4;color:var(--os-form-ink);background-color:#fff}
:where(body.orange-structural-rebuild,body.osx-site-page) main form textarea{min-height:144px;resize:vertical}
:where(body.orange-structural-rebuild,body.osx-site-page) main form :is(input,select,textarea):focus-visible{outline:2px solid var(--os-form-accent);outline-offset:2px;border-color:var(--os-form-accent)}
:where(body.orange-structural-rebuild,body.osx-site-page) main form :is(button[type="submit"],input[type="submit"],.os-form-actions button){min-height:48px;border-radius:999px;padding:12px 24px;font-weight:700}
:where(body.orange-structural-rebuild,body.osx-site-page) main form :is(button[type="submit"],input[type="submit"]){background-color:var(--os-form-accent);color:#fff;border-color:var(--os-form-accent)}
:where(body.orange-structural-rebuild,body.osx-site-page) main form .os-field{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;margin:0}
:where(body.orange-structural-rebuild,body.osx-site-page) main form .os-field>span{color:var(--os-form-ink);font-weight:600;line-height:1.4}

/* Existing requests use the SAME os-project-form/os-field/action components. */
.osx-client-portal .osx-page-hero--portal{padding:64px 0}
.osx-client-portal .osx-page-hero--portal h1{font-size:clamp(2rem,4vw,3.25rem);line-height:1.1;max-width:22ch;margin-bottom:18px}
.osx-client-portal .osx-page-hero--portal p:not(.osx-eyebrow){max-width:65ch;font-size:1.1rem;line-height:1.6}
.osx-main.osx-client-portal .osx-portal-actions,.osx-main.osx-client-portal .osx-portal-response{width:100%;max-width:980px!important;margin-inline:auto}
.osx-client-portal .osx-portal-workspace{background:#f4f6f8;padding:40px 0}
.osx-client-portal .osx-portal-action--primary{box-sizing:border-box;background:#fff;color:#071d3a;border:1px solid #d9e0e7;border-top:3px solid #ff6900;border-radius:12px;padding:clamp(22px,3vw,40px);box-shadow:0 8px 24px #071d3a08}
.osx-client-portal .osx-portal-action--primary h2{font-size:clamp(1.5rem,2.3vw,2rem);line-height:1.2;margin:8px 0 14px;color:#071d3a}
.osx-client-portal .osx-portal-action--primary>p{max-width:72ch;line-height:1.65}
.osx-client-portal .osx-portal-action--primary .osx-eyebrow{color:#b44700;margin:0;font-weight:700}
.osx-client-portal .osx-portal-search{display:block;padding:0;margin:26px 0 0;border:0;box-shadow:none;background:transparent}
.osx-client-portal .osx-portal-search__fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.osx-client-portal .osx-portal-search__actions{display:flex;justify-content:flex-start;gap:12px;margin-top:24px;padding:0}
.osx-client-portal .os-form-help{font-size:.9rem;color:#526170;line-height:1.6;margin:18px 0 0}
.osx-client-portal .osx-portal-notice,.osx-client-portal .osx-portal-no-match{padding:20px;border:1px solid #d9e0e7;border-radius:10px;background:#fff;line-height:1.6}
.osx-client-portal .osx-portal-results>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.osx-client-portal .osx-portal-results article{padding:24px;border:1px solid #d9e0e7;border-radius:10px;background:#fff;min-width:0}
.osx-client-portal .osx-portal-results form{margin-top:18px}
.osx-client-portal .osx-portal-results label{margin-bottom:12px}
.osx-client-portal .osx-portal-results :is(input,textarea,button){max-width:100%}
.osx-client-portal .osx-portal-help{padding:24px 0}
.osx-client-portal .osx-portal-help a{color:#b44700;text-decoration:underline;text-underline-offset:3px}
@media(max-width:720px){.osx-client-portal .osx-page-hero--portal{padding:40px 0}.osx-client-portal .osx-portal-search__fields,.osx-client-portal .osx-portal-results>div{grid-template-columns:1fr}.osx-client-portal .osx-portal-search__actions .osx-button{width:100%}.osx-client-portal .osx-portal-workspace{padding:24px 0}.osx-client-portal .osx-portal-action--primary{padding:22px}.osx-client-portal .osx-portal-search__fields{gap:18px}}
