/* Lager DLRG Hirschaid 1.0.14 – Geräteprüfung, helles responsives Design */
.maintenance-safety{margin:2px 0 18px;padding:14px 18px;border:1px solid #dfe4e9;border-radius:13px;background:#f8f9fa;color:#59646f;font-size:13px;line-height:1.6}
.maintenance-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}
.maintenance-stat{background:#fff;border:1px solid #e1e6eb;border-radius:16px;padding:21px;display:flex;flex-direction:column;gap:8px}
.maintenance-stat span{font-size:12px;color:#718090}.maintenance-stat strong{font-size:32px;line-height:1.1;font-weight:830;color:#232932}
.maintenance-register{display:grid;grid-template-columns:minmax(0,1fr) 180px auto;gap:13px;align-items:end}.maintenance-register .btn{min-height:54px}
.maintenance-tools{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:13px;margin-bottom:17px}.maintenance-device-list{display:grid;gap:12px}
.maintenance-device{padding:19px 21px;border-radius:15px;border:1px solid #e3e7ec;background:#fbfcfd;display:flex;align-items:center;justify-content:space-between;gap:16px}
.maintenance-device-main{min-width:0;display:grid;gap:7px}.maintenance-device-heading{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.maintenance-device-heading strong{font-size:17px;color:#222932;overflow-wrap:anywhere}
.maintenance-pill{font-size:11px;font-weight:790;border-radius:99px;padding:6px 10px;background:#ebeff3;color:#52606e;white-space:nowrap}
.maintenance-pill.status-current{background:#e9f3ee;color:#226744}.maintenance-pill.status-blocked{background:#fee8e8;color:#9a2f33}
.maintenance-pill.status-overdue{background:#fcead9;color:#94530e}.maintenance-pill.status-upcoming{background:#fff2d5;color:#806017}.maintenance-pill.status-missing{background:#e9edf1;color:#586677}
.maintenance-info,.maintenance-sku,.maintenance-reason{margin:0;color:#6c7784;font-size:12px;line-height:1.55}.maintenance-reason{color:#9b393b;font-weight:650}
.maintenance-actions{display:flex;flex-shrink:0;gap:9px;flex-wrap:wrap;justify-content:end}.maintenance-actions .btn{min-height:44px;font-size:12px;padding:10px 13px}
.maintenance-history-list{display:grid;gap:12px}.maintenance-history{display:grid;gap:10px;background:#fbfcfd;border:1px solid #e3e8ed;border-radius:14px;padding:17px}
.maintenance-history-head{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap}.maintenance-history-head strong{color:#282f38}.maintenance-muted{font-size:12px;color:#6d7a88}.maintenance-history-notes{margin:0;white-space:pre-wrap;line-height:1.55;color:#505c69}.maintenance-history .btn{justify-self:start}
.maintenance-dialog{max-width:750px}.maintenance-report-form{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:21px}.maintenance-wide{grid-column:1/-1}.maintenance-report-form textarea{width:100%;min-height:110px;border:1px solid #dce2e8;border-radius:12px;padding:14px;font:inherit;color:#24303b;resize:vertical}.maintenance-report-form input[type=file]{font:inherit;font-size:13px;max-width:100%}.maintenance-block-editor{margin-top:20px;border-top:1px solid #e1e5e9;padding-top:15px;display:grid;gap:12px}.maintenance-block-editor .form-actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:1150px){.maintenance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.maintenance-device{align-items:start;flex-direction:column}.maintenance-actions{justify-content:start}}
@media(max-width:750px){.maintenance-register,.maintenance-tools,.maintenance-report-form{grid-template-columns:1fr}.maintenance-wide{grid-column:auto}.maintenance-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.maintenance-actions .btn{justify-content:center}.maintenance-stat{padding:16px}.maintenance-stat strong{font-size:27px}}
@media(max-width:440px){.maintenance-actions{grid-template-columns:1fr}.maintenance-stats{gap:8px}.maintenance-stat{padding:13px}.maintenance-stat span{font-size:11px}.maintenance-device{padding:15px}.maintenance-block-editor .btn,.maintenance-history .btn{width:100%;justify-content:center}}

/* 1.0.14a – einheitlicher moderner Foto-Uploader für Prüfprotokolle */
.maintenance-photo-field{min-width:0}
.maintenance-photo-picker{width:100%;min-width:0}
.maintenance-photo-field:has(.maintenance-photo-input:focus-visible) .maintenance-photo-picker{outline:3px solid #8995a65c;outline-offset:3px}
.maintenance-photo-field .maintenance-photo-input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.maintenance-photo-preview{display:flex;align-items:center;gap:14px;min-height:64px;padding:11px 14px;border:1px solid #dfe5ea;border-radius:13px;background:#f8fafb;color:#687581;font-size:13px;overflow-wrap:anywhere}
.maintenance-photo-preview img{display:block;width:80px;height:70px;border:1px solid #e1e5eb;border-radius:10px;object-fit:cover;flex:0 0 auto;background:#fff}
.maintenance-photo-preview .maintenance-photo-filename{font-weight:690;color:#27313c;overflow-wrap:anywhere}
.maintenance-photo-clear{justify-self:start;padding:7px 0;min-height:32px;color:#616b76}
.maintenance-photo-clear[hidden]{display:none!important}
@media(max-width:580px){.maintenance-photo-preview{align-items:flex-start}.maintenance-photo-preview img{width:70px;height:66px}}
