#pgpro .pgm-shell{display:grid;gap:14px;color:#10233d}
#pgpro .pgm-tabs{display:flex;flex-wrap:wrap;gap:0;margin-top:-4px}
#pgpro .pgm-tabs button{display:inline-flex;align-items:center;gap:11px;min-height:50px;margin:0;padding:12px 28px;border:1px solid #d5e0e8;border-radius:10px;background:#fff;color:#10233d;font-weight:800}
#pgpro .pgm-tabs button.active{border-color:#087c66;background:#087c66;color:#fff}.pgm-icon{display:inline-grid;place-items:center}.pgm-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
#pgpro .pgm-card{min-width:0;padding:18px;border:1px solid #dbe5eb;border-radius:14px;background:#fff;box-shadow:0 5px 14px rgba(16,45,70,.055)}
#pgpro .pgm-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px}.pgm-title{display:flex;align-items:center;gap:12px;min-width:0}.pgm-title h3{margin:0;font-size:20px}.pgm-title .pgm-icon svg{width:28px;height:28px}.pgm-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.pgm-actions button{width:auto;margin:0;white-space:nowrap}
#pgpro .pgm-table-wrap{max-width:100%;overflow:auto;border:1px solid #d8e3ea;border-radius:10px}.pgm-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;color:#10233d}.pgm-table th,.pgm-table td{box-sizing:border-box;border-right:1px solid #dbe4ea;border-bottom:1px solid #dbe4ea;padding:9px 7px;text-align:center;vertical-align:middle;font-size:12px}.pgm-table th{background:#f7fafc;font-weight:800}.pgm-table tr:last-child td{border-bottom:0}.pgm-table th:last-child,.pgm-table td:last-child{border-right:0}.pgm-table .sticky-one,.pgm-table .sticky-two{position:sticky;z-index:3;background:#fff}.pgm-table th.sticky-one,.pgm-table th.sticky-two{z-index:5;background:#f7fafc}.pgm-table .sticky-one{left:0;min-width:108px}.pgm-table .sticky-two{left:108px;min-width:94px;box-shadow:5px 0 8px rgba(15,39,61,.04)}.pgm-group-title{font-size:13px!important}.pgm-risk{height:32px;color:#fff!important;font-size:12px!important;text-transform:uppercase}.pgm-risk.high{background:#e51c23!important}.pgm-risk.medium{background:#ffe321!important;color:#172234!important}.pgm-risk.low{background:#10ad54!important}.pgm-position{min-width:78px;max-width:90px;white-space:normal;line-height:1.25}.pgm-fixed{min-width:94px}.pgm-notes{width:160px;max-width:160px;text-align:left!important;white-space:normal;overflow-wrap:anywhere;line-height:1.45}.pgm-cell{display:grid;min-height:66px;place-items:center;border-radius:7px;background:#fff}.pgm-cell.realized{background:#eaf9f1}.pgm-cell.pending{background:#fff8df}.pgm-cell.not-done{background:#fff0f0}.pgm-status-dot{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;color:#fff;font-size:14px;font-weight:900}.pgm-status-dot svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.realized .pgm-status-dot{background:#18b867}.pending .pgm-status-dot{background:#f3b421}.not-done .pgm-status-dot{background:#f13e44}.pgm-cell strong{margin-top:4px;font-size:12px}.pgm-row-actions{display:grid;gap:7px}.pgm-row-actions button{width:82px;min-height:32px;margin:0;padding:6px 9px;font-size:11px}.pgm-row-actions .danger{border-color:#f0caca;color:#d8222e;background:#fff7f7}.pgm-photos{display:flex;align-items:center;justify-content:center;gap:5px;min-width:90px}.pgm-photo-thumb{width:48px;height:42px;border:1px solid #d9e2e8;border-radius:6px;object-fit:cover;cursor:pointer}.pgm-photo-more{padding:7px;border-radius:6px;background:#edf2f6;font-size:12px}.pgm-photo-empty{display:grid;width:88px;min-height:54px;place-items:center;border:1px dashed #8ebce6;border-radius:7px;background:#fff;color:#126ce5;font-size:11px;line-height:1.2;cursor:pointer}.pgm-legend{display:flex;flex-wrap:wrap;gap:28px;margin-top:17px}.pgm-legend>div{display:grid;grid-template-columns:34px auto;align-items:center;column-gap:9px}.pgm-legend .pgm-status-dot{grid-row:1/3;width:30px;height:30px}.pgm-legend strong{font-size:12px}.pgm-legend small{color:#66778a;font-size:11px}
.pgm-dialog{width:min(920px,94vw);max-width:none}.pgm-dialog.small{width:min(620px,94vw)}.pgm-dialog.large{width:min(1100px,96vw)}.pgm-dialog h3{margin-top:0}.pgm-dialog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pgm-dialog-grid .wide{grid-column:1/-1}.pgm-dialog label{display:grid;gap:6px;color:#173455;font-size:13px;font-weight:750}.pgm-dialog input,.pgm-dialog select,.pgm-dialog textarea{width:100%;box-sizing:border-box}.pgm-position-editor{display:grid;gap:10px;margin:14px 0}.pgm-position-row{display:grid;grid-template-columns:minmax(170px,1fr) 150px 64px 42px;gap:8px;align-items:center}.pgm-position-row button{width:42px;height:42px;margin:0;padding:0}.pgm-position-row .danger{color:#d8222e}.pgm-job-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:48vh;overflow:auto;padding:2px}.pgm-job-card{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;border:1px solid #dbe5eb;border-radius:9px;background:#f9fbfc}.pgm-job-card strong{grid-column:1/-1}.pgm-job-card label{font-size:11px}.pgm-job-card input[type=number]{height:36px}.pgm-file-list{display:grid;gap:9px;margin-top:8px}.pgm-file-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) 38px;gap:8px}.pgm-file-row button{width:38px;margin:0;padding:0;color:#d8222e}.pgm-doc-table{width:100%;border-collapse:collapse}.pgm-doc-table th,.pgm-doc-table td{padding:11px;border-bottom:1px solid #e2e9ed;text-align:left;font-size:12px}.pgm-doc-actions{display:flex;gap:6px}.pgm-doc-actions button{width:auto;margin:0;padding:6px 9px;font-size:11px}.pgm-empty{padding:32px;text-align:center;color:#64748b}.pgm-gallery{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px}.pgm-gallery img{display:block;width:100%;max-height:65vh;object-fit:contain;border-radius:10px;background:#edf2f4}.pgm-gallery button{width:44px;height:44px;margin:0;padding:0}.pgm-gallery-caption{text-align:center;color:#52667c}.pgm-doc-preview{width:min(1000px,96vw);height:min(86vh,780px);max-width:none}.pgm-doc-preview iframe{width:100%;height:calc(100% - 58px);border:0;border-radius:8px;background:#edf2f4}
@media(max-width:820px){#pgpro .pgm-toolbar{align-items:flex-start;flex-direction:column}.pgm-actions{justify-content:flex-start}.pgm-dialog-grid,.pgm-job-grid{grid-template-columns:1fr}.pgm-position-row{grid-template-columns:1fr 120px 52px 40px}}
