.report-editor,.report-document{display:grid;gap:22px}.report-editor{max-width:1100px}.report-editor .panel,.report-document .panel{min-width:0}.report-input-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;padding:20px 0;border-top:1px solid var(--line)}.report-input-row .field:last-child{align-self:end}.report-input-row input[type=checkbox]{width:20px;height:20px}.report-row{display:flex;align-items:center;gap:18px;padding:20px 0;color:var(--ink);border-bottom:1px solid var(--line)}.report-row>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}.report-row small{display:block;color:var(--muted);margin-top:6px}.report-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.report-actions form{margin:0}.report-summary{display:grid;grid-template-columns:1fr 1fr;gap:22px}.report-document h2{font-size:20px}.report-document .prose{overflow-wrap:anywhere}.report-material{display:flex;gap:20px;justify-content:space-between;border-bottom:1px solid var(--line);padding:14px 0;overflow-wrap:anywhere}.report-table-wrap{overflow-x:auto}.report-table{border-collapse:collapse;width:100%;font-size:14px}.report-table th,.report-table td{text-align:left;padding:14px 10px;border-bottom:1px solid var(--line);vertical-align:top}.report-table td:first-child{min-width:120px;overflow-wrap:anywhere}.report-table th{font-size:12px;color:var(--muted)}.report-table td:not(:first-child){white-space:nowrap}.report-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.report-photos img{width:100%;height:180px;object-fit:cover;border-radius:10px}.badge.draft{background:#edf1f5;color:#526277}.badge.submitted{background:#e7efff;color:#264b8c}.badge.returned{background:#fff0d9;color:#7b4904}.badge.approved{background:#e1f3e9;color:#256344}#signature-pad,.signature-preview{display:block;width:100%;height:auto;aspect-ratio:10/3;background:#fff;border:1px solid #9aa8ba;border-radius:10px;margin:12px 0;max-width:900px}#signature-pad{touch-action:none;cursor:crosshair}.signature-consent{margin:24px 0}.signature-consent input{width:24px;height:24px}.report-document summary{cursor:pointer;font-weight:700}.report-editor input[type=file]{max-width:100%;font-size:14px}.report-document [hidden]{display:none!important}.report-document textarea{width:100%;margin-bottom:16px}
@media(max-width:900px){.report-summary{grid-template-columns:1fr}}
@media(max-width:620px){.report-editor,.report-document{gap:16px}.report-input-row{grid-template-columns:1fr}.report-editor .section-head{flex-wrap:wrap;gap:12px}.report-row{flex-wrap:wrap;gap:12px}.report-row>span:first-child{flex-basis:100%}.report-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.report-photos img{height:130px}.report-table th,.report-table td{padding:12px 6px;font-size:12px}.report-actions{width:100%}.report-actions .button{flex:1}.report-material{flex-direction:column;gap:6px}.report-editor .panel,.report-document .panel{padding:20px 16px}}

@media(max-width:620px){.report-table-wrap{overflow:visible}.report-table,.report-table tbody{display:block}.report-table thead{display:none}.report-table tr{display:block;border-bottom:1px solid var(--line);padding:12px 0}.report-table td{display:flex;gap:16px;justify-content:space-between;padding:6px 0;border:0;white-space:normal!important;font-size:13px;min-width:0!important}.report-table td[data-label]::before{content:attr(data-label);color:var(--muted);flex-shrink:0}.report-table td:first-child{font-weight:700}}
.report-editor [hidden]{display:none!important}.report-actions+form,.report-actions+.report-summary{margin-top:24px}.report-row input[type=checkbox]{width:22px;height:22px;flex-shrink:0}.report-material small{display:block;margin-top:6px}.report-material span{flex-shrink:0}
