/* Account tasks use the storefront body font and shared header/footer. */
.account-page{min-height:100dvh;display:flex;flex-direction:column}
.account-page [hidden]{display:none!important}
.account-main{width:min(1000px,100%);margin:0 auto;padding:48px 32px 72px;flex:1}
.account-main h1,.account-main h2,.account-main h3{font-family:var(--body);letter-spacing:normal;line-height:1.3}
.account-main h1{font-size:30px;font-weight:600;margin:0 0 10px}
.account-main h2{font-size:20px;font-weight:600;margin:0 0 10px}
.account-main h3{font-size:14px;font-weight:600}
.account-main p{font-size:14px;line-height:1.6}
.account-heading{margin-bottom:28px}
.account-heading p{color:var(--muted);margin:0}
.account-auth{max-width:440px;margin:40px 0 16px}
.account-auth>div:first-child>p{color:var(--muted);margin-bottom:24px;max-width:42ch}
.auth-card form,.profile-form{display:grid;gap:8px}
.auth-card label,.profile-form>label{font-size:14px;font-weight:600}
.auth-card input,.profile-form>input{width:100%;min-height:48px;padding:12px;background:#fff;border:1px solid #a6a69d;border-radius:0;font-size:16px}
.account-main .button{font-size:14px;font-weight:600;letter-spacing:0;justify-content:center;min-height:48px;padding:12px 22px}
.auth-card .button{margin-top:10px;width:100%}
.auth-card .form-error{margin:12px 0 0}
.code-sent-to{color:var(--muted);overflow-wrap:anywhere}
.text-action{font-size:14px;text-decoration:underline;text-underline-offset:4px;min-height:44px;padding:8px 0;justify-self:start}
.account-identity{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 24px}
.account-identity span{display:none}
.account-identity strong{font-size:14px;font-weight:400;overflow-wrap:anywhere;color:var(--muted)}
.account-tabs{display:flex;gap:28px;border-bottom:1px solid var(--line)}
.account-tabs button{position:relative;min-height:48px;padding:12px 2px;font:600 15px var(--body);color:var(--muted)}
.account-tabs button[aria-selected="true"]{color:var(--ink)}
.account-tabs button[aria-selected="true"]:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--ink)}
.account-panel{padding:30px 0 0}
.panel-heading{margin-bottom:24px}
.panel-heading>p{color:var(--muted);margin:0;max-width:55ch}
.profile-layout{display:grid;grid-template-columns:1fr 1.4fr;gap:48px}
.profile-note{align-self:start}
.profile-note span{display:block;font-size:14px;font-weight:600;margin-bottom:8px}
.profile-note strong{font-size:14px;font-weight:400;overflow-wrap:anywhere}
.profile-note p{font-size:13px;color:var(--muted);margin:10px 0 0;max-width:30ch}
.profile-form>label:not(:first-child){margin-top:12px}
.profile-form fieldset{border:0;padding:8px 0;margin:14px 0;display:flex;gap:24px;flex-wrap:wrap}
.profile-form legend{font-size:14px;font-weight:600;margin-bottom:8px}
.profile-form fieldset label{font-size:14px;display:flex;align-items:center;gap:8px;min-height:32px}
.profile-form input[type="radio"]{accent-color:var(--ink)}
.profile-form .button{justify-self:start}
.profile-status{min-height:20px;margin:4px 0 0}
.orders-intro{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:8px;font-size:13px;color:var(--muted)}
.orders-intro strong{font-weight:400}.orders-intro span{font-size:13px}
.order-card{padding:24px 0;border-bottom:1px solid var(--line)}
.order-card:first-of-type{border-top:1px solid var(--line)}
.order-card-head{display:flex;justify-content:space-between;gap:20px;align-items:start}
.order-ref{font-size:15px;font-weight:600;overflow-wrap:anywhere}
.account-main .order-date{font-size:13px;color:var(--muted);margin:6px 0 0}
.status-pill{display:inline-block;padding:6px 10px;background:#e7e5df;font-size:13px;white-space:nowrap}
.status-pill.paid{background:#e2eae0;color:#245132}.status-pill.pending{background:#f0e6ce;color:#5e4513}.status-pill.failed{background:#f1dfdb;color:#802b20}
.order-overview{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:18px 0 8px}
.order-overview p{margin:0}.order-overview>strong{font-size:16px;white-space:nowrap}.order-overview p strong{font-size:14px;font-weight:400}
.order-card details{border:0;padding:0;margin:0}
.order-card summary{cursor:pointer;list-style:none;font-size:14px;font-weight:400;min-height:44px;padding:12px 0;text-decoration:underline;text-underline-offset:4px;display:block}
.order-card summary::-webkit-details-marker{display:none}.order-card summary::marker{content:""}.order-card summary:after{content:none}
.order-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px 40px;padding:16px 0 0}
.detail-block h3{margin:0 0 8px}.detail-block p{margin:8px 0 0;font-size:13px}
.order-item{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.6}
.order-item span:last-child{text-align:right;white-space:nowrap}
.account-main .order-footnote{grid-column:1/-1;font-size:13px;color:var(--muted);margin:0}
.empty-orders{padding:32px 0}.empty-orders strong{font-size:16px;font-weight:600}.empty-orders p{color:var(--muted);margin:10px 0 20px}
@media(max-width:640px){.account-main{padding:32px 22px 48px}.account-main h1{font-size:26px}.account-heading{margin-bottom:20px}.account-auth{margin-top:28px}.account-identity{margin-bottom:16px;align-items:start}.profile-layout,.order-detail-grid{grid-template-columns:1fr;gap:24px}.profile-note p{max-width:none}.account-panel{padding-top:24px}.order-footnote{grid-column:auto}.order-card-head{flex-wrap:wrap;gap:12px}.profile-form .button{width:100%}.account-tabs{gap:28px}.account-main .order-ref{font-size:14px}}
.account-main .order-products{margin:16px 0 0;font-size:14px}
.account-page .info-dialog h2{font:600 20px/1.3 var(--body);letter-spacing:normal}
