.kd-wrap{max-width:1400px}.kd-hero{background:linear-gradient(135deg,#a80012,#171717);color:#fff;border-radius:16px;padding:28px 30px;margin:20px 0}.kd-hero h1{margin:0 0 8px;font-size:30px}.kd-hero p{margin:0;opacity:.9}.kd-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:20px 0}.kd-card{background:#fff;border:1px solid #ddd;border-radius:14px;padding:20px;text-decoration:none;color:#222;box-shadow:0 2px 8px rgba(0,0,0,.06)}.kd-card strong{display:block;font-size:17px}.kd-card span{display:block;font-size:30px;font-weight:700;margin-top:8px}.kd-panel{background:#fff;border:1px solid #ddd;border-radius:14px;padding:22px;margin:18px 0;overflow:auto}.kd-panel h2{margin-top:0}.kd-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;align-items:end}.kd-form label{font-weight:600}.kd-form input{display:block;width:100%;margin-top:6px}.kd-form .button{height:40px}.kd-notice{padding:12px 15px;border-left:4px solid #a80012;background:#f8f8f8;margin:15px 0}.kd-mobile-menu{display:none}@media(max-width:782px){.kd-hero{padding:20px}.kd-hero h1{font-size:24px}.kd-panel{padding:15px}.kd-form{grid-template-columns:1fr}}


/* v1.4.5 – moderne und mobile Dispositionsübersicht */
.kd-muted{margin:0;color:#666;font-size:13px}.kd-dispo-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.kd-dispo-head h2{margin-bottom:4px}.kd-dispo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px}.kd-dispo-card{background:#fff;border:1px solid #dcdcde;border-radius:12px;padding:16px;box-shadow:0 1px 3px rgba(0,0,0,.05);border-left:5px solid #3858e9}.kd-dispo-card.kd-status-erledigt{border-left-color:#46b450}.kd-dispo-card.kd-status-storniert{border-left-color:#d63638}.kd-dispo-card.kd-status-offen{border-left-color:#dba617}.kd-dispo-top{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:14px}.kd-dispo-top>span:nth-child(2){color:#666}.kd-status{margin-left:auto;background:#eef0f2;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:600}.kd-dispo-route{display:flex;align-items:center;gap:9px;margin:15px 0;font-size:16px}.kd-dispo-route span{color:#777}.kd-dispo-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kd-dispo-meta div{background:#f7f7f8;border-radius:8px;padding:9px}.kd-dispo-meta small{display:block;color:#666;font-size:11px;margin-bottom:3px}.kd-dispo-meta b{display:block;font-size:13px;word-break:break-word}.kd-dispo-actions{margin-top:12px;text-align:right}.kd-empty{padding:20px;background:#f8f8f8;border-radius:8px;color:#666}@media(max-width:700px){.kd-dispo-grid{grid-template-columns:1fr}.kd-dispo-meta{grid-template-columns:1fr}.kd-dispo-route{font-size:14px}.kd-status{margin-left:0}}
/* v1.4.6 – Dispositionsauswahl klarer und aussagekräftiger */
.kd-dispo-form-panel .kd-form{grid-template-columns:repeat(12,minmax(0,1fr));}
.kd-dispo-form-panel .kd-form label:nth-of-type(1){grid-column:span 12}
.kd-dispo-form-panel .kd-form label:nth-of-type(2),
.kd-dispo-form-panel .kd-form label:nth-of-type(3),
.kd-dispo-form-panel .kd-form label:nth-of-type(4),
.kd-dispo-form-panel .kd-form label:nth-of-type(5){grid-column:span 3}
.kd-dispo-form-panel .kd-form select{display:block;width:100%;margin-top:6px;min-height:40px}
.kd-dispo-form-panel .kd-form .button{grid-column:span 3}
@media(max-width:900px){.kd-dispo-form-panel .kd-form label:nth-of-type(2),.kd-dispo-form-panel .kd-form label:nth-of-type(3),.kd-dispo-form-panel .kd-form label:nth-of-type(4),.kd-dispo-form-panel .kd-form label:nth-of-type(5),.kd-dispo-form-panel .kd-form .button{grid-column:span 6}}
@media(max-width:700px){.kd-dispo-form-panel .kd-form{grid-template-columns:1fr}.kd-dispo-form-panel .kd-form label:nth-of-type(1),.kd-dispo-form-panel .kd-form label:nth-of-type(2),.kd-dispo-form-panel .kd-form label:nth-of-type(3),.kd-dispo-form-panel .kd-form label:nth-of-type(4),.kd-dispo-form-panel .kd-form label:nth-of-type(5),.kd-dispo-form-panel .kd-form .button{grid-column:auto}}

/* v1.5.1 – Lieferscheine: übersichtlicher Arbeitsbereich */
.kd-notice-success{background:#effaf2;border-left-color:#2e9d50!important;color:#215f32;border-radius:8px}
.kd-doc-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}
.kd-doc-stat{background:#fff;border:1px solid #e0e0e0;border-radius:14px;padding:15px 18px;display:flex;align-items:center;gap:13px;box-shadow:0 2px 7px rgba(0,0,0,.04)}
.kd-doc-stat-icon{width:38px;height:38px;border-radius:10px;background:#f2f4ff;color:#3858e9;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}
.kd-doc-stat small{display:block;color:#777;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.kd-doc-stat strong{display:block;font-size:22px;line-height:1.2;margin-top:2px}
.kd-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}
.kd-section-head h2{margin:0 0 4px}
.kd-section-head p{margin:0;color:#6b6b6b;font-size:13px}
.kd-section-badge,.kd-count-badge{background:#f3f3f5;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700;color:#555;white-space:nowrap}
.kd-section-badge{background:#fff0f1;color:#a80012}
.kd-doc-form{display:grid;grid-template-columns:minmax(260px,2fr) minmax(180px,1.2fr) 150px auto;gap:14px;align-items:end}
.kd-field label{display:block;font-weight:600;font-size:12px;margin-bottom:6px}
.kd-field label span{font-weight:400;color:#888}
.kd-field input,.kd-field select{width:100%;height:42px!important;margin:0!important;box-sizing:border-box}
.kd-doc-create-btn{height:42px!important;white-space:nowrap}
.kd-doc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:15px}
.kd-doc-card{border:1px solid #e0e1e3;border-radius:13px;background:#fff;padding:17px;box-shadow:0 2px 8px rgba(0,0,0,.04);transition:box-shadow .15s,transform .15s}
.kd-doc-card:hover{box-shadow:0 5px 16px rgba(0,0,0,.08);transform:translateY(-1px)}
.kd-doc-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.kd-doc-card-top small{font-size:10px;color:#888;letter-spacing:.07em;font-weight:700}
.kd-doc-card-top h3{margin:2px 0 0;font-size:18px}
.kd-doc-status{font-size:11px;font-weight:700;border-radius:999px;padding:5px 9px;white-space:nowrap}
.kd-doc-status-erstellt{background:#eef3ff;color:#3157b7}
.kd-doc-status-unterwegs{background:#fff5df;color:#9a6500}
.kd-doc-status-zugestellt{background:#eaf8ee;color:#287541}
.kd-doc-status-storniert{background:#ffecee;color:#b4232d}
.kd-doc-route{display:flex;align-items:center;gap:8px;margin:15px 0;padding:11px 12px;background:#f7f7f8;border-radius:9px;font-size:14px}
.kd-doc-route span{color:#999;font-size:17px}
.kd-doc-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.kd-doc-meta div{min-width:0}
.kd-doc-meta small{display:block;color:#888;font-size:10px;margin-bottom:2px}
.kd-doc-meta strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kd-doc-actions{display:flex;align-items:center;gap:8px;margin-top:15px;padding-top:13px;border-top:1px solid #eee}
.kd-doc-actions .button{min-height:36px;display:inline-flex;align-items:center;justify-content:center}
.kd-delete-link{margin-left:auto;color:#b4232d;text-decoration:none;font-size:12px}
.kd-delete-link:hover{text-decoration:underline}
@media(max-width:1100px){.kd-doc-form{grid-template-columns:1fr 1fr}.kd-field-order{grid-column:span 2}.kd-doc-create-btn{width:max-content}}
@media(max-width:700px){.kd-doc-stats{grid-template-columns:1fr}.kd-section-head{align-items:flex-start}.kd-doc-form{grid-template-columns:1fr}.kd-field-order{grid-column:auto}.kd-doc-create-btn{width:100%}.kd-doc-grid{grid-template-columns:1fr}.kd-doc-meta{grid-template-columns:1fr 1fr}}
/* Abrechnung 1.5.2 */
.kd-bill-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.kd-bill-stat{background:#fff;border:1px solid #e0e0e0;border-radius:14px;padding:15px 17px;display:flex;align-items:center;gap:12px;box-shadow:0 2px 7px rgba(0,0,0,.04)}.kd-bill-stat>span{width:38px;height:38px;border-radius:10px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:18px}.kd-bill-stat small{display:block;color:#777;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.kd-bill-stat strong{display:block;font-size:22px;line-height:1.2;margin-top:2px}.kd-bill-stat-offen{border-left:4px solid #dba617}.kd-bill-stat-in_pruefung{border-left:4px solid #3858e9}.kd-bill-stat-abgerechnet{border-left:4px solid #46b450}.kd-bill-stat-storniert{border-left:4px solid #d63638}.kd-bill-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:15px}.kd-bill-card{border:1px solid #e0e1e3;border-radius:13px;background:#fff;padding:17px;box-shadow:0 2px 8px rgba(0,0,0,.04);border-left:5px solid #dba617}.kd-bill-card-in_pruefung{border-left-color:#3858e9}.kd-bill-card-abgerechnet{border-left-color:#46b450}.kd-bill-card-storniert{border-left-color:#d63638}.kd-bill-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.kd-bill-card-top small{font-size:10px;color:#888;letter-spacing:.07em;font-weight:700}.kd-bill-card-top h3{margin:2px 0 0;font-size:18px}.kd-bill-status{font-size:11px;font-weight:700;border-radius:999px;padding:5px 9px;white-space:nowrap;background:#fff5df;color:#9a6500}.kd-bill-card-in_pruefung .kd-bill-status{background:#eef3ff;color:#3157b7}.kd-bill-card-abgerechnet .kd-bill-status{background:#eaf8ee;color:#287541}.kd-bill-card-storniert .kd-bill-status{background:#ffecee;color:#b4232d}.kd-bill-route{display:flex;align-items:center;gap:8px;margin:15px 0;padding:11px 12px;background:#f7f7f8;border-radius:9px;font-size:14px}.kd-bill-route span{color:#999;font-size:17px}.kd-bill-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px}.kd-bill-meta div{background:#f7f7f8;border-radius:8px;padding:9px;min-width:0}.kd-bill-meta small{display:block;color:#888;font-size:10px;margin-bottom:2px}.kd-bill-meta b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kd-bill-actions{display:flex;justify-content:flex-end;margin-top:15px;padding-top:13px;border-top:1px solid #eee}.kd-bill-actions .button{min-height:36px;display:inline-flex;align-items:center;justify-content:center}.kd-bill-edit{margin-top:18px}.kd-bill-edit .kd-form input,.kd-bill-edit .kd-form select,.kd-bill-edit .kd-form textarea{display:block;width:100%;margin-top:6px}.kd-bill-edit .kd-form select{min-height:40px}.kd-bill-edit .kd-form textarea{min-height:100px}.kd-bill-edit .kd-form .button{grid-column:1/-1;justify-self:start;min-height:40px}
@media(max-width:900px){.kd-bill-stats{grid-template-columns:1fr 1fr}}@media(max-width:700px){.kd-bill-stats{grid-template-columns:1fr}.kd-bill-grid{grid-template-columns:1fr}.kd-bill-meta{grid-template-columns:1fr 1fr}.kd-section-head{align-items:flex-start}} 

/* V1.5.3 – Excel-Import Arbeitsbereich */
.kd-import-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:18px;align-items:stretch}
.kd-import-main,.kd-import-side{margin:0}
.kd-import-drop{border:2px dashed #d6d8dc;border-radius:14px;background:#fafbfc;padding:30px;text-align:center}
.kd-import-icon{width:52px;height:52px;margin:0 auto 12px;border-radius:14px;background:#eef3ff;color:#3858e9;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700}
.kd-import-drop h3{margin:0 0 5px;font-size:20px}.kd-import-drop p{margin:0 0 20px;color:#666}
.kd-import-form{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap}
.kd-file-label{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid #d8dadd;border-radius:8px;padding:0 12px;min-height:42px;font-weight:600;cursor:pointer}
.kd-file-label input{max-width:220px}.kd-import-button{min-height:42px!important}.kd-import-hint{display:block;color:#777;margin-top:16px}
.kd-import-side h2{margin-bottom:15px}.kd-import-checks{display:grid;gap:10px}.kd-import-checks div{display:flex;align-items:center;gap:9px;padding:10px 11px;background:#f7f7f8;border-radius:9px;font-size:13px}.kd-import-checks span{width:22px;height:22px;border-radius:50%;background:#eaf8ee;color:#287541;display:flex;align-items:center;justify-content:center;font-weight:700;flex:none}
.kd-import-info{margin-top:18px}.kd-import-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.kd-import-info-grid>div{padding:4px 8px}.kd-import-info-grid strong{display:block;margin-bottom:5px}.kd-import-info-grid p{margin:0;color:#666;font-size:13px;line-height:1.5}
@media(max-width:900px){.kd-import-layout{grid-template-columns:1fr}.kd-import-info-grid{grid-template-columns:1fr}}
@media(max-width:700px){.kd-import-form{display:grid;grid-template-columns:1fr}.kd-file-label{justify-content:space-between}.kd-file-label input{max-width:100%;width:100%}.kd-import-button{width:100%}.kd-import-drop{padding:22px 15px}}

/* V1.5.4 – Kunden / Auftraggeber Arbeitsbereich */
.kd-customer-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}
.kd-customer-stat{background:#fff;border:1px solid #e0e0e0;border-radius:14px;padding:15px 17px;display:flex;align-items:center;gap:12px;box-shadow:0 2px 7px rgba(0,0,0,.04)}
.kd-customer-icon{width:38px;height:38px;border-radius:10px;background:#f2f4ff;color:#3858e9;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px;flex:none}
.kd-customer-stat small{display:block;color:#777;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.kd-customer-stat strong{display:block;font-size:22px;line-height:1.2;margin-top:2px}
.kd-customer-create{overflow:visible}.kd-customer-form{display:grid;grid-template-columns:2fr 1.4fr 1.2fr 1.5fr;gap:14px;align-items:end}.kd-customer-form .kd-field-wide{grid-column:span 2}.kd-customer-form .kd-field label{display:block;font-weight:600;font-size:12px;margin-bottom:6px}.kd-customer-form input{width:100%;height:42px!important;margin:0!important;box-sizing:border-box}.kd-customer-save{height:42px!important;white-space:nowrap;grid-column:4;justify-self:stretch}
.kd-customer-toolbar{display:flex;justify-content:flex-end;margin:-4px 0 15px}.kd-customer-search{display:flex;align-items:center;gap:8px;width:320px;max-width:100%;background:#fff;border:1px solid #d8dadd;border-radius:9px;padding:0 11px;box-sizing:border-box}.kd-customer-search span{font-size:19px;color:#777}.kd-customer-search input{border:0!important;box-shadow:none!important;width:100%;height:40px!important;margin:0!important;padding:0!important;background:transparent!important}
.kd-customer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:15px}.kd-customer-card{border:1px solid #e0e1e3;border-radius:13px;background:#fff;padding:17px;box-shadow:0 2px 8px rgba(0,0,0,.04);border-left:5px solid #3858e9}.kd-customer-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.kd-customer-card-top small{font-size:10px;color:#888;letter-spacing:.07em;font-weight:700}.kd-customer-card-top h3{margin:2px 0 0;font-size:18px;word-break:break-word}.kd-customer-id{font-size:11px;font-weight:700;color:#777;background:#f3f3f5;border-radius:999px;padding:5px 8px;white-space:nowrap}.kd-customer-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.kd-customer-meta div{background:#f7f7f8;border-radius:8px;padding:9px;min-width:0}.kd-customer-meta small{display:block;color:#888;font-size:10px;margin-bottom:2px}.kd-customer-meta strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kd-customer-meta a{color:#3858e9;text-decoration:none}.kd-customer-meta a:hover{text-decoration:underline}.kd-customer-actions{display:flex;align-items:center;margin-top:15px;padding-top:13px;border-top:1px solid #eee}.kd-customer-hint{font-size:11px;color:#888}.kd-customer-actions .kd-delete-link{margin-left:auto}
@media(max-width:1000px){.kd-customer-stats{grid-template-columns:1fr 1fr}.kd-customer-form{grid-template-columns:1fr 1fr}.kd-customer-form .kd-field-wide{grid-column:span 2}.kd-customer-save{grid-column:span 2}}
@media(max-width:700px){.kd-customer-stats{grid-template-columns:1fr}.kd-customer-form{grid-template-columns:1fr}.kd-customer-form .kd-field-wide,.kd-customer-save{grid-column:auto}.kd-customer-save{width:100%}.kd-customer-toolbar{justify-content:stretch}.kd-customer-search{width:100%}.kd-customer-grid{grid-template-columns:1fr}.kd-customer-meta{grid-template-columns:1fr 1fr}}


/* V1.5.5 – Mitarbeiter / Fahrer Arbeitsbereich */
.kd-employee-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}
.kd-employee-stat{background:#fff;border:1px solid #e0e0e0;border-radius:14px;padding:15px 17px;display:flex;align-items:center;gap:12px;box-shadow:0 2px 7px rgba(0,0,0,.04);border-left:4px solid #3858e9}
.kd-employee-stat-green{border-left-color:#46b450}.kd-employee-stat-blue{border-left-color:#3858e9}
.kd-employee-icon{width:38px;height:38px;border-radius:10px;background:#f2f4ff;color:#3858e9;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px;flex:none}
.kd-employee-stat small{display:block;color:#777;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.kd-employee-stat strong{display:block;font-size:22px;line-height:1.2;margin-top:2px}
.kd-employee-create{overflow:visible}.kd-employee-form{display:grid;grid-template-columns:2fr 1.2fr 1.3fr 1.7fr 1.1fr;gap:14px;align-items:end}.kd-employee-form .kd-field-wide{grid-column:span 2}.kd-employee-form .kd-field label{display:block;font-weight:600;font-size:12px;margin-bottom:6px}.kd-employee-form input,.kd-employee-form select{width:100%;height:42px!important;margin:0!important;box-sizing:border-box}.kd-employee-save{height:42px!important;white-space:nowrap;grid-column:5}
.kd-employee-toolbar{display:flex;justify-content:flex-end;margin:-4px 0 15px}.kd-employee-search{display:flex;align-items:center;gap:8px;width:320px;max-width:100%;background:#fff;border:1px solid #d8dadd;border-radius:9px;padding:0 11px;box-sizing:border-box}.kd-employee-search span{font-size:19px;color:#777}.kd-employee-search input{border:0!important;box-shadow:none!important;width:100%;height:40px!important;margin:0!important;padding:0!important;background:transparent!important}
.kd-employee-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:15px}.kd-employee-card{border:1px solid #e0e1e3;border-radius:13px;background:#fff;padding:17px;box-shadow:0 2px 8px rgba(0,0,0,.04);border-left:5px solid #46b450}.kd-employee-card.kd-employee-inactive{border-left-color:#d63638;opacity:.9}.kd-employee-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.kd-employee-card-top small{font-size:10px;color:#888;letter-spacing:.07em;font-weight:700}.kd-employee-card-top h3{margin:2px 0 0;font-size:18px;word-break:break-word}.kd-employee-status{font-size:11px;font-weight:700;border-radius:999px;padding:5px 9px;white-space:nowrap;background:#eaf8ee;color:#287541}.kd-employee-inactive .kd-employee-status{background:#ffecee;color:#b4232d}
.kd-employee-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.kd-employee-meta div{background:#f7f7f8;border-radius:8px;padding:9px;min-width:0}.kd-employee-meta small{display:block;color:#888;font-size:10px;margin-bottom:2px}.kd-employee-meta strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kd-employee-meta a{color:#3858e9;text-decoration:none}.kd-employee-meta a:hover{text-decoration:underline}.kd-employee-actions{display:flex;align-items:center;margin-top:15px;padding-top:13px;border-top:1px solid #eee}.kd-employee-hint{font-size:11px;color:#888}.kd-employee-actions .kd-delete-link{margin-left:auto}
@media(max-width:1000px){.kd-employee-stats{grid-template-columns:1fr 1fr}.kd-employee-form{grid-template-columns:1fr 1fr}.kd-employee-form .kd-field-wide{grid-column:span 2}.kd-employee-save{grid-column:span 2}}
@media(max-width:700px){.kd-employee-stats{grid-template-columns:1fr}.kd-employee-form{grid-template-columns:1fr}.kd-employee-form .kd-field-wide,.kd-employee-save{grid-column:auto}.kd-employee-save{width:100%}.kd-employee-toolbar{justify-content:stretch}.kd-employee-search{width:100%}.kd-employee-grid{grid-template-columns:1fr}.kd-employee-meta{grid-template-columns:1fr 1fr}}

/* V1.5.6 – Fahrzeuge / Auflieger Arbeitsbereich */
.kd-vehicle-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}
.kd-vehicle-stat{background:#fff;border:1px solid #e0e0e0;border-radius:14px;padding:15px 17px;display:flex;align-items:center;gap:12px;box-shadow:0 2px 7px rgba(0,0,0,.04);border-left:4px solid #3858e9}.kd-vehicle-stat-green{border-left-color:#46b450}.kd-vehicle-stat-gold{border-left-color:#dba617}.kd-vehicle-stat-blue{border-left-color:#3858e9}
.kd-vehicle-icon{width:38px;height:38px;border-radius:10px;background:#f2f4ff;color:#3858e9;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px;flex:none}.kd-vehicle-stat small{display:block;color:#777;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.kd-vehicle-stat strong{display:block;font-size:22px;line-height:1.2;margin-top:2px}
.kd-vehicle-create{overflow:visible}.kd-vehicle-form{display:grid;grid-template-columns:2fr 1.2fr 1.2fr 1.2fr 1.4fr 1.4fr;gap:14px;align-items:end}.kd-vehicle-form .kd-field-wide{grid-column:span 2}.kd-vehicle-form label{display:block;font-weight:600;font-size:12px;margin-bottom:0}.kd-vehicle-form input,.kd-vehicle-form select{width:100%;height:42px!important;margin:6px 0 0!important;box-sizing:border-box}.kd-vehicle-form textarea{width:100%;margin:6px 0 0!important;box-sizing:border-box;resize:vertical}.kd-field-notes{grid-column:span 4}.kd-vehicle-save-wrap{grid-column:span 2;align-self:end}.kd-vehicle-save{width:100%;height:42px!important;white-space:nowrap}
.kd-vehicle-toolbar{display:flex;justify-content:flex-end;margin:-4px 0 15px}.kd-vehicle-search{display:flex;align-items:center;gap:8px;width:320px;max-width:100%;background:#fff;border:1px solid #d8dadd;border-radius:9px;padding:0 11px;box-sizing:border-box}.kd-vehicle-search span{font-size:19px;color:#777}.kd-vehicle-search input{border:0!important;box-shadow:none!important;width:100%;height:40px!important;margin:0!important;padding:0!important;background:transparent!important}
.kd-vehicle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:15px}.kd-vehicle-card{border:1px solid #e0e1e3;border-radius:13px;background:#fff;padding:17px;box-shadow:0 2px 8px rgba(0,0,0,.04);border-left:5px solid #46b450}.kd-vehicle-card.kd-vehicle-inactive{border-left-color:#d63638;opacity:.9}.kd-vehicle-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.kd-vehicle-card-top small{font-size:10px;color:#888;letter-spacing:.07em;font-weight:700}.kd-vehicle-card-top h3{margin:2px 0 0;font-size:18px;word-break:break-word}.kd-vehicle-status{font-size:11px;font-weight:700;border-radius:999px;padding:5px 9px;white-space:nowrap;background:#eaf8ee;color:#287541}.kd-vehicle-inactive .kd-vehicle-status{background:#ffecee;color:#b4232d}
.kd-vehicle-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}.kd-vehicle-meta div{background:#f7f7f8;border-radius:8px;padding:9px;min-width:0}.kd-vehicle-meta small{display:block;color:#888;font-size:10px;margin-bottom:2px}.kd-vehicle-meta strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kd-vehicle-actions{display:flex;align-items:center;margin-top:15px;padding-top:13px;border-top:1px solid #eee}.kd-vehicle-hint{font-size:11px;color:#888}.kd-vehicle-actions .kd-delete-link{margin-left:auto}
@media(max-width:1100px){.kd-vehicle-stats{grid-template-columns:1fr 1fr}.kd-vehicle-form{grid-template-columns:1fr 1fr}.kd-vehicle-form .kd-field-wide,.kd-field-notes,.kd-vehicle-save-wrap{grid-column:span 2}}
@media(max-width:700px){.kd-vehicle-stats{grid-template-columns:1fr}.kd-vehicle-form{grid-template-columns:1fr}.kd-vehicle-form .kd-field-wide,.kd-field-notes,.kd-vehicle-save-wrap{grid-column:auto}.kd-vehicle-save{width:100%}.kd-vehicle-toolbar{justify-content:stretch}.kd-vehicle-search{width:100%}.kd-vehicle-grid{grid-template-columns:1fr}.kd-vehicle-meta{grid-template-columns:1fr 1fr}}

/* V1.6.0 – Werkstattstatus + TÜV/SP Übersicht */
.kd-vehicle-form .kd-inspection-field label span{font-weight:400;color:#888}
.kd-vehicle-form input[type="month"]{font-variant-numeric:tabular-nums}
.kd-vehicle-workshop{border-left-color:#dba617!important;background:#fffdf7}
.kd-vehicle-workshop .kd-vehicle-status{background:#fff3d6;color:#8a5b00}
.kd-vehicle-actions .button{margin-left:8px}
.kd-inspection-mini{position:relative}
.kd-inspection-mini strong{display:block;margin-bottom:5px}
.kd-inspection-badge{display:inline-block;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:700;white-space:nowrap}
.kd-inspection-overdue{background:#ffecee;color:#b4232d}
.kd-inspection-month{background:#fff3d6;color:#8a5b00}
.kd-inspection-soon{background:#eef3ff;color:#3157b7}
.kd-inspection-ok{background:#eaf8ee;color:#287541}
.kd-inspection-none{background:#f0f0f1;color:#777}
.kd-inspection-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:4px 0 18px}
.kd-inspection-stat{background:#f8f8f9;border:1px solid #e2e2e4;border-radius:11px;padding:12px 14px;border-left:4px solid #3858e9}
.kd-inspection-stat small{display:block;color:#777;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.kd-inspection-stat strong{display:block;font-size:23px;line-height:1.15;margin-top:3px}
.kd-inspection-stat.kd-inspection-overdue{border-left-color:#d63638}.kd-inspection-stat.kd-inspection-month{border-left-color:#dba617}.kd-inspection-stat.kd-inspection-soon{border-left-color:#3858e9}.kd-inspection-stat.kd-inspection-ok{border-left-color:#46b450}
.kd-inspection-table-wrap{overflow:auto}
.kd-inspection-table{border-collapse:separate;border-spacing:0;min-width:760px}
.kd-inspection-table th{font-size:11px;text-transform:uppercase;letter-spacing:.03em;color:#777}
.kd-inspection-table td{vertical-align:middle;padding:11px 10px}
.kd-inspection-table td:first-child strong,.kd-inspection-table td:first-child small{display:block}
.kd-inspection-table td:first-child small{font-size:10px;color:#888;margin-top:2px}
.kd-workshop-pill{display:inline-block;margin-top:5px;background:#fff3d6;color:#8a5b00;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:700}
.kd-inspection-note{font-size:11px;color:#777;margin:12px 0 0}
.kd-inspection-help{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:10px 12px;background:#fafafa;border:1px solid #e5e5e7;border-radius:9px;font-size:11px;color:#555}.kd-inspection-help span{background:#fff;border:1px solid #e5e5e7;border-radius:999px;padding:5px 8px}.kd-inspection-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:#777}.kd-inspection-footer .button{margin:0 0 0 5px}@media(max-width:700px){.kd-inspection-footer{align-items:flex-start;flex-direction:column}.kd-inspection-footer>span:last-child{width:100%}.kd-inspection-footer .button{box-sizing:border-box;width:100%;margin:5px 0 0}}

@media(max-width:1000px){.kd-inspection-stats{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.kd-inspection-stats{grid-template-columns:1fr 1fr}.kd-inspection-table{min-width:700px}.kd-vehicle-actions{flex-wrap:wrap;gap:6px}.kd-vehicle-actions .button{margin-left:auto}.kd-vehicle-actions .kd-delete-link{margin-left:auto}}


/* V1.6.3 – Disposition Arbeitsbereich optisch überarbeitet */
.kd-dispo-form-panel{padding:24px 22px}.kd-dispo-form-panel>h2{font-size:20px;margin:0 0 5px}.kd-dispo-form-panel>.kd-muted{margin-bottom:18px}.kd-dispo-form-panel .kd-form{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:end}.kd-dispo-form-panel .kd-dispo-order-field{grid-column:1/-1}.kd-dispo-form-panel .kd-dispo-order-field select{display:block;width:100%;margin-top:7px;min-height:44px}.kd-dispo-daybox{grid-column:1/-1;display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid #e2e3e5;border-radius:12px;background:linear-gradient(90deg,#f7f8fb,#fff);border-left:4px solid #3858e9;box-sizing:border-box}.kd-dispo-daybox-icon{width:42px;height:42px;border-radius:10px;background:#eef3ff;display:flex;align-items:center;justify-content:center;font-size:21px;flex:none}.kd-dispo-daybox-copy{min-width:0}.kd-dispo-daybox-copy small{display:block;color:#777;font-size:10px;font-weight:700;letter-spacing:.08em;margin-bottom:2px}.kd-dispo-daybox-copy strong{display:block;font-size:16px;line-height:1.25;color:#222}.kd-dispo-daybox-copy span{display:block;margin-top:3px;color:#777;font-size:12px}.kd-dispo-field{grid-column:span 3;font-weight:600;font-size:12px}.kd-dispo-field select{display:block;width:100%;height:44px!important;margin-top:7px!important;box-sizing:border-box}.kd-dispo-status-field{grid-column:span 3}.kd-dispo-save-wrap{grid-column:span 3}.kd-dispo-save{width:100%;height:44px!important;display:inline-flex!important;align-items:center;justify-content:center;font-weight:600!important}.kd-dispo-form-panel .kd-dispo-warning{grid-column:1/-1;margin:0}.kd-dispo-form-panel .kd-dispo-warning p{margin-bottom:8px}.kd-dispo-form-panel .kd-dispo-warning ul{margin-bottom:0}
@media(max-width:900px){.kd-dispo-form-panel .kd-form{grid-template-columns:1fr 1fr}.kd-dispo-form-panel .kd-dispo-order-field,.kd-dispo-form-panel .kd-dispo-daybox{grid-column:1/-1}.kd-dispo-field,.kd-dispo-status-field,.kd-dispo-save-wrap{grid-column:span 1}}
@media(max-width:700px){.kd-dispo-form-panel{padding:18px 15px}.kd-dispo-form-panel .kd-form{grid-template-columns:1fr;gap:13px}.kd-dispo-form-panel .kd-dispo-order-field,.kd-dispo-form-panel .kd-dispo-daybox,.kd-dispo-field,.kd-dispo-status-field,.kd-dispo-save-wrap{grid-column:1/-1}.kd-dispo-daybox{padding:13px}.kd-dispo-daybox-icon{width:38px;height:38px}.kd-dispo-save{width:100%}}


/* V1.6.4 – Dispositionskalender */
.kd-week-board{padding:20px 20px 16px}.kd-week-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:16px}.kd-week-head h2{margin:0 0 4px;font-size:20px}.kd-week-head p{margin:0}.kd-week-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.kd-week-nav strong{font-size:12px;white-space:nowrap;background:#f5f5f6;border-radius:8px;padding:9px 10px}.kd-week-wrap{overflow:auto;border:1px solid #e0e1e3;border-radius:12px}.kd-week-table{width:100%;min-width:920px;border-collapse:separate;border-spacing:0;background:#fff}.kd-week-table th,.kd-week-table td{border-right:1px solid #ececef;border-bottom:1px solid #ececef;padding:9px;vertical-align:top}.kd-week-table thead th{background:#f7f7f8;font-size:11px;color:#666;text-align:center;height:44px}.kd-week-table thead th:first-child{text-align:left;min-width:190px}.kd-week-table thead th span{display:block;font-size:10px;text-transform:uppercase;color:#888}.kd-week-table thead th b{display:block;margin-top:2px;color:#333}.kd-week-table tbody>tr>th{background:#fafafa;text-align:left;min-width:190px;font-size:12px}.kd-week-table tbody>tr:last-child>th,.kd-week-table tbody>tr:last-child>td{border-bottom:0}.kd-week-table th:last-child,.kd-week-table td:last-child{border-right:0}.kd-week-today{background:#f2f5ff!important}.kd-week-workshop{display:block;margin-top:4px;font-size:9px;font-weight:700;color:#8a5b00}.kd-week-cell{display:flex;flex-direction:column;gap:2px;min-height:48px;box-sizing:border-box;border-radius:8px;padding:7px;text-decoration:none;font-size:11px}.kd-week-cell span{font-size:10px;line-height:1.25}.kd-week-cell small{font-size:9px;color:#666}.kd-week-cell-free{align-items:center;justify-content:center;background:#f3faf5;color:#36804a;border:1px dashed #b8ddc1}.kd-week-cell-busy{background:#eef3ff;border:1px solid #cbd7ff;color:#274aaf}.kd-week-cell-busy strong{font-size:11px}.kd-week-cell-busy:hover{background:#e3ebff}.kd-week-cell-workshop{align-items:center;justify-content:center;background:#fff5dc;border:1px solid #eed79a;color:#8a5b00}.kd-week-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:11px;color:#777;font-size:10px}.kd-week-legend span{display:flex;align-items:center;gap:5px}.kd-week-legend i{display:inline-block;width:9px;height:9px;border-radius:3px}.kd-week-legend .free{background:#b8ddc1}.kd-week-legend .busy{background:#cbd7ff}.kd-week-legend .workshop{background:#eed79a}
@media(max-width:800px){.kd-week-head{align-items:flex-start;flex-direction:column}.kd-week-nav{justify-content:flex-start}.kd-week-nav .button{font-size:11px;padding:6px 9px}.kd-week-table{min-width:850px}}

/* V1.6.5 – Gemeinsamer Ressourcenplan für Fahrzeuge, Auflieger und Fahrer */
.kd-resource-board{margin-top:18px}.kd-resource-board:first-of-type{margin-top:0}.kd-resource-board-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;padding:0 2px}.kd-resource-board-head h3{margin:0;font-size:15px}.kd-resource-board-head span{font-size:10px;color:#777;background:#f5f5f6;border-radius:999px;padding:5px 8px}.kd-resource-table{min-width:980px}.kd-resource-table tbody>tr>th strong{display:block}.kd-resource-table tbody>tr>th small{display:block;margin-top:3px;color:#777;font-size:10px}.kd-resource-table .kd-week-cell-busy em{font-style:normal;font-size:9px;color:#4965a8;line-height:1.2;margin-top:2px}.kd-resource-trailer .kd-week-cell-busy{background:#f2f0ff;border-color:#d8d0ff;color:#5944a5}.kd-resource-driver .kd-week-cell-busy{background:#eef9f2;border-color:#c9e5d0;color:#2d6f43}.kd-resource-trailer .kd-week-cell-free,.kd-resource-driver .kd-week-cell-free{background:#f3faf5}.kd-resource-board+.kd-resource-board{padding-top:2px;border-top:1px solid #ececef}.kd-resource-table thead th:first-child{min-width:210px}
@media(max-width:700px){.kd-resource-board-head{padding:0 2px}.kd-resource-table{min-width:900px}.kd-resource-table tbody>tr>th{min-width:210px}}
.kd-vehicle-assignment{margin:10px 0 0;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc;display:flex;flex-direction:column;gap:3px}.kd-vehicle-assignment small{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#64748b}.kd-vehicle-assignment strong{font-size:13px;color:#0f172a}.kd-dispo-trailer-info{background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:12px}.kd-dispo-trailer-info label{display:flex;flex-direction:column;gap:5px}.kd-dispo-trailer-info strong{font-size:14px}.kd-dispo-trailer-info small{color:#64748b}


/* V1.8.2 – Abrechnung Bearbeitungsbereich: sauberes, responsives Layout */
/* V1.14.59 – Warenpositionen im Auftragsformular über die volle Breite */
.kd-order-form>.kd-cargo-items{grid-column:1/-1;width:100%;min-width:0;box-sizing:border-box;align-self:stretch}
.kd-order-form>.kd-cargo-items .kd-cargo-table-wrap{width:100%;min-width:0}
.kd-order-form>.kd-cargo-items .kd-cargo-table{min-width:760px}
.kd-bill-edit .kd-bill-form{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:end;width:100%;box-sizing:border-box}
.kd-bill-edit .kd-bill-form>label{display:block;min-width:0;font-weight:600;font-size:12px}
.kd-bill-edit .kd-bill-form>label:nth-of-type(1){grid-column:span 3}
.kd-bill-edit .kd-bill-form>label:nth-of-type(2){grid-column:span 3}
.kd-bill-edit .kd-bill-form>label:nth-of-type(3){grid-column:span 3}
.kd-bill-edit .kd-bill-form>label:nth-of-type(4){grid-column:span 3}
.kd-bill-edit .kd-bill-form>label:nth-of-type(5){grid-column:1/-1}
.kd-bill-edit .kd-bill-form input,.kd-bill-edit .kd-bill-form select,.kd-bill-edit .kd-bill-form textarea{width:100%;max-width:100%;box-sizing:border-box;margin-top:7px!important}
.kd-bill-edit .kd-bill-form input,.kd-bill-edit .kd-bill-form select{height:42px!important;min-height:42px}
.kd-bill-edit .kd-bill-form textarea{min-height:96px;resize:vertical}
.kd-bill-edit .kd-bill-form>.button{grid-column:1/-1;justify-self:start;min-height:42px!important;height:42px!important;margin:0!important}
@media(max-width:1000px){.kd-bill-edit .kd-bill-form>label:nth-of-type(1),.kd-bill-edit .kd-bill-form>label:nth-of-type(2),.kd-bill-edit .kd-bill-form>label:nth-of-type(3),.kd-bill-edit .kd-bill-form>label:nth-of-type(4){grid-column:span 6}}
@media(max-width:700px){.kd-bill-edit .kd-bill-form{grid-template-columns:1fr;gap:13px}.kd-bill-edit .kd-bill-form>label:nth-of-type(1),.kd-bill-edit .kd-bill-form>label:nth-of-type(2),.kd-bill-edit .kd-bill-form>label:nth-of-type(3),.kd-bill-edit .kd-bill-form>label:nth-of-type(4),.kd-bill-edit .kd-bill-form>label:nth-of-type(5),.kd-bill-edit .kd-bill-form>.button{grid-column:1/-1}.kd-bill-edit .kd-bill-form>.button{width:100%;justify-self:stretch}}

/* V1.8.4 – Mitarbeiter/Fahrer: einheitliches Krahwinkel-Formular */
.kd-employee-create{overflow:visible}
.kd-employee-form{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:end}
.kd-employee-form .kd-field{min-width:0}
.kd-employee-form label{display:block;font-weight:700;font-size:12px;color:#34373c;margin:0 0 7px}
.kd-employee-form input,.kd-employee-form select{display:block;width:100%!important;max-width:100%;height:44px!important;min-height:44px!important;margin:0!important;padding:0 12px!important;box-sizing:border-box;border:1px solid #d8dadd!important;border-radius:9px!important;background:#fff!important;color:#25282c!important;box-shadow:none!important;outline:none}
.kd-employee-form input:focus,.kd-employee-form select:focus{border-color:#3858e9!important;box-shadow:0 0 0 2px rgba(56,88,233,.10)!important}
.kd-employee-name-field{grid-column:span 4}.kd-employee-role-field{grid-column:span 2}.kd-employee-phone-field{grid-column:span 3}.kd-employee-email-field{grid-column:span 3}
.kd-employee-status-field{grid-column:span 3}
.kd-employee-form-actions{grid-column:span 9;display:flex;gap:10px;align-items:center;justify-content:flex-start;flex-wrap:wrap;margin:0}
.kd-employee-form-actions .button{margin:0!important;height:44px!important;min-height:44px!important;padding:0 18px!important;border-radius:9px!important;display:inline-flex!important;align-items:center;justify-content:center;font-weight:700!important;box-sizing:border-box}
.kd-employee-form-actions .kd-employee-save{background:#3858e9!important;border-color:#3858e9!important;color:#fff!important;box-shadow:none!important}
.kd-employee-form-actions .kd-employee-save:hover{background:#2948d2!important;border-color:#2948d2!important}
.kd-employee-form-actions .kd-employee-cancel{background:#fff!important;border:1px solid #d8dadd!important;color:#444!important}
.kd-employee-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.kd-employee-actions .button{margin:0!important;height:36px!important;min-height:36px!important;border-radius:8px!important;display:inline-flex!important;align-items:center;justify-content:center}
.kd-employee-actions .kd-delete-link{margin-left:auto;color:#b4232d;text-decoration:none;font-size:12px}
@media(max-width:1050px){.kd-employee-name-field{grid-column:span 5}.kd-employee-role-field{grid-column:span 2}.kd-employee-phone-field{grid-column:span 5}.kd-employee-email-field{grid-column:span 6}.kd-employee-status-field{grid-column:span 3}.kd-employee-form-actions{grid-column:span 3}}
@media(max-width:700px){.kd-employee-form{grid-template-columns:1fr;gap:13px}.kd-employee-name-field,.kd-employee-role-field,.kd-employee-phone-field,.kd-employee-email-field,.kd-employee-status-field,.kd-employee-form-actions{grid-column:1/-1}.kd-employee-form-actions{display:grid;grid-template-columns:1fr}.kd-employee-form-actions .button{width:100%!important}.kd-employee-actions{align-items:stretch}.kd-employee-actions .button,.kd-employee-actions .kd-delete-link{width:100%;text-align:center}.kd-employee-actions .kd-delete-link{margin-left:0}}

/* v1.8.9 – Einheitlicher oberer Seitenkopf auf allen Dispo-Seiten */
.kd-front-main > .wrap > .kd-hero,
.kd-wrap > .kd-hero {
    width:100%;
    min-height:116px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    box-sizing:border-box;
    background:linear-gradient(135deg,#a80012 0%,#c40016 42%,#3858e9 100%);
    color:#fff;
    border-radius:16px;
    padding:26px 30px;
    margin:24px 0 18px;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
}
.kd-front-main > .wrap > .kd-hero h1,
.kd-wrap > .kd-hero h1 {
    margin:0 0 7px;
    color:#fff;
    font-size:30px;
    line-height:1.15;
    font-weight:500;
}
.kd-front-main > .wrap > .kd-hero p,
.kd-wrap > .kd-hero p {
    margin:0;
    color:rgba(255,255,255,.9);
    font-size:13px;
    line-height:1.5;
}
@media(max-width:782px){
    .kd-front-main > .wrap > .kd-hero,
    .kd-wrap > .kd-hero {min-height:96px;padding:20px 22px;margin:14px 0 16px;border-radius:14px}
    .kd-front-main > .wrap > .kd-hero h1,
    .kd-wrap > .kd-hero h1 {font-size:24px}
}


/* V1.9.0 – Krahwinkel Hausfarben: Rot + Blau */
.kd-wrap .button-primary,.kd-wrap input[type=submit],.kd-wrap button[type=submit],.kd-front-main .button-primary,.kd-front-main input[type=submit],.kd-front-main button[type=submit]{background:#3858e9!important;border-color:#3858e9!important;color:#fff!important}
.kd-wrap .button-primary:hover,.kd-wrap input[type=submit]:hover,.kd-wrap button[type=submit]:hover,.kd-front-main .button-primary:hover,.kd-front-main input[type=submit]:hover,.kd-front-main button[type=submit]:hover{background:#2948d2!important;border-color:#2948d2!important}
.kd-wrap a:not(.button):not(.kd-delete-link),.kd-front-main a:not(.button):not(.kd-delete-link){color:#3858e9}
.kd-notice{border-left-color:#a80012}
.kd-section-badge{color:#a80012}

/* Krahwinkel Markenfarben V1.9.1 */
:root{--kd-brand-primary:#1932A2;--kd-brand-secondary:#09071D}
.kd-hero{background:linear-gradient(135deg,var(--kd-brand-primary),var(--kd-brand-secondary))!important}
.kd-notice{border-left-color:var(--kd-brand-primary)!important}
.kd-section-badge{color:var(--kd-brand-primary)!important}
.kd-doc-stat-icon,.kd-customer-icon,.kd-import-icon{color:var(--kd-brand-primary)!important}
.kd-dispo-card{border-left-color:var(--kd-brand-primary)}
.kd-dispo-daybox{border-left-color:var(--kd-brand-primary)}
.kd-employee-form input:focus,.kd-employee-form select:focus{border-color:var(--kd-brand-primary)!important;box-shadow:0 0 0 2px rgba(25,50,162,.10)!important}
.kd-employee-form-actions .kd-employee-save{background:var(--kd-brand-primary)!important;border-color:var(--kd-brand-primary)!important}
.kd-employee-form-actions .kd-employee-save:hover{background:#142987!important;border-color:#142987!important}
.kd-wrap .button-primary,.kd-wrap input[type=submit],.kd-wrap button[type=submit],.kd-front-main .button-primary,.kd-front-main input[type=submit],.kd-front-main button[type=submit]{background:var(--kd-brand-primary)!important;border-color:var(--kd-brand-primary)!important}
.kd-wrap .button-primary:hover,.kd-wrap input[type=submit]:hover,.kd-wrap button[type=submit]:hover,.kd-front-main .button-primary:hover,.kd-front-main input[type=submit]:hover,.kd-front-main button[type=submit]:hover{background:#142987!important;border-color:#142987!important}
.kd-wrap a:not(.button):not(.kd-delete-link),.kd-front-main a:not(.button):not(.kd-delete-link){color:var(--kd-brand-primary)}
.kd-section-badge{background:#eef1ff!important}
.kd-kpi-blue,.kd-kpi-red{border-top-color:var(--kd-brand-primary)!important}

/* V1.9.4 – Tacho-Prüfung */
.kd-inspection-mini{border-left:3px solid #1932A2}.kd-inspection-mini .kd-inspection-badge{display:inline-block;margin-top:2px}.kd-vehicle-meta .kd-inspection-mini strong{white-space:nowrap}


/* V1.12.9 – Gefahrgut als einfache Checkbox */
.kd-checkbox-field{display:flex;flex-direction:column;gap:8px;}
.kd-checkbox-inline{display:flex;align-items:center;gap:8px;font-weight:600;}
.kd-checkbox-inline input[type="checkbox"]{width:18px;height:18px;margin:0;}

.kd-good{display:inline-block;padding:3px 8px;border-radius:12px;background:#dff5e5;color:#166534;font-weight:600}.kd-warn{display:inline-block;padding:3px 8px;border-radius:12px;background:#fff1c7;color:#8a5a00;font-weight:600}.kd-bad{display:inline-block;padding:3px 8px;border-radius:12px;background:#fde2e2;color:#b32d2e;font-weight:600}

/* V1.28.0 – grafische Fahrspuren / physische Lagerkarte */
.kd-lager-map-note{display:flex;gap:12px;align-items:flex-start;margin:0 0 12px;padding:10px 12px;background:#eef4ff;border:1px solid #cbdaf5;border-radius:8px;color:#334155;font-size:12px}.kd-lager-map-note strong{color:#18345e;white-space:nowrap}.kd-lager-col-head{display:flex!important;flex-direction:column;gap:2px}.kd-lager-col-head span{font-size:10px;font-weight:500;opacity:.78}.kd-lager-pos{position:absolute;right:5px;top:4px;font-size:9px;color:#64748b}.kd-lager-lane{position:relative!important;width:34px!important;min-width:34px!important;flex-direction:column!important;gap:2px!important;background:repeating-linear-gradient(to bottom,transparent 0,transparent 8px,#94a3b8 8px,#94a3b8 10px)!important;border-left:2px solid #64748b!important;border-right:2px solid #64748b!important}.kd-lager-lane strong{font-size:22px;line-height:1}.kd-lager-lane small{font-size:8px;text-transform:uppercase;writing-mode:vertical-rl;transform:rotate(180deg);letter-spacing:.4px;color:#475569}.kd-lager-lane-labels{font-weight:600}

/* V1.36.72 – Silo-Editor: Auswahltexte vollständig und vertikal sauber anzeigen */
.kd-silo-wrap .kd-silo-editor .kd-editor-field select,
.kd-silo-wrap .kd-silo-editor .kd-editor-field input{
    display:block!important;
    width:100%!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:0 10px!important;
    line-height:20px!important;
    vertical-align:middle!important;
    overflow:visible!important;
}
.kd-silo-wrap .kd-silo-editor .kd-editor-field select{
    padding-top:0!important;
    padding-bottom:0!important;
    line-height:normal!important;
    appearance:auto!important;
    -webkit-appearance:auto!important;
}
.kd-silo-wrap .kd-silo-editor .kd-editor-field select option{
    line-height:normal!important;
    padding:2px 6px!important;
}
.kd-silo-wrap .kd-silo-editor .kd-editor-field textarea{
    box-sizing:border-box!important;
    line-height:1.4!important;
    padding:8px 10px!important;
}


/* V1.36.75 – Einheitliche Auswahlfelder im gesamten Krahwinkel Dispo Backend */
.kd-wrap select:not([multiple]),
.kd-panel select:not([multiple]),
.kd-card select:not([multiple]),
.kd-form select:not([multiple]),
.kd-field select:not([multiple]),
.kd-doc-form select:not([multiple]),
.kd-dispo-form-panel select:not([multiple]),
.kd-silo-wrap select:not([multiple]){
    display:block!important;
    width:100%!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    box-sizing:border-box!important;
    margin-top:6px!important;
    padding:0 32px 0 10px!important;
    line-height:38px!important;
    vertical-align:middle!important;
    overflow:visible!important;
    font-size:13px!important;
}
.kd-wrap select:not([multiple]) option,
.kd-panel select:not([multiple]) option,
.kd-card select:not([multiple]) option,
.kd-form select:not([multiple]) option,
.kd-field select:not([multiple]) option,
.kd-doc-form select:not([multiple]) option,
.kd-dispo-form-panel select:not([multiple]) option,
.kd-silo-wrap select:not([multiple]) option{
    line-height:normal!important;
    padding:2px 6px!important;
}
