.customer-card { border-left: 6px solid var(--fw-light); }


/* DEV_V2_3 - Kunden UI Cleanup */
.customer-row{
  cursor:pointer;
  transition:background .18s ease;
}

.customer-row:hover{
  background:rgba(12,127,130,.04);
}

/* KUNDENMODUL_1.1 - Stammdaten Fundament */
.kunden-editor-card .section-row{align-items:flex-start}
.kunden-form-grid{grid-template-columns:repeat(2,minmax(220px,1fr))}
.kunden-checkbox{display:flex;align-items:center;gap:10px;margin:16px 0 0;font-weight:800;color:var(--ink)}
.kunden-checkbox input{width:20px;height:20px}
.kunden-search{max-width:420px}
.kunden-filter-row{margin-top:0;margin-bottom:16px}
.field-error{border-color:#c91f1f!important;box-shadow:0 0 0 4px rgba(201,31,31,.12)!important;background:#fff8f8!important}
.archived-row td{background:#f7f8f8!important;color:#66777d}
.customer-table td .badge{white-space:nowrap}
@media(max-width:900px){.kunden-form-grid{grid-template-columns:1fr}.kunden-search{max-width:100%}}

/* KUNDENMODUL_1.2 - Kundenakte & klare Archivverwaltung */
.kundenakte-section{margin-top:22px;padding:18px;border:1px solid #e1eaee;border-radius:22px;background:#fbfdfd}
.kundenakte-section h4{margin:0 0 14px;color:#075f66;letter-spacing:-.02em}
.kunden-filter-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 18px}
.kunden-filter-card{border:1px solid #d9e4e8;background:linear-gradient(180deg,#fff,#f8fbfc);border-radius:22px;padding:18px;text-align:left;cursor:pointer;box-shadow:0 10px 24px rgba(16,24,40,.06);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.kunden-filter-card:hover{transform:translateY(-2px);border-color:rgba(12,127,130,.45);box-shadow:0 16px 34px rgba(12,127,130,.12)}
.kunden-filter-card.active{border-color:#0c7f82;background:linear-gradient(180deg,#eef7f6,#ffffff);box-shadow:0 18px 40px rgba(12,127,130,.14)}
.kunden-filter-card strong{display:block;color:#075f66;font-size:17px;margin-bottom:6px}
.kunden-filter-card span{display:block;color:#101828;font-size:30px;font-weight:900;line-height:1}
.kunden-filter-card small{display:block;margin-top:8px;color:#667085;font-weight:700}
.kunden-kassen-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.kunden-kassen-grid>div{background:#fff;border:1px solid #d9e4e8;border-radius:18px;padding:14px}
.kunden-kassen-grid .wide{grid-column:span 2}
.kunden-kassen-grid span,.kundenakte-facts span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#667085;font-weight:900;margin-bottom:5px}
.kunden-kassen-grid strong,.kundenakte-facts strong{display:block;color:#101828;font-size:15px;line-height:1.35;word-break:break-word}
.kunden-kassen-grid small{display:block;margin-top:5px;color:#667085;line-height:1.35}
.kundenakten-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.kundenakte-card{border:1px solid #d9e4e8;border-radius:24px;background:#fff;padding:18px;box-shadow:0 12px 30px rgba(16,24,40,.06)}
.kundenakte-card.is-archived{background:#f8fbfc;border-style:dashed;opacity:.92}
.kundenakte-card-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.kundenakte-card h4{margin:3px 0 6px;font-size:20px;color:#101828;letter-spacing:-.03em}
.kundenakte-card p{margin:0;color:#667085;line-height:1.4}
.kundenakte-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.kundenakte-facts>div{background:#f8fbfc;border-radius:16px;padding:12px;border:1px solid #edf2f4}
.kunden-quality-warning{background:#fff4e5;color:#b54708!important;border-radius:14px;padding:10px 12px;font-weight:800;margin:0 0 12px!important}
.kunden-quality-ok{background:#eef7f6;color:#075f66!important;border-radius:14px;padding:10px 12px;font-weight:800;margin:0 0 12px!important}
.kundenakte-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:10px}
.kundenakte-actions .primary-btn,.kundenakte-actions .secondary-btn{min-height:42px}
.kunden-history{margin-top:14px;border-top:1px solid #edf2f4;padding-top:12px}
.kunden-history summary{cursor:pointer;font-weight:900;color:#075f66}
.kunden-history ul{list-style:none;padding:0;margin:10px 0 0;display:grid;gap:8px}
.kunden-history li{background:#fbfdfd;border:1px solid #edf2f4;border-radius:14px;padding:10px}
.kunden-history li strong{display:block;color:#101828}
.kunden-history li span{display:block;color:#667085;font-size:12px;margin-top:2px}
.kunden-history li small{display:block;color:#667085;margin-top:4px}
@media(max-width:1000px){.kunden-filter-cards,.kundenakten-grid,.kunden-kassen-grid{grid-template-columns:1fr}.kunden-kassen-grid .wide{grid-column:auto}}



/* KUNDENMODUL_1.3.6 - Kundenliste zuerst / Formular nur bei Bedarf */
.kunden-overview-card .section-row{align-items:flex-start}
.kunden-overview-card .kunden-search{width:100%;max-width:520px;margin-top:10px}
.kunden-form-collapsed{display:none!important}
.kunden-editor-card{scroll-margin-top:18px}
.kundenakte-actions .secondary-btn:first-child{font-weight:900;border-color:rgba(7,95,102,.28);background:#eef7f6;color:#075f66}

/* KUNDENMODUL_1.3 - Dokumente & Verträge */
.document-hero{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;background:linear-gradient(135deg,#eef7f6,#ffffff);border:1px solid #d9e4e8;border-radius:26px;padding:22px;margin-bottom:18px;box-shadow:0 14px 34px rgba(16,24,40,.06)}
.document-hero h2{margin:4px 0 8px;color:#075f66;letter-spacing:-.04em}.doc-summary{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.doc-filter-cards{margin-top:6px}.doc-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.doc-card{border:1px solid #d9e4e8;border-radius:24px;background:#fff;padding:18px;box-shadow:0 12px 30px rgba(16,24,40,.06)}.doc-card.is-archived{background:#f8fbfc;border-style:dashed;opacity:.9}.doc-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.doc-card h4{margin:3px 0 0;color:#101828;font-size:19px;letter-spacing:-.02em}.doc-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.doc-meta-grid label{font-weight:900;color:#334155;font-size:13px}.doc-meta-grid input{margin-top:6px}.doc-meta-grid .wide{grid-column:span 2}.doc-actions-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.mini-btn{min-height:36px;padding:8px 11px!important;font-size:13px!important}.danger-action{border-color:#f3b7b7!important;color:#8a1f1f!important;background:#fff8f8!important}.doc-card input[type="file"]{background:#fff;border:1px dashed #c9d7dc}.badge.danger-badge{background:#fff0f0;color:#b42318}.badge.neutral-badge{background:#eef2f6;color:#344054}@media(max-width:1000px){.document-hero,.doc-card-head{flex-direction:column}.doc-card-grid,.doc-meta-grid{grid-template-columns:1fr}.doc-meta-grid .wide{grid-column:auto}.doc-summary{justify-content:flex-start}}

/* KUNDENMODUL_1.3.1 - Reparatur Dokumente/Verträge */
.doc-prefill-box{
  margin:12px 0;
  padding:12px;
  border:1px solid rgba(20,80,60,.18);
  border-radius:14px;
  background:rgba(246,250,248,.95);
}
.doc-prefill-box strong{display:block;margin-bottom:8px;}
.doc-prefill-grid{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:6px 12px;
  font-size:.9rem;
}
.doc-prefill-grid span{color:#60746c;}
.doc-prefill-grid b{font-weight:700;word-break:break-word;}
@media (max-width:700px){.doc-prefill-grid{grid-template-columns:1fr}.doc-prefill-grid span{font-weight:700}}

/* DOKUMENTENMODUL_1.3.2 - Dokumentencenter Reparatur */
.document-center-shell{margin-top:16px;}
.document-center-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px;}
.document-center-card{border:1px solid #d9e4e8;border-radius:22px;background:#fff;padding:16px;box-shadow:0 10px 26px rgba(16,24,40,.06);display:flex;flex-direction:column;gap:12px;}
.document-center-card.is-selected{outline:3px solid rgba(7,95,102,.18);border-color:#075f66;}
.document-center-card.is-archived{background:#f8fafc;border-style:dashed;opacity:.92;}
.document-card-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;}
.document-card-top h4{margin:3px 0 0;color:#101828;font-size:18px;letter-spacing:-.02em;}
.document-card-info{display:grid;grid-template-columns:1fr;gap:4px;background:#f8fbfc;border-radius:16px;padding:10px;}
.document-card-info span{font-size:12px;color:#60746c;font-weight:800;text-transform:uppercase;letter-spacing:.03em;}
.document-card-info strong{font-size:13px;color:#1d2939;word-break:break-word;}
.document-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:auto;}
.document-editor-panel{margin-top:18px;border:2px solid #d9e4e8;}
.document-empty-state{border:1px dashed #c9d7dc;background:#fbfdfd;border-radius:22px;padding:22px;margin-top:18px;text-align:center;}
.doc-status-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:900;white-space:nowrap;border:1px solid transparent;}
.status-fehlt{background:#fff0f0;color:#b42318;border-color:#fecdca;}
.status-in_pruefung{background:#fff8e5;color:#946200;border-color:#fedf89;}
.status-unterschrift_fehlt{background:#fff4e5;color:#b54708;border-color:#ffd6ae;}
.status-vollstaendig{background:#ecfdf3;color:#067647;border-color:#abefc6;}
.status-archiviert{background:#f2f4f7;color:#475467;border-color:#d0d5dd;}
.doc-prefill-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-end;margin-bottom:10px;}
.doc-prefill-title small{color:#60746c;font-weight:700;}
.doc-prefill-grid.structured{grid-template-columns:170px 1fr;}
.doc-meta-grid.professional input{min-height:44px;}
.doc-actions-row.professional{border-top:1px solid #e6edf0;padding-top:14px;}
.document-file-box{background:#f8fbfc;border:1px solid #d9e4e8;border-radius:18px;padding:14px;margin-top:12px;display:grid;gap:4px;}
.document-file-box p{margin:0;color:#1d2939;font-weight:800;word-break:break-word;}
.document-file-box small,.autosave-state{color:#60746c;font-weight:700;}
.autosave-state{display:inline-block;margin-top:4px;font-size:12px;}
@media(max-width:1200px){.document-center-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.document-center-grid{grid-template-columns:1fr}.doc-prefill-title{align-items:flex-start;flex-direction:column}.doc-prefill-grid.structured{grid-template-columns:1fr}.document-card-top{flex-direction:column}}


/* DOKUMENTENMODUL_1.3.3 - Pflichtfelder, Scan/Upload, Signatur */
.doc-meta-grid.professional input.field-error{border-color:#b42318!important;background:#fff5f5!important;}
.document-file-box strong{color:#075f66;}
.document-file-box small{display:block;}
.document-editor-panel input[type="file"]{min-height:48px;padding:12px;background:#fff;border:1px dashed #9fb6bf;border-radius:14px;}
.document-card-info strong{min-height:18px;}
.status-unterschrift_fehlt{background:#fff6e8;color:#b54708;}
.status-vollstaendig{background:#ecfdf3;color:#027a48;}
.status-in_pruefung{background:#fffaeb;color:#b54708;}
.status-fehlt{background:#fef3f2;color:#b42318;}

/* DOKUMENTENMODUL_1.3.4 - Kundenkopfkarte anklickbar */
.customer-header-card{
  position:relative;
  cursor:pointer;
  flex-wrap:wrap;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.customer-header-card:hover{
  transform:translateY(-1px);
  border-color:rgba(12,127,130,.42);
  box-shadow:0 18px 44px rgba(12,127,130,.13);
}
.customer-header-card.is-open{
  border-color:#075f66;
  background:linear-gradient(135deg,#e9f7f5,#ffffff);
}
.customer-header-main{
  min-width:280px;
  flex:1 1 440px;
}
.customer-header-title-row{
  display:flex;
  align-items:center;
  gap:10px;
}
.customer-header-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:999px;
  background:#075f66;
  color:#fff;
  font-weight:900;
  font-size:12px;
}
.customer-header-summary{
  flex:0 1 360px;
  align-content:flex-start;
}
.customer-header-progress{
  height:9px;
  border-radius:999px;
  background:#dcecef;
  overflow:hidden;
  margin:12px 0 8px;
  max-width:420px;
}
.customer-header-progress span{
  display:block;
  height:100%;
  border-radius:999px;
  background:#075f66;
}
.customer-header-main small{
  display:block;
  color:#60746c;
  font-weight:800;
}
.customer-header-details{
  flex:1 1 100%;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #d9e4e8;
  cursor:default;
}
.customer-header-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.customer-header-detail-grid section{
  border:1px solid #d9e4e8;
  border-radius:20px;
  background:#fff;
  padding:16px;
  box-shadow:0 8px 22px rgba(16,24,40,.04);
}
.customer-header-detail-grid h4{
  margin:0 0 12px;
  color:#075f66;
  letter-spacing:-.02em;
}
.customer-detail-list{
  display:grid;
  gap:9px;
}
.customer-detail-list div{
  display:grid;
  grid-template-columns:145px minmax(0,1fr);
  gap:10px;
  align-items:start;
  padding-bottom:8px;
  border-bottom:1px solid #edf2f4;
}
.customer-detail-list div:last-child{
  border-bottom:0;
  padding-bottom:0;
}
.customer-detail-list span{
  color:#60746c;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.customer-detail-list strong{
  color:#101828;
  font-size:14px;
  line-height:1.35;
  word-break:break-word;
}
.customer-header-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
@media(max-width:900px){
  .customer-header-detail-grid{grid-template-columns:1fr;}
  .customer-detail-list div{grid-template-columns:1fr;gap:4px;}
  .customer-header-summary{justify-content:flex-start;}
}

/* DOKUMENTENMODUL_1.3.4 KLICK-FIX: Kundenkopfkarte eindeutig anklickbar */
.customer-header-card{
  user-select:none;
}
.customer-header-open-btn{
  margin-top:12px;
}
.customer-header-click-hint{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:8px 12px;
  background:#075f66;
  color:#fff;
  font-size:13px;
  font-weight:900;
  white-space:nowrap;
}
.customer-header-details{
  user-select:text;
}

/* DOKUMENTENMODUL_1.3.5 - Dokumentbereich Kategorien + anklickbare Dokumentzeilen */
.document-category-board{
  display:grid;
  gap:18px;
  margin-top:18px;
}
.document-category-section{
  border:1px solid #d9e4e8;
  border-radius:24px;
  background:#f8fbfc;
  padding:16px;
  box-shadow:0 10px 28px rgba(16,24,40,.05);
}
.document-category-header{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:14px;
  align-items:center;
  margin-bottom:12px;
}
.document-category-icon{
  width:48px;
  height:48px;
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#075f66;
  color:#fff;
  font-size:23px;
  box-shadow:0 10px 22px rgba(7,95,102,.18);
}
.document-category-copy h4{
  margin:0;
  color:#101828;
  font-size:18px;
  letter-spacing:-.02em;
}
.document-category-copy p{
  margin:4px 0 0;
  color:#60746c;
  font-size:13px;
  font-weight:700;
}
.document-category-stats{
  min-width:106px;
  text-align:right;
  display:grid;
  gap:2px;
}
.document-category-stats strong{
  color:#075f66;
  font-size:22px;
  line-height:1;
}
.document-category-stats small{
  color:#60746c;
  font-weight:900;
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:.04em;
}
.document-category-stats em{
  justify-self:end;
  font-style:normal;
  color:#b42318;
  background:#fff0f0;
  border:1px solid #fecdca;
  border-radius:999px;
  padding:4px 8px;
  font-size:11px;
  font-weight:900;
}
.document-row-list{
  display:grid;
  gap:10px;
}
.document-row-wrapper{
  display:block;
}
.document-list-row{
  display:grid;
  grid-template-columns:minmax(240px,1.2fr) minmax(280px,1.4fr) auto auto;
  gap:14px;
  align-items:center;
  border:1px solid rgba(7,95,102,.18);
  border-left:7px solid #075f66;
  border-radius:20px;
  background:linear-gradient(90deg,#e6f5f4 0%,#ffffff 68%);
  padding:14px;
  cursor:pointer;
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,background .16s ease;
}
.document-list-row:hover,
.document-list-row:focus{
  outline:none;
  transform:translateY(-1px);
  border-color:#075f66;
  box-shadow:0 14px 32px rgba(7,95,102,.13);
}
.document-list-row.is-selected{
  background:linear-gradient(90deg,#d8f1ef 0%,#ffffff 70%);
  border-color:#075f66;
  box-shadow:0 14px 34px rgba(7,95,102,.16);
}
.document-row-wrapper.is-archived .document-list-row{
  opacity:.88;
  border-style:dashed;
  background:linear-gradient(90deg,#eef2f6 0%,#ffffff 70%);
}
.document-row-title{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.document-row-chevron{
  width:32px;
  height:32px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#075f66;
  color:#fff;
  font-size:13px;
  font-weight:900;
  flex:0 0 auto;
}
.document-row-title strong{
  display:block;
  color:#101828;
  font-size:16px;
  line-height:1.25;
}
.document-row-title small{
  display:block;
  color:#60746c;
  font-size:12px;
  font-weight:800;
  margin-top:3px;
}
.document-row-meta{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.document-row-meta span{
  min-width:0;
  background:#fff;
  border:1px solid #e6edf0;
  border-radius:14px;
  padding:8px 10px;
  color:#1d2939;
  font-size:12px;
  font-weight:800;
  word-break:break-word;
}
.document-row-meta b{
  display:block;
  color:#60746c;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:10px;
  margin-bottom:3px;
}
.document-row-status{
  justify-self:end;
}
.document-row-actions{
  display:flex;
  gap:8px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.document-row-wrapper .document-editor-panel{
  margin:12px 0 4px;
  border-color:#075f66;
  box-shadow:0 18px 40px rgba(7,95,102,.12);
}
.document-empty-state.compact{
  margin-top:18px;
  padding:18px;
}
@media(max-width:1200px){
  .document-list-row{grid-template-columns:1fr;align-items:start;}
  .document-row-status,.document-row-actions{justify-self:start;}
}
@media(max-width:760px){
  .document-category-section{padding:12px;border-radius:20px;}
  .document-category-header{grid-template-columns:1fr;align-items:start;}
  .document-category-icon{width:42px;height:42px;}
  .document-category-stats{text-align:left;min-width:0;}
  .document-category-stats em{justify-self:start;}
  .document-row-meta{grid-template-columns:1fr;}
  .document-list-row{padding:12px;border-radius:18px;}
}

/* KUNDENMODUL_1.3.7 - Aufklappbare Kundenkarten + rote Pflichtfeldfehler */
.kundenakten-grid.accordion-mode{
  grid-template-columns:1fr;
}
.kunden-accordion-card{
  cursor:pointer;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.kunden-accordion-card:hover{
  transform:translateY(-1px);
  border-color:rgba(12,127,130,.45);
  box-shadow:0 18px 42px rgba(12,127,130,.12);
}
.kunden-accordion-card.is-open{
  border-color:#075f66;
  background:linear-gradient(180deg,#f3fbfa,#fff);
}
.kunden-card-chevron{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  margin-right:8px;
  border-radius:999px;
  background:#075f66;
  color:#fff;
  font-size:14px;
  font-weight:900;
}
.kunden-card-hint{
  margin-top:12px!important;
  color:#075f66!important;
  font-weight:800;
  background:#eef7f6;
  border:1px solid #d9e4e8;
  border-radius:14px;
  padding:10px 12px;
}
.kunden-card-details{
  margin-top:16px;
  border-top:1px solid #d9e4e8;
  padding-top:16px;
  cursor:default;
}
.kunden-card-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.kunden-card-detail-grid section{
  background:#fff;
  border:1px solid #d9e4e8;
  border-radius:20px;
  padding:16px;
  box-shadow:0 8px 22px rgba(16,24,40,.04);
}
.kunden-card-detail-grid h4{
  margin:0 0 12px;
  color:#075f66;
  letter-spacing:-.02em;
}
.kunden-card-quick-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.field-error{
  border-color:#b42318!important;
  box-shadow:0 0 0 4px rgba(180,35,24,.14)!important;
  background:#fff5f5!important;
}
.field-error-message{
  margin:6px 0 0!important;
  color:#b42318!important;
  font-size:13px;
  font-weight:900;
  line-height:1.35;
}
.validation-summary{
  margin:14px 0 18px;
  padding:14px 16px;
  border:1px solid #fecdca;
  border-radius:18px;
  background:#fff5f5;
  color:#b42318;
  box-shadow:0 10px 24px rgba(180,35,24,.08);
}
.validation-summary strong,
.validation-summary span{
  display:block;
}
.validation-summary strong{
  font-size:16px;
  margin-bottom:4px;
}
.validation-summary ul{
  margin:10px 0 0;
  padding-left:20px;
}
@media(max-width:900px){
  .kunden-card-detail-grid{grid-template-columns:1fr;}
}


/* Kundenakte: Leistungsnachweis-Vorlage */
.ln-template-section{border:1px solid var(--line);border-radius:18px;background:#fbfdfd;padding:16px}
.kunden-template-grid{display:grid;grid-template-columns:repeat(3,minmax(160px,1fr));gap:14px;margin-top:12px}
.ln-vorlage-weekdays{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.ln-vorlage-weekdays label{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:999px;padding:8px 12px;background:#fff;font-weight:800;margin:0}
.ln-vorlage-weekdays input{width:18px;height:18px}
@media(max-width:900px){.kunden-template-grid{grid-template-columns:1fr}}

/* Mitarbeiterzuweisung 1.5.3 */
.mitarbeiter-zuweisung-section textarea{
  width:100%;
  min-height:64px;
  resize:vertical;
  border:1px solid rgba(15,23,42,.18);
  border-radius:12px;
  padding:10px 12px;
  font:inherit;
  background:#fff;
}
.mitarbeiter-zuweisung-section .kunden-kassenakte{
  margin-top:12px;
}


/* 1.6.6 – Kundenmodul Mitarbeiteransicht */
.kunden-employee-view-banner{
  border-left:5px solid #006060;
  background:#eef8f7;
  color:#0f172a;
  margin-bottom:14px;
}
