:root{font-family:'DM Sans','Google Sans','Avenir Next',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-synthesis:none;color:#252724;background:#f4f4f1;line-height:1.55;font-size:15px;--ink:#252724;--muted:#72766e;--line:#e4e6df;--orange:#e76027}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}a{color:inherit}h1,h2,h3,p{margin:0}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #2478c8;outline-offset:4px}.skip{position:fixed;top:-90px;left:20px;padding:12px;background:#fff;z-index:50}.skip:focus{top:12px}.access-header{height:100px;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;background:#fafaf7}.access-brand{font-size:35px;letter-spacing:-2px;line-height:1;font-weight:850;text-decoration:none}.access-brand sup{font-size:11px;vertical-align:top;letter-spacing:0}.access-brand span{display:block;color:var(--muted);font-size:8px;letter-spacing:1.8px;margin-top:11px}.access-card{max-width:680px;margin:55px auto 90px;text-align:center;padding:0 24px}.access-card .eyebrow{font-size:10px;font-weight:700;letter-spacing:1.7px;color:var(--muted)}.access-card h1{font-size:clamp(34px,5vw,52px);letter-spacing:-2px;line-height:1.15;margin:20px 0}.access-card>p{color:var(--muted);max-width:540px;margin:0 auto 28px}.access-card>p.small{font-size:12px;margin-top:20px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:12px 18px;border:0;border-radius:9px;font-size:13px;font-weight:650;text-decoration:none;line-height:1.4}.button.primary{background:var(--orange);color:#fff}.button.primary:hover:not(:disabled){background:#bd4311}.button.full{width:100%}.notice{font-size:13px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:14px 18px;margin:20px auto;max-width:720px;overflow-wrap:anywhere;box-shadow:0 8px 35px #2930220a}.notice.error{background:#fff1eb;border-color:#efc2ac;color:#8f3e20}.customer-has-project>.notice{position:fixed;bottom:22px;right:25px;left:auto;max-width:min(600px,calc(100vw - 40px));z-index:60;margin:0}.customer-has-project>#main{max-width:none;margin:0;padding:0;min-height:100vh;outline:none}.customer-has-project #customer-project,.customer-has-project #customer-order{margin:0;padding:0}.portal-dashboard .wall{padding:21px 0;border-top:1px solid var(--line)}.portal-dashboard .wall:first-of-type{border-top:0;padding-top:0}.portal-dashboard .wall-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:12px}.portal-dashboard .wall-heading strong{font-size:14px}.portal-dashboard .wall-type{font-size:11px;color:var(--muted)}.portal-dashboard .wall-measures{font-size:24px;font-weight:650;letter-spacing:-.7px}.portal-dashboard .wall-measures span{font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted);margin-left:6px}.portal-dashboard .wall-note{font-size:12px;color:var(--muted);margin-top:7px}.portal-dashboard .options{border-top:1px solid var(--line);margin-top:22px;padding-top:18px;display:flex;flex-wrap:wrap;gap:8px}.portal-dashboard .option{font-size:11px;background:#f5f6f3;border:1px solid #e6e9e3;padding:7px 10px;border-radius:7px}.portal-dashboard .prequote-followup{font-size:11px;margin-top:15px;max-width:450px}.portal-dashboard .prequote-support-note{font-size:13px;color:var(--muted);margin:23px 0;max-width:600px}.portal-dashboard .prequote-document{display:flex;gap:14px;align-items:center;padding:16px 0}.portal-dashboard .prequote-document>div{flex:1;min-width:0}.portal-dashboard .prequote-document strong{font-size:14px;overflow-wrap:anywhere}.portal-dashboard .prequote-document p{font-size:11px;margin-top:5px;color:var(--muted)}.portal-dashboard .prequote-document-icon{display:grid;place-items:center;height:42px;width:36px;background:#f0f3e9;border:1px solid #e0e6d8;border-radius:8px;color:#718461}.portal-dashboard .prequote-document-icon svg{height:20px;width:20px}@media(max-width:650px){.access-header{height:85px;padding:0 23px}.access-brand{font-size:31px}.access-card{margin-top:36px}.customer-has-project>.notice{bottom:12px;right:12px;max-width:calc(100vw - 24px)}.portal-dashboard .prequote-document{flex-wrap:wrap}.portal-dashboard .prequote-document .btn{width:100%;margin-top:9px}.portal-dashboard .wall-measures span{display:block;margin:4px 0 0}}@media(prefers-reduced-motion:no-preference){.button{transition:background .16s}}

.portal-dashboard .prequote-destination{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.portal-dashboard .prequote-destination h3{font-size:15px;margin-bottom:10px}.portal-dashboard .prequote-destination p{font-size:14px;line-height:1.7;overflow-wrap:anywhere}.portal-dashboard .prequote-destination .quiet{font-size:12px;margin-top:9px}

#customer-login{max-width:430px;margin:0 auto;text-align:left}#customer-login>p{font-size:15px;line-height:1.7;margin:0 0 24px;color:var(--muted)}#customer-login>.login-reference{font-weight:650;color:var(--text);text-align:center;margin-bottom:18px}.customer-code-form{margin-top:26px;display:grid;gap:12px}.customer-code-form label{font-size:14px;font-weight:650}.customer-code-form input{width:100%;min-height:58px;border:1px solid var(--line);border-radius:9px;padding:12px 16px;font-size:28px;letter-spacing:8px;background:#fff}.customer-code-form p{font-size:12px;line-height:1.6;color:var(--muted)}#customer-login>.small{font-size:12px;margin-top:24px;text-align:center}#customer-login-missing p{color:var(--muted);line-height:1.7;margin-bottom:24px}

/* Customer sign-in: one task per screen, with an explicit recipient. */
#customer-access.access-card{width:calc(100% - 40px);max-width:480px;margin:64px auto 80px;padding:40px;background:#fff;border:1px solid var(--line);border-radius:18px;text-align:left}
#customer-access h1{margin:0 0 32px;font-size:30px;line-height:1.2;letter-spacing:-1px;text-align:center}
#customer-login{max-width:none}#customer-login .customer-email-form,#customer-login .customer-code-form{display:grid;gap:12px;margin:0}
#customer-login label{font-size:14px;font-weight:650;color:var(--ink)}#customer-login input{width:100%;min-height:54px;border:1px solid #ccd0c7;border-radius:9px;padding:13px 14px;background:#fff;color:var(--ink);font-size:16px;letter-spacing:0}
#customer-login input:focus{border-color:var(--orange)}#customer-login #customer-code{min-height:64px;font-size:28px;letter-spacing:10px;text-align:center;padding-left:24px;font-variant-numeric:tabular-nums}
#customer-login .customer-email-form p,#customer-login .customer-code-form p{font-size:12px;line-height:1.5;color:var(--muted)}#customer-login .button{min-height:50px;font-size:15px;margin-top:8px}
#customer-login .code-destination{text-align:center;margin:-12px 0 30px}#customer-login .code-destination p{font-size:14px;color:var(--muted);margin-bottom:6px}#customer-login .code-destination strong{display:block;font-size:17px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
#customer-login .code-options{margin-top:24px;text-align:center}#customer-login .code-options p{font-size:12px;line-height:1.6;color:var(--muted);margin-bottom:12px}#customer-login .code-options>div{display:flex;justify-content:center;flex-wrap:wrap;gap:4px 20px}
#customer-login .login-link{background:none;border:0;padding:10px 0;min-height:44px;font-size:13px;color:var(--ink);text-decoration:underline;text-underline-offset:4px}#customer-login .login-link:disabled{color:var(--muted);opacity:1;text-decoration:none}
#customer-login>.login-status{margin:18px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}#customer-login>.login-status.error{color:#9b3817}
#customer-login>.login-support{margin:30px 0 0;padding-top:24px;border-top:1px solid var(--line);font-size:12px;line-height:1.6;text-align:center}#customer-login>.login-support a{text-underline-offset:4px}
@media(max-width:520px){#customer-access.access-card{width:calc(100% - 32px);margin:32px auto 48px;padding:30px 24px;border-radius:14px}#customer-access h1{font-size:27px;margin-bottom:28px}#customer-login .code-destination strong{font-size:16px}}
#customer-login #customer-email[aria-invalid="true"]{border-color:#a5472b}
#customer-login .customer-email-form .email-error{margin:0;font-size:13px;line-height:1.5;color:#9b3817;text-align:left}
#customer-login .email-error a{color:inherit;text-underline-offset:3px}

/* Invitation: a clear action with comfortable spacing on every screen. */
#customer-access.access-card{max-width:520px;padding:44px 40px}
#customer-access:has(#customer-invitation:not([hidden])) h1{margin-bottom:18px}
#customer-invitation{text-align:center;display:grid;gap:24px}
#customer-invitation-description{font-size:16px;line-height:1.6;color:#62675e;text-wrap:balance}
#customer-login #customer-invitation .button{margin:0;min-height:54px}
#customer-invitation .login-link{justify-self:center}
@media(max-width:520px){#customer-access.access-card{padding:32px 24px}#customer-invitation{gap:24px}#customer-access h1{font-size:28px;line-height:1.25}}

/* Generic portal home only: centered entry, with the existing TAKTAK identity. */
body[data-customer-app]:not(.customer-has-project):has(#customer-login-missing:not([hidden])){
  min-height:100vh;
  min-height:100svh;
  display:flex;
  flex-direction:column;
}
body[data-customer-app]:not(.customer-has-project):has(#customer-login-missing:not([hidden])) .access-header{
  flex-shrink:0;
  background:transparent;
  border-bottom:0;
}
body[data-customer-app]:not(.customer-has-project):has(#customer-login-missing:not([hidden])) > #main{
  flex:1;
  display:grid;
  place-items:center;
  padding:40px 24px 140px;
}
#customer-access.access-card:has(#customer-login-missing:not([hidden])){
  width:100%;
  max-width:520px;
  margin:0;
  padding:48px;
  border:1px solid #e6e7e1;
  border-radius:28px;
  box-shadow:0 16px 48px -24px #25272426,0 2px 8px #25272403;
  text-align:center;
}
#customer-access:has(#customer-login-missing:not([hidden])) h1{
  margin:0 0 18px;
  font-size:34px;
  line-height:1.18;
  letter-spacing:-1.2px;
  font-weight:700;
  text-wrap:balance;
}
#customer-login-missing{
  max-width:352px;
  margin:0 auto;
  text-align:center;
}
#customer-login-missing p{
  max-width:300px;
  margin:0 auto 30px;
  color:#686d64;
  font-size:16px;
  line-height:1.6;
  text-wrap:balance;
}
#customer-login-missing .button{
  width:100%;
  min-height:54px;
  padding:15px 20px;
  border-radius:12px;
  font-size:15px;
  font-weight:650;
}
#customer-login-missing .team-access-entry{
  margin-top:28px;
  padding-top:28px;
  border-top:1px solid #eceee8;
}
#customer-login-missing .team-access-button{
  background:#f7f8f5;
  color:var(--ink);
  border:1px solid #e2e5dc;
}
#customer-login-missing .team-access-button:hover{
  background:#eef0e9;
  border-color:#cbd1c4;
}
@media(max-width:600px),(max-height:700px){
  body[data-customer-app]:not(.customer-has-project):has(#customer-login-missing:not([hidden])) > #main{
    padding:24px 20px 64px;
  }
  #customer-access.access-card:has(#customer-login-missing:not([hidden])){
    padding:36px 28px;
    border-radius:24px;
  }
}
@media(max-width:400px){
  body[data-customer-app]:not(.customer-has-project):has(#customer-login-missing:not([hidden])) > #main{
    padding-right:16px;
    padding-left:16px;
  }
  #customer-access.access-card:has(#customer-login-missing:not([hidden])){
    padding:32px 24px;
  }
  #customer-access:has(#customer-login-missing:not([hidden])) h1{
    font-size:30px;
    letter-spacing:-1px;
  }
}
