.branch-catalog{max-width:1040px;margin-inline:auto;border-radius:16px;border:1px solid #dce4eb;padding:20px 28px 22px;background:#fff;scroll-margin-top:110px}.branch-caption{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.branch-caption h2{font-size:21.25px;font-weight:500;line-height:1.8;margin:0}.branch-caption p{font-size:13.75px;color:var(--muted);margin:0}.branch-main{position:relative;display:flex;justify-content:center;margin-bottom:22px}.branch-main::after{content:'';position:absolute;left:50%;top:100%;height:22px;width:1px;background:#b7c7d4}.branch-node{border-radius:12px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:104px;padding:14px 18px;border:1px solid #b9c9d6;background:#fff;color:var(--ink);cursor:pointer;transition:background .2s,border-color .2s;line-height:1.7}.branch-node:hover{background:#f1f5f8;border-color:#6d899e}.branch-node strong{font-size:28.75px;font-weight:500;letter-spacing:.02em;white-space:nowrap}.branch-node small{font-size:15px;line-height:1.8;color:#6b7c8d;margin-top:5px}.branch-count{font-size:12.5px;color:#6b7c8d;margin-top:6px;letter-spacing:.04em}.branch-root{max-width:270px;min-height:108px;border-width:2px;border-color:#526f87}.branch-root strong{font-size:32.5px}.branch-node[aria-pressed="true"]{background:#192d49;border-color:#192d49;color:#fff}.branch-node[aria-pressed="true"] small,.branch-node[aria-pressed="true"] .branch-count{color:#c0cfdd}.branch-children{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:22px 0 0;margin:0;position:relative}.branch-children::before{content:'';position:absolute;top:0;left:12.5%;right:12.5%;height:1px;background:#b7c7d4}.branch-children>li{min-width:0;position:relative;padding:0 8px}.branch-children>li::before{content:'';position:absolute;top:-22px;left:50%;width:1px;height:22px;background:#b7c7d4}.branch-toolbar{margin-top:28px}.all-notes{display:inline-flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #bdcad6;background:#fff;color:#49627a;padding:9px 17px;font-size:15px;cursor:pointer}.all-notes[aria-pressed="true"]{background:#192d49;color:#fff;border-color:#192d49}.branch-results-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-block:28px 23px}.branch-results-heading h2{font-size:27.5px;font-weight:500;margin:0}.branch-results-heading .result-count{margin:0;font-size:15px}.branch-empty{padding:34px;background:#f5f7fa;border:1px solid #dce4eb}.branch-empty h3{font-size:27.5px;font-weight:500;margin-bottom:14px}.branch-empty p{font-size:16.25px;line-height:2;color:var(--muted);white-space:pre-line;margin-bottom:22px}.branch-empty .button{font-size:15px;min-height:45px}
@media(max-width:1000px){.branch-catalog{scroll-margin-top:100px}.branch-node strong{font-size:26.25px}.branch-root strong{font-size:30px}.branch-node small{font-size:13.75px}}
@media(max-width:900px){.branch-catalog{padding:18px 18px 20px}.branch-caption{display:block;margin-bottom:16px}.branch-caption h2{font-size:20px;margin-bottom:5px}.branch-caption p{font-size:12.5px}.branch-main{padding-left:25px;justify-content:flex-start;margin-bottom:0}.branch-main::before{content:'';position:absolute;left:0;top:50%;bottom:0;width:1px;background:#b7c7d4}.branch-main::after{left:0;top:50%;height:1px;width:25px}.branch-node{min-height:94px;align-items:flex-start;padding:12px 17px}.branch-node strong,.branch-root strong{font-size:26.25px}.branch-node small{font-size:13.75px;margin-top:6px}.branch-count{font-size:12.5px;margin-top:7px}.branch-root{max-width:none;min-height:98px}.branch-children{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px 0 0 25px}.branch-children::before{top:0;bottom:0;left:0;right:auto;width:1px;height:auto}.branch-children>li{padding:0}.branch-children>li::before{left:-25px;top:50%;height:1px;width:25px}.branch-children>li:last-child::after{content:'';position:absolute;left:-26px;top:calc(50% + 1px);bottom:0;width:3px;background:#fff}.branch-toolbar{margin-top:22px;flex-direction:column;align-items:stretch;gap:14px}.branch-toolbar .all-notes{align-self:flex-start}.branch-results-heading{margin-block:24px 20px;gap:12px;align-items:flex-start;flex-direction:column}.branch-results-heading h2{font-size:27.5px}.branch-results-heading .result-count{font-size:13.75px}.branch-empty{padding:25px 22px}.branch-empty h3{font-size:25px}}
@media (max-width: 360px) {
  .branch-catalog { padding-inline: 12px; }
  .branch-node { padding-inline: 12px; }
  .branch-node strong { font-size: clamp(20px, 7.5vw, 26.25px); }
}
