/* Customer accounts: header button, login box, My account, My orders. Same palette as style.css / live.css. */
html.rt-on .acct-btn.rt-only{display:inline-flex!important}
.acct-btn{order:3;align-items:center;justify-content:center;gap:8px;height:46px;min-width:46px;padding:0 14px;margin-left:10px;border-radius:999px;background:#fff;box-shadow:var(--shadow);color:var(--ink);text-decoration:none;font:700 .95rem var(--head);white-space:nowrap}
.acct-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none}
.acct-btn:hover{background:var(--sage-l)}
.acct-btn.in{background:var(--sage-l);color:var(--sage-d)}
.acct-btn:focus-visible{outline:3px solid var(--coral);outline-offset:3px}
@media (max-width:820px){.acct-btn{padding:0;width:46px}.acct-btn .lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
@media (max-width:420px){.acct-btn{width:40px;height:40px;margin-left:6px}.acct-btn svg{width:22px;height:22px}.cart-btn{width:40px!important;height:40px!important;margin-left:6px!important}.brand small{display:none}}

.acct-sec .wrap{max-width:760px}
.login-box{max-width:520px;margin:0 auto}
.lg-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#fff;border-radius:999px;padding:5px;box-shadow:var(--shadow);margin-bottom:16px}
.lg-tab{border:0;background:none;font:700 1rem var(--head);padding:10px 12px;border-radius:999px;cursor:pointer;color:var(--ink)}
.lg-tab.on{background:var(--coral);color:#fff}
.lg-tab:focus-visible{outline:3px solid var(--coral);outline-offset:2px}
.lg-form .lg-intro{margin:0 0 4px}
.lg-form[hidden],.lg-tabs[hidden],.login-box [hidden]{display:none!important}
.lg-check{display:flex!important;grid-template-columns:none;gap:10px;align-items:flex-start;font-weight:600!important}
.card-form .lg-check input{width:20px;height:20px;margin-top:3px;flex:none;accent-color:var(--coral-d)}
.lg-code input{font:700 1.8rem var(--head);letter-spacing:.5em;text-align:center}
.lg-links{margin:4px 0 0;font-size:.92rem}
.dev-note{background:#FFF6DE;border-left:5px solid var(--gold);border-radius:10px;padding:10px 14px;font-size:.88rem;margin:0}
.login-gate{max-width:none}
.login-gate h2{margin:0}
.login-gate .gate-note{margin:0;color:var(--muted)}
.login-gate .login-box{max-width:none;margin:8px 0 0}
.login-gate .lg-form{box-shadow:none;padding:0}
.acct-line{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin:0;font-size:.92rem}
.acct-line .linkish{font-weight:700}
.card-form input[readonly]{background:#F4F0E4;color:var(--muted)}
.acct-links{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 18px}
.order-card{margin-bottom:16px;gap:6px}
.oc-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.oc-date,.oc-ship{margin:0}
.oc-total{margin:4px 0 0;font-weight:800}
.order-card .od-lines{list-style:none;padding:0;margin:6px 0}
.order-card .od-lines li{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border-bottom:1px dashed #E4DED0}
.pill{font:800 .75rem var(--body);padding:4px 10px;border-radius:999px;text-transform:uppercase;letter-spacing:.02em}
.pill.st-pending_payment{background:#FFF0CC;color:#8A5A00}.pill.st-paid{background:#E3F1DC;color:#3E6B33}.pill.st-shipped{background:#DCEBFA;color:#1F5A92}.pill.st-cancelled{background:#FBE0DC;color:#A93A2D}
.profile-form .f3 select{font:inherit;padding:10px 12px;border:2px solid #E4DED0;border-radius:12px;background:var(--paper);width:100%}
.profile-form h2,.profile-form h3{margin:0}
@media (max-width:820px){.profile-form .f2,.profile-form .f3{grid-template-columns:1fr}}
/* hidden must win over .card-form{display:grid}; long emails/addresses must wrap inside the card on phones */
.login-gate[hidden],[data-account-main][hidden],[data-orders-list][hidden],[data-order-form][hidden],.lg-check[hidden]{display:none!important}
.acct-sec .card-form,.ship-form,.login-gate{grid-template-columns:minmax(0,1fr)}
.acct-sec .card-form>*,.ship-form>*{min-width:0}
.acct-sec label,.ship-form label{min-width:0}
[data-acct-email],.acct-line strong,.oc-ship{overflow-wrap:anywhere}
.profile-form h3 small{display:block;font-weight:600;font-size:.82rem;margin-top:2px}
.acct-line .muted{flex-basis:100%}
