/* Selected Classic Leaf Seal: compact lockup, full seal, and leaf-only variants. */
.ref-brand .brand-logo-header{display:block;width:192px;max-width:100%;height:auto}
.ref-header .ref-brand{flex-shrink:0;min-height:44px}
.ref-brand-footer .brand-logo-seal{display:block;width:128px;height:128px;object-fit:contain}
.sidebar-brand-row .brand{display:flex;align-items:center;min-height:52px;max-width:100%}
.brand .brand-logo-full{display:block;width:216px;max-width:100%;height:auto;min-width:0}
.brand .brand-logo-symbol{display:none;width:40px;height:40px;flex-shrink:0}
@media(min-width:701px){
  .staff-mode.staff-sidebar-collapsed .brand .brand-logo-full,
  .borrower-mode.borrower-sidebar-collapsed .brand .brand-logo-full{display:none}
  .staff-mode.staff-sidebar-collapsed .brand .brand-logo-symbol,
  .borrower-mode.borrower-sidebar-collapsed .brand .brand-logo-symbol{display:block}
}
@media(max-width:700px){
  .ref-brand .brand-logo-header{width:176px}
  .ref-brand-footer .brand-logo-seal{width:112px;height:112px}
  .brand .brand-logo-full{width:192px}
}

/* Program identities use selected symbols with readable program names. */
.ref-programs [data-site-program]{display:flex;align-items:center;gap:12px;text-align:left}
.program-tab-symbol{display:block;width:24px;height:24px;flex-shrink:0;object-fit:contain}
.ref-program-brand{display:flex;align-items:center;gap:18px;margin-bottom:22px;text-align:left}
.ref-program-brand h3{margin:0}
.program-preview-symbol{display:block;width:64px;height:64px;flex-shrink:0;object-fit:contain}
.explore-catalogue .explore-card-heading{display:flex;flex-direction:row;align-items:center;gap:12px}
.explore-card-heading h2{flex:1;min-width:0;margin:0}
.program-card-symbol{display:block;width:48px;height:48px;flex-shrink:0;object-fit:contain}
.program-detail-identity{display:flex;align-items:center;gap:16px;max-width:100%;line-height:1.25}
.program-detail-identity>span{min-width:0;overflow-wrap:anywhere}
.program-detail-symbol{display:block;width:64px;height:64px;flex-shrink:0;object-fit:contain}
@media(max-width:700px){
  .ref-program-brand{gap:12px}
  .program-preview-symbol{width:52px;height:52px}
  .program-detail-identity{gap:12px}
  .program-detail-symbol{width:48px;height:48px}
}

.program-dialog-heading{display:flex;align-items:center;gap:16px;line-height:1.3}
.program-dialog-heading>span{min-width:0;overflow-wrap:anywhere}
.program-modal-symbol{display:block;width:56px;height:56px;flex-shrink:0;object-fit:contain}
@media(max-width:700px){.program-dialog-heading{gap:12px}.program-modal-symbol{width:48px;height:48px}}
