/* Professional enquiry layout measured against Atache's B2B form in Chrome. */
#derm-id-site .professional-page { --pr-gutter:max(50px,calc((100cqw - 1410px)/2)); color:#111; background:#fff; }
#derm-id-site .professional-page .pr-hero { padding:0 var(--pr-gutter); }
#derm-id-site .professional-page .pr-hero-inner { position:relative; display:grid; place-items:center; width:100%; aspect-ratio:3.5; min-height:400px; overflow:hidden; }
#derm-id-site .professional-page .pr-hero-art { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transform:translateX(-14.2857%); }
#derm-id-site .professional-page .pr-hero-copy { position:relative; width:100%; min-width:0; max-width:900px; padding:32px; text-align:center; }
#derm-id-site .professional-page .pr-hero-eyebrow { display:block; margin:0 0 24px; font-size:16px; line-height:26px; font-weight:500; }
#derm-id-site .professional-page .pr-hero h1 { margin:0; font-size:clamp(48px,calc(30px + 2.34375vw),60px); line-height:1.2; font-weight:500; letter-spacing:-.04em; }
#derm-id-site .professional-page .pr-hero-text { min-height:60px; margin:24px 0 0; font-size:19.2px; line-height:30px; }
#derm-id-site .professional-page .pr-form-section { padding:7px var(--pr-gutter) 24px; scroll-margin-top:100px; }
#derm-id-site .professional-page .pr-form-wrap { width:100%; max-width:450px; margin:0 auto; }
#derm-id-site .professional-page .pr-form-intro { margin:0 0 25px; font-size:14px; line-height:20px; text-align:center; color:#202020; }
#derm-id-site .professional-page .pr-form { display:grid; gap:12px; margin:0; padding:12px 2px 0; }
#derm-id-site .professional-page .pr-honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#derm-id-site .professional-page .pr-field { position:relative; min-width:0; }
#derm-id-site .professional-page .pr-field input,
#derm-id-site .professional-page .pr-field textarea { display:block; width:100%; height:48.6667px; margin:0; padding:22px 15px 7px; border:1px solid #d1d1d1; border-radius:5px; box-shadow:0 0 0 1px rgba(0,0,0,.015); background:#fff; color:#202020; font:400 14px/19px 'DM Sans',sans-serif; }
#derm-id-site .professional-page .pr-field textarea { height:96px; min-height:96px; resize:vertical; padding:25px 15px 15px; }
#derm-id-site .professional-page .pr-field label { position:absolute; top:17.5px; left:15px; right:12px; pointer-events:none; color:rgba(32,32,32,.5); font-size:14px; line-height:14px; font-weight:400; transform-origin:left top; transition:transform .12s,top .12s; }
#derm-id-site .professional-page .pr-message-field label { top:16px; }
#derm-id-site .professional-page .pr-field input:focus + label,
#derm-id-site .professional-page .pr-field input:not(:placeholder-shown) + label,
#derm-id-site .professional-page .pr-field textarea:focus + label,
#derm-id-site .professional-page .pr-field textarea:not(:placeholder-shown) + label { top:8px; transform:scale(.85); }
#derm-id-site .professional-page .pr-field input:focus,
#derm-id-site .professional-page .pr-field textarea:focus,
#derm-id-site .professional-page .pr-phone-code:focus { border-color:#202020; outline:1px solid #202020; outline-offset:0; }
#derm-id-site .professional-page .pr-field [aria-invalid="true"] { border-color:#ad3434; }
#derm-id-site .professional-page .pr-phone-row { display:grid; grid-template-columns:90px minmax(0,1fr); gap:8px; }
#derm-id-site .professional-page .pr-phone-code { display:block; width:100%; min-width:0; height:48.6667px; margin:0; padding:0 10px; border:1px solid #d1d1d1; border-radius:5px; background:#fff; color:#202020; font:400 14px/20px 'DM Sans',sans-serif; }
#derm-id-site .professional-page .pr-consent { display:flex; align-items:flex-start; gap:8px; font-size:12px; line-height:18px; }
#derm-id-site .professional-page .pr-consent input { flex:0 0 16px; width:16px; height:16px; margin:2px 0 0; accent-color:#202020; }
#derm-id-site .professional-page .pr-consent label { min-width:0; }
#derm-id-site .professional-page .pr-consent a,
#derm-id-site .professional-page .pr-local-note a { text-decoration:underline; text-underline-offset:2px; }
#derm-id-site .professional-page .pr-submit { width:100%; min-height:45.4px; padding:15px; border:0; border-radius:5px; background:#202020; color:#fff; font:400 14px/15.4px 'DM Sans',sans-serif; cursor:pointer; }
#derm-id-site .professional-page .pr-submit:hover { background:#444; }
#derm-id-site .professional-page .pr-submit:focus-visible,
#derm-id-site .professional-page a:focus-visible { outline:2px solid #526758; outline-offset:3px; }
#derm-id-site .professional-page .pr-local-note { margin:0; color:#202020; font-size:10px; line-height:14px; text-align:center; }
#derm-id-site .professional-page .pr-field-error { display:block; margin-top:6px; color:#a72a2a; font-size:12px; line-height:18px; }
#derm-id-site .professional-page .pr-error-summary,
#derm-id-site .professional-page .pr-success { margin:0 0 20px; padding:16px; border:1px solid #d3d9d1; border-radius:5px; background:#f5f7f2; font-size:14px; line-height:22px; overflow-wrap:anywhere; }
#derm-id-site .professional-page .pr-error-summary { border-color:#e1bcbc; background:#fff6f6; }
#derm-id-site .professional-page .pr-error-summary h2,
#derm-id-site .professional-page .pr-success h2 { margin:0 0 8px; font-size:18px; line-height:24px; font-weight:500; }
#derm-id-site .professional-page .pr-error-summary ul { margin:0; padding-left:20px; }
#derm-id-site .professional-page .pr-error-summary a { text-decoration:underline; }
#derm-id-site .professional-page .pr-success p { margin:0; }
@media (max-width:1279px) {
  #derm-id-site .professional-page { --pr-gutter:15px; }
  #derm-id-site .professional-page .pr-hero-art { transform:none; }
}
@media (max-width:767px) {
  #derm-id-site .professional-page .pr-hero-inner { aspect-ratio:auto; min-height:400px; }
  #derm-id-site .professional-page .pr-hero-eyebrow { margin-bottom:12px; }
  #derm-id-site .professional-page .pr-hero-text { margin-top:12px; }
}
@media (max-width:359px) {
  #derm-id-site .professional-page .pr-hero-copy { padding:32px 8px; }
}
@media (prefers-reduced-motion:reduce) {
  #derm-id-site .professional-page .pr-field label { transition:none; }
}
