.shop-status{font-weight:700;color:#82dfed}.shop-filters{display:flex;gap:20px;align-items:end;flex-wrap:wrap;margin:24px 0}.shop-filters label{display:grid;gap:8px}.shop-filters input,.shop-filters select{padding:14px;border:1px solid #b7cad5;border-radius:8px;background:white;color:#142b3a}.shop-filters input{width:min(350px,80vw)}.shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sale-card,.shop-empty{border:1px solid #d7e2e9;border-radius:12px;padding:24px;background:#fff}.sale-card img{width:100%;height:260px;object-fit:contain}.sale-condition{display:inline-block;padding:6px 12px;background:#102c42;color:white;border-radius:4px}.sale-price{font-size:24px;font-weight:800}.shop-empty{grid-column:1/-1;text-align:center;padding:64px 24px;color:#546977}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}.category-tile p{font-size:13px;line-height:1.7;color:#64788b}@media(max-width:800px){.category-grid,.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:540px){.category-grid,.shop-grid{grid-template-columns:1fr}}

/* Category pages open directly, with buying and sourcing as explicit choices. */
[hidden]{display:none!important}
.shop-mode-switch{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 18px}
.shop-mode-switch button{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:172px;padding:13px 19px;border:1px solid #5b7c95;border-radius:13px;color:#d9eaf6;background:#ffffff09;cursor:pointer;text-align:left;font:inherit}
.shop-mode-switch button strong{font-size:16px}.shop-mode-switch button small{font-size:11px;color:#b5ccd9}
.shop-mode-switch button[aria-pressed="true"]{background:#f5fbff;border-color:#8bdeff;color:#153850;box-shadow:0 0 0 2px #60d4ff24}
.shop-mode-switch button[aria-pressed="true"] small{color:#496779}
.shop-mode-switch button:focus-visible,.purchase-request-form input:focus-visible,.purchase-request-form select:focus-visible,.purchase-request-form textarea:focus-visible{outline:3px solid #41abd6;outline-offset:3px}
.shop-category-view .purchase-hero{padding:30px 0}
.shop-category-view .purchase-hero h1{font-size:clamp(29px,3.4vw,45px);margin:12px 0;line-height:1.25}
.shop-category-view .purchase-hero p{margin:10px 0;line-height:1.7}
.shop-category-view .purchase-hero .shop-mode-switch{margin:16px 0}
.shop-category-view #shop-listing,.shop-category-view #purchase-request-panel{padding:34px 0 70px}
.shop-category-view #shop-listing h2,.purchase-request-intro h2{font-size:27px;margin:0 0 16px}
.shop-request-switch,.purchase-review-actions button{border:1px solid #bcd0de;background:#fff;color:#173b5c;border-radius:10px;padding:12px 18px;font:inherit;font-weight:700;cursor:pointer}
.shop-request-switch{margin-top:20px;background:#173b5c;color:#fff}
.purchase-request-intro{margin-bottom:24px}.purchase-request-intro .library-eyebrow{display:block;color:#2879a0;margin-bottom:10px}
.purchase-request-intro p{color:#617488;line-height:1.8}.purchase-category-tag{display:inline-flex;padding:7px 12px;border-radius:8px;background:#e5f3fc;color:#174c71;font-size:12px;font-weight:800}
.purchase-request-form{padding:28px;border:1px solid #dce6ee;background:#fff;border-radius:18px}
.purchase-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.purchase-form-grid label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:700;color:#25405a}
.purchase-form-grid .required{color:#b54631}
.purchase-form-grid input,.purchase-form-grid select,.purchase-form-grid textarea{box-sizing:border-box;min-width:0;width:100%;padding:13px 14px;border:1px solid #bfd0de;border-radius:10px;background:#fbfdff;color:#173b5c;font:inherit;font-weight:400}
.purchase-form-grid textarea{resize:vertical}.purchase-form-wide{grid-column:1/-1}
.purchase-form-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:24px}.purchase-form-actions p{font-size:12px;color:#65788a;margin:0;line-height:1.8}
.purchase-primary{border:0;border-radius:10px;background:#123d5d;color:white;padding:13px 22px;font:inherit;font-weight:800;cursor:pointer}
.purchase-request-review{margin-top:28px;padding:28px;border:1px solid #b7d4e5;background:#f5fbff;border-radius:18px}.purchase-request-review h3{margin:0 0 20px;font-size:21px}
.purchase-request-review dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px 20px;margin:0 0 26px;font-size:13px;line-height:1.8}.purchase-request-review dt{font-weight:800;color:#34546c}.purchase-request-review dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.purchase-review-actions{display:flex;gap:10px;flex-wrap:wrap}.purchase-review-actions .purchase-primary{background:#123d5d;color:#fff}.purchase-request-status{font-size:13px;color:#235774;line-height:1.8}
@media(max-width:700px){.shop-mode-switch{gap:8px}.shop-mode-switch button{flex:1;min-width:0;padding:12px}.shop-mode-switch button strong{font-size:14px}.shop-mode-switch button small{font-size:10px}.shop-category-view .purchase-hero{padding:26px 0}.shop-category-view .purchase-hero h1{font-size:29px}.purchase-request-form,.purchase-request-review{padding:20px}.purchase-form-grid{grid-template-columns:1fr;gap:18px}.purchase-request-review dl{grid-template-columns:1fr;gap:4px}.purchase-request-review dd{margin-bottom:12px}.shop-filters input{width:100%}.shop-filters label{max-width:100%}}

/* Shared photo attachments for every purchasing request category. */
.purchase-photo-field{min-width:0;margin:0;border:1px dashed #8fb8ce;border-radius:12px;padding:20px;background:#f4faff}.purchase-photo-field legend{font-size:15px;font-weight:800;color:#214a65;padding:0 8px}.purchase-photo-field p,.purchase-photo-field small{font-size:12px;color:#5d7283;line-height:1.8}.purchase-photo-field input[type=file]{margin-top:10px;background:white}.purchase-photo-field input::file-selector-button{padding:10px 14px;border:0;border-radius:6px;background:#174d70;color:white;cursor:pointer;margin-right:12px}.purchase-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;margin:16px 0}.purchase-photo-card{margin:0;min-width:0;border:1px solid #d0e0ea;border-radius:10px;background:white;padding:10px}.purchase-photo-card img{width:100%;height:150px;object-fit:contain;background:#f2f5f7;border-radius:6px}.purchase-photo-card figcaption{font-size:12px;overflow-wrap:anywhere;margin:8px 0;color:#31536a}.purchase-photo-card button{border:1px solid #c4d6e2;padding:6px 13px;border-radius:6px;background:white;color:#8c362f;cursor:pointer}.purchase-primary:disabled{opacity:.5;cursor:wait}#purchase-photo-status{overflow-wrap:anywhere}#purchase-review-photos h4{margin-top:26px}@media(max-width:540px){.purchase-photo-field{padding:14px}.purchase-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.purchase-photo-card img{height:120px}}

.sale-owner-note{font-size:13px;line-height:1.9;color:#587084}.sale-owner-note a{display:inline-block;margin-left:10px;color:#164c72;font-weight:700}.sale-image-button{display:block;width:100%;padding:0;border:0;background:#f4f8fb;border-radius:10px;cursor:zoom-in}.sale-card .sale-image-button img{height:235px}.sale-card h3{line-height:1.5;overflow-wrap:anywhere}.sale-specs{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px 12px;font-size:13px;line-height:1.7}.sale-specs dt{font-weight:700;color:#536e83}.sale-specs dd{margin:0;overflow-wrap:anywhere}.sale-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.8}.sale-inquire{display:block;text-align:center;text-decoration:none;margin-top:20px}.sale-photo-count{font-size:12px;color:#4c718d}.sale-sold{font-weight:800;color:#97652f}.sale-photo-dialog{box-sizing:border-box;border:0;border-radius:16px;padding:22px;max-width:min(1000px,94vw);width:100%;max-height:94vh;background:#f6fbff;color:#183a52}.sale-photo-dialog::backdrop{background:#071626de}.sale-photo-dialog>img{display:block;width:100%;height:65vh;object-fit:contain;margin:12px 0}.sale-photo-dialog>div{display:flex;gap:12px;justify-content:center}.sale-photo-dialog button,.sales-admin-toolbar button,#sales-admin-list button{background:#173f5e;color:white;border:0;padding:11px 16px;border-radius:8px;cursor:pointer;font:inherit}.sale-photo-dialog #sale-photo-close{display:block;margin-left:auto}.sale-photo-dialog p{text-align:center}.sales-admin-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.sales-admin-toolbar h2{margin-right:auto}#sales-admin-status{padding:14px 0;color:#1a526e;line-height:1.8}#sales-auth input{display:block;margin:20px 0;padding:18px;border:1px dashed #a3c5d8;width:min(100%,600px);box-sizing:border-box}.sales-list-title{margin-top:45px}.sale-card{min-width:0}.shop-filters input{width:min(520px,80vw)}@media(max-width:540px){.sale-specs{grid-template-columns:76px minmax(0,1fr)}.sale-photo-dialog>img{height:55vh}}

#sales-password-login,#sales-password-setup-form{display:grid;gap:12px;max-width:480px}#sales-password-login input,#sales-password-setup-form input{padding:14px;border:1px solid #bfd0de;border-radius:8px;font:inherit;width:100%;box-sizing:border-box}#sales-first-auth{margin-top:24px;padding-top:14px;border-top:1px solid #d6e3ed}

#company-login-form,#company-edit-form{display:grid;gap:12px;max-width:480px}#company-login-form input,#company-edit-form input,.company-search input{display:block;width:100%;box-sizing:border-box;padding:13px;border:1px solid #bfd0de;border-radius:9px;font:inherit}.company-search{display:block;max-width:580px;margin:22px 0;font-size:14px}.company-search input{margin-top:8px}.company-management-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px}#company-groups{display:flex;flex-direction:column;gap:10px;align-self:start}#company-groups button{padding:15px;text-align:left;border:1px solid #c5dbe8;border-radius:10px;background:#fff;color:#204a67;font:inherit;cursor:pointer;overflow-wrap:anywhere}#company-groups button[aria-pressed=true]{background:#163f5f;color:white}.company-member-group{margin-bottom:28px}.company-member-group h4{font-size:18px;color:#1b526f}.company-member-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.company-member-card{padding:20px;border:1px solid #d2e2eb;border-radius:12px;background:#fff;min-width:0;overflow-wrap:anywhere}.company-member-card h5{font-size:18px;margin:0 0 12px}.company-member-card p{font-size:13px;line-height:1.8;color:#4b6d83}.company-member-card button,#company-edit-cancel{padding:10px 14px;border:1px solid #bcd0de;background:white;border-radius:8px;color:#1e526f;cursor:pointer}#company-edit-panel{margin-top:28px}#company-status{color:#1d5878;line-height:1.8;padding:12px 0}@media(max-width:750px){.company-management-layout{grid-template-columns:1fr}#company-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.company-member-cards{grid-template-columns:1fr}}
