#project-improvements .pm-actions{display:flex;gap:.6rem;flex-wrap:wrap}
#project-improvements .pm-card{background:var(--panel,#fff);border:1px solid #a6b8c8;border-radius:.6rem;padding:1rem;margin-bottom:1rem}
#project-improvements .pm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
#project-improvements fieldset{display:grid;gap:1rem;min-width:0}
#project-improvements legend{font-weight:700}
#project-improvements label{display:grid;gap:.35rem;min-width:0}
#project-improvements textarea{min-height:5rem}
#project-improvements input[type=file]{max-width:100%}
#project-improvements img{width:100%;height:clamp(10rem,32vw,24rem);object-fit:contain}
#project-improvements dd,#project-improvements article p{white-space:pre-wrap;overflow-wrap:anywhere}
#project-improvements dt{font-weight:700}
@media(max-width:640px){#project-improvements .pm-grid{grid-template-columns:1fr}}


#project-improvements .pm-list{width:100%;overflow-x:auto;text-align:left}
#project-improvements .pm-list table{width:100%;min-width:0;border-collapse:separate;border-spacing:0 .45rem}
#project-improvements .pm-list :is(th,td){min-width:0;padding:.6rem .75rem;text-align:left;vertical-align:middle;white-space:normal;overflow-wrap:anywhere}
#project-improvements .pm-list tbody :is(th,td){background:var(--panel,#fff);border-top:1px solid #becbd7;border-bottom:1px solid #becbd7}
#project-improvements .pm-list tbody tr>:first-child{border-left:1px solid #becbd7;border-radius:.5rem 0 0 .5rem}
#project-improvements .pm-list tbody tr>:last-child{border-right:1px solid #becbd7;border-radius:0 .5rem .5rem 0}
#project-improvements .pm-open{padding:0;text-align:left;font-weight:700;white-space:normal}
#project-improvements .pm-list small{display:block;font-size:.8rem;font-weight:600}
#project-improvements .pm-preview{width:8rem;color:inherit;font-size:.8rem}
#project-improvements .pm-preview img{display:block;width:100%;height:5rem;object-fit:contain;border-radius:.3rem}
#project-improvements .pm-preview [hidden]{display:none}
#project-improvements .pm-state{display:inline-block;padding:.2rem .45rem;border-radius:.35rem;background:#e8edf3;color:#233c53}
#project-improvements .pm-state[data-state=in_progress]{background:#fff0ce;color:#654000}
#project-improvements .pm-state[data-state=completed]{background:#d9f2e0;color:#15472a}
@media(max-width:680px){
 #project-improvements .pm-list thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #project-improvements .pm-list :is(table,tbody){display:block}
 #project-improvements .pm-list tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #becbd7;border-radius:.5rem;margin-bottom:.6rem}
 #project-improvements .pm-list tbody tr>:is(td,th){width:auto;border:0;border-radius:0;padding:.45rem;display:block}
 #project-improvements .pm-list tbody tr>th{grid-column:1/-1;grid-row:1}
 #project-improvements .pm-list tbody tr>.pm-preview{grid-row:2}
 #project-improvements .pm-list tbody tr>td::before{content:attr(data-label);display:block;margin-bottom:.2rem;font-size:.75rem;font-weight:700}
}

#project-improvements .pm-report-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;border-bottom:3px solid #2f688e;padding-bottom:.7rem}
#project-improvements .pm-report-head h2{margin:.25rem 0 0;overflow-wrap:anywhere}
#project-improvements .pm-report-brand{color:#315774;font-size:.85rem;font-weight:700;margin:0}
#project-improvements .pm-report-id{text-align:right;font-weight:700;white-space:nowrap}
#project-improvements .pm-report-id .pm-state{display:block;margin-top:.35rem}
#project-improvements :is(.pm-report-block,.pm-report-photo){margin-top:.85rem;border:1px solid #becbd7;border-radius:.4rem}
#project-improvements :is(.pm-report-block,.pm-report-photo)>h3{margin:0;padding:.4rem .65rem;background:#e8f0f6;color:#173e68;font-size:1rem}
#project-improvements :is(.pm-report-block,.pm-report-photo)>p{margin:.5rem .65rem}
#project-improvements .pm-report-info{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
#project-improvements .pm-report-info>div{padding:.45rem .65rem;border-bottom:1px solid #e0e7ee}
#project-improvements .pm-report-info dd{margin:.2rem 0 0}
#project-improvements .pm-report-photos{gap:.75rem}
#project-improvements .pm-report-photo img{display:block;height:clamp(9rem,22vw,15rem);background:#f3f6f9}
#project-improvements .pm-report-table{overflow-x:auto}
#project-improvements .pm-report-table table{width:100%;min-width:0;border-collapse:collapse}
#project-improvements .pm-report-table :is(th,td){text-align:left;vertical-align:top;padding:.4rem .55rem;border-bottom:1px solid #dbe4ec;white-space:normal}
#project-improvements .pm-report-table td small{display:block;white-space:pre-wrap;overflow-wrap:anywhere}
@media print{
 @page{size:A4 portrait;margin:13mm}
 body.pm-print{display:block!important;background:#fff!important;margin:0!important;padding:0!important}
 body.pm-print *:not(:has([data-report])):not([data-report]):not([data-report] *){display:none!important}
 body.pm-print *:has([data-report]){display:block!important;position:static!important;width:auto!important;height:auto!important;max-width:none!important;overflow:visible!important;margin:0!important;padding:0!important;transform:none!important}
 body.pm-print #project-improvements [data-report]{border:0;padding:0;margin:0;color:#182c3b;background:#fff;font-size:10pt;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact}
 body.pm-print #project-improvements .pm-report-head{break-after:avoid}
 body.pm-print #project-improvements .pm-report-photos{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;break-inside:avoid}
 body.pm-print #project-improvements .pm-report-photo img{height:49mm}
 body.pm-print #project-improvements .pm-report-block>h3{break-after:avoid}
 body.pm-print #project-improvements .pm-report-table{overflow:visible}
 body.pm-print #project-improvements .pm-report-table thead{display:table-header-group}
 body.pm-print #project-improvements .pm-report-table tr{break-inside:avoid}
}

#project-improvements .pm-list tbody tr{cursor:pointer}
#project-improvements [data-project-photo]{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}
#project-improvements [data-project-photo][hidden]{display:none}
#project-improvements [data-project-photo]:focus-visible{outline:2px solid #2f688e;outline-offset:3px}
#project-improvements .pm-viewer{width:min(96vw,72rem);max-width:none;max-height:94vh;padding:.75rem;overflow:hidden}
#project-improvements .pm-viewer::backdrop{background:#101e2cd9}
#project-improvements .pm-viewer-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:.6rem}
#project-improvements .pm-viewer-scroll{overflow:auto;max-height:74vh;background:#111e2a;border-radius:.35rem}
#project-improvements .pm-viewer-scroll img{display:block;margin:auto;width:auto;max-width:100%;height:auto;max-height:74vh;object-fit:contain}
#project-improvements .pm-viewer-scroll.is-enlarged img{width:180%;max-width:none;max-height:none;margin:0}
@media print{
 body.pm-print #project-improvements [data-report] [data-project-photo]{display:block!important;appearance:none;border:0;overflow:visible}
}

#project-improvements .pm-photo-editor{min-width:0}
#project-improvements .pm-photo-editor [data-gallery]{display:grid;grid-template-columns:repeat(auto-fit,minmax(8rem,1fr));gap:.6rem;margin-bottom:.75rem}
#project-improvements .pm-photo-editor [data-gallery]>div{border:1px solid #becbd7;border-radius:.35rem;padding:.4rem;display:grid;gap:.3rem;align-content:start}
#project-improvements .pm-photo-editor img{display:block;height:6rem;object-fit:contain}
#project-improvements .pm-annex>h3{margin-top:1rem}
#project-improvements .pm-annex-grid{padding:0 .65rem .65rem}
@media print{
 body.pm-print #project-improvements .pm-annex{break-before:page}
 body.pm-print #project-improvements .pm-annex-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.pm-print #project-improvements .pm-annex-grid .pm-report-photo{break-inside:avoid}
}
