/* Optional customer account surfaces. Existing storefront and payment styles stay untouched. */
/* Clerk's intrinsic profile width must not expand the account card on phones.
   Keep any provider-only overflow scrollable rather than clipping controls. */
#customerIdentityMount{width:100%;max-width:100%;min-width:0;overflow-x:auto}
#customerIdentityMount .cl-rootBox,#customerIdentityMount .cl-cardBox,#customerIdentityMount .cl-card,#customerIdentityMount .cl-scrollBox{max-width:100%;min-width:0}
#customerIdentityMount .cl-rootBox,#customerIdentityMount .cl-cardBox{width:100%}
.customer-page{margin:0;background:#f3f5f4;color:#142632;font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.customer-page *{box-sizing:border-box}.customer-page [hidden],.customer-account-entry[hidden],.customer-checkout-panel[hidden],.customer-checkout-panel [hidden]{display:none!important}.customer-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px max(24px,calc((100vw - 1200px)/2));border-bottom:1px solid #d7e0e3;background:#fff}.customer-brand{display:flex;align-items:center;gap:12px;color:#142632;text-decoration:none;font-size:15px;font-weight:800;letter-spacing:.07em}.customer-brand img{object-fit:contain}.customer-brand small{display:block;font-weight:400;letter-spacing:0;color:#56656f}.customer-link,.customer-page a{color:#175c58}.customer-link{font-weight:600}.customer-workspace{max-width:1200px;margin:auto;padding:42px 24px 70px}.customer-heading{margin-bottom:24px}.customer-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;color:#526c76}.customer-page h1{font-size:clamp(32px,5vw,48px);letter-spacing:-.04em;line-height:1.1;margin:12px 0}.customer-page h2{font-size:23px;letter-spacing:-.025em;margin:0 0 12px}.customer-page h3{font-size:18px;margin:0 0 10px}.customer-page p{margin:10px 0 18px}.customer-card{background:#fff;border:1px solid #d7e0e3;border-radius:14px;padding:28px;margin-top:24px}.customer-notice{padding:15px 18px;background:#e9f1ef;border-left:4px solid #176b60;border-radius:4px}.customer-notice:empty{display:none}.customer-muted{color:#586770;font-size:14px}.customer-tabs,.customer-actions,.customer-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.customer-tabs{justify-content:flex-start;gap:24px;border-bottom:1px solid #d7e0e3;padding:12px 0}.customer-tabs a{font-weight:650;text-underline-offset:5px}.customer-columns{display:grid;grid-template-columns:1fr 1.25fr;gap:24px;align-items:start}.customer-page label{display:block;font-size:14px;font-weight:600;margin:15px 0}.customer-page input,.customer-page select,.customer-page textarea{display:block;width:100%;font:inherit;color:#142632;background:#fff;border:1px solid #afc0c7;border-radius:6px;padding:11px 12px;min-height:44px;margin-top:6px}.customer-page textarea{resize:vertical}.customer-page input[type=hidden]{display:none}.customer-page fieldset{padding:0;border:0;margin:0;min-width:0}.customer-page legend{font-weight:700;margin:20px 0 0}.customer-page fieldset:disabled{opacity:.65}.customer-button,.customer-secondary{font:inherit;font-size:14px;font-weight:650;cursor:pointer;text-align:center;border-radius:6px;min-height:44px;padding:11px 16px;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:8px}.customer-button,.customer-page a.customer-button{background:#142632;color:#fff;border:1px solid #142632}.customer-secondary{background:#fff;color:#142632;border:1px solid #afc0c7}.customer-button:disabled,.customer-secondary:disabled{cursor:not-allowed;opacity:.6}.customer-page :focus-visible,.customer-account-entry:focus-visible,.customer-checkout-panel :focus-visible{outline:3px solid #317a73;outline-offset:3px}.customer-field-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.customer-page .customer-check,.customer-checkout-panel .customer-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;font-weight:400}.customer-check input[type=checkbox],.customer-page .customer-check input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;min-height:20px;margin:3px 0 0}.customer-order,.customer-address,.customer-audit,.customer-admin-row{padding:17px 0;border-bottom:1px solid #e0e7e9;overflow-wrap:anywhere}.customer-order:last-child,.customer-address:last-child,.customer-audit:last-child,.customer-admin-row:last-child{border-bottom:0}.customer-order-head,.customer-address-head,.customer-admin-row{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}.customer-order p,.customer-address p,.customer-audit p,.customer-admin-row p{margin:6px 0}.customer-badge{font-size:12px;background:#e9f1ef;border:1px solid #d2e3dc;color:#244f46;border-radius:20px;padding:3px 10px}.customer-empty{padding:18px 0;color:#586770}.customer-subsection{border-top:1px solid #d7e0e3;padding-top:24px;margin-top:28px}.customer-search{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}.customer-search label{flex:1;min-width:200px;margin:0}.customer-footer{max-width:1200px;margin:auto;padding:0 24px 30px;color:#586770;font-size:13px}.customer-skip{position:absolute;top:-100px;left:16px;padding:12px;background:#fff;z-index:100}.customer-skip:focus{top:12px}.customer-account-entry{display:block;margin:0 0 18px;padding:14px 16px;border:1px solid #c8d7da;border-radius:7px;color:#142632;background:#fff;text-decoration:none;font-weight:650}.customer-checkout-panel{border:1px solid #d7e0e3;background:#f3f7f5;border-radius:7px;padding:16px;margin:16px 0}.customer-checkout-panel p{margin:4px 0 12px}.customer-checkout-panel .customer-actions{justify-content:flex-start}.customer-checkout-panel label{font-size:14px}.customer-checkout-panel input[type=checkbox]{width:20px}.customer-checkout-panel .customer-muted{font-size:13px}.customer-checkout-panel [role=status]{font-size:13px;margin:10px 0 0}@media(max-width:760px){.customer-header{padding:16px;align-items:flex-start}.customer-brand span{font-size:12px}.customer-brand img{width:48px;height:48px}.customer-header .customer-link{font-size:13px}.customer-workspace{padding:28px 16px 50px}.customer-columns{grid-template-columns:1fr;gap:0}.customer-card{padding:20px}.customer-field-pair{grid-template-columns:1fr;gap:0}.customer-search>button{flex:1}.customer-section-title{align-items:flex-start}.customer-tabs{gap:18px}.customer-footer{padding:0 16px 24px}}@media(prefers-reduced-motion:reduce){.customer-page *{scroll-behavior:auto!important}}

.customer-claim{border:1px solid #d7e0e3;border-radius:7px;padding:14px 16px;margin:20px 0}.customer-claim summary{cursor:pointer;font-weight:650}.customer-claim[open] summary{margin-bottom:14px}

/* Keep the compact checkout identity and address controls within small dialogs. */
.customer-checkout-panel{min-width:0;overflow-wrap:anywhere}.customer-checkout-panel .customer-actions>strong{min-width:0;flex:1 1 180px}.customer-checkout-panel label{min-width:0}.customer-checkout-panel select{min-width:0;max-width:100%}

/* Optional secure setup stays inside checkout and never covers the guest action. */
.customer-checkout-auth{border-top:1px solid #d7e0e3;margin-top:16px;padding-top:16px;min-width:0}.customer-checkout-auth>div[data-customer-provider-mount]{max-width:100%;overflow-x:auto;margin-top:12px}.customer-checkout-panel button[aria-pressed=true]{border-color:#175c58;background:#e4f0eb}.customer-checkout-panel .customer-actions>button{white-space:normal}.customer-checkout-panel button:disabled{cursor:not-allowed;opacity:.6}
