/* ACPHARM Health Products Enquiry — styles carried over from the Order Script form (acpharm-rx-order 1.10.0) */
.acphe{--acphe-green:#00af3f;--acphe-lime:#8fd400;--acphe-brand:#00832f;--acphe-brand-deep:#046a2e;--acphe-brand-tint:#e8f7ec;--acphe-navy:#39275b;--acphe-violet:#7474c1;--acphe-violet-tint:#f1f0f9;--acphe-charcoal:#4c4c4e;--acphe-ink:#26222e;--acphe-muted:var(--acphe-charcoal);--acphe-line:#cfd3d8;--acphe-line-soft:#e6e9ec;--acphe-bg:#f4f7f4;--acphe-surface:#ffffff;--acphe-error:#b42318;--acphe-error-bg:#fdf0ee;--acphe-ok:var(--acphe-brand);--acphe-font:"Avenir Next",Avenir,"Nunito Sans",-apple-system,system-ui,"Segoe UI",Roboto,sans-serif;--acphe-sticky-top:0px;--acphe-radius:14px;--acphe-ease:cubic-bezier(.22,.68,.32,1);font-family:var(--acphe-font);font-size:1.0625rem;line-height:1.5;color:var(--acphe-ink);max-width:38rem;margin:0 auto;-webkit-text-size-adjust:100%;}
.acphe *,.acphe *::before,.acphe *::after{box-sizing:border-box;}
.acphe [hidden]{display:none !important;}
.acphe p{margin:0 0 .75em;padding-bottom:0;}
.acphe a{color:var(--acphe-brand);text-decoration:underline;text-underline-offset:2px;}
.acphe :focus-visible{outline:3px solid var(--acphe-brand);outline-offset:2px;}
.acphe-sr{position:absolute !important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;margin:-1px;}
.acphe-head{position:sticky;top:var(--acphe-sticky-top);z-index:5;background:var(--acphe-surface);padding:.5rem 0 .625rem;border-bottom:1px solid var(--acphe-line-soft);}
.acphe-head.is-stuck{box-shadow:0 6px 18px -12px rgba(38,34,46,.5);}
.acphe-brandbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 1rem .5rem;}
.acphe-logo{height:38px;width:auto;mix-blend-mode:multiply;}
.acphe-logo-text{font-weight:700;font-size:1.25rem;color:var(--acphe-green);}
.acphe-brandbar__tag{margin:0 !important;text-align:right;font-size:.8125rem;line-height:1.15;color:var(--acphe-navy);letter-spacing:.01em;}
.acphe-brandbar__tag em{font-style:normal;font-weight:700;display:block;line-height:1.1;}
.acphe-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;list-style:none !important;margin:0 !important;padding:0 1rem !important;counter-reset:step;}
.acphe-progress li{counter-increment:step;margin:0;padding:0;list-style:none;font-size:.8125rem;line-height:1.2;color:var(--acphe-muted);}
.acphe-progress li::before{content:"";display:block;height:5px;border-radius:3px;background:var(--acphe-line-soft);margin-bottom:6px;background-image:linear-gradient(90deg,var(--acphe-green),var(--acphe-lime));background-repeat:no-repeat;background-size:0% 100%;transition:background-size .45s var(--acphe-ease);}
.acphe-progress li span::before{content:counter(step) " ";font-weight:700;}
.acphe-progress li.is-done::before,.acphe-progress li.is-current::before{background-size:100% 100%;}
.acphe-progress li.is-current{color:var(--acphe-navy);font-weight:700;}
.acphe-form{padding:0 1rem;}
.acphe-step{display:none;padding:1.5rem 0 1rem;}
.acphe-step.is-active{display:block;}
.acphe-title{font-family:var(--acphe-font);font-size:1.75rem;line-height:1.2;font-weight:700;letter-spacing:-.015em;color:var(--acphe-navy);margin:0 0 .5rem;padding:0;}
.acphe-title:focus{outline:none;}
.acphe-lede{color:var(--acphe-muted);margin-bottom:1.25rem !important;}
.acphe-group{border:0;padding:0;margin:0 0 1.5rem;min-width:0;}
.acphe-group legend{font-size:1.125rem;font-weight:700;line-height:1.3;padding:0;margin-bottom:.75rem;color:var(--acphe-navy);}
.acphe-row{display:grid;gap:0 .75rem;}
@media (min-width:30em){.acphe-row{grid-template-columns:1fr 1fr;}}
.acphe-field{position:relative;margin-bottom:1rem;}
.acphe-field label,.acphe-upload__label{display:block;font-weight:700;font-size:1rem;margin-bottom:.375rem !important;}
.acphe-opt{font-weight:400;color:var(--acphe-muted);font-size:.9375rem;}
.acphe input[type="text"],.acphe input[type="email"],.acphe input[type="tel"],.acphe input[type="url"],.acphe input[type="date"],.acphe select,.acphe textarea{display:block;width:100%;min-height:52px;margin:0;padding:.75rem .875rem;font:inherit;font-size:1.0625rem;color:var(--acphe-ink);background:var(--acphe-surface);border:1.5px solid var(--acphe-line);border-radius:8px;box-shadow:none;-webkit-appearance:none;appearance:none;}
.acphe textarea{min-height:96px;resize:vertical;}
.acphe select{padding-right:2.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2339275b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .9rem center;}
.acphe input:focus,.acphe select:focus,.acphe textarea:focus{border-color:var(--acphe-brand);outline:3px solid rgba(0,175,63,.22);outline-offset:0;}
.acphe ::placeholder{color:#87938f;opacity:1;}
.acphe-hint{font-size:.9375rem;color:var(--acphe-muted);margin:.375rem 0 0 !important;}
.acphe-hint--lead{margin:-.25rem 0 .875rem !important;}
.acphe :is(input,select,textarea).is-invalid,.acphe :is(input,select,textarea).is-invalid:focus{border-color:var(--acphe-error);}
.acphe-field-error{display:flex;gap:.375rem;color:var(--acphe-error);font-size:.9375rem;font-weight:700;margin:.375rem 0 0 !important;}
.acphe-field-error::before{content:"!";flex:none;display:inline-grid;place-items:center;width:1.25rem;height:1.25rem;border-radius:50%;background:var(--acphe-error);color:#fff;font-size:.75rem;margin-top:.1rem;}
.acphe-errors{background:var(--acphe-error-bg);border-left:4px solid var(--acphe-error);border-radius:0 8px 8px 0;padding:.75rem 1rem;margin-bottom:1.25rem;color:var(--acphe-ink);}
.acphe-errors p{margin:0 0 .25rem;font-weight:700;}
.acphe-errors ul{margin:0;padding-left:1.1rem;}
.acphe-errors a{color:var(--acphe-error);}
.acphe-tiles{display:grid;gap:.625rem;}
@media (min-width:30em){.acphe-tiles--pair{grid-template-columns:1fr 1fr;}}
.acphe-tile{position:relative;display:flex;align-items:center;gap:.875rem;min-height:60px;padding:.875rem 1rem;background:var(--acphe-surface);border:1.5px solid var(--acphe-line);border-radius:10px;cursor:pointer;margin:0;font-weight:400;-webkit-tap-highlight-color:transparent;transition:border-color .15s,background-color .15s;}
.acphe-tile input{flex:none;width:22px;height:22px;margin:0;-webkit-appearance:none;appearance:none;border:2px solid var(--acphe-muted);border-radius:50%;background:#fff;display:grid;place-items:center;}
.acphe-tile input::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--acphe-green);transform:scale(0);transition:transform .22s var(--acphe-ease);}
.acphe-tile input:checked{border-color:var(--acphe-green);}
.acphe-tile input:checked::after{transform:scale(1);}
.acphe-tile input:focus-visible{outline:3px solid var(--acphe-brand);outline-offset:2px;}
.acphe-tile.is-checked{border-color:var(--acphe-green);background:var(--acphe-brand-tint);box-shadow:inset 0 0 0 1px var(--acphe-green);}
.acphe-tile:active{transform:scale(.99);}
.acphe-tile.is-invalid{border-color:var(--acphe-error);}
.acphe-tile__body{display:flex;flex-direction:column;flex:1;min-width:0;}
.acphe-tile__title{font-weight:700;line-height:1.3;}
.acphe-tile__sub{font-size:.9375rem;color:var(--acphe-muted);line-height:1.35;margin-top:.125rem;}
.acphe-privacy-notice{font-size:.9375rem;color:var(--acphe-muted);line-height:1.5;background:var(--acphe-bg);border:1px solid var(--acphe-line-soft);border-radius:10px;padding:.875rem 1rem;margin:0 0 1rem;}
.acphe-privacy-notice :is(p,li,span,div,strong,em,b,i,a,h1,h2,h3,h4,h5,h6){font-size:inherit !important;}
.acphe-privacy-notice h3{font-weight:700;color:var(--acphe-navy);margin:0 0 .5rem;padding:0;}
.acphe-privacy-notice p:first-child{margin-top:0;}
.acphe-privacy-notice p:last-child{margin-bottom:0;}
.acphe-privacy-notice a{color:var(--acphe-navy);font-weight:700;}
.acphe-check{display:flex;gap:.75rem;align-items:flex-start;margin:0 0 1rem;cursor:pointer;font-weight:400;}
.acphe-check input{flex:none;width:24px;height:24px;margin:0;accent-color:var(--acphe-brand);}
.acphe-check--required{padding:.875rem 1rem;border:1.5px solid var(--acphe-line);border-radius:10px;background:var(--acphe-surface);}
.acphe-check.is-invalid{border-color:var(--acphe-error);}
.acphe-btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:52px;padding:.75rem 1.25rem;font:inherit;font-weight:700;font-size:1.0625rem;line-height:1.2;border-radius:10px;border:1.5px solid transparent;cursor:pointer;text-decoration:none !important;-webkit-tap-highlight-color:transparent;transition:background-color .15s,border-color .15s;}
.acphe-btn:active{transform:translateY(1px);}
.acphe-btn--primary,.acphe a.acphe-btn--primary{background:var(--acphe-brand);color:#fff !important;}
.acphe-btn--primary:hover{background:var(--acphe-brand-deep);}
.acphe-btn--primary::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:0 0 10px 10px;background:linear-gradient(90deg,var(--acphe-green),var(--acphe-lime));}
.acphe-btn--ghost{background:var(--acphe-surface);color:var(--acphe-brand);border-color:var(--acphe-line);}
.acphe-btn--ghost:hover{border-color:var(--acphe-green);}
.acphe-btn[disabled],.acphe-btn[aria-busy="true"]{opacity:.65;cursor:progress;}
.acphe-btn--upload{position:relative;flex:1;background:var(--acphe-surface);color:var(--acphe-brand);border:1.5px dashed var(--acphe-brand);margin:0;}
.acphe-btn--upload:focus-within{outline:3px solid var(--acphe-green);outline-offset:2px;}
.acphe-btn--upload:hover{background:var(--acphe-brand-tint);}
.acphe-link{background:none;border:0;padding:.5rem;margin:-.5rem;min-height:44px;font:inherit;font-size:.9375rem;font-weight:700;color:var(--acphe-muted);text-decoration:underline;cursor:pointer;}
.acphe-link:hover{color:var(--acphe-error);}
.acphe-add{width:100%;margin-top:.25rem;margin-bottom:1.5rem;}
.acphe-bar{position:sticky;bottom:0;z-index:4;display:flex;gap:.625rem;margin:0 -1rem;padding:.75rem 1rem calc(.75rem + env(safe-area-inset-bottom,0px));background:var(--acphe-surface);border-top:1px solid var(--acphe-line-soft);}
.acphe-bar #acphe-next{flex:1;}
.acphe-scripts{display:grid;gap:1rem;margin-bottom:1rem;}
.acphe-script{background:linear-gradient(90deg,var(--acphe-green),var(--acphe-lime)) no-repeat top left / 100% 4px,var(--acphe-surface);overflow:hidden;border:1.5px solid var(--acphe-line);border-radius:14px;padding:0 1rem .25rem;}
.acphe-script__head{display:flex;align-items:center;justify-content:space-between;margin:0 -1rem 1.25rem;padding:.875rem 1rem;border-bottom:2px dashed var(--acphe-line);}
.acphe-script__title{margin:0;padding:0;font-family:var(--acphe-font);font-size:1.25rem;font-weight:700;color:var(--acphe-navy);}
.acphe-upload{margin-bottom:1.25rem;}
.acphe-upload__actions{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;}
.acphe-upload__actions .acphe-btn--upload{padding:.75rem .5rem;white-space:nowrap;font-size:1rem;}
.acphe-files{list-style:none !important;margin:.75rem 0 0 !important;padding:0 !important;display:grid;gap:.5rem;}
.acphe-files:empty{display:none;}
.acphe-file{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:.75rem;padding:.5rem;border:1px solid var(--acphe-line-soft);border-radius:10px;background:var(--acphe-bg);margin:0;list-style:none;}
.acphe-file__thumb{width:48px;height:48px;border-radius:6px;object-fit:cover;background:var(--acphe-line-soft);display:grid;place-items:center;font-size:.75rem;font-weight:700;color:var(--acphe-muted);}
.acphe-file__meta{min-width:0;}
.acphe-file__name{display:block;font-size:.9375rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.acphe-file__status{display:block;font-size:.875rem;color:var(--acphe-muted);}
.acphe-file.is-error .acphe-file__status{color:var(--acphe-error);font-weight:700;}
.acphe-file.is-done .acphe-file__status{color:var(--acphe-ok);}
.acphe-file__x{width:44px;height:44px;border:0;background:none;border-radius:8px;cursor:pointer;color:var(--acphe-muted);font-size:1.5rem;line-height:1;}
.acphe-file__x:hover{color:var(--acphe-error);background:var(--acphe-error-bg);}
.acphe-file__x:active{transform:scale(.92);}
.acphe-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 0 !important;}
.acphe-chip{min-height:38px;padding:.35rem .75rem;font:inherit;font-size:.875rem;font-weight:700;color:var(--acphe-brand);background:var(--acphe-brand-tint);border:1.5px solid transparent;border-radius:999px;cursor:pointer;}
.acphe-chip:hover{border-color:var(--acphe-green);}
.acphe-chip:active{transform:scale(.98);}
.acphe-notice{display:flex;gap:.75rem;align-items:flex-start;padding:.875rem 1rem;margin-bottom:1.25rem;background:var(--acphe-violet-tint);border-left:4px solid var(--acphe-violet);border-radius:0 10px 10px 0;color:var(--acphe-ink);}
.acphe-notice svg{flex:none;color:var(--acphe-navy);margin-top:.1rem;}
.acphe-notice p{margin:0 !important;}
.acphe-notice__title{font-weight:700;color:var(--acphe-navy);margin-bottom:.125rem !important;}
.acphe-banner{margin:1rem;padding:.875rem 1rem;background:var(--acphe-error-bg);border-left:4px solid var(--acphe-error);border-radius:0 8px 8px 0;font-weight:700;}
.acphe-review:empty{display:none;}
.acphe-review{background:var(--acphe-surface);border:1.5px solid var(--acphe-line);border-radius:14px;margin-bottom:1.25rem;overflow:hidden;}
.acphe-review h3{margin:0;padding:.875rem 1rem;color:var(--acphe-navy);font-family:var(--acphe-font);font-size:1.125rem;font-weight:700;border-bottom:2px dashed var(--acphe-line);}
.acphe-review dl{margin:0;padding:.25rem 1rem;}
.acphe-review dl>div{display:grid;grid-template-columns:7.5rem 1fr;gap:.75rem;padding:.625rem 0;border-bottom:1px solid var(--acphe-line-soft);}
.acphe-review dl>div:last-child{border-bottom:0;}
.acphe-review dt{color:var(--acphe-muted);font-size:.9375rem;}
.acphe-review dd{margin:0;font-weight:700;overflow-wrap:anywhere;}
.acphe-review dd small{display:block;font-weight:400;color:var(--acphe-muted);font-size:.875rem;}
.acphe-review__edit{background:none;border:0;padding:0;margin-top:.125rem;font:inherit;font-size:.875rem;font-weight:700;color:var(--acphe-brand);text-decoration:underline;cursor:pointer;}
.acphe-turnstile{margin:0 0 1rem;min-height:0;}
.acphe-hp{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden;}
.acphe-done{padding:2.5rem 1rem 2rem;}
.acphe-done:focus{outline:none;}
.acphe-done__mark{color:var(--acphe-green);margin-bottom:.5rem;}
.acphe-done__wave{display:block;width:190px;max-width:60%;height:auto;margin:.25rem 0 1.25rem;}
.acphe-ref{font-size:1.125rem;}
.acphe-ref strong{font-size:1.375rem;letter-spacing:.04em;font-variant-numeric:tabular-nums;}
.acphe[data-state="loading"] #acphe-next{opacity:.65;pointer-events:none;}
@media (min-width:48em){.acphe-form{padding:0 1.5rem;}.acphe-bar{position:static;margin:0;padding:1rem 0 0;border-top:0;}.acphe-bar #acphe-next{flex:0 1 16rem;margin-left:auto;}}

/* Motion (same as Order Script) */
.acphe-step.is-active{animation:acphe-step-in .34s var(--acphe-ease) both;}
.acphe[data-dir="back"] .acphe-step.is-active{animation-name:acphe-step-in-back;}
@keyframes acphe-step-in{from{opacity:0;transform:translate3d(22px,0,0);}to{opacity:1;transform:none;}}
@keyframes acphe-step-in-back{from{opacity:0;transform:translate3d(-22px,0,0);}to{opacity:1;transform:none;}}
.acphe-step.is-active>*{animation:acphe-rise .42s var(--acphe-ease) both;}
.acphe-step.is-active>*:nth-child(1){animation-delay:.04s;}
.acphe-step.is-active>*:nth-child(2){animation-delay:.09s;}
.acphe-step.is-active>*:nth-child(3){animation-delay:.14s;}
.acphe-step.is-active>*:nth-child(4){animation-delay:.19s;}
.acphe-step.is-active>*:nth-child(5){animation-delay:.24s;}
.acphe-step.is-active>*:nth-child(6){animation-delay:.29s;}
.acphe-step.is-active>*:nth-child(n+7){animation-delay:.33s;}
.acphe-step.is-active .acphe-group>.acphe-field,.acphe-step.is-active .acphe-tiles>*{animation:acphe-rise .4s var(--acphe-ease) both;}
.acphe-step.is-active .acphe-group>.acphe-field:nth-child(2),.acphe-step.is-active .acphe-tiles>*:nth-child(2){animation-delay:.05s;}
.acphe-step.is-active .acphe-group>.acphe-field:nth-child(3),.acphe-step.is-active .acphe-tiles>*:nth-child(3){animation-delay:.1s;}
.acphe-step.is-active .acphe-group>.acphe-field:nth-child(4),.acphe-step.is-active .acphe-tiles>*:nth-child(4){animation-delay:.15s;}
.acphe-step.is-active .acphe-group>.acphe-field:nth-child(n+5),.acphe-step.is-active .acphe-tiles>*:nth-child(n+5){animation-delay:.2s;}
@keyframes acphe-rise{from{opacity:0;transform:translate3d(0,10px,0);}to{opacity:1;transform:none;}}
.acphe-reveal{overflow:hidden;max-height:0;opacity:0;transform:translate3d(0,-4px,0);transition:max-height .36s var(--acphe-ease),opacity .24s linear,transform .3s var(--acphe-ease),margin .3s var(--acphe-ease);}
.acphe-reveal.is-open{max-height:160rem;opacity:1;transform:none;}
.acphe-reveal:not(.is-open){margin-bottom:0 !important;visibility:hidden;}
.acphe-script{animation:acphe-card-in .4s var(--acphe-ease) both;}
.acphe-script.is-going{animation:acphe-card-out .28s var(--acphe-ease) both;pointer-events:none;}
@keyframes acphe-card-in{from{opacity:0;transform:translate3d(0,16px,0) scale(.99);}to{opacity:1;transform:none;}}
@keyframes acphe-card-out{to{opacity:0;transform:translate3d(0,-8px,0) scale(.98);max-height:0;margin-top:-1rem;}}
.acphe-file{animation:acphe-rise .3s var(--acphe-ease) both;}
.acphe-file.is-done .acphe-file__thumb{animation:acphe-pop .3s var(--acphe-ease);}
@keyframes acphe-pop{0%{transform:scale(1);}45%{transform:scale(1.06);}100%{transform:scale(1);}}
.acphe-done__mark circle{stroke-dasharray:140;stroke-dashoffset:140;animation:acphe-draw .6s var(--acphe-ease) .05s forwards;}
.acphe-done__mark path{stroke-dasharray:40;stroke-dashoffset:40;animation:acphe-draw .35s var(--acphe-ease) .5s forwards;}
@keyframes acphe-draw{to{stroke-dashoffset:0;}}
.acphe-btn[aria-busy="true"] .acphe-btn__label{opacity:.9;}
.acphe-btn[aria-busy="true"]::before{content:"";width:18px;height:18px;margin-right:.5rem;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:acphe-spin .7s linear infinite;}
@keyframes acphe-spin{to{transform:rotate(360deg);}}
@media (prefers-reduced-motion:reduce){.acphe *,.acphe *::before,.acphe *::after{animation:none !important;transition:none !important;}.acphe-reveal{max-height:none;opacity:1;transform:none;}.acphe-reveal:not(.is-open){display:none;}}
.acphe-paused-note{margin:8px 0 12px;padding:12px 14px;border-left:4px solid #c58a00;background:#fff8e6;color:#3d2e00;border-radius:6px;font-weight:600;line-height:1.45;}

/* Returning customer panel (new for this form) */
.acphe-account{display:flex;gap:1rem;align-items:flex-start;padding:1.25rem;margin:0 0 1.75rem;border:1.5px solid var(--acphe-line);border-radius:var(--acphe-radius);background:linear-gradient(90deg,var(--acphe-green),var(--acphe-lime)) no-repeat top left / 100% 4px,var(--acphe-brand-tint);}
.acphe-account__icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;color:var(--acphe-brand);}
.acphe-account__body{flex:1;min-width:0;}
.acphe-account__title{font-family:var(--acphe-font);font-size:1.375rem;line-height:1.25;font-weight:700;color:var(--acphe-navy);margin:0 0 .375rem;padding:0;}
.acphe-account__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;margin-top:.75rem;}
.acphe-account__link{font-weight:700;font-size:.9375rem;}
.acphe-account .acphe-btn{margin-top:.25rem;}
.acphe-account .acphe-hint{margin-top:.75rem !important;}
@media (max-width:29.99em){.acphe-account{flex-direction:column;}.acphe-account .acphe-btn{width:100%;}}
.acphe-divider{display:flex;align-items:center;gap:.875rem;margin:0 0 1rem;color:var(--acphe-navy);font-weight:700;font-size:1.0625rem;}
.acphe-divider::before,.acphe-divider::after{content:"";flex:1;height:2px;background:var(--acphe-line-soft);}
