.account-panels form { margin-top: 1rem; }
.account-panels small { display: block; margin-top: .35rem; color: #bbc4ce; }
.account-panels button:disabled { cursor: not-allowed; opacity: .65; }
.account-panels .account-link { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.local-shop-notice { text-align: center; padding: .6rem 1rem; margin: 0; background: #1c2832; color: #eef3f8; }

.account-home { padding: clamp(32px, 6vw, 80px) 0; }
.account-heading, .account-provider, .account-orders, .account-profile { display: flex; align-items: center; gap: 18px; }
.account-heading, .account-provider, .account-orders { justify-content: space-between; }
.account-heading { margin-bottom: 26px; }
.account-heading h1 { margin: 0; }
.account-heading .account-link { color: #c7c1b7; background: transparent; border: 0; padding: 10px; font: inherit; text-decoration: underline; cursor: pointer; }
.account-card, .account-profile { padding: clamp(20px, 3vw, 32px); border: 1px solid #38404a; border-radius: 12px; background: #1b2026; }
.account-profile { background: linear-gradient(110deg, #2f2922, #1b2026 72%); border-color: #514538; margin-bottom: 18px; }
.account-avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center; object-fit: cover; font-size: 28px; color: #efc78d; background: #393129; }
.account-details { margin-top: 12px; }
.account-details summary { color: #e9c797; font-size: .9rem; cursor: pointer; width: fit-content; }
.account-details summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.account-profile .account-details p { font-size: .9rem; }
.account-home .account-profile h2, .account-home .account-card h2 { font-size: clamp(20px, 2.4vw, 29px); margin: 0; }
.account-profile p, .account-card p { color: #c6cbd2; margin: 6px 0 0; overflow-wrap: anywhere; }
.account-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 18px; align-items: start; }
.account-side { display: grid; gap: 16px; }
.account-provider { border-top: 1px solid #343a42; margin-top: 16px; padding-top: 16px; flex-wrap: wrap; }
.account-connected { color: #a7dec1; }
.account-connected::before { content: "✓ "; }
.account-orders:hover { border-color: #b78b52; }
.account-orders span { color: #efc78d; font-size: 24px; }
.account-confirm, .account-status { background: #302b23; padding: 14px 18px; border-left: 3px solid #e5b46e; margin: 16px 0; }
.account-confirm form { margin-top: 12px; }
.account-home button:disabled { opacity: .55; }
.account-home .site-btn { cursor: pointer; }
@media (max-width: 700px) { .account-grid { grid-template-columns: 1fr; } .account-heading { flex-wrap: wrap; } }

.account-card .order-status { font-weight: 700; }
.account-card .order-status[data-state="awaiting_payment"] { color: #f4d47a; }
.account-card .order-status[data-state="payment_refused"] { color: #ff9e9e; }
.account-card .order-status[data-state="paid_awaiting_delivery_approval"] { color: #d6bdff; }
.account-card .order-status[data-state="delivery_queued"] { color: #94d1ff; }
.account-card .order-status[data-state="delivered"] { color: #91e4b6; }
.account-card .order-status[data-state="delivery_review"] { color: #ffb68a; }

.delivery-tabs, .delivery-action { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.delivery-tabs { margin: 1rem 0 1.5rem; }
.delivery-tabs a { padding: .55rem .8rem; border-bottom: 2px solid transparent; }
.delivery-tabs a[aria-current="page"] { color: #efc78d; border-color: currentColor; font-weight: 700; }
.delivery-auth { margin-bottom: 1rem; }
.delivery-order .delivery-key { font-weight: 700; color: #efc78d; }
.delivery-review { margin-top: 1rem; border-top: 1px solid #343a42; padding-top: .75rem; }
.delivery-review summary { width: fit-content; color: #efc78d; cursor: pointer; }
.delivery-review form { display: grid; gap: .6rem; margin-top: 1rem; }
.delivery-action input { width: 11ch; box-sizing: content-box; padding: .65rem; font: 1rem monospace; }
