/* Oxmoor intake: customer-facing reusable enhancements — Preview branch only.
   Scoped to prevent interference with existing residential/commercial page layouts. */
.oxmoor-contact-preference select{
  width:100%;
  min-height:43px;
  margin-top:5px;
}
.oxmoor-contact-preference small{
  display:block;
  margin-top:6px;
  font-size:12px;
  line-height:1.45;
  color:#647385;
}
.oxmoor-contact-preference .oxmoor-email-hint{
  display:none;
  color:#8d1f33;
  font-weight:700;
}
.oxmoor-success-overlay{
  position:fixed;
  inset:0;
  z-index:2147483640;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(4,21,37,.73);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.oxmoor-success-dialog{
  position:relative;
  display:block;
  box-sizing:border-box;
  margin:0;
  padding:0;
  width:min(690px,100%);
  height:auto;
  max-height:calc(100dvh - 36px);
  overflow:hidden auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  border-radius:15px;
  border-top:5px solid #8d1c34;
  background:#fff;
  color:#132c41;
  box-shadow:0 24px 80px rgba(0,0,0,.37);
  font-family:inherit;
}
.oxmoor-success-inner{
  display:grid;
  grid-template-columns:minmax(170px,37%) minmax(0,1fr);
  align-items:stretch;
  min-height:315px;
}
.oxmoor-success-photo{
  position:relative;
  align-self:stretch;
  overflow:hidden;
  background:linear-gradient(130deg,#e5ebef,#f8fafb);
}
.oxmoor-success-photo img{
  width:100%;
  height:100%;
  min-height:305px;
  object-fit:cover;
  object-position:center top;
  display:block;
  /* Soft 'cutout' presentation rather than a square bordered stock-style photo. */
  -webkit-mask-image:linear-gradient(to right,#000 0%,#000 76%,transparent 100%);
  mask-image:linear-gradient(to right,#000 0%,#000 76%,transparent 100%);
}
.oxmoor-success-copy{
  padding:25px 27px 24px 14px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:8px;
}
.oxmoor-success-eyebrow{
  text-transform:uppercase;
  color:#831e37;
  font-size:11px;
  letter-spacing:.13em;
  font-weight:850;
  line-height:1.4;
}
.oxmoor-success-check{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#236942;
  font-size:13px;
  font-weight:850;
}
.oxmoor-success-check svg{
  width:22px;
  height:22px;
  flex:none;
}
.oxmoor-success-title{
  margin:0;
  color:#092f4d;
  font-size:clamp(23px,3.2vw,34px);
  line-height:1.14;
  letter-spacing:-.025em;
  font-weight:850;
}
.oxmoor-success-subtitle{
  margin:0;
  color:#17384f;
  font-size:clamp(18px,2.1vw,23px);
  line-height:1.25;
  font-weight:700;
}
.oxmoor-success-body{
  margin:4px 0 2px;
  color:#526477;
  line-height:1.58;
  font-size:14px;
}
.oxmoor-success-signature{
  color:#741c33;
  font-size:14px;
  font-weight:750;
  margin:3px 0 7px;
}
.oxmoor-success-done{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:7px;
  background:#092e4a;
  color:#fff;
  font-family:inherit;
  font-size:14px;
  line-height:1.4;
  font-weight:750;
  padding:12px 23px;
  min-width:146px;
  cursor:pointer;
}
.oxmoor-success-done:focus-visible{
  outline:3px solid #a47a46;
  outline-offset:3px;
}
.oxmoor-success-note{
  padding:11px 24px;
  border-top:1px solid #e4e9ed;
  color:#657384;
  background:#f8fafb;
  font-size:12px;
  line-height:1.48;
}
.oxmoor-success-inline{
  margin:0 0 18px;
  border-radius:10px;
  border:1px solid #c5ded2;
  background:#f0f7f2;
  color:#20513a;
  padding:14px 16px;
  font-size:15px;
  line-height:1.5;
}
.oxmoor-success-inline strong{display:block;margin-bottom:2px}
@media(max-width:600px){
  .oxmoor-success-overlay{
    align-items:center;
    padding:12px;
    padding-top:max(12px,env(safe-area-inset-top));
    padding-bottom:max(12px,env(safe-area-inset-bottom));
  }
  .oxmoor-success-dialog{max-height:calc(100dvh - 24px)}
  .oxmoor-success-inner{grid-template-columns:1fr;min-height:0}
  /* Mobile: show Rich's FULL photo, never force it into a cropped banner.
     Leave whitespace around the portrait if necessary rather than cutting him off. */
  .oxmoor-success-photo{
    height:auto;
    min-height:0;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    padding:12px 14px 0;
    background:#eef2f4;
  }
  .oxmoor-success-photo img{
    display:block;
    width:auto;
    height:auto;
    min-height:0;
    max-width:100%;
    max-height:clamp(240px,39dvh,330px);
    object-fit:contain;
    object-position:center center;
    -webkit-mask-image:none;
    mask-image:none;
    border-radius:7px 7px 0 0;
  }
  .oxmoor-success-copy{padding:12px 20px 19px;gap:7px}
  .oxmoor-success-title{font-size:26px}
  .oxmoor-success-note{padding:10px 20px}
  .oxmoor-success-done{width:100%;min-height:45px}
}
@media(prefers-reduced-motion:reduce){
  .oxmoor-success-dialog *{scroll-behavior:auto!important}
}
/* iOS Safari zooms the viewport when focused editable controls render below
   16 CSS pixels. Standardize mobile form inputs without enlarging file pickers. */
@media(max-width:767px){
  form[name="service-request"] input:not([type="file"]):not([type="checkbox"]):not([type="hidden"]),
  form[name="service-request"] select,
  form[name="service-request"] textarea,
  form[name="residential-quote"] input:not([type="file"]):not([type="checkbox"]):not([type="hidden"]),
  form[name="residential-quote"] select,
  form[name="residential-quote"] textarea,
  form[name="commercial-request"] input:not([type="file"]):not([type="checkbox"]):not([type="hidden"]),
  form[name="commercial-request"] select,
  form[name="commercial-request"] textarea{
    font-size:16px!important;
  }
  form[name="service-request"] .oxmoor-pilot-panel input[type="password"],
  form[name="residential-quote"] .oxmoor-pilot-panel input[type="password"],
  form[name="commercial-request"] .oxmoor-pilot-panel input[type="password"]{
    font-size:16px!important;
    min-height:44px;
  }
}

/* Keyless Preview customer intake: a plain, branded customer experience. */
.oxmoor-public-status{
  margin:14px 0 12px;
  border-radius:8px;
  background:#f2f6f8;
  border:1px solid #dbe4ea;
  padding:12px 14px;
  font:600 13px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#344e61;
  overflow-wrap:anywhere;
}
.oxmoor-public-status[data-state="warning"]{
  border-color:#ce9f77;background:#fff7ec;color:#713c22;
}
.oxmoor-public-status[data-state="success"]{
  border-color:#a9ccb4;background:#edf8f0;color:#22583b;
}
.oxmoor-public-progress-wrap[hidden],
.oxmoor-public-check[hidden],.oxmoor-public-restart[hidden]{display:none!important}
.oxmoor-public-progress-wrap{margin:10px 0 15px}
.oxmoor-public-progress-wrap progress{
  display:block;width:100%;height:12px;accent-color:#315f78;
}
.oxmoor-public-progress-label{
  margin-top:6px;font-size:12px;color:#435f72;line-height:1.4;
}
.oxmoor-public-check,.oxmoor-public-restart{
  display:block;width:100%;min-height:46px;margin:11px 0;
  padding:12px 14px;border:1px solid #8ca5b3;border-radius:7px;
  color:#143e55;background:#fff;
  font:750 13px/1.4 system-ui,sans-serif;cursor:pointer;
}
.oxmoor-public-check:focus-visible,.oxmoor-public-restart:focus-visible{
  outline:3px solid #bc7a44;outline-offset:3px;
}
.oxmoor-review-overlay{
  position:fixed;inset:0;z-index:2147483639;
  display:flex;align-items:center;justify-content:center;
  padding:16px;
  padding-top:max(16px,env(safe-area-inset-top));
  padding-bottom:max(16px,env(safe-area-inset-bottom));
  background:rgba(6,25,40,.74);overflow:auto;
  overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
}
.oxmoor-review-dialog{
  width:min(565px,100%);max-height:calc(100dvh - 32px);
  overflow-y:auto;overscroll-behavior:contain;
  padding:0;background:#fff;color:#143247;
  border-top:5px solid #802038;border-radius:14px;
  box-shadow:0 24px 85px rgba(0,0,0,.35);
  box-sizing:border-box;text-align:left;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.oxmoor-review-head{padding:23px 25px 16px}
.oxmoor-review-head h2{
  margin:0 0 7px;font-size:clamp(21px,3vw,28px);
  line-height:1.2;letter-spacing:-.025em;color:#092f4a;font-weight:850;
}
.oxmoor-review-head p{margin:0;font-size:14px;line-height:1.5;color:#5d6e7a}
.oxmoor-review-summary{
  display:grid;grid-template-columns:minmax(110px,34%) minmax(0,1fr);
  gap:11px 15px;background:#f6f8f9;border:1px solid #e1e7ea;
  border-radius:8px;padding:17px;margin:0 25px;font-size:13px;
  overflow-wrap:anywhere;
}
.oxmoor-review-summary dt{font-weight:800;color:#3c5363}
.oxmoor-review-summary dd{margin:0;color:#143247}
.oxmoor-review-fine{
  margin:15px 25px 0;font-size:12px;line-height:1.45;color:#697c89;
}
.oxmoor-review-buttons{
  display:flex;justify-content:flex-end;gap:11px;
  padding:19px 25px 23px;flex-wrap:wrap;
}
.oxmoor-review-buttons button{
  border-radius:7px;min-height:46px;padding:12px 18px;
  font:750 14px/1.35 system-ui,sans-serif;cursor:pointer;flex:1 1 180px;
}
.oxmoor-review-back{background:#fff;color:#173f58;border:1px solid #a4b3c0}
.oxmoor-review-send{background:#092f4b;color:#fff;border:1px solid #092f4b}
.oxmoor-review-buttons button:focus-visible{outline:3px solid #bc7a44;outline-offset:3px}
@media(max-width:600px){
  .oxmoor-review-overlay{align-items:center;padding:10px}
  .oxmoor-review-dialog{max-height:calc(100dvh - 22px)}
  .oxmoor-review-head{padding:20px 18px 12px}
  .oxmoor-review-summary{
    margin:0 18px;padding:13px;gap:9px 12px;font-size:13px;
    grid-template-columns:minmax(92px,34%) minmax(0,1fr);
  }
  .oxmoor-review-fine{margin:13px 18px 0}
  .oxmoor-review-buttons{padding:14px 18px 20px;gap:9px}
  .oxmoor-review-buttons button{flex:1 1 100%;min-height:48px}
  .oxmoor-review-send{order:-1}
}
