[data-register-responsibles]{display:inline-flex;align-items:center;gap:8px;border:1px solid #1769E0!important;background:white!important;color:#1769E0!important;border-radius:10px;height:44px;padding:10px 16px}.findings-heading-actions{gap:10px}.rr-dialog{font:14px var(--sc-font-family,Arial,sans-serif);color:#0B2545;border:1px solid #D8E4EF;border-radius:16px;padding:0;width:min(1400px,94vw);max-width:94vw;max-height:90vh;box-sizing:border-box;overflow:auto;box-shadow:0 12px 60px #0B254530}.rr-dialog::backdrop{background:#0B254570}.rr-dialog *{box-sizing:border-box}.rr-dialog svg,[data-register-responsibles] svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rr-dialog>header{display:flex;align-items:center;gap:12px;padding:20px;border-bottom:1px solid #D8E4EF}.rr-dialog>header>i{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;background:#EAF3FF;color:#1769E0;border-radius:50%}.rr-dialog h2{font-size:20px;margin:0 0 5px}.rr-dialog p{font-size:12px;color:#64748B;line-height:1.5;margin:6px 0 14px}.rr-dialog>header button{margin-left:auto}.rr-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:white;border:1px solid #D8E4EF;border-radius:8px;min-height:42px;color:#0B2545;padding:8px 12px;cursor:pointer;font:inherit}.rr-dialog button:disabled{opacity:.45}
.rr-dialog{width:min(980px,94vw)}.ra-summary{width:min(1140px,94vw)}.rr-dialog h3{display:flex;align-items:center;gap:10px;margin:0 0 6px;font-size:15px}.rr-dialog h3 b{display:grid;place-items:center;background:#2563EB;color:white;border-radius:50%;width:26px;height:26px}.rr-dialog form,.ra-summary-body{padding:20px}.rr-dialog form>section{margin-bottom:16px}.rr-dialog label{display:grid;gap:5px;font-size:12px;font-weight:600;min-width:0}.rr-dialog input,.rr-dialog select{width:100%;min-width:0;height:40px;border:1px solid #D6E3F0;border-radius:8px;padding:8px;font:inherit;color:#102A4C;background:white}.rr-dialog small{color:#b92d3b;font-size:11px;font-weight:400}.rr-dialog [aria-invalid=true]{border-color:#EF4444}.ra-two,.ra-three{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ra-three{grid-template-columns:repeat(3,minmax(0,1fr))}.ra-activity{background:#F8FBFF;border:1px solid #D6E3F0;border-radius:9px;margin:10px 0;padding:10px}.ra-activity>header{display:flex;align-items:center;justify-content:space-between;background:#EAF3FF;padding:5px 8px;margin:-10px -10px 10px;border-radius:9px 9px 0 0}.ra-activity>header button{color:#EF4444;min-height:30px;padding:3px}.ra-activity>label{margin-bottom:10px}[data-add-activity]{width:100%;color:#2563EB!important;background:#EAF3FF!important}.rr-dialog footer{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}#rr-save,[data-register-responsibles]{background:#2563EB!important;color:white!important}#rr-confirm{max-width:500px;padding:24px}#rr-confirm [data-rr-yes]{color:#EF4444}.findings-heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}[data-summary-responsibles]{height:44px;padding:10px 16px;color:#2563EB;background:white;border:1px solid #D6E3F0;border-radius:10px}.rr-scroll table{table-layout:fixed;width:100%;border-collapse:collapse;font-size:11px}.rr-scroll th,.rr-scroll td{padding:10px 5px;text-align:center;vertical-align:middle;border:1px solid #D6E3F0;overflow-wrap:break-word;line-height:1.45}.rr-scroll th{background:#EAF3FB}.rr-actions{display:flex;justify-content:center;gap:6px}.rr-actions button{width:32px;min-height:32px;padding:5px;color:#2563EB}.rr-actions [data-rr-delete]{color:#EF4444}.rr-actions svg{width:18px;height:18px}#rr-pagination{margin-top:16px}.ra-summary>header>[data-ra-pdf]{margin-left:auto}.ra-summary>header>button:last-child{margin-left:0}.rr-dialog button:disabled{opacity:.45}
@media(max-width:700px){.ra-two,.ra-three{grid-template-columns:1fr}.rr-dialog form,.ra-summary-body{padding:12px}.rr-scroll table,.rr-scroll tbody{display:block}.rr-scroll thead,.rr-scroll colgroup{display:none}.rr-scroll tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #D6E3F0;margin-bottom:12px;border-radius:8px}.rr-scroll td{display:block;min-width:0}.rr-scroll td:before{display:block;color:#64748B;font-weight:600;margin-bottom:4px}.rr-scroll td:last-child,.rr-scroll td[colspan]{grid-column:1/-1}.rr-scroll td:nth-child(1):before{content:'N.º'}.rr-scroll td:nth-child(2):before{content:'Área de trabajo'}.rr-scroll td:nth-child(3):before{content:'Actividad'}.rr-scroll td:nth-child(4):before{content:'Desde'}.rr-scroll td:nth-child(5):before{content:'Hasta'}.rr-scroll td:nth-child(6):before{content:'Ingeniero residente'}.rr-scroll td:nth-child(7):before{content:'Ingeniero SSO'}.rr-scroll td:nth-child(8):before{content:'Inspector SSO'}.rr-scroll td:nth-child(9):before{content:'Acciones'}.rr-scroll td[colspan]:before{content:none}}

[data-summary-responsibles]{display:inline-flex;align-items:center;gap:8px}.ra-summary .ats-pagination{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ra-summary .ats-pagination nav{display:flex;gap:5px}.ra-summary .ats-pagination [aria-current]{background:#08645F;color:white}

/* Assignment summary and read-only details only. */
#rr-summary .rr-actions{flex-wrap:nowrap;gap:5px}#rr-summary .rr-actions button{width:30px;min-width:30px;height:30px;min-height:30px;padding:6px}#rr-summary .rr-actions svg{width:16px;height:16px}
.ra-detail{width:min(1020px,94vw)}.rd-body{padding:18px}.rd-card{border:1px solid #CBDDEB;border-radius:10px;overflow:hidden;margin-bottom:16px}.rd-card h3{background:#EAF3FC;margin:0;padding:12px 14px;color:#102A4C;font-size:14px}.rd-card h3 svg{width:22px;height:22px;color:#2563EB}.rd-card dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0}.rd-card dl>div{padding:14px 12px;border-right:1px solid #e4edf4;min-width:0}.rd-card dl>div:last-child{border:0}.rd-card dt{font-size:12px;font-weight:650;margin-bottom:6px}.rd-card dd{margin:0;font-size:13px;line-height:1.45;overflow-wrap:break-word}.rd-card table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.rd-card th,.rd-card td{padding:9px 8px;border:1px solid #D6E3F0;vertical-align:middle;overflow-wrap:break-word;text-align:center}.rd-card th{background:#F2F7FC;font-weight:600}.rd-card td:nth-child(2){text-align:left}.rd-card td:nth-child(n+3){white-space:nowrap}
@media(max-width:700px){.rd-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}.rd-body{padding:12px}.rd-card th,.rd-card td{padding:8px 4px;font-size:11px}.rd-card td:nth-child(n+3){white-space:normal}#rr-summary .rr-scroll td:nth-child(3):before{content:'Desde'}#rr-summary .rr-scroll td:nth-child(4):before{content:'Hasta'}#rr-summary .rr-scroll td:nth-child(5):before{content:'Ingeniero residente'}#rr-summary .rr-scroll td:nth-child(6):before{content:'Ingeniero SSO'}#rr-summary .rr-scroll td:nth-child(7):before{content:'Inspector SSO'}#rr-summary .rr-scroll td:nth-child(8):before{content:'Acciones'}#rr-summary .rr-scroll td[colspan]:before{content:none}}

#rr-summary .rr-scroll table{font-size:12px}

/* Summary filters only; assignment form and matching remain unchanged. */
#rr-summary .rr-filters{display:grid;grid-template-columns:1fr 1.3fr 1fr;gap:12px 16px;padding:14px;border:1px solid #D5E5F3;border-radius:12px;background:#fff;margin-bottom:16px;color:#102A4C}#rr-summary .rr-filters label>span{display:flex;align-items:center;gap:7px;min-height:22px}#rr-summary .rr-filters svg{width:18px;height:18px;color:#2563EB;flex-shrink:0}#rr-summary .rr-filter-range{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;margin-top:5px}#rr-summary .rr-filter-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px}#rr-summary .rr-filter-foot p{margin:0;color:#b92d3b}#rr-summary .rr-filter-foot button{margin-left:auto;min-height:30px;padding:4px 9px;font-size:11px}#rr-summary .rr-filters>div{min-width:0}@media(max-width:700px){#rr-summary .rr-filters{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}}
