/* SouPrimeiroAC V22.2.65 / build 2286 */
@media (max-width:720px){
  #dashboardView .dashboard-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  #dashboardView .dashboard-new-project{min-width:0!important;min-height:72px!important;padding:9px 10px!important;gap:7px!important;align-items:center!important}
  #dashboardView .dashboard-new-project-icon{width:38px!important;height:38px!important;min-width:38px!important;font-size:1.45rem!important}
  #dashboardView .dashboard-new-project strong{min-width:0!important;font-size:.79rem!important;line-height:1.12!important;white-space:normal!important;text-align:left!important;overflow-wrap:anywhere!important}
}

.recording-quality-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.recording-quality-chip{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:4px 8px;border:1px solid #45484f;border-radius:999px;background:#121315;color:#eef0f2;font-size:.75rem;font-weight:700}
.recording-quality-chip.official{border-color:rgba(255,212,0,.58)}
.recording-quality-chip small{color:#a9adb4;font-size:.68rem;font-weight:600}
.storage-awaiting{display:grid;gap:6px;padding:18px;border:1px solid #34373e;border-radius:18px;background:#111214;color:#e9eaec}
.storage-awaiting strong{color:#ffd400;font-size:1rem}
.storage-awaiting span{color:#b9bdc5;line-height:1.45}
.storage-result-grid.hidden,.storage-awaiting.hidden{display:none!important}

.bh-result-summary{margin:14px 0;border:1px solid #34373e;border-radius:18px;background:#101113;overflow:hidden}
.bh-result-summary.hidden{display:none!important}
.bh-result-summary-head{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-bottom:1px solid #2f3238}
.bh-result-summary-head span{display:grid;place-items:center;min-width:28px;height:28px;border-radius:999px;background:#ffd400;color:#111214;font-weight:900}
.bh-lookup-results{display:grid;gap:8px;max-height:330px;overflow:auto;padding:10px}
.bh-result-card{width:100%;display:grid;grid-template-columns:1fr auto;grid-template-areas:"name meta" "brand meta";gap:3px 12px;padding:13px 14px;border:1px solid #34373e;border-radius:14px;background:#17191d;color:#f4f5f6;text-align:left;cursor:pointer}
.bh-result-card:hover,.bh-result-card:focus-visible,.bh-result-card.active{border-color:#ffd400;outline:none}
.bh-result-card strong{grid-area:name;font-size:.92rem;line-height:1.25}
.bh-result-card small{grid-area:brand;color:#aeb2ba}
.bh-result-meta{grid-area:meta;display:flex;gap:5px;flex-direction:column;align-items:flex-end;justify-content:center}
.bh-result-meta span{font-size:.65rem;color:#959aa4}
@media(max-width:640px){
 .bh-result-card{grid-template-columns:1fr;grid-template-areas:"name" "brand" "meta"}
 .bh-result-meta{flex-direction:row;align-items:center;justify-content:flex-start}
 .bh-lookup-results{max-height:290px}
}
.recording-quality-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}
.recording-quality-chips i{display:inline-flex;align-items:center;min-height:24px;padding:3px 7px;border:1px solid rgba(255,212,0,.52);border-radius:999px;background:#151619;color:#f0f1f3;font-size:.68rem;font-style:normal;font-weight:800}


/* V22.2.65 — produto B&H sempre visível após seleção */
.bh-result-summary-actions{display:flex;align-items:center;gap:8px}
.bh-results-toggle{min-height:28px;padding:4px 9px;border:1px solid #4a4e56;border-radius:999px;background:#17191d;color:#f4f5f6;font:inherit;font-size:.68rem;font-weight:800;cursor:pointer}
.bh-results-toggle:hover,.bh-results-toggle:focus-visible{border-color:#ffd400;outline:none}
.bh-result-summary.selection-collapsed .bh-lookup-results{max-height:88px}
.bh-result-summary.selection-collapsed .bh-result-card:not(.active){display:none!important}
#bhImportDialog .bh-preview-pane{scroll-margin-block:10px}
#bhImportDialog .bh-selected-details:not(.hidden){display:grid!important}
@media(max-width:820px){
  .bh-result-summary.selection-collapsed .bh-lookup-results{max-height:94px}
  #bhImportDialog .bh-preview-pane{min-height:42dvh}
}


/* V22.2.65 — identidade oficial SouPrimeiroAC */
.brand-mark.brand-mark-logo{padding:0!important;overflow:hidden;background:#ffd400!important;border:0!important}
.brand-mark.brand-mark-logo img{display:block;width:100%;height:100%;object-fit:cover}
.identity-branding-panel [data-logo-preset="badge"]{border-color:rgba(255,212,0,.75)}
.identity-branding-panel [data-logo-preset="badge"] .preset-badge{background:#ffd400;color:#0a0a0a;border-radius:8px;padding:2px 7px}
