/* PV Hair Studio CRM: Client portal. Scope everything to avoid NOVO theme conflicts. */
.pvhs-portal{--pvhs-ink:#302827;--pvhs-muted:#746c67;--pvhs-accent:#93716a;--pvhs-accent-dark:#6f514a;--pvhs-border:#c6b6ad;--pvhs-bg:#faf7f5;color:var(--pvhs-ink);max-width:900px;margin:0 auto 44px;font-family:inherit}
.pvhs-portal *, .pvhs-portal *::before,.pvhs-portal *::after{box-sizing:border-box}
.pvhs-portal .pvhs-portal-heading{margin:0 0 28px}
.pvhs-portal .pvhs-eyebrow{display:block;color:var(--pvhs-accent);font-size:12px;font-weight:700;letter-spacing:.13em;line-height:1.4;margin:0 0 9px}
.pvhs-portal h2{margin:0 0 10px;font-size:clamp(26px,4vw,36px);line-height:1.2;color:var(--pvhs-ink)}
.pvhs-portal h3{margin:32px 0 18px;color:var(--pvhs-ink);font-size:clamp(21px,3vw,27px);line-height:1.3}
.pvhs-portal p{line-height:1.65}
.pvhs-portal .pvhs-readonly{background:var(--pvhs-bg);border:1px solid #e7ddd7;border-radius:10px;padding:12px 16px;overflow-wrap:anywhere}
.pvhs-portal .pvhs-readonly small{display:block;color:var(--pvhs-muted);font-size:13px;margin-top:3px}
.pvhs-portal .pvhs-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 22px;margin:24px 0}
.pvhs-portal .pvhs-field{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;font-size:14px;font-weight:500;line-height:1.5;color:var(--pvhs-ink)}
.pvhs-portal .pvhs-label{display:block;font-size:14px;font-weight:650;line-height:1.4;color:var(--pvhs-ink)}
.pvhs-portal .pvhs-field select,.pvhs-portal .pvhs-field input[type="text"],.pvhs-portal .pvhs-field input[type="email"],.pvhs-portal .pvhs-field input[type="tel"]{appearance:auto;-webkit-appearance:auto;display:block;width:100%;max-width:none!important;min-width:0;min-height:48px;height:48px!important;margin:0!important;padding:10px 14px!important;border:1.5px solid var(--pvhs-border)!important;border-radius:9px!important;box-shadow:none!important;background:#fff!important;color:#282321!important;font-size:15px!important;font-weight:400!important;line-height:1.35!important;opacity:1!important;letter-spacing:normal!important;text-transform:none!important}
.pvhs-portal .pvhs-field select{padding-right:25px!important}
.pvhs-portal .pvhs-field select:focus,.pvhs-portal .pvhs-field input:focus{outline:2px solid rgba(147,113,106,.35)!important;outline-offset:2px;border-color:var(--pvhs-accent-dark)!important}
.pvhs-portal .pvhs-login{display:flex;align-items:end;gap:12px;flex-wrap:wrap;max-width:650px;margin:24px 0}
.pvhs-portal .pvhs-login .pvhs-field{flex:1 1 250px}
.pvhs-portal .pvhs-button,.pvhs-portal button.pvhs-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:160px;padding:12px 24px!important;border-radius:9px!important;border:1px solid var(--pvhs-accent-dark)!important;background:var(--pvhs-accent-dark)!important;color:#fff!important;font-size:15px!important;font-weight:600!important;line-height:1.3!important;font-family:inherit!important;cursor:pointer!important;transition:background .2s ease}
.pvhs-portal .pvhs-button:hover,.pvhs-portal button.pvhs-button:hover{background:#503832!important;border-color:#503832!important;color:#fff!important}
.pvhs-portal .pvhs-button:focus-visible{outline:3px solid rgba(147,113,106,.35);outline-offset:3px}
.pvhs-portal .pvhs-optin{display:flex;gap:10px;align-items:center;border:1px solid #e2d6cf;border-radius:10px;padding:13px 15px;margin:4px 0 18px;font-size:14px;line-height:1.5;background:var(--pvhs-bg);cursor:pointer}
.pvhs-portal .pvhs-optin input{flex:none;width:18px;height:18px;margin:0;accent-color:var(--pvhs-accent-dark)}
.pvhs-portal .pvhs-notice{padding:12px 16px;border-left:3px solid var(--pvhs-accent-dark);background:var(--pvhs-bg);border-radius:6px}
.pvhs-portal .pvhs-history-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.pvhs-portal .pvhs-history-table{width:100%;min-width:520px;border-collapse:collapse;font-size:14px}
.pvhs-portal .pvhs-history-table th,.pvhs-portal .pvhs-history-table td{border:1px solid #ded6d1;padding:12px;text-align:left;white-space:normal;vertical-align:top}
.pvhs-portal .pvhs-history-table th{background:var(--pvhs-bg);color:var(--pvhs-ink);font-weight:700}
.pvhs-portal .pvhs-cta{display:inline-flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid var(--pvhs-accent-dark);border-radius:9px;color:var(--pvhs-accent-dark);font-weight:650;text-decoration:none}
@media (max-width:650px){.pvhs-portal .pvhs-profile-grid{grid-template-columns:1fr;gap:15px}.pvhs-portal .pvhs-login{display:block}.pvhs-portal .pvhs-login .pvhs-field{margin-bottom:14px}.pvhs-portal .pvhs-button{width:100%}}

/* Contact profile and verification controls use the same clear field design. */
.pvhs-otp-box{border:1px solid #d7c9c6;border-radius:14px;padding:18px;margin:22px 0;background:#fffafa}
.pvhs-otp-box h3{margin:0 0 12px}
.pvhs-otp-box .pvhs-login{margin:10px 0 18px}
.pvhs-portal .pvhs-otp-box input{min-height:46px;border:1.5px solid #b6b4b5;border-radius:8px;padding:10px 14px;background:#fff;max-width:100%;box-sizing:border-box}
.pvhs-portal .pvhs-otp-box input:focus{border-color:#986d75;outline:2px solid #e5cdd2;outline-offset:2px}

/* v0.2.7: Single-number two-step SMS login. */
.pvhs-portal .pvhs-otp-box .pvhs-sms-code-form .pvhs-field{flex:1 1 230px;max-width:420px}
.pvhs-portal .pvhs-otp-box .pvhs-sms-switch{font-size:14px;margin:0 0 6px}
.pvhs-portal .pvhs-otp-box .pvhs-sms-switch a{color:var(--pvhs-accent-dark);text-decoration:underline;text-underline-offset:3px}

/* Optional hair characteristics stay collapsed so the client card stays simple. */
.pvhs-portal .pvhs-optional-profile{margin:10px 0 18px;border:1px solid #ded4cd;border-radius:10px;background:#fbf9f8;padding:15px 17px}
.pvhs-portal .pvhs-optional-profile summary{cursor:pointer;font-weight:600;color:var(--pvhs-ink);font-size:15px;line-height:1.4}
.pvhs-portal .pvhs-optional-profile[open] summary{margin-bottom:13px}
.pvhs-portal .pvhs-optional-profile .pvhs-profile-grid{margin:12px 0 2px}
