/* =========================================================
   Piasa Link - estilos del portal (diseño 2026)
   Se carga después de style.css. Mismos colores de la marca,
   controles redondeados y ajustes a DevExpress (tema Office365).
   ========================================================= */
:root {
    --pl-green: #52B86F;
    --pl-green-600: #43A05E;
    --pl-green-50: #EAF6EE;
    --pl-green-100: #D3EEDB;
    --pl-dark: #252E2E;
    --pl-red: #932B25;
    --pl-ink: #1F2626;
    --pl-ink-2: #4B5555;
    --pl-ink-3: #7D8787;
    --pl-line: #E3E8E6;
    --pl-bg: #F3F5F4;
    --pl-r: 9px;
    --pl-side-w: 240px;
    --pl-hdr-h: 64px;
    --pl-font: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
}

body.pl-body {
    font-family: var(--pl-font) !important;
    background: var(--pl-bg);
    color: var(--pl-ink);
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

.pl-body p { font-family: inherit; color: var(--pl-ink-2); font-size: 14px; line-height: 1.5; }
.pl-body h1, .pl-body h2, .pl-body h3, .pl-body h4 { font-family: var(--pl-font); }
.pl-body [class*="_Office365"], .pl-body [class*="_Office365"] input, .pl-body [class*="_Office365"] textarea { font-family: var(--pl-font) !important; }

/* ---------- Header ---------- */
.pl-body #header.pl-header {
    height: var(--pl-hdr-h);
    background: var(--pl-dark) !important;
    padding: 0 20px;
    gap: 14px;
    box-shadow: 0 1px 0 rgba(0,0,0,.2);
    flex-wrap: nowrap;
    display: flex;
    align-items: center;
}
.pl-header .pl-logo { height: 38px; }
.pl-burger.dxbButton_Office365, .pl-burger {
    width: 40px; height: 40px; border-radius: 10px !important;
    background: rgba(255,255,255,.07) !important; border: 0 !important;
}
.pl-burger:hover { background: rgba(255,255,255,.14) !important; }
.pl-burger .dxb { padding: 4px !important; }
.pl-burger img { width: 22px; height: 22px; filter: brightness(0) invert(1); }

.pl-user { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 13px; margin-right: 14px; }
.pl-avatar {
    width: 34px; height: 34px; border-radius: 50%; background: var(--pl-green);
    display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; text-transform: uppercase;
}
.pl-user-name { font-weight: 600; line-height: 1.2; }
.pl-user-role { opacity: .6; font-size: 12px; }
.pl-logout, .pl-logout:hover, .pl-logout:focus {
    display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px;
    border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #fff !important;
    font-weight: 600; font-size: 13px; white-space: nowrap;
}
.pl-logout:hover { background: var(--pl-green); border-color: var(--pl-green); }
.pl-header .navbar-toggler { border-color: rgba(255,255,255,.25); border-radius: 10px; }
.pl-header .navbar-toggler-icon { filter: invert(1); }

/* ---------- Layout / menú lateral ---------- */
.pl-body #wrapper { padding-left: var(--pl-side-w); }
.pl-body #wrapper.active { padding-left: 0; }
.pl-body #sidebar {
    position: fixed; top: var(--pl-hdr-h); bottom: 0; left: 0; height: auto;
    margin-left: 0 !important; min-width: var(--pl-side-w); max-width: var(--pl-side-w);
    background: #fff; border-right: 1px solid var(--pl-line);
    padding: 18px 14px !important; overflow-y: auto; transition: left .3s;
    font-weight: 400;
}
.pl-body #sidebar.active { left: calc(-1 * var(--pl-side-w)); }
.pl-side-label {
    font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--pl-ink-3);
    text-transform: uppercase; margin: 4px 10px 8px;
}
.pl-body #sidebar ul.components { padding: 0; margin: 0; }
.pl-body #sidebar ul li a {
    display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px;
    border-radius: 9px; color: var(--pl-ink-2); font-size: 13.5px; font-weight: 500; margin-bottom: 4px;
}
.pl-body #sidebar ul li a i { width: 18px; text-align: center; color: var(--pl-ink-3); }
.pl-body #sidebar ul li a:hover { background: var(--pl-bg); color: var(--pl-ink); }
.pl-body #sidebar ul li.active > a, .pl-body #sidebar ul li a.active {
    background: var(--pl-green-50); color: var(--pl-green-600); font-weight: 600;
    box-shadow: inset 3px 0 0 var(--pl-green);
}
.pl-body #sidebar ul li.active > a i { color: var(--pl-green); }

@media (max-width: 768px) {
    .pl-body #wrapper, .pl-body #wrapper.active { padding-left: 0; }
    .pl-body #sidebar { left: calc(-1 * var(--pl-side-w)); z-index: 1029 !important; box-shadow: 0 10px 30px rgba(0,0,0,.15); }
    .pl-body #sidebar.active { left: 0; }
    .pl-user-meta { display: none; }
}

/* ---------- Contenido ---------- */
.pl-body #content { min-height: 100vh; display: flex; flex-direction: column; }
.pl-body .content-section { padding: 22px 26px; margin-top: var(--pl-hdr-h); flex: 1; }
.pl-body .nav-section { display: block; margin-bottom: 18px; }
.pl-title-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pl-page-title { margin: 0; font-size: 20px !important; font-weight: 700; color: var(--pl-ink) !important; letter-spacing: -.01em; }
.pl-page-title i {
    width: 32px; height: 32px; border-radius: 9px; background: var(--pl-green-50); color: var(--pl-green);
    display: inline-grid; place-items: center; font-size: 14px; margin-right: 6px; vertical-align: middle;
}
.pl-page-name { color: var(--pl-red); font-size: 13px; font-weight: 500; }
.pl-body .breadcrumb { font-size: 13px; color: var(--pl-ink-3) !important; margin: 6px 0 0 !important; }

.pl-card {
    box-sizing: border-box;
    background: #fff; border: 1px solid var(--pl-line); border-radius: 14px; padding: 18px;
    box-shadow: 0 1px 2px rgba(16,24,24,.04), 0 6px 20px rgba(16,24,24,.04);
}
.pl-body #footer {
    position: static; background: transparent; height: auto; margin: 0 !important;
    padding: 6px 0 22px; color: var(--pl-ink-3); font-size: 12px;
}

/* ---------- Inicio (resumen) ---------- */
.pl-body .body-section > .pl-card:has(.pl-home) { background: transparent; border: 0; box-shadow: none; padding: 0; }
.pl-hero {
    position: relative; border-radius: 14px; overflow: hidden; color: #fff; padding: 26px 30px;
    background: var(--pl-dark) center/cover no-repeat; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 150px;
}
.pl-hero h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 0; color: #fff; }
.pl-hero p { font-size: 14px; color: rgba(255,255,255,.85); margin: 6px 0 0; }
.pl-today { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 10px 16px; font-size: 12px; text-align: right; white-space: nowrap; }
.pl-today b { display: block; font-size: 15px; margin-top: 2px; }

.pl-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 14px; }
.pl-kpi-card { background: #fff; border: 1px solid var(--pl-line); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.pl-kpi-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; flex: none; }
.pl-kpi-n { font-size: 22px; font-weight: 700; line-height: 1; color: var(--pl-ink); }
.pl-kpi-t { font-size: 12px; color: var(--pl-ink-3); margin-top: 4px; font-weight: 500; }
.pl-ic-green { background: var(--pl-green-50); color: var(--pl-green); }
.pl-ic-amber { background: #FFF4E2; color: #D98A1C; }
.pl-ic-red { background: #F5E9E8; color: var(--pl-red); }
.pl-ic-dark { background: #EEF1F0; color: var(--pl-dark); }

.pl-home-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; margin-top: 14px; }
@media (max-width: 992px) { .pl-home-grid { grid-template-columns: 1fr; } }
.pl-lab { display: block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pl-ink-3); margin-bottom: 12px; }
.pl-pn { display: inline-grid; place-items: center; min-width: 56px; height: 30px; padding: 0 8px; border-radius: 8px; background: var(--pl-green-50); color: var(--pl-green-600); font-weight: 700; font-size: 12.5px; flex: none; }
.pl-pn-lg { height: 40px; min-width: 72px; font-size: 15px; border-radius: 10px; }
.pl-last-title { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }
.pl-last-meta { display: flex; gap: 28px; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--pl-line); border-bottom: 1px solid var(--pl-line); }
.pl-last-meta span { display: block; font-size: 11.5px; color: var(--pl-ink-3); }
.pl-last-meta b { font-size: 14px; }
.pl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pl-btn, .pl-btn:hover, .pl-btn:focus { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--pl-r); font-weight: 600; font-size: 13px; border: 1px solid transparent; }
.pl-btn-primary, .pl-btn-primary:hover, .pl-btn-primary:focus { background: var(--pl-green); color: #fff !important; }
.pl-btn-primary:hover { background: var(--pl-green-600); }
.pl-btn-ghost, .pl-btn-ghost:hover, .pl-btn-ghost:focus { background: #fff; color: var(--pl-ink) !important; border-color: var(--pl-line); }
.pl-btn-ghost:hover { background: var(--pl-bg); }
.pl-empty { color: var(--pl-ink-3); padding: 18px 0; text-align: center; }
.pl-empty i { display: block; font-size: 22px; margin-bottom: 6px; }

.pl-q { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: var(--pl-ink) !important; }
.pl-q:hover { background: var(--pl-bg); }
.pl-q-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--pl-green-50); color: var(--pl-green); display: grid; place-items: center; flex: none; font-size: 14px; }
.pl-q b { display: block; font-size: 13.5px; }
.pl-q span { display: block; font-size: 12px; color: var(--pl-ink-3); }
.pl-go { margin-left: auto; color: var(--pl-ink-3); font-size: 11px; }

.pl-recent { margin-top: 14px; }
.pl-card-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pl-card-hd b { font-size: 15px; }
.pl-card-hd a { color: var(--pl-green-600) !important; font-weight: 600; font-size: 13px; }
.pl-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--pl-line); }
.pl-card-hd + .pl-row { border-top: 0; }
.pl-row-main { flex: 1; min-width: 0; }
.pl-row-main b { display: block; font-size: 13.5px; font-weight: 600; }
.pl-row-main span { font-size: 12px; color: var(--pl-ink-3); }
.pl-ib, .pl-ib:hover, .pl-ib:focus { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--pl-line); display: inline-grid; place-items: center; color: var(--pl-ink-2) !important; background: #fff; }
.pl-ib:hover { border-color: var(--pl-green); color: var(--pl-green) !important; }

/* ---------- Botones ---------- */
.pl-body .dxbButton_Office365, .pl-body .rounded-button {
    border-radius: var(--pl-r) !important;
    border: 1px solid var(--pl-line);
    font-weight: 600 !important; font-size: 13px !important;
    transition: background .15s, box-shadow .15s;
}
.pl-body .dxbButton_Office365 .dxb { padding: 7px 16px !important; }
.pl-body .rounded-button { box-shadow: 0 4px 10px rgba(82,184,111,.25); border-color: transparent !important; padding: 0 !important; }
.pl-body .rounded-button:hover { filter: brightness(.94); }

/* ---------- Cajas de texto, combos, fechas, memo ---------- */
.pl-body .dxeTextBox_Office365, .pl-body .dxeButtonEdit_Office365, .pl-body .dxeMemo_Office365,
.pl-body .dxeTextBoxSys.dxeTextBox_Office365 {
    border: 1px solid var(--pl-line) !important; border-radius: var(--pl-r) !important;
    background: #fff !important; overflow: hidden;
}
.pl-body .dxeTextBox_Office365, .pl-body .dxeButtonEdit_Office365 { height: 34px; }
.pl-body .dxeTextBox_Office365 .dxeEditArea_Office365, .pl-body .dxeButtonEdit_Office365 .dxeEditArea_Office365 {
    height: 32px !important; padding: 0 8px !important; font-size: 13px !important; color: var(--pl-ink) !important;
}
.pl-body .dxeMemo_Office365 .dxeMemoEditArea_Office365 { padding: 6px 10px !important; font-size: 13px !important; }
.pl-body .dxeFocused_Office365 {
    border-color: var(--pl-green) !important; box-shadow: 0 0 0 3px rgba(82,184,111,.16) !important;
}
.pl-body .dxeButtonEditButton_Office365 { background: transparent !important; border: 0 !important; color: var(--pl-ink-3); }
.pl-body .dxeDisabled_Office365, .pl-body .dxeReadOnly_Office365 { background: #F7F9F8 !important; }

/* Etiquetas de los formularios */
.pl-body .dxflCaption_Office365, .pl-body .dxflCaptionCell_Office365 {
    font-size: 12px !important; font-weight: 600 !important; color: var(--pl-ink-2) !important;
}
.pl-body .dxflGroupBox_Office365 { border-radius: 14px; border-color: var(--pl-line) !important; }

/* ---------- Grids ---------- */
.pl-body .dxgvControl_Office365 { border: 0 !important; font-size: 13px; }
.pl-body .dxgvControl_Office365 .dxgvTable_Office365 {
    border: 1px solid var(--pl-line) !important; border-radius: 10px; border-collapse: separate !important;
    border-spacing: 0; overflow: hidden;
}
.pl-body .dxgvHeader_Office365 {
    background: #F7F9F8 !important; color: var(--pl-ink-2) !important; font-size: 11px !important;
    font-weight: 700 !important; text-transform: uppercase; letter-spacing: .04em;
    padding: 8px 12px !important; border-color: var(--pl-line) !important;
}
.pl-body .dxgvDataRow_Office365 td.dxgv { padding: 6px 12px !important; font-size: 13px; border-bottom: 1px solid var(--pl-line) !important; border-left: 0 !important; border-right: 0 !important; }
.pl-body .dxgvDataRowHover_Office365 td.dxgv { background: #F7F9F8 !important; }
.pl-body .dxgvSelectedRow_Office365 td.dxgv, .pl-body .dxgvFocusedRow_Office365 td.dxgv { background: var(--pl-green-50) !important; color: var(--pl-ink) !important; }
.pl-body .dxgvSearchPanel_Office365 { padding: 0 0 10px !important; background: transparent !important; border: 0 !important; }
.pl-body .dxgvEmptyDataRow_Office365 td { padding: 28px !important; color: var(--pl-ink-3); text-align: center; }
.pl-body .dxgvPagerBottomPanel_Office365, .pl-body .dxgvPagerTopPanel_Office365 { background: transparent !important; border: 0 !important; padding: 12px 0 0 !important; }
.pl-body .dxpLite_Office365 .dxp-num, .pl-body .dxpLite_Office365 .dxp-button {
    min-width: 28px; height: 28px; line-height: 26px; border-radius: 8px !important;
    border: 1px solid var(--pl-line) !important; text-align: center; padding: 0 8px !important; margin: 0 3px;
}
.pl-body .dxpLite_Office365 .dxp-current { background: var(--pl-green) !important; border-color: var(--pl-green) !important; color: #fff !important; }
/* (radio de checkbox movido a la sección "Checkbox y radio") */

/* ---------- Pestañas ---------- */
.pl-body .dxtcControl_Office365 .dxtc-strip, .pl-body .dxtcLite_Office365 .dxtc-strip {
    display: inline-flex !important; background: #E9EEEC; border-radius: 12px; padding: 4px !important; gap: 4px; height: auto !important;
}
.pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-tab, .pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-activeTab {
    border: 0 !important; border-radius: 9px !important; background: transparent !important; margin: 0 !important;
}
.pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-tab .dxtc-link, .pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-activeTab .dxtc-link {
    padding: 6px 14px !important; font-weight: 600; font-size: 13px; color: var(--pl-ink-2) !important;
}
.pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-activeTab { background: #fff !important; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-activeTab .dxtc-link { color: var(--pl-ink) !important; }
.pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-leftIndent, .pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-spacer,
.pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-rightIndent, .pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-sbWrapper { display: none !important; }
.pl-body .dxtcLite_Office365 > .dxtc-content { border: 0 !important; padding: 14px 0 0 !important; background: transparent !important; }

/* ---------- Ventanas emergentes ---------- */
.pl-body .dxpcLite_Office365 .dxpc-mainDiv, .pl-body .dxpcLite_Office365.dxpc-mainDiv {
    border-radius: 16px !important; overflow: hidden; border: 0 !important; box-shadow: 0 20px 50px rgba(0,0,0,.2) !important;
}
.pl-body .dxpcLite_Office365 .dxpc-header { background: #fff !important; border-bottom: 1px solid var(--pl-line) !important; padding: 14px 18px !important; }
.pl-body .dxpcLite_Office365 .dxpc-headerText { font-weight: 700; color: var(--pl-ink); font-size: 15px; }

/* ---------- Tarjetas de vacaciones ---------- */
.pl-kpi { border-radius: 14px !important; box-shadow: 0 6px 16px rgba(16,24,24,.08); }
.pl-kpi h3 { font-family: var(--pl-font) !important; font-size: 13px !important; font-weight: 600; opacity: .9; margin-bottom: 6px !important; }

/* ---------- Login ---------- */
body.pl-login { margin: 0; min-height: 100vh; background: var(--pl-bg); font-family: var(--pl-font) !important; }
.pl-login-wrap { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 100vh; }
.pl-login-art {
    position: relative; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
    background: var(--pl-dark) center/cover no-repeat;
}
.pl-login-art img { height: 56px; align-self: flex-start; }
.pl-login-bar { width: 56px; height: 5px; border-radius: 3px; background: var(--pl-green); margin-bottom: 22px; }
.pl-login-h { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; max-width: 520px; }
.pl-login-p { opacity: .78; font-size: 16px; margin-top: 14px; max-width: 460px; }
.pl-login-copy { opacity: .55; font-size: 12px; }
.pl-login-side { display: grid; place-items: center; padding: 24px; }
.pl-login-box { width: 100%; max-width: 420px; }
.pl-login-card { width: 100%; padding: 36px; box-sizing: border-box; }
.pl-login-card h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; color: var(--pl-ink); }
.pl-login-sub { color: var(--pl-ink-3); font-size: 13px; margin-bottom: 26px; }
.pl-mobile-logo { display: none; height: 44px; margin-bottom: 22px; }
.pl-field { margin-bottom: 18px; }
.pl-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--pl-ink-2); margin-bottom: 6px; }
.pl-field label i { color: var(--pl-green); margin-right: 4px; }
.pl-login .pl-input.dxeTextBox_Office365, .pl-login .pl-input {
    height: 40px !important; border: 1px solid var(--pl-line) !important; border-radius: var(--pl-r) !important; background: #fff !important;
}
.pl-login table.pl-input { box-sizing: border-box; width: 100% !important; border-collapse: separate; }
.pl-login .pl-input input { height: 38px !important; padding: 0 12px !important; font-size: 14px !important; font-family: var(--pl-font) !important; }
.pl-login .pl-input.dxeFocused_Office365 { border-color: var(--pl-green) !important; box-shadow: 0 0 0 4px rgba(82,184,111,.18) !important; }
.pl-btn-login, .pl-btn-login:focus {
    width: 100%; height: 42px; border: 0; border-radius: var(--pl-r); background: var(--pl-green); color: #fff;
    font: 600 15px var(--pl-font); cursor: pointer; box-shadow: 0 6px 16px rgba(82,184,111,.30); margin-top: 8px;
}
.pl-btn-login:hover { background: var(--pl-green-600); }

@media (max-width: 900px) {
    .pl-login-wrap { grid-template-columns: 1fr; }
    .pl-login-art { display: none; }
    .pl-mobile-logo { display: block; }
    .pl-login-side { background: var(--pl-dark); }
}

/* =========================================================
   Ajuste compacto (v3): controles, grids y espacios más chicos
   ========================================================= */
:root { --pl-hdr-h: 56px; --pl-side-w: 250px; --pl-r: 8px; } /* menú a 250px: "Vacaciones de mi equipo" en una línea */
.pl-body { font-size: 13px; }
.pl-header .pl-logo { height: 32px; }
.pl-burger.dxbButton_Office365, .pl-burger { width: 34px; height: 34px; }
.pl-avatar { width: 30px; height: 30px; font-size: 12px; }
.pl-logout, .pl-logout:hover, .pl-logout:focus { height: 32px; padding: 0 12px; font-size: 12.5px; }
.pl-body #sidebar { padding: 14px 10px !important; }
.pl-body #sidebar ul li a { height: 34px; font-size: 13px; gap: 8px; margin-bottom: 2px; }
.pl-body .content-section { padding: 16px 20px; }
.pl-body .nav-section { margin-bottom: 12px; }
.pl-page-title { font-size: 18px !important; }
.pl-page-title i { width: 28px; height: 28px; font-size: 13px; border-radius: 8px; }
.pl-page-name { font-size: 12px; }
.pl-card { padding: 14px 16px; border-radius: 12px; }

/* Cajas de texto, fechas y combos */
.pl-body .dxeTextBox_Office365, .pl-body .dxeButtonEdit_Office365 { height: 30px !important; }
.pl-body .dxeTextBox_Office365 td.dxic, .pl-body .dxeButtonEdit_Office365 td.dxic { padding: 0 8px !important; height: 28px; }
.pl-body .dxeTextBox_Office365 .dxeEditArea_Office365, .pl-body .dxeButtonEdit_Office365 .dxeEditArea_Office365,
.pl-body .dxeTextBox_Office365 input, .pl-body .dxeButtonEdit_Office365 input {
    height: 28px !important; line-height: 28px !important; padding: 0 !important; font-size: 12.5px !important;
}
.pl-body .dxeButtonEditButton_Office365 { padding: 0 6px !important; }
.pl-body .dxeMemo_Office365 td { padding: 0 !important; }
.pl-body .dxeMemo_Office365 .dxeMemoEditArea_Office365 { padding: 6px 8px !important; font-size: 12.5px !important; }
.pl-body .dxeFocused_Office365 { box-shadow: 0 0 0 2px rgba(82,184,111,.18) !important; }

/* Formularios: menos espacio entre campos */
.pl-body [class*="dxflItem_Office365"], .pl-body .dxflItem_Office365 { padding-top: 2px !important; padding-bottom: 4px !important; }
.pl-body .dxflCaptionCell_Office365, .pl-body .dxflCaption_Office365 { font-size: 11.5px !important; padding-bottom: 2px !important; }
.pl-body .dxflGroupCell_Office365 { padding: 0 6px !important; }

/* Botones */
.pl-body .dxbButton_Office365 { font-size: 12.5px !important; }
.pl-body .dxbButton_Office365 .dxb { padding: 5px 14px !important; }
.pl-body .rounded-button { box-shadow: 0 3px 8px rgba(82,184,111,.22); }

/* Grids */
.pl-body .dxgvControl_Office365 { font-size: 12.5px; }
.pl-body .dxgvHeader_Office365 { padding: 6px 10px !important; font-size: 10.5px !important; }
.pl-body .dxgvDataRow_Office365 td.dxgv { padding: 5px 10px !important; font-size: 12.5px; }
.pl-body .dxgvSearchPanel_Office365 { padding: 0 0 8px !important; }
.pl-body .dxpLite_Office365 .dxp-num, .pl-body .dxpLite_Office365 .dxp-button { min-width: 26px; height: 26px; line-height: 24px; }

/* Contador en una pestaña (p. ej. Mi equipo > Autorizaciones 3) */
.pl-body .dxtc-link .pl-tab-count { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #FFF4E2; color: #B26B00; margin-left: 4px; }

/* Pestañas */
.pl-body .dxtcControl_Office365 .dxtc-strip, .pl-body .dxtcLite_Office365 .dxtc-strip { padding: 3px !important; border-radius: 10px; }
.pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-tab .dxtc-link, .pl-body .dxtcLite_Office365 .dxtc-strip .dxtc-activeTab .dxtc-link { padding: 5px 12px !important; font-size: 12.5px; }
.pl-body .dxtcLite_Office365 > .dxtc-content { padding: 12px 0 0 !important; }

/* Indicadores (inicio y vacaciones) */
.pl-kpis { gap: 10px; margin-top: 10px; }
.pl-kpi-card { padding: 10px 12px; border-radius: 12px; gap: 10px; }
.pl-kpi-ic { width: 34px; height: 34px; font-size: 14px; border-radius: 9px; }
.pl-kpi-n { font-size: 19px; }
.pl-kpi-n span { font: inherit; color: inherit; }
.pl-kpi-u { font-size: 12px !important; font-weight: 600; color: var(--pl-ink-3) !important; margin-left: 3px; }
.pl-kpi-t { font-size: 11.5px; margin-top: 3px; }
.pl-kpis-vac { grid-template-columns: repeat(3, minmax(0, 230px)); margin: 0 0 8px; }
@media (max-width: 768px) { .pl-kpis-vac { grid-template-columns: 1fr; } }
.pl-ic-vred { background: #F7E7E5; color: #9C2F22; }
.pl-ic-gold { background: #FBF3DC; color: #B8901C; }
.pl-ic-orange { background: #FCEBDD; color: #DD7827; }

/* Inicio compacto */
.pl-hero { min-height: 120px; padding: 20px 24px; }
.pl-hero h1 { font-size: 22px; }
.pl-hero p { font-size: 13px; }
.pl-home-grid, .pl-recent { margin-top: 10px; }
.pl-home-grid { gap: 10px; }
.pl-row { padding: 7px 0; }
.pl-btn, .pl-btn:hover, .pl-btn:focus { height: 30px; padding: 0 12px; font-size: 12.5px; }
.pl-ib, .pl-ib:hover, .pl-ib:focus { width: 28px; height: 28px; }

/* Login compacto */
.pl-login .pl-input.dxeTextBox_Office365, .pl-login .pl-input { height: 36px !important; }
.pl-login .pl-input input { height: 34px !important; font-size: 13px !important; }
.pl-btn-login, .pl-btn-login:focus { height: 38px; font-size: 14px; }
.pl-login-card { padding: 28px; }

/* =========================================================
   Mensajes emergentes (MessageBox / MessageDownload)
   ========================================================= */
.dxpc-mainDiv:has(.pl-msg-body), .dxpc-mainDiv:has(.pl-msg-foot) {
    border-radius: 14px !important; overflow: hidden; border: 0 !important;
    box-shadow: 0 24px 60px rgba(16,24,24,.28) !important; background: #fff !important;
}
.popup_informative_header, .popup_alert_header, .popup_sucess_header, .popup_error_header {
    background: #fff !important; border: 0 !important; padding: 10px 12px 0 !important;
    border-top: 4px solid var(--pl-msg-c, #52B86F) !important;
}
.popup_informative_content, .popup_alert_content, .popup_sucess_content, .popup_error_content {
    background: #fff !important; padding: 0 !important;
}
.popup_informative_header, .popup_informative_content { --pl-msg-c: #2F6FB5; --pl-msg-bg: #E8F0FA; --pl-msg-ic: "\f05a"; }
.popup_alert_header, .popup_alert_content { --pl-msg-c: #D98A1C; --pl-msg-bg: #FFF4E2; --pl-msg-ic: "\f071"; }
.popup_sucess_header, .popup_sucess_content { --pl-msg-c: #52B86F; --pl-msg-bg: #EAF6EE; --pl-msg-ic: "\f058"; }
.popup_error_header, .popup_error_content { --pl-msg-c: #932B25; --pl-msg-bg: #F5E9E8; --pl-msg-ic: "\f057"; }
.popup_informative_modal, .popup_alert_modal, .popup_sucess_modal, .popup_error_modal {
    background-color: rgba(37,46,46,.55) !important; opacity: 1 !important;
}
/* La X de cerrar es blanca: la oscurecemos para el fondo blanco */
.popup_informative_header img, .popup_alert_header img, .popup_sucess_header img, .popup_error_header img { filter: brightness(0) opacity(.45); width: 14px !important; height: 14px !important; }

table.pl-msg-body { margin: 0 22px 6px 22px !important; font-family: var(--pl-font); }
table.pl-msg-body td { padding: 0; }
.pl-msg-title {
    display: flex !important; align-items: center; gap: 10px; color: var(--pl-ink) !important;
    font: 700 17px var(--pl-font) !important; margin-bottom: 6px;
}
.pl-msg-title::before {
    content: var(--pl-msg-ic, "\f05a"); font-family: 'Font Awesome 5 Free'; font-weight: 900; font-size: 15px;
    width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
    background: var(--pl-msg-bg, #EAF6EE); color: var(--pl-msg-c, #52B86F);
}
.pl-msg-text { display: block; color: var(--pl-ink-2) !important; font: 400 13.5px/1.5 var(--pl-font) !important; padding: 0 0 0 44px; margin-bottom: 14px; }
table.pl-msg-foot { margin: 0 0 16px !important; }
table.pl-msg-foot td { padding: 0 20px !important; }
.pl-msg-btn, .pl-msg-btn:focus {
    height: 32px; padding: 0 18px; border: 0; border-radius: 8px; cursor: pointer;
    background: var(--pl-msg-c, #52B86F); color: #fff; font: 600 13px var(--pl-font);
}
.pl-msg-btn:hover { filter: brightness(.94); }

/* =========================================================
   Avisos dentro de las pantallas (.alert)
   ========================================================= */
.pl-body .alert, .pl-login .alert {
    display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; margin: 0 0 12px;
    border: 1px solid var(--pl-line); border-left: 4px solid var(--pl-green); border-radius: 10px;
    background: var(--pl-green-50); color: var(--pl-ink); font: 400 12.5px/1.5 var(--pl-font); box-shadow: none;
}
.pl-body .alert i { margin: 2px 0 0; font-size: 14px; color: var(--pl-green-600); flex: none; }
.pl-body .alert-info { background: #EEF5FC; border-color: #D6E5F5; border-left-color: #2F6FB5; }
.pl-body .alert-info i { color: #2F6FB5; }
.pl-body .alert-warning { background: #FFF7EA; border-color: #F6E3C2; border-left-color: #D98A1C; }
.pl-body .alert-warning i { color: #D98A1C; }
.pl-body .alert-error, .pl-body .alert-danger { background: #FBEFEE; border-color: #F0D4D2; border-left-color: #932B25; }
.pl-body .alert-error i, .pl-body .alert-danger i { color: #932B25; }
.pl-body .alert-success { background: var(--pl-green-50); border-color: var(--pl-green-100); border-left-color: var(--pl-green); }

/* =========================================================
   Control de Vacaciones (Administrador / VacationBalance)
   ========================================================= */
.pl-emp-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 4px; }
.pl-emp-pick { width: 380px; max-width: 100%; }
.pl-emp-lab { display: block; font-size: 11.5px; font-weight: 600; color: var(--pl-ink-2); margin-bottom: 4px; }
.pl-emp-card { display: flex; align-items: center; gap: 12px; margin-left: auto; min-width: 0; }
.pl-emp-card > div:last-child { min-width: 0; }
.pl-emp-card b { font-size: 13.5px; color: var(--pl-ink); }
.pl-emp-av {
    width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: var(--pl-green-50); color: var(--pl-green-600); font-weight: 700; font-size: 13px;
}
.pl-emp-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 2px; font-size: 11.5px; color: var(--pl-ink-3); }
.pl-emp-meta b { font-size: 11.5px; color: var(--pl-ink-2); font-weight: 600; }
.pl-emp-card-sm { margin: 0 0 10px; }
.pl-emp-card-sm .pl-emp-av { width: 34px; height: 34px; font-size: 12px; }

.pl-vk-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 10px 0; }
.pl-vk-row.pl-vk-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 10px; }
.pl-vk { background: #fff; border: 1px solid var(--pl-line); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.pl-vk-t { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--pl-ink-2); white-space: nowrap; }
.pl-vk-ic { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font-size: 11px; flex: none; }
.pl-vk-n { font-size: 22px; font-weight: 700; line-height: 1.15; margin-top: 4px; }
.pl-vk-s { font-size: 11px; color: var(--pl-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-vk-ic.pl-c-green { background: var(--pl-green-50); color: var(--pl-green); }
.pl-vk-ic.pl-c-amber { background: #FFF4E2; color: #D98A1C; }
.pl-vk-ic.pl-c-dark { background: #EEF1F0; color: var(--pl-dark); }
.pl-vk-ic.pl-c-blue { background: #E8F0FA; color: #2F6FB5; }
.pl-vk-ic.pl-c-red { background: #FBEAEA; color: var(--pl-red); }
.pl-vk-n.pl-c-green { color: var(--pl-green-600); }
.pl-vk-n.pl-c-amber { color: #B26B00; }
.pl-vk-n.pl-c-dark { color: var(--pl-ink); }
.pl-vk-n.pl-c-blue { color: #2F6FB5; }
.pl-vk-n.pl-c-red { color: var(--pl-red); }

.pl-warn {
    display: flex; align-items: flex-start; gap: 10px; padding: 9px 14px; margin: 0 0 10px;
    background: #FFF7EA; border: 1px solid #F6E3C2; border-left: 4px solid #D98A1C; border-radius: 10px;
    font-size: 12.5px; color: var(--pl-ink); line-height: 1.5;
}
.pl-warn i { color: #D98A1C; margin-top: 3px; }

.pl-vac-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: start; }
.pl-vac-grid .pl-card-hd { flex-wrap: wrap; gap: 4px 12px; }
.pl-muted { color: var(--pl-ink-3); font-size: 11.5px; }
.pl-num-ok { color: var(--pl-green-600); }
.pl-num-zero { color: var(--pl-ink-3); font-weight: 600; }
.pl-num-bad { color: var(--pl-red); font-weight: 700; }
.pl-sub { font-size: 10.5px; color: var(--pl-ink-3); white-space: nowrap; }
.pl-warn-t { color: #B26B00; font-weight: 600; }

.pl-usage { min-width: 80px; }
.pl-usage-bar { height: 6px; border-radius: 999px; background: #EEF1F0; overflow: hidden; }
.pl-usage-bar i { display: block; height: 100%; border-radius: 999px; }
.pl-usage span { font-size: 10.5px; color: var(--pl-ink-3); }

.pl-pill, .pl-status {
    display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px;
    font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.pl-pill::before, .pl-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pl-pill-ok { background: var(--pl-green-50); color: #2F8A4A; }
.pl-pill-warn { background: #FFF4E2; color: #B26B00; }
.pl-pill-bad { background: #FBEAEA; color: var(--pl-red); }
.pl-pill-info { background: #E8F0FA; color: #2F6FB5; }
.pl-pill-off { background: #EEF1F0; color: var(--pl-ink-2); }
/* El color llega desde la base de datos (StatusColor) */
.pl-status { --c: #7D8787; color: var(--c); background: #F3F5F4; background: color-mix(in srgb, var(--c) 12%, #fff); }

.pl-tl { position: relative; padding-left: 18px; }
.pl-tl::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--pl-line); }
.pl-ev { position: relative; padding: 0 0 12px; }
.pl-ev:last-child { padding-bottom: 0; }
.pl-ev::before {
    content: ""; position: absolute; left: -17px; top: 4px; width: 10px; height: 10px; border-radius: 50%;
    background: var(--c, #52B86F); box-shadow: 0 0 0 3px #fff;
}
.pl-ev b { display: block; font-size: 12.5px; color: var(--pl-ink); }
.pl-ev span { display: block; font-size: 11px; color: var(--pl-ink-3); }

.pl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pl-chip, .pl-chip:visited {
    display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px;
    border: 1px solid var(--pl-line); background: #fff; color: var(--pl-ink-2) !important;
    font-size: 12.5px; font-weight: 600; text-decoration: none !important; cursor: pointer;
}
.pl-chip:hover { border-color: var(--pl-green); }
.pl-chip.on { background: var(--pl-dark); border-color: var(--pl-dark); color: #fff !important; }
.pl-chip em { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.pl-chip-wait { background: #FFF4E2; color: #B26B00; }
.pl-chip-ok { background: var(--pl-green-50); color: #2F8A4A; }
.pl-chip-no { background: #FBEAEA; color: var(--pl-red); }

.pl-detail-v { display: block; font-size: 13px; font-weight: 600; color: var(--pl-ink); }
.pl-body .dxbButton_Office365.pl-dx-danger { background: #fff !important; border: 1px solid #F0D4D2 !important; color: var(--pl-red) !important; }
.pl-body .dxbButton_Office365.pl-dx-danger:hover { background: #FBEFEE !important; }
.pl-body .dxbButton_Office365.pl-dx-ghost { background: #fff !important; border: 1px solid var(--pl-line) !important; color: var(--pl-ink) !important; box-shadow: none; }
.pl-body .dxbButton_Office365.pl-dx-ghost:hover { border-color: var(--pl-green) !important; }

@media (max-width: 1200px) {
    .pl-vk-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pl-vac-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
    .pl-vk-row, .pl-vk-row.pl-vk-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pl-emp-card { margin-left: 0; }
}
.pl-body .pl-dx-danger .dxb, .pl-body .pl-dx-danger span, .pl-body .pl-dx-ghost .dxb, .pl-body .pl-dx-ghost span { color: inherit !important; }
.pl-emp-pick { width: 680px; }

/* =========================================================
   Sin naranja: hover / selección / foco de DevExpress (Office365) en verde Piasa
   ========================================================= */
.pl-body [class*="ItemHover_Office365"], .pl-body [class*="ItemHover_Office365"] td,
.pl-body .dxeListBoxItemHover_Office365, .pl-body .dxeListBoxItemHover_Office365 td,
.pl-body .dxm-hovered, .pl-body .dxtc-tabHover, .pl-body .dxeCalendarDayHover_Office365,
.pl-body [class*="ButtonHover_Office365"]:not(.dxbButton_Office365) {
    background-color: #F1F8F3 !important; color: var(--pl-ink) !important; border-color: var(--pl-green-100) !important;
}
.pl-body [class*="ItemSelected_Office365"], .pl-body [class*="ItemSelected_Office365"] td,
.pl-body .dxeListBoxItemSelected_Office365, .pl-body .dxeListBoxItemSelected_Office365 td,
.pl-body .dxm-selected, .pl-body .dxeCalendarSelected_Office365, .pl-body .dxeCalendarToday_Office365,
.pl-body [class*="ButtonPressed_Office365"]:not(.dxbButton_Office365) {
    background-color: var(--pl-green-50) !important; color: var(--pl-green-600) !important; border-color: var(--pl-green-100) !important;
}
.pl-body .dxeCalendarSelected_Office365 { background-color: var(--pl-green) !important; color: #fff !important; }
.pl-body .dxgvFocusedRow_Office365, .pl-body .dxgvFocusedRow_Office365 td.dxgv,
.pl-body .dxgvSelectedRow_Office365, .pl-body .dxgvSelectedRow_Office365 td.dxgv,
.pl-body .dxgvDataRowHover_Office365 td.dxgv, .pl-body .dxcvFocusedCell_Office365 {
    background-color: var(--pl-green-50) !important; color: var(--pl-ink) !important;
}
.pl-body [class*="Focused_Office365"].dxeTextBox_Office365,
.pl-body [class*="Focused_Office365"].dxeButtonEdit_Office365,
.pl-body .dxeFocused_Office365 {
    border-color: var(--pl-green) !important;
}
.pl-body .dxeListBoxItemRow_Office365 td, .pl-body .dxeListBoxItem_Office365 { white-space: nowrap; }

/* =========================================================
   Checkbox y radio dibujados con CSS (sin el sprite naranja de Office365)
   ========================================================= */
.pl-body span[class*="dxWeb_edtCheckBox"] {
    background-image: none !important; background-color: #fff !important;
    width: 16px !important; height: 16px !important; box-sizing: border-box;
    border: 1.5px solid #B9C4C0 !important; border-radius: 4px !important;
    display: inline-block; position: relative; vertical-align: middle; transition: border-color .15s, background-color .15s;
}
.pl-body span[class*="dxWeb_edtCheckBox"]:hover { border-color: var(--pl-green) !important; }
.pl-body span[class*="dxWeb_edtCheckBoxChecked"] { background-color: var(--pl-green) !important; border-color: var(--pl-green) !important; }
.pl-body span[class*="dxWeb_edtCheckBoxChecked"]::after {
    content: ""; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px;
    border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.pl-body span[class*="dxWeb_edtCheckBoxGrayed"] { background-color: var(--pl-green) !important; border-color: var(--pl-green) !important; }
.pl-body span[class*="dxWeb_edtCheckBoxGrayed"]::after {
    content: ""; position: absolute; left: 3px; top: 6px; width: 7px; height: 2px; background: #fff;
}
.pl-body span[class*="dxWeb_edtCheckBox"][class*="Disabled"] { opacity: .5; }
.pl-body span[class*="dxWeb_edtRadioButton"] {
    background-image: none !important; background-color: #fff !important;
    width: 16px !important; height: 16px !important; box-sizing: border-box;
    border: 1.5px solid #B9C4C0 !important; border-radius: 50% !important;
    display: inline-block; position: relative; vertical-align: middle;
}
.pl-body span[class*="dxWeb_edtRadioButton"]:hover { border-color: var(--pl-green) !important; }
.pl-body span[class*="dxWeb_edtRadioButtonChecked"] { border-color: var(--pl-green) !important; }
.pl-body span[class*="dxWeb_edtRadioButtonChecked"]::after {
    content: ""; position: absolute; left: 3px; top: 3px; width: 7px; height: 7px; border-radius: 50%; background: var(--pl-green);
}
.pl-body .dxichCellSys, .pl-body .dxICheckBox_Office365 { background: transparent !important; border: 0 !important; }

/* ASPxTimeEdit / SpinEdit: flechas compactas */
.pl-body .dxeSpinIncButton_Office365, .pl-body .dxeSpinDecButton_Office365 {
    padding: 0 5px !important; height: 13px !important; line-height: 0; background: transparent !important; border: 0 !important;
}
.pl-body .dxeSpinIncButton_Office365 img, .pl-body .dxeSpinDecButton_Office365 img { transform: scale(.75); }
.pl-body .dxeSpinIncButton_Office365:hover, .pl-body .dxeSpinDecButton_Office365:hover { background: var(--pl-green-50) !important; }
.pl-body table[id*="TimeEdit"].dxeButtonEdit_Office365 { width: 110px !important; }

/* =========================================================
   Indicador de carga (opción C: logo + barra)
   ========================================================= */
.pl-loading { position: fixed; inset: 0; z-index: 30000; display: none; background: rgba(255,255,255,.6); backdrop-filter: blur(2px); }
.pl-loading.on { display: grid; place-items: center; animation: plFadeIn .15s ease; }
.pl-loading-bar { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--pl-green-50); overflow: hidden; }
.pl-loading-bar i { position: absolute; top: 0; bottom: 0; width: 40%; background: var(--pl-green); border-radius: 3px; animation: plBar 1.1s ease-in-out infinite; }
.pl-loading-box { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pl-loading-box img { height: 34px; width: auto; }
.pl-loading-ring { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--pl-green-50); border-top-color: var(--pl-green); animation: plSpin .8s linear infinite; }
@keyframes plSpin { to { transform: rotate(360deg); } }
@keyframes plBar { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes plFadeIn { from { opacity: 0; } to { opacity: 1; } }
/* El panel de DevExpress queda oculto: ahora se usa #plLoading */
.pl-body .dxlpLoadingPanel_Office365, .pl-body .dxlpLoadingPanelWithContent_Office365,
.pl-body [id$="LoadingPanel"].dxlpLoadingPanel_Office365, .pl-body .dxlpLoadingDiv_Office365 { display: none !important; }

/* Encabezado de páginas externas (Autorizar vacaciones): que el título no se encime con la tarjeta */
.pl-body .nav-section { display: flow-root; }
.pl-body #header.pl-header { min-height: var(--pl-hdr-h); }
.pl-body #header.pl-header .pl-logo { display: block; max-height: 34px; width: auto; }

/* Inicio: tarjeta "Vacaciones del equipo" (RH y gerentes) en lugar de Accesos rápidos */
.pl-vt .pl-card-hd b i { color: var(--pl-green); margin-right: 4px; }
.pl-vt-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 10px; }
.pl-vt-stats > div { border-radius: 10px; padding: 9px 12px; }
.pl-vt-stats b { display: block; font-size: 20px; font-weight: 700; line-height: 1.1; }
.pl-vt-stats span { font-size: 11.5px; font-weight: 600; }
.pl-vt-wait { background: #FFF4E2; color: #B26B00; }
.pl-vt-ok { background: var(--pl-green-50); color: #2F8A4A; }
.pl-vt-out { background: #EEF1F0; color: var(--pl-dark); }
.pl-vt-av { width: 30px; height: 30px; border-radius: 50%; background: #EEF1F0; color: var(--pl-dark); display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.pl-vt-go { color: var(--pl-green-600) !important; font-weight: 600; font-size: 12.5px; }
.pl-vt .pl-pill { white-space: nowrap; }
.pl-vt-ft { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--pl-line); padding-top: 10px; margin-top: 4px; }
.pl-vt-ft span { font-size: 12px; color: var(--pl-ink-3); }
.pl-vt .pl-empty { padding: 14px 0; }
@media (min-width: 993px) { .pl-home-grid:has(.pl-vt) { grid-template-columns: 1fr 1.3fr; } }

/* =========================================================
   Mi equipo > Calendario (empleado x día del mes)
   ========================================================= */
.pl-cal-hd { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.pl-cal-title { font-size: 14px; color: var(--pl-ink); min-width: 130px; text-align: center; }
.pl-cal-legend { margin-left: auto; display: flex; align-items: center; gap: 6px 12px; flex-wrap: wrap; font-size: 11.5px; color: var(--pl-ink-2); }
.pl-cal-dot { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 4px; vertical-align: -2px; border: 1px solid var(--pl-line); }
.pl-cal-dot.v { background: var(--pl-green-50); border-color: var(--pl-green-100); }
.pl-cal-dot.p { background: #FFF4E2; border-color: #F6E3C2; }
.pl-cal-dot.hol { background: #E8F0FA; border-color: #D6E5F5; }
.pl-cal-dot.we { background: #EEF1F0; }
.pl-cal { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 11.5px; border: 1px solid var(--pl-line); border-radius: 10px; overflow: hidden; }
.pl-cal th { background: #F7F9F8; color: var(--pl-ink-2); font-weight: 700; font-size: 10.5px; text-align: center; padding: 5px 2px; min-width: 30px; border-bottom: 1px solid var(--pl-line); line-height: 1.2; }
.pl-cal td { text-align: center; padding: 6px 2px; border-bottom: 1px solid var(--pl-line); border-left: 1px solid #F1F3F2; font-weight: 700; font-size: 10.5px; height: 36px; }
.pl-cal tr:last-child td { border-bottom: 0; }
.pl-cal .pl-cal-emp { text-align: left; padding: 5px 10px; min-width: 210px; position: sticky; left: 0; background: #fff; border-left: 0; font-weight: 400; }
.pl-cal th.pl-cal-emp { background: #F7F9F8; }
.pl-cal .pl-cal-emp b { display: block; font-size: 12px; color: var(--pl-ink); white-space: nowrap; }
.pl-cal .pl-cal-emp span { font-size: 10.5px; color: var(--pl-ink-3); }
.pl-cal .we { background: #F3F5F4; }
.pl-cal .hol { background: #EEF5FC; }
.pl-cal td.v { background: var(--pl-green-50); color: #2F8A4A; }
.pl-cal td.p { background: #FFF4E2; color: #B26B00; }
.pl-cal th.today { background: var(--pl-green); color: #fff; }
.pl-cal td.today { box-shadow: inset 2px 0 0 var(--pl-green), inset -2px 0 0 var(--pl-green); }
.pl-cal-empty { padding: 24px !important; color: var(--pl-ink-3); font-weight: 400 !important; }
/* Renglón "Personas fuera": 1 persona en gris verde, 2 o más en rojo (posible empalme) */
.pl-cal tfoot td { border-top: 2px solid var(--pl-line); border-bottom: 0; font-size: 11px; }
.pl-cal tfoot td.one { color: #2F8A4A; }
.pl-cal tfoot td.over { background: #FBEAEA; color: var(--pl-red); }
/* Leyenda del calendario: muestras con el mismo estilo de las celdas */
.pl-cal-legend { gap: 6px 14px; font-size: 12px; font-weight: 500; color: var(--pl-ink-2); }
.pl-cal-key { display: inline-grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px; margin-right: 5px; border-radius: 6px; font-size: 10.5px; font-weight: 700; border: 1px solid var(--pl-line); vertical-align: middle; }
.pl-cal-key.v { background: var(--pl-green-50); color: #2F8A4A; border-color: var(--pl-green-100); }
.pl-cal-key.p { background: #FFF4E2; color: #B26B00; border-color: #F6E3C2; }
.pl-cal-key.over { background: #FBEAEA; color: var(--pl-red); border-color: #F0D4D2; }
.pl-cal-key.hol { background: #EEF5FC; border-color: #C9DCF2; }
.pl-cal-key.we { background: #E9EDEB; border-color: #D5DCD9; }
/* Calendario: semáforo de colores (sin texto en las celdas) y leyenda abajo */
.pl-cal td.v { background: #CFE2F7; color: transparent; }
.pl-cal td.p { background: #FFEFC4; color: transparent; }
.pl-cal .we { background: #F3F4F4; }
.pl-cal .hol { background: #EDE7F6; }
.pl-cal-hd .pl-cal-legend { display: none; }
.pl-cal-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin: 10px 0 0; font-size: 12px; font-weight: 400; color: var(--pl-ink-2); }
.pl-cal-legend > span { display: inline-flex; align-items: center; }
.pl-cal-legend .pl-cal-key { display: inline-block; width: 16px; min-width: 16px; height: 12px; padding: 0; margin-right: 6px; border-radius: 2px; border: 1px solid transparent; }
.pl-cal-legend .pl-cal-key.v { background: #CFE2F7; }
.pl-cal-legend .pl-cal-key.p { background: #FFEFC4; }
.pl-cal-legend .pl-cal-key.hol { background: #EDE7F6; }
.pl-cal-legend .pl-cal-key.we { background: #F3F4F4; border-color: #DADFDD; }
.pl-cal-legend .pl-cal-key.over { background: #FBEAEA; border-color: #F0D4D2; }
.pl-cal-note { margin-top: 8px; font-size: 12px; color: var(--pl-ink-2); }
