/* Existing account forms: 1.25rem fields, 0.5rem label/control, 1.5rem actions. */
.account-page{max-width:68.75rem}.account-page.account-dashboard{max-width:var(--max)}
.account-page h1{font-size:clamp(1.875rem,5vw,3.25rem);margin:0 0 1.5rem}.account-page h2{margin:2rem 0 1.25rem}.account-page p{margin:1rem 0}
.account-page form{max-width:40.625rem}.account-page form:not(.account-actions form){margin-top:1.5rem}.account-page form>div+div,.account-page fieldset>div+div,.account-page form div>div+div{margin-top:1.25rem}
.account-page label{display:block;margin:0 0 0.5rem;font-weight:700}.account-page input,.account-page select{display:block;width:100%;padding:0.75rem;border:0.0625rem solid var(--line);background:var(--surface);color:var(--ink);border-radius:0.25rem}
.account-page form>label{margin-bottom:1.25rem}.account-page form>label:last-of-type{margin-bottom:0}.account-page form>label input{margin-top:0.5rem}.account-page form>button.button{margin-top:1.5rem}
.account-page fieldset{margin:1.5rem 0;padding:1.25rem;border:0.0625rem solid var(--line)}.account-page ul{color:#a52e22}.account-page [hidden]{display:none!important}
.account-verification{max-width:40.625rem;margin-top:2rem;padding-top:1.5rem;border-top:0.0625rem solid var(--line)}
.account-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1.5rem}.account-actions form{margin:0}.account-table{max-width:100%;overflow-x:auto}.account-total{font-size:1.6rem;font-weight:800}
.account-page-heading{margin-bottom:2rem}.account-page-heading p{color:var(--muted);overflow-wrap:anywhere}.order-section-heading{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;margin:2rem 0 1.5rem}.account-page .order-section-heading h2{margin:0}
.account-address-grid,.account-order-panels{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;margin:1.5rem 0}.account-address-grid:empty{display:none}
.account-page .order-card,.account-page .account-address-card{min-width:0}.account-page .order-card h2,.account-page .order-card h3,.account-page .account-address-card h3{margin:0 0 1rem;overflow-wrap:anywhere}
.order-card-heading{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:0.75rem}.order-card-heading time{color:var(--muted);font-size:0.875rem}
.order-statuses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0}.order-statuses dt{font-size:0.8125rem;font-weight:700;color:var(--muted);margin-bottom:0.5rem}.order-statuses dd{margin:0}
.order-status{display:inline-block;max-width:100%;padding:0.4375rem 0.75rem;border:0.0625rem solid currentColor;border-radius:0.25rem;font-size:0.8125rem;font-weight:800;line-height:1.5;overflow-wrap:anywhere}
.order-status--warning{background:#fff3d6;color:#704600}.order-status--info{background:#e5f2fa;color:#135985}.order-status--success{background:#e5f3ea;color:#155c36}.order-status--danger{background:#fceae7;color:#8e251c}.order-status--neutral{background:#edf0f2;color:#374b58}
.account-page .order-card .specs{margin:1.25rem 0;width:100%}.account-page .order-card .specs caption{text-align:left;font-weight:800;padding:0 0 0.75rem;color:var(--muted)}
.account-page .order-card .specs th{font-weight:800;text-align:left;padding:0.875rem 0.75rem;border-bottom:0.0625rem solid var(--line)}.account-page .order-card .specs td{font-weight:400;width:auto;overflow-wrap:anywhere;vertical-align:middle}
.account-page .order-card .specs td.account-total{font-size:clamp(1.25rem,3vw,1.75rem);font-weight:800;color:var(--brand)}
.account-page .order-totals{table-layout:fixed}.account-page .order-totals th{width:45%}.account-page .order-payable{background:var(--paper)}.account-page .order-totals td{text-align:right}.account-page .order-payable th,.account-page .order-payable td{padding-top:1.25rem;padding-bottom:1.25rem}
.account-page .order-card .button,.account-page .account-address-card .button{display:inline-flex;align-items:center;justify-content:center;min-height:3rem;margin:0;padding:0.875rem 1.125rem;font-size:0.75rem;text-transform:uppercase;color:#fff}
.account-page .order-card .button.alt,.account-page .account-address-card .button.alt{color:var(--brand);background:transparent;border:0.0625rem solid var(--brand)}
.account-page .order-card .account-actions{gap:1rem;margin:1.5rem 0 0}.account-page .order-card .account-actions form>button.button,.account-page .account-address-card .account-actions form>button.button{margin-top:0}
.account-page .order-cancellation{border-top:0.0625rem solid var(--line);padding-top:1.5rem;margin:1.5rem 0 0;max-width:none}.account-page .order-cancellation label{display:flex;gap:0.75rem;align-items:flex-start;font-weight:400;line-height:1.6}
.account-page .order-cancellation input[type=checkbox]{display:inline-block;width:1.5rem;height:1.5rem;min-width:1.5rem;margin:0;flex-shrink:0}.account-page .order-card .order-cancellation>button.button{margin-top:1.5rem}
.account-page .order-card .order-cancellation-reason,.account-page .order-notice{margin:1.5rem 0 0;padding:1rem;border-left:0.1875rem solid var(--accent);background:var(--paper);color:var(--ink)}.account-page .order-notice--success{border-left-color:#155c36;background:#e5f3ea}.account-page .order-seller{padding-top:1.5rem;border-top:0.0625rem solid var(--line);font-size:0.8125rem}
.account-page .order-product-list{padding:0;margin:1.5rem 0;list-style:none;color:var(--ink)}.order-product-list li{display:flex;align-items:center;gap:1rem;padding:1rem 0;border-bottom:0.0625rem solid var(--line)}.order-product-list li:first-child{padding-top:0}.order-product-list li>div{min-width:0}.order-product-list strong,.order-product-list span{display:block;overflow-wrap:anywhere}.order-product-list span{font-size:0.8125rem;color:var(--muted);margin-top:0.25rem}
.order-product-list img,.order-line-product img{flex-shrink:0;object-fit:contain;background:#fff;border:0.0625rem solid var(--line);padding:0.25rem}.order-product-list img{width:4.5rem;height:4.5rem}.order-line-product{display:flex;align-items:center;gap:1rem}.order-line-product img{width:4rem;height:4rem}.order-line-product strong{overflow-wrap:anywhere}
.account-page .order-card--summary>.pad{display:flex;flex-direction:column;height:100%}.account-page .order-card--summary .order-card-heading{display:block}.account-page .order-card--summary h3{font-size:1.375rem;margin-bottom:0.5rem}.order-card--summary .order-statuses{grid-template-columns:1fr;gap:0.75rem}.order-card--summary .order-statuses>div{display:flex;align-items:baseline;justify-content:space-between;gap:0.75rem}.order-card--summary .order-statuses dt{margin:0;flex:1}.order-card--summary .order-statuses dd{max-width:64%;text-align:right}.order-card--summary .order-status{font-size:0.75rem;padding:0.375rem 0.5rem}
.account-page .order-card--summary .order-card-totals{margin-top:auto}.account-page .order-card--summary .order-card-totals td{text-align:right}.account-page .order-card--summary .specs th,.account-page .order-card--summary .specs td{padding:0.875rem 0.5rem}.account-page .order-card--summary .specs .account-total{font-size:1.375rem}.account-page .order-card--summary .account-actions{align-items:stretch}.account-page .order-card--summary .account-actions .button{width:100%}.account-page .order-card--summary .order-cancellation>button.button{width:100%}
.order-table-hint{display:none}
@media(min-width:47.5rem){.account-address-grid,.account-order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:68.75rem){.account-order-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:40rem){.order-statuses{grid-template-columns:1fr}.account-page .order-card .pad,.account-page .account-address-card .pad{padding:1.25rem}.order-section-heading{align-items:flex-start;flex-direction:column}.account-page .order-card .account-actions{align-items:stretch}.account-page .order-card .account-actions>.button,.account-page .order-card .account-actions>form,.account-page .order-card .account-actions>form>.button{width:100%}.account-page .order-card .specs th,.account-page .order-card .specs td{padding:0.75rem 0.5rem}.account-page .order-card .account-table .specs{min-width:28.75rem}.order-table-hint{display:block}.account-page .order-card .order-totals td.account-total{font-size:clamp(1rem,5vw,1.375rem)}.account-page .order-card .order-delivery-table{table-layout:fixed}.order-delivery-table th{width:42%}.account-page .order-card .order-cancellation>button.button{width:100%}}

/* Profile statistics remain separate from the order and address pages. */
.account-statistics{display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;margin:1.5rem 0 2rem}.account-statistics .article-card{min-width:0}.account-statistics dl{margin:0}.account-statistics dt{font-size:0.875rem;font-weight:800;color:var(--muted)}.account-statistics dd{margin:1rem 0 0}.account-statistics strong{display:block;font-family:Manrope,system-ui,sans-serif;font-size:clamp(1.75rem,4vw,2.5rem);line-height:1.2;color:var(--brand);overflow-wrap:anywhere}.account-statistics span{display:block;margin-top:0.75rem;color:var(--muted);font-size:0.8125rem}.account-page .order-section-heading h1{margin:0}.account-page>.account-actions{gap:1rem}.account-page>.account-actions a:not(.button){text-decoration:underline;text-underline-offset:0.1875rem}
@media(min-width:47.5rem){.account-statistics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:68.75rem){.account-statistics{grid-template-columns:repeat(3,minmax(0,1fr))}}
