:root{color-scheme:light;font:14px 'Segoe UI',Calibri,Arial,sans-serif;color:#25312f;background:#f6f3ed}
*{box-sizing:border-box}
body{margin:0}
[hidden]{display:none!important}
main{max-width:1280px;margin:auto}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
main{padding:18px 20px 28px}
.back-button{display:inline-flex;align-items:center;gap:.45rem;min-height:38px;margin-bottom:.7rem;padding:.45rem .8rem;border:1px solid #b8d5ce;border-radius:8px;background:#e5f2ef;color:#0c5e58;font-weight:800;text-decoration:none;box-shadow:0 1px 3px rgba(37,49,47,.09)}
.back-button:hover,.back-button:focus-visible{background:#d0eae3;border-color:#0f766e}
.back-button span{font-size:19px;line-height:1}
a{color:#0f766e}
h1{margin-bottom:.3rem}
.notice,.panel,article,#saved-list{background:#fffdf8;border:1px solid #ded6c7;border-radius:.7rem;padding:1rem}
.notice{border-left:.3rem solid #0f766e}
.filters,.cards{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr))}
.wide{grid-column:1/-1}
.filters label{display:grid;gap:.3rem}
.filters .check{display:flex;align-items:center}
.location-filter{min-width:0;margin:0;border:1px solid #d5ded8;border-radius:8px;padding:.75rem 1rem}
.location-filter legend{font-weight:800;color:#0f665f;padding:0 .3rem}
.location-filter p{margin:0 0 .65rem;color:#56625d;font-size:.88rem}
.location-options{display:flex;flex-wrap:wrap;gap:.5rem}
.location-options label{display:inline-flex;align-items:center;gap:.3rem;padding:.4rem .6rem;border:1px solid #c7d6ce;border-radius:6px;background:#f8faf9;cursor:pointer}
.location-options input{min-width:auto;margin:0;accent-color:#0f766e}
.search-layout{display:grid;grid-template-columns:minmax(240px,280px) minmax(0,1fr);align-items:start;gap:14px}
.search-content{min-width:0}
.product-sidebar{min-width:0}
.product-sidebar #filters{grid-template-columns:minmax(0,1fr);gap:.8rem}
.product-sidebar .facet-heading{font-size:13px;margin:0 0 -.4rem}
.product-sidebar #filters label{min-width:0}
.product-sidebar #filters input,.product-sidebar #filters select{width:100%}
.product-sidebar #filters .check input{width:auto}
.product-sidebar #filters .actions{gap:.45rem}
.product-sidebar #filters .actions button{flex:1 1 auto}
.product-sidebar h2{font-size:16px;margin:0 0 .4rem}
.product-sidebar h3{font-size:13px;margin:1rem 0 .4rem}
.product-sidebar p{font-size:12px;line-height:1.4;color:#56625d;margin:0 0 .8rem}
.facet-options{display:grid;gap:5px;max-height:260px;overflow:auto}
.facet-options button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:35px;padding:.45rem .6rem;text-align:left;background:#f8faf9;color:#25312f;border:1px solid #d5ded8}
.facet-options button:hover,.facet-options button[aria-pressed="true"]{background:#d9f0eb;border-color:#0f766e;color:#0c5e58}
.facet-options small{color:#56625d;font-size:11px}
.facet-toggle{display:none}
.nearby-button{margin:0 0 .7rem;background:#e5f2ef;color:#0f665f;font-weight:700}
button,input,select{font:inherit}
input,select{min-width:0;border:1px solid #b7ab97;border-radius:.4rem;padding:.55rem}
button{background:#0f766e;color:#fff;border:0;border-radius:.4rem;padding:.65rem .85rem;cursor:pointer}
button:disabled{opacity:.55;cursor:default}
article{overflow-wrap:anywhere}
article h2{font-size:1.15rem}
#pagination,#saved-list,#calculator{margin-top:1rem}
.placeholder{border-radius:.35rem;background:#d9f0eb;color:#0f665f;padding:.55rem;font-size:.85rem}

.advanced-filters{border-top:1px solid #ded6c7;padding-top:.7rem}
.advanced-filters summary{width:fit-content;cursor:pointer;color:#0f665f;font-weight:700}
.advanced-filters[open] .filters{margin-top:1rem}

.merchandise-nav{display:flex;align-items:center;gap:4px;min-height:39px;padding:4px 12px;border-bottom:1px solid #ded6c7;background:#fffdf8;flex-wrap:wrap}
.merchandise-nav a{color:#56625d;text-decoration:none;font-size:11px;font-weight:800;padding:7px 9px;border-radius:6px}
.merchandise-nav a[aria-current]{background:#d9f0eb;color:#0f766e}
.dashboard-shell{max-width:1280px;margin:auto}
.dash-title{font-size:24px;font-weight:900;margin:0}
.dash-subtitle{font-size:13px;color:#56625d;margin:4px 0 12px}
.dash-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.dash-metric,.dash-panel{background:#fffdf8;border:1px solid #ded6c7;border-radius:8px;padding:14px;box-shadow:0 1px 4px rgba(37,49,47,.08),0 2px 12px rgba(37,49,47,.06)}
.dash-metric-label{display:block;color:#8a8174;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.35px}
.dash-metric strong{display:block;font-size:25px;font-weight:900;margin-top:7px;overflow-wrap:anywhere}
.dash-metric small{display:block;color:#56625d;font-size:12px;margin-top:5px}
.service-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 14px}
.service-step{background:#0f766e;color:#fff;min-height:38px;border-radius:6px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;font-size:11px;font-weight:900}
.service-step span{min-width:23px;height:23px;border-radius:999px;background:#fff;color:#0f766e;display:inline-flex;align-items:center;justify-content:center}
.merchandise-board{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
.dash-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.dash-panel h2{font-size:15px;font-weight:900;margin:0}
.dash-panel-head p{font-size:12px;color:#8a8174;margin:4px 0 0}
.merchandise-kanban{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;overflow-x:auto;padding-bottom:2px}
.kanban-col{min-width:0;background:#f8faf9;border:1px solid #ded6c7;border-radius:8px;padding:9px;min-height:155px}
.kanban-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:900;margin-bottom:8px}
.kanban-count{min-width:22px;height:22px;border-radius:999px;background:#0f766e;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:11px}
.kanban-card{background:#fffdf8;border:1px solid #c7bda9;border-radius:8px;padding:10px;margin-bottom:8px}
.kanban-title,.notification-title{color:#25312f;font-size:12px;font-weight:900;line-height:1.35}
.kanban-meta{color:#56625d;font-size:11px;line-height:1.4;margin-top:5px}
.dash-empty{border:1px dashed #c7bda9;border-radius:8px;padding:18px;color:#56625d;font-size:13px;text-align:center;background:#fffdf8}
.notification-item{border:1px solid #ded6c7;border-radius:8px;padding:11px;background:#fffdf8;margin-bottom:8px;font-size:12px;color:#56625d}
.notification-item div{margin-top:4px}
.dash-panel p{font-size:12px}
#account-dialog{width:min(430px,calc(100% - 2rem));background:#fffdf8;color:#25312f;border:1px solid #ded6c7;border-radius:10px;padding:20px}
#account-dialog::backdrop{background:#25312f88}
#account-form{display:grid;gap:9px}
#account-form label{display:grid;gap:4px}
@media(max-width:760px){.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.merchandise-kanban{grid-template-columns:repeat(3,220px)}.service-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){main{padding:14px 12px 24px}.dash-metrics{gap:8px}.dash-metric{padding:10px}.dash-metric strong{font-size:21px}}

.lot-summary{margin-top:1rem;padding:clamp(1rem,3vw,1.5rem)}
.lot-summary h2,.lot-contents h3:first-child{margin-top:0}
.lot-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:.75rem;margin:1rem 0}
.lot-facts div{background:#f6f3ed;border-radius:7px;padding:.75rem}
.lot-facts dt{font-size:.8rem;color:#56625d;font-weight:700}
.lot-facts dd{margin:.25rem 0 0;font-weight:700}
.lot-participation{border-top:1px solid #ded6c7;padding-top:1rem}
.lot-participation p{margin-bottom:0;color:#56625d;line-height:1.5}
.whole-lot-notice{padding:.75rem .9rem;border:1px solid #d8c293;border-radius:8px;background:#fff7e6;color:#5d4517;font-weight:750;line-height:1.4}
.lot-composition{padding:.7rem .9rem;border-left:3px solid #0f766e;background:#edf7f4;border-radius:5px;line-height:1.4}
.classification-reference{display:grid;gap:.35rem;margin-top:1rem;padding:.9rem 1rem;border:1px solid #bddbd5;border-radius:8px;background:#edf7f4;line-height:1.4}
.classification-reference strong{color:#114a44}
.classification-reference span{font-weight:700;color:#0f766e}
.classification-reference small{color:#56625d}
.lot-bid-action{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:.65rem 1rem;border-radius:7px;background:#0f766e;color:#fff;font-weight:750;text-decoration:none}
.lot-bid-action:hover{background:#0c5e58}
.lot-bid-footer{margin-top:1rem}
.lot-bid-footer h2{margin:0 0 .5rem;font-size:1.2rem}
.lot-bid-footer p{line-height:1.5}
.lot-bid-footer .lot-bid-action{margin-top:.5rem;min-width:180px}
.lot-notify-button{background:#fffdf8;color:#25312f;border:1px solid #b7ab97;font-size:1.2rem;line-height:1;min-width:42px}
.lot-notify-button.notified{background:#e8e8e8;border-color:#b5b5b5;color:#454545}
.actions button.is-saved{background:#e8e8e8;border:1px solid #b5b5b5;color:#454545;opacity:1;cursor:default}
.saved-row{display:flex;align-items:center;flex-wrap:wrap;gap:.55rem;border-top:1px solid #ded6c7;padding:.7rem 0}
.saved-row:first-of-type{border-top:0}
.saved-item-title{flex:1 1 14rem;overflow-wrap:anywhere}
.lot-contents{margin-top:1rem;overflow-wrap:anywhere}
@media(max-width:540px){.lot-bid-action{width:100%}}
@media(max-width:760px){.search-layout{grid-template-columns:1fr}.product-sidebar{position:static}.facet-options{display:flex;flex-wrap:wrap;max-height:140px}.facet-options button{width:auto}.product-sidebar p{margin-bottom:.5rem}.facet-toggle{display:flex;justify-content:space-between;width:100%;background:#e5f2ef;color:#0c5e58;text-align:left}.product-sidebar #brand-options,.product-sidebar #model-options{display:none;margin-top:.5rem}.product-sidebar #brand-filter[data-open="true"] #brand-options,.product-sidebar #model-filter[data-open="true"] #model-options{display:flex}}

.lot-photo{display:block;width:100%;max-height:320px;aspect-ratio:4/3;object-fit:contain;background:#f6f3ed;border-radius:7px}
.lot-contents .lot-photo{max-width:480px;margin-bottom:1rem}
