/* Customer workspace. Keep public and administration layouts independent. */
body.customer-account-shell { background:#F4F6FA; }
.customer-console { --account-rail:228px !important; padding:24px !important; padding-inline-start:calc(var(--account-rail) + 28px) !important; background:#F4F6FA !important; color:#0F172A; }
.customer-console .account-content { max-width:1280px; margin-inline:auto; min-width:0; font-size:14px; }
.customer-console .account-content .page { padding:0 !important; }
.customer-console .account-content .wrap { width:100%; max-width:none; padding-inline:0 !important; }
.customer-console .account-sidebar { width:var(--account-rail); padding:18px 12px !important; background:#0F172A !important; }
.customer-console .account-sidebar .account-sidebar-brand { padding:4px 12px 16px !important; margin-bottom:12px !important; }
html .customer-console .account-sidebar .account-sidebar-brand img { width:118px !important; height:54px !important; object-fit:contain !important; margin-inline:auto; }
.customer-console .account-sidebar .account-hub-item { min-height:42px !important; padding:9px 12px !important; font-size:13px !important; border:0 !important; border-radius:8px !important; color:#DCE4F0 !important; gap:10px !important; box-shadow:none !important; }
.customer-console .account-sidebar .account-hub-item.is-active { background:#23406B !important; color:#fff !important; }
.customer-console .account-sidebar .account-hub-item:hover { background:#1E293B !important; }
.customer-console .account-sidebar .lot4b-nav-svg { color:inherit !important; flex-shrink:0; }
.account-nav-group { font-size:10px; color:#94A3B8; padding:18px 12px 5px; letter-spacing:.3px; }
.customer-console .account-sidebar-footer { gap:6px !important; padding-top:10px !important; }
.customer-console .account-sidebar .account-sidebar-action { background:transparent !important; border:1px solid #334155 !important; color:#CBD5E1 !important; font-size:12px !important; min-height:38px !important; }
.customer-console .account-content :is(h1,h2,h3) { color:#0F172A !important; }
.customer-console .account-content h1 { font-size:clamp(20px, 2vw, 25px) !important; line-height:1.45; }
.customer-console .account-content h2 { font-size:17px !important; }
.customer-console .account-content p:where(:not(.feedback)) { color:#64748B; }
.customer-console .account-content .customer-overview .eyebrow { color:#356580 !important; }
.customer-console .account-content .panel { padding:22px !important; border:1px solid #E2E8F0 !important; border-radius:14px !important; background:#fff !important; box-shadow:none !important; }
.customer-console .account-content .btn { min-height:40px !important; border-radius:8px !important; font-size:13px !important; padding:9px 14px !important; box-shadow:none !important; }
.customer-console .account-content .btn:not(.ghost) { background:#1D4ED8 !important; border-color:#1D4ED8 !important; color:#fff !important; }
.customer-console .account-content .btn.ghost { background:#fff !important; color:#334155 !important; border:1px solid #E2E8F0 !important; }
.overview-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:24px; }
.overview-heading p { margin:6px 0; }
.overview-heading .actions { flex-wrap:wrap; margin:0; }
.account-attention { background:#EFF6FF; border:1px solid #DBEAFE; border-radius:12px; padding:16px 20px; margin-bottom:20px; }
.account-attention h2 { margin:0 0 8px; }
.account-attention a { display:flex; justify-content:space-between; gap:12px; padding:8px 0; color:#1E40AF; }
.overview-stats { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:14px; margin-bottom:24px; }
.overview-stats>a { display:flex; flex-direction:column; gap:8px; padding:20px; background:#fff; border:1px solid #E2E8F0; border-radius:12px; }
.overview-stats strong { font-size:30px; line-height:1.2; color:#0F172A; }
.overview-stats small { font-size:12px; color:#356580; }
.overview-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:20px; align-items:start; }
.overview-activity>a { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px 0; border-bottom:1px solid #F1F5F9; }
.overview-activity>a:last-child { border:0; }
.overview-activity strong,.overview-activity small { display:block; }
.overview-activity small { color:#64748B; font-size:12px; margin-top:4px; }
.overview-links { display:grid; }
.overview-links a { padding:12px 0; color:#356580; border-bottom:1px solid #F1F5F9; }
.account-empty { padding:28px 16px; text-align:center; background:#F8FAFC; border-radius:12px; }
.account-tabs { display:flex; gap:8px; border-bottom:1px solid #E2E8F0; margin:20px 0; }
.account-tabs a { display:flex; align-items:center; gap:10px; padding:12px 18px; border-bottom:3px solid transparent; color:#64748B; }
.account-tabs a[aria-current=page] { border-color:#356580; color:#234B63; font-weight:700; }
.account-tabs b { font-size:12px; border-radius:6px; background:#EAF0F5; padding:0 6px; }
.favorite-search { display:grid; gap:6px; max-width:440px; margin-bottom:20px; }
.favorite-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px; border:1px solid #E2E8F0; border-radius:12px; background:#fff; margin-bottom:12px; }
.favorite-row h2 { margin:6px 0 !important; }
.favorite-row .actions { flex-shrink:0; margin:0; }
.favorite-row[hidden],.account-empty[hidden] { display:none !important; }
.account-inventory { margin:20px 0; }
.account-inventory>summary { cursor:pointer; padding:16px; background:#fff; border:1px solid #E2E8F0; border-radius:10px; font-weight:700; }
/* Post-sale landing: the listing row the seller was sent to after recording a sale */
.inventory-panel tr.is-stock-focus>td { background:#FFF7E0; }
/* Keep the reprice form compact so it does not squeeze the title column */
.inventory-panel td:nth-child(2) { min-width:140px; }
.inventory-panel .inventory-reactivation { min-width:220px; max-width:280px; }
.customer-console .customer-record-summary { display:flex !important; gap:6px !important; overflow-x:auto; margin-bottom:12px; }
.customer-console .customer-record-summary .customer-record-stat { display:flex !important; flex-direction:row; align-items:center; flex-shrink:0; gap:8px !important; padding:8px 12px !important; border-radius:8px !important; min-width:0; }
.customer-console .customer-record-summary .customer-record-stat strong { font-size:15px !important; }
.customer-console .customer-record-toolbar { background:#F8FAFC !important; padding:14px !important; gap:10px !important; }
.customer-console .account-content .ops-table th { background:#F8FAFC !important; color:#64748B !important; font-size:12px !important; }
.customer-console .account-content .ops-table td { font-size:13px !important; padding:14px 12px !important; }
.customer-console .account-content .section-head { align-items:center; margin-bottom:20px; }
.customer-console .account-content a:focus-visible,.customer-console button:focus-visible { outline:3px solid #93C5FD; outline-offset:3px; }
.lot4b-need-card-v2 { position:relative; }
.lot4b-need-card-v2 .lot4b-card-footer .lot4b-card-details,
.customer-console .account-content .need-details-button { background:#3D6998 !important; border-color:#3D6998 !important; color:#fff !important; box-shadow:none !important; }
.lot4b-need-card-v2 .lot4b-card-footer .lot4b-card-details:hover,
.customer-console .account-content .need-details-button:hover { background:#3D6998 !important; border-color:#3D6998 !important; }
@media(max-width:1000px) { .overview-grid { grid-template-columns:1fr; } .overview-side { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } }
@media(max-width:760px) {
 .customer-console { padding:12px !important; }
 .customer-console .account-sidebar { position:relative !important; width:100% !important; height:auto !important; display:grid !important; grid-template-columns:1fr auto !important; gap:8px !important; padding:10px 12px !important; border-radius:12px; margin-bottom:20px; overflow:visible; }
 .customer-console .account-sidebar .account-sidebar-brand { margin:0 !important; padding:0 !important; border:0; }
 html .customer-console .account-sidebar .account-sidebar-brand img { width:100px !important; height:44px !important; margin:0 !important; }
 .customer-console .account-sidebar-toggle { display:block !important; background:#1E293B; color:#fff; border-color:#475569; margin:0; min-height:44px; }
 .customer-console .account-sidebar-nav { grid-column:1/-1; max-height:60dvh; overflow:auto; }
 .customer-console .account-sidebar-toggle[aria-expanded=false]~.account-sidebar-nav,
 .customer-console .account-sidebar:has(.account-sidebar-toggle[aria-expanded=false]) .account-sidebar-footer { display:none !important; }
 .customer-console .account-sidebar-footer { grid-column:1/-1; display:grid !important; grid-template-columns:1fr !important; }
 .overview-heading { align-items:stretch; flex-direction:column; gap:12px; }
 .customer-console .account-content h1 { font-size:20px !important; }
 .customer-console .account-content .panel { padding:16px !important; }
 .overview-stats { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .overview-stats>a { padding:16px; }
 .overview-stats strong { font-size:26px; }
 .overview-side { grid-template-columns:1fr; gap:0; }
 .overview-activity>a { flex-wrap:wrap; gap:8px; }
 .favorite-row { flex-direction:column; align-items:stretch; padding:16px; }
 .favorite-row .actions { display:flex; flex-wrap:wrap; }
 .favorite-row .actions>* { flex:1; }
 .customer-console .account-content input:not([type=checkbox]):not([type=radio]),.customer-console .account-content select,.customer-console .account-content textarea { font-size:16px !important; }
 .customer-console .account-content .btn { min-height:44px !important; }
 .customer-console .account-content .ops-table.mobile-record-table { min-width:0 !important; width:100%; display:block; }
 .mobile-record-table>thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
 .mobile-record-table>tbody { display:grid; gap:12px; }
 .mobile-record-table>tbody>tr[data-customer-record] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:8px; border:1px solid #E2E8F0; border-radius:10px; background:#fff; }
 .mobile-record-table>tbody>tr[hidden] { display:none !important; }
 .customer-console .account-content .mobile-record-table td { display:flex; flex-direction:column; height:auto !important; min-width:0; overflow-wrap:anywhere; border:0; padding:8px !important; }
 .mobile-record-table td::before { content:attr(data-column-label); color:#64748B; font-size:11px; margin-bottom:4px; }
 .mobile-record-table td:last-child { grid-column:1/-1; }
}
