/* Asistencia y novedades del mes (as1, 25-11-2026) · mismo lenguaje visual que Prevención */
.as{background:#f3f6f9;color:#102235;font:14px system-ui,sans-serif;margin:0}
.as main{max-width:1180px;margin:0 auto;padding:18px 16px 60px}
.as *{box-sizing:border-box}
.as-toplink{color:#156786;text-decoration:none;font-weight:600}
.as-eyebrow{margin:14px 0 2px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:#6e8090;font-weight:700}
.as h1{margin:0;font-size:26px}.as-sub{margin:4px 0 12px;color:#41566a;max-width:820px}
.as-msg{min-height:1em;margin:6px 0;color:#1b6b40;font-weight:600}.as-msg.is-bad{color:#a12a22}
.as-bar{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;margin:4px 0 12px}
.as-bar label{display:flex;flex-direction:column;gap:3px;font-size:12px;font-weight:700;color:#53687a}
.as-bar input,.as-bar select{font:inherit;padding:8px 10px;border:1px solid #c9d8e2;border-radius:9px;background:#fff;min-height:40px;max-width:100%}
.as-state{padding:8px 12px;border-radius:999px;font-weight:700;font-size:12.5px;background:#eef2f5;color:#41566a}
.as-state.is-listo{background:#fff4dc;color:#8a5a00}.as-state.is-aprobado{background:#e3f6ea;color:#1b6b40}
.as-tabs{display:flex;gap:6px;margin:0 0 12px;flex-wrap:wrap}
.as-tab{border:1px solid #c9d8e2;background:#fff;border-radius:999px;padding:8px 14px;font:inherit;font-weight:700;color:#41566a;cursor:pointer;min-height:42px}
.as-tab.is-on{background:#0b2d48;color:#fff;border-color:#0b2d48}
.as-body{background:#fff;border:1px solid #dce5eb;border-radius:16px;padding:16px}
.as-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.as-head h2{margin:0;font-size:17px}
.as-day{display:flex;align-items:center;gap:6px;font-weight:700;font-size:13px}.as-day input{font:inherit;padding:7px 9px;border:1px solid #c9d8e2;border-radius:9px;min-height:40px}
.as-dow{color:#6e8090;font-weight:600}
.as-rule{color:#6e8090;margin:8px 0}
.as-sum{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}
.as-chip{display:inline-block;font-size:12px;font-weight:700;border-radius:999px;padding:3px 9px}
.as-chip.is-ok{background:#e3f6ea;color:#1b6b40}.as-chip.is-bad{background:#fde8e7;color:#a12a22}.as-chip.is-warn{background:#fff4dc;color:#8a5a00}
.as-chip.is-info{background:#e8f1fb;color:#1f4f86}.as-chip.is-none{background:#eef2f5;color:#53687a}.as-chip.is-miss{background:#fff;border:1px dashed #d33d34;color:#a12a22}
.as-miss{color:#a12a22;font-weight:700}
.as-btn{border:0;background:#168e57;color:#fff;border-radius:10px;padding:9px 14px;font:inherit;font-weight:700;cursor:pointer;min-height:44px}
.as-btn.is-quiet{background:#eef4f8;color:#0b2d48}.as-btn.is-danger{background:#fde8e7;color:#a12a22}.as-btn:disabled{opacity:.55;cursor:default}
.as-btns{display:flex;gap:6px;flex-wrap:wrap}
.as-link{border:0;background:none;font:inherit;font-weight:700;cursor:pointer;padding:4px 6px;min-height:32px}.as-link.is-danger{color:#a12a22}
.as-quick{margin:8px 0}
.as-people{list-style:none;margin:8px 0 0;padding:0;border:1px solid #e4ebf0;border-radius:12px;overflow:hidden}
.as-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px;border-top:1px solid #eef2f5}
.as-row:first-child,.as-nrow:first-child{border-top:0}.as-row.is-dirty{background:#fffbea}
.as-who b{display:block}.as-who span{display:block;font-size:12.5px;color:#6e8090}.as-who small{display:block;font-size:11.5px;color:#6e8090;margin-top:2px}
.as-row select,.as-row input{font:inherit;padding:8px;border:1px solid #c9d8e2;border-radius:9px;min-height:42px;width:100%;background:#fff}
.as-ot{display:flex;flex-direction:column;gap:4px}.as-ot label{font-size:12px;font-weight:700;color:#53687a;display:flex;flex-direction:column;gap:3px}
.as-hm{display:grid;grid-template-columns:70px minmax(0,1fr);gap:6px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.as-save{position:sticky;bottom:0;display:flex;justify-content:flex-end;align-items:center;gap:12px;background:#fff;padding:12px 0 2px;border-top:1px solid #eef2f5;margin-top:10px;padding-right:62px}
.as-h3{font-size:15px;margin:18px 0 8px}
.as-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.as-d{display:flex;flex-direction:column;align-items:center;gap:1px;border:1px solid #dce5eb;border-radius:9px;background:#fff;padding:5px 2px;font:inherit;cursor:pointer;min-height:52px}
.as-d b{font-size:14px}.as-d small{font-size:10.5px;color:#6e8090}.as-d em{font-style:normal;font-size:11px;font-weight:700}
.as-d.is-ok{background:#e3f6ea;border-color:#9fd8b5}.as-d.is-part{background:#fff4dc;border-color:#f0cf86}.as-d.is-miss{background:#fde8e7;border-color:#f2b0ab}
.as-d.is-we,.as-d.is-fut{background:#f4f6f8;color:#8a99a6}.as-d.is-on{outline:3px solid #0b2d48;outline-offset:1px}
/* ac1: feriados, día de pago, libros requeridos, pasos del cierre y lista de feriados */
.as-state.is-finanzas{background:#e6eefb;color:#1e4f9a}
.as-d.is-hol{background:#f1eafb;border-color:#cdb6ef;color:#5b3a8f}.as-d.is-hol small{color:#5b3a8f;font-weight:700}
.as-d.is-pay{box-shadow:inset 0 0 0 2px #168e57}
.as-pay{margin:10px 0}.as-req{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}
.as-req li{display:flex;flex-direction:column;gap:2px;border:1px solid #f2d39a;background:#fffaf0;border-radius:10px;padding:8px 12px}.as-req span{font-size:13px;color:#6e5a2f}
.as-steps{list-style:none;margin:8px 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.as-steps li{border:1px solid #dce5eb;border-radius:10px;padding:9px 12px;background:#f8fafb;display:flex;flex-direction:column;gap:2px;color:#6e8090}
.as-steps li.is-done{background:#e3f6ea;border-color:#9fd8b5;color:#1b6b40}.as-steps li.is-now{background:#fff4dc;border-color:#f0cf86;color:#7a5000}
.as-steps small{font-size:12px}
.as-hol{margin-top:16px;border:1px solid #e4ebf0;border-radius:10px;padding:8px 12px}.as-hol summary{cursor:pointer;font-weight:700;min-height:32px;display:flex;align-items:center}
@media (max-width:760px){.as-steps{grid-template-columns:minmax(0,1fr)}}
.as-alert{border-radius:10px;padding:9px 12px;margin:8px 0;font-weight:600}
.as-alert.is-ok{background:#e3f6ea;color:#1b6b40}.as-alert.is-warn{background:#fff4dc;color:#7a5000}.as-alert.is-bad{background:#fde8e7;color:#a12a22}
.as-recs{list-style:none;margin:8px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.as-rec{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid #e4ebf0;border-radius:12px}
.as-rec b{display:block;margin-bottom:4px}.as-rec small{display:block;font-size:12px;color:#6e8090;margin-top:4px}.as-diff{display:block;margin-top:4px;color:#7a3a33}
.as-rec-act{flex:0 0 auto}
.as-files{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.as-file{border:1px solid #c9d8e2;background:#f6f9fb;border-radius:8px;padding:6px 10px;font:inherit;font-size:12.5px;cursor:pointer;min-height:36px}.as-file.is-pend{border-style:dashed;color:#8a5a00}
.as-nrow{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.2fr) auto;gap:10px;align-items:start;padding:10px 12px;border-top:1px solid #eef2f5}
.as-item{padding:6px 0;border-bottom:1px dashed #e4ebf0}.as-item:last-child{border-bottom:0}.as-item small{display:inline-block;margin-left:6px;font-size:11.5px;color:#6e8090}
.as-nact{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.as-check{display:flex;gap:6px;align-items:center;font-weight:600;min-height:40px}
.as-check input{width:20px;height:20px}
.as-trash{margin-top:16px}.as-trash summary{cursor:pointer;font-weight:700;color:#53687a;min-height:32px}
.as-table-wrap{overflow-x:auto;border:1px solid #e4ebf0;border-radius:12px;margin-top:8px}
.as-table{border-collapse:collapse;width:100%;font-size:13px}.as-table th,.as-table td{padding:8px;border-top:1px solid #eef2f5;text-align:center;white-space:nowrap}
.as-table th{background:#f6f9fb;font-size:11.5px;color:#53687a;border-top:0}.as-table td:first-child,.as-table th:first-child{text-align:left;white-space:normal}
.as-table td small{display:block;color:#6e8090;font-size:11.5px}
.as-detail{margin:0;padding-left:18px}.as-detail li{margin:6px 0}.as-detail span{display:block;font-size:13px;color:#41566a}
.as-close{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px;padding-top:12px;border-top:1px solid #eef2f5}
.as-empty{color:#6e8090}
.as-dlg{border:0;border-radius:16px;padding:0;max-width:580px;width:calc(100% - 24px)}
.as-form{display:flex;flex-direction:column;gap:10px;padding:18px}.as-form h2{margin:0 0 4px;font-size:18px}
.as-form label{display:flex;flex-direction:column;gap:4px;font-weight:600;font-size:13px}
.as-form input,.as-form select,.as-form textarea{font:inherit;padding:9px;border:1px solid #c9d8e2;border-radius:9px;min-height:42px}
.as-form fieldset{border:1px solid #e4ebf0;border-radius:10px;padding:10px}.as-form legend{font-weight:700;font-size:13px}
.as-radio{flex-direction:row!important;align-items:center;font-weight:500!important;min-height:36px}.as-radio input{min-height:0;width:20px;height:20px}
.as-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.as-filein{background:#f6f9fb;border:1px dashed #a9bfcc;border-radius:10px;padding:10px}
.as-err{color:#a12a22;font-weight:600;min-height:1em;margin:0}
.as-form-act{display:flex;justify-content:flex-end;gap:8px}
@media (max-width:760px){
 .as-row{grid-template-columns:minmax(0,1fr)}.as-nrow{grid-template-columns:minmax(0,1fr)}.as-nact{align-items:flex-start;flex-direction:row;flex-wrap:wrap}
 .as-rec{flex-direction:column}.as-2{grid-template-columns:minmax(0,1fr)}.as-tab{flex:1 1 45%}
 .as-table thead{display:none}.as-table,.as-table tbody,.as-table tr,.as-table td{display:block;width:100%}
 .as-table tr{border-top:1px solid #e4ebf0;padding:6px 0}.as-table td{border:0;text-align:right;padding:3px 10px;white-space:normal}
 .as-table td::before{content:attr(data-l);float:left;font-weight:700;color:#53687a}.as-table td:first-child{text-align:left}.as-table td:first-child::before{content:none}
}
@media print{
 .as{background:#fff}.as-tabs,.as-bar,.as-toplink,.as-btn,.as-close,.as-msg,.zx-shell-side,.zx-shell-toggle,#zxNocheBtn{display:none!important}
 .as-body{border:0;padding:0}.as-table th,.as-table td{font-size:11px;padding:4px}
}
/* li1 (27-11-2026): «Pasar lista» más simple: avance arriba, filas compactas, horas extra y nota plegadas */
.as-rule{font-size:13px;margin:4px 0 10px}
.as-prog{border:1px solid #e4ebf0;border-radius:12px;padding:10px 12px;background:#f8fafb;margin:6px 0 10px}
.as-prog-top{font-size:14px;color:#41566a}.as-prog-top b{font-size:16px;color:#102235}.as-okt{color:#1b6b40;font-weight:700}
.as-prog-bar{height:8px;border-radius:999px;background:#e4ebf0;margin:8px 0 6px;overflow:hidden}.as-prog-bar span{display:block;height:100%;background:#168e57;border-radius:999px;transition:width .2s}
.as-prog .as-sum{margin:0}
.as-quick{display:flex;justify-content:flex-end;margin:0 0 8px}
.as-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px 14px;padding:10px 12px 10px 14px;border-left:4px solid #e4ebf0}
.as-row.st-empty{border-left-color:#e7a29c}.as-row.st-ok{border-left-color:#168e57}.as-row.st-bad{border-left-color:#d33d34}
.as-row.st-info{border-left-color:#2f6fb8}.as-row.st-warn{border-left-color:#d79a1c}.as-row.st-none{border-left-color:#9aa9b5}
.as-who{display:flex;gap:10px;align-items:center;min-width:0}.as-who>div{min-width:0}
.as-who b{font-size:14.5px;overflow-wrap:anywhere}
.as-who .as-ini{flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:#e8f1fb;color:#1f4f86;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}
.as-ctl{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}.as-ctl .as-st{flex:1 1 200px}
.as-row.st-ok [data-f=status]{background:#eefaf3;border-color:#9fd8b5;color:#1b6b40;font-weight:700}
.as-row.st-bad [data-f=status]{background:#fdf0ef;border-color:#f2b0ab;color:#a12a22;font-weight:700}
.as-row.st-info [data-f=status]{background:#eef4fc;border-color:#b4cdec;color:#1f4f86;font-weight:700}
.as-row.st-warn [data-f=status]{background:#fff8e8;border-color:#f0cf86;color:#7a5000;font-weight:700}
.as-row.st-empty [data-f=status]{border-style:dashed;border-color:#e7a29c;color:#a12a22}
.as-more{border:0;background:none;color:#156786;font:inherit;font-size:13px;font-weight:700;cursor:pointer;padding:6px 4px;min-height:40px}
.as-extra{font-size:12.5px;color:#53687a;background:#eef2f5;border-radius:999px;padding:3px 9px}
.as-xtra{display:none;grid-column:1/-1;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:10px;background:#f8fafb;border:1px solid #eef2f5;border-radius:10px;padding:10px}
.as-row.is-open .as-xtra{display:grid}
.as-ot{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;align-items:end}
.as-notel{font-size:12px;font-weight:700;color:#53687a;display:flex;flex-direction:column;gap:3px}
.as-save{box-shadow:0 -6px 12px -10px rgba(16,34,53,.35)}
@media (max-width:760px){.as-row{grid-template-columns:minmax(0,1fr)}.as-xtra,.as-ot{grid-template-columns:minmax(0,1fr)}.as-quick{justify-content:stretch}.as-quick .as-btn{width:100%}}
/* rm1 (28-11-2026): Resumen del mes — tarjetas y tabla trabajador × día */
.rm-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 12px}
.rm-card{border:1px solid #e4ebf0;border-top:4px solid #2f6fb8;border-radius:12px;padding:10px 12px;background:#fff;min-width:0}
.rm-card.is-ok{border-top-color:#168e57}.rm-card.is-warn{border-top-color:#d79a1c;background:#fffcf3}.rm-card.is-bad{border-top-color:#d33d34;background:#fff7f6}.rm-card.is-pay{border-top-color:#0b2d48}
.rm-ct{display:flex;gap:6px;align-items:center;font-size:12.5px;font-weight:700;color:#41566a}
.rm-big{font-size:26px;font-weight:800;color:#102235;margin:4px 0 2px;line-height:1.1}.rm-big small{font-size:13px;font-weight:600;color:#6e8090}
.rm-sub{font-size:12px;color:#6e8090;overflow-wrap:anywhere}
.rm-bar{height:6px;background:#e4ebf0;border-radius:999px;margin-top:6px;overflow:hidden}.rm-bar span{display:block;height:100%;background:#0b2d48}
.rm-pills{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.rm-pill{border:1px solid #f0cf86;background:#fff4dc;color:#7a5000;border-radius:999px;font:inherit;font-size:11.5px;font-weight:700;padding:3px 8px;cursor:pointer;min-height:28px}
.rm-more{font-size:11.5px;color:#7a5000;font-weight:700;align-self:center}
.rm-leg{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:12.5px;color:#41566a;margin:4px 0 8px}.rm-leg span{display:inline-flex;align-items:center;gap:5px}
.rm-c{display:inline-flex;width:20px;height:20px;border-radius:5px;align-items:center;justify-content:center;font-style:normal;font-weight:800;font-size:11.5px;border:1px solid #e4ebf0}
.rm-wrap{overflow-x:auto;border:1px solid #e4ebf0;border-radius:12px}
.rm-t{border-collapse:collapse;font-size:12px;min-width:100%}
.rm-t th,.rm-t td{border-top:1px solid #eef2f5;padding:0;text-align:center}
.rm-t th{background:#f6f9fb;font-size:11px;color:#53687a;padding:4px 2px;min-width:26px;font-weight:700}.rm-t th small{display:block;font-size:9.5px;font-weight:600;color:#8a99a6}
.rm-t th.is-today{background:#0b2d48;color:#fff}.rm-t th.is-today small{color:#cfe0ee}
.rm-t .rm-name{text-align:left;padding:5px 10px;white-space:nowrap;position:sticky;left:0;background:#fff;z-index:1;font-size:13px;font-weight:600;border-right:1px solid #eef2f5}
.rm-t th.rm-name{background:#f6f9fb}.rm-t .rm-name small{display:block;font-size:11px;font-weight:700}
.rm-t .rm-n{padding:4px 8px;font-weight:700;font-size:12.5px;white-space:nowrap}.rm-t th.rm-n{max-width:80px;white-space:normal}.rm-n.is-neg{color:#a12a22}
.rm-cell{width:100%;min-width:26px;height:30px;border:0;background:none;font:inherit;font-weight:800;cursor:pointer;color:inherit}
.rm-t td.is-off{background:#f1f3f5}.rm-c.is-off{background:#f1f3f5}
.st-presente{color:#1b6b40}.rm-t td.st-presente{background:#eefaf3}
.st-ausente{color:#a12a22}.rm-t td.st-ausente,.rm-c.st-ausente{background:#fde8e7}
.st-permiso_sin_goce{color:#8a5a00}.rm-t td.st-permiso_sin_goce,.rm-c.st-permiso_sin_goce{background:#fff4dc}
.st-licencia,.st-vacaciones,.st-permiso_con_goce{color:#1f4f86}.rm-t td.st-licencia,.rm-t td.st-vacaciones,.rm-t td.st-permiso_con_goce,.rm-c.st-licencia,.rm-c.st-vacaciones,.rm-c.st-permiso_con_goce{background:#e8f1fb}
.st-libre{color:#53687a}.rm-t td.st-libre{background:#eef2f5}
.rm-t td.is-miss,.rm-c.is-miss{color:#a12a22;background:#fff;box-shadow:inset 0 0 0 1px #f2b0ab}
.rm-cell:hover,.rm-cell:focus-visible{outline:2px solid #0b2d48;outline-offset:-2px}
@media (max-width:900px){.rm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media print{.rm-t{font-size:9px}.rm-cell{height:18px;min-width:14px}.rm-t th{min-width:14px}}
/* ap2 · día no hábil: sin rojo */
.as-offt{color:#53687a;font-weight:600}.as-offnote{font-size:13px;color:#53687a;margin-right:auto}
.as-people.is-off .as-row.st-empty{border-left-color:#cbd5df}.as-people.is-off .as-row.st-empty [data-f=status]{border-color:#cbd5df;color:#53687a}.as-people.is-off .as-miss{color:#6e8090}

/* hd1 (29-11-2026): lo escondido (atributo hidden) no se ve aunque su clase tenga display propio. */
[hidden]{display:none!important}

/* tl1 (29-11-2026, «autorizo arreglos en teléfono»): en teléfono pestañas y accesos en una fila que se desliza; la lista queda a la vista. */
.as-links{display:contents}
@media (max-width:760px){
 .as-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px 2px 6px;margin:0 0 10px}
 .as-tabs::-webkit-scrollbar{display:none}
 .as-tab{flex:0 0 auto;white-space:nowrap;min-height:40px;padding:8px 14px}
 .as-links{display:flex;gap:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;width:100%;padding-bottom:2px}
 .as-links::-webkit-scrollbar{display:none}
 .as-links .as-btn{flex:0 0 auto;white-space:nowrap;font-size:13px;padding:6px 10px;min-height:40px}
 .as-bar{gap:8px 10px;margin:4px 0 8px}.as-bar label{flex:1 1 40%;min-width:0}.as-bar input,.as-bar select{width:100%}
}
