/* Orders and My share the current Home / Services palette. */
:root{--client-bg:#faf9f6;--client-surface:#fff;--client-text:#242421;--client-muted:#918b84;--client-line:#e8e2db;--client-accent:#a37646;--client-soft:#f4eee5}
body[data-role="customer"]>nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;padding-left:8px;padding-right:8px;box-sizing:border-box;width:100%}body[data-role="customer"]>nav>button{width:100%;min-width:0;margin:0;padding-left:0;padding-right:0;white-space:nowrap;font-size:13px}
body[data-role="customer"][data-page="list"],body[data-role="customer"][data-page="detail"],body[data-role="customer"][data-page="order-history"],body[data-role="customer"][data-page="account"]{background:var(--client-bg);color:var(--client-text)}
.customer-orders,.account-page{color:var(--client-text);--account-bg:var(--client-bg);--account-surface:var(--client-surface);--account-border:var(--client-line);--account-text:var(--client-text);--account-muted:var(--client-muted);--account-gold:var(--client-accent);--account-soft:var(--client-soft)}
.customer-order-heading,.account-heading{background:var(--client-surface);border-color:var(--client-line)}
.customer-order-panel,.customer-order-list-card,.account-profile,.account-card,.account-assets>button{background:var(--client-surface);border-color:var(--client-line)}
.customer-order-status,.account-balance{background:#322e2a;color:#fff}
.customer-order-status h2{color:#fff}
.customer-order-status small,.customer-order-status p,.customer-order-status>span,.account-balance small,.account-balance span{color:#d1cbc4}
.account-balance strong{color:#fff}
.customer-order-tabs>button{background:var(--client-soft);color:#8d7d69;border-color:var(--client-line)}
.customer-order-tabs>button[aria-selected=true],.account-tabs button[aria-selected=true]{background:var(--client-accent);border-color:var(--client-accent);color:#fff}
.customer-order-tabs small{color:var(--client-muted)}
.customer-order-tabs>button[aria-selected=true] small,.account-tabs button[aria-selected=true] small{color:#fff7eb}
.customer-order-tabs>button[aria-selected=true] b{background:#ffffff26;color:#fff}
.account-tabs{background:var(--client-bg);border-color:var(--client-line)}
.account-avatar{background:var(--client-accent);color:#fff9ef}
.account-profile-actions .primary,.customer-order-panel .primary,.customer-orders-empty .primary{background:var(--client-accent);color:#fff;border-color:var(--client-accent)}
.account-profile-actions button:not(.primary){background:#fff;border-color:var(--client-accent);color:var(--client-accent)}
.account-profile-note,.account-empty{background:var(--client-bg)}
.customer-order-fields dt,.customer-order-intro,.customer-order-list-card p,.customer-order-description,.customer-order-panel .customer-order-hint,.account-order-row small{color:var(--client-muted)}
.customer-order-list-card>div>span,.customer-order-tip,.shipping-notes{background:var(--client-soft);color:var(--client-accent);border-color:var(--client-line)}
.customer-order-fields>div,.customer-order-list-card footer,.account-order-row{border-color:var(--client-line)}
.customer-order-panel input,.customer-order-panel textarea,.customer-order-panel select,.account-profile input{background:#fff;border-color:var(--client-line);color:var(--client-text)}
.copy-intake,.customer-order-support button{background:#fff;border-color:var(--client-line);color:var(--client-accent)}
body[data-role="customer"][data-page="list"]>nav,body[data-role="customer"][data-page="detail"]>nav,body[data-role="customer"][data-page="order-history"]>nav,body[data-role="customer"][data-page="account"]>nav{background:#fff;border-color:var(--client-line)}
body[data-role="customer"][data-page="list"]>nav button,body[data-role="customer"][data-page="detail"]>nav button,body[data-role="customer"][data-page="order-history"]>nav button,body[data-role="customer"][data-page="account"]>nav button{color:#99948e;background:transparent}
body[data-role="customer"][data-page="list"]>nav button.active,body[data-role="customer"][data-page="detail"]>nav button.active,body[data-role="customer"][data-page="order-history"]>nav button.active,body[data-role="customer"][data-page="account"]>nav button.active{color:var(--client-accent);background:transparent;font-weight:650}
/* Client-wide fallback also covers login and intermediate states. */
body[data-role="customer"]{background:var(--client-bg);color:var(--client-text)}
body[data-role="customer"]>.brand-header{background:var(--client-surface)}
body[data-role="customer"] .card{background:var(--client-surface);border-color:var(--client-line)}
body[data-role="customer"] input,body[data-role="customer"] textarea,body[data-role="customer"] select{background:var(--client-surface);border-color:var(--client-line);color:var(--client-text)}
body[data-role="customer"] .primary{background:var(--client-accent);border-color:var(--client-accent);color:#fff}
body[data-role="customer"] .muted{color:var(--client-muted)}
body[data-role="customer"]>nav{background:var(--client-surface);border-color:var(--client-line)}
body[data-role="customer"]>nav button{background:transparent;color:#99948e}
body[data-role="customer"]>nav button.active{background:transparent;color:var(--client-accent);font-weight:650;border-radius:0}
body[data-role="customer"][data-page="login"] .brand-header{background:transparent}
body[data-role="customer"][data-page="login"] h1{font:700 23px/1.4 system-ui}
body[data-role="customer"][data-page="login"] .card{border-radius:13px;padding:20px 16px}
body[data-role="customer"][data-page="login"] .card h2{font:650 18px/1.5 system-ui}
body[data-role="customer"][data-page="login"] .card p{font-size:12px;line-height:1.8}
body[data-role="customer"][data-page="login"] .card label{font-size:12px;margin-top:18px}
body[data-role="customer"][data-page="login"] .card input{font-size:14px}
body[data-role="customer"][data-page="login"] .card .primary{width:100%;border-radius:8px;font-size:14px;margin-top:5px}
