/* Shared CI and document structure. Original logos are never redrawn. */
.brand-document{--doc-accent:#99623c;--doc-paper:#fffefb;--doc-ink:#302b26;--doc-muted:#71685d;--doc-line:#e8e2d8;color:var(--doc-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.brand-document[data-brand="wirtshaus"]{--doc-accent:#98613e;--doc-logo-copper:#c98b5c;--doc-paper:#fffdf8}
.document-head{display:flex;align-items:center;gap:22px;border-bottom:2px solid var(--doc-accent);padding:0 0 18px;margin-bottom:22px}
.document-logo{display:block;object-fit:contain;width:210px;max-height:80px;flex-shrink:0}
.document-kicker{color:var(--doc-accent);font-size:13px;letter-spacing:1.2px;text-transform:uppercase;font-weight:700}
.document-title h1{font-size:28px;line-height:1.25;margin:4px 0}
.document-title>p:last-child{color:var(--doc-muted);font-size:15px}
.document-section{margin:22px 0 0}.document-section h2{font-size:18px;padding:8px 0;border-bottom:1px solid var(--doc-line);color:var(--doc-accent)}
.document-footer{display:flex;justify-content:space-between;gap:12px;color:var(--doc-muted);border-top:1px solid var(--doc-line);padding:14px 0 0;margin:24px 0 0;font-size:12px}
@media(max-width:640px){.document-head{display:block;padding-bottom:14px;margin-bottom:16px}.document-logo{width:190px;max-height:55px;margin:0 auto 18px}.document-title h1{font-size:25px}.document-kicker{font-size:12px}.document-footer{font-size:11px}}
@media print{
 @page{size:A4;margin:14mm 14mm 16mm}
 body{background:white!important;color:#222!important;font-size:10pt}
 .sidebar,.topbar,.mobile-nav,.create-fab,.demo-banner,.skip,#toast,#modal-root,.no-print{display:none!important}
 .workspace,.main{margin:0!important;padding:0!important;max-width:none!important;width:auto!important}
 .brand-document{--doc-paper:white;--doc-ink:#222;--doc-muted:#555;--doc-line:#bbb;max-width:none!important;background:white!important;font-size:10pt}
 .document-head{display:flex;padding-bottom:5mm;margin-bottom:5mm;break-after:avoid}
 .document-logo{width:48mm;max-height:20mm;margin:0}
 .document-title h1{font-size:19pt}.document-title>p:last-child,.document-kicker{font-size:9pt}
 .document-section{margin-top:4mm}.document-section h2{font-size:12pt;break-after:avoid}
 .document-footer{font-size:8pt;margin-top:6mm}
}
