/* GASCA · Portal del empleado › Solicitudes (INC-00679). Prefijo .ps- (usa también las piezas .pt- de gasca_portal.css) */
.ps-modal{font-family:Inter,system-ui,sans-serif}
.ps-tipos{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:10px 0}
.ps-tipo{display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:14px;cursor:pointer;font:inherit;color:#0f172a}
.ps-tipo:hover{border-color:#b4000c;box-shadow:0 2px 10px rgba(180,0,12,.12)}
.ps-tipo>i{font-size:1.4rem;color:#b4000c}.ps-tipo b{font-size:.98rem}.ps-tipo small{color:#64748b;font-size:.8rem;line-height:1.3}
/* el papel: misma disposición que el formulario de RRHH */
.ps-papel{background:#fff;border:1px solid #d1d5db;border-radius:6px;box-shadow:0 2px 12px rgba(15,23,42,.08);padding:22px 30px 26px;margin:10px 0;color:#000;
  font-family:Calibri,Carlito,"Segoe UI",Arial,sans-serif;font-size:1rem;line-height:1.75}
.ps-cab{display:grid;grid-template-columns:96px 1fr 130px;border:1.5px solid #000;margin-bottom:26px}
.ps-cab>div{display:flex;align-items:center;justify-content:center;padding:6px}
.ps-cab-logo{border-right:1.5px solid #000}.ps-cab-logo img{width:78px;height:78px;object-fit:contain}
.ps-cab-tit{font:700 1.15rem Arial,Helvetica,sans-serif;text-align:center;line-height:1.3}
.ps-papel-baja .ps-cab-tit{font-weight:400;font-family:"Franklin Gothic Book","Franklin Gothic",Arial,sans-serif}
.ps-cab-der{border-left:1.5px solid #000;flex-direction:column;font:700 .72rem "Times New Roman",Times,serif}
.ps-cuerpo p{text-align:justify;margin:0 0 14px}
.ps-lugar{margin-top:22px!important}.ps-al-R{text-align:right!important}.ps-al-L{text-align:left!important}
.ps-firmas{display:flex;justify-content:space-between;gap:20px;margin-top:34px;flex-wrap:wrap}.ps-firmas>div{min-width:180px}
.ps-dato{font-weight:700;background:#f1f5f9;border-bottom:1px dotted #64748b;padding:0 3px;border-radius:3px}
.ps-dato-vacio{color:#94a3b8}
.ps-in{font:700 .95rem Calibri,Carlito,"Segoe UI",Arial,sans-serif;color:#0f172a;border:0;border-bottom:2px dashed #b4000c;background:#fff5f5;border-radius:4px 4px 0 0;
  padding:2px 6px;margin:0 2px;max-width:100%;vertical-align:baseline}
.ps-in:focus{outline:2px solid #b4000c33;background:#fff}
.ps-in:valid{border-bottom-style:solid;border-bottom-color:#16a34a;background:#f0fdf4}
.ps-in.ps-err{border-bottom-color:#dc2626;background:#fee2e2}
.ps-in-num{width:90px}.ps-in-hora{width:110px}.ps-in-fecha{width:160px}.ps-in-largo{width:100%;margin:4px 0}
.ps-ayuda{font-size:.8rem;color:#475569;background:#f8fafc;border-radius:10px;padding:6px 10px;margin:8px 0}.ps-ayuda p{margin:4px 0}.ps-ayuda i{color:#64748b}
.ps-sage{margin:8px 0;font-size:.85rem}.ps-sage summary{cursor:pointer;font-weight:600;color:#334155}
.ps-sage dl,.ps-det dl{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);gap:3px 12px;margin:8px 0}
.ps-sage dt,.ps-det dt{color:#64748b}.ps-sage dd,.ps-det dd{margin:0;font-weight:600;word-break:break-word}
.ps-errores,.ps-avisos{border-radius:10px;padding:6px 10px;margin:8px 0;font-size:.85rem}.ps-errores p,.ps-avisos p{margin:3px 0}
.ps-errores{background:#fee2e2;color:#991b1b}.ps-avisos{background:#fef3c7;color:#92400e}
.ps-acepto{display:flex;gap:10px;align-items:center;font-weight:700;margin:12px 0 4px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;cursor:pointer}
.ps-acepto input{width:20px;height:20px;accent-color:#b4000c}
.ps-hecho{text-align:center}.ps-hecho>i{font-size:2.6rem;color:#16a34a}.ps-hecho .pt-bts{justify-content:center;flex-wrap:wrap}
/* listas */
.ps-lista{display:flex;flex-direction:column;gap:10px;margin:10px 0}
.ps-sol{border:1px solid #e5e7eb;border-radius:14px;padding:12px 14px;background:#fff}
.ps-sol header{display:flex;gap:10px;align-items:center}.ps-sol header>i{font-size:1.2rem;color:#b4000c}.ps-sol header>div{flex:1;min-width:0}
.ps-sol header small{display:block;color:#64748b}.ps-res{margin:8px 0 4px;font-size:.9rem}
.ps-com{background:#f8fafc;border-left:3px solid #b4000c;padding:6px 10px;border-radius:6px;font-size:.88rem;margin:6px 0}
.ps-sol details{font-size:.85rem;margin:4px 0}.ps-sol summary{cursor:pointer;color:#475569}
.ps-hist{margin:6px 0;padding-left:20px}.ps-hist li{margin:3px 0}
.ps-acc{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.ps-st{display:inline-block;font-style:normal;font-size:.75rem;font-weight:700;border-radius:999px;padding:2px 9px;white-space:nowrap;background:#e5e7eb;color:#334155}
.ps-st-rec{background:#dbeafe;color:#1e40af}.ps-st-rev{background:#fef3c7;color:#92400e}.ps-st-ok{background:#dcfce7;color:#166534}
.ps-st-mal{background:#fee2e2;color:#991b1b}.ps-st-anu{background:#e5e7eb;color:#475569}
/* RRHH */
.ps-cuentas{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.ps-cuenta{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:8px 14px;cursor:pointer;font:inherit;min-width:96px}
.ps-cuenta b{font-size:1.25rem}.ps-cuenta span{font-size:.78rem;color:#475569}
.ps-cuenta.ps-on{border-color:#b4000c;box-shadow:0 0 0 2px #b4000c22}
.ps-filtros{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ps-filtros select,.ps-filtros input{border:1px solid #d1d5db;border-radius:9px;padding:7px 9px;font:400 .85rem Inter,system-ui,sans-serif;max-width:100%}
.ps-filtros label{display:flex;gap:6px;align-items:center;font-size:.82rem;color:#475569}
.ps-filtros input[type=search]{flex:1;min-width:180px}
.ps-t td small{display:block;color:#64748b}.ps-t td{vertical-align:top}
.ps-com-c{max-width:220px}
.ps-integ{border-radius:10px;padding:8px 12px;font-size:.85rem;margin:8px 0}.ps-integ-ok{background:#dcfce7;color:#166534}.ps-integ-mal{background:#fee2e2;color:#991b1b;font-weight:700}
.ps-bts-izq{justify-content:flex-start!important}
.ps-det{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px;margin:8px 0}
.ps-det section,.ps-gestion{border:1px solid #e5e7eb;border-radius:12px;padding:8px 12px;background:#fff}
.ps-det h4,.ps-gestion h4{margin:2px 0 4px;color:#0f172a}
.ps-texto pre{white-space:pre-wrap;font:400 .82rem/1.5 Inter,system-ui,sans-serif;background:#f8fafc;border-radius:10px;padding:10px;max-height:320px;overflow:auto}
.ps-gestion{margin:10px 0}.ps-lbl{display:block;font-size:.82rem;color:#475569;margin-top:6px}
.ps-gestion select,.ps-gestion textarea{width:100%;border:1px solid #d1d5db;border-radius:9px;padding:8px 10px;font:400 .9rem Inter,system-ui,sans-serif;box-sizing:border-box}
.ps-hist-t td{font-size:.8rem}
@media (max-width:640px){
  .ps-papel{padding:12px 12px 16px;font-size:.92rem;line-height:1.9}
  .ps-cab{grid-template-columns:64px 1fr 84px;margin-bottom:16px}.ps-cab-logo img{width:52px;height:52px}.ps-cab-tit{font-size:.95rem}
  .ps-cuerpo p{text-align:left}
  .ps-in-fecha{width:150px}
  .ps-firmas{margin-top:20px}
}
