:root{--bg:#f6f8fc;--navy:#0d172b;--navy2:#17243c;--text:#18243a;--sub:#6c7890;--border:#e6eaf2;--white:#fff;--blue:#4158e5;--blue2:#344aca;--orange:#f39d4b;--red:#cb4e53;--green:#218768;--shadow:0 8px 28px rgba(25,42,75,.055);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);font-size:14px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--blue)}[hidden]{display:none!important}h1,h2,h3,h4,p{margin-top:0}h1{letter-spacing:-1px}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #dce3ef;border-radius:10px;background:white;color:var(--text);outline:none;transition:border .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#7685eb;box-shadow:0 0 0 3px rgba(65,88,229,.12)}textarea{resize:vertical;line-height:1.5}input::placeholder,textarea::placeholder{color:#9ba5b4}label{font-size:13px;font-weight:650;display:grid;gap:8px}label span.required{color:#cf4e4e}.stack{display:grid;gap:16px}.gap-lg{gap:19px}.muted{color:var(--sub)}.hint{font-size:12px;line-height:1.5;color:#8190a7}.eyebrow{font-weight:800;letter-spacing:1.45px;color:#6475db;font-size:10px}.eyebrow.light{color:#a9baff}.btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:10px;padding:11px 17px;font-weight:760;text-decoration:none;white-space:nowrap;transition:transform .15s,background .15s,border .15s;min-height:40px}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{background:var(--blue);color:#fff;box-shadow:0 6px 14px rgba(65,88,229,.14)}.btn-primary:hover:not(:disabled){background:var(--blue2)}.btn-outline{background:#fff;color:#4a5770;border-color:#dfe5ef}.btn-outline:hover:not(:disabled){background:#f7f9fd}.btn-danger{background:#ca5057;color:white}.btn-block{width:100%}.btn.big{padding:13px 19px;font-size:13px}.btn.small{padding:8px 12px;min-height:32px;font-size:12px}.plus{font-size:20px;font-weight:400;line-height:0}.logo-mark{flex:0 0 auto;background:linear-gradient(135deg,#8092ff,#4459ee);color:white;display:grid;place-items:center;width:39px;height:39px;border-radius:11px;font-size:14px;font-weight:850;letter-spacing:-.5px;box-shadow:0 6px 15px rgba(35,68,185,.25)}
/* Login */
.login-layout{min-height:100vh;display:grid;grid-template-columns:52% 48%;background:white}.login-intro{padding:49px clamp(35px,5vw,82px);background:radial-gradient(ellipse 80% 50% at 88% 14%,#283e81 0%,transparent 100%),linear-gradient(138deg,#0a1429,#122248);color:#fff;display:flex;flex-direction:column}.login-brand{display:flex;gap:13px;align-items:center;font-size:12px;font-weight:850;letter-spacing:1.25px}.login-content{margin:auto 0;max-width:580px;padding:60px 0}.login-content h1{font-size:clamp(34px,3.5vw,57px);font-weight:800;line-height:1.14;margin:19px 0 21px}.login-content h1 em{font-style:normal;color:#a5b8ff}.login-content>p{font-size:16px;line-height:1.9;color:#b8c5dc;max-width:510px;margin-bottom:40px}.login-feature{display:flex;align-items:flex-start;gap:12px;margin:17px 0;color:#d4def0;font-size:13px;line-height:1.5}.feat-icon{background:rgba(111,134,239,.23);border:1px solid rgba(137,158,249,.3);width:26px;height:26px;flex:none;border-radius:8px;display:grid;place-items:center;color:#c0ceff}.login-footer{font-size:12px;color:#7f92b2}.login-form-wrap{display:grid;place-items:center;padding:45px}.login-box{width:min(100%,385px)}.login-avatar{background:#eef1ff;color:var(--blue);width:56px;height:56px;display:grid;place-items:center;border-radius:17px;font-size:23px;margin-bottom:24px}.login-box h2{font-size:28px;letter-spacing:-.9px;margin:12px 0 10px}.login-box>p{line-height:1.6}.login-box form{margin-top:30px}.login-box .hint{text-align:center;margin-top:24px}
/* Dashboard */
.app-shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:white;padding:27px 17px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:auto}.brand{display:flex;align-items:center;gap:12px;padding:4px 9px 41px}.brand-text{display:grid;line-height:1.25;letter-spacing:-.1px}.brand-text strong{font-size:15px}.brand-text small{color:#6f87a9;font-size:8px;margin-top:8px;font-weight:850;letter-spacing:1.55px}.nav-label{font-size:9px;color:#627391;letter-spacing:1.25px;font-weight:800;padding:0 12px 13px}.sidebar-nav{display:grid;gap:6px}.nav-item{background:transparent;border:0;color:#94a3bd;border-radius:9px;text-align:left;padding:13px 15px;font-weight:700;width:100%;display:flex;align-items:center;gap:12px}.nav-item:hover{background:#1b2a44;color:#fff}.nav-item.selected{background:#263554;color:#fff}.nav-emoji{font-size:20px;line-height:0}.sidebar-bottom{margin-top:auto;padding:35px 4px 0}.sidebar-note{border:1px solid #263651;border-radius:12px;background:#192842;padding:16px 14px;display:grid;gap:6px;color:#fff}.sidebar-note-symbol{font-size:20px}.sidebar-note strong{font-size:12px}.sidebar-note span{font-size:11px;line-height:1.6;color:#8ca0bf}.sidebar-user{display:flex;gap:10px;align-items:center;padding:24px 5px 14px}.user-circle,.top-avatar{border-radius:50%;background:#33415d;color:#d0ddff;width:33px;height:33px;display:grid;place-items:center;font-size:10px;font-weight:800}.user-details{display:grid;gap:3px;overflow:hidden}.user-details b{font-size:11px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-details small{font-size:10px;color:#7c8ca8}.logout-btn{background:transparent;color:#8b9dbb;border:0;text-align:left;padding:10px 9px;font-size:12px;width:100%}.logout-btn:hover{color:white}.main-content{min-width:0}.topbar{height:80px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(24px,3.5vw,55px)}.crumb{color:#8d9ab0;font-size:12px;font-weight:600}.crumb span{padding:0 12px;color:#c6ceda}.crumb strong{color:#384862}.topbar-right{display:flex;align-items:center;gap:18px}.today-pill{font-size:12px;font-weight:700;color:#65748c}.top-avatar{background:#edf0fc;color:var(--blue)}.page-inner{padding:46px clamp(23px,3.5vw,55px) 26px;max-width:1680px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:center;gap:28px;margin-bottom:33px}.page-header h1{font-size:29px;font-weight:800;margin:8px 0 11px}.subtitle{color:#7b8aa2;margin:0;line-height:1.5}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:26px}.stat-card{background:white;border:1px solid #e8ecf4;border-radius:13px;box-shadow:var(--shadow);padding:21px 22px;min-width:0}.stat-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.stat-label{font-size:12px;color:#687993;font-weight:680}.stat-symbol{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;flex:none;font-size:19px;font-weight:700}.indigo{background:#eff0ff;color:#5766dc}.green{background:#e6f6f0;color:#33997a}.orange{background:#fff1e3;color:#e6994b}.purple{background:#f0eaff;color:#8c6bd4}.stat-num{font-size:35px;font-weight:840;letter-spacing:-1.1px;margin:12px 0 7px;color:#17243c}.stat-small{font-size:11px;color:#9aa6b7}.list-panel{background:#fff;border:1px solid #e5eaf3;border-radius:14px;box-shadow:var(--shadow);overflow:hidden}.list-heading{display:flex;justify-content:space-between;padding:26px 27px 5px}.list-heading h2{font-size:17px;margin:0 0 6px}.list-heading p{font-size:12px;margin:0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 27px 18px}.search-box{max-width:430px;width:100%;position:relative}.search-box input{padding-left:40px;background:#f9fafc}.search-icon{position:absolute;top:6px;left:13px;color:#94a2b7;font-size:28px;line-height:1}.filter-tabs{background:#f3f5f9;border-radius:9px;padding:4px;display:flex;gap:3px}.filter-tab{border:0;background:transparent;color:#8995a7;font-size:12px;padding:8px 13px;border-radius:7px;font-weight:750;white-space:nowrap}.filter-tab.active{background:white;box-shadow:0 1px 5px rgba(30,45,70,.09);color:#3446ca}.table-scroll{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{font-size:10px;letter-spacing:.9px;color:#909bb0;background:#f9fafc;padding:15px 16px;text-align:left;border-top:1px solid #edf0f5;border-bottom:1px solid #edf0f5}th:first-child,td:first-child{padding-left:27px}th:last-child,td:last-child{padding-right:26px;text-align:right}td{padding:15px 16px;border-bottom:1px solid #f0f2f6;color:#586880;font-size:12px;vertical-align:middle}tbody tr:hover{background:#fafbff}tbody tr:last-child td{border-bottom:none}.table-name{font-weight:780;color:#23334e;font-size:12px}.id-pill{font-size:11px;font-weight:800;color:#5060c5;background:#f0f1ff;padding:6px 9px;border-radius:6px;white-space:nowrap}.status{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:800;border-radius:30px;padding:7px 11px}.status:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.status.active{background:#e5f7ee;color:#19865d}.status.left{background:#fff0e7;color:#d6783a}.file-pill{font-size:11px;color:#737fb0;background:#f1f3ff;padding:6px 10px;border-radius:7px}.link-btn{font-size:11px;font-weight:800;border:0;background:transparent;color:#4960d7;padding:7px 0}.link-btn:hover{text-decoration:underline}.empty-state{text-align:center;padding:48px 25px 55px;color:#7f8fa5}.empty-icon{font-size:38px;background:#eef1fb;color:#6477dd;border-radius:20px;width:68px;height:68px;display:grid;place-items:center;margin:0 auto 19px}.empty-state h3{font-size:16px;color:#263753}.empty-state p{font-size:12px}.list-footer{display:flex;align-items:center;justify-content:space-between;padding:17px 27px;border-top:1px solid #edf0f5;color:#8491a5;font-size:11px}.pager{display:flex;gap:9px}.bottom-note{font-size:11px;color:#9aa5b6;margin:20px 0}
/* RH_BAJAS_RECOMENDACIONES_2026: documentación y datos laborales */
.rh-legal-note{font-size:11px;line-height:1.55;color:#7a879e;margin:0}
.rh-doc-heading{font-size:12px;margin:18px 0 9px;color:#687891;letter-spacing:.2px}
.rh-doc-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.rh-doc-actions .doc-download{display:inline-flex;align-items:center}
/* RH_VERSIONES_PDF_2026 */
.rh-version-row{align-items:flex-start;flex-wrap:wrap}
.rh-doc-details{min-width:0;max-width:260px}
.rh-doc-details .doc-meta{overflow-wrap:anywhere;line-height:1.5}
.rh-doc-actions{margin-left:auto}
.rh-doc-action{border:0;font:inherit;font-size:11px;font-weight:760;cursor:pointer}
.rh-doc-action:hover{background:#e5e9f9}
.rh-update-action{background:#eaf0ff;color:#354bb6}
.rh-hidden-file{display:none!important}

@media(max-width:730px){.rh-doc-actions{justify-content:flex-start}.doc-item{flex-wrap:wrap}}
/* Drawer */
.scrim{position:fixed;inset:0;background:rgba(9,21,45,.55);z-index:20}.detail-drawer{position:fixed;top:0;bottom:0;right:0;width:min(95vw,560px);z-index:21;background:white;box-shadow:-20px 0 60px #0a183d3b;display:flex;flex-direction:column}.drawer-header{padding:22px 28px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.icon-btn{border:0;border-radius:8px;background:#f3f5fa;color:#7a889b;padding:8px 11px;font-size:16px}.icon-btn:hover{background:#e7ebf5}.drawer-scroll{overflow:auto;padding:29px 30px 40px}.profile-head{display:flex;gap:17px;align-items:center}.profile-initials{width:65px;height:65px;border-radius:16px;background:linear-gradient(135deg,#dfe5ff,#f3f5ff);color:#5566c4;font-weight:850;font-size:21px;display:grid;place-items:center;flex:none}.profile-id{font-size:11px;font-weight:800;color:#727f9b;margin-bottom:7px}.profile-head h2{font-size:22px;line-height:1.2;letter-spacing:-.5px;margin:0 0 10px}.drawer-actions{display:flex;gap:9px;flex-wrap:wrap;margin:27px 0 32px}.drawer-actions .btn{font-size:12px;padding:10px 12px}.drawer-section{border-top:1px solid var(--border);padding:25px 0}.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:20px}.section-title h3{font-size:15px;margin:0}.section-hint{font-size:11px;color:#a0acbc}.timeline{display:grid;gap:0;padding-left:5px}.event{display:grid;grid-template-columns:24px 1fr;gap:12px;position:relative;padding-bottom:23px}.event:not(:last-child):before{content:'';position:absolute;left:9px;top:16px;bottom:-1px;width:1px;background:#e5eaf3}.event-dot{height:19px;width:19px;border:4px solid #e7ecff;border-radius:50%;background:#6273d9;z-index:1}.event.exit .event-dot{border-color:#ffeadc;background:#e59962}.event-title{font-size:12px;font-weight:780;color:#33435d;display:flex;justify-content:space-between;gap:10px}.event-date{font-size:11px;color:#95a1b3;font-weight:600}.event-sub{font-size:12px;color:#6c7b92;line-height:1.65;margin-top:6px;overflow-wrap:anywhere;white-space:pre-wrap}.doc-item{border:1px solid #e7ebf4;border-radius:11px;padding:13px 13px;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:9px 0}.doc-left{display:flex;align-items:center;gap:12px;min-width:0}.doc-icon{width:41px;height:44px;border-radius:8px;background:#fff0ec;color:#e06f61;font-weight:850;font-size:11px;display:grid;place-items:center;flex:none}.doc-name{font-size:12px;font-weight:780;color:#31415a;overflow-wrap:anywhere}.doc-meta{font-size:10px;color:#99a5b6;margin-top:4px}.doc-download{font-size:11px;font-weight:760;text-decoration:none;padding:9px 11px;background:#f0f2fc;border-radius:7px;white-space:nowrap}.doc-placeholder{border:1px dashed #dfe5ee;border-radius:10px;color:#a2afbf;font-size:12px;padding:15px;margin:8px 0}.upload-box{padding:19px;border-radius:12px;background:#f8faff;border:1px dashed #cad4ea;display:grid;gap:14px;margin-top:19px}.upload-box h4{font-size:13px;margin:0}.upload-box input,.upload-box select{background:white}
/* Dialog */
dialog.modal{border:0;border-radius:15px;padding:0;width:min(calc(100vw - 30px),490px);box-shadow:0 18px 80px #0c1c3b4d;max-height:calc(100vh - 30px);overflow:auto}dialog::backdrop{background:#111d32a8}.modal-header{padding:22px 26px 18px;display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--border)}.modal-header h2{font-size:20px;margin:7px 0 0;letter-spacing:-.4px}.modal-body{padding:25px 26px;max-height:65vh;overflow:auto}.modal-body>.muted{margin:0 0 2px;font-size:12px;line-height:1.6}.modal-footer{display:flex;gap:10px;justify-content:flex-end;padding:17px 26px 21px;border-top:1px solid var(--border)}.checkbox-row{display:flex;align-items:center;gap:10px;background:#f8faff;border-radius:9px;padding:12px}.checkbox-row input{width:15px;height:15px;box-shadow:none}.separated{background:#fbfcff;border:1px solid #e5e9f4;border-radius:10px;padding:16px}
#toast{position:fixed;z-index:100;right:24px;bottom:24px;background:#17223a;color:white;padding:14px 20px;border-radius:10px;box-shadow:0 8px 30px #0e1b3777;font-size:13px;font-weight:680;max-width:min(440px,90vw);display:none}#toast.show{display:block}#toast.error{background:#a83d48}
@media (max-width:1180px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:23px 11px}.brand{padding-left:5px}.brand-text strong{font-size:13px}.toolbar{flex-wrap:wrap}.search-box{max-width:none}}
@media (max-width:730px){.login-layout{grid-template-columns:1fr}.login-intro{padding:28px 24px}.login-content{padding:38px 0}.login-content h1{font-size:35px}.login-content>p{margin-bottom:22px}.login-feature{margin:10px 0}.login-footer{display:none}.login-form-wrap{padding:48px 24px 70px}.app-shell{display:block}.sidebar{height:auto;position:static;overflow:visible;display:block;padding:13px 18px}.brand{padding:3px 0 12px}.brand-text strong{display:inline}.brand-text{display:block}.brand-text small{display:none}.nav-label,.sidebar-note,.sidebar-user{display:none}.sidebar-nav{display:flex;gap:8px}.nav-item{padding:10px 12px;width:auto}.sidebar-bottom{padding:0;display:inline-block}.sidebar .logout-btn{position:absolute;top:22px;right:13px;width:auto;font-size:11px}.topbar{height:55px;padding:0 18px}.topbar-right{gap:8px}.today-pill{font-size:10px}.page-inner{padding:26px 15px}.page-header{align-items:flex-start;flex-direction:column;gap:17px;margin-bottom:23px}.page-header h1{font-size:25px}.page-header .big{width:100%}.stats-grid{gap:10px}.stat-card{padding:16px}.stat-num{font-size:29px}.stat-label{font-size:11px}.stat-small{line-height:1.4;font-size:10px}.toolbar{padding:15px}.filter-tabs{width:100%;justify-content:space-around}.filter-tab{flex:1;padding:9px 5px}.list-heading{padding:22px 16px 0}.list-footer{padding:14px;gap:10px;flex-wrap:wrap}.detail-drawer{width:100vw}.drawer-scroll{padding:20px}.drawer-header{padding:18px 22px}}

/* LOGO TRANSINTERNACIONAL - INICIO DE SESIÓN */

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-brand img {
    width: 55px !important;
    height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    object-fit: contain;
    flex-shrink: 0;
}

.login-brand span {
    color: white;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* RH_FOTO_PERFIL_2026 - personalización visual segura */
.sidebar .brand { display:flex; align-items:center; gap:10px; min-width:0; overflow:hidden; }
.sidebar .brand img { width:42px !important; height:42px !important; max-width:42px !important; max-height:42px !important; object-fit:contain !important; flex:0 0 42px; display:block; }
.sidebar .brand .brand-text { min-width:0; overflow-wrap:anywhere; }
.profile-photo-button { width:38px; height:38px; min-width:38px; padding:0; border:2px solid #e9edfb; border-radius:50%; overflow:hidden; display:grid; place-items:center; cursor:pointer; background:#eef1ff; color:#4256cb; font-weight:800; font-size:12px; }
.profile-photo-button:hover { border-color:#6677db; }
.profile-photo-button img { width:100%; height:100%; display:block; object-fit:cover; }
.profile-photo-button [hidden] { display:none !important; }

/* RH_MENU_FOTO_2026: menú de imagen de perfil */
.profile-photo-control { position:relative; display:flex; align-items:center; }
.profile-photo-menu[hidden] { display:none !important; }
.profile-photo-menu { position:absolute; z-index:55; top:calc(100% + 10px); right:0; width:192px; padding:6px; border:1px solid #e0e7f1; border-radius:12px; background:#fff; box-shadow:0 12px 35px rgba(18,31,57,.18); }
.profile-photo-menu button { display:block; width:100%; text-align:left; border:0; background:transparent; border-radius:8px; padding:11px 10px; font-family:inherit; font-weight:650; font-size:12px; color:#263450; cursor:pointer; }
.profile-photo-menu button:hover:not(:disabled),.profile-photo-menu button:focus-visible { background:#eff3ff; outline:none; }
.profile-photo-menu button:disabled { color:#9ba5b7; cursor:not-allowed; }
.profile-photo-dialog { padding:0; border:0; border-radius:16px; background:#fff; width:min(90vw,620px); max-height:90vh; box-shadow:0 20px 90px rgba(0,0,0,.35); overflow:hidden; }
.profile-photo-dialog::backdrop { background:rgba(8,17,35,.72); }
.profile-photo-dialog-header { display:flex; justify-content:space-between; align-items:center; padding:16px 18px; border-bottom:1px solid #e6e9f2; color:#15243d; }
.profile-photo-dialog-header button { border:0; cursor:pointer; background:#f0f2f8; border-radius:8px; padding:7px 11px; color:#495b78; }
.profile-photo-dialog-body { display:flex; justify-content:center; align-items:center; padding:18px; min-height:130px; max-height:calc(90vh - 75px); }
.profile-photo-dialog-body img { display:block; max-width:100%; max-height:calc(90vh - 115px); object-fit:contain; border-radius:8px; }

/* Logo de Transinternacional */
.login-logo {
  width: 55px;
  height: auto;
  max-width: 55px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Logo del menú lateral de Transinternacional */
.sidebar .sidebar-logo {
    width: 34px;
    height: 34px;
    max-width: 34px;
    max-height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ONCE26_RH_IMPORT_2026 - importación y estado sin validar */
.once26-panel{display:flex;gap:18px;align-items:center;justify-content:space-between;background:#f0f4ff;border:1px solid #cdd9fd;border-radius:13px;padding:18px 20px;margin-bottom:20px;}
.once26-panel[hidden]{display:none!important}
.once26-panel-copy{display:flex;flex-direction:column;gap:7px;min-width:0}
.once26-panel-copy strong{font-size:14px;color:#1d376d}
.once26-panel-copy span{font-size:12px;color:#60739b;line-height:1.5}
.once26-panel .btn{white-space:nowrap;flex-shrink:0}
.once26-result{font-weight:700}
.status.pending{background:#fff5d7;color:#89610e}
@media(max-width:850px){.once26-panel{flex-direction:column;align-items:stretch}.once26-panel .btn{width:100%}}

/* RH_ONLYOFFICE_LOCAL_2026 */
.rh-word-icon{background:#e5f0ff!important;color:#12428e!important;font-size:10px!important;min-width:42px!important}.rh-word-entry{border-left:3px solid #7fb0ea}.rh-word-state{font-size:11px;color:#5871a4;margin-top:3px}.rh-doc-action[disabled]{opacity:.6;cursor:wait}

/* RH_IMSS_LICENCIA_2026 */
.rh-personnel-summary{background:#f8faff;border-radius:10px;padding:12px}
.rh-field-summary{margin:6px 0;font-size:13px;color:#344767}
.rh-oficial-box{background:#f9fbff;border:1px solid #dbe5f4;border-radius:11px;padding:13px;margin-bottom:12px;display:flex;flex-direction:column;gap:9px}
.rh-oficial-box h4{font-size:13px;color:#163467;margin:0}
.rh-oficial-desc,.rh-oficial-note{font-size:12px;color:#65748f;margin:0;overflow-wrap:anywhere}
.rh-oficial-date{font-size:12px;color:#263a62;display:flex;flex-direction:column;gap:4px}
.rh-oficial-date input{font:inherit;padding:8px;border:1px solid #ccd8ed;border-radius:8px;background:white;max-width:245px}
.rh-oficial-upload{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.rh-oficial-upload input{font-size:12px;max-width:215px;min-width:0}
.rh-licencia-roja{color:#b91c1c!important;font-weight:800!important;background:#fff1f2;border-radius:7px;padding:5px 7px}
.rh-expiry-alert{font-size:12px;color:#b91c1c;background:#fff1f2;border:1px solid #fecdd3;border-radius:9px;padding:9px;margin:0;font-weight:700}

/* RH_OCR_FOTO_LICENCIA_2026: fotografía privada del operador desde licencia digital. */
#profileInitials{overflow:hidden}
#profileInitials .rh-foto-operador{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.rh-foto-licencia-pendiente{display:block;width:88px;height:108px;object-fit:cover;border:1px solid #dbe2ef;border-radius:9px;margin:10px 0}

/* RH_CELULAR_FILTROS_ROL_2026: teléfono junto al nombre, con botón para copiar. */
.rh-identidad-nombre{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}
.rh-identidad-nombre h2{margin:0}
.rh-profile-cellphone{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:#5f708e;margin-top:3px}
.rh-cellphone{min-width:170px;max-width:250px}
.rh-telefono-numero{font-weight:650;color:#314463;white-space:nowrap}
.rh-copiar-celular{border:1px solid #d6dff2;background:#f8faff;color:#3c51c9;border-radius:7px;padding:5px 8px;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}
.rh-copiar-celular:hover{background:#e9eeff}
.rh-copiar-celular:focus-visible{outline:2px solid #4365df;outline-offset:2px}
@media(max-width:730px){.rh-identidad-nombre{display:block}.rh-profile-cellphone{margin:7px 0 0}}

/* RH_ROL_USUARIO_AZUL_REY_2026: controles azul rey y advertencia de número pendiente. */
:root{--rh-rey:#2446da;--rh-rey-hover:#1735b7;--rh-rey-light:#e8edff}
.list-panel .filter-tabs{background:#e9eeff;border:1px solid #dce5ff;gap:6px}
.list-panel .filter-tab{background:var(--rh-rey);border:1px solid var(--rh-rey);color:#fff;box-shadow:0 2px 5px rgba(36,70,218,.13);transition:background-color .15s ease,border-color .15s ease}
.list-panel .filter-tab:hover{background:var(--rh-rey-hover);border-color:var(--rh-rey-hover);color:#fff}
.list-panel .filter-tab.active{background:#102a9b;border-color:#102a9b;color:#fff;box-shadow:0 0 0 2px #b7c6ff}
.list-panel .filter-tab:focus-visible,.list-panel .link-btn:focus-visible,.rh-copiar-celular:focus-visible{outline:3px solid #9eb6ff;outline-offset:2px}
.list-panel .link-btn{background:var(--rh-rey);color:#fff;border:1px solid var(--rh-rey);border-radius:8px;padding:8px 11px;white-space:nowrap}
.list-panel .link-btn:hover{background:var(--rh-rey-hover);border-color:var(--rh-rey-hover);color:#fff;text-decoration:none}
.id-pill{background:var(--rh-rey);border:1px solid var(--rh-rey);color:#fff;font-weight:800}
.id-pill.rh-numero-pendiente{background:#fff0f1;border:1px solid #f6a2ad;color:#b42335;font-weight:900}
.rh-copiar-celular{background:var(--rh-rey);color:#fff;border:1px solid var(--rh-rey)}
.rh-copiar-celular:hover{background:var(--rh-rey-hover);color:#fff}
@media(max-width:730px){.list-panel .link-btn{padding:8px 9px}}

/* RH_DASHBOARD_SOFTDELETE_2026: navegación plegable y filtros sin sombra/capa inferior. */
.list-panel .filter-tabs{background:transparent;border:0;box-shadow:none;gap:8px;padding:0}
.list-panel .filter-tab{background:#fff;color:#34496c;border:1px solid #cbd8ed;box-shadow:none;font-weight:750}
.list-panel .filter-tab:hover:not(.active){background:#eff3ff;color:#2446da;border-color:#afc0ef;box-shadow:none}
.list-panel .filter-tab.active{background:#2446da;border-color:#2446da;color:#fff;box-shadow:none;outline:0}
.list-panel .filter-tab:focus-visible{outline:2px solid #abc1ff;outline-offset:2px}
#once26ImportBtn,#once26ImportBtn:hover{background:#2446da;border-color:#2446da;color:#fff}
#once26ImportBtn:hover{background:#1635b8;border-color:#1635b8}
#openCreateBtn{background:#16945e;border-color:#16945e;color:#fff;box-shadow:0 4px 12px #16885c26}
#openCreateBtn:hover{background:#0e764b;border-color:#0e764b}
.rh-dashboard-menu{display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px;border:0;background:transparent;color:#fff;padding:12px 13px;border-radius:9px;font:inherit;font-size:14px;font-weight:750;cursor:pointer;text-align:left}
.rh-dashboard-menu:hover,.rh-dashboard-menu:focus-visible{background:#1b2a44}
.rh-dashboard-label{display:inline-flex;align-items:center;gap:9px}
#rhDashboardArrow{font-size:22px;transition:transform .18s ease;line-height:1}
.rh-dashboard-menu[aria-expanded="false"] #rhDashboardArrow{transform:rotate(-90deg)}
#rhDashboardNav[hidden]{display:none!important}
.rh-topbar-start{display:flex;align-items:center;gap:12px;min-width:0}
.rh-sidebar-toggle{display:inline-flex;align-items:center;gap:8px;border:1px solid #dce4f0;background:#fff;color:#15325b;border-radius:9px;padding:7px 10px;cursor:pointer;font-size:17px;font-weight:800;white-space:nowrap}
.rh-sidebar-toggle:hover{background:#eff3ff;border-color:#b6c7eb}
.rh-sidebar-toggle:focus-visible{outline:3px solid #a4b9ff;outline-offset:2px}
#rhSidebarArrow{font-size:20px;line-height:1}
.app-shell.rh-sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}
.app-shell.rh-sidebar-collapsed #rhSidebar{visibility:hidden;overflow:hidden;padding:0;width:0;pointer-events:none}
.app-shell.rh-sidebar-collapsed #rhSidebarArrow{transform:rotate(180deg)}
#rhSidebarToggle[aria-expanded="false"] #rhSidebarArrow{transform:rotate(180deg)}
#rhSidebarToggle[aria-expanded="true"] #rhSidebarArrow{transform:none}
.rhx-user-inactive{opacity:.68}
.rhx-delete-button{border-color:#efb6bd!important;color:#a52237!important;background:#fff6f7!important}
.rhx-delete-button:hover{background:#ffe3e7!important}
#rhx-account-action-dialog{border:0;border-radius:16px;max-width:min(94vw,520px);width:100%;padding:0;box-shadow:0 25px 80px #0005}
#rhx-account-action-dialog::backdrop{background:rgba(10,22,47,.55)}
#rhx-account-action-dialog .rhx-card{margin:0;border:0}
#rhx-account-action-dialog #rhx-action-email{overflow-wrap:anywhere;color:#182b50}
@media(max-width:730px){
 .app-shell.rh-sidebar-collapsed #rhSidebar{display:none}
 .rh-sidebar-toggle{font-size:16px}
 .rh-topbar-start{gap:7px}.topbar{gap:8px}
 .rh-dashboard-menu{margin:0 0 4px}
 .sidebar-nav{flex-wrap:wrap}
}


/* RH_AJUSTE_FLECHAS_MENU_2026_11_10 — cambio estrictamente visual. */
/* Chevron pequeño, uniforme y sin depender de la forma del carácter ›. */
#rhDashboardArrow {
  display: inline-block;
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  box-sizing: content-box;
  font-size: 0;
  line-height: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
  transition: transform .18s ease;
  margin-right: 6px;
  margin-top: -4px;
}
.rh-dashboard-menu[aria-expanded="false"] #rhDashboardArrow { transform: rotate(-45deg); }
.rh-dashboard-menu { padding-right: 9px; }

/* Control superior junto al límite de la barra: iconos sueltos, sin recuadro. */
.rh-topbar-start {
  margin-left: calc(9px - clamp(24px, 3.5vw, 55px));
  gap: 14px;
}
#rhSidebarToggle.rh-sidebar-toggle {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 5px 3px;
  gap: 5px;
  color: #15325b;
  min-width: 0;
}
#rhSidebarToggle.rh-sidebar-toggle:hover {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #2446da;
}
#rhSidebarToggle.rh-sidebar-toggle:focus-visible {
  outline: 2px solid #2446da;
  outline-offset: 3px;
  border-radius: 3px;
}
#rhSidebarArrow { font-size: 15px; line-height: 1; }
@media (max-width: 730px) {
  .rh-topbar-start { margin-left: 0; gap: 7px; }
}
