/* Original invoice logo: preserve its white background and 260:183 proportions. */
.herberg-logo,.herberg-login-logo{display:block;height:auto;object-fit:contain;flex:none;background:#fff;border-radius:6px}
.sidebar .herberg-brand{flex-direction:column;align-items:flex-start;gap:12px}
.sidebar .herberg-logo{width:156px;max-width:100%}
.sidebar .herberg-brand>span{font-size:.875rem;line-height:1.4}
.herberg-login-logo{width:240px;max-width:100%;margin-bottom:28px}
.public-header .herberg-logo{width:112px}
.public-header .herberg-brand{gap:14px;max-width:360px}
.document-brand{display:flex;align-items:center;gap:24px;background:#fff;border:1px solid var(--border);border-bottom:3px solid var(--sand);border-radius:12px;padding:20px 28px;margin-bottom:24px;max-width:1000px}
.document-brand img{width:130px;height:auto;flex:none;object-fit:contain}
.document-brand strong{display:block;color:var(--charcoal);font-size:1.2rem}
.document-brand span{display:block;color:var(--primary);margin-top:6px}
@media print{
  .document-page :is(.sidebar,.page-header,.toolbar,.role-pill,.actions,.back-link,.footer-links,button){display:none!important}
  .document-page .shell{display:block}.document-page .main{padding:0;max-width:none}.document-brand{break-inside:avoid;border-radius:0}
  .document-page :is(.document-brand,.invoice-paper,thead,tfoot){-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
@media(max-width:760px){
  .document-brand{gap:14px;padding:16px}.document-brand img{width:96px}.document-brand strong{font-size:1rem}
  .sidebar .herberg-brand{flex-direction:row;align-items:center;max-width:none}
  .sidebar .herberg-logo{width:96px}
  .sidebar .herberg-brand>span{max-width:220px}
  .herberg-login-logo{width:156px;margin-bottom:20px}
  .public-header .herberg-logo{width:96px}
}
