/* Registros ATK — propuesta local 2026. Presentación; reglas y permisos existentes. */
:root{--bg:#090f19;--bg2:#0e1624;--bg3:#142033;--bg4:#18263c;--card:#101b2c;--border:#26364d;--border2:#344864;--text:#e8effa;--text2:#9bafcc;--text3:#748eaf;--accent:#3384ff;--accent2:#1d6be0;--green:#50dfb6;--amber:#f1bc58;--red:#ef7880;--teal:#4ad5de;--radius:10px;--radius-sm:7px;--sidebar-w-expanded:194px;--sidebar-w:194px}
body{font-size:12px;background:#090f19}
.app{background:radial-gradient(ellipse at 75% 0,rgba(24,66,110,.08),transparent 55%),#090f19;color:var(--text);min-height:100vh}
.sidebar{width:194px;background:linear-gradient(180deg,#101d2d,#0b1523 65%);border-right:1px solid #21334a;box-shadow:none}
.sidebar-head{padding:20px 15px 10px;min-height:87px;position:relative}
.sidebar-logo{display:flex;align-items:center;justify-content:center;padding:0;min-height:56px}
.sidebar-logo img{width:138px;height:58px;object-fit:contain}
.sidebar-logo::before,.sidebar-logo::after,.sidebar-logo .brand,.sidebar-logo .sub{display:none!important}
.sidebar-toggle{position:absolute;right:6px;top:8px;width:22px;height:22px;font-size:15px;border:0;background:transparent;color:#7f9ac0;opacity:.65}
.sidebar-top-actions{padding:0 12px 6px}
.sidebar-top-actions .logout-btn{padding:5px;font-size:10px;border:0;background:transparent;color:#7995b9}
.nav{padding:0 9px;gap:0}
.nav-section{margin:9px 0 5px}
.nav-section-title{font-size:9px;font-weight:500;letter-spacing:.08em;color:#6f8bad;padding:8px 10px;margin-bottom:4px}
.nav-item{padding:8px 10px;min-height:32px;gap:9px;border-radius:6px;font-size:11px;font-weight:400;border:1px solid transparent;color:#a6bbd5;margin-bottom:2px;position:relative}
.nav-item:hover{background:#152a42;border-color:#253d5b}
.nav-item.active{background:linear-gradient(100deg,#173f76,#133263);border-color:#265595;color:#eff7ff;box-shadow:inset 2px 0 0 #409bff}
.nav-icon{width:17px;height:17px;display:grid;place-items:center;color:#8aafd9}
.nav-item.active .nav-icon{color:#bee2ff}
.nav-icon svg{width:17px;height:17px}
.nav-badge{min-width:19px;padding:1px 5px;font-size:9px;background:rgba(65,141,240,.14);color:#78b6ff;border:1px solid #25436a}
.sidebar-footer{padding:12px;border-top:1px solid #22334a;background:#0b1523}
.user-badge{gap:8px}.user-name{font-size:10px;font-weight:600}.user-role{font-size:9px;color:#7190b7}.user-avatar{font-weight:600}
.sidebar-footer .logout-btn{font-size:9px;margin:7px 0 0}.app-version{font-size:8px;opacity:.6;margin-top:4px}
.main{margin-left:194px;padding:24px 24px 32px;max-width:none;min-width:0}
.page-header{margin-bottom:19px;position:relative;padding-right:0}
.page-title{font-size:22px!important;line-height:1.2;font-weight:650;letter-spacing:-.6px;margin-bottom:6px}
.page-sub{font-size:11px;line-height:1.5;color:#8da6c8;max-width:840px}
.ui-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.ui-page-heading .page-header{margin:0}.ui-period-chip{display:flex;align-items:center;gap:8px;border:1px solid #2c4567;border-radius:7px;padding:8px 11px;color:#c9daf0;font-size:10px;white-space:nowrap}.ui-period-chip svg{width:14px;height:14px;color:#82b7f4}
.preview-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #3c4d37;border-radius:7px;background:#19251e;color:#b9cbb7;font-size:10px;padding:8px 12px;margin-bottom:18px}.preview-notice strong{color:#bcecb0;font-weight:600}.preview-notice a{color:#bcecb0;text-decoration:none;font-size:10px}
.stat-grid{gap:12px;margin-bottom:18px}.stat-card{padding:16px;border-radius:9px;background:linear-gradient(130deg,#132136,#0e1a2a);border:1px solid #293e59;box-shadow:none;min-height:98px}
.stat-label{color:#93abcb;font-size:10px;font-weight:500;letter-spacing:.02em;text-transform:none;margin-bottom:9px}.stat-value{font-size:23px!important;letter-spacing:-.5px;font-weight:650;line-height:1.2}.stat-sub{color:#7592b5;font-size:9px;line-height:1.4;margin-top:7px}
.table-wrap,.form-card{border:1px solid #253b57;background:linear-gradient(120deg,#111e30,#0e1929);border-radius:9px;box-shadow:none;margin-bottom:18px}
.table-header{padding:12px 14px;gap:9px;background:rgba(17,33,53,.65);border-bottom:1px solid #253b57;min-height:52px}.table-title{font-size:12px;font-weight:600;min-width:130px;color:#dce9fb}
.ui-table-scroll{width:100%;overflow-x:auto;scrollbar-width:thin}.ui-table-scroll>table{min-width:740px;width:100%;margin:0}
table{font-size:11px;border-collapse:collapse;width:100%}th{font-size:9px!important;font-weight:550;letter-spacing:.045em;background:#14233a;color:#9eb7da;padding:11px 12px;border-bottom:1px solid #2a3d56;white-space:nowrap}td{font-size:10.5px;padding:11px 12px;line-height:1.45;border-bottom:1px solid #243348;color:#d9e5f6;vertical-align:middle}
tbody tr{background:transparent;transition:background .12s}tbody tr:hover{background:rgba(49,119,205,.07)}tbody tr:last-child td{border-bottom:0}td small{font-size:9px}td .user-avatar{flex-shrink:0}
.search-input,.filter-select,.form-input,.form-select{font-size:11px;background:#101c2e;border:1px solid #2b405d;color:#dce9f8;border-radius:6px;min-height:32px;padding:7px 10px;box-shadow:none}.search-input{min-width:180px}.search-input::placeholder{color:#7490b2}.search-input:focus,.filter-select:focus,.form-input:focus,.form-select:focus{border-color:#478feb;outline:none;box-shadow:0 0 0 2px #2f75bc18}
.btn-sm,.action-btn,.pill-action{font-size:10px!important;padding:6px 10px;line-height:1.2;min-height:28px;border-radius:6px;font-weight:500}.btn-sm{border-color:#365b89;color:#88bbfa}.btn-sm:hover{background:#194376;border-color:#3d8aeb}.btn-primary,.submit-btn{font-size:11px;padding:9px 15px;border-radius:6px;background:#2878f2;box-shadow:none;min-height:34px}.btn-primary:hover,.submit-btn:hover{background:#3d89fa}.btn-sm.success,.pill-action.success{border-color:#276654;background:#10372f55;color:#68dcb7}.btn-sm.danger,.pill-action.danger,.action-btn.danger{border-color:#693941;background:#44232922;color:#e98d95}
.days-chip,.badge{font-size:9px;padding:4px 7px;line-height:1.25;border-radius:5px;font-weight:500;white-space:nowrap}.days-chip.ok{background:#103a30;color:#64d9b5;border:1px solid #1d5f4d}.days-chip.warn{background:#3b301b;color:#e8ba63;border:1px solid #65532a}.days-chip.danger{background:#3d222d;color:#ed939e;border:1px solid #693b48}.days-chip.holiday{color:#91d3fb;background:#193c56;border:1px solid #2b668b}.badge.web{background:#103b47;color:#65dce9;border:1px solid #1b5866}
.tabs{gap:19px;padding:0 5px;border-bottom:1px solid #293a50;margin-bottom:15px!important}.tab{font-size:11px;padding:10px 8px;color:#94adcd;border-radius:0;background:transparent;border:0;border-bottom:2px solid transparent;white-space:nowrap}.tab.active{color:#61b0ff;background:transparent;border-color:#378fff}
.alert-banner{padding:11px 13px;border-radius:7px;font-size:11px;margin-bottom:14px;box-shadow:none;background:#2b251a77;border:1px solid #66533466}.ab-icon{font-size:15px}.ab-text{font-size:10px;line-height:1.6}.empty-state{padding:34px 20px}.empty-state p{font-size:11px}
.pagination,.pagination-wrap,.table-pagination{padding:12px 14px;font-size:10px;border-top:1px solid #26374f}.page-btn,.pagination button{font-size:10px!important;min-height:27px;min-width:27px;border-radius:5px}.page-btn.active{background:#2679ef}
/* Existing financial controls and calculations remain in their original handlers. */
.dashboard-user-hero{padding:18px;border:1px solid #2a405c;border-radius:9px;background:linear-gradient(110deg,#142840,#102033);box-shadow:none;margin-bottom:16px;gap:15px;min-height:0}.dashboard-user-avatar{width:44px;height:44px;font-size:15px}.dashboard-user-title{font-size:19px}.dashboard-user-kicker{font-size:9px;letter-spacing:.08em}.dashboard-user-chips{gap:7px;font-size:10px}.dashboard-user-stat-card{padding:9px 12px;min-height:0;border-radius:7px}.dashboard-user-stat-value{font-size:20px}.dashboard-user-stat-label,.dashboard-user-stat-sub{font-size:9px}
.dashboard-summary-grid{gap:11px;margin-bottom:16px}.dashboard-summary-card{padding:16px;border:1px solid #2a405c;border-radius:8px;background:#111f32;min-height:108px;box-shadow:none}.dashboard-summary-label{font-size:9px}.dashboard-summary-value{font-size:23px;line-height:1.2}.dashboard-summary-sub{font-size:9px}.dashboard-summary-icon{font-size:20px;opacity:.7}
.dashboard-banner{border-radius:7px;padding:10px 13px;margin-bottom:10px;box-shadow:none}.dashboard-banner-copy{font-size:10px}.dashboard-banner-icon{width:25px;height:25px;font-size:16px}.dashboard-banner-action{font-size:10px;padding:6px 9px}.dashboard-top-strip{gap:9px}.dashboard-top-pill{border-radius:7px;padding:10px 12px}.dashboard-section-title{font-size:13px;margin:18px 0 12px}.dashboard-user-card{padding:13px;border:1px solid #2b415d;border-radius:8px;background:#122037;box-shadow:none}.dashboard-user-name{font-size:11px}.dashboard-user-amount{font-size:19px}.dashboard-user-sub,.dashboard-user-meta{font-size:9px}.dashboard-note{font-size:10px}
.stats-summary-value{font-size:24px!important}.stats-summary-label{font-size:10px}.stats-summary-sub{font-size:9px}.stats-summary-card{padding:16px;border-radius:9px;background:#132138;border:1px solid #2b405a;box-shadow:none}.stats-card-grid{gap:12px}.stats-section-panel,.stats-compact-card{border-radius:8px;border-color:#293e59;background:#101d30;padding:15px;box-shadow:none}.stats-section-title{font-size:13px}.stats-section-sub,.stats-muted,.stats-footer-note{font-size:10px}.stats-compact-grid{gap:12px}.stats-bar-label,.stats-bar-metric,.stats-card-parameter-name,.stats-card-parameter-value{font-size:10px}.stats-bar-track{height:7px}.stats-card-parameters{padding:10px}.stats-user-name{font-size:11px}.stats-commission-pill{font-size:10px}
.attendance-hero{padding:0;margin-bottom:18px;min-height:0;background:none;border:0;box-shadow:none}.attendance-hero-icon{width:34px;height:34px;border-radius:8px;font-size:19px}.attendance-hero .page-title{font-size:22px}.attendance-hero .page-sub{font-size:11px}.attendance-source-card{padding:10px 13px;border:1px solid #283d56;border-radius:7px;margin-bottom:15px;background:#102038}.attendance-source-title,.attendance-source-meta{font-size:10px}.attendance-source-icon{width:27px;height:27px;font-size:15px}
.workers-panel{background:transparent;border:0;padding:0}.workers-toolbar{padding:0 0 14px;gap:12px;align-items:center}.workers-heading{display:none}.workers-filters{gap:8px}.workers-grid{padding:0;gap:13px;grid-template-columns:repeat(4,minmax(0,1fr))}.worker-card{background:linear-gradient(130deg,#13233a,#101b2c);border:1px solid #2a405c;border-radius:8px;padding:14px;box-shadow:none}.worker-head{gap:8px;padding-bottom:12px;margin-bottom:0}.worker-identity{gap:9px;min-width:0}.worker-identity .user-avatar{width:35px!important;height:35px!important;font-size:12px!important}.worker-identity>div:last-child{min-width:0}.worker-identity h3{font-size:11px!important;font-weight:600;line-height:1.4}.worker-identity p{font-size:9px;line-height:1.5;color:#85a2c6}.worker-more{font-size:17px;width:20px;height:24px;flex-shrink:0}.worker-facts{gap:13px 8px;padding:13px 0}.worker-fact{gap:7px;min-width:0}.worker-fact svg{width:14px;height:14px;margin-top:1px;flex-shrink:0}.worker-fact span{font-size:9px;color:#80a0c8;line-height:1.4}.worker-fact strong{font-size:10px;line-height:1.5;font-weight:500}.worker-details{margin:0 0 10px;border:1px solid #28405e;border-radius:5px;background:#102038;padding:0}.worker-details summary{font-size:10px;padding:8px}.worker-extra{padding:10px;gap:12px}.worker-bank{padding:0;border-color:#24384f;font-size:10px;margin:0 0 11px}.worker-bank summary{padding:8px 0;font-size:10px;gap:7px}.worker-bank summary svg{width:15px;height:15px}.worker-bank small{font-size:9px}.worker-actions{gap:6px;flex-wrap:nowrap;padding:0}.worker-actions .btn-sm{min-width:0;padding:6px;font-size:8.5px!important;flex:1;white-space:nowrap}.worker-edit{color:#76b7ff!important;border-color:#397dd0!important}.workers-page-info{font-size:10px;padding:14px 0}.workers-unlinked{margin-top:15px}
.safetypay-admin-overview{grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:14px;margin-bottom:16px}.safetypay-settings-card,.safetypay-cmr-card{border:1px solid #2b4854;border-radius:9px;min-height:120px;padding:17px 19px;background:linear-gradient(110deg,#10262e,#11212e);box-shadow:none}.safetypay-cmr-total{font-size:27px!important;letter-spacing:-.6px}.safetypay-cmr-title{font-size:9px;letter-spacing:.06em}.safetypay-cmr-comparison{font-size:10px;margin-top:9px}.safetypay-cmr-logo{width:140px!important;max-height:48px;object-fit:contain;opacity:.9}.safetypay-settings-card h3{font-size:13px}.safetypay-settings-card p{font-size:10px}.safetypay-goal-grid{gap:12px}.safetypay-goal-card{border:1px solid #2a435c;border-radius:9px;padding:16px;box-shadow:none;background:#112134}.safetypay-goal-card .stat-value{font-size:23px!important}.safetypay-goal-card .stat-label{font-size:9px}.safetypay-goal-card .stat-sub{font-size:10px}.safetypay-goal-card .progress{height:7px}
.referrals-table th,.referrals-table td{white-space:nowrap}.referral-actions{gap:5px}.referrals-table tbody tr{height:46px}.referrals-table .referral-actions .action-btn,.referrals-table .referral-actions .pill-action{font-size:9px!important;padding:5px 8px;min-height:26px}
.ui-create-panel{border:1px solid #2a415e;background:#101e31;border-radius:7px;margin-bottom:16px}.ui-create-panel>summary{padding:11px 14px;cursor:pointer;color:#8ec5ff;font-size:11px;font-weight:500;display:flex;gap:8px;align-items:center;list-style:none}.ui-create-panel>summary::-webkit-details-marker{display:none}.ui-create-panel>summary svg{width:14px;height:14px}.ui-create-panel[open]>summary{border-bottom:1px solid #28405c}.ui-create-panel>.form-card{border:0;border-radius:0;background:none;padding:16px;margin:0;box-shadow:none}
.form-card{padding:18px}.form-grid{gap:14px}.form-label{font-size:10px}.form-group label{font-size:10px}.modal{border:1px solid #2c4563;border-radius:12px;background:#101e31;box-shadow:0 25px 80px #0008}.modal h3{font-size:17px}.modal-overlay{background:#030912b8;backdrop-filter:blur(4px)}.salary-modal{max-width:980px!important;width:calc(100vw - 60px);padding:23px}.salary-detail-head h3{font-size:18px}.salary-total-box strong{font-size:25px}.salary-summary-box{padding:12px;border:1px solid #2b435f;border-radius:8px;background:#15253a}.salary-summary-item span{font-size:10px}.salary-summary-item strong{font-size:14px}.salary-mini-card{padding:12px;border-radius:7px;background:#13233a}.salary-mini-card span{font-size:10px}.salary-mini-card strong{font-size:15px}.salary-breakdown{gap:13px}.salary-break-card{padding:14px;border-radius:8px;border-color:#2a415e;background:#102033}.salary-break-title{font-size:11px}.salary-break-card>div{font-size:10.5px;padding:8px 0;gap:12px}.salary-break-card strong{font-size:11px}.salary-break-total{color:#62dfbd!important}.salary-detail-head{gap:15px}
.collaborator-edit-section{border-color:#2b415e;background:#132139;border-radius:8px}.collaborator-edit-section h4{font-size:12px}.collaborator-edit-head h3{font-size:18px}
body[data-local-preview=true] .login-wrap:not(.turnos-login){background:#0a1423}
@media(min-width:1650px){.main{padding:28px 30px}.workers-grid{gap:16px}.worker-card{padding:17px}.worker-actions .btn-sm{font-size:9px!important}}
@media(max-width:1400px){.workers-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-grid{gap:10px}}
@media(max-width:1050px){.main{padding:20px 18px}.workers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-compact-grid{grid-template-columns:1fr}.safetypay-admin-overview{grid-template-columns:1fr}.ui-page-heading{gap:8px}.ui-period-chip{display:none}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.sidebar{width:65px}.main{margin-left:65px;padding:16px 12px}.sidebar-logo img{width:48px;height:30px}.sidebar-head{min-height:55px;padding:12px 4px}.sidebar-toggle,.nav-label,.nav-section-title,.sidebar-top-actions,.sidebar-footer .user-meta,.sidebar-footer .logout-btn,.app-version{display:none}.nav-item{padding:10px;justify-content:center}.nav-icon{width:19px;height:19px}.sidebar-footer{padding:12px 7px}.workers-grid{grid-template-columns:1fr}.page-title{font-size:20px!important}.preview-notice{font-size:9px;align-items:flex-start}.preview-notice a{display:none}.salary-modal{width:calc(100vw - 20px);padding:15px}.salary-breakdown{grid-template-columns:1fr}.dashboard-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ui-dashboard-charts{display:grid;grid-template-columns:1.45fr 1fr;gap:13px;margin-bottom:18px}.ui-chart-card{border:1px solid #29405c;border-radius:8px;background:#101e31;padding:15px;min-width:0}.ui-chart-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;font-size:10px;color:#819fc4}.ui-chart-title strong{font-size:12px;font-weight:600;color:#dce9fc}.ui-chart-title span{font-size:9px}.ui-dot{display:inline-block;width:5px;height:5px;border-radius:50%;margin:0 4px 1px 10px}.ui-dot.blue{background:#4696ff}.ui-dot.mint{background:#50dfb6}.ui-line-chart{width:100%;height:142px;display:block}.ui-chart-axis{display:flex;justify-content:space-between;font-size:9px;color:#6786ac;padding:0 15px}.ui-sede-bars{display:grid;gap:20px;padding:10px 0}.ui-sede-bars>div{display:grid;grid-template-columns:65px 1fr 35px;align-items:center;gap:12px;font-size:10px;color:#a1b8d6}.ui-sede-bars strong{text-align:right;font-size:10px;color:#dae7f8;font-weight:500}.ui-bar-track{height:7px;border-radius:5px;background:#1c304b;overflow:hidden}.ui-bar-track i{display:block;height:100%;background:linear-gradient(90deg,#3384ff,#65b3ff);border-radius:5px}@media(max-width:1050px){.ui-dashboard-charts{grid-template-columns:1fr}}
.dashboard-shell{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.dashboard-user-hero{grid-template-columns:minmax(0,1fr) auto;padding:14px 17px;border-radius:8px}.dashboard-user-hero-main{gap:11px}.dashboard-user-hero-main>.user-avatar{width:42px!important;height:42px!important;font-size:16px!important}.dashboard-user-stats{flex-direction:row;align-items:center;gap:12px;border:0;padding:0}.dashboard-user-stats-grid{display:flex;gap:8px}.dashboard-user-stat-card{padding:8px 11px;min-height:0;display:flex;align-items:center;gap:8px}.dashboard-user-stat-icon{width:24px;height:24px;font-size:13px}.dashboard-user-stat-value{font-size:18px}.dashboard-date-chip{font-size:10px;padding:7px 9px;border-radius:6px}.dashboard-user-stat-label,.dashboard-user-stat-sub{font-size:9px}.dashboard-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.dashboard-summary-card{padding:13px;min-height:96px}.dashboard-summary-icon{width:27px;height:27px;font-size:14px;background:transparent}.dashboard-summary-value{font-size:22px}.dashboard-user-title{font-size:17px}.dashboard-user-hero-action{font-size:10px;min-width:125px;min-height:32px;border-radius:6px}@media(max-width:1050px){.dashboard-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-user-hero{grid-template-columns:1fr}.dashboard-user-stats{justify-content:flex-start}}@media(max-width:720px){.dashboard-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.dashboard-user-avatar,.dashboard-user-avatar>.user-avatar{width:42px!important;height:42px!important;font-size:16px!important;border-radius:50%;flex-shrink:0}.dashboard-summary-label{min-height:24px}.dashboard-summary-card{min-height:112px}.sidebar-collapsed .main{margin-left:65px}.sidebar-collapsed .sidebar{width:65px}.sidebar-collapsed .sidebar-logo img{width:48px;height:35px}.sidebar-collapsed .sidebar-head{padding:12px 5px;min-height:57px}.sidebar-collapsed .preview-notice{margin-top:0}
.stats-card-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;align-items:start}.stats-summary-card,.stats-summary-card:has(.stats-card-parameters){min-height:0;padding:15px}.stats-summary-icon{position:absolute;top:12px;right:12px;width:27px;height:27px;font-size:14px;margin:0}.stats-summary-label{font-size:9px;letter-spacing:.025em;max-width:none;padding-right:24px;min-height:27px}.stats-summary-value{font-size:23px!important;margin-top:7px}.stats-summary-sub{font-size:9px;margin-top:8px;min-height:27px}.stats-card-parameters{padding:0;margin-top:8px}.stats-card-parameters summary{font-size:9px;font-weight:500}.stats-section-head{padding-bottom:12px}.worker-head{min-height:62px}.workers-filters .search-input,.workers-filters .filter-select,.workers-filters .btn-primary{height:34px;font-size:10px}.workers-filters .search-input{width:250px}.workers-filters .filter-select{width:140px}.workers-toolbar{margin-bottom:12px}@media(max-width:1050px){.stats-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.stats-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.worker-details summary{border:0;min-height:29px;background:transparent}.collaborator-edit-overlay{align-items:center;justify-content:center;padding:18px}.collaborator-edit-modal{width:calc(100vw - 60px);max-width:1120px;min-height:0;max-height:92vh;padding:17px;background:#101e31}.collaborator-edit-head{min-height:76px;padding:13px 15px;margin-bottom:14px;border-radius:8px;background:#14243a}.collaborator-edit-head h3{font-size:16px!important}.collaborator-edit-head .user-avatar{width:45px!important;height:45px!important;font-size:17px!important}.collaborator-edit-head .page-sub{font-size:10px}.collaborator-edit-role,.collaborator-edit-role strong{font-size:10px}.collaborator-edit-body,.collaborator-edit-column{gap:13px}.collaborator-edit-card{padding:15px;border-radius:8px;background:#122138}.collaborator-card-heading{margin-bottom:14px!important}.collaborator-card-heading h4{font-size:13px!important}.collaborator-card-heading svg{width:20px;height:20px}.collaborator-edit-grid,.collaborator-user-grid{gap:12px}.collaborator-edit-field>label,.collaborator-edit-field>span{font-size:10px!important}.collaborator-edit-field input,.collaborator-edit-field select,.collaborator-edit-card .search-input,.collaborator-edit-card .filter-select{height:34px!important;min-height:34px!important;font-size:11px!important}.collaborator-edit-modal .modal-actions{padding:10px;border-radius:7px;bottom:-17px}.collaborator-edit-modal .modal-actions button{min-width:110px;font-size:11px;min-height:32px}.collaborator-access-details summary{font-size:10px;padding:10px}.collaborator-help{font-size:9px}
.ui-salary-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:16px}.ui-salary-table{table-layout:fixed;min-width:950px!important}.ui-salary-table th:nth-child(3),.ui-salary-table td:nth-child(3),.ui-salary-table th:nth-child(4),.ui-salary-table td:nth-child(4),.ui-salary-table th:nth-child(5),.ui-salary-table td:nth-child(5),.ui-salary-table th:nth-child(6),.ui-salary-table td:nth-child(6){display:none}.ui-salary-table th:first-child,.ui-salary-table td:first-child{width:215px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-salary-table th:nth-child(2),.ui-salary-table td:nth-child(2){width:130px;font-size:10px}.ui-salary-table td:nth-child(2) div{display:none}.ui-salary-table th:nth-child(7),.ui-salary-table th:nth-child(8),.ui-salary-table th:nth-child(9){width:100px}.ui-salary-table td:nth-child(7),.ui-salary-table td:nth-child(8),.ui-salary-table td:nth-child(9){white-space:nowrap;font-size:11px!important;font-weight:600!important}.ui-salary-table th:nth-child(10){width:150px}.ui-salary-table th:last-child{width:125px}.ui-salary-table td{height:64px;padding:10px 12px}.ui-salary-table td:nth-child(9){color:#62dfbd}.ui-salary-table .days-chip{font-size:8px;padding:3px 6px}.ui-salary-table td:first-child small{font-size:9px}.ui-salary-table td .action-btn{font-size:9px!important;padding:5px 7px}.ui-salary-table td:last-child{white-space:nowrap}
@media(max-width:720px){.ui-salary-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ui-attendance-summary{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:14px}.ui-review-panel{border:1px solid #4e4a30;border-radius:7px;background:#27271c55;margin:0 0 15px}.ui-review-panel>summary{font-size:11px;color:#d5be7c;padding:11px 13px;cursor:pointer}.ui-review-panel>.table-wrap{border:0;margin:0;border-radius:0 0 7px 7px}.ui-source-panel{margin:0 0 12px}.ui-source-panel>summary{font-size:10px;color:#7a96b9;cursor:pointer;padding:3px 0}.ui-source-panel .attendance-source-card{margin:8px 0 0}.attendance-shell .attendance-hero{margin-bottom:12px}.attendance-shell>.table-wrap .ui-table-scroll>table{min-width:1030px}.attendance-shell>.table-wrap .ui-table-scroll>table td{padding:10px 11px;white-space:nowrap}.attendance-shell .attendance-hero-copy{gap:11px}
.ui-analysis-summary{border:1px solid #29405a;background:#102035;border-radius:7px;margin:0 0 16px}.ui-analysis-summary>summary{padding:10px 13px;cursor:pointer;font-size:10px;color:#8eb7e8}.ui-analysis-summary>.stat-grid{margin:0;padding:14px;gap:13px}.ui-rating-table{min-width:1120px!important;table-layout:fixed}.ui-rating-table th:first-child{width:100px}.ui-rating-table th:nth-child(2){width:170px}.ui-rating-table th:nth-child(3){width:90px}.ui-rating-table th:nth-child(4){width:90px}.ui-rating-table th:nth-child(5){width:85px}.ui-rating-table th:nth-child(6){width:185px}.ui-rating-table th:nth-child(7){width:115px}.ui-rating-table th:nth-child(8){width:195px}.ui-rating-table th:last-child{width:90px}.ui-rating-table td{height:58px;padding:10px;overflow:hidden;text-overflow:ellipsis}.ui-rating-table td:nth-child(7){display:table-cell!important;white-space:nowrap}.ui-rating-table td:nth-child(7) .inline-actions:empty{display:none}.ui-rating-table .ui-rating-actions{overflow:visible;white-space:nowrap}.ui-rating-primary{display:inline-flex;align-items:center;gap:5px;vertical-align:middle}.ui-rating-primary button{font-size:9px!important;padding:5px 7px}.ui-row-menu{display:inline-block;vertical-align:middle;margin-left:5px}.ui-row-menu>summary{display:block;list-style:none;cursor:pointer;font-size:16px;color:#80a8d9;padding:2px 7px;border:1px solid #294464;border-radius:5px;line-height:20px}.ui-row-menu>summary::-webkit-details-marker{display:none}.ui-row-menu-content{position:fixed;z-index:10000;min-width:145px;padding:7px;background:#14263e;border:1px solid #36587e;box-shadow:0 12px 30px #0008;border-radius:6px;display:grid;gap:5px}.ui-row-menu-content button{font-size:10px!important;text-align:left;width:100%;min-height:27px}.ui-row-menu:not([open])>.ui-row-menu-content{display:none}
.safetypay-goal-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px}.safetypay-goal-card.compact{display:block;position:relative;padding:14px;border-radius:8px;min-height:137px}.safetypay-goal-card.compact .goal-big{font-size:21px!important;font-weight:650;letter-spacing:-.5px;line-height:1.35;margin:10px 0 5px}.safetypay-goal-card.compact .goal-target{font-size:10px}.safetypay-goal-card.compact .goal-message{font-size:9px;margin-top:7px;line-height:1.4}.safetypay-goal-card.compact .goal-ring{position:absolute;right:12px;top:10px;width:auto;height:auto;min-width:42px;padding:3px 5px;border:0;border-radius:5px;background:#1a4a3a55}.safetypay-goal-card.compact .goal-ring strong{font-size:9px}.safetypay-goal-card.compact .stat-label{font-size:8px;max-width:calc(100% - 42px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.safetypay-goal-card.compact .goal-bar{height:6px;margin-top:13px;border-radius:5px}.safetypay-goal-card.compact .goal-bar span{background:linear-gradient(90deg,#3ab5dd,#55dfb6)}@media(max-width:1050px){.safetypay-goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media(max-width:720px){.safetypay-goal-grid{grid-template-columns:1fr!important}}
.referrals-table tbody tr{height:52px!important}.referrals-table td{padding:8px 10px!important;line-height:13px}.referrals-table th{white-space:normal;line-height:13px}.main[data-view=referidos] #resetReferralMonth{font-size:9px!important;border-color:#35445a;color:#8099ba;padding:5px 8px}.ui-rating-table td:nth-child(7)>.inline-actions{min-height:0;margin:0!important}
.page-title{font-size:16px!important}.page-header .page-title,.attendance-hero .page-title{font-size:22px!important}.ui-analysis-summary>.form-card{max-width:none;width:100%;border:0;background:transparent;margin:0!important;padding:14px}.main[data-view=safetypay]>.stat-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.main[data-view=safetypay]>.stat-grid>.stat-card:nth-child(n+3) .stat-value{font-size:16px!important}.main[data-view=safetypay] .form-card .page-title{font-size:13px!important}@media(max-width:1050px){.main[data-view=safetypay]>.stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.worker-facts{min-height:0;padding:12px 0;gap:12px 8px}.worker-head{min-height:54px}.worker-fact span{margin-bottom:4px}
