.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.tab .tab-count { min-width: 22px; height: 22px; border-radius: 999px; padding: 0 6px; display: inline-grid; place-items: center; background: rgba(0,0,0,.09); color: inherit; font-size: 10px; font-weight: 800; line-height: 1; }
.tab.active .tab-count, .tab:hover .tab-count { background: rgba(255,255,255,.18); }
.tab[data-panel="downloads"] > svg, .bh-download-filter svg[fill="none"] { fill: none; stroke: currentColor; }
.bh-download-loading, .bh-download-error { width: min(1180px, 100%); margin: 0 auto; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; padding: 28px 18px; background: rgba(255,255,255,.38); color: #666; text-align: center; }
.bh-download-panel { width: min(1180px, 100%); margin: 0 auto; border: 1px solid rgba(0,0,0,.1); border-radius: 8px; overflow: hidden; background: rgba(255,255,255,.38); box-shadow: 0 2px 18px rgba(0,0,0,.12); }
.bh-download-heading { padding: 21px 23px 17px; border-bottom: 1px solid rgba(0,0,0,.09); }
.bh-download-heading h2 { margin: 2px 0 0; color: #333; font-size: 24px; font-weight: 650; line-height: 1.2; }
.bh-download-heading p { margin: 5px 0 0; color: #666; font-size: 12px; line-height: 18px; }
.bh-download-eyebrow { margin: 0 !important; color: #54595f !important; font-size: 10px !important; font-weight: 800 !important; letter-spacing: .08em; text-transform: uppercase; }
.bh-download-summary { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; border-bottom: 1px solid rgba(0,0,0,.09); background: rgba(0,0,0,.08); }
.bh-download-filter { min-width: 0; min-height: 70px; border: 0; padding: 9px 7px; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255,255,255,.68); color: #54595f; cursor: pointer; }
.bh-download-filter svg { width: 22px; height: 22px; flex: 0 0 auto; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bh-download-filter span:last-child { min-width: 0; text-align: left; }
.bh-download-filter strong, .bh-download-filter small { display: block; }
.bh-download-filter strong { color: #333; font-size: 17px; line-height: 1; }
.bh-download-filter small { margin-top: 3px; overflow: hidden; color: #666; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bh-download-filter:hover, .bh-download-filter:focus-visible, .bh-download-filter.active { background: rgba(41,41,41,.1); color: #292929; outline: none; }
.bh-download-filter.active { box-shadow: inset 0 -3px 0 #292929; }
.bh-download-toolbar { display: grid; grid-template-columns: minmax(220px,1fr) minmax(170px,.44fr) auto; align-items: end; gap: 10px; padding: 14px 23px 12px; }
.bh-download-field { display: grid; gap: 4px; }
.bh-download-field > span { color: #666; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.bh-download-field input, .bh-download-field select { width: 100%; min-height: 44px; border: 1px solid rgba(0,0,0,.18); border-radius: 8px; padding: 8px 11px; background: rgba(255,255,255,.62); color: #333; font: inherit; font-size: 13px; }
.bh-download-field input:focus-visible, .bh-download-field select:focus-visible { border-color: #292929; outline: 3px solid rgba(41,41,41,.15); outline-offset: 1px; }
.bh-download-batch-actions { display: flex; gap: 8px; }
.bh-download-batch-actions button, .bh-download-queue-actions button { min-height: 44px; border: 1px solid rgba(0,0,0,.18); border-radius: 8px; padding: 8px 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: rgba(255,255,255,.3); color: #333; font-size: 11px; font-weight: 750; cursor: pointer; }
.bh-download-batch-actions button.primary, .bh-download-queue-actions button.primary { border-color: #292929; background: #292929; color: #fff; }
.bh-download-batch-actions button svg, .bh-download-queue-actions button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bh-download-batch-actions button:hover, .bh-download-batch-actions button:focus-visible, .bh-download-queue-actions button:hover, .bh-download-queue-actions button:focus-visible { border-color: #292929; outline: 3px solid rgba(41,41,41,.15); outline-offset: 1px; }
.bh-download-batch-actions button:disabled, .bh-download-queue-actions button:disabled { opacity: .42; cursor: not-allowed; outline: none; }
.bh-download-result-summary { min-height: 38px; margin: 0 23px; border-bottom: 1px solid rgba(0,0,0,.08); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #666; font-size: 10px; font-weight: 700; }
.bh-download-notice { margin: 8px 23px 0; border-left: 3px solid #292929; padding: 8px 10px; background: rgba(41,41,41,.08); color: #333; font-size: 11px; }
.bh-download-notice p { margin: 0; }
.bh-download-progress { width: 100%; height: 7px; margin-top: 8px; display: block; accent-color: #292929; }
.bh-download-queue { margin: 8px 23px 0; border: 1px solid rgba(0,0,0,.12); border-radius: 8px; padding: 10px; background: rgba(255,255,255,.28); }
.bh-download-queue-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: #333; font-size: 11px; }
.bh-download-queue-head strong, .bh-download-queue-head span { display: block; }
.bh-download-queue-head span span { margin-top: 2px; color: #666; font-size: 10px; }
.bh-download-queue-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 9px; flex-wrap: wrap; }
.bh-download-queue-actions button { min-height: 40px; }
.bh-download-list { margin: 0; padding: 0 23px; list-style: none; }
.bh-download-row { min-height: 70px; display: grid; grid-template-columns: 44px 46px minmax(0,1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid rgba(0,0,0,.08); }
.bh-download-check { width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.bh-download-check input { width: 20px; height: 20px; accent-color: #292929; }
.bh-download-preview { width: 42px; height: 42px; border: 1px solid rgba(0,0,0,.1); border-radius: 7px; overflow: hidden; display: grid; place-items: center; background: rgba(255,255,255,.42); color: #54595f; }
.bh-download-preview img { width: 100%; height: 100%; object-fit: cover; }
.bh-download-preview svg { width: 22px; height: 22px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bh-download-ident { min-width: 0; }
.bh-download-ident strong, .bh-download-ident span, .bh-download-ident small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bh-download-ident strong { color: #333; font-size: 13px; }
.bh-download-ident span { margin-top: 2px; color: #666; font-size: 10px; }
.bh-download-ident small { margin-top: 1px; color: rgba(84,89,95,.72); font-size: 9px; }
.bh-download-direct { min-width: 96px; min-height: 44px; border: 1px solid rgba(0,0,0,.16); border-radius: 8px; padding: 8px 11px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: rgba(255,255,255,.45); color: #333; font-size: 11px; font-weight: 750; text-decoration: none; }
.bh-download-direct svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bh-download-direct:hover, .bh-download-direct:focus-visible { border-color: #292929; background: #292929; color: #fff; outline: 3px solid rgba(41,41,41,.15); outline-offset: 1px; }
.bh-download-empty { padding: 30px 14px; color: #666; text-align: center; }
.bh-download-footer { display: flex; justify-content: space-between; gap: 20px; padding: 14px 23px 18px; color: #666; font-size: 10px; }
.bh-download-footer p { max-width: 540px; margin: 0; }
@media (max-width: 900px) {
  .bh-download-summary { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .bh-download-toolbar { grid-template-columns: minmax(0,1fr) minmax(150px,.44fr); }
  .bh-download-batch-actions { grid-column: 1 / -1; justify-content: flex-end; }
}
@media (max-width: 640px) {
  .bh-download-panel { border-radius: 8px; }
  .bh-download-heading { padding: 16px 13px 13px; }
  .bh-download-heading h2 { font-size: 20px; }
  .bh-download-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bh-download-filter { min-height: 62px; }
  .bh-download-toolbar { grid-template-columns: 1fr 1fr; padding: 12px 12px 10px; }
  .bh-download-field:first-child { grid-column: 1 / -1; }
  .bh-download-batch-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .bh-download-result-summary { margin: 0 12px; }
  .bh-download-notice, .bh-download-queue { margin: 8px 12px 0; }
  .bh-download-queue-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
  .bh-download-queue-actions button { padding: 7px 5px; }
  .bh-download-list { padding: 0 12px; }
  .bh-download-row { grid-template-columns: 38px 40px minmax(0,1fr) 44px; gap: 7px; min-height: 68px; }
  .bh-download-check { width: 38px; }
  .bh-download-preview { width: 38px; height: 38px; }
  .bh-download-direct { min-width: 44px; width: 44px; padding: 0; }
  .bh-download-direct span { display: none; }
  .bh-download-ident span { font-size: 9px; }
  .bh-download-ident small { display: none; }
  .bh-download-footer { display: block; padding: 13px 12px 16px; }
  .bh-download-footer p + p { margin-top: 7px; }
}
