.branch-inventory { max-width: 1180px; margin: 0 auto 72px; padding: 32px; border: 1px solid #d5e4da; border-radius: 18px; background: #f8fbf8; }
.branch-inventory-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.branch-inventory-head h2 { margin: 5px 0 7px; color: #005e58; font-size: clamp(23px,3vw,32px); line-height: 1.45; }
.branch-inventory-head p { max-width: 750px; margin: 0; color: #5f7065; font-size: 13px; line-height: 1.85; }
.branch-inventory-head > a { flex: none; padding: 11px 15px; border: 1px solid #a5c6ae; border-radius: 9px; color: #006d67; background: #fff; font-size: 11px; font-weight: 700; text-decoration: none; }
.branch-inventory-head > a:hover { background: #eaf5ee; }
.inventory-counts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 24px 0; }
.inventory-counts > div { padding: 16px; border: 1px solid #d5e4da; border-radius: 11px; background: #fff; }
.inventory-counts strong { display: block; color: #006d67; font-size: 26px; line-height: 1.25; }
.inventory-counts span { display: block; color: #607369; font-size: 11px; line-height: 1.6; }
.inventory-controls { display: grid; grid-template-columns: 1.1fr .85fr 1.3fr; gap: 11px; }
.inventory-controls label { display: block; color: #365b4a; font-size: 11px; font-weight: 700; }
.inventory-controls input,.inventory-controls select { display: block; width: 100%; min-height: 42px; margin-top: 5px; padding: 7px 11px; border: 1px solid #cdded2; border-radius: 8px; color: #264939; background: #fff; font: inherit; font-size: 12px; }
.inventory-result-count { margin: 16px 0 10px; color: #607369; font-size: 11px; font-weight: 700; }
.inventory-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.inventory-card { display: flex; flex-direction: column; min-width: 0; padding: 16px; border: 1px solid #dce8dc; border-radius: 11px; background: #fff; }
.inventory-card.uncertain { background: #fbfaf6; border-color: #e6dec8; }
.inventory-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.inventory-card-top span { padding: 4px 7px; border-radius: 20px; color: #006d67; background: #e7f4ec; font-size: 9px; font-weight: 800; }
.inventory-card.uncertain .inventory-card-top span { color: #786038; background: #f5efdf; }
.inventory-card-top small { color: #708076; font-size: 9px; }
.inventory-card h3 { margin: 12px 0 3px; color: #244d3d; font-size: 15px; line-height: 1.55; }
.inventory-place { margin: 0 0 10px; color: #8c6a32; font-size: 10px; font-weight: 700; }
.inventory-evidence { margin: 0 0 14px; color: #617269; font-size: 11px; line-height: 1.75; }
.inventory-links { display: flex; flex-wrap: wrap; gap: 7px 11px; margin-top: auto; padding-top: 10px; border-top: 1px solid #edf1ed; }
.inventory-links a { color: #006d67; font-size: 10px; font-weight: 700; text-underline-offset: 2px; }
.inventory-links span { color: #79847b; font-size: 10px; }
.inventory-empty { grid-column: 1/-1; padding: 28px; border: 1px dashed #cbdcce; border-radius: 9px; color: #5c7064; text-align: center; }
.inventory-more { display: block; margin: 17px auto 0; padding: 10px 18px; border: 1px solid #006d67; border-radius: 9px; color: #006d67; background: #fff; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.inventory-more[hidden] { display: none; }
.inventory-caveat { margin: 17px 0 0; color: #67786c; font-size: 11px; line-height: 1.8; }
@media (max-width: 900px) { .branch-inventory { margin-inline: 17px; } .inventory-list { grid-template-columns: repeat(2,minmax(0,1fr)); } .branch-inventory-head { display: block; } .branch-inventory-head > a { display: inline-block; margin-top: 13px; } }
@media (max-width: 620px) { .branch-inventory { padding: 20px 15px; margin-inline: 10px; } .inventory-counts { grid-template-columns: 1fr 1fr; } .inventory-counts > div:last-child { grid-column: 1/-1; } .inventory-controls,.inventory-list { grid-template-columns: 1fr; } .inventory-card h3 { font-size: 16px; } }
