/* Scoped performance workspace. Existing IRIS navigation and brand remain intact. */
.iris-performance{--perf-ink:#153a46;--perf-muted:#607c87;--perf-line:#d8e8ec;--perf-teal:#007b8e;color:var(--perf-ink);max-width:1460px;margin:0 auto;font-size:14px}
.iris-performance *{box-sizing:border-box}.iris-performance button,.iris-performance input,.iris-performance select,.iris-performance textarea{font:inherit}.iris-performance button{cursor:pointer}.iris-performance button:disabled{cursor:not-allowed;opacity:.55}.iris-performance :focus-visible{outline:3px solid #ddc177;outline-offset:3px}.iris-performance .perf-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.iris-performance .perf-overline{font-size:10px;letter-spacing:.15em;color:var(--perf-teal);font-weight:800;margin:0 0 8px}.iris-performance h1{font-size:clamp(23px,2.6vw,31px);letter-spacing:-.035em;line-height:1.16;margin:0 0 9px}.iris-performance h2{font-size:20px;letter-spacing:-.025em;margin:0 0 10px}.iris-performance h3{font-size:15px;margin:0 0 8px}.iris-performance p{line-height:1.6}.iris-performance .perf-subtitle{margin:0;color:var(--perf-muted);max-width:760px}.iris-performance .perf-format{white-space:nowrap;border:1px solid #d9e4c7;background:#f7f8ed;color:#67713d;padding:7px 11px;border-radius:7px;font-size:11px;font-weight:700}.iris-performance .perf-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:18px 0}.iris-performance .perf-toolbar>label{min-width:150px;flex:1}.iris-performance .perf-toolbar label.perf-grow{flex:2;min-width:230px}.iris-performance label{display:block;font-size:12px;font-weight:700;color:#426471}.iris-performance input:not([type=checkbox]):not([type=radio]):not([type=file]),.iris-performance select,.iris-performance textarea{display:block;width:100%;border:1px solid #cbdde3;border-radius:8px;padding:10px 12px;min-height:40px;background:white;color:var(--perf-ink);margin-top:6px}.iris-performance textarea{min-height:115px;resize:vertical;line-height:1.6;font-weight:400}.iris-performance input[type=checkbox]{width:18px;height:18px;accent-color:var(--perf-teal);flex:none}.iris-performance .perf-check{display:flex;align-items:center;gap:10px;line-height:1.6;font-size:13px}.iris-performance .perf-help{display:block;font-size:12px;font-weight:400;color:var(--perf-muted);margin-top:7px;line-height:1.55}.iris-performance .perf-tabs{display:flex;gap:5px;border-bottom:1px solid var(--perf-line);margin-bottom:22px;overflow-x:auto}.iris-performance .perf-tabs button{white-space:nowrap;background:none;border:0;border-bottom:3px solid transparent;padding:12px 17px;color:var(--perf-muted);font-weight:700}.iris-performance .perf-tabs button[aria-selected=true]{color:var(--perf-teal);border-bottom-color:var(--perf-teal)}.iris-performance .perf-card{background:#fff;border:1px solid var(--perf-line);border-radius:12px;padding:22px;margin-bottom:18px;box-shadow:0 3px 12px #0b293304}.iris-performance .perf-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.iris-performance .perf-card-head h2,.iris-performance .perf-card-head h3{margin:0}.iris-performance .perf-muted{color:var(--perf-muted)}.iris-performance .perf-empty{padding:35px 20px;text-align:center;color:var(--perf-muted)}.iris-performance .perf-empty strong{display:block;color:var(--perf-ink);margin-bottom:7px;font-size:16px}.iris-performance .perf-notice{padding:13px 16px;border-radius:9px;border:1px solid #c9e4e8;background:#edf8fa;color:#326877;line-height:1.65;margin:15px 0}.iris-performance .perf-notice.warning{background:#fff9e9;border-color:#ecdbaa;color:#82651b}.iris-performance .perf-notice.error{background:#fff1ef;border-color:#edc8c2;color:#963d32}.iris-performance .perf-notice.success{background:#edf8f3;border-color:#c8e4d8;color:#28674e}.iris-performance .perf-status:empty{display:none}.iris-performance .perf-badge{display:inline-flex;align-items:center;gap:5px;background:#e8f4f6;border:1px solid #d1e8ed;color:#247184;border-radius:20px;padding:4px 9px;font-size:11px;font-weight:700;white-space:nowrap}.iris-performance .perf-badge.warning{background:#fff5dc;border-color:#eddfb5;color:#866322}.iris-performance .perf-badge.complete{background:#edf6f0;border-color:#cee4d6;color:#3d7954}.iris-performance .perf-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.iris-performance .perf-grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.iris-performance .perf-grid-three{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.iris-performance .perf-assignment-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.iris-performance .perf-table-wrap{overflow:auto;border:1px solid var(--perf-line);border-radius:9px}.iris-performance table{width:100%;border-collapse:collapse;font-size:12px}.iris-performance th{padding:11px;text-align:left;background:#f4f8fa;border-bottom:1px solid var(--perf-line);white-space:nowrap;color:#5a7782;font-size:10px;letter-spacing:.035em;text-transform:uppercase}.iris-performance th button{border:0;padding:0;background:none;color:inherit;font-weight:700;text-transform:inherit}.iris-performance td{border-bottom:1px solid #edf2f4;padding:12px 11px;vertical-align:middle}.iris-performance tr:last-child td{border-bottom:0}.iris-performance td strong{display:block;line-height:1.45;font-size:12px}.iris-performance td small{display:block;margin-top:4px;color:var(--perf-muted);line-height:1.45}.iris-performance tr:hover td{background:#f7fbfc}.iris-performance td input[type=date]{min-width:138px;margin:0}.iris-performance .perf-row-action{background:#edf7f8;color:#147386;border:1px solid #cce4e9;border-radius:6px;min-height:31px;padding:5px 9px;font-size:11px;white-space:nowrap}.iris-performance .perf-row-action.danger{color:#a4544a;background:#fff6f4;border-color:#ead2ce}.iris-performance .perf-filter-row th{padding:5px 8px;text-transform:none}.iris-performance .perf-filter-row input{min-width:80px!important;min-height:29px!important;margin:0!important;padding:5px 7px!important;font-size:11px!important}.iris-performance .perf-pagination{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:12px;flex-wrap:wrap;font-size:12px;color:var(--perf-muted)}.iris-performance .perf-pagination select{display:inline-block;width:auto;margin:0;padding:5px 8px;min-height:32px}.iris-performance .perf-pagination>div{display:flex;gap:8px;align-items:center}.iris-performance .perf-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:18px 0}.iris-performance .perf-metric{border:1px solid var(--perf-line);border-radius:9px;background:white;padding:15px}.iris-performance .perf-metric b{display:block;font-size:26px;letter-spacing:-.04em;margin-bottom:4px}.iris-performance .perf-metric span{font-size:11px;color:var(--perf-muted)}.iris-performance .perf-calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}.iris-performance .perf-calendar-nav h2{margin:0;text-transform:capitalize}.iris-performance .perf-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--perf-line);border-radius:10px;overflow:hidden;background:var(--perf-line);gap:1px}.iris-performance .perf-weekday{background:#edf4f6;padding:10px 5px;text-align:center;font-size:11px;font-weight:700;color:var(--perf-muted)}.iris-performance .perf-day{background:#fff;min-height:120px;padding:8px;position:relative}.iris-performance .perf-day.outside{background:#f7fafb;color:#a1b2b8}.iris-performance .perf-day.today{box-shadow:inset 0 0 0 2px var(--perf-teal)}.iris-performance .perf-day-number{font-size:11px;font-weight:700}.iris-performance .perf-calendar-event{display:block;width:100%;border:0;border-left:3px solid #00a8b7;border-radius:4px;background:#edf7f9;color:#315b69;text-align:left;padding:6px;margin:7px 0 0;font-size:10px;line-height:1.4}.iris-performance .perf-calendar-event.overdue{border-left-color:#c39a38;background:#fff6e3}.iris-performance .perf-calendar-event strong{display:block;font-size:10px}.iris-performance .perf-calendar-event small{display:block;color:var(--perf-muted)}.iris-performance .perf-step-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px;color:var(--perf-muted);margin:15px 0 9px}.iris-performance .perf-progress{height:5px;border-radius:5px;background:#e2eef1;overflow:hidden;margin-bottom:22px}.iris-performance .perf-progress span{display:block;height:100%;background:linear-gradient(90deg,#007b8e,#00a8b7);transition:width .2s}.iris-performance .perf-wizard{max-width:980px;margin:0 auto}.iris-performance .perf-wizard-card{padding:30px}.iris-performance .perf-definition{font-size:15px;line-height:1.8!important;color:#4c6c79;margin:16px 0 25px}.iris-performance .perf-rating{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;border:0;padding:0;margin:0 0 23px}.iris-performance .perf-rating legend{font-size:12px;font-weight:700;margin-bottom:10px}.iris-performance .perf-rating label{position:relative;border:1px solid #d4e3e7;border-radius:9px;padding:17px 12px;cursor:pointer;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px}.iris-performance .perf-rating label:has(input:checked){background:#edf8fa;border-color:#0099aa;box-shadow:0 0 0 1px #0099aa}.iris-performance .perf-rating label:has(input:focus-visible){outline:3px solid #ddc177;outline-offset:3px}.iris-performance .perf-rating input{position:absolute;opacity:0;width:1px;height:1px}.iris-performance .perf-rating b{font-size:28px;color:#007b8e}.iris-performance .perf-rating span{font-size:11px;font-weight:600;line-height:1.4}.iris-performance .perf-wizard-foot{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid var(--perf-line);padding-top:18px;margin-top:24px}.iris-performance .perf-functions{padding-left:23px;line-height:1.75;max-height:420px;overflow:auto;font-size:13px;background:#f7fafb;border:1px solid #e0eaee;border-radius:8px;padding:18px 18px 18px 38px}.iris-performance .perf-functions li{padding:4px 5px}.iris-performance .perf-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--perf-line);border:1px solid var(--perf-line);border-radius:9px;overflow:hidden;margin:18px 0}.iris-performance .perf-detail-grid div{background:#fff;padding:14px 17px}.iris-performance .perf-detail-grid small{display:block;color:var(--perf-muted);font-size:10px;margin-bottom:5px}.iris-performance .perf-detail-grid strong{display:block;font-size:13px;line-height:1.5}.iris-performance .perf-instructions{white-space:pre-line;line-height:1.8;color:#4c6975}.iris-performance .perf-plan-card{border:1px solid var(--perf-line);border-left:4px solid #ddc177;border-radius:8px;padding:19px;margin:15px 0}.iris-performance .perf-plan-card .perf-card-head{margin-bottom:12px}.iris-performance .perf-plan-card textarea{margin-bottom:10px}.iris-performance .perf-waiting{text-align:center;padding:30px 20px}.iris-performance .perf-wait-icon{display:grid;place-items:center;margin:0 auto 20px;width:64px;height:64px;border:1px solid #bfdfe5;background:#ecf7f9;color:#00889a;border-radius:50%;font-size:27px}.iris-performance .perf-review-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.75;border:1px solid #e0eaed;background:#f8fbfc;padding:14px 17px;border-radius:8px;font-size:13px}.iris-performance .perf-signature{margin:20px 0;border:1px solid var(--perf-line);padding:17px;border-radius:9px;background:#fbfdfd}.iris-performance .perf-signature canvas{display:block;width:100%;height:160px;touch-action:none;background:white;border:1px dashed #a9c7d0;border-radius:7px;margin:11px 0}.iris-performance .perf-signature-preview{max-width:100%;height:110px;object-fit:contain;display:block;margin:12px 0}.iris-performance .perf-signature label.perf-upload{display:inline-block;color:#087b8f;font-size:12px;cursor:pointer;border:1px solid #cce2e6;border-radius:6px;padding:8px 11px;background:#f0f8fa}.iris-performance .perf-signature input[type=file]{display:none}.iris-performance .perf-small{font-size:12px;color:var(--perf-muted)}.iris-performance .perf-public-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto 28px;gap:20px;max-width:980px}.iris-performance .perf-public-brand{color:#007b8e;font-size:22px;font-weight:800;letter-spacing:.05em}.iris-performance .perf-public-brand small{display:block;font-size:9px;letter-spacing:.12em;color:#75919b;margin-top:4px}.perf-public-body{background:#f4f8fa;margin:0;padding:30px 20px;min-height:100vh;font-family:Inter,system-ui,sans-serif}.iris-performance .perf-followup{padding:15px 0;border-bottom:1px solid var(--perf-line)}.iris-performance .perf-followup:last-child{border:0}.iris-performance .perf-followup-head{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.iris-performance .perf-new-period{padding:18px;background:#f5fafb;border:1px solid var(--perf-line);border-radius:9px;margin-bottom:18px}.iris-performance .perf-action-link{background:none;border:0;color:#007b8e;padding:0;font-weight:700;text-decoration:underline;text-underline-offset:3px}.iris-performance .perf-hidden{display:none!important}.iris-performance .perf-toolbar .btn{min-height:40px}.iris-performance .perf-kicker{font-size:11px;color:#6a8a96;letter-spacing:.06em;text-transform:uppercase}.iris-performance .perf-empty-check{font-size:32px;line-height:1;color:#008a9c;display:block;margin-bottom:12px}.iris-performance .perf-saved{color:#30836b;font-size:11px;min-height:20px}.iris-performance .perf-error-inline{font-size:12px;color:#ac473a}.iris-performance .perf-footer-note{font-size:11px;color:#78939e;text-align:center;margin:20px 0}.iris-performance .perf-print-header{display:none}.iris-performance .perf-print-note{margin-top:20px;color:#78939e;font-size:11px}.iris-task-performance{border-left:3px solid #00a8b7!important}.iris-performance-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;border-radius:12px;background:#e3f2f5;color:#08788a;font-size:11px;font-weight:800;padding:0 6px;margin-left:6px}
.iris-performance .perf-link-card{border:1px solid #bfdfe5;border-radius:10px;background:#f4fbfc;padding:20px;margin:0 0 18px}.iris-performance .perf-link-copy{display:flex;align-items:center;gap:10px}.iris-performance .perf-link-copy input{flex:1;min-width:0;font-size:12px!important}.iris-performance .perf-link-copy button{flex:none;min-height:40px;margin-top:6px}
.iris-performance .perf-period-entry{display:flex;gap:20px;align-items:center;justify-content:space-between}.iris-performance .perf-period-entry p,.iris-performance .perf-permission-help p{margin:8px 0 0}.iris-performance .perf-period-entry .btn{flex-shrink:0}.iris-performance .perf-permission-help .btn{margin-top:16px}.iris-performance .perf-period-mode{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:0;border:0;margin:20px 0 12px;min-width:0}.iris-performance .perf-period-mode legend{font-size:13px;font-weight:700;margin-bottom:12px}.iris-performance .perf-period-mode-option{display:flex;gap:12px;align-items:flex-start;padding:18px;border:1px solid var(--perf-line);border-radius:12px;cursor:pointer}.iris-performance .perf-period-mode-option:has(input:checked){border-color:var(--perf-teal);box-shadow:0 0 0 1px var(--perf-teal);background:#edf8fa}.iris-performance .perf-period-mode-option input{width:18px;height:18px;min-height:0;flex:0 0 18px;margin:2px 0 0;padding:0;accent-color:var(--perf-teal)}.iris-performance .perf-period-mode-option span{display:block}.iris-performance .perf-period-mode-option small{display:block;font-weight:400;margin-top:6px;line-height:1.6;color:var(--perf-muted)}.iris-performance .perf-badge.test{background:#fff3d1;border:1px solid #d8ae49;color:#785800;white-space:nowrap}.iris-performance .perf-test-notice{margin:14px 0}.iris-performance .btn.perf-danger{background:#b52d3c;color:#fff;border:1px solid #a62533}.iris-performance .btn.perf-danger:hover:not(:disabled){background:#942333}.iris-performance .btn.perf-danger:disabled{opacity:.45;cursor:not-allowed}.iris-performance .perf-delete-period{border-color:#e8bdc4}.iris-performance .perf-delete-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}.iris-performance .perf-delete-counts>div{background:#f5f9fa;border:1px solid var(--perf-line);border-radius:10px;padding:16px}.iris-performance .perf-delete-counts dt{font-size:12px;color:var(--perf-muted)}.iris-performance .perf-delete-counts dd{font-size:26px;font-weight:700;margin:8px 0 0}.iris-performance .perf-delete-period .perf-check{margin-top:20px;align-items:flex-start}.iris-performance .perf-delete-period .perf-toolbar{align-items:center}.iris-performance .perf-delete-period .perf-action-link{background:none;border:0;padding:6px 0;color:var(--perf-teal);text-decoration:underline;font:inherit;cursor:pointer}.iris-performance .perf-delete-period .perf-action-link:focus-visible{outline:2px solid var(--perf-teal);outline-offset:3px}
.iris-performance .perf-calendar-event .perf-badge.test{font-size:8px;padding:2px 5px;margin-bottom:3px}.iris-performance .perf-delete-period h2{overflow-wrap:anywhere}
.navbutton[data-module="evaluacion_desempeno"] .iris-performance-count{margin-left:auto;flex-shrink:0;min-width:24px;height:24px}
@media(max-width:1100px){.iris-performance .perf-assignment-grid{grid-template-columns:1fr}.iris-performance .perf-day{min-height:100px;padding:6px}.iris-performance .perf-calendar-event{font-size:9px;padding:4px}.iris-performance .perf-grid-three{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.iris-performance .perf-period-entry{align-items:stretch;flex-direction:column}.iris-performance .perf-period-mode{grid-template-columns:1fr}.iris-performance .perf-delete-counts{grid-template-columns:1fr 1fr}.iris-performance .perf-delete-period .perf-toolbar{flex-direction:column;align-items:stretch}.iris-performance .perf-delete-period .perf-toolbar .btn{width:100%}}
@media(max-width:480px){.iris-performance .perf-link-copy{flex-direction:column;align-items:stretch}.iris-performance .perf-link-copy button{width:100%;margin-top:0}.iris-performance .perf-link-card{padding:15px}}
@media(max-width:700px){.iris-performance .perf-head{display:block}.iris-performance .perf-format{display:inline-block;margin-top:14px}.iris-performance .perf-card,.iris-performance .perf-wizard-card{padding:17px}.iris-performance .perf-grid-two,.iris-performance .perf-grid-three{grid-template-columns:1fr}.iris-performance .perf-metrics{grid-template-columns:1fr 1fr}.iris-performance .perf-tabs button{padding:11px 12px}.iris-performance .perf-rating{gap:7px}.iris-performance .perf-rating label{padding:12px 5px}.iris-performance .perf-rating b{font-size:24px}.iris-performance .perf-rating span{font-size:9px}.iris-performance .perf-day{min-height:80px;padding:4px}.iris-performance .perf-calendar-event small{display:none}.iris-performance .perf-calendar-event strong{font-size:8px;overflow-wrap:anywhere}.iris-performance .perf-weekday{font-size:9px}.iris-performance .perf-detail-grid{grid-template-columns:1fr}.iris-performance .perf-wizard-foot>.perf-actions{width:100%;justify-content:flex-end}.perf-public-body{padding:22px 12px}.iris-performance .perf-toolbar{gap:10px}.iris-performance .perf-toolbar>label{min-width:130px}.iris-performance .perf-toolbar .perf-grow{min-width:180px}.iris-performance .perf-public-header{margin-bottom:20px}.iris-performance .perf-public-header .perf-format{font-size:9px}}
@media print{body{background:white!important}.sidebar,.topbar,.perf-no-print,.iris-performance .perf-tabs,.iris-performance .perf-wizard-foot{display:none!important}.workspace,.main{margin:0!important;padding:0!important;display:block!important}.layout{display:block!important}.iris-performance .perf-card{box-shadow:none;break-inside:avoid}.iris-performance .perf-print-header{display:block}.iris-performance .perf-functions{max-height:none}.iris-performance .perf-signature-preview{max-height:90px}.iris-performance{max-width:none;font-size:11px}.iris-performance .perf-detail-grid{grid-template-columns:1fr 1fr}}
.iris-performance input[type=hidden]{display:none!important}
.iris-performance .perf-assignment-grid .perf-card{min-width:0}
.iris-performance .perf-assignment-grid .perf-card-head{align-items:flex-start}
.iris-performance .perf-assignment-grid .perf-card-head .perf-help{max-width:390px;margin-bottom:0}
/* Las dos listas de asignación son fichas fluidas: ningún botón queda fuera
   del ancho disponible, incluso al filtrar, ordenar o cambiar de página. */
.iris-performance .perf-assignment-cards{overflow:visible;min-width:0}
.iris-performance .perf-assignment-cards table,
.iris-performance .perf-assignment-cards thead,
.iris-performance .perf-assignment-cards tbody{display:block;width:100%;min-width:0}
.iris-performance .perf-assignment-cards thead>tr:first-child{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px;background:#f1f7f9}
.iris-performance .perf-assignment-cards thead>tr:first-child th{display:block;min-width:0;padding:4px 6px;border:0;background:none;white-space:normal}
.iris-performance .perf-assignment-cards thead>tr:first-child th:last-child:not(:first-child){color:#547985}
.iris-performance .perf-assignment-cards thead>tr:first-child th button{white-space:normal;text-align:left;line-height:1.35}
.iris-performance .perf-assignment-cards .perf-filter-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:8px;padding:10px 12px;background:#f7fafb}
.iris-performance .perf-assignment-cards .perf-filter-row th{display:block;min-width:0;padding:0;background:none;border:0}
.iris-performance .perf-assignment-cards .perf-filter-row th:last-child:empty{display:none}
.iris-performance .perf-assignment-cards .perf-filter-row input{width:100%;min-width:0!important}
.iris-performance .perf-assignment-cards tbody>tr{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:12px 14px;padding:17px 14px;border-bottom:1px solid #e5eef1;background:#fff}
.iris-performance .perf-assignment-cards tbody>tr:last-child{border-bottom:0}
.iris-performance .perf-assignment-cards tbody>tr:hover{background:#f8fcfd}
.iris-performance .perf-assignment-cards tbody>tr>td{display:block;min-width:0;padding:0;border:0;overflow-wrap:anywhere;background:transparent}
.iris-performance .perf-assignment-cards tbody>tr>td:first-child,
.iris-performance .perf-assignment-cards tbody>tr>td:last-child{grid-column:1/-1}
.iris-performance .perf-assignment-cards tbody>tr>td:not(:first-child)::before{content:attr(data-col-label);display:block;margin-bottom:6px;font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.035em;font-weight:800;color:#627e89}
.iris-performance .perf-assignment-cards td strong{font-size:13px}
.iris-performance .perf-assignment-cards td input[type=date],
.iris-performance .perf-assignment-cards td select{width:100%;min-width:0!important;max-width:none;min-height:40px;margin:0}
.iris-performance .perf-assignment-cards .perf-actions{display:flex;flex-wrap:wrap;align-items:stretch}
.iris-performance .perf-assignment-cards .perf-row-action{flex:1 1 145px;width:auto;min-width:0;min-height:39px;font-weight:700;white-space:normal;text-align:center}
.iris-performance .perf-assignment-cards td>[data-add-assignment]{width:100%}
.iris-performance .perf-assignment-grid .perf-pagination>div{flex-wrap:wrap}
@media(max-width:1250px){.iris-performance .perf-assignment-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){.iris-performance .perf-assignment-grid .perf-card{padding:14px}.iris-performance .perf-assignment-cards tbody>tr{padding:14px 11px}}

/* Evaluation V3: give the objective consent and its action distinct, accessible spacing. */
.iris-performance .perf-objective-confirmation{display:flex;align-items:flex-start;gap:12px;margin:22px 0 16px;padding:4px 0;line-height:1.6}
.iris-performance .perf-objective-confirmation>input[type=checkbox]{flex:none;margin:3px 0 0}
.iris-performance .perf-objective-confirmation>span{display:block;min-width:0}
.iris-performance .perf-objective-action{display:flex;align-items:center;gap:12px;margin:12px 0 20px;clear:both}
.iris-performance .perf-objective-action .btn{min-height:44px;white-space:normal}
@media(max-width:540px){.iris-performance .perf-objective-confirmation{margin:20px 0 18px}.iris-performance .perf-objective-action .btn{max-width:100%;width:100%}}

.iris-performance .perf-public-brand{display:flex;flex-direction:column;gap:11px}.iris-performance .perf-public-brand img{width:240px;max-width:100%;height:auto;object-fit:contain}.iris-performance .perf-public-brand small{font:600 10px/1.5 var(--halcones-font-body,Arial);letter-spacing:.14em;color:#607984}.iris-performance .perf-legal-note{border-top:1px solid #dce8eb;padding-top:18px;margin:28px auto 0;max-width:950px;text-align:center;color:#607984;font-size:11px;line-height:1.7}.iris-performance .perf-legal-note a{color:#007b8e;text-underline-offset:3px}.iris-performance .perf-access-note{text-align:center;align-self:center;line-height:1.6;padding:0 18px;max-width:530px}.iris-performance .perf-wait-actions,.iris-performance .perf-confirm-actions{justify-content:center}.iris-performance .perf-sign-integrity{margin-top:14px;color:#607984;font-size:12px}.iris-performance .perf-sign-integrity summary{cursor:pointer}.iris-performance [hidden]{display:none!important}
@media(max-width:600px){.iris-performance .perf-public-brand img{width:200px}.iris-performance .perf-public-header{gap:18px;align-items:center;flex-wrap:wrap}.iris-performance .perf-access-note{padding:10px 0;max-width:none;width:100%;order:3}}

/* GHU-FO-46: selección de cargos en una sola evaluación y colaborador acompañante. */
.iris-performance .perf-job-selector{margin-top:8px;border:1px solid #cde8f0;border-radius:9px;padding:9px 10px;background:#f5fafb}
.iris-performance .perf-job-selector summary{cursor:pointer;color:#007b8e;font-weight:700;font-size:12px;line-height:1.5}
.iris-performance .perf-job-selector [role=group]{display:flex;flex-direction:column;gap:9px;padding:10px 0 3px}
.iris-performance .perf-job-selector .perf-check{display:flex;gap:8px;align-items:flex-start;font-size:12px;line-height:1.4}
.iris-performance .perf-job-selector .perf-check input{flex:none;margin-top:2px}
.iris-performance [data-additional-toggle]{width:100%;max-width:100%;font-size:11px;white-space:normal}
.iris-performance [data-assignment-additional]{margin-top:8px!important}
.iris-performance [hidden]{display:none!important}

/* Búsqueda clara y única en ambas tablas de programación de evaluaciones. */
.iris-performance .perf-table-name-search{padding:12px 14px;border:1px solid #d6e6ec;border-radius:10px 10px 0 0;background:#f6fbfc}
.iris-performance .perf-table-name-search label{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:.85rem;font-weight:600;color:#0b2933}
.iris-performance .perf-table-name-search input{flex:0 0 auto;max-width:100%;min-width:0;border:1px solid #b9d5de;border-radius:7px;padding:9px 12px;background:#fff;color:#0b2933}
.iris-performance .perf-table-name-search input:focus-visible{outline:2px solid #007b8e;outline-offset:2px}

/* Evaluaciones 1.0.7 · Tarjetas compactas, sin encabezados rotos en dos columnas.
 * La búsqueda y ordenación son controles independientes del contenido. */
.iris-performance .perf-assignment-cards thead{display:none!important}
.iris-performance .perf-assignment-cards{border:0;overflow:visible}
.iris-performance .perf-assignment-cards tbody{padding:3px 0}
.iris-performance .perf-assignment-cards tbody>tr{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;
 border:1px solid #d7e8ed;border-radius:12px;margin:0 0 12px;
 padding:16px 17px;background:#fff;box-shadow:0 2px 8px rgba(11,41,51,.035)
}
.iris-performance .perf-assignment-cards tbody>tr:hover{background:#f7fcfd;border-color:#a9d4dc}
.iris-performance .perf-assignment-cards tbody>tr>td{min-width:0;align-self:start}
.iris-performance .perf-assignment-cards tbody>tr>td:first-child{
 grid-column:1/-1;border-bottom:1px solid #e8f0f2;padding-bottom:11px
}
.iris-performance .perf-assignment-cards tbody>tr>td:first-child strong{
 font-size:14px;color:#0b2933;line-height:1.45;letter-spacing:-.01em
}
.iris-performance .perf-assignment-cards tbody>tr>td:last-child{
 grid-column:1/-1;border-top:1px solid #e8f0f2;padding-top:10px
}
.iris-performance .perf-assignment-cards tbody>tr>td:last-child::before{display:none}
.iris-performance .perf-assignment-cards .perf-row-action{
 flex:1 1 105px;min-height:38px;text-align:center
}
.iris-performance .perf-table-name-search{
 display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;
 margin-bottom:12px;border-radius:10px;padding:12px 14px;
 background:#edf8fa;border-color:#cfe4e9
}
.iris-performance .perf-table-name-search label{
 display:flex;flex-direction:column;align-items:stretch;gap:5px;flex:2 1 170px;
 margin:0;color:#0b2933;font-weight:650;font-size:12px
}
.iris-performance .perf-table-name-search label.perf-sort-label{flex:1 1 125px;max-width:180px}
.iris-performance .perf-table-name-search input,
.iris-performance .perf-table-name-search select{
 width:100%;max-width:none;min-width:0;min-height:39px;
 border:1px solid #b5d6df;border-radius:7px;background:#fff;
 color:#0b2933;padding:8px 10px;font-size:13px
}
/* El input es hijo de un label flex-column: nunca usar flex-basis vertical
   de 240px; debe ser un control estándar de una sola línea en ambos paneles. */
.iris-performance .perf-table-name-search input[type="search"]{
 flex:0 0 auto;
 box-sizing:border-box;
 display:block;
 align-self:stretch;
 height:40px;
 min-height:40px;
 max-height:40px;
 width:100%;
 line-height:20px;
 padding:9px 12px;
}
.iris-performance .perf-table-name-search select[data-card-sort]{
 flex:0 0 auto;
 box-sizing:border-box;
 display:block;
 height:40px;
 min-height:40px;
 max-height:40px;
}
.iris-performance .perf-table-name-search :is(input,select):focus-visible{
 outline:2px solid #007b8e;outline-offset:2px
}
@media(max-width:700px){
 .iris-performance .perf-assignment-cards tbody>tr{
  grid-template-columns:minmax(0,1fr);padding:14px 12px;gap:11px
 }
 .iris-performance .perf-table-name-search label.perf-sort-label{max-width:none}
}


/* Evaluación de desempeño 1.0.10: una evaluación = una fila en escritorio.
   Los cargos van en una lista breve dentro de su propia celda. */
.iris-performance #perf-evaluation-table {min-width:0;max-width:100%}
.iris-performance #perf-evaluation-table .perf-table-wrap {overflow-x:hidden;min-width:0;max-width:100%}
.iris-performance #perf-evaluation-table table {display:table;width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:11px}
.iris-performance #perf-evaluation-table thead {display:table-header-group}
.iris-performance #perf-evaluation-table tbody {display:table-row-group}
.iris-performance #perf-evaluation-table tr {display:table-row}
.iris-performance #perf-evaluation-table th,
.iris-performance #perf-evaluation-table td {display:table-cell;box-sizing:border-box;min-width:0;vertical-align:middle;overflow-wrap:anywhere;word-break:normal}
.iris-performance #perf-evaluation-table th {padding:9px 6px;font-size:9px;line-height:1.35;white-space:normal}
.iris-performance #perf-evaluation-table th button {white-space:normal;text-align:left;line-height:1.35}
.iris-performance #perf-evaluation-table td {padding:8px 6px;line-height:1.35;white-space:normal}
.iris-performance #perf-evaluation-table tbody tr:nth-child(even) td {background:#f8fbfc}
.iris-performance #perf-evaluation-table tbody tr:hover td {background:#f0f8fa}
.iris-performance #perf-evaluation-table td strong {font-size:11px;line-height:1.35}
.iris-performance #perf-evaluation-table td small {font-size:9px;line-height:1.25;margin-top:3px}
.iris-performance #perf-evaluation-table th:nth-child(1),
.iris-performance #perf-evaluation-table td:nth-child(1) {width:15%}
.iris-performance #perf-evaluation-table th:nth-child(2),
.iris-performance #perf-evaluation-table td:nth-child(2) {width:26%}
.iris-performance #perf-evaluation-table th:nth-child(3),
.iris-performance #perf-evaluation-table td:nth-child(3) {width:13%}
.iris-performance #perf-evaluation-table th:nth-child(4),
.iris-performance #perf-evaluation-table td:nth-child(4) {width:10%}
.iris-performance #perf-evaluation-table th:nth-child(5),
.iris-performance #perf-evaluation-table td:nth-child(5) {width:8%}
.iris-performance #perf-evaluation-table th:nth-child(6),
.iris-performance #perf-evaluation-table td:nth-child(6) {width:7%}
.iris-performance #perf-evaluation-table th:nth-child(7),
.iris-performance #perf-evaluation-table td:nth-child(7) {width:11%}
.iris-performance #perf-evaluation-table th:nth-child(8),
.iris-performance #perf-evaluation-table td:nth-child(8) {width:10%}
.iris-performance #perf-evaluation-table .perf-filter-row th {padding:7px 4px;background:#f7fafb}
.iris-performance #perf-evaluation-table .perf-filter-row input,
.iris-performance #perf-evaluation-table .perf-filter-row select {display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;height:34px;min-height:34px;margin:0;padding:5px 6px;font-size:10px}
.iris-performance #perf-evaluation-table td:not(:first-child)::before {content:none}
.iris-performance #perf-evaluation-table .perf-evaluation-job-list {display:block;list-style:none;margin:0;padding:0}
.iris-performance #perf-evaluation-table .perf-evaluation-job-list li {position:relative;display:block;padding:0 0 0 10px;margin:0 0 3px;border:0;border-radius:0;background:none;color:#244956;font-size:10.5px;font-weight:400;line-height:1.3;overflow-wrap:anywhere}
.iris-performance #perf-evaluation-table .perf-evaluation-job-list li:last-child {margin-bottom:0}
.iris-performance #perf-evaluation-table .perf-evaluation-job-list li::before {content:"•";position:absolute;left:0;color:#007b8e;font-weight:800}
.iris-performance #perf-evaluation-table .perf-badge {max-width:100%;white-space:normal;font-size:9.5px;line-height:1.3;padding:4px 6px}
.iris-performance #perf-evaluation-table .perf-row-action {box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:7px 5px;white-space:normal;font-size:10px;line-height:1.25}
.iris-performance #perf-evaluation-table td[colspan] {width:100%}

/* En móvil: los datos se reagrupan dentro de cada evaluación sin scroll lateral. */
@media (max-width:830px) {
 .iris-performance #perf-evaluation-table .perf-table-wrap {overflow:hidden;border:0}
 .iris-performance #perf-evaluation-table table,
 .iris-performance #perf-evaluation-table thead,
 .iris-performance #perf-evaluation-table tbody {display:block;width:100%}
 .iris-performance #perf-evaluation-table thead>tr:first-child {display:none}
 .iris-performance #perf-evaluation-table .perf-filter-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px;border:1px solid #dce8ec;border-radius:8px;background:#f7fafb}
 .iris-performance #perf-evaluation-table .perf-filter-row th {display:block;width:auto;min-width:0;padding:0;border:0}
 .iris-performance #perf-evaluation-table .perf-filter-row th:empty {display:none}
 .iris-performance #perf-evaluation-table tbody>tr {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin:9px 0;padding:11px 12px;border:1px solid #dce8ec;border-radius:9px;background:#fff}
 .iris-performance #perf-evaluation-table tbody>tr>td {display:block;width:auto!important;min-width:0;padding:0;border:0;background:none!important}
 .iris-performance #perf-evaluation-table tbody>tr>td:first-child,
 .iris-performance #perf-evaluation-table tbody>tr>td:nth-child(2),
 .iris-performance #perf-evaluation-table tbody>tr>td:last-child,
 .iris-performance #perf-evaluation-table tbody>tr>td[colspan] {grid-column:1/-1}
 .iris-performance #perf-evaluation-table tbody>tr>td:not(:first-child)::before {content:attr(data-col-label);display:block;margin:0 0 3px;color:#607d89;font-size:9px;letter-spacing:.04em;text-transform:uppercase;font-weight:800}
 .iris-performance #perf-evaluation-table .perf-row-action {width:auto;min-width:105px}
}
