.bank-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:1.5rem;align-items:start}
.bank-content{min-width:0}.bank-location{font-size:1rem;line-height:1.5;margin-bottom:1.2rem;color:var(--green)}
.bank-directory{position:sticky;top:1rem;min-width:0;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:.6rem}
.bank-tree{max-height:calc(100dvh - 4rem);overflow:auto;scrollbar-width:thin;padding:.35rem}
.bank-tree h3{font-size:.85rem;margin:.35rem .4rem .8rem}
.directory-item{display:flex;align-items:center;gap:.45rem;width:100%;text-align:left;padding:.55rem .5rem;min-height:44px;border-radius:8px;font-size:.82rem;font-weight:600;color:var(--ink);background:transparent;border:1px solid transparent;cursor:pointer;list-style:none}
.directory-item::-webkit-details-marker{display:none}
.directory-item>span:first-child{min-width:0;overflow-wrap:anywhere}
summary.directory-item::before{content:'›';color:var(--muted);width:.6rem;flex-shrink:0;font-size:1rem;line-height:1}
details[open]>summary.directory-item::before{transform:rotate(90deg)}
.directory-item:hover{background:var(--wash)}
.directory-item[aria-current=page]{background:var(--wash);color:var(--green);border-color:var(--green)}
.directory-count{margin-left:auto;background:var(--white);border:1px solid var(--line);color:var(--muted);padding:.1rem .4rem;border-radius:10px;font-size:.7rem;font-weight:500;font-variant-numeric:tabular-nums;flex-shrink:0}
.directory-levels,.directory-bands{margin-left:.65rem;padding-left:.4rem;border-left:1px solid var(--line)}
.directory-note{font-size:.7rem;line-height:1.6;margin:.8rem .4rem .4rem;color:var(--muted)}
.directory-toggle{display:none}
@media(max-width:1000px) and (min-width:901px){.bank-layout{grid-template-columns:195px minmax(0,1fr);gap:1rem}.bank-content .bank-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){
  .bank-layout{grid-template-columns:minmax(0,1fr);gap:1rem}
  .bank-directory{position:static;padding:.5rem}
  .directory-toggle{display:flex;align-items:center;justify-content:space-between;gap:.5rem;font-size:.8rem;text-align:left;line-height:1.5}
  .bank-tree{max-height:55dvh;margin-top:.6rem}
  .bank-directory:not(.is-open) .bank-tree{display:none}
}

.bank-question-dates{display:flex;flex-wrap:wrap;gap:.25rem 1rem;margin-top:.5rem;font-size:.72rem;color:var(--muted)}
