/* Rounded, quiet surfaces consistent with the storefront. */
#profile::before{display:none}
#profile,.account-delete-dialog{--account-ink:#3e353c;--account-muted:#7d727a;--account-accent:#6b5b65;--account-surface:rgba(250,248,249,.85);--account-card:rgba(255,255,255,.68);--account-line:rgba(107,91,101,.17);--account-soft:#eee8ec;--account-danger:#93434e}
body[data-theme="dark"] #profile,body[data-theme="dark"] .account-delete-dialog{--account-ink:#f2f2f2;--account-muted:#bdbdbd;--account-accent:#e6bb8c;--account-surface:#202020;--account-card:#282828;--account-line:#414141;--account-soft:#303030;--account-danger:#f0a9b0}
html body #profile .profile-container{grid-template-columns:270px minmax(0,1fr) !important;gap:24px !important;align-items:start !important;max-width:1180px !important}
html body #profile .profile-sidebar,html body #profile .profile-content{background:var(--account-surface) !important;border:1px solid var(--account-line) !important;border-radius:28px !important;box-shadow:0 12px 36px #30242c08 !important;color:var(--account-ink);min-width:0;min-height:0}
html body #profile .profile-sidebar{padding:16px !important;gap:6px !important}
html body #profile .profile-content{padding:30px !important}
html body #profile .profile-user-card{display:block;background:transparent !important;border:0;padding:8px 8px 20px;margin:0;overflow-wrap:anywhere}
html body #profile .profile-avatar{margin-bottom:16px;background:var(--account-soft);color:var(--account-accent);border-color:var(--account-line);border-radius:18px}
html body #profile #profile-greeting{font-size:18px !important;line-height:1.4 !important;color:var(--account-ink) !important;font-weight:600 !important}
html body #profile .profile-user-card p{font-size:13px;color:var(--account-muted);line-height:1.6}
html body #profile .profile-nav-btn{font-size:14px !important;font-weight:600 !important;line-height:1.4;text-align:left;white-space:normal;border-radius:16px !important;color:var(--account-ink)}
html body #profile .profile-nav-btn.active{background:var(--account-accent) !important;color:#fff !important;box-shadow:none !important}
html body[data-theme="dark"] #profile .profile-nav-btn.active{color:#201b15 !important}
html body #profile .profile-nav-btn:hover{transform:none;background:var(--account-soft) !important}
html body #profile .profile-nav-btn.active:hover{background:var(--account-accent) !important}
html body #profile .profile-panel-head{margin-bottom:26px;gap:10px}
html body #profile .profile-panel-head>span{display:none}
html body #profile .profile-panel-head h3{font-size:clamp(26px,3vw,32px) !important;font-weight:600;letter-spacing:-.03em;color:var(--account-ink) !important}
html body #profile .profile-panel-head p{color:var(--account-muted);font-size:14px;line-height:1.65}
html body #profile .profile-field{padding:0;background:transparent !important;border:0}
html body #profile .profile-field label{font-size:12px;line-height:1.6;letter-spacing:.02em;color:var(--account-muted)}
html body #profile .profile-field .form-control{background:var(--account-card) !important;border-color:var(--account-line) !important;color:var(--account-ink);font-size:16px}
#profile #client-orders-list{gap:18px}
#profile .account-order{background:var(--account-card);border:1px solid var(--account-line);border-radius:24px;padding:24px;min-width:0;color:var(--account-ink)}
#profile .account-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:20px}
#profile .account-order-head h4{margin:0;font-size:17px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}
#profile .account-order-head p{margin:6px 0 0;color:var(--account-muted);font-size:12px}
#profile .account-order-status{flex-shrink:0;max-width:48%;padding:7px 11px;border-radius:20px;background:var(--account-soft);color:var(--account-accent);font-size:12px;font-weight:600;line-height:1.5;text-align:center}
#profile .account-order-status.is-cancelled{color:var(--account-muted);background:transparent;border:1px solid var(--account-line)}
#profile .account-order-status.is-complete{color:var(--account-ink)}
#profile .account-order-items{list-style:none;margin:0;padding:18px 0;display:grid;gap:16px;border-block:1px solid var(--account-line)}
#profile .account-order-items li{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;font-size:14px;line-height:1.6}
#profile .account-order-items li>div{min-width:0;overflow-wrap:anywhere}
#profile .account-order-items small{display:block;color:var(--account-muted);font-size:12px;margin-top:3px}
#profile .account-order-items strong{white-space:nowrap;font-weight:600}
#profile .account-order-details{padding:16px 0;color:var(--account-muted);font-size:13px}
#profile .account-order-details summary{cursor:pointer;width:fit-content;padding:4px 0;color:var(--account-accent);font-weight:500}
#profile .account-order-details dl{display:grid;gap:12px;margin:16px 0 0;padding:16px;background:var(--account-soft);border-radius:16px;line-height:1.6}
#profile .account-order-details dl>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px}
#profile .account-order-details dt{font-weight:400}
#profile .account-order-details dd{margin:0;color:var(--account-ink);overflow-wrap:anywhere}
#profile .account-order-foot{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:8px}
#profile .account-order-foot>div{display:flex;align-items:baseline;gap:12px}
#profile .account-order-foot span{color:var(--account-muted);font-size:13px}
#profile .account-order-foot strong{font-size:23px;font-weight:600;white-space:nowrap}
#profile .account-order-foot button{border:0;background:transparent;color:var(--account-muted);font:inherit;font-size:12px;text-decoration:underline;text-underline-offset:4px;padding:12px 0;cursor:pointer;line-height:1.5;text-align:right}
#profile .account-order-foot button:hover{color:var(--account-danger)}
#profile .account-danger-zone{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;margin-top:40px;padding-top:26px;border-top:1px solid var(--account-line)}
#profile .account-danger-zone h4{font-size:16px;font-weight:600;margin:0 0 8px;color:var(--account-ink)}
#profile .account-danger-zone p{font-size:13px;line-height:1.6;margin:0;color:var(--account-muted)}
#profile .account-delete-open{border:1px solid var(--account-line);border-radius:14px;padding:12px 16px;background:transparent;color:var(--account-danger);font:inherit;font-size:13px;cursor:pointer}
.account-delete-dialog{width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:32px;border:1px solid var(--account-line);border-radius:28px;background:var(--account-surface);color:var(--account-ink);box-shadow:0 24px 90px #0003;backdrop-filter:blur(24px);margin:auto;overflow:auto;box-sizing:border-box}
.account-delete-dialog::backdrop{background:#16121780;backdrop-filter:blur(6px)}
.account-delete-dialog form{margin:0}
.account-dialog-close{position:absolute;top:16px;right:16px;width:34px;height:34px;border:0;border-radius:50%;background:var(--account-soft);color:var(--account-ink);font-size:16px;cursor:pointer}
.account-dialog-eyebrow{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:var(--account-muted);padding-right:30px}
.account-delete-dialog h2{font-size:28px;line-height:1.25;margin:18px 0;color:var(--account-ink);letter-spacing:-.03em}
.account-delete-dialog p{font-size:13px;line-height:1.75;color:var(--account-muted);margin:12px 0 20px}
.account-delete-dialog [hidden]{display:none !important}
.account-reauth-field{margin:24px 0}
.account-reauth-field label{display:block;font-size:13px;margin-bottom:8px;font-weight:600}
.account-reauth-field input{width:100%;box-sizing:border-box;min-height:48px;border:1px solid var(--account-line);border-radius:14px;background:var(--account-card);color:var(--account-ink);padding:12px 14px;font:inherit;font-size:16px}
.account-delete-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;cursor:pointer}
.account-delete-consent input{width:18px;height:18px;flex-shrink:0;margin-top:2px;accent-color:var(--account-accent)}
.account-delete-dialog .account-form-status{color:var(--account-danger);margin:16px 0;min-height:0}
.account-form-status:empty{display:none}
.account-dialog-actions{display:flex;gap:10px;margin-top:24px}
.account-dialog-actions button{flex:1;padding:13px 12px;border:1px solid var(--account-line);border-radius:14px;background:transparent;color:var(--account-ink);font:inherit;font-size:12px;font-weight:600;cursor:pointer;min-height:46px}
.account-dialog-actions button[type="submit"]{background:var(--account-accent);color:#fff;border-color:transparent}
body[data-theme="dark"] .account-dialog-actions button[type="submit"]{color:#201b15}
.account-delete-dialog button:disabled{opacity:.5;cursor:wait}
#profile :is(button,summary,input):focus-visible,.account-delete-dialog :is(button,input):focus-visible{outline:2px solid var(--account-accent);outline-offset:4px}
@media(max-width:900px){html body #profile .profile-container{grid-template-columns:1fr !important;gap:16px !important}html body #profile .profile-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:8px !important}html body #profile .profile-user-card{grid-column:1/-1;display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:4px 4px 12px}html body #profile .profile-avatar{width:48px;height:48px;margin:0}html body #profile .profile-nav-label{display:none}html body #profile .profile-logout-btn{margin:0 !important}html body #profile .profile-content{padding:22px !important}}
@media(max-width:520px){html body #profile .profile-content{padding:20px 14px !important;border-radius:24px !important}#profile .account-order{padding:18px 16px;border-radius:20px}#profile .account-order-head{gap:10px}#profile .account-order-head h4{font-size:15px}#profile .account-order-status{font-size:11px}#profile .account-order-items li{gap:12px;font-size:13px}#profile .account-order-foot{flex-wrap:wrap}#profile .account-order-foot button{text-align:left}#profile .account-order-details dl>div{grid-template-columns:1fr;gap:2px}.account-delete-dialog{padding:28px 22px}.account-dialog-actions{flex-direction:column-reverse}#profile .account-danger-zone{margin-top:30px}#profile .account-delete-open{width:100%}}
