body{background:#f4f7f4;color:#26352b}.navbar{box-shadow:0 2px 9px #0001}.card{border:0;box-shadow:0 2px 14px #1a3b220c}.card-header{background:#fff;font-weight:650}.stat-card{border-left:4px solid #198754}.table th{font-size:.88rem;color:#526257;white-space:nowrap;background:#fbfcfb}.table td{vertical-align:middle}.form-label{font-weight:600;color:#4a5a4e}.login-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#e8f2e9,#f7faf7)}.login-card{width:min(94vw,420px);border:0;box-shadow:0 12px 40px #193d2020}.brand-icon{font-size:2.5rem}.invoice-paper{background:#fff;max-width:920px;min-height:900px;margin:auto;padding:52px;box-shadow:0 2px 18px #0001}.invoice-paper h1{color:#198754}.template-modern{border-top:12px solid #198754}.template-kompakt{padding:32px;min-height:700px}.btn-success{background:#198754}@media print{body{background:white}nav,footer,.no-print{display:none!important}main{padding:0!important}.invoice-paper{box-shadow:none;max-width:none;margin:0;padding:15mm}.template-modern{border-top:8px solid #198754}}

/* V3.3: Firmenlogo in Navigation und Rechnung */
.navbar-logo{width:34px;height:34px;object-fit:contain;background:#fff;border-radius:4px;vertical-align:middle;margin-right:5px}
.login-logo{width:96px;height:96px;object-fit:contain}
.invoice-logo{display:block;width:105px;height:105px;object-fit:contain;margin-bottom:10px}
.invoice-header{gap:20px}
@media print{.invoice-logo{width:27mm;height:27mm;print-color-adjust:exact;-webkit-print-color-adjust:exact}.invoice-header{break-inside:avoid}}

/* Kunden bearbeiten: Notizen rechts, Unterkante auf Höhe Leitweg-ID */
@media (min-width: 992px) {
  .customer-edit-layout > .col-lg-6 { display: flex; flex-direction: column; }
  .customer-edit-layout .customer-notes-column { display: flex; flex-direction: column; flex: 1; min-height: 0; }
  .customer-edit-layout .customer-notes-input { flex: 1; min-height: 320px; resize: vertical; }
}
@media (max-width: 991.98px) {
  .customer-edit-layout .customer-notes-input { min-height: 180px; }
}

/* Kundenformular: rechte Notizen-Spalte bis zur Unterkante von Leitweg-ID */
@media (min-width: 992px) {
  .customer-edit-layout { align-items: stretch; }
  .customer-edit-layout > .col-lg-6 { min-width: 0; }
  .customer-edit-layout .customer-notes-column { height: 100%; display: flex; flex-direction: column; }
  .customer-edit-layout .customer-notes-input { flex: 1 1 auto; min-height: 0; resize: vertical; }
}
