.xeus-payroll-hub{min-width:0}.payroll-section-nav{display:flex;gap:.35rem;flex-wrap:wrap;padding:.4rem;background:var(--cui-body-bg,#fff);border:1px solid var(--cui-border-color,#dce1ec);border-radius:14px}.payroll-section-link{display:flex;align-items:center;gap:.45rem;padding:.65rem .85rem;min-height:44px;border-radius:9px;color:var(--cui-body-color,#334155);text-decoration:none;font-size:.9rem;font-weight:600}.payroll-section-link:hover,.payroll-section-link.active{background:#eef0ff;color:#4435c5}.payroll-section-link:focus-visible,.payroll-hub-card:focus-visible,.payroll-mode-card:focus-within{outline:3px solid #6960ed;outline-offset:3px}.payroll-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.payroll-hub-card{display:flex;align-items:center;gap:1rem;padding:1.3rem;min-width:0;min-height:120px;border:1px solid var(--cui-border-color,#dce1ec);border-radius:14px;background:var(--cui-body-bg,#fff);color:var(--cui-body-color,#1e293b);text-decoration:none;transition:border-color .15s,box-shadow .15s}.payroll-hub-card:hover{border-color:#8d83ea;box-shadow:0 5px 16px #4036b010;color:var(--cui-body-color,#1e293b)}.payroll-hub-card span{min-width:0;overflow-wrap:anywhere}.payroll-hub-icon{display:grid;place-items:center;flex:0 0 44px;height:44px;background:#eef0ff;border-radius:12px;color:#5143d1;font-size:1.3rem}.payroll-mode-card{display:flex;gap:1rem;padding:1rem;border:1px solid var(--cui-border-color,#dce1ec);border-radius:12px;cursor:pointer;min-width:0}.payroll-mode-card input{flex:0 0 20px;width:20px;height:20px}.xeus-payroll-hub .form-select,.xeus-payroll-hub .btn{min-height:44px}.payroll-context-nav{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin-bottom:1rem;font-size:.9rem}.payroll-context-nav a{display:inline-flex;align-items:center;min-height:44px}.xeus-payroll-scope{min-width:0}.xeus-payroll-scope .table-responsive{max-width:100%;overflow-x:auto}.xeus-payroll-scope .table-responsive:focus-visible{outline:3px solid #6960ed;outline-offset:2px}.xeus-payroll-scope .form-control,.xeus-payroll-scope .form-select{max-width:100%}.xeus-payroll-scope .modal-body{overflow-wrap:anywhere}.xeus-payroll-scope .btn{min-height:40px;white-space:normal}.xeus-payroll-scope h1,.xeus-payroll-scope h2,.xeus-payroll-scope .card-header{overflow-wrap:anywhere}
@media(max-width:1100px){.payroll-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.payroll-hub-grid{grid-template-columns:1fr}.payroll-section-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-section-link{padding:.55rem;font-size:.82rem}.payroll-hub-card{padding:1rem;min-height:100px}.xeus-payroll-scope .btn{min-height:44px}.xeus-payroll-scope .d-flex.flex-wrap{min-width:0}.xeus-payroll-scope .modal-dialog{margin:.5rem}.xeus-payroll-scope .modal-footer .btn{max-width:100%}}
.payroll-panel-tabs{display:flex;flex-wrap:wrap;gap:.25rem;border-bottom:1px solid var(--cui-border-color,#dde3ea);margin-bottom:1rem;width:100%}.payroll-panel-tab{border:0;border-bottom:3px solid transparent;background:transparent;padding:.6rem .9rem;min-height:44px;color:var(--cui-body-color,#334155);font-weight:600}.payroll-panel-tab[aria-selected=true]{border-color:#1677ff;color:#1466cf}.payroll-panel-tab:focus-visible{outline:3px solid #1677ff;outline-offset:-3px}.payroll-panel-content{width:100%;min-width:0}.payroll-workspace-panel{width:100%;max-width:100%;flex:none}.payroll-workspace-panel[hidden]{display:none!important}.payroll-panel-content>.row{margin:0}.payroll-panel-content>.row>*{min-width:0}.xeus-payroll-scope{font-family:system-ui,-apple-system,"Segoe UI",sans-serif}.xeus-payroll-scope .card{box-shadow:0 1px 3px rgba(16,24,40,.06)!important}.xeus-payroll-scope .card-body{padding:16px}.xeus-payroll-scope .xeus-page-toolbar{margin-bottom:1rem!important}.payroll-context-nav{margin-bottom:.5rem}.payroll-context-nav a{min-height:36px}.payroll-hub-card{min-height:98px;padding:1rem}.payroll-section-link:hover,.payroll-section-link.active{background:#eef5ff;color:#1466cf}.payroll-hub-icon{color:#1466cf;background:#eef5ff}
.payroll-panel-tabs{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain}.payroll-panel-tab{flex:0 0 auto;white-space:nowrap}.xeus-payroll-scope summary{min-height:44px;cursor:pointer}.xeus-payroll-scope summary:focus-visible{outline:3px solid #1677ff;outline-offset:2px}@media(max-width:600px){.xeus-payroll-scope .payroll-analytics .metric{min-height:80px}.xeus-payroll-scope .payroll-analytics .metric .card-body{padding:12px!important}.xeus-payroll-scope .payroll-analytics .metric .value{font-size:1rem}}

.xeus-payroll-scope .btn-primary{background:#1677ff;border-color:#1677ff;color:#fff}.xeus-payroll-scope .btn-primary:hover{background:#095ecc;border-color:#095ecc}.xeus-payroll-scope .btn-outline-primary{color:#1466cf;border-color:#1677ff}.xeus-payroll-scope .btn-outline-primary:hover{background:#eef5ff;color:#095ecc}
.xeus-payroll-scope .btn,.xeus-payroll-scope .form-control,.xeus-payroll-scope .form-select{min-height:44px}

/* Company modes remain compact while each entire label is a touch target. */
.xeus-payroll-hub .payroll-mode-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.xeus-payroll-hub .payroll-mode-grid .payroll-mode-card{padding:.75rem;gap:.6rem;align-items:flex-start}.xeus-payroll-hub .payroll-mode-card>span{min-width:0;overflow-wrap:anywhere}@media(max-width:600px){.xeus-payroll-hub .payroll-mode-grid .payroll-mode-card{font-size:.85rem}.xeus-payroll-hub .payroll-mode-card .small{font-size:.78rem;line-height:1.4}}

/* Listas cortas y columnas legibles en pantallas pequeñas. */
.xeus-payroll-scope .table{min-width:700px}.xeus-payroll-scope .table th{white-space:nowrap}.xeus-payroll-scope .table td{min-width:80px}.xeus-payroll-scope .payroll-pro>.nav{flex-wrap:nowrap;overflow-x:auto}.xeus-payroll-scope .payroll-pro>.nav .nav-link{white-space:nowrap}.xeus-payroll-scope .payroll-pro .metric{min-height:76px}.xeus-payroll-scope .payroll-pro .metric .card-body{padding:8px!important}.xeus-payroll-scope .payroll-pro .metric .fs-4{font-size:1.1rem!important}
@media(max-width:575px){.xeus-payroll-scope .table td{max-width:280px}.xeus-payroll-scope .table-responsive{overscroll-behavior-x:contain}.xeus-payroll-scope .payroll-pro .metric small{font-size:.72rem}}
.xeus-payroll-scope .table td{white-space:nowrap}.xeus-payroll-scope .table td strong,.xeus-payroll-scope .table td.fw-semibold{min-width:220px;max-width:280px;white-space:normal}.xeus-payroll-scope .table td strong{display:block}.xeus-payroll-scope .table td:has(strong){min-width:220px}
.xeus-payroll-scope .modal-dialog-scrollable .modal-content>form{display:flex;flex-direction:column;min-height:0;max-height:100%;flex:1 1 auto;overflow:hidden}.xeus-payroll-scope .modal-dialog-scrollable .modal-content>form>.modal-body{flex:1 1 auto;min-height:0;overflow-y:auto}.xeus-payroll-scope .modal-dialog-scrollable .modal-header,.xeus-payroll-scope .modal-dialog-scrollable .modal-footer{flex:0 0 auto}
