.mhr-login-wrap{min-height:60vh;display:flex;align-items:center;justify-content:center;padding:40px 16px;background:linear-gradient(135deg,#eef2ff,#f8fafc)}
.mhr-login-card{background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,.08);padding:32px;max-width:420px;width:100%}
.mhr-login-card h2{margin:0 0 4px 0;color:#0f172a}
.mhr-subtle{color:#64748b;margin:0 0 18px 0}
.mhr-form label{display:block;margin-bottom:12px;color:#334155;font-size:14px}
.mhr-form input[type=text],.mhr-form input[type=email],.mhr-form input[type=password],.mhr-form input[type=date],.mhr-form select{width:100%;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;margin-top:4px;font-size:14px}
.mhr-check{display:flex;align-items:center;gap:6px}
.mhr-btn{display:inline-block;background:#2563eb;color:#fff;border:0;border-radius:8px;padding:10px 16px;cursor:pointer;text-decoration:none;font-weight:600}
.mhr-btn:hover{background:#1d4ed8}
.mhr-btn-block{display:block;width:100%;margin-top:10px}
.mhr-btn-secondary{display:inline-block;background:#e2e8f0;color:#0f172a;border:0;border-radius:8px;padding:10px 16px;cursor:pointer;text-decoration:none;font-weight:600}
.mhr-btn-danger{display:inline-block;background:#dc2626;color:#fff;border:0;border-radius:8px;padding:10px 16px;cursor:pointer;font-weight:600}
.mhr-btn[disabled],.mhr-btn-secondary[disabled],.mhr-btn-danger[disabled]{opacity:.45;cursor:not-allowed}
.mhr-alert{padding:10px 12px;border-radius:8px;margin:0 0 12px}
.mhr-alert-error{background:#fee2e2;color:#991b1b}
.mhr-alert-ok{background:#dcfce7;color:#166534}
.mhr-footer-links{text-align:center;margin-top:14px}
.mhr-portal{max-width:1100px;margin:20px auto;padding:0 16px;color:#0f172a;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}
.mhr-topbar{display:flex;justify-content:space-between;align-items:center;background:#0f172a;color:#fff;padding:14px 20px;border-radius:14px}
.mhr-topbar a{color:#fff}
.mhr-chip{display:inline-block;background:rgba(255,255,255,.15);padding:4px 10px;border-radius:999px;font-size:12px;margin-left:6px}
.mhr-chip-working{background:#16a34a}
.mhr-chip-on_break{background:#ca8a04}
.mhr-chip-out{background:#64748b}
.mhr-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:16px 0}
.mhr-tab{padding:8px 14px;border-radius:999px;background:#e2e8f0;text-decoration:none;color:#0f172a;font-weight:600;font-size:14px}
.mhr-tab.active{background:#2563eb;color:#fff}
.mhr-card{background:#fff;border-radius:14px;padding:20px;box-shadow:0 6px 18px rgba(0,0,0,.05);margin-bottom:16px}
.mhr-clock-card{text-align:center}
.mhr-clock-time{font-size:42px;font-weight:700;margin:8px 0}
.mhr-clock-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.mhr-clock-msg{margin-top:10px;color:#334155;min-height:1.2em}
.mhr-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:10px 0}
.mhr-kpi{background:#f1f5f9;border-radius:10px;padding:12px}
.mhr-kpi span{display:block;font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.05em}
.mhr-kpi strong{font-size:20px}
.mhr-table{width:100%;border-collapse:collapse;margin-top:8px;font-size:14px}
.mhr-table th,.mhr-table td{padding:8px 10px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}
.mhr-table th{background:#f8fafc;color:#475569;text-transform:uppercase;font-size:11px;letter-spacing:.05em}
.mhr-empty{color:#94a3b8;text-align:center;padding:14px 0}
.mhr-pill{display:inline-block;background:#e0e7ff;color:#3730a3;padding:2px 8px;border-radius:999px;font-size:12px;margin:2px 4px 2px 0}
.mhr-pill-approved{background:#dcfce7;color:#166534}
.mhr-pill-rejected{background:#fee2e2;color:#991b1b}
.mhr-pill-pending{background:#fef3c7;color:#92400e}
.mhr-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;align-items:center}
.mhr-filter select,.mhr-filter input{padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px}
.mhr-form-inline{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.mhr-form-inline input,.mhr-form-inline select{padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px}
.mhr-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px}
.mhr-list{list-style:none;padding:0}
.mhr-list li{padding:10px 0;border-bottom:1px solid #e2e8f0}
@media (max-width:640px){.mhr-grid-2{grid-template-columns:1fr}.mhr-clock-time{font-size:32px}}

/* v2.1 estilo app + fichaje digital */
.mhr-app-shell{max-width:1180px;background:linear-gradient(180deg,#f8fbff 0%,#eef4ff 100%);border-radius:28px;padding:18px;box-shadow:0 24px 80px rgba(15,23,42,.12);min-height:70vh}
.mhr-app-shell .mhr-topbar{background:linear-gradient(135deg,#0f172a,#1e3a8a);border-radius:22px;padding:18px 22px;box-shadow:0 16px 35px rgba(30,58,138,.25)}
.mhr-app-shell .mhr-tabs{position:sticky;top:8px;z-index:5;background:rgba(248,251,255,.82);backdrop-filter:blur(12px);padding:10px;border-radius:22px;box-shadow:0 10px 28px rgba(15,23,42,.07)}
.mhr-app-shell .mhr-tab{border-radius:16px;background:#fff;border:1px solid rgba(148,163,184,.25);box-shadow:0 4px 12px rgba(15,23,42,.04)}
.mhr-app-shell .mhr-tab.active{background:#2563eb;color:#fff;box-shadow:0 10px 24px rgba(37,99,235,.28)}
.mhr-app-shell .mhr-content{display:grid;gap:16px}
.mhr-app-shell .mhr-card{border:1px solid rgba(148,163,184,.18);border-radius:24px;box-shadow:0 16px 40px rgba(15,23,42,.08)}
.mhr-app-shell .mhr-card h3{margin-top:0;font-size:22px;letter-spacing:-.02em}
.mhr-app-shell .mhr-clock-card{background:radial-gradient(circle at top,#ffffff 0,#f8fafc 60%,#eef4ff 100%)}
.mhr-clock-time{font-variant-numeric:tabular-nums;letter-spacing:-.04em}
.mhr-clock-actions .mhr-btn,.mhr-clock-actions .mhr-btn-secondary,.mhr-clock-actions .mhr-btn-danger{min-height:52px;border-radius:18px;padding:14px 18px;box-shadow:0 8px 20px rgba(15,23,42,.08)}
.mhr-pin-row{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px auto 14px;max-width:360px;background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:10px 12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.mhr-pin-row label{font-size:13px;font-weight:700;color:#475569;white-space:nowrap}
.mhr-pin-row input{border:0;outline:0;font-size:22px;text-align:center;width:110px;background:transparent;letter-spacing:.2em}
.mhr-report-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:14px 0 4px}
.mhr-validation-ok{display:inline-flex;align-items:center;background:#dcfce7;color:#166534;border-radius:999px;padding:9px 12px;font-weight:700;font-size:13px}
.mhr-separator{border:0;border-top:1px solid #e2e8f0;margin:20px 0}
.mhr-app-shell .mhr-kpi{background:linear-gradient(180deg,#fff,#f8fafc);border:1px solid #e2e8f0;border-radius:18px}
.mhr-app-shell .mhr-table{background:#fff;border-radius:18px;overflow:hidden;border:1px solid #e2e8f0;border-collapse:separate;border-spacing:0}
.mhr-app-shell .mhr-table th{background:#eff6ff;color:#1e3a8a}
@media (max-width:760px){
  .mhr-app-shell{margin:0;border-radius:0;padding:12px;min-height:100vh}
  .mhr-app-shell .mhr-topbar{align-items:flex-start;gap:10px;flex-direction:column}
  .mhr-app-shell .mhr-tabs{overflow:auto;flex-wrap:nowrap;justify-content:flex-start}
  .mhr-app-shell .mhr-tab{white-space:nowrap}
  .mhr-clock-actions{display:grid;grid-template-columns:1fr;gap:10px}
  .mhr-clock-actions .mhr-btn,.mhr-clock-actions .mhr-btn-secondary,.mhr-clock-actions .mhr-btn-danger{width:100%;font-size:16px}
  .mhr-pin-row{max-width:none}.mhr-filter>*{width:100%}.mhr-report-actions>*{width:100%;text-align:center;justify-content:center}
}

/* v2.1.1 - Rediseño real tipo app para el frontend del trabajador */
.mhr-app-v211,
.mhr-app-v211 *{box-sizing:border-box}
.mhr-app-v211{--mhr-bg:#eef3fb;--mhr-panel:#ffffff;--mhr-ink:#0b1220;--mhr-muted:#667085;--mhr-line:#dbe4f0;--mhr-primary:#2563eb;--mhr-primary-dark:#1d4ed8;--mhr-ok:#16a34a;--mhr-warn:#d97706;--mhr-danger:#dc2626;max-width:1180px!important;margin:18px auto!important;padding:18px!important;border-radius:34px!important;background:linear-gradient(160deg,#f7fbff 0%,#e9f1ff 48%,#f8fafc 100%)!important;box-shadow:0 28px 90px rgba(15,23,42,.16)!important;color:var(--mhr-ink)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;position:relative!important;overflow:hidden!important}
.mhr-app-v211:before{content:"";position:absolute;inset:-120px -180px auto auto;width:420px;height:420px;background:radial-gradient(circle,rgba(37,99,235,.22),rgba(37,99,235,0) 68%);pointer-events:none}.mhr-app-v211:after{content:"";position:absolute;left:-140px;bottom:-160px;width:360px;height:360px;background:radial-gradient(circle,rgba(22,163,74,.14),rgba(22,163,74,0) 70%);pointer-events:none}.mhr-app-v211>.mhr-topbar,.mhr-app-v211>.mhr-tabs,.mhr-app-v211>.mhr-content{position:relative;z-index:1}
.mhr-app-v211 .mhr-topbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;margin:0 0 16px!important;padding:18px!important;border-radius:28px!important;background:linear-gradient(135deg,#101828 0%,#172554 55%,#1d4ed8 100%)!important;color:#fff!important;box-shadow:0 18px 42px rgba(30,64,175,.28)!important;border:1px solid rgba(255,255,255,.16)!important}.mhr-app-v211 .mhr-user-block{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important}.mhr-app-v211 .mhr-avatar{display:grid!important;place-items:center!important;width:56px!important;height:56px!important;border-radius:20px!important;background:rgba(255,255,255,.18)!important;color:#fff!important;font-weight:900!important;font-size:24px!important;border:1px solid rgba(255,255,255,.22)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.2)!important}.mhr-app-v211 .mhr-user-meta{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;min-width:0!important}.mhr-app-v211 .mhr-user-meta strong{font-size:22px!important;line-height:1.05!important;letter-spacing:-.03em!important;color:#fff!important}.mhr-app-v211 .mhr-hello{font-size:12px!important;text-transform:uppercase!important;letter-spacing:.1em!important;color:rgba(255,255,255,.72)!important;font-weight:800!important}.mhr-app-v211 .mhr-status-block{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;justify-content:flex-end!important}.mhr-app-v211 .mhr-chip{display:inline-flex!important;align-items:center!important;gap:6px!important;width:auto!important;border-radius:999px!important;padding:7px 11px!important;font-size:12px!important;font-weight:800!important;line-height:1!important;background:rgba(255,255,255,.16)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important}.mhr-app-v211 .mhr-chip-working{background:rgba(22,163,74,.95)!important}.mhr-app-v211 .mhr-chip-on_break{background:rgba(217,119,6,.95)!important}.mhr-app-v211 .mhr-chip-out{background:rgba(100,116,139,.96)!important}.mhr-app-v211 .mhr-topbar .mhr-btn-secondary{background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:16px!important;padding:10px 14px!important;box-shadow:none!important}
.mhr-app-v211 .mhr-tabs{display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:8px!important;margin:0 0 16px!important;padding:10px!important;border-radius:26px!important;background:rgba(255,255,255,.72)!important;backdrop-filter:blur(18px)!important;border:1px solid rgba(148,163,184,.25)!important;box-shadow:0 12px 34px rgba(15,23,42,.08)!important;position:sticky!important;top:10px!important;z-index:50!important}.mhr-app-v211 .mhr-tab{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:54px!important;padding:10px!important;border-radius:20px!important;background:#fff!important;color:#344054!important;text-decoration:none!important;font-weight:900!important;font-size:13px!important;border:1px solid rgba(148,163,184,.28)!important;box-shadow:0 6px 18px rgba(15,23,42,.05)!important;transition:transform .15s ease,box-shadow .15s ease,background .15s ease!important}.mhr-app-v211 .mhr-tab:hover{transform:translateY(-1px)!important;box-shadow:0 10px 24px rgba(15,23,42,.09)!important}.mhr-app-v211 .mhr-tab.active{background:linear-gradient(135deg,var(--mhr-primary),var(--mhr-primary-dark))!important;color:#fff!important;border-color:transparent!important;box-shadow:0 16px 30px rgba(37,99,235,.30)!important}.mhr-app-v211 .mhr-tab-icon{font-size:18px!important;line-height:1!important}.mhr-app-v211 .mhr-tab-label{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.mhr-app-v211 .mhr-content{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}.mhr-app-v211 .mhr-card{margin:0 0 16px!important;padding:22px!important;border-radius:28px!important;background:rgba(255,255,255,.88)!important;border:1px solid rgba(148,163,184,.22)!important;box-shadow:0 18px 44px rgba(15,23,42,.09)!important;backdrop-filter:blur(12px)!important;color:var(--mhr-ink)!important}.mhr-app-v211 .mhr-card h3{display:flex!important;align-items:center!important;gap:8px!important;margin:0 0 16px!important;font-size:24px!important;line-height:1.1!important;letter-spacing:-.035em!important;color:#0b1220!important}.mhr-app-v211 .mhr-card h4{font-size:17px!important;color:#1f2937!important}.mhr-app-v211 .mhr-clock-card{text-align:left!important;background:linear-gradient(180deg,#fff 0%,#f8fbff 100%)!important;overflow:hidden!important;position:relative!important}.mhr-app-v211 .mhr-clock-card:before{content:"";position:absolute;right:-90px;top:-90px;width:240px;height:240px;border-radius:999px;background:rgba(37,99,235,.10);pointer-events:none}.mhr-app-v211 .mhr-clock-card h3:before{content:"⏱"}.mhr-app-v211 .mhr-clock-time{font-size:clamp(42px,7vw,76px)!important;line-height:1!important;margin:8px 0 18px!important;font-weight:950!important;letter-spacing:-.07em!important;font-variant-numeric:tabular-nums!important;color:#0f172a!important;text-align:center!important}.mhr-app-v211 .mhr-pin-row{display:grid!important;grid-template-columns:auto minmax(120px,180px)!important;justify-content:center!important;align-items:center!important;gap:12px!important;margin:0 auto 18px!important;max-width:430px!important;padding:12px 14px!important;border-radius:22px!important;background:#f8fafc!important;border:1px solid #dbe4f0!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important}.mhr-app-v211 .mhr-pin-row label{font-size:13px!important;font-weight:900!important;color:#475467!important;text-transform:uppercase!important;letter-spacing:.05em!important}.mhr-app-v211 .mhr-pin-row input{width:100%!important;height:44px!important;border:0!important;background:#fff!important;border-radius:16px!important;text-align:center!important;font-size:24px!important;letter-spacing:.22em!important;box-shadow:0 4px 14px rgba(15,23,42,.05)!important;outline:none!important;color:#0b1220!important}.mhr-app-v211 .mhr-clock-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:8px!important}.mhr-app-v211 .mhr-btn,.mhr-app-v211 .mhr-btn-secondary,.mhr-app-v211 .mhr-btn-danger{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:50px!important;border-radius:18px!important;padding:12px 18px!important;text-decoration:none!important;font-weight:950!important;border:0!important;cursor:pointer!important;box-shadow:0 10px 20px rgba(15,23,42,.10)!important;line-height:1.15!important}.mhr-app-v211 .mhr-btn{background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;color:#fff!important}.mhr-app-v211 .mhr-btn-secondary{background:#eef2ff!important;color:#1e3a8a!important}.mhr-app-v211 .mhr-btn-danger{background:linear-gradient(135deg,#ef4444,#dc2626)!important;color:#fff!important}.mhr-app-v211 .mhr-btn[disabled],.mhr-app-v211 .mhr-btn-secondary[disabled],.mhr-app-v211 .mhr-btn-danger[disabled]{opacity:.42!important;filter:grayscale(.15)!important;box-shadow:none!important}.mhr-app-v211 .mhr-clock-btn[data-type="in"]:before{content:"▶"}.mhr-app-v211 .mhr-clock-btn[data-type="break_start"]:before{content:"☕"}.mhr-app-v211 .mhr-clock-btn[data-type="break_end"]:before{content:"↻"}.mhr-app-v211 .mhr-clock-btn[data-type="out"]:before{content:"■"}.mhr-app-v211 .mhr-clock-msg{display:block!important;min-height:22px!important;margin:12px 0 0!important;color:#475467!important;font-weight:700!important;text-align:center!important}.mhr-app-v211 .mhr-alert{border-radius:18px!important;padding:12px 14px!important;font-weight:800!important}.mhr-app-v211 .mhr-alert-error{background:#fef2f2!important;color:#991b1b!important;border:1px solid #fecaca!important}
.mhr-app-v211 .mhr-kpis{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:12px!important;margin:12px 0 16px!important}.mhr-app-v211 .mhr-kpi{padding:16px!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;border:1px solid #e4eaf3!important;box-shadow:0 8px 18px rgba(15,23,42,.05)!important}.mhr-app-v211 .mhr-kpi span{display:block!important;margin-bottom:8px!important;font-size:11px!important;color:#667085!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.09em!important}.mhr-app-v211 .mhr-kpi strong{display:block!important;font-size:22px!important;line-height:1.15!important;color:#101828!important;letter-spacing:-.03em!important}.mhr-app-v211 .mhr-filter,.mhr-app-v211 .mhr-form-inline{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;padding:12px!important;margin:0 0 16px!important;background:#f8fafc!important;border:1px solid #e4eaf3!important;border-radius:22px!important}.mhr-app-v211 select,.mhr-app-v211 input[type="text"],.mhr-app-v211 input[type="email"],.mhr-app-v211 input[type="password"],.mhr-app-v211 input[type="date"],.mhr-app-v211 input[type="number"]{min-height:48px!important;border:1px solid #cfd8e6!important;border-radius:16px!important;background:#fff!important;color:#101828!important;padding:10px 12px!important;font-size:15px!important;box-shadow:0 2px 10px rgba(15,23,42,.04)!important;outline:none!important}.mhr-app-v211 select:focus,.mhr-app-v211 input:focus{border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.12)!important}.mhr-app-v211 .mhr-report-actions{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:center!important;margin:14px 0 8px!important}.mhr-app-v211 .mhr-validation-ok{display:inline-flex!important;align-items:center!important;gap:8px!important;background:#ecfdf3!important;color:#067647!important;border:1px solid #abefc6!important;border-radius:999px!important;padding:11px 14px!important;font-weight:950!important;font-size:13px!important}
.mhr-app-v211 .mhr-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;border-radius:22px!important;background:#fff!important;border:1px solid #e4eaf3!important;box-shadow:0 8px 20px rgba(15,23,42,.05)!important}.mhr-app-v211 .mhr-table th,.mhr-app-v211 .mhr-table td{padding:12px 14px!important;border-bottom:1px solid #edf2f7!important;text-align:left!important;vertical-align:top!important;color:#1f2937!important}.mhr-app-v211 .mhr-table th{background:#eff6ff!important;color:#1e3a8a!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.08em!important;font-weight:950!important}.mhr-app-v211 .mhr-table tr:last-child td{border-bottom:0!important}.mhr-app-v211 .mhr-empty{color:#98a2b3!important;text-align:center!important;font-weight:800!important;padding:18px!important}.mhr-app-v211 .mhr-pill{display:inline-flex!important;align-items:center!important;margin:3px!important;padding:6px 9px!important;border-radius:999px!important;background:#eef4ff!important;color:#1d4ed8!important;font-size:12px!important;font-weight:900!important}.mhr-app-v211 .mhr-pill-approved{background:#ecfdf3!important;color:#067647!important}.mhr-app-v211 .mhr-pill-rejected{background:#fef3f2!important;color:#b42318!important}.mhr-app-v211 .mhr-pill-pending{background:#fffaeb!important;color:#b54708!important}.mhr-app-v211 .mhr-grid-2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 14px!important}.mhr-app-v211 .mhr-grid-2 p{margin:0!important;padding:14px!important;background:#f8fafc!important;border:1px solid #edf2f7!important;border-radius:18px!important}.mhr-app-v211 .mhr-list{list-style:none!important;margin:0!important;padding:0!important}.mhr-app-v211 .mhr-list li{margin:0 0 10px!important;padding:16px!important;border:1px solid #e4eaf3!important;border-radius:20px!important;background:#fff!important}.mhr-app-v211 .mhr-separator{border:0!important;border-top:1px solid #e4eaf3!important;margin:22px 0!important}.mhr-app-v211 .mhr-subtle{color:#667085!important;font-weight:600!important}
@media (min-width:900px){.mhr-app-v211 .mhr-content[data-current-tab="fichaje"]{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)!important;align-items:start!important}.mhr-app-v211 .mhr-content[data-current-tab="fichaje"] .mhr-clock-card{min-height:430px!important;display:flex!important;flex-direction:column!important;justify-content:center!important}}

.mhr-app-v211 .mhr-holiday-list{display:grid!important;gap:12px!important;margin-top:14px!important}.mhr-app-v211 .mhr-holiday-item{display:flex!important;align-items:center!important;gap:14px!important;padding:14px!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;border:1px solid #e4eaf3!important;box-shadow:0 8px 18px rgba(15,23,42,.05)!important}.mhr-app-v211 .mhr-holiday-datebox{width:62px!important;min-width:62px!important;height:62px!important;border-radius:20px!important;background:linear-gradient(135deg,var(--mhr-primary),var(--mhr-primary-dark))!important;color:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;box-shadow:0 12px 24px rgba(37,99,235,.22)!important}.mhr-app-v211 .mhr-holiday-datebox strong{font-size:24px!important;line-height:1!important}.mhr-app-v211 .mhr-holiday-datebox span{text-transform:uppercase!important;font-size:11px!important;font-weight:900!important;margin-top:3px!important}.mhr-app-v211 .mhr-holiday-info{min-width:0!important;display:flex!important;flex-direction:column!important;gap:4px!important}.mhr-app-v211 .mhr-holiday-info strong{font-size:17px!important;color:#101828!important;line-height:1.2!important}.mhr-app-v211 .mhr-holiday-info span{font-size:13px!important;color:#667085!important;font-weight:700!important}.mhr-app-v211 .mhr-holiday-info em{align-self:flex-start!important;font-style:normal!important;font-size:12px!important;font-weight:900!important;color:#1d4ed8!important;background:#eef4ff!important;border-radius:999px!important;padding:5px 9px!important}.mhr-app-v211 .mhr-empty-card{border:1px dashed #cfd8e6!important;border-radius:20px!important;background:#f8fafc!important;margin-top:14px!important}

@media (max-width:780px){body:has(.mhr-app-v211){background:#eef3fb!important}.mhr-app-v211{width:100%!important;max-width:none!important;margin:0!important;padding:12px 12px 92px!important;border-radius:0!important;min-height:100svh!important;box-shadow:none!important}.mhr-app-v211 .mhr-topbar{border-radius:26px!important;padding:16px!important;align-items:flex-start!important}.mhr-app-v211 .mhr-user-meta strong{font-size:19px!important}.mhr-app-v211 .mhr-avatar{width:50px!important;height:50px!important;border-radius:18px!important}.mhr-app-v211 .mhr-status-block{margin-left:64px!important;justify-content:flex-start!important}.mhr-app-v211 .mhr-tabs{position:fixed!important;left:10px!important;right:10px!important;bottom:10px!important;top:auto!important;display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:4px!important;margin:0!important;padding:8px!important;border-radius:28px!important;z-index:9999!important;background:rgba(255,255,255,.92)!important;box-shadow:0 -12px 34px rgba(15,23,42,.16)!important}.mhr-app-v211 .mhr-tab{min-height:58px!important;padding:7px 4px!important;flex-direction:column!important;border-radius:20px!important;font-size:9px!important;gap:3px!important}.mhr-app-v211 .mhr-tab-icon{font-size:20px!important}.mhr-app-v211 .mhr-tab-label{max-width:100%!important}.mhr-app-v211 .mhr-card{padding:18px!important;border-radius:26px!important}.mhr-app-v211 .mhr-card h3{font-size:22px!important}.mhr-app-v211 .mhr-clock-time{text-align:left!important;font-size:54px!important}.mhr-app-v211 .mhr-clock-actions{grid-template-columns:1fr!important}.mhr-app-v211 .mhr-clock-actions .mhr-btn,.mhr-app-v211 .mhr-clock-actions .mhr-btn-secondary,.mhr-app-v211 .mhr-clock-actions .mhr-btn-danger{width:100%!important;min-height:58px!important;font-size:16px!important}.mhr-app-v211 .mhr-pin-row{grid-template-columns:1fr!important;text-align:left!important;max-width:none!important}.mhr-app-v211 .mhr-filter,.mhr-app-v211 .mhr-form-inline{display:grid!important;grid-template-columns:1fr!important}.mhr-app-v211 .mhr-filter>*,.mhr-app-v211 .mhr-form-inline>*{width:100%!important}.mhr-app-v211 .mhr-kpis{grid-template-columns:1fr 1fr!important}.mhr-app-v211 .mhr-grid-2{grid-template-columns:1fr!important}.mhr-app-v211 .mhr-report-actions>*{width:100%!important;justify-content:center!important;text-align:center!important}.mhr-app-v211 .mhr-table{display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:20px!important}.mhr-app-v211 .mhr-table th,.mhr-app-v211 .mhr-table td{white-space:nowrap!important}.mhr-app-v211 .mhr-table td:last-child{white-space:normal!important;min-width:190px!important}}
@media (max-width:430px){.mhr-app-v211 .mhr-topbar{gap:10px!important}.mhr-app-v211 .mhr-status-block{margin-left:0!important}.mhr-app-v211 .mhr-tabs{left:6px!important;right:6px!important;bottom:6px!important}.mhr-app-v211 .mhr-tab-label{font-size:9px!important}.mhr-app-v211 .mhr-kpis{grid-template-columns:1fr!important}.mhr-app-v211 .mhr-clock-time{font-size:46px!important}.mhr-app-v211 .mhr-card{padding:16px!important}}

/* v2.1.2 - Ajustes reales mobile app sin cambiar la barra inferior */
.mhr-app-v211,
.mhr-app-v211 *{box-sizing:border-box!important;max-width:100%}
.mhr-app-v211{overflow-x:hidden!important}
.mhr-app-v211 .mhr-content,
.mhr-app-v211 .mhr-card,
.mhr-app-v211 .mhr-kpis,
.mhr-app-v211 .mhr-filter,
.mhr-app-v211 .mhr-form-inline,
.mhr-app-v211 .mhr-report-actions{min-width:0!important;width:100%!important}
.mhr-app-v211 .mhr-card{overflow:hidden!important}
.mhr-app-v211 .mhr-kpi strong{overflow-wrap:anywhere!important;word-break:normal!important}
.mhr-app-v211 .mhr-btn,
.mhr-app-v211 .mhr-btn-secondary,
.mhr-app-v211 .mhr-btn-danger,
.mhr-app-v211 button{max-width:100%!important}


.mhr-app-v211 .mhr-holiday-list{display:grid!important;gap:12px!important;margin-top:14px!important}.mhr-app-v211 .mhr-holiday-item{display:flex!important;align-items:center!important;gap:14px!important;padding:14px!important;border-radius:22px!important;background:linear-gradient(180deg,#fff,#f8fafc)!important;border:1px solid #e4eaf3!important;box-shadow:0 8px 18px rgba(15,23,42,.05)!important}.mhr-app-v211 .mhr-holiday-datebox{width:62px!important;min-width:62px!important;height:62px!important;border-radius:20px!important;background:linear-gradient(135deg,var(--mhr-primary),var(--mhr-primary-dark))!important;color:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;box-shadow:0 12px 24px rgba(37,99,235,.22)!important}.mhr-app-v211 .mhr-holiday-datebox strong{font-size:24px!important;line-height:1!important}.mhr-app-v211 .mhr-holiday-datebox span{text-transform:uppercase!important;font-size:11px!important;font-weight:900!important;margin-top:3px!important}.mhr-app-v211 .mhr-holiday-info{min-width:0!important;display:flex!important;flex-direction:column!important;gap:4px!important}.mhr-app-v211 .mhr-holiday-info strong{font-size:17px!important;color:#101828!important;line-height:1.2!important}.mhr-app-v211 .mhr-holiday-info span{font-size:13px!important;color:#667085!important;font-weight:700!important}.mhr-app-v211 .mhr-holiday-info em{align-self:flex-start!important;font-style:normal!important;font-size:12px!important;font-weight:900!important;color:#1d4ed8!important;background:#eef4ff!important;border-radius:999px!important;padding:5px 9px!important}.mhr-app-v211 .mhr-empty-card{border:1px dashed #cfd8e6!important;border-radius:20px!important;background:#f8fafc!important;margin-top:14px!important}

@media (max-width:780px){
  html,body{overflow-x:hidden!important}
  .mhr-portal.mhr-app-v211{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;padding:10px 10px 118px!important;border-radius:0!important;overflow-x:hidden!important}
  .mhr-app-v211 .mhr-topbar{padding:14px!important;border-radius:24px!important;margin-bottom:12px!important}
  .mhr-app-v211 .mhr-user-block{width:100%!important}
  .mhr-app-v211 .mhr-user-meta strong{font-size:18px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:calc(100vw - 120px)!important}
  .mhr-app-v211 .mhr-status-block{width:100%!important;margin-left:0!important;display:flex!important;justify-content:space-between!important;gap:8px!important}
  .mhr-app-v211 .mhr-status-block .mhr-chip{flex:0 1 auto!important}
  .mhr-app-v211 .mhr-status-block .mhr-btn-secondary{flex:0 0 auto!important;min-height:38px!important;padding:9px 12px!important}
  .mhr-app-v211 .mhr-content{display:block!important;padding:0!important}
  .mhr-app-v211 .mhr-card{width:100%!important;margin:0 0 12px!important;padding:14px!important;border-radius:20px!important}
  .mhr-app-v211 .mhr-card h3{font-size:20px!important;margin-bottom:12px!important}
  .mhr-app-v211 .mhr-filter,
  .mhr-app-v211 .mhr-form-inline{padding:10px!important;border-radius:18px!important;gap:8px!important;margin-bottom:12px!important}
  .mhr-app-v211 select,
  .mhr-app-v211 input[type="text"],
  .mhr-app-v211 input[type="email"],
  .mhr-app-v211 input[type="password"],
  .mhr-app-v211 input[type="date"],
  .mhr-app-v211 input[type="number"]{width:100%!important;min-width:0!important;min-height:44px!important;border-radius:14px!important;font-size:14px!important}
  .mhr-app-v211 .mhr-filter button,
  .mhr-app-v211 .mhr-form-inline button{width:100%!important;min-height:46px!important;border-radius:14px!important}
  .mhr-app-v211 .mhr-kpis{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:10px 0 12px!important}
  .mhr-app-v211 .mhr-kpi{padding:12px!important;border-radius:18px!important;min-width:0!important}
  .mhr-app-v211 .mhr-kpi span{font-size:10px!important;margin-bottom:6px!important;line-height:1.2!important}
  .mhr-app-v211 .mhr-kpi strong{font-size:18px!important;line-height:1.18!important}
  .mhr-app-v211 .mhr-report-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;margin:10px 0 6px!important}
  .mhr-app-v211 .mhr-report-actions .mhr-btn,
  .mhr-app-v211 .mhr-report-actions .mhr-btn-secondary,
  .mhr-app-v211 .mhr-report-actions .mhr-validation-ok{width:100%!important;display:flex!important;justify-content:center!important;text-align:center!important;min-height:46px!important;border-radius:14px!important}
  .mhr-app-v211 .mhr-clock-time{font-size:44px!important;line-height:1!important;margin:8px 0 16px!important}
  .mhr-app-v211 .mhr-clock-actions{gap:8px!important}
  .mhr-app-v211 .mhr-clock-actions .mhr-btn,
  .mhr-app-v211 .mhr-clock-actions .mhr-btn-secondary,
  .mhr-app-v211 .mhr-clock-actions .mhr-btn-danger{min-height:52px!important}
  .mhr-app-v211 .mhr-tabs{left:8px!important;right:8px!important;bottom:8px!important;width:auto!important;max-width:calc(100vw - 16px)!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:4px!important;padding:7px!important;border-radius:26px!important;overflow:visible!important}
  .mhr-app-v211 .mhr-tab{min-width:0!important;min-height:56px!important;padding:6px 2px!important;border-radius:18px!important}
  .mhr-app-v211 .mhr-tab-icon{font-size:19px!important;line-height:1!important}
  .mhr-app-v211 .mhr-tab-label{font-size:7.6px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;width:100%!important;text-align:center!important}
  .mhr-app-v211 .mhr-table{width:100%!important;max-width:100%!important;display:block!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  .mhr-app-v211 .mhr-table th,
  .mhr-app-v211 .mhr-table td{padding:10px!important}
}

@media (max-width:430px){
  .mhr-portal.mhr-app-v211{padding-left:8px!important;padding-right:8px!important;padding-bottom:116px!important}
  .mhr-app-v211 .mhr-card{padding:12px!important;border-radius:18px!important}
  .mhr-app-v211 .mhr-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .mhr-app-v211 .mhr-kpi{padding:10px!important}
  .mhr-app-v211 .mhr-kpi strong{font-size:17px!important}
  .mhr-app-v211 .mhr-tabs{left:6px!important;right:6px!important;bottom:6px!important;max-width:calc(100vw - 12px)!important;gap:4px!important;padding:6px!important}
  .mhr-app-v211 .mhr-tab{min-height:54px!important;border-radius:16px!important}
  .mhr-app-v211 .mhr-tab-icon{font-size:18px!important}
  .mhr-app-v211 .mhr-tab-label{font-size:8px!important}
}


/* v2.1.4 - Login móvil estilo app y textos frontend orientados al trabajador */
.mhr-login-wrap,
.mhr-login-wrap *{box-sizing:border-box!important}
.mhr-login-wrap{min-height:100dvh!important;width:100%!important;margin:0!important;padding:22px 14px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:radial-gradient(circle at 18% 8%,rgba(37,99,235,.16),transparent 34%),linear-gradient(180deg,#eef4ff 0%,#f8fafc 52%,#ffffff 100%)!important;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif!important;overflow-x:hidden!important}
.mhr-login-card{width:min(100%,430px)!important;margin:0 auto!important;padding:28px 22px 24px!important;border-radius:32px!important;background:rgba(255,255,255,.96)!important;border:1px solid rgba(219,228,240,.9)!important;box-shadow:0 22px 60px rgba(15,23,42,.12)!important;color:#101828!important;overflow:hidden!important;position:relative!important}
.mhr-login-card:before{content:""!important;position:absolute!important;inset:0 0 auto 0!important;height:7px!important;background:linear-gradient(90deg,#2563eb,#1d4ed8,#60a5fa)!important}
.mhr-login-brand{display:flex!important;align-items:center!important;gap:14px!important;margin:6px 0 16px!important;min-width:0!important}
.mhr-login-logo{width:58px!important;height:58px!important;min-width:58px!important;border-radius:22px!important;display:grid!important;place-items:center!important;background:linear-gradient(135deg,#101828,#1d4ed8)!important;color:#fff!important;font-size:28px!important;font-weight:900!important;box-shadow:0 14px 28px rgba(37,99,235,.24)!important;letter-spacing:-.06em!important}
.mhr-login-card h2{margin:0!important;color:#0b1220!important;font-size:34px!important;line-height:1!important;font-weight:900!important;letter-spacing:-.055em!important;overflow-wrap:anywhere!important}
.mhr-login-card .mhr-subtle{margin:6px 0 0!important;color:#667085!important;font-size:16px!important;line-height:1.25!important;font-weight:600!important}
.mhr-login-intro{margin:0 0 22px!important;padding:12px 14px!important;border-radius:18px!important;background:#eef4ff!important;color:#344054!important;font-size:14px!important;line-height:1.35!important;border:1px solid #dbeafe!important}
.mhr-login-card .mhr-form{display:grid!important;gap:14px!important;margin:0!important}
.mhr-login-card .mhr-form label{margin:0!important;color:#344054!important;font-size:14px!important;font-weight:800!important;letter-spacing:-.01em!important}
.mhr-login-card .mhr-form input[type=text],
.mhr-login-card .mhr-form input[type=email],
.mhr-login-card .mhr-form input[type=password]{width:100%!important;max-width:100%!important;min-height:54px!important;margin:7px 0 0!important;padding:13px 15px!important;border-radius:18px!important;border:1px solid #cfd8e6!important;background:#fff!important;color:#101828!important;font-size:16px!important;outline:0!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)!important;-webkit-appearance:none!important;appearance:none!important}
.mhr-login-card .mhr-form input:focus{border-color:#2563eb!important;box-shadow:0 0 0 4px rgba(37,99,235,.12)!important}
.mhr-login-card .mhr-check{display:flex!important;align-items:center!important;gap:10px!important;font-weight:700!important;color:#475467!important;min-height:34px!important}
.mhr-login-card .mhr-check input{width:22px!important;height:22px!important;accent-color:#2563eb!important;margin:0!important;flex:0 0 auto!important}
.mhr-login-card .mhr-btn.mhr-btn-block{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:56px!important;margin:4px 0 0!important;border:0!important;border-radius:20px!important;background:linear-gradient(135deg,#2563eb,#1d4ed8)!important;color:#fff!important;font-size:17px!important;font-weight:900!important;text-decoration:none!important;box-shadow:0 14px 28px rgba(37,99,235,.25)!important}
.mhr-login-card .mhr-btn.mhr-btn-block:hover{background:linear-gradient(135deg,#1d4ed8,#1e40af)!important;color:#fff!important}
.mhr-login-card .mhr-footer-links{margin:18px 0 0!important;text-align:center!important}
.mhr-login-card .mhr-footer-links a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:0 12px!important;color:#2563eb!important;font-weight:800!important;text-decoration:none!important;border-radius:999px!important;background:#eff6ff!important}
.mhr-login-card .mhr-alert{border-radius:16px!important;padding:12px 14px!important;font-weight:700!important}
@media (max-width:480px){
  .mhr-login-wrap{align-items:flex-start!important;padding:22px 12px 28px!important}
  .mhr-login-card{margin-top:18px!important;padding:26px 18px 22px!important;border-radius:28px!important}
  .mhr-login-brand{align-items:flex-start!important;gap:12px!important}
  .mhr-login-logo{width:50px!important;height:50px!important;min-width:50px!important;border-radius:18px!important;font-size:24px!important}
  .mhr-login-card h2{font-size:30px!important}
  .mhr-login-card .mhr-subtle{font-size:15px!important}
  .mhr-login-intro{font-size:13px!important}
}

/* v2.1.6 - Modo Web App: páginas limpias sin header/footer del tema */
body.mhr-portal-app-page{margin:0!important;background:#eef4ff!important;overflow-x:hidden!important}
body.mhr-portal-app-page #wpadminbar{display:none!important}
body.mhr-portal-app-page header,
body.mhr-portal-app-page footer,
body.mhr-portal-app-page .site-header,
body.mhr-portal-app-page .site-footer,
body.mhr-portal-app-page #masthead,
body.mhr-portal-app-page #colophon,
body.mhr-portal-app-page .elementor-location-header,
body.mhr-portal-app-page .elementor-location-footer,
body.mhr-portal-app-page .page-header,
body.mhr-portal-app-page .entry-header,
body.mhr-portal-app-page .post-thumbnail,
body.mhr-portal-app-page .woocommerce-breadcrumb,
body.mhr-portal-app-page nav:not(.mhr-tabs):not(.mhr-bottom-nav){display:none!important}
body.mhr-portal-app-page .site,
body.mhr-portal-app-page #page,
body.mhr-portal-app-page #content,
body.mhr-portal-app-page .site-content,
body.mhr-portal-app-page .content-area,
body.mhr-portal-app-page main,
body.mhr-portal-app-page article,
body.mhr-portal-app-page .entry-content,
body.mhr-portal-app-page .elementor,
body.mhr-portal-app-page .elementor-section,
body.mhr-portal-app-page .elementor-container,
body.mhr-portal-app-page .elementor-column,
body.mhr-portal-app-page .elementor-widget-wrap{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-height:0!important;background:transparent!important;box-shadow:none!important;border:0!important}
body.mhr-portal-app-page .entry-content>*{max-width:none!important}
body.mhr-portal-app-page .mhr-login-wrap{min-height:100dvh!important}
body.mhr-portal-app-page .mhr-app-v211{min-height:100dvh!important;margin:0 auto!important;border-radius:0!important}
@media (display-mode:standalone){
  body.mhr-portal-app-page{overscroll-behavior:none!important;touch-action:manipulation!important}
}

/* Recuperación de contraseña con la misma estética del login */
.mhr-login-card .mhr-recovery-title{margin:0!important;color:#0b1220!important;font-size:30px!important;line-height:1.05!important;font-weight:900!important;letter-spacing:-.055em!important}
.mhr-login-card .mhr-recovery-subtitle{margin:7px 0 18px!important;color:#667085!important;font-size:15px!important;line-height:1.35!important;font-weight:600!important}
@media (max-width:480px){.mhr-login-card .mhr-recovery-title{font-size:27px!important}}

/* v2.1.11 - Navegación app: barra superior fija + barra inferior de 4 acciones */
.mhr-app-v2120{padding-top:84px!important;padding-bottom:92px!important;overflow:visible!important;min-height:100dvh!important}
.mhr-app-v2120>.mhr-fixed-topbar{position:fixed!important;top:10px!important;left:50%!important;transform:translateX(-50%)!important;width:min(1180px,calc(100vw - 24px))!important;margin:0!important;padding:8px!important;border-radius:24px!important;z-index:10000!important;background:rgba(15,23,42,.92)!important;backdrop-filter:blur(18px)!important;box-shadow:0 18px 45px rgba(15,23,42,.24)!important;border:1px solid rgba(255,255,255,.14)!important}
.mhr-app-v2120 .mhr-top-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;width:100%!important}
.mhr-app-v2120 .mhr-top-action{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-height:50px!important;padding:8px 10px!important;border-radius:18px!important;color:#e5edff!important;text-decoration:none!important;font-weight:900!important;font-size:13px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.10)!important;line-height:1.1!important;min-width:0!important}
.mhr-app-v2120 .mhr-top-action:hover,.mhr-app-v2120 .mhr-top-action.active{background:#2563eb!important;color:#fff!important;border-color:transparent!important;box-shadow:0 10px 24px rgba(37,99,235,.28)!important}
.mhr-app-v2120 .mhr-close-app{background:rgba(220,38,38,.16)!important;color:#fff!important}
.mhr-app-v2120 .mhr-close-app:hover{background:#dc2626!important}
.mhr-app-v2120>.mhr-worker-identity{position:relative!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 16px!important;padding:16px 18px!important;border-radius:28px!important;background:linear-gradient(135deg,#101828 0%,#172554 55%,#1d4ed8 100%)!important;color:#fff!important;box-shadow:0 18px 42px rgba(30,64,175,.22)!important;border:1px solid rgba(255,255,255,.16)!important}
.mhr-app-v2120>.mhr-worker-identity .mhr-user-block{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important;color:#fff!important;text-decoration:none!important}
.mhr-app-v2120>.mhr-worker-identity .mhr-user-block:hover strong{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px!important}
.mhr-app-v2120>.mhr-worker-identity .mhr-chip{flex:0 0 auto!important}
.mhr-app-v2120>.mhr-bottom-tabs{position:fixed!important;left:50%!important;right:auto!important;bottom:10px!important;top:auto!important;transform:translateX(-50%)!important;width:min(720px,calc(100vw - 20px))!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;margin:0!important;padding:8px!important;border-radius:28px!important;z-index:10000!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(18px)!important;border:1px solid rgba(148,163,184,.26)!important;box-shadow:0 -14px 38px rgba(15,23,42,.18)!important;overflow:visible!important}
.mhr-app-v2120>.mhr-bottom-tabs .mhr-tab{min-height:58px!important;padding:7px 4px!important;flex-direction:column!important;border-radius:20px!important;font-size:10px!important;gap:3px!important;min-width:0!important}
.mhr-app-v2120>.mhr-bottom-tabs .mhr-tab-icon{font-size:21px!important;line-height:1!important}
.mhr-app-v2120>.mhr-bottom-tabs .mhr-tab-label{font-size:10px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;width:100%!important;text-align:center!important}
.mhr-app-v2120>.mhr-content{position:relative!important;z-index:1!important;padding:0!important;margin:0!important;scroll-margin-top:90px!important}

@media (max-width:780px){
  .mhr-portal.mhr-app-v2120{padding:82px 10px 94px!important;min-height:100dvh!important}
  .mhr-app-v2120>.mhr-fixed-topbar{top:6px!important;width:calc(100vw - 12px)!important;border-radius:22px!important;padding:6px!important}
  .mhr-app-v2120 .mhr-top-actions{gap:5px!important}
  .mhr-app-v2120 .mhr-top-action{min-height:52px!important;flex-direction:column!important;gap:2px!important;padding:6px 2px!important;border-radius:17px!important;font-size:9px!important}
  .mhr-app-v2120 .mhr-top-action .mhr-tab-icon{font-size:18px!important;line-height:1!important}
  .mhr-app-v2120 .mhr-top-action .mhr-tab-label{font-size:8.5px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important;text-align:center!important}
  .mhr-app-v2120>.mhr-worker-identity{margin:0 0 12px!important;padding:14px!important;border-radius:24px!important;gap:10px!important}
  .mhr-app-v2120>.mhr-worker-identity .mhr-user-meta strong{font-size:18px!important}
  .mhr-app-v2120>.mhr-worker-identity .mhr-avatar{width:48px!important;height:48px!important;border-radius:18px!important;font-size:21px!important}
  .mhr-app-v2120>.mhr-worker-identity>.mhr-chip{max-width:42%!important;justify-content:center!important;text-align:center!important;white-space:normal!important;line-height:1.15!important}
  .mhr-app-v2120>.mhr-content{padding-top:0!important}
  .mhr-app-v2120>.mhr-bottom-tabs{bottom:6px!important;width:calc(100vw - 12px)!important;padding:6px!important;gap:5px!important;border-radius:25px!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .mhr-app-v2120>.mhr-bottom-tabs .mhr-tab{min-height:56px!important;border-radius:17px!important;padding:6px 2px!important}
  .mhr-app-v2120>.mhr-bottom-tabs .mhr-tab-icon{font-size:20px!important}
  .mhr-app-v2120>.mhr-bottom-tabs .mhr-tab-label{font-size:9px!important}
}
@media (max-width:430px){
  .mhr-portal.mhr-app-v2120{padding-top:80px!important;padding-left:8px!important;padding-right:8px!important;padding-bottom:92px!important}
  .mhr-app-v2120>.mhr-worker-identity{padding:12px!important;border-radius:22px!important}
  .mhr-app-v2120>.mhr-worker-identity .mhr-user-meta .mhr-chip{display:none!important}
  .mhr-app-v2120>.mhr-worker-identity>.mhr-chip{font-size:10px!important;padding:7px 9px!important;max-width:44%!important}
  .mhr-app-v2120>.mhr-bottom-tabs .mhr-tab-label,
  .mhr-app-v2120 .mhr-top-action .mhr-tab-label{font-size:8px!important}
}


/* v2.1.12 - Corrección barra superior del Portal del Trabajador
   Se usa una clase propia y position:sticky para evitar conflictos con cabeceras del tema,
   Elementor o navegadores móviles que ocultaban el <header> fijo. */
.mhr-portal.mhr-app-v2120{
  padding-top:10px!important;
  padding-bottom:92px!important;
}
.mhr-app-v2120>.mhr-app-top-nav{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:sticky!important;
  top:calc(env(safe-area-inset-top,0px) + 6px)!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto 12px!important;
  padding:8px!important;
  border-radius:24px!important;
  z-index:2147483000!important;
  background:rgba(15,23,42,.94)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  backdrop-filter:blur(18px)!important;
  box-shadow:0 18px 45px rgba(15,23,42,.24)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-sizing:border-box!important;
}
.mhr-app-v2120>.mhr-app-top-nav .mhr-top-actions{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  margin:0!important;
}
.mhr-app-v2120>.mhr-app-top-nav .mhr-top-action{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:50px!important;
  padding:8px 10px!important;
  border-radius:18px!important;
  color:#e5edff!important;
  text-decoration:none!important;
  font-weight:900!important;
  font-size:13px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  line-height:1.1!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.mhr-app-v2120>.mhr-app-top-nav .mhr-top-action:hover,
.mhr-app-v2120>.mhr-app-top-nav .mhr-top-action.active{
  background:#2563eb!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 10px 24px rgba(37,99,235,.28)!important;
}
.mhr-app-v2120>.mhr-app-top-nav .mhr-close-app{
  background:rgba(220,38,38,.16)!important;
  color:#fff!important;
}
.mhr-app-v2120>.mhr-app-top-nav .mhr-close-app:hover{background:#dc2626!important}
.mhr-app-v2120>.mhr-content{scroll-margin-top:92px!important}
@media (max-width:780px){
  .mhr-portal.mhr-app-v2120{padding:6px 10px 94px!important}
  .mhr-app-v2120>.mhr-app-top-nav{
    top:calc(env(safe-area-inset-top,0px) + 4px)!important;
    width:100%!important;
    max-width:none!important;
    margin:0 0 10px!important;
    border-radius:22px!important;
    padding:6px!important;
  }
  .mhr-app-v2120>.mhr-app-top-nav .mhr-top-actions{gap:5px!important}
  .mhr-app-v2120>.mhr-app-top-nav .mhr-top-action{
    min-height:52px!important;
    flex-direction:column!important;
    gap:2px!important;
    padding:6px 2px!important;
    border-radius:17px!important;
    font-size:9px!important;
  }
  .mhr-app-v2120>.mhr-app-top-nav .mhr-tab-icon{font-size:18px!important;line-height:1!important}
  .mhr-app-v2120>.mhr-app-top-nav .mhr-tab-label{
    font-size:8.5px!important;
    line-height:1.05!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    max-width:100%!important;
    text-align:center!important;
  }
}
@media (max-width:430px){
  .mhr-portal.mhr-app-v2120{padding-top:6px!important;padding-left:8px!important;padding-right:8px!important;padding-bottom:92px!important}
  .mhr-app-v2120>.mhr-app-top-nav .mhr-tab-label{font-size:8px!important}
}

/* v2.1.13 - Navegación definitiva del Portal del Trabajador
   Barra superior real con 5 accesos + barra inferior de 4 accesos.
   Se usan clases nuevas para evitar conflictos acumulados de versiones anteriores. */
.mhr-portal.mhr-app-v2130,
.mhr-portal.mhr-app-v2130 *{box-sizing:border-box!important}
.mhr-portal.mhr-app-v2130{
  --mhr-topbar-h:68px;
  --mhr-bottombar-h:76px;
  width:min(1180px,100%)!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:calc(var(--mhr-topbar-h) + env(safe-area-inset-top,0px) + 14px) 18px calc(var(--mhr-bottombar-h) + env(safe-area-inset-bottom,0px) + 22px)!important;
  min-height:100dvh!important;
  overflow:visible!important;
}
.mhr-app-v2130>.mhr-real-topbar{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  position:fixed!important;
  top:calc(env(safe-area-inset-top,0px) + 8px)!important;
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:min(1180px,calc(100vw - 24px))!important;
  min-height:var(--mhr-topbar-h)!important;
  margin:0!important;
  padding:8px!important;
  border-radius:24px!important;
  z-index:2147483640!important;
  background:rgba(15,23,42,.96)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  backdrop-filter:blur(18px)!important;
  box-shadow:0 18px 45px rgba(15,23,42,.24)!important;
  border:1px solid rgba(255,255,255,.14)!important;
  overflow:visible!important;
}
.mhr-app-v2130>.mhr-real-topbar .mhr-top-actions{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:7px!important;
  width:100%!important;
  min-height:52px!important;
  margin:0!important;
  padding:0!important;
}
.mhr-app-v2130>.mhr-real-topbar .mhr-top-action{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-direction:column!important;
  gap:2px!important;
  min-width:0!important;
  min-height:52px!important;
  padding:6px 3px!important;
  border-radius:18px!important;
  color:#e5edff!important;
  text-decoration:none!important;
  font-weight:900!important;
  font-size:10px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  line-height:1.05!important;
}
.mhr-app-v2130>.mhr-real-topbar .mhr-top-action .mhr-tab-icon{font-size:20px!important;line-height:1!important;display:block!important}
.mhr-app-v2130>.mhr-real-topbar .mhr-top-action .mhr-tab-label{display:block!important;width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;color:inherit!important}
.mhr-app-v2130>.mhr-real-topbar .mhr-top-action:hover,
.mhr-app-v2130>.mhr-real-topbar .mhr-top-action.active{background:#2563eb!important;color:#fff!important;border-color:transparent!important;box-shadow:0 10px 24px rgba(37,99,235,.28)!important}
.mhr-app-v2130>.mhr-real-topbar .mhr-close-app{background:rgba(220,38,38,.18)!important;color:#fff!important}
.mhr-app-v2130>.mhr-real-topbar .mhr-close-app:hover{background:#dc2626!important}
.mhr-app-v2130>.mhr-worker-identity{margin-top:0!important}
.mhr-app-v2130>.mhr-content{position:relative!important;z-index:1!important;margin:0!important;padding:0!important;scroll-margin-top:calc(var(--mhr-topbar-h) + 16px)!important}
.mhr-app-v2130>.mhr-bottom-tabs{
  position:fixed!important;
  left:50%!important;
  right:auto!important;
  bottom:calc(env(safe-area-inset-bottom,0px) + 10px)!important;
  top:auto!important;
  transform:translateX(-50%)!important;
  width:min(720px,calc(100vw - 20px))!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:6px!important;
  margin:0!important;
  padding:8px!important;
  border-radius:28px!important;
  z-index:2147483630!important;
  background:rgba(255,255,255,.96)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  backdrop-filter:blur(18px)!important;
  border:1px solid rgba(148,163,184,.26)!important;
  box-shadow:0 -14px 38px rgba(15,23,42,.18)!important;
  overflow:visible!important;
}
.mhr-app-v2130>.mhr-bottom-tabs .mhr-tab{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;min-height:58px!important;padding:7px 4px!important;border-radius:20px!important;font-size:10px!important;gap:3px!important;min-width:0!important;text-decoration:none!important}
.mhr-app-v2130>.mhr-bottom-tabs .mhr-tab-icon{font-size:21px!important;line-height:1!important}
.mhr-app-v2130>.mhr-bottom-tabs .mhr-tab-label{font-size:10px!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;width:100%!important;text-align:center!important}
@media (min-width:900px){
  .mhr-app-v2130>.mhr-real-topbar .mhr-top-action{flex-direction:row!important;font-size:12px!important;gap:7px!important;padding:7px 8px!important}
  .mhr-app-v2130>.mhr-real-topbar .mhr-top-action .mhr-tab-icon{font-size:18px!important}
}
@media (max-width:780px){
  .mhr-portal.mhr-app-v2130{--mhr-topbar-h:64px;--mhr-bottombar-h:74px;padding:calc(var(--mhr-topbar-h) + env(safe-area-inset-top,0px) + 10px) 8px calc(var(--mhr-bottombar-h) + env(safe-area-inset-bottom,0px) + 16px)!important;border-radius:0!important}
  .mhr-app-v2130>.mhr-real-topbar{top:calc(env(safe-area-inset-top,0px) + 6px)!important;width:calc(100vw - 12px)!important;min-height:64px!important;border-radius:22px!important;padding:6px!important}
  .mhr-app-v2130>.mhr-real-topbar .mhr-top-actions{gap:5px!important;min-height:52px!important}
  .mhr-app-v2130>.mhr-real-topbar .mhr-top-action{min-height:52px!important;border-radius:17px!important;font-size:8px!important;padding:5px 1px!important}
  .mhr-app-v2130>.mhr-real-topbar .mhr-top-action .mhr-tab-icon{font-size:18px!important}
  .mhr-app-v2130>.mhr-real-topbar .mhr-top-action .mhr-tab-label{font-size:8px!important}
  .mhr-app-v2130>.mhr-bottom-tabs{bottom:calc(env(safe-area-inset-bottom,0px) + 6px)!important;width:calc(100vw - 12px)!important;padding:6px!important;gap:5px!important;border-radius:25px!important}
}

/* Logotipo configurable en el acceso del trabajador */
.mhr-login-logo-img{overflow:hidden!important;background:#fff!important;padding:4px!important}
.mhr-login-logo-img img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}


/* v2.1.14 - Corrección real de navegación superior, cabecera compacta y logotipo */
body.mhr-portal-app-page .mhr-real-topbar{display:block!important}
body.mhr-portal-app-page .mhr-real-topbar .mhr-top-actions{display:grid!important}
.mhr-portal.mhr-app-v2140{--mhr-topbar-h:62px!important;--mhr-bottombar-h:76px!important;padding-top:calc(var(--mhr-topbar-h) + env(safe-area-inset-top,0px) + 12px)!important}
.mhr-app-v2140>.mhr-real-topbar{display:block!important;min-height:var(--mhr-topbar-h)!important;background:rgba(15,23,42,.97)!important}
.mhr-app-v2140>.mhr-real-topbar .mhr-top-actions{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:6px!important;width:100%!important;min-height:46px!important;visibility:visible!important;opacity:1!important}
.mhr-app-v2140>.mhr-real-topbar .mhr-top-action{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:column!important;gap:2px!important;min-height:46px!important;padding:5px 3px!important;color:#e5edff!important;text-decoration:none!important;border-radius:16px!important;background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.12)!important;font-weight:900!important;line-height:1.05!important;visibility:visible!important;opacity:1!important;overflow:hidden!important}
.mhr-app-v2140>.mhr-real-topbar .mhr-top-action .mhr-tab-icon{display:block!important;font-size:18px!important;line-height:1!important;color:inherit!important}
.mhr-app-v2140>.mhr-real-topbar .mhr-top-action .mhr-tab-label{display:block!important;font-size:9px!important;width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-align:center!important;color:inherit!important}
.mhr-app-v2140>.mhr-real-topbar .mhr-top-action.active{background:#2563eb!important;color:#fff!important}
.mhr-app-v2140>.mhr-real-topbar .mhr-close-app{background:rgba(220,38,38,.22)!important;color:#fff!important}
.mhr-app-v2140>.mhr-worker-identity{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 12px!important;padding:12px 14px!important;border-radius:24px!important;background:linear-gradient(135deg,#101828 0%,#172554 55%,#1d4ed8 100%)!important;color:#fff!important;box-shadow:0 14px 34px rgba(30,64,175,.20)!important;position:relative!important;z-index:2!important;overflow:hidden!important}
.mhr-app-v2140>.mhr-worker-identity .mhr-user-block{display:flex!important;align-items:center!important;gap:10px!important;color:#fff!important;text-decoration:none!important;min-width:0!important}
.mhr-app-v2140>.mhr-worker-identity .mhr-avatar{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:16px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;font-weight:900!important;font-size:20px!important;overflow:hidden!important;border:1px solid rgba(255,255,255,.22)!important}
.mhr-app-v2140>.mhr-worker-identity .mhr-avatar-logo{background:#fff!important;padding:4px!important}
.mhr-app-v2140>.mhr-worker-identity .mhr-avatar img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
.mhr-app-v2140>.mhr-worker-identity .mhr-user-meta strong{font-size:17px!important;line-height:1.05!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:190px!important}
.mhr-app-v2140>.mhr-worker-identity .mhr-hello{font-size:10px!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:rgba(255,255,255,.70)!important;font-weight:900!important}
.mhr-app-v2140>.mhr-worker-identity .mhr-chip{font-size:10px!important;padding:7px 9px!important;border-radius:999px!important;background:rgba(255,255,255,.16)!important;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;line-height:1.05!important}
.mhr-app-v2140>.mhr-content{display:grid!important;gap:14px!important;position:relative!important;z-index:1!important;margin:0!important;padding:0!important}
@media (min-width:900px){.mhr-app-v2140>.mhr-real-topbar .mhr-top-action{flex-direction:row!important;gap:7px!important}.mhr-app-v2140>.mhr-real-topbar .mhr-top-action .mhr-tab-label{font-size:12px!important}.mhr-app-v2140>.mhr-worker-identity .mhr-user-meta strong{max-width:none!important}}
@media (max-width:780px){.mhr-portal.mhr-app-v2140{padding:calc(62px + env(safe-area-inset-top,0px) + 8px) 8px calc(78px + env(safe-area-inset-bottom,0px) + 12px)!important}.mhr-app-v2140>.mhr-real-topbar{top:calc(env(safe-area-inset-top,0px) + 6px)!important;width:calc(100vw - 12px)!important;min-height:56px!important;border-radius:20px!important;padding:5px!important}.mhr-app-v2140>.mhr-real-topbar .mhr-top-actions{min-height:46px!important;gap:4px!important}.mhr-app-v2140>.mhr-real-topbar .mhr-top-action{min-height:46px!important;border-radius:15px!important;padding:4px 1px!important}.mhr-app-v2140>.mhr-real-topbar .mhr-top-action .mhr-tab-icon{font-size:16px!important}.mhr-app-v2140>.mhr-real-topbar .mhr-top-action .mhr-tab-label{font-size:7.5px!important}.mhr-app-v2140>.mhr-worker-identity{padding:10px!important;border-radius:20px!important;margin-bottom:10px!important}.mhr-app-v2140>.mhr-worker-identity .mhr-avatar{width:38px!important;height:38px!important;min-width:38px!important;border-radius:14px!important}.mhr-app-v2140>.mhr-worker-identity .mhr-user-meta strong{font-size:15px!important;max-width:150px!important}.mhr-app-v2140>.mhr-worker-identity>.mhr-chip{max-width:40%!important;white-space:normal!important;text-align:center!important}}


/* v2.2.1 - Privacidad dentro de Perfil */
.mhr-privacy-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:22px;padding:18px;margin:12px 0;box-sizing:border-box;max-width:100%}
.mhr-privacy-text{max-height:310px;overflow:auto;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px;color:#334155;line-height:1.55;font-size:14px;box-sizing:border-box}
.mhr-check{display:flex;gap:10px;align-items:flex-start;font-weight:800;color:#334155;margin:12px 0;line-height:1.35}
.mhr-check input{margin-top:3px;min-width:18px;min-height:18px}
.mhr-pin-privacy-check{grid-column:1/-1;width:100%}
.mhr-privacy-accept-form{display:grid;gap:12px;margin-top:12px}
@media(max-width:780px){.mhr-privacy-box{padding:14px;border-radius:18px}.mhr-privacy-text{max-height:260px;font-size:13px}}


/* v2.3.1 - Estado vacío de jornadas dentro del Portal del Trabajador */
.mhr-empty-in-table{padding:0!important;background:transparent!important}
.mhr-app-empty-state{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:10px;padding:18px;border:1px solid rgba(15,23,42,.10);border-radius:18px;background:#f8fafc;color:#334155;text-align:left}
.mhr-app-empty-state strong{font-size:15px;color:#0f172a}
.mhr-app-empty-state span{font-size:13px;line-height:1.45;color:#64748b}
@media (max-width: 720px){.mhr-app-empty-state{margin:8px 0;padding:16px;border-radius:16px}.mhr-filter{width:100%}.mhr-filter input,.mhr-filter select,.mhr-filter button{max-width:100%}}
