.product-logo-mark { width: 2rem; height: 2rem; flex: 0 0 auto; }
.app-public-brand { display: inline-flex; align-items: center; gap: var(--hb-space-2); }
.app-sidebar-brand:has(> .product-logo-mark) { display: grid; grid-template-columns: 2rem 1fr; gap: var(--hb-space-2); }
.app-sidebar-brand > small { grid-column: 2; }
.company-identity { display: inline-flex; align-items: center; gap: var(--hb-space-3); max-width: 100%; vertical-align: middle; }
.company-identity-name { min-width: 0; overflow-wrap: anywhere; font-size: inherit; }
.company-identity [hidden] { display: none !important; }
.company-logo-image { width: 4rem; height: 2.75rem; object-fit: contain; flex: 0 0 auto; background: var(--hb-paper); border-radius: var(--hb-radius-sm); padding: var(--hb-space-1); }
.company-initials { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; background: var(--hb-brand); color: var(--hb-on-primary); border-radius: var(--hb-radius); font-size: 1rem; font-weight: 700; }
.app-sidebar-brand .company-identity { font-size: 1rem; }
.company-logo-settings > .company-identity { margin-block: var(--hb-space-3); }
.public-shell:has(.account-showcase) .app-content { max-width: 1240px; padding-top: var(--hb-space-8); }
.account-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 590px; border: 1px solid var(--hb-border); border-radius: var(--hb-radius-lg); overflow: hidden; background: var(--hb-surface); }
.account-brand { position: relative; display: flex; align-items: center; isolation: isolate; overflow: hidden; padding: clamp(2rem, 5vw, 4rem); background: var(--hb-brand-stage); color: var(--hb-brand-stage-text); }
.account-brand::before { content: ""; position: absolute; z-index: -2; inset: -35%; background: radial-gradient(ellipse at 25% 30%, var(--hb-brand-glow), transparent 58%), radial-gradient(ellipse at 80% 75%, var(--hb-brand-blue-glow), transparent 55%); animation: brand-drift 28s ease-in-out infinite alternate; }
.account-brand::after { content: ""; position: absolute; z-index: -1; inset: 20% 0 0; opacity: .2; background: url("../brand/roofline.svg") bottom / auto 70% repeat-x; }
.account-brand-copy { position: relative; padding-bottom: var(--hb-space-12); }
.account-brand-mark { width: 4.5rem; height: 4.5rem; margin-bottom: var(--hb-space-8); }
.account-product-name { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 700; line-height: 1.2; letter-spacing: -.04em; overflow-wrap: anywhere; }
.account-tagline { font-size: 1.0625rem; line-height: 1.6; color: var(--hb-brand-stage-text); }
.account-card { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(1.5rem, 4vw, 3rem); }
.account-card .app-login { width: 100%; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.account-card :is(h1, h2) { overflow-wrap: anywhere; }
.account-card img, .account-card svg { max-width: 100%; }
@keyframes brand-drift { from { transform: translate(-3%, -2%) rotate(-5deg); } to { transform: translate(3%, 2%) rotate(5deg); } }
@media (max-width: 991.98px) {
  .account-showcase { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .account-card { grid-row: 1; padding: var(--hb-space-6); }
  .account-brand { min-height: 240px; padding: var(--hb-space-8); }
  .account-brand-copy { padding-bottom: 0; }
  .account-brand-mark { width: 3rem; height: 3rem; margin-bottom: var(--hb-space-4); }
  .account-product-name { font-size: 1.75rem; }
  .account-tagline { max-width: none; margin-bottom: 0; }
  .public-shell:has(.account-showcase) .app-content { padding-top: var(--hb-space-4); }
}
@media (prefers-reduced-motion: reduce) { .account-brand::before { animation: none; } }
@media print {
  .company-identity { break-inside: avoid; color: var(--hb-ink); }
  .company-logo-image { display: inline-block !important; width: 18mm; height: 12mm; object-fit: contain; background: var(--hb-paper); }
  .company-initials { display: inline-grid !important; width: 10mm; height: 10mm; font-size: 10pt; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .company-identity .company-initials { background: var(--hb-brand) !important; color: var(--hb-on-primary) !important; }
  .company-identity-name { color: var(--hb-ink); }
}
