.roster-turn.state-borrador{background:#fff3cf;border-color:#cbad45;color:#674e00;border-left:4px solid #cbad45}.roster-turn.state-publicado{background:#e4f3ed;border-color:#44997b;color:#164c3b;border-left:4px solid #44997b}.roster-turn.state-finalizado{background:#e8eef7;border-color:#7188b0;color:#324866;border-left:4px solid #7188b0}.roster-legend{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.roster-legend span{padding:7px 12px;border-radius:6px;border:1px solid #dce3eb}.roster-legend .legend-draft{background:#fff3cf;color:#674e00}.roster-legend .legend-published{background:#e4f3ed;color:#164c3b}.roster-legend .legend-final{background:#e8eef7;color:#324866}.sheet-table{min-width:1050px}.sheet-table td{vertical-align:top;min-width:125px}.sheet-table td:nth-child(5){min-width:260px}.sheet-table select,.sheet-table input{width:100%;font:inherit;min-height:42px}.sheet-table input{margin:0 0 6px;padding:10px}.sheet-table button{display:block;margin-bottom:8px}.sheet-state-borrador{color:#674e00;background:#fff3cf}.sheet-state-publicado{color:#164c3b;background:#e4f3ed}.sheet-tools{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:20px 0}.sheet-tools>div{min-width:240px;flex:1}.sheet-tools label{margin-top:0}.sheet-tools button{width:auto;margin-top:0}.journal-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:16px 0;overflow-wrap:anywhere}.journal-identity p{margin:4px 0}.company-form{max-width:800px}.company-form button{max-width:250px}.journal-download{display:inline-block;padding:12px 18px;border-radius:8px;background:#d4bc65;color:#25220f;text-decoration:none;font-weight:600;margin:16px 0}.journal-table{min-width:850px}.journal-table td{overflow-wrap:anywhere}.journal-legend{margin:16px 0}@media(max-width:700px){.journal-identity{grid-template-columns:1fr}.sheet-tools>div{min-width:0;width:100%}.sheet-tools{display:block}.sheet-tools button{margin-top:12px}} 
.sheet-table td{padding:10px 12px}.sheet-table input,.sheet-table select{min-height:36px;padding:8px;font-size:13px}.sheet-table .select-search-status:empty{display:none}.sheet-tools select{width:100%}
@media(max-width:700px){.sheet-table{min-width:0;width:100%}.sheet-table thead{display:none}.sheet-table tbody{display:block}.sheet-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid #dce3eb}.sheet-table td{display:block;min-width:0!important;padding:10px!important;border:0}.sheet-table td:nth-child(5),.sheet-table td:nth-child(6){grid-column:1/-1}.sheet-table td:nth-child(6){display:flex;gap:8px;flex-wrap:wrap}.sheet-table td:nth-child(6) button{margin:0}.sheet-table .table-select-search,.sheet-table select{width:100%}}
.report-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.report-tabs [aria-pressed="true"]{background:#142133;color:#fff;border-color:#142133}.review-state{display:inline-block;padding:5px 10px;border-radius:6px;font-size:12px;white-space:nowrap}.review-pendiente{background:#fff3cd;color:#755611}.review-revisado{background:#e2f2ea;color:#176443}.review-observado{background:#fce5df;color:#963c28}.report-review-section{margin-top:26px;border-top:1px solid #dce2eb;padding-top:24px}.review-history{padding:12px 0;border-bottom:1px solid #dce2eb}.review-history small{display:block}.report-review-section textarea{width:100%;min-height:100px}.report-review-section form{margin:20px 0}#reports-body td:last-child button{margin:3px}#report-fields{overflow-wrap:anywhere}

.report-review-section textarea{font:inherit;color:#142133;padding:14px;border:1px solid #b6c1cf;border-radius:8px;resize:vertical}

@media(max-width:700px){
 #service-personnel-view .table-scroll table{display:block;min-width:0;width:100%}
 #service-personnel-view thead{display:none}
 #sp-body{display:block;width:100%}
 #sp-body tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px;gap:12px;border-bottom:1px solid #dce2e8}
 #sp-body td{display:block;padding:0;border:0;min-width:0;white-space:normal;overflow-wrap:anywhere}
 #sp-body td:first-child,#sp-body td:last-child{grid-column:1/-1}
 #sp-body td:nth-child(2)::before{content:'Categorías';display:block;font-weight:600;margin-bottom:4px}
 #sp-body td:nth-child(3)::before{content:'Plantilla';display:block;font-weight:600;margin-bottom:4px}
 #sp-body td:last-child button{width:100%;white-space:normal}
}
