/* v7.2.9 — Estrutura responsiva da página pública nos dois temas.
   Cabeçalho com altura natural; ações fora das listas de logotipos. */
#auth.market-auth #public-market-dashboard .terminal-header {
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;gap:20px;height:auto;min-height:76px;
  padding:12px 0;margin:0;overflow:visible;
}
#auth.market-auth #public-market-dashboard .market-brand {
  min-width:0;max-width:100%;gap:8px;flex:0 1 auto;
}
#auth.market-auth #public-market-dashboard .market-brand>div {min-width:0}
#auth.market-auth #public-market-dashboard .market-brand strong {
  font-size:22px;line-height:1.2;letter-spacing:-.7px;
}
#auth.market-auth #public-market-dashboard .market-brand>div>span {
  font-size:7px;line-height:1.4;letter-spacing:1.2px;
}
#auth.market-auth #public-market-dashboard .market-logo-brand {
  flex:0 0 34px;width:34px;height:34px;padding:6px;
}
#auth.market-auth #public-market-dashboard .terminal-nav {
  display:flex;align-items:center;gap:18px;margin:0;
}
#auth.market-auth #public-market-dashboard .terminal-header-actions {
  display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;
  gap:8px;justify-self:end;min-width:0;
}
#auth.market-auth #public-market-dashboard .terminal-header-actions .display-icon-button {
  flex:0 0 44px;width:44px;height:44px;margin:0;
}
#auth.market-auth #public-market-dashboard .terminal-header-actions .terminal-button {
  flex:0 0 auto;width:auto;min-width:84px;min-height:44px;
  margin:0;padding:10px 14px;gap:8px;font-size:14px;line-height:1.3;white-space:nowrap;
}
#auth.market-auth #public-market-dashboard>[data-market-ticker="public"] {min-width:0;max-width:100%}

#auth.market-auth #public-market-dashboard .bank-presentation {
  display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;
  grid-template-areas:"heading action" "intro action" "logos logos" "details details";
}
#auth.market-auth #public-market-dashboard .bank-heading {grid-area:heading;min-width:0}
#auth.market-auth #public-market-dashboard .bank-intro {grid-area:intro}
#auth.market-auth #public-market-dashboard .bank-logo-scroll {
  grid-area:logos;overflow:visible;padding:0;min-width:0;max-width:100%;
}
#auth.market-auth #public-market-dashboard .bank-logo-grid {
  display:grid;grid-template-columns:repeat(11,minmax(0,1fr));gap:6px;width:100%;
}
#auth.market-auth #public-market-dashboard .bank-logo-grid li {
  display:flex;min-width:0;min-height:66px;width:100%;padding:6px 4px;
}
#auth.market-auth #public-market-dashboard .bank-logo-grid li>span {overflow-wrap:break-word}
#auth.market-auth #public-market-dashboard .bank-details {grid-area:details;min-width:0}
#auth.market-auth #public-market-dashboard .bank-coverage-trigger {
  grid-area:action;display:inline-flex;align-items:center;justify-content:center;
  align-self:center;justify-self:end;gap:10px;max-width:100%;min-height:44px;
  margin:0 0 8px;padding:10px 14px;border:1px solid var(--bank-border);border-radius:8px;
  background:var(--bank-accent-soft);color:var(--bank-accent);
  font-family:inherit;font-size:12px;font-weight:600;line-height:1.4;cursor:pointer;
}
#auth.market-auth #public-market-dashboard .bank-coverage-trigger:hover {filter:brightness(.96)}
#auth.market-auth #public-market-dashboard .bank-coverage-trigger svg {flex:0 0 18px;width:18px;height:18px}

@media(max-width:1100px) {
  #auth.market-auth #public-market-dashboard .terminal-header {grid-template-columns:minmax(0,1fr) auto;gap:12px}
  #auth.market-auth #public-market-dashboard .terminal-nav {display:none}
  #auth.market-auth #public-market-dashboard .bank-logo-grid {grid-template-columns:repeat(6,minmax(0,1fr))}
  #auth.market-auth #public-market-dashboard .bank-logo-grid li:nth-child(n+7) {display:none}
}
@media(max-width:760px) {
  #auth.market-auth #public-market-dashboard {
    padding-left:max(16px,env(safe-area-inset-left))!important;
    padding-right:max(16px,env(safe-area-inset-right))!important;
  }
  #auth.market-auth #public-market-dashboard .terminal-header {min-height:68px;padding:10px 0;gap:10px}
  #auth.market-auth #public-market-dashboard .market-brand strong {font-size:20px}
  #auth.market-auth #public-market-dashboard .market-logo-brand {flex-basis:32px;width:32px;height:32px}
}
@media(max-width:620px) {
  #auth.market-auth #public-market-dashboard .bank-presentation {
    grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "intro" "logos" "action" "details";
  }
  #auth.market-auth #public-market-dashboard .bank-logo-grid {grid-template-columns:repeat(4,minmax(0,1fr))}
  #auth.market-auth #public-market-dashboard .bank-logo-grid li {min-height:68px}
  #auth.market-auth #public-market-dashboard .bank-logo-grid li:nth-child(n+5) {display:none}
  #auth.market-auth #public-market-dashboard .bank-coverage-trigger {
    width:100%;justify-self:stretch;justify-content:space-between;margin:8px 0 0;
  }
  #auth.market-auth #public-market-dashboard .market-summary-card strong {font-size:clamp(16px,4.8vw,21px)}
  #auth.market-auth #public-market-dashboard .bank-coverage-dialog {
    width:calc(100vw - 24px);max-width:480px;
    height:min(720px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);padding:16px 12px;
  }
  #auth.market-auth #public-market-dashboard .coverage-list {grid-template-columns:minmax(0,1fr)}
  #auth.market-auth #public-market-dashboard .coverage-institution {min-height:56px}
}
@media(max-width:480px) {
  #auth.market-auth #public-market-dashboard .market-brand>div>span {display:none}
}
@media(max-width:420px) {
  #auth.market-auth #public-market-dashboard .terminal-header-actions {gap:6px}
  #auth.market-auth #public-market-dashboard .terminal-header-actions .terminal-button {min-width:70px;padding:10px 12px}
  #auth.market-auth #public-market-dashboard .terminal-button>span {display:none}
}
