/* Customer access surfaces intentionally share the contractor shell but keep customer-specific composition. */
.customer-public{--customer-deep:#061b46;--customer-card:#082758e8;--customer-input:#123d72;--customer-line:#64a9e88a;--customer-accent:#0ca8ff;--customer-text:#f8fbff;--customer-muted:#b7cae4}
.customer-public .public-layout{grid-template-columns:390px minmax(0,1fr);background:#052157 url('/contractor-public-sakura-background.jpg') center bottom/cover no-repeat fixed}
.customer-public .public-visual{position:relative;min-height:100vh;padding:31px 34px 78px;background:linear-gradient(180deg,#051c49e8,#062757c9 59%,#041a43e8);overflow:hidden}
.customer-public .public-visual:before{background:linear-gradient(180deg,#061b4638,#0929565c 62%,#041533d9)}
.customer-public .visual-copy{margin-top:53px}.customer-public .visual-copy h2{font-size:31px}.customer-public .visual-copy p{font-size:15px;line-height:1.55}
.customer-public .customer-benefits{margin-top:27px;gap:25px}.customer-public .customer-benefits li{grid-template-columns:60px 1fr;gap:15px}.customer-public .customer-benefits li>span{width:60px;height:60px;border-color:#168eea;background:#0a376ccb}.customer-public .customer-benefits strong{font-size:17px}.customer-public .customer-benefits small{font-size:12px;line-height:1.45}
.customer-public .visual-security{grid-template-columns:repeat(3,minmax(0,1fr));min-height:72px;padding:10px 25px;background:#062759e8}
.customer-public .public-right{min-height:100vh;grid-template-rows:92px minmax(0,1fr) 45px;background:linear-gradient(135deg,#061b46db,#062a62cf 52%,#06173dde)}
.customer-public .public-header{height:92px;padding:0 31px;background:#051b45e8;border-color:#4299df55}.customer-public .public-header nav{gap:16px}
.customer-public .header-login,.customer-public .header-register{height:52px;min-width:154px}.customer-public .header-register{min-width:205px}
.customer-public .public-header [aria-current=page]{background:linear-gradient(135deg,#19a9ff,#075be5);color:#fff;border-color:#42c3ff;box-shadow:0 0 0 3px #129ef52b}
.customer-public .public-right>main{display:grid;place-items:center;padding:28px 28px 34px;overflow:auto}
.customer-login-card,.customer-recovery{width:min(625px,100%);padding:35px 48px 28px;border:1px solid var(--customer-line);border-radius:18px;background:var(--customer-card);box-shadow:0 18px 55px #00112a5c;backdrop-filter:blur(11px);color:var(--customer-text)}
.customer-card-heading{display:flex;align-items:center;gap:22px}.customer-card-heading .panel-icon{width:72px;height:72px}.customer-card-heading h1{margin:0;color:#28aaff;font-size:33px}
.customer-login-intro{margin:29px 0 20px}.customer-login-intro h2{margin:0 0 5px;font-size:24px}.customer-login-intro p{margin:0;color:var(--customer-muted)}
.customer-login-card form{display:grid;gap:18px}.customer-login-card form>label{display:grid;gap:7px;font-weight:800}.customer-login-card input{height:59px;padding:0 17px;border:1px solid var(--customer-line);border-radius:10px;background:var(--customer-input);color:#fff;font-size:16px}
.customer-login-card .primary{min-height:58px;margin-top:2px;font-size:19px}.customer-create-link{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:28px;padding-top:23px;border-top:1px solid #87acd05c}.customer-create-link a{color:#1db8ff;font-weight:800}.customer-secure{text-align:center;margin:24px 0 0;color:#c6d8ef}
.customer-page-footer{height:45px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:#061943e8;border-top:1px solid #62a4df42;color:#c2d2e7;font-size:11px}.customer-page-footer nav{display:flex;gap:22px}.customer-page-footer a{color:inherit}
.customer-registration-shell{width:min(1080px,100%)}.customer-registration-shell .registration-heading h1{font-size:40px}.customer-registration-shell .stepper{grid-template-columns:repeat(5,1fr);margin:14px 0 25px}.customer-registration-shell .registration-content{grid-template-columns:minmax(0,1fr) 285px;gap:18px}.customer-registration-shell form,.customer-registration-shell .registration-aside>section{background:var(--customer-card);border-color:var(--customer-line)}
.customer-registration-shell form{padding:28px}.customer-registration-shell legend{font-size:25px}.customer-registration-shell input,.customer-registration-shell select{height:54px;background:var(--customer-input);border-color:var(--customer-line);color:#fff}.customer-registration-shell .registration-aside>section{padding:23px}.customer-registration-shell .required-list{gap:15px}.customer-type{min-height:54px;display:flex;align-items:center;gap:25px}.customer-type label{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px}.customer-type input{width:20px;height:20px}.confirmation-summary{display:grid;gap:9px}.confirmation-summary p{display:grid;grid-template-columns:180px 1fr;gap:15px;padding:11px;border-bottom:1px solid #ffffff1c}.confirmation-summary p>*{overflow-wrap:anywhere}
:root[data-theme=light] .customer-public{--customer-card:#f8fbfff0;--customer-input:#fff;--customer-line:#8bb3da88;--customer-text:#09255a;--customer-muted:#526786}
:root[data-theme=light] .customer-public .public-right{background:linear-gradient(135deg,#e9f5ffd9,#f8fbfff2 52%,#e4f1fddd)}
:root[data-theme=light] .customer-public .public-header{background:#f8fbfff2;color:#09255a}:root[data-theme=light] .customer-public .public-header label,:root[data-theme=light] .customer-public .public-header select{color:#09255a}:root[data-theme=light] .customer-public .theme-toggle,:root[data-theme=light] .customer-public .header-register{background:#f8fbff;color:#075eca}
:root[data-theme=light] .customer-public .customer-login-card,:root[data-theme=light] .customer-public .customer-recovery{color:#09255a}:root[data-theme=light] .customer-public .customer-login-card input,:root[data-theme=light] .customer-public .customer-registration-shell input,:root[data-theme=light] .customer-public .customer-registration-shell select{color:#173867;background:#fff}
:root[data-theme=light] .customer-public .customer-page-footer{background:#f7fbfff0;color:#29496d}
@media(max-width:1120px){.customer-public .public-layout{display:block}.customer-public .public-visual{display:none}.customer-public .public-right{grid-template-rows:auto minmax(0,1fr) auto}.customer-registration-shell .registration-content{grid-template-columns:1fr}.customer-page-footer{min-height:45px;height:auto}}
@media(max-width:650px){.customer-public .public-right>main{padding:18px 12px}.customer-login-card,.customer-recovery{padding:23px 17px}.customer-card-heading h1{font-size:24px}.customer-card-heading .panel-icon{width:52px;height:52px}.customer-public .public-header nav{width:100%;justify-content:flex-end}.customer-public .header-login,.customer-public .header-register{min-width:0}.customer-page-footer{align-items:flex-start;gap:8px;padding:10px 12px;flex-direction:column}.customer-registration-shell .registration-heading h1{font-size:28px}.customer-registration-shell .stepper span{font-size:9px}.confirmation-summary p{grid-template-columns:1fr}}

:root[data-theme=light] .customer-public .customer-secure{color:#365678}@media(max-width:650px){.customer-public .public-header{height:auto;min-height:68px;padding:7px 9px}.customer-public .public-header nav{display:grid;grid-template-columns:minmax(74px,1fr) 44px minmax(116px,1.25fr) minmax(82px,.8fr);gap:6px}.customer-public .public-header nav label{min-width:0;gap:4px}.customer-public .public-header nav select{width:100%;min-width:0}.customer-public .header-login,.customer-public .header-register{padding:0 7px;font-size:12px}.customer-public .theme-toggle{width:44px}}
/* Customer access layout: scoped overrides for stable single-page flow and compact desktop fit. */
.customer-public{
  --customer-deep:#04183d;
  --customer-card:#062654ed;
  --customer-input:#123d72;
  --customer-line:#64a9e88a;
  --customer-accent:#18a9ff;
  --customer-text:#f8fbff;
  --customer-muted:#b7cae4;
  min-width:320px;
}
.customer-public .public-layout{
  grid-template-columns:clamp(315px,24.5vw,360px) minmax(0,1fr);
  min-height:100dvh;
  background:#052157 url('/contractor-public-sakura-background.jpg') center bottom/cover no-repeat fixed;
}
.customer-public .public-visual{
  position:sticky;
  top:0;
  height:100dvh;
  min-height:620px;
  padding:18px 24px 58px;
  background:linear-gradient(180deg,#041944ee,#062757d9 61%,#031533f2);
  overflow:hidden;
}
.customer-public .dynamic-brand{
  display:flex;
  min-height:68px;
  height:68px;
  align-items:center;
}
.customer-public .dynamic-brand img{
  width:auto;
  max-width:290px;
  height:auto;
  max-height:68px;
  object-fit:contain;
  object-position:left center;
  filter:drop-shadow(0 7px 13px #00132d99);
}
.customer-public .visual-copy{margin-top:12px}
.customer-public .visual-copy h2{font-size:24px;line-height:1.15;margin-bottom:5px}
.customer-public .visual-copy p{font-size:12px;line-height:1.35;max-width:305px}
.customer-public .customer-benefits{margin-top:14px;gap:9px}
.customer-public .customer-benefits li{grid-template-columns:44px minmax(0,1fr);gap:10px}
.customer-public .customer-benefits li>span{
  width:44px;
  height:44px;
  border-radius:10px;
  border-color:#168eea;
  background:#0a376ccb;
  font-size:18px;
}
.customer-public .customer-benefits div{gap:1px}
.customer-public .customer-benefits strong{font-size:13px;line-height:1.2}
.customer-public .customer-benefits small{font-size:10px;line-height:1.3}
.customer-public .visual-security{
  min-height:58px;
  padding:8px 17px;
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:#062759f2;
}
.customer-public .visual-security>span{font-size:9px}
.customer-public .public-right{
  min-width:0;
  min-height:100dvh;
  height:auto;
  grid-template-rows:72px minmax(0,1fr) 52px;
  background:linear-gradient(135deg,#061b46e8,#062a62dc 52%,#06173deb);
}
.customer-public .public-header{
  position:sticky;
  top:0;
  height:72px;
  padding:0 24px;
  background:#051b45f2;
  border-color:#4299df55;
}
.customer-public .public-header nav{gap:11px}
.customer-public .public-header label{gap:7px}
.customer-public .public-header select{min-width:108px}
.customer-public .header-login,
.customer-public .header-register{height:46px;min-width:128px;padding:7px 13px}
.customer-public .header-register{min-width:166px}
.customer-public .public-header [aria-current=page]{
  background:linear-gradient(135deg,#19a9ff,#075be5);
  color:#fff;
  border-color:#42c3ff;
  box-shadow:0 0 0 3px #129ef52b;
}
.customer-public .public-right>main{
  display:grid;
  place-items:center;
  min-width:0;
  min-height:0;
  padding:14px 18px;
  overflow:visible;
}
.customer-public .customer-login-card,
.customer-public .customer-recovery{
  width:min(550px,100%);
  padding:23px 34px 20px;
  border:1px solid var(--customer-line);
  border-radius:16px;
  background:var(--customer-card);
  box-shadow:0 18px 55px #00112a5c;
  backdrop-filter:blur(11px);
  color:var(--customer-text);
}
.customer-public[data-public-page="login"] .public-right>main{grid-template-columns:minmax(0,1fr)}
.customer-public .customer-login-card{width:480px;max-width:100%;min-width:0;padding:16px 26px 14px}
.customer-public .customer-card-heading{gap:12px}
.customer-public .customer-card-heading .panel-icon{width:55px;height:55px}
.customer-public .customer-card-heading h1{font-size:22px}
.customer-public .customer-login-intro{margin:8px 0}
.customer-public .customer-login-intro h2{font-size:20px}
.customer-public .customer-login-intro p{font-size:13px;line-height:1.4}
.customer-public .customer-login-card form{gap:8px}
.customer-public .customer-login-card form>label{gap:4px;font-size:13px}
.customer-public .customer-login-card input{height:44px;font-size:14px;padding:0 14px}
.customer-public .customer-login-card .password-field input{width:100%;padding-right:42px}
.customer-public .customer-login-card .primary{min-height:44px;font-size:16px}
.customer-public .customer-create-link{margin-top:8px;padding-top:8px;font-size:13px}
.customer-public .customer-secure{margin:6px 0 0;font-size:12px}
.customer-public .customer-page-footer{
  min-height:52px;
  height:52px;
  padding:0 24px;
  background:#061943ed;
  font-size:10px;
}
.customer-public .customer-page-footer nav{gap:18px}
.customer-public .customer-registration-shell{width:min(1080px,100%);align-self:start}
.customer-public .customer-registration-shell .registration-heading h1{font-size:30px;line-height:1.1}
.customer-public .customer-registration-shell .registration-heading p{margin:3px 0 8px;font-size:12px}
.customer-public .customer-registration-shell .stepper{
  grid-template-columns:repeat(5,minmax(0,1fr));
  margin:5px 0 10px;
}
.customer-public .customer-registration-shell .stepper li{font-size:10px;gap:3px}
.customer-public .customer-registration-shell .stepper b{width:29px;height:29px}
.customer-public .customer-registration-shell .stepper li:not(:last-child):after{top:13px}
.customer-public .customer-registration-shell .registration-content{
  grid-template-columns:minmax(0,1fr) 245px;
  gap:14px;
}
.customer-public .customer-registration-shell form,
.customer-public .customer-registration-shell .registration-aside>section{
  background:var(--customer-card);
  border-color:var(--customer-line);
}
.customer-public .customer-registration-shell form{padding:15px 17px;gap:9px}
.customer-public .customer-registration-shell fieldset>p{margin:0 0 11px;color:var(--customer-muted);font-size:12px}
.customer-public .customer-registration-shell legend{margin-bottom:9px;font-size:19px}
.customer-public .customer-registration-shell .form-grid{gap:9px 13px}
.customer-public .customer-registration-shell label{gap:4px;font-size:12px}
.customer-public .customer-registration-shell input,
.customer-public .customer-registration-shell select{
  height:43px;
  padding:0 10px;
  background:var(--customer-input);
  border-color:var(--customer-line);
  color:#fff;
  font-size:13px;
}
.customer-public .customer-registration-shell .password-field button{top:4px}
.customer-public .customer-registration-shell .full{grid-column:1/-1}
.customer-public .customer-registration-shell .registration-aside>section{padding:16px}
.customer-public .customer-registration-shell .registration-aside h2{font-size:17px}
.customer-public .customer-registration-shell .registration-aside p{font-size:11px}
.customer-public .customer-registration-shell .required-list{gap:9px;margin-top:11px;font-size:11px}
.customer-public .customer-registration-shell .form-actions{padding-top:10px}
.customer-public .customer-registration-shell .form-actions button{min-height:42px}
.customer-public .customer-registration-shell button:disabled{cursor:not-allowed}
.customer-public .customer-type{min-height:43px;gap:18px}
.customer-public .customer-type label{gap:7px}
.customer-public .customer-type input{width:18px;height:18px;padding:0}
.customer-public .registration-verification{
  display:grid;
  gap:11px;
  padding:14px;
  border:1px solid var(--customer-line);
  border-radius:11px;
  background:#0a3269a3;
}
.customer-public .registration-verification>p{margin:0;color:var(--customer-muted);font-size:12px}
.customer-public .verification-start{justify-self:start}
.customer-public [data-verification-entry]{display:grid;grid-template-columns:minmax(180px,1fr) auto;align-items:end;gap:12px}
.customer-public .verification-actions{display:flex;gap:8px}
.customer-public .verification-actions button{min-width:128px}
.customer-public .verification-status{padding:9px 10px;border-radius:8px;background:#123d72;color:#d7e8ff}
.customer-public .verification-status.verified{background:#126443;color:#dfffee}
.customer-public .consent-list{display:grid;gap:9px;margin-top:12px}
.customer-public .confirmation-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.customer-public .summary-group{
  min-width:0;
  padding:12px;
  border:1px solid var(--customer-line);
  border-radius:10px;
  background:#0a32698c;
}
.customer-public .summary-group header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.customer-public .summary-group h2{margin:0;color:#41b8ff;font-size:15px}
.customer-public .summary-group header button{border:0;background:transparent;color:#59c6ff;font-size:11px;cursor:pointer}
.customer-public .confirmation-summary p{
  display:grid;
  grid-template-columns:minmax(105px,.7fr) minmax(0,1fr);
  gap:9px;
  margin:0;
  padding:6px 0;
  border-bottom:1px solid #ffffff1c;
  font-size:11px;
}
.customer-public .confirmation-summary p:last-child{border-bottom:0}
.customer-public .confirmation-summary p>*{overflow-wrap:anywhere}
:root[data-theme=light] .customer-public{
  --customer-card:#f8fbfff2;
  --customer-input:#fff;
  --customer-line:#8bb3da88;
  --customer-text:#09255a;
  --customer-muted:#526786;
}
:root[data-theme=light] .customer-public .public-right{background:linear-gradient(135deg,#e9f5ffeb,#f8fbfff5 52%,#e4f1fdf0)}
:root[data-theme=light] .customer-public .public-header{background:#f8fbfff5;color:#09255a}
:root[data-theme=light] .customer-public .public-header label,
:root[data-theme=light] .customer-public .public-header select{color:#09255a}
:root[data-theme=light] .customer-public .theme-toggle,
:root[data-theme=light] .customer-public .header-register{background:#f8fbff;color:#075eca}
:root[data-theme=light] .customer-public .customer-login-card,
:root[data-theme=light] .customer-public .customer-recovery{color:#09255a}
:root[data-theme=light] .customer-public .customer-login-card input,
:root[data-theme=light] .customer-public .customer-registration-shell input,
:root[data-theme=light] .customer-public .customer-registration-shell select{color:#173867;background:#fff}
:root[data-theme=light] .customer-public .registration-verification,
:root[data-theme=light] .customer-public .summary-group{background:#f2f8ff}
:root[data-theme=light] .customer-public .customer-page-footer{background:#f7fbfff2;color:#29496d}
:root[data-theme=light] .customer-public .customer-secure{color:#365678}
@media(min-width:1121px) and (max-height:820px){
  .customer-public .public-visual{padding-top:12px}
  .customer-public .dynamic-brand{height:58px;min-height:58px}
  .customer-public .dynamic-brand img{max-height:58px}
  .customer-public .visual-copy{margin-top:7px}
  .customer-public .visual-copy h2{font-size:21px}
  .customer-public .visual-copy p{font-size:11px}
  .customer-public .customer-benefits{margin-top:10px;gap:7px}
  .customer-public .customer-benefits li{grid-template-columns:39px minmax(0,1fr)}
  .customer-public .customer-benefits li>span{width:39px;height:39px}
  .customer-public .customer-benefits strong{font-size:12px}
  .customer-public .customer-benefits small{font-size:9px}
  .customer-public .public-right>main{padding-top:10px;padding-bottom:10px}
}
@media(max-width:1120px){
  .customer-public .public-layout{display:block;min-height:100dvh}
  .customer-public .public-visual{display:none}
  .customer-public .public-right{min-height:100dvh;grid-template-rows:auto minmax(0,1fr) auto}
  .customer-public .public-header{min-height:68px;height:auto}
  .customer-public .mobile-brand.dynamic-brand{display:flex;min-height:44px;height:44px;margin-right:auto}
  .customer-public .mobile-brand.dynamic-brand img{max-width:150px;max-height:42px}
  .customer-public .customer-registration-shell .registration-content{grid-template-columns:1fr}
  .customer-public .customer-registration-shell .registration-aside{grid-template-columns:1fr}
  .customer-public .customer-page-footer{min-height:48px;height:auto}
}
@media(max-width:760px){
  .customer-public .public-header{padding:7px 9px}
  .customer-public .public-header nav{display:grid;grid-template-columns:minmax(82px,1fr) 44px minmax(110px,1.1fr) minmax(78px,.75fr);gap:5px;width:100%}
  .customer-public .mobile-brand.dynamic-brand{display:none}
  .customer-public .public-header nav label{min-width:0;gap:3px}
  .customer-public .public-header nav select{width:100%;min-width:0;padding-left:3px}
  .customer-public .header-login,
  .customer-public .header-register{min-width:0;height:42px;padding:6px;font-size:11px}
  .customer-public .theme-toggle{width:44px;height:42px}
  .customer-public .public-right>main{padding:12px 9px}
  .customer-public .customer-registration-shell .registration-heading h1{font-size:25px}
  .customer-public .customer-registration-shell .stepper{padding:0}
  .customer-public .customer-registration-shell .stepper span{font-size:8px}
  .customer-public .customer-registration-shell .registration-content{display:block}
  .customer-public .customer-registration-shell .registration-aside{margin-top:10px}
  .customer-public [data-verification-entry]{grid-template-columns:1fr}
  .customer-public .verification-actions{flex-wrap:wrap}
  .customer-public .confirmation-summary{grid-template-columns:1fr}
  .customer-public .customer-page-footer{align-items:flex-start;gap:7px;padding:9px 12px;flex-direction:column}
}
@media(max-width:560px){
  .customer-public .customer-login-card,
  .customer-public .customer-recovery{padding:20px 15px}
  .customer-public .customer-card-heading h1{font-size:22px}
  .customer-public .customer-card-heading .panel-icon{width:48px;height:48px}
  .customer-public .customer-registration-shell .form-grid{grid-template-columns:1fr}
  .customer-public .customer-registration-shell .full{grid-column:auto}
  .customer-public .customer-registration-shell form{padding:13px 10px}
  .customer-public .confirmation-summary p{grid-template-columns:1fr}
  .customer-public .form-actions{flex-wrap:wrap}
}

/* Customer-specific cards follow the same full-page light membership palette. */
@media screen{
 :root[data-theme=light] .customer-public{
  --customer-deep:#e3e8ee;--customer-card:#edf0f3;--customer-input:#e7ecf1;
  --customer-line:#c7d3e1;--customer-text:#14203d;--customer-muted:#526786
 }
 :root[data-theme=light] .customer-public .public-right{background:#e3e8ee}
 :root[data-theme=light] .customer-public .public-header{background:#edf0f3;color:#14203d}
 :root[data-theme=light] .customer-public .theme-toggle{background:#edf0f3;color:#075eca}
 :root[data-theme=light] .customer-public :is(.customer-login-card,.customer-recovery){box-shadow:0 18px 55px #173a6c14}
 :root[data-theme=light] .customer-public :is(.customer-login-card input,.customer-registration-shell input,.customer-registration-shell select){background:#e7ecf1;color:#173867}
 :root[data-theme=light] .customer-public :is(.registration-verification,.summary-group){background:#e7ecf1}
 :root[data-theme=light] .customer-public :is(.summary-group h2,.summary-group header button){color:#075eca}
 :root[data-theme=light] .customer-public .verification-status:not(.verified){background:#e3e8ee;color:#29496d}
 :root[data-theme=light] .customer-public .customer-page-footer{background:#edf0f3;color:#29496d}
}

/* Match small customer access text to the readable light panel tone. */
@media screen{
 :root[data-theme=light] .customer-public{--customer-muted:#46566d}
 :root[data-theme=light] .customer-public .customer-create-link a{color:#075eca}
 :root[data-theme=light] .customer-public :is(.customer-login-card input,.customer-recovery input)::placeholder{color:#46566d}
}
/* Pending quote notice is shown only on the customer sign-in/registration handoff. */
.customer-quote-preserved{width:100%;max-width:680px;box-sizing:border-box;margin:0 auto 18px;padding:16px 20px;border:1px solid #6dadd0;border-left:4px solid #0788bd;background:#edf8ff;color:#123950;font-size:14px;line-height:1.6}
.customer-quote-preserved p{margin:0 0 8px}.customer-quote-preserved a{color:#075b83;text-decoration:underline;font-weight:600}
[data-theme=dark] .customer-quote-preserved{background:#142f42;color:#ebf6ff;border-color:#548fab}[data-theme=dark] .customer-quote-preserved a{color:#a0dfff}

/* A crisp customer icon; do not inherit the contractor registration image. */
body.customer-public .customer-benefits li:first-child>.customer-member-icon{
  background:linear-gradient(145deg,#12568d,#09396a);border:1px solid #61b5e8;
  border-radius:10px;box-shadow:inset 0 1px 0 #ffffff25,0 3px 8px #00142b35;color:#eef8ff
}
.customer-public .customer-member-icon>svg{display:block;width:28px;height:28px}


/* Keep service notices compact so the customer sign-in actions stay above the fold. */
body.customer-public[data-public-page="login"] .public-right:has(>main>.customer-quote-preserved){
  grid-template-rows:auto minmax(0,1fr) auto;
}
body.customer-public[data-public-page="login"] .public-right>main:has(>.customer-quote-preserved){
  align-content:start;grid-auto-rows:max-content;gap:10px;padding:10px 18px;
}
body.customer-public[data-public-page="login"] .customer-quote-preserved{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;
  margin:0 auto;padding:8px 14px;line-height:1.4;
}
body.customer-public[data-public-page="login"] .customer-quote-preserved h2{
  grid-column:1;grid-row:1;margin:0;font-size:18px;line-height:1.3;
}
body.customer-public[data-public-page="login"] .customer-quote-preserved p{
  grid-column:1/-1;grid-row:2;margin:0;font-size:13px;line-height:1.4;
}
body.customer-public[data-public-page="login"] .customer-quote-preserved a{
  grid-column:2;grid-row:1;white-space:nowrap;
}
@media(max-height:700px) and (min-width:651px){
  body.customer-public[data-public-page="login"] main:has(>.customer-quote-preserved)>.customer-login-card{padding-top:12px;padding-bottom:10px}
  body.customer-public[data-public-page="login"] main:has(>.customer-quote-preserved) .customer-login-intro{margin:6px 0}
  body.customer-public[data-public-page="login"] main:has(>.customer-quote-preserved) .customer-login-card form{gap:6px}
}
@media(max-width:650px){
  body.customer-public[data-public-page="login"] .public-right>main:has(>.customer-quote-preserved){padding:10px 12px;gap:10px}
}


/* Mobile membership: preserve the user's zoom and constrain native iOS date controls. */
@media (max-width:900px), (pointer:coarse) {
 body:is(.customer-public,.contractor-public)[data-public-page] :is(input,select,textarea){font-size:16px!important}
 body:is(.customer-public,.contractor-public)[data-public-page] :is(.registration-shell,.registration-content,.form-grid,fieldset,label,.password-field,.access-panel,.access-card){min-width:0;max-width:100%}
 body:is(.customer-public,.contractor-public)[data-public-page] :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%}
 body:is(.customer-public,.contractor-public)[data-public-page] input:is([type=date],[type=datetime-local],[type=time]){
  display:block;width:100%;min-width:0;min-inline-size:0;max-inline-size:100%;appearance:none;-webkit-appearance:none
 }
 body:is(.customer-public,.contractor-public)[data-public-page] input::-webkit-date-and-time-value{min-width:0;text-align:left}
 body:is(.customer-public,.contractor-public)[data-public-page] input::-webkit-datetime-edit{min-width:0;padding:0}
}
@media(max-width:650px){
 body:is(.customer-public,.contractor-public)[data-public-page] .public-header{position:relative;top:auto;width:100%;min-width:0}
 body:is(.customer-public,.contractor-public)[data-public-page] .public-header nav{
  display:grid;width:100%;min-width:0;grid-template-columns:minmax(120px,1.15fr) 34px minmax(0,1.3fr) minmax(0,1fr);gap:3px
 }
 body:is(.customer-public,.contractor-public)[data-public-page] .public-header nav>label{min-width:0;width:100%;gap:2px}
 body:is(.customer-public,.contractor-public)[data-public-page] .public-header nav select{flex:1 1 0;width:0;min-width:0;max-width:100%;padding-left:0;padding-right:12px}
 body:is(.customer-public,.contractor-public)[data-public-page] .public-header nav>.theme-toggle{width:34px;min-width:0}
 body:is(.customer-public,.contractor-public)[data-public-page] .public-header nav>:is(.header-login,.header-register){min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
 body:is(.customer-public,.contractor-public)[data-public-page] .form-actions{display:flex;flex-wrap:wrap;gap:8px}
 body:is(.customer-public,.contractor-public)[data-public-page] .form-actions button{flex:1 1 0;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
}

/* Registration completion and field feedback use the existing card palette. */
.customer-public .registration-complete{min-width:0;padding:24px;border:1px solid var(--customer-line);border-radius:14px;background:var(--customer-card);overflow-wrap:anywhere}
.customer-public .registration-complete h2{margin-top:0}
.customer-public .registration-complete .primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 24px}
.customer-public .registration-field-error{margin:4px 0;font-size:13px;line-height:1.5;color:#ffb9c5;overflow-wrap:anywhere}
:root[data-theme=light] .customer-public .registration-field-error{color:#a71935}
.customer-public [aria-invalid=true]{outline:2px solid #e34e66;outline-offset:1px}

@media (max-width:650px) {
  body.customer-public:is([data-public-page="reset"],[data-public-page="confirm"]) .public-header nav {
    grid-template-columns:minmax(0,1fr) 42px minmax(0,1.35fr) minmax(0,1fr);
    gap:4px;
  }
  body.customer-public:is([data-public-page="reset"],[data-public-page="confirm"]) .public-header nav > .theme-toggle {
    box-sizing:border-box;width:42px;height:42px;padding:0;display:grid;place-items:center;
  }
}
