#maintenance{--muted:#61736b;--green:#176b4f;--line:#dce5df;--red:#a93b29;max-width:1400px}
#maintenance #to-list>.form-note,#maintenance #to-list>.heading,#maintenance #to-list>.panel{grid-column:1/-1}#maintenance .to-months{display:flex;flex-wrap:wrap;gap:12px}#maintenance .to-month{display:flex;flex-direction:column;gap:5px}
#maintenance .heading{display:flex;justify-content:space-between;gap:20px}#maintenance .heading h1{display:none}#maintenance .eyebrow{font-size:13px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}#maintenance .muted,#maintenance .form-note{color:var(--muted);line-height:1.6}#maintenance .segmented{display:flex;gap:8px;margin:16px 0}#maintenance [aria-pressed=true]{background:#dcebe1;color:#154c37}#maintenance label{display:block;font-weight:600;margin:12px 0}#maintenance label input,#maintenance label select,#maintenance textarea{display:block;width:100%;margin-top:8px}#maintenance textarea{min-height:120px;padding:12px}#maintenance #to-direction,#maintenance #to-search{width:min(100%,480px);min-height:42px}#maintenance .panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;margin:16px 0}#maintenance .panel:not(:has(#to-files)){max-width:1000px}#maintenance #to-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:16px}#maintenance .to-group,#maintenance .month-picker,#maintenance .empty{grid-column:1/-1}#maintenance .to-group{margin:18px 0 0}#maintenance .issue{border:1px solid var(--line);border-radius:14px;padding:18px;background:white;margin:0}#maintenance .issue h2{font-size:18px;line-height:1.4;margin:12px 0}#maintenance .issue-top,#maintenance .issue-foot{display:flex;justify-content:space-between;gap:10px;align-items:center}#maintenance .issue-foot{border-top:1px solid var(--line);padding-top:12px;margin-top:14px;font-size:13px}#maintenance .place{font-size:14px;color:var(--muted)}#maintenance .badge{background:#e3f1e8;color:#1f6645;border-radius:6px;padding:5px 8px}#maintenance .back{margin:0 0 15px}#maintenance .late,#maintenance .error{color:var(--red)}#maintenance .actions,#maintenance .report-actions,#maintenance .profile-list{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}#maintenance .attachment{border-top:1px solid var(--line);padding:14px 0}#maintenance .file{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;overflow-wrap:anywhere}#maintenance .file small{display:block;color:var(--muted);margin-top:5px}#maintenance .image-thumb{display:block;max-width:480px;padding:0;overflow:hidden}#maintenance .image-thumb img{width:100%;max-height:260px;object-fit:contain}#maintenance .image-state{padding:24px}#maintenance .month-grid{display:flex;flex-wrap:wrap;gap:10px}
.image-viewer{width:min(96vw,1100px);max-width:96vw;max-height:94dvh;padding:20px;border:0;border-radius:16px}.viewer-head,.viewer-actions,.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.viewer-head h2{font-size:18px;overflow-wrap:anywhere}.viewer-scroll{max-height:calc(94dvh - 160px);overflow:auto;background:#e4ebe6;border-radius:10px}.full-image{display:block;max-width:100%;max-height:calc(94dvh - 180px);margin:auto;object-fit:contain}.zoomed .full-image{width:200%;max-width:none;max-height:none}.viewer-actions{margin-top:12px}.camera-dialog{width:min(560px,94vw);max-height:94dvh;overflow:auto;border:1px solid #dce5df;border-radius:16px;padding:20px}.camera-dialog video,.camera-dialog img{display:block;width:100%;max-height:55dvh;object-fit:contain;background:#172921;border-radius:12px}.camera-dialog label{display:block;margin:16px 0}.camera-dialog input{display:block;width:100%;margin-top:8px}.camera-dialog .form-note{font-size:14px;line-height:1.5;color:#61736b}.camera-dialog .error{color:#a93b29}.camera-dialog .actions{display:flex;gap:12px;margin-top:16px}.camera-dialog .full{width:100%;margin:12px 0}.camera-dialog::backdrop,.image-viewer::backdrop{background:#0b211b88}
