/* Device report composition: compact rows, readable controls and quiet panels. */
.photo-report-settings>summary,.photo-report-bulk>summary{display:flex;align-items:center;gap:10px;min-height:48px;font-weight:700}
.photo-report-settings-body{display:grid;gap:16px;padding:16px 0 4px;min-width:0}
.photo-report-options-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.photo-report-option,.photo-report-add-choice{display:flex;align-items:center;gap:11px;min-height:44px;font-weight:600}
.photo-report-option input,.photo-report-add-choice input{width:21px;height:21px;flex:0 0 auto;accent-color:var(--accent,#b8ff00)}
.photo-report-selection-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.photo-report-selection-tools>.field-hint{margin-left:auto}
.photo-report-item{min-width:0;padding:15px 0;border-bottom:1px solid var(--border,#333)}
.local-report-builder .photo-report-row{display:grid;grid-template-columns:24px 62px minmax(0,1fr) auto;gap:12px;align-items:center;padding:0;border:0;background:none}
.photo-report-thumb{width:62px;height:66px;overflow:hidden;border-radius:9px;background:var(--bg,#111)}
.photo-report-thumb img{display:block;width:100%;height:100%;object-fit:cover;border:0}
.photo-report-row-copy{min-width:0;display:grid;gap:6px;overflow-wrap:anywhere}
.photo-report-row-copy strong{font-size:15px;line-height:1.35}
.photo-report-row-copy small{font-size:12px;line-height:1.45;color:var(--muted,#999)}
.photo-report-order-controls{display:flex;gap:5px;flex-wrap:nowrap}
.photo-report-order-controls .btn{min-width:42px;min-height:44px;padding:9px}
.photo-report-issue-editor{margin:10px 0 0 98px;min-width:0}
.photo-report-issue-editor>summary{display:flex;align-items:center;gap:8px;min-height:42px;font-size:14px;font-weight:650;cursor:pointer}
.photo-report-issue-editor .photo-report-settings-body{padding-top:12px}
.photo-report-issue-editor textarea{min-height:95px;resize:vertical}
.photo-report-issue-editor .photo-issue-ok{justify-self:end;min-width:66px;min-height:44px}
.photo-report-issue-editor .field{min-width:0}
.photo-report-issue-editor input,.photo-report-issue-editor select,.photo-report-issue-editor textarea{width:100%;min-width:0;font-size:16px}
.photo-report-add-list{display:grid;gap:6px}
.photo-report-add-choice{padding:8px;border-radius:8px;overflow-wrap:anywhere}
.photo-report-show-more{margin:15px auto 0}
.photo-report-page-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px;padding:12px 0;border-top:1px solid var(--line)}
.photo-report-page-controls .field-hint{flex:1 1 200px;text-align:center}
.photo-report-page-controls .btn{min-height:44px}
.local-report-builder progress{width:100%;height:12px;accent-color:var(--accent,#b8ff00)}
.local-report-builder .modal-footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.local-report-builder .modal-footer>.btn{min-height:48px;white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){
 .local-report-builder .photo-report-row{grid-template-columns:23px 48px minmax(0,1fr);gap:9px}
 .photo-report-thumb{width:48px;height:58px}
 .photo-report-order-controls{grid-column:3;justify-content:flex-end;grid-row:2}
 .photo-report-issue-editor{margin-left:0;margin-top:6px}
 .photo-report-issue-editor .form-grid,.photo-report-settings .form-grid,.photo-report-bulk .form-grid{grid-template-columns:1fr}
 .photo-report-selection-tools>.field-hint{flex-basis:100%;margin:0}
 .photo-report-options-checks{gap:7px}
 .photo-report-option{font-size:14px}
 .local-report-builder .modal-footer>.btn:last-child{flex:1 1 190px}
 .local-report-builder .modal-footer>.btn:first-child{flex:0 1 auto}
}
@media(max-width:350px){.photo-report-options-checks{grid-template-columns:1fr}.local-report-builder .modal-footer>.btn{flex:1 1 100%!important}}

.photo-report-signoff>summary{display:flex;align-items:center;gap:10px;min-height:48px;font-weight:700}
.photo-report-signoff-fields{display:grid;gap:16px;min-width:0}
.photo-report-signoff-fields[hidden]{display:none}
@media(max-width:600px){.photo-report-signoff-fields .form-grid{grid-template-columns:1fr}}
