/* 001–011: authentication, store access and device replacement share one task shell. */
.auth-shell{min-height:100dvh;display:grid;grid-template-columns:minmax(360px,42.2%) minmax(0,1fr);background:#f5f8f5}
.auth-brand{position:relative;display:flex;flex-direction:column;min-height:100dvh;padding:44px;overflow:hidden;background:linear-gradient(155deg,#12312e,#0b2521);color:#fff}
.auth-logo{z-index:1;display:flex;align-items:center;gap:12px;font-size:20px;font-weight:700}
.auth-logo span{display:grid;place-items:center;width:42px;height:42px;border:1px solid #b99b58;border-radius:10px;font-size:14px}
.auth-brand h1{z-index:1;margin:60px 0 20px;font-size:40px;line-height:1.35;letter-spacing:-.8px}
.auth-brand h1::after{display:block;width:32px;height:3px;margin-top:22px;border-radius:2px;background:#b99b58;content:""}
.auth-brand footer{z-index:1;margin-top:auto;font-size:14px}
.auth-brand footer small{display:block;margin-top:10px;color:#b9c7c3;font-size:12px}
.auth-pool-art{position:relative;flex:1;min-height:220px;background:radial-gradient(ellipse at 60% 55%,#215f4b 0%,transparent 67%)}
.auth-pool-art::before{position:absolute;right:-20%;bottom:40px;left:-20%;height:160px;transform:rotate(-12deg);border:20px solid #645139;border-radius:40%;background:linear-gradient(#295849,#143b30);box-shadow:0 0 70px #071713;content:""}
.auth-pool-art span{position:absolute;bottom:125px;left:55%;width:28px;height:28px;border:16px solid #101713;border-radius:50%;background:#fff;box-shadow:5px 15px 16px #0008;color:#1b2620;font-weight:700;line-height:28px;text-align:center}
.auth-main{display:flex;align-items:center;justify-content:center;min-width:0;padding:44px}
.auth-form{width:min(100%,430px);color:#183a35}
.auth-form h2{margin:0 0 8px;font-size:30px;line-height:1.3;letter-spacing:-.5px}
.auth-form>p.muted{margin:0 0 20px;line-height:1.65}
.auth-form label,.auth-takeover label{display:grid;gap:9px;margin:20px 0;font-size:14px;font-weight:600}
.auth-form input,.auth-takeover input{box-sizing:border-box;width:100%;height:52px;padding:12px;border:1px solid #ccd7dc;border-radius:10px;background:#fff;color:#243142;font-size:17px}
.auth-form input:hover,.auth-takeover input:hover{border-color:#9fb6ae}
.auth-form input:focus-visible,.auth-takeover input:focus-visible{border-color:#205f52;outline:3px solid rgb(32 95 82 / 18%);outline-offset:1px}
.auth-form input[aria-invalid=true]{border:2px solid #b23b22;background:#fff8f5}
.auth-form button[type=submit]{width:100%;min-height:52px;margin-top:18px;font-weight:650}
.auth-form button:disabled,.auth-takeover button:disabled{cursor:not-allowed}
.auth-tabs{display:flex;margin:28px 0 22px;padding:4px;border:1px solid #ccd7dc;border-radius:10px;background:#fff}
.auth-tabs button{flex:1;min-height:40px;border:0;background:#fff;color:#193b34}
.auth-tabs button[aria-pressed=true]{background:#205a50;color:#fff}
.auth-code{display:flex;gap:8px}
.auth-code input{min-width:0;flex:1}
.auth-code button{flex:none;min-width:116px;padding-inline:10px;font-size:13px}
.auth-link{min-height:40px;padding:8px 0!important;border:0!important;background:none!important;color:#285d52!important;font-size:14px}
.auth-field-hint{color:#64748b;font-size:12px;font-weight:400;line-height:1.6}
.auth-error{margin:16px 0 0;padding:12px 14px;border:1px solid #edc5bc;border-radius:10px;background:#fff3eb;color:#b23b22;font-size:13px;line-height:1.65;white-space:pre-wrap}
.auth-error:empty{display:none}
.auth-warning{padding:14px;border:1px solid #e6d8b4;border-radius:10px;background:#f7f0dc;color:#806428;font-size:13px;line-height:1.65}
.auth-stores{display:grid;gap:12px;margin:26px 0}
.auth-store{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:86px;padding:14px 16px;border:1px solid #d0dcd7!important;background:#fff!important;text-align:left}
.auth-store:hover{border-color:#87aa9d!important;box-shadow:0 3px 12px rgb(36 49 66 / 7%)}
.auth-store-copy{display:grid;gap:7px;min-width:0}
.auth-store-copy strong{overflow-wrap:anywhere;font-size:16px}
.auth-store-copy small,.auth-store-state small{color:#64748b;font-size:12px;font-weight:400;line-height:1.5}
.auth-store-state{display:grid;flex:none;gap:5px;max-width:46%;text-align:right}
.auth-store-state b{color:#205f52;font-size:13px;font-weight:650}
.auth-store-state b::after{margin-left:6px;content:"›"}
.auth-store[data-limited=true] .auth-store-state b{color:#806428}
.auth-eyebrow{margin:0 0 8px!important;color:#64748b;font-size:12px;font-weight:650;letter-spacing:.8px}
.auth-device{margin:18px 0;padding:16px;border:1px solid #d5e1da;border-radius:12px;background:#f2f6f3}
.auth-device>small{display:block;margin-bottom:7px;color:#64748b;font-size:12px}
.auth-device>strong{display:block;overflow-wrap:anywhere;font-size:16px}
.auth-device p{margin:8px 0 0;color:#64748b;font-size:13px}
.auth-takeover{box-sizing:border-box;width:min(600px,90vw);max-height:calc(100dvh - 40px);padding:30px;overflow:auto;border:0;border-radius:18px;background:#fff;color:#183a35;box-shadow:0 20px 60px rgb(11 37 33 / 20%)}
.auth-takeover::backdrop{background:#12383288}
.auth-takeover h2{margin:0;font-size:24px;line-height:1.35}
.auth-takeover form{display:block;margin-top:18px}
.auth-takeover label{margin:14px 0}
.auth-takeover p{line-height:1.65}
.auth-takeover [data-error]{color:#b23b22}
.auth-takeover [data-error]:empty{display:none}
.auth-takeover .auth-modal-actions button.secondary{border-color:#ccd7dc;background:#fff;color:#23455e}
.auth-takeover>.auth-link{margin-top:12px}
.auth-modal-actions{display:flex;gap:12px;margin-top:22px}
.auth-modal-actions button{flex:1;min-height:50px}
@media(max-width:900px){
  .auth-shell{grid-template-columns:minmax(300px,38%) minmax(0,1fr)}
  .auth-brand{padding:30px}
  .auth-brand h1{font-size:32px}
  .auth-main{padding:30px}
}
@media(max-width:760px){
  .auth-shell{grid-template-columns:1fr}
  .auth-brand{display:none}
  .auth-main{min-height:100dvh;padding:24px}
  .auth-form h2{font-size:26px}
}
@media(max-width:380px){
  .auth-main{padding:20px 16px}
  .auth-store{align-items:flex-start;flex-direction:column;gap:10px}
  .auth-store-state{max-width:100%;text-align:left}
  .auth-store-state b::after{content:""}
  .auth-code{flex-direction:column}
  .auth-code button{width:100%}
  .auth-takeover{padding:22px}
}
@media(prefers-reduced-motion:reduce){
  .auth-store{transition:none}
}

.scheduled-estimate{margin:12px 0;padding:12px;border:1px solid #c7e0d5;border-radius:9px;background:#edf6f2}
.scheduled-estimate>div{display:flex;align-items:center;justify-content:space-between}
.scheduled-estimate strong{color:#205f52;font-size:23px}
.scheduled-estimate small{color:#60756b;font-size:12px}
.scheduled-estimate p{margin:6px 0 0;font-size:13px}
