/**
 * Copyright (c) 2026 TNSystem. Alle Rechte vorbehalten.
 * Datei: public/assets/customer-editor-v2.css
 * Zweck: Stellt die breite, fachlich gegliederte Kundenbearbeitung und ihre Mahnsteuerung cachefest dar.
 */

body.app main form.customer-editor-form{
  width:min(100%,1440px);
  max-width:1440px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  justify-content:start;
  gap:13px 18px;
  padding:22px 24px;
}
body.app main form.customer-editor-form>.customer-editor-sections,
body.app main form.customer-editor-form>.customer-editor-actions{
  grid-column:1/-1;
  width:100%;
  max-width:none;
}
.customer-editor-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.customer-editor-section-wide{grid-column:1/-1}
.customer-dunning-card{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(320px,1.15fr) minmax(280px,1fr);align-items:stretch;gap:12px;margin-top:3px;padding:14px;border:1px solid #bfcfe0;border-left:4px solid #286da9;border-radius:10px;background:linear-gradient(135deg,#f8fbfe,#eef5fb)}
.customer-dunning-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:2px 8px}.customer-dunning-copy>span{color:#286da9;font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.customer-dunning-copy>strong{margin:4px 0;color:#173b61;font-size:14px}.customer-dunning-copy>small{color:#66788d;font-size:10px;line-height:1.45}
.customer-dunning-switch{display:grid!important;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:10px;margin:0!important;padding:11px 12px;border:1px solid #cbd9e7;border-radius:9px;background:#fff}.customer-dunning-switch>input{position:absolute;width:1px!important;height:1px!important;overflow:hidden;opacity:0}.customer-dunning-switch-control{position:relative;width:42px;height:23px;border-radius:999px;background:#9aaabd;box-shadow:inset 0 0 0 1px rgba(18,50,83,.12);transition:background .16s}.customer-dunning-switch-control:after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(23,59,97,.28);transition:transform .16s}.customer-dunning-switch>input:checked+.customer-dunning-switch-control{background:#2875b5}.customer-dunning-switch>input:checked+.customer-dunning-switch-control:after{transform:translateX(19px)}.customer-dunning-switch>input:focus-visible+.customer-dunning-switch-control{outline:3px solid rgba(40,109,169,.22);outline-offset:2px}.customer-dunning-switch>span:not(.customer-dunning-switch-control){display:grid;min-width:0;gap:3px}.customer-dunning-switch strong{display:block;color:#263f5b;font-size:11px}.customer-dunning-switch small{display:block;margin:0!important;color:#68798c!important;font-size:9px!important;line-height:1.4!important}
.customer-dunning-reason{display:flex!important;min-width:0;flex-direction:column;justify-content:center;margin:0!important;padding:10px 12px;border:1px solid #d5e0ea;border-radius:9px;background:rgba(255,255,255,.72)}.customer-dunning-reason input{width:100%;height:36px!important;margin-top:5px!important}.customer-dunning-reason small{margin-top:4px!important}

@media(max-width:1180px){.customer-dunning-card{grid-template-columns:1fr 1.3fr}.customer-dunning-reason{grid-column:1/-1}}
@media(max-width:980px){.customer-editor-sections{grid-template-columns:1fr}.customer-editor-section-wide{grid-column:auto}.customer-dunning-card{grid-template-columns:1fr}.customer-dunning-reason{grid-column:auto}}
@media(max-width:760px){body.app main form.customer-editor-form{grid-template-columns:1fr;width:100%;max-width:none;padding:17px}.customer-editor-sections{gap:14px}}
@media(max-width:650px){.customer-dunning-card{padding:11px}.customer-dunning-copy{padding:0}.customer-dunning-switch{grid-template-columns:auto minmax(0,1fr)}.customer-dunning-switch>input{position:absolute}}
