@import url('https://fonts.googleapis.com/css2?family=Ropa+Sans&display=swap');


:root{--lime:#c8d500;--ink:#171717;--muted:#70757b;--bg:#f5f6f6;--card:#fff;--line:#e7e8e8;--danger:#e45b5b;--warn:#e5a52e;--ok:#36a269;--sidebar:#fff;--shadow:0 8px 30px rgba(0,0,0,.06);--r:18px}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}.app{display:flex;min-height:100vh}.sidebar{width:245px;background:var(--sidebar);border-right:1px solid var(--line);padding:26px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:10}.brand{display:flex;align-items:center;gap:9px;padding:0 10px 28px;font-size:29px;font-weight:900;letter-spacing:-1.8px}.brand .lime{color:var(--lime)}.brand-logo{display:block;width:185px;height:auto;object-fit:contain;object-position:left center}.brandmark{width:31px;height:31px;border:4px solid var(--ink);border-radius:50%;position:relative}.brandmark:before{content:'';position:absolute;width:9px;height:4px;background:var(--ink);left:-6px;top:2px;transform:rotate(-48deg);border-radius:4px}.brandmark:after{content:'•';position:absolute;color:var(--lime);font-size:21px;left:17px;top:-19px}.nav-title{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:#9b9b9b;font-weight:800;margin:15px 10px 8px}.nav button{width:100%;text-align:left;background:transparent;color:#343434;padding:11px 12px;border-radius:11px;margin:2px 0;display:flex;gap:11px;align-items:center;font-weight:600}.nav button:hover{background:#f3f4f4}.nav button.active{background:#f0f2dc;color:#111}.nav .ico{width:20px;text-align:center;font-size:16px}.profile-mini{margin-top:auto;border-top:1px solid var(--line);padding:17px 9px 2px;display:flex;gap:10px;align-items:center}.avatar{width:37px;height:37px;border-radius:50%;background:var(--lime);display:grid;place-items:center;font-weight:900}.profile-mini strong{font-size:13px}.profile-mini small{display:block;color:var(--muted);margin-top:2px}.main{margin-left:245px;width:calc(100% - 245px);min-height:100vh}.topbar{height:74px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:5}.crumb{font-size:13px;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:12px}.role-pill{cursor:pointer;user-select:none;background:#f3f4f4;border:1px solid var(--line);padding:8px 11px;border-radius:999px;font-size:12px;font-weight:800}.role-pill span{color:var(--lime);font-size:16px;vertical-align:-1px}.user-top{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}.content{padding:34px;max-width:1500px;margin:auto}.hello{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:26px}.eyebrow{font-size:12px;color:var(--muted);font-weight:700;margin-bottom:6px}.hello h1{font-size:31px;letter-spacing:-1.2px;margin:0}.date{font-size:13px;color:var(--muted)}.grid{display:grid;gap:18px}.stats{grid-template-columns:repeat(4,1fr);margin-bottom:18px}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow)}.stat{padding:20px}.stat-label{color:var(--muted);font-size:12px;font-weight:700}.stat-value{font-size:28px;font-weight:850;margin-top:8px;letter-spacing:-.8px}.stat-sub{font-size:11px;color:var(--muted);margin-top:5px}.two{grid-template-columns:1.25fr .75fr}.three{grid-template-columns:repeat(3,1fr)}.card-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 15px}.card-head h2{font-size:16px;margin:0}.card-head p{font-size:12px;color:var(--muted);margin:4px 0 0}.body{padding:0 22px 22px}.clock-card{padding:24px;position:relative;overflow:hidden}.clock-card:after{content:'';position:absolute;width:170px;height:170px;border-radius:50%;background:#f2f4d5;right:-55px;top:-65px}.status{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;position:relative;z-index:1}.dot{width:9px;height:9px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px #e4f4ec}.clock-time{font-size:50px;letter-spacing:-2px;font-weight:900;margin:17px 0 5px;position:relative;z-index:1}.clock-meta{display:flex;gap:28px;color:var(--muted);font-size:12px;position:relative;z-index:1}.clock-actions{display:flex;gap:10px;margin-top:24px;position:relative;z-index:1}.btn{padding:11px 17px;border-radius:11px;font-weight:800;font-size:12px}.btn-primary{background:#000;color:#fff}.btn-primary:hover{background:#262626}.btn-lime{background:var(--lime);color:#111}.btn-soft{background:#f1f2f2;color:#222}.btn-danger{background:#fff0f0;color:#b33a3a}.quick{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quick button{background:#fafafa;border:1px solid var(--line);border-radius:13px;padding:17px;text-align:left;font-weight:800}.quick button span{display:block;font-size:20px;margin-bottom:9px}.timeline{display:flex;flex-direction:column}.event{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.event:last-child{border-bottom:0}.event-dot{width:9px;height:9px;border-radius:50%;background:var(--lime);margin-top:5px;flex:0 0 auto}.event strong{font-size:12px}.event small{display:block;color:var(--muted);margin-top:4px;font-size:11px}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:12px}.table th{text-align:left;color:#8a8d90;font-size:10px;text-transform:uppercase;letter-spacing:.7px;padding:12px 14px;border-bottom:1px solid var(--line)}.table td{padding:14px;border-bottom:1px solid var(--line);white-space:nowrap}.table tr:last-child td{border-bottom:0}.badge{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800}.ok{background:#e7f5ed;color:#237d50}.pending{background:#fff5dc;color:#986900}.danger{background:#ffeded;color:#b43b3b}.muted{background:#f0f1f1;color:#666}.page-title{margin-bottom:24px}.page-title h1{margin:0;font-size:27px;letter-spacing:-.8px}.page-title p{margin:7px 0 0;color:var(--muted);font-size:13px}.toolbar{display:flex;justify-content:space-between;gap:10px;margin-bottom:15px}.search{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 13px;min-width:260px;outline:none}.filter{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 13px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;padding:20px}.day{min-height:85px;border:1px solid var(--line);border-radius:11px;padding:9px;background:#fff}.day.mutedday{background:#fafafa;color:#aaa}.day strong{font-size:11px}.day .hours{font-size:15px;font-weight:850;margin-top:16px}.day .tiny{font-size:9px;color:var(--muted);margin-top:2px}.progress{height:8px;background:#ededed;border-radius:20px;overflow:hidden}.progress span{display:block;height:100%;background:var(--lime);border-radius:20px}.notice{padding:14px;border-radius:12px;background:#f7f8e9;font-size:12px;line-height:1.5}.modal-back{position:fixed;inset:0;background:rgba(0,0,0,.35);display:none;align-items:center;justify-content:center;z-index:50;padding:20px}.modal-back.open{display:flex}.modal{background:#fff;width:min(760px,100%);max-height:90vh;overflow:auto;border-radius:20px;padding:25px;box-shadow:0 25px 80px rgba(0,0,0,.2)}.modal h2{margin:0 0 5px;font-size:20px}.modal p{margin:0 0 20px;color:var(--muted);font-size:12px}.form-row{display:grid;gap:7px;margin:13px 0}.form-row label{font-size:11px;font-weight:800}.form-row input,.form-row select,.form-row textarea{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;outline:none}.form-row textarea{min-height:95px;resize:vertical}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.mobile-menu{display:none}.empty{padding:45px;text-align:center;color:var(--muted);font-size:13px}@media(max-width:1000px){.sidebar{width:210px}.main{margin-left:210px;width:calc(100% - 210px)}.stats{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}.three{grid-template-columns:1fr 1fr}}@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:translateX(0)}.main{margin-left:0;width:100%}.mobile-menu{display:block;background:#fff;border:1px solid var(--line);border-radius:9px;padding:8px 10px}.topbar{padding:0 15px}.content{padding:22px 15px}.stats,.three{grid-template-columns:1fr 1fr}.hello{align-items:flex-start;flex-direction:column}.clock-time{font-size:42px}.search{min-width:0;width:100%}.toolbar{flex-direction:column}.top-user-name{display:none}}@media(max-width:480px){.stats,.three{grid-template-columns:1fr}.quick{grid-template-columns:1fr}.clock-meta{gap:14px;flex-wrap:wrap}}

/* CronosPro · settings & responsive improvements */
.field-stack{display:grid;gap:15px}.field{display:grid;gap:7px}.field label{font-size:11px;font-weight:800;color:#333}.field input,.field select{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;outline:none}.field-help{font-size:10px;color:var(--muted);line-height:1.45}.inline-field{display:grid;grid-template-columns:1fr auto;gap:8px}.settings-form{display:grid;gap:10px}.setting-line{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:13px 0;border-bottom:1px solid var(--line)}.setting-line:last-child{border-bottom:0}.setting-line b{display:block;font-size:12px}.setting-line small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.value-control{display:flex;align-items:center;gap:7px;min-width:180px}.value-control input{width:90px;padding:10px;border:1px solid var(--line);border-radius:9px;text-align:right;font-weight:800}.value-control span{font-size:11px;color:var(--muted);white-space:nowrap}.save-main{margin-top:16px;width:100%}.week-editor{display:grid;gap:7px}.week-row{display:grid;grid-template-columns:28px 110px 1fr;align-items:center;gap:10px}.week-row b{font-size:12px}.week-row input{padding:9px 10px;border:1px solid var(--line);border-radius:9px}.week-row span{font-size:10px;color:var(--muted)}.action-row{display:flex;gap:8px;flex-wrap:wrap}.settings-status{display:flex;align-items:center;gap:12px;background:#fff7df;border:1px solid #f0dfaa;border-radius:14px;padding:13px 15px;margin-bottom:18px}.settings-status.saved{background:#eaf7ef;border-color:#cbe8d6}.status-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#9b7600;font-weight:900}.saved .status-icon{color:#237d50}.settings-status b{display:block;font-size:12px}.settings-status small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.status-time{margin-left:auto;font-size:10px;color:var(--muted);font-weight:800}.agreement-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.agreement-summary>div{padding:14px;border:1px solid var(--line);border-radius:12px}.agreement-summary b{display:block;font-size:11px}.agreement-summary span{display:block;color:var(--muted);font-size:10px;margin-top:5px;line-height:1.4}.agreement-results{max-height:330px;overflow:auto;border:1px solid var(--line);border-radius:12px}.agreement-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border:0;border-bottom:1px solid var(--line);padding:13px 14px;text-align:left}.agreement-row:last-child{border-bottom:0}.agreement-row:hover{background:#f7f8e9}.agreement-row b{display:block;font-size:11px}.agreement-row small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.agreement-row>span{font-size:10px;font-weight:800;white-space:nowrap}.change-log{display:grid;gap:10px}.change-log>div{padding:12px 14px;border:1px solid var(--line);border-radius:11px}.change-log b{display:block;font-size:11px}.change-log span{display:block;color:var(--muted);font-size:10px;margin-top:4px}.period-list{display:grid;gap:10px}.period-card{border:1px solid var(--line);border-radius:13px;padding:14px;background:#fff}.period-card.current{border-color:#dbe39b;background:#fcfdf3}.period-main{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.period-main b{display:block;font-size:12px}.period-main small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.period-fields{display:grid;grid-template-columns:1fr 1fr 1fr 1.4fr;gap:10px}.period-fields>div{display:grid;gap:6px}.period-fields label{font-size:10px;font-weight:800;color:#555}.period-fields input{width:100%;padding:10px;border:1px solid var(--line);border-radius:9px;background:#fff}.period-card.current .period-fields input{background:#fff}@media(max-width:720px){.period-fields{grid-template-columns:1fr 1fr}.period-main{align-items:flex-start}.period-main .badge{margin-top:2px}}@media(max-width:480px){.period-fields{grid-template-columns:1fr}}
@media(max-width:720px){.settings-grid{grid-template-columns:1fr}.setting-line{grid-template-columns:1fr;gap:9px}.value-control{min-width:0;width:100%}.value-control input{width:100%}.inline-field{grid-template-columns:1fr}.agreement-summary{grid-template-columns:1fr}.action-row{width:100%}.action-row .btn{flex:1}.settings-status{align-items:flex-start}.status-time{margin-left:0}.week-row{grid-template-columns:24px 90px 1fr}.card-head{gap:10px;align-items:flex-start;flex-direction:column}.card-head .badge{align-self:flex-start}}

.login-shell{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(420px,100%);padding:30px}.login-card h1{margin:0}.login-card .form-row{margin:18px 0}.error-note{background:#ffeded;color:#9d2929;padding:12px 16px;border-radius:10px;margin-bottom:16px;font-size:13px}.topbar form{margin:0}.clock-time{font-size:35px}.status .dot.off{background:#aaa;box-shadow:0 0 0 4px #eee}.entry-list{list-style:none;padding:0;margin:0}.entry-list li{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.entry-list li:last-child{border:0}.hint{font-size:14px;color:var(--muted);line-height:1.6}.nav button:disabled{opacity:.5;cursor:default}.login-card .brand{padding:0 0 15px}.login-card .brand .lime{color:#aab700}@media(max-width:720px){.sidebar{display:none}.main{margin-left:0;width:100%}}

.nav a.nav-link{width:100%;text-align:left;background:transparent;color:#343434;padding:11px 12px;border-radius:11px;margin:2px 0;display:flex;gap:11px;align-items:center;font-weight:600;text-decoration:none;font-size:13px}.nav a.nav-link:hover{background:#f3f4f4}.nav a.nav-link.active{background:#f0f2dc;color:#111}
.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px}.admin-below{margin-top:18px}.admin-check{display:flex;gap:9px;align-items:center;font-size:12px;font-weight:700;margin:8px 0 18px}.admin-check input{width:auto}.inline-form{display:inline-block;margin-left:8px}.admin-description{max-width:280px;white-space:normal!important;line-height:1.5}.admin-text{line-height:1.6;font-size:13px;white-space:normal;overflow-wrap:anywhere}.entry-list span{overflow-wrap:anywhere}.card .body textarea{width:100%;padding:11px;border:1px solid var(--line);border-radius:10px;resize:vertical}@media(max-width:720px){.admin-form-grid{grid-template-columns:1fr}.admin-description{max-width:160px}}

.mobile-nav{display:none}@media(max-width:720px){.mobile-nav{display:flex;gap:7px;overflow-x:auto;background:#fff;border-bottom:1px solid var(--line);padding:9px 14px}.mobile-nav a{flex:0 0 auto;padding:8px 11px;border-radius:9px;color:#222;text-decoration:none;font-size:12px;font-weight:700}.mobile-nav a[aria-current=page]{background:#f0f2dc}}

.action-icon{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;border-radius:9px;background:#f1f2f2;color:#202020;text-decoration:none;font-size:19px;vertical-align:middle}.action-icon:hover,.action-icon:focus-visible{background:#edf0b5}.sort-heading{border:0;background:transparent;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;padding:0;text-align:left}.sort-heading:hover{text-decoration:underline}.table th[aria-sort=ascending] .sort-heading::after{content:' ▲'}.table th[aria-sort=descending] .sort-heading::after{content:' ▼'}.table-pages{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:0 22px 20px;font-size:12px}.table-pages[hidden]{display:none}.table-pages .btn:disabled{opacity:.45;cursor:default}.table tr[hidden]{display:none}.menu-toggle,.menu-backdrop{display:none}@media(max-width:720px){.menu-toggle{display:inline-grid;place-items:center;width:40px;height:40px;flex:0 0 auto;border-radius:10px;background:#f1f2f2;font-size:23px}.sidebar{display:flex;transform:translateX(-100%);transition:transform .2s ease;z-index:31;max-width:min(280px,85vw);width:280px}.sidebar.open{transform:translateX(0)}.menu-backdrop.open{display:block;position:fixed;inset:0;background:rgba(0,0,0,.35);z-index:30}.topbar{gap:10px}.crumb{flex:1}.table-pages{flex-wrap:wrap;justify-content:center}}

.company-logo-preview{display:flex;gap:16px;align-items:center;margin:12px 0}.company-logo-preview img{max-width:185px;max-height:90px;object-fit:contain}.login-card .brand-logo{max-height:110px;object-fit:contain}

.company-access{margin-bottom:18px}.company-access-row{display:flex;gap:10px}.company-access-row input{flex:1;min-width:0;border:1px solid var(--line);border-radius:10px;padding:10px;color:#333;background:#fff}@media(max-width:600px){.company-access-row{flex-direction:column}}

h1,h2,h3,h4,h5,h6,button,.btn{font-family:'Ropa Sans',sans-serif}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-layout{width:min(440px,100%);margin:auto}.login-card{width:100%}.login-card .brand{justify-content:center;padding-bottom:18px}.login-card .brand-logo{object-position:center;max-width:250px;max-height:120px;width:auto}.login-card h1,.login-card>.hint{text-align:center}.login-card form>.btn{display:block;width:100%}.login-footer{display:grid;gap:12px;padding:18px 12px;text-align:center;color:var(--muted);font-size:12px}.login-footer nav{display:flex;gap:6px 16px;flex-wrap:wrap;justify-content:center}.login-footer a{color:#303030}.legal-shell{padding:32px 16px;max-width:850px;margin:auto}.legal-card{padding:30px}.legal-card .admin-text{white-space:normal;overflow-wrap:anywhere}.company-section{margin-top:18px}.company-section .empty{padding:22px}.company-section .table td{white-space:normal}.company-dashboard{grid-template-columns:repeat(4,minmax(0,1fr));margin:18px 0}.company-dashboard .stat-value{font-size:24px}@media(max-width:960px){.company-dashboard{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.company-dashboard{grid-template-columns:1fr}}
.agreement-assignment{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;font-size:12px}.agreement-assignment select{min-width:220px;max-width:100%;padding:10px;border:1px solid var(--line);border-radius:10px}

button{font-weight:400}.btn{font-size:13px;font-weight:400}.dashboard-links{display:flex;flex-wrap:wrap;gap:10px}.dashboard-links a{padding:10px 14px;border:1px solid var(--line);border-radius:10px;color:#242424;text-decoration:none;font-size:13px}.dashboard-links a:hover{background:#f5f7e7}.revision-item{display:block!important}.revision-item strong{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.revision-item time{font-weight:400;color:var(--muted)}.revision-item span{display:block;margin-top:6px;line-height:1.5}.company-footer{padding:24px 34px;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;color:var(--muted);font-size:12px}.company-footer nav{display:flex;gap:10px 18px;flex-wrap:wrap}.company-footer a{color:#303030}@media(max-width:720px){.company-footer{padding:20px 15px}}

.nav .ico,.mobile-nav .ico{display:inline-flex;width:20px;flex:0 0 20px;align-items:center;justify-content:center;font-size:16px;line-height:1}.mobile-nav a{display:inline-flex;align-items:center;gap:5px}

/* Sidebar del prototipo */
.nav a.nav-link{gap:12px;align-items:center;min-height:44px;font-size:14px;font-weight:600;line-height:1.3}.nav .ico{font-family:Arial,'Segoe UI Symbol',sans-serif;font-size:16px;flex:0 0 20px;width:20px;color:#171717}.nav-title{margin:17px 10px 9px}.sidebar .profile-mini .avatar{background:var(--lime);color:#171717;font-size:13px}.sidebar .profile-mini small{font-size:12px}

/* Perfil y tabla de empleados */
.nav a.nav-link{font-size:15px}h2{font-size:calc(1.5em + 1px)}.card-head h2{font-size:17px}.sidebar .brand{justify-content:center;width:100%;padding:0 8px 26px}.sidebar .brand-logo{display:block;width:auto;max-width:100%;height:auto;max-height:110px;margin:0 auto;object-fit:contain;object-position:center}.employees-toolbar{align-items:center;margin:22px 0 16px}.employees-toolbar .btn{text-decoration:none}.employees-card .body{padding-top:0}.employees-card .table td{padding-top:20px;padding-bottom:20px}.employees-card .table td strong{font-weight:700}.employees-card .table th{padding-top:14px;padding-bottom:14px}.employee-form{max-width:900px}.employee-reset{margin-top:18px}

/* El menú conserva acceso a todas las secciones en pantallas bajas. */
.sidebar{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}.sidebar>.brand,.sidebar>.nav-title,.sidebar>.nav,.sidebar>.profile-mini{flex-shrink:0}.sidebar .profile-mini{min-height:72px}

.employee-profile-grid{grid-template-columns:1fr 1fr}.employee-profile-grid>.card{box-shadow:none}.employee-intro{margin:14px 0}.employee-actions{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin:20px 0}.employee-actions .btn{text-decoration:none}.section-label{text-transform:uppercase;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.8px;margin:14px 0}.week-schedule[hidden]{display:none}.week-schedule{margin:18px 0;overflow:auto}.schedule-grid{display:grid;grid-template-columns:minmax(95px,1fr) repeat(3,minmax(95px,1fr));align-items:center;gap:9px;min-width:480px}.schedule-grid>span{font-size:11px;font-weight:700;text-transform:uppercase;color:var(--muted)}.schedule-grid strong{font-size:12px}.schedule-grid input{min-width:0;padding:8px;border:1px solid var(--line);border-radius:8px}.employee-profile-grid .admin-form-grid{grid-template-columns:1fr 1fr}.employee-profile-grid .form-row{margin:8px 0}#vacaciones_total{display:block;background:#f7f8e9;border-radius:9px;padding:10px;font-weight:700}.employee-reset{margin:20px 0}@media(max-width:960px){.employee-profile-grid{grid-template-columns:1fr}}@media(max-width:520px){.employee-profile-grid .admin-form-grid{grid-template-columns:1fr}.employee-actions{flex-wrap:wrap}}

.records-toolbar{align-items:center;gap:18px}.records-toolbar-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.records-filters{display:flex;align-items:center;gap:8px;font-size:12px}.records-filters input,.records-filters select{padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:120px}.export-buttons{display:flex;gap:7px;flex-wrap:wrap}.export-btn{display:inline-flex;align-items:center;gap:7px;text-decoration:none;white-space:nowrap}.export-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.records-card{border-radius:18px}.records-card .table td{padding-top:20px;padding-bottom:20px}.records-card .table td strong{font-weight:700}.records-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:18px 0}.incident-stats{margin:18px 0}.review-card{max-width:800px}.review-details{display:grid;gap:12px;padding-bottom:18px}.review-details>div{display:grid;grid-template-columns:130px 1fr;gap:12px;font-size:13px}.review-details b{color:var(--muted)}.review-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}@media(max-width:1050px){.records-toolbar{flex-wrap:wrap}.records-toolbar-right{justify-content:space-between;width:100%}}@media(max-width:620px){.records-filters{flex-wrap:wrap}.review-details>div{grid-template-columns:1fr;gap:3px}.records-actions .search{width:100%}}
.centers-toolbar{align-items:center}.centers-toolbar .btn,.center-form-card .btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}.center-form-card{max-width:900px}.center-form-card .admin-check{margin-top:18px}.center-error{background:#ffeded;color:#963636}
.admin-editor{max-width:860px}.admin-editor>.body{padding-top:20px}.admin-editor .btn,.toolbar .btn{text-decoration:none;display:inline-flex;align-items:center}.legal-notice{white-space:normal;line-height:1.6;margin:20px 0;font-size:14px}
.company-logo-field{grid-column:1/-1}.company-logo-field input[type="file"]{display:block;width:100%;min-width:0;min-height:48px;padding:6px 8px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted);font-size:13px;line-height:34px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.company-logo-field input[type="file"]::file-selector-button{border:0;border-radius:8px;background:#f1f2f2;color:var(--ink);font-family:"Ropa Sans",sans-serif;font-size:14px;font-weight:400;padding:8px 13px;margin-right:12px;cursor:pointer}.company-logo-field input[type="file"]:hover::file-selector-button{background:#e7e9e9}.company-logo-field input[type="file"]:focus-visible{outline:2px solid var(--lime);outline-offset:2px}@media(max-width:720px){.company-logo-field{grid-column:1}}
.health-heading{margin:28px 0 12px}.health-heading h2{font-size:20px;margin:0}.health-heading p{font-size:12px;color:var(--muted);margin:5px 0}.health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.health-metric{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-top:1px solid var(--line);padding:12px 0}.health-metric:first-child{border-top:0}.health-metric strong{display:block;font-size:13px}.health-metric small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:4px}.health-value{flex:0 0 auto;text-align:right;font-size:12px;font-weight:600;border-radius:9px;padding:7px 9px;background:#f1f2f2;max-width:46%;overflow-wrap:anywhere}.health-ok{background:#e7f5ed;color:#237d50}.health-warn{background:#fff5dc;color:#986900}.health-info{background:#eef2f8;color:#405476}@media(max-width:950px){.health-grid{grid-template-columns:1fr}}@media(max-width:520px){.health-metric{flex-direction:column}.health-value{max-width:100%;text-align:left}}

.company-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin:18px 0}.company-stats-grid .card .body{padding-top:2px}.stats-list,.stats-alerts{list-style:none;margin:8px 0 16px;padding:0}.stats-list li,.stats-alerts li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:9px 0;font-size:13px}.stats-alerts li{flex-direction:column;gap:3px}.stats-alerts li span{color:var(--muted);font-size:12px}.stats-trend{height:180px;display:grid;grid-template-columns:repeat(14,minmax(0,1fr));align-items:end;gap:5px;padding:12px 2px 0;border-bottom:1px solid var(--line)}.stats-day{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;min-width:0}.stats-bar{display:block;width:100%;max-width:28px;min-height:3px;background:var(--lime);border-radius:5px 5px 0 0}.stats-day small{font-size:10px;color:var(--muted);padding-bottom:2px}.company-fee-totals{border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:flex-end;gap:26px;flex-wrap:wrap;font-size:13px}.company-fee-totals p{margin:0}@media(max-width:900px){.company-stats-grid{grid-template-columns:1fr}}@media(max-width:540px){.company-fee-totals{justify-content:flex-start;flex-direction:column;gap:8px}}

.dashboard-stats{margin-bottom:18px}.company-hello h1{font-size:28px}.dashboard-panels{grid-template-columns:1.3fr .8fr}.dashboard-panels .card{min-height:270px}.dashboard-progress{display:grid;gap:15px}.dashboard-progress-item>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:7px}.dashboard-progress-item .progress{height:7px;border-radius:20px;background:#ededed;overflow:hidden}.dashboard-progress-item .progress span{display:block;height:100%;background:var(--lime);border-radius:20px}.dashboard-panels .timeline .event{padding:9px 0}.dashboard-panels .event strong{font-size:12px}.dashboard-caveat{margin:10px 0 18px}.dashboard-attention,.dashboard-reminders{margin-top:18px}.dashboard-attention .table td{white-space:normal}.dashboard-attention .dashboard-see-all{display:flex;gap:18px;padding-top:12px}.dashboard-attention .dashboard-see-all a{font-size:12px;color:#333}.dashboard-reminder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dashboard-reminder-grid a{background:#f6f7e9;color:#202020;border-radius:11px;padding:13px;text-decoration:none;display:grid;gap:5px}.dashboard-reminder-grid a:hover{background:#eff1d8}.dashboard-reminder-grid strong{font-size:12px}.dashboard-reminder-grid span{font-size:11px;color:var(--muted)}.dashboard-reminders+.company-access{margin-top:18px}@media(max-width:1000px){.dashboard-panels{grid-template-columns:1fr}}@media(max-width:650px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-reminder-grid{grid-template-columns:1fr}.company-hello{align-items:flex-start;flex-direction:column}}@media(max-width:420px){.dashboard-stats{grid-template-columns:1fr}}
.calendar-config-grid{grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr)}.calendar-notice{margin-bottom:18px}.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.calendar-week label{display:flex;align-items:center;gap:6px;font-size:12px}.calendar-week input{min-width:0;width:100%;padding:9px;border:1px solid var(--line);border-radius:9px}.calendar-schedule-form{display:flex;align-items:center;gap:7px}.calendar-schedule-form select{min-width:130px}.calendar-assignment{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-top:18px}.calendar-assignment label{font-size:12px;display:grid;gap:5px}.calendar-assignment select{min-width:160px}.calendar-periods{display:grid;gap:10px;margin-bottom:20px}.calendar-period{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:13px}.calendar-period small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.calendar-period form{margin:0}.calendar-period .badge{margin-left:auto}.calendar-config-grid .body h3,.calendar-periods+h3{font-size:15px}@media(max-width:1020px){.calendar-config-grid{grid-template-columns:1fr}}@media(max-width:650px){.calendar-week{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-period{flex-wrap:wrap}}
.calendar-holiday-actions form{display:inline-block;margin-right:4px}
.calendar-template-select{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0}.calendar-template-select label{display:grid;gap:6px;min-width:min(100%,320px)}
.calendar-template-select .btn,.records-toolbar .btn-contrast,.records-toolbar .export-btn{background:#171717;color:#fff;border:1px solid #171717;text-decoration:none}.calendar-template-select .btn:hover,.records-toolbar .btn-contrast:hover,.records-toolbar .export-btn:hover{background:#333;color:#fff}.calendar-template-select .btn:focus-visible,.records-toolbar .btn:focus-visible{outline:3px solid #92a000;outline-offset:2px}
.closure-card{margin:18px 0 24px;padding:4px 0}.closure-card .card-head{padding:22px 22px 12px}.closure-card .card-head h2{font-size:19px}.closure-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 18px}.closure-metrics>div,.closure-metrics>a{display:block;background:#fff;border:1px solid #e2e4e4;border-radius:16px;padding:20px;text-decoration:none;color:var(--ink);box-shadow:0 8px 22px rgba(0,0,0,.05)}.closure-metrics small{display:block;font-size:12px;color:#5f6569}.closure-metrics strong{display:block;font-size:27px;margin-top:10px}.closure-hint{margin:0 0 18px}.closure-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.closure-actions .btn{text-decoration:none;display:inline-flex;align-items:center}.pagination{display:flex;align-items:center;gap:12px;justify-content:center;margin:20px 0}.pagination a{text-decoration:none}@media(max-width:850px){.closure-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.closure-metrics{grid-template-columns:1fr}.closure-actions{justify-content:stretch}.closure-actions>a,.closure-actions form,.closure-actions button{width:100%;justify-content:center}}

.reports-card{margin-top:20px}.reports-card .body{padding:22px}.reports-form{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:16px;align-items:end}.reports-form .form-row{margin:0}.reports-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px}.reports-generate{margin-top:14px}.reports-card .table-wrap{overflow:auto}@media(max-width:900px){.reports-form{grid-template-columns:repeat(2,minmax(130px,1fr))}}@media(max-width:580px){.reports-form{grid-template-columns:1fr}}
.employee-profile-link{display:flex;align-items:center;gap:9px;color:var(--ink);text-decoration:none;font-size:13px;font-weight:600}.employee-profile-link .avatar{flex:0 0 37px;font-size:12px}.employee-profile-link:hover .top-user-name,.employee-profile-link:focus-visible .top-user-name{text-decoration:underline}.employee-profile-link:focus-visible{outline:2px solid #111;outline-offset:3px;border-radius:10px}
.absence-stats .stat{min-height:122px}.absence-panels{grid-template-columns:1.6fr 1fr;align-items:stretch}.absence-panels .card .body{padding-top:7px}.absence-panels .card-head{gap:12px}.absence-panels .card-head .btn{white-space:nowrap;text-decoration:none}.absence-panels .body p{margin:8px 0}.absence-progress-label{display:flex;justify-content:space-between;gap:12px;font-size:12px}.absence-panels .progress{margin:9px 0}.absence-note{margin-top:12px}.absence-section{margin-top:18px}.absence-request{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;align-items:end}.absence-request .form-row{margin:0}.absence-request .absence-details{grid-column:1/-1}.absence-request button{justify-self:start}.absence-section .body{padding-top:8px}@media(max-width:1000px){.absence-panels{grid-template-columns:1fr}}@media(max-width:700px){.absence-request{grid-template-columns:1fr}.absence-panels .card-head{flex-wrap:wrap}.absence-stats .stat{min-height:0}}
.employee-clock-actions{flex-wrap:wrap;align-items:center}.employee-clock-actions form{margin:0;z-index:1}.employee-clock-actions>a{position:relative;z-index:1;text-decoration:none}.employee-hello{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:22px}.employee-hello small{color:var(--muted)}.employee-hello h1{font-size:28px;margin:7px 0 0}.employee-hello>span{font-size:12px;color:var(--muted)}.employee-home-panels{grid-template-columns:1.45fr 1fr;margin-bottom:18px}.employee-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.employee-quick a{display:grid;align-content:center;min-height:110px;padding:17px;background:#fafafa;border:1px solid var(--line);border-radius:13px;color:var(--ink);font-weight:700;text-decoration:none}.employee-quick a:hover{border-color:#bac600}.employee-quick span{font-size:21px;margin-bottom:10px}.employee-activity{margin-top:18px}.employee-activity .body{padding-top:8px}.employee-activity .card-head .btn{text-decoration:none}.employee-summary-grid{grid-template-columns:1.45fr 1fr;margin:18px 0}.employee-summary-grid .body{padding-top:12px}.employee-summary-grid .notice{margin-top:14px}.employee-week{margin-bottom:18px}.employee-week>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px}.employee-week .progress{margin:9px 0}.employee-week small{color:#267d50;font-size:11px}.employee-balance-row{display:flex;justify-content:space-between;gap:10px;margin:10px 0;font-size:12px}.employee-balance-total{border-top:1px solid var(--line);padding-top:14px;font-weight:700}.employee-summary-guide{margin-bottom:18px}.employee-summary-guide .body{padding-top:7px}.employee-summary-guide .notice p{margin:7px 0 0}.employee-schedule{margin-bottom:18px}.employee-schedule .body{padding-top:5px}.employee-schedule .notice p{margin:8px 0}.employee-period-select{display:flex;gap:8px}.employee-period-select select,.employee-period-select input{max-width:150px;border:1px solid var(--line);border-radius:9px;padding:8px}.employee-pdf-link{text-decoration:none;display:inline-flex;gap:8px;align-items:center;white-space:nowrap}.employee-pdf-link span{font-size:19px;color:#a63434}@media(max-width:950px){.employee-home-panels,.employee-summary-grid{grid-template-columns:1fr}}@media(max-width:560px){.employee-hello{display:block}.employee-hello>span{display:block;margin-top:8px}.employee-quick{grid-template-columns:1fr 1fr}.employee-week>div:first-child{display:block}.employee-period-select{flex-wrap:wrap}}

/* En móvil se usa exclusivamente el menú hamburguesa. */
.mobile-nav{display:none!important}.sidebar .profile-mini{display:none!important}.topbar>.employee-profile-link{margin-left:12px;flex:0 0 auto}.employee-date-filters{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 18px}.employee-date-filters input{padding:9px;border:1px solid var(--line);border-radius:9px}.employee-date-filters label{font-size:12px;font-weight:700}
.employee-document-stats{margin-bottom:18px}.employee-doc-confirm{display:inline;margin-left:8px}.employee-doc-privacy{margin-top:18px}.employee-document-stats .stat{min-height:120px}

.geo-dialog{width:min(690px,calc(100vw - 24px));max-height:90vh;border:0;border-radius:14px;padding:20px;box-shadow:0 16px 50px #0004}.geo-dialog::backdrop{background:#1119}.geo-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.geo-points{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}

/* Navigation and exports */
.topbar{justify-content:flex-start;gap:12px}.topbar>.employee-profile-link{margin-left:auto}.topbar form[action="/auth/logout.php"]{margin-left:auto}.topbar.has-profile-link form[action="/auth/logout.php"]{margin-left:0}.logout-button{display:inline-grid;place-items:center;width:40px;height:40px;padding:8px}.logout-button svg{display:block;width:21px;height:21px}.topbar .crumb{min-width:0}.geo-company-form{display:grid;justify-items:start;gap:8px;padding:12px 0 22px}.geo-company-form .admin-check{margin:0}
.export-btn.export-excel,.records-toolbar .export-btn.export-excel,.reports-actions a[href*="formato=xlsx"]{background:#d9f0df;color:#161616;border:1px solid #a6d9b2}.export-btn.export-pdf,.records-toolbar .export-btn.export-pdf,.reports-actions a[href*="formato=pdf"]{background:#f7dede;color:#161616;border:1px solid #ebbbbb}.export-btn.export-excel:hover,.records-toolbar .export-btn.export-excel:hover,.reports-actions a[href*="formato=xlsx"]:hover{background:#bee5c8;color:#161616}.export-btn.export-pdf:hover,.records-toolbar .export-btn.export-pdf:hover,.reports-actions a[href*="formato=pdf"]:hover{background:#efc5c5;color:#161616}

.topbar .top-actions{margin-left:auto}.topbar .top-actions form[action="/auth/logout.php"]{margin-left:0}

/* Hover feedback across application buttons */
.btn,.action-icon,.menu-toggle{transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease,color .16s ease}
.btn:not(:disabled):hover,.action-icon:hover,.menu-toggle:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.12)}
.btn:not(:disabled):active,.action-icon:active,.menu-toggle:active{transform:translateY(0);box-shadow:none}
.btn-soft:hover,.reports-actions button.btn-soft:hover{background:#e0e5e5;color:#171717}.btn-lime:hover{background:#b7c400;color:#171717}.btn-danger:hover{background:#f7d6d6;color:#8a2020}.btn-contrast:hover{background:#303030;color:#fff}
@media(prefers-reduced-motion:reduce){.btn,.action-icon,.menu-toggle{transition:none}.btn:not(:disabled):hover,.action-icon:hover,.menu-toggle:hover{transform:none}}

/* Paired clock actions: exit, paid break, unpaid break. */
.employee-clock-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}.clock-action-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%;align-items:end}.clock-action-row form{display:grid;gap:8px;min-width:0}.clock-action-row .btn{display:inline-flex;justify-content:center;align-items:center;min-height:44px;text-align:center;white-space:normal}.clock-action-row .form-row{display:grid;gap:6px;margin:0;font-size:12px}.clock-action-row textarea{width:100%;min-height:62px;padding:9px;border:1px solid var(--line);border-radius:9px;resize:vertical}@media(max-width:550px){.clock-action-row{grid-template-columns:1fr}}

.employee-document-alert{display:flex;align-items:center;gap:16px;margin:0 0 20px;padding:18px 20px;border:1px solid #e2c26e;border-left:5px solid #c88418;border-radius:13px;background:#fff8e8;color:#463319;text-decoration:none;box-shadow:0 4px 16px rgba(116,78,12,.08);transition:background .2s,transform .2s,box-shadow .2s}.employee-document-alert:hover,.employee-document-alert:focus-visible{background:#ffedc4;transform:translateY(-2px);box-shadow:0 7px 19px rgba(116,78,12,.15)}.employee-document-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:12px;background:#ffe3a3;color:#65430d;font-size:26px}.employee-document-message{display:grid;gap:4px;flex:1}.employee-document-message strong{font-size:16px}.employee-document-message small{font-size:13px;color:#745d39}.employee-document-link{font-weight:600;white-space:nowrap;color:#62420d}@media(max-width:560px){.employee-document-alert{flex-wrap:wrap}.employee-document-message{flex-basis:calc(100% - 65px)}.employee-document-link{margin-left:62px}}

/* Familia uniforme de iconos SVG para la navegación. Conserva la paleta original. */
.nav .ico,.mobile-nav .ico{width:30px;height:30px;flex:0 0 30px;display:inline-grid;place-items:center;border-radius:9px;background:#f5f6f6;color:var(--ink);font-size:0;line-height:1}
.nav .ico svg,.mobile-nav .ico svg{display:block;width:19px;height:19px;flex:none}
.nav a.nav-link.active .ico,.mobile-nav a[aria-current=page] .ico{background:#e7ecc4;color:var(--ink)}
.nav a.nav-link:hover .ico{background:#eceee3}
.nav a.nav-link.active:hover .ico{background:#e7ecc4}
.nav a.nav-link.active{position:relative}
.nav a.nav-link.active::before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:3px;border-radius:3px;background:var(--lime)}
.edit-clock-form{max-width:430px;margin-top:20px}.edit-clock-form .btn{margin-top:8px}.edit-clock-form textarea{resize:vertical;min-height:88px}.records-toolbar .records-toolbar-right>a.btn{text-decoration:none}
.clock-edit-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 20px;margin:0 0 18px;border:1px solid #e3e7b8;border-radius:14px;background:#f7f8e9}.clock-edit-banner strong{display:block;font-size:14px}.clock-edit-banner span{display:block;margin-top:3px;color:var(--muted);font-size:12px}.clock-edit-banner .btn{flex:0 0 auto;text-decoration:none}.clock-edit-hint{margin:0 0 14px}@media(max-width:640px){.clock-edit-banner{align-items:stretch;flex-direction:column}.clock-edit-banner .btn{text-align:center}}
.import-table{min-width:1120px}.import-table input{width:100%;min-width:105px;border:1px solid var(--line);border-radius:8px;padding:9px;background:#fff}.import-table input:focus{outline:2px solid var(--lime);outline-offset:1px}.import-table td{vertical-align:middle}.import-table td:nth-child(5) input{min-width:190px}.import-table td:nth-child(6) input{min-width:130px}.employees-toolbar{flex-wrap:wrap;gap:10px}.import-cancel{background:#f9e9e9;color:#171717}
.employees-toolbar{display:flex;align-items:center;gap:14px}.employees-toolbar .search{flex:1 1 260px;max-width:410px}.employees-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto;flex-wrap:wrap}.employees-toolbar-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;white-space:nowrap;font-size:14px;font-weight:500}.import-employees-button{border:1px solid #d9ddde;background:#f1f3f3;color:#171717}.import-employees-button svg{width:17px;height:17px;flex:none}.import-employees-button:hover{background:#e1e7e7}
.import-upload-form{max-width:760px}.import-upload-form .form-row{margin:18px 0 0}.import-upload-form .form-row label{font-size:14px;font-weight:600}.import-upload-form .form-row small{font-size:12px;color:var(--muted)}.import-upload-form .import-file-input{display:block;width:100%;min-height:64px;padding:10px 12px;border:1px solid #cbd2d5;border-radius:11px;background:#f9faf9;color:#30383a;font-size:13px;cursor:pointer}.import-file-input::file-selector-button{margin-right:14px;padding:9px 14px;border:1px solid #ced5d7;border-radius:8px;background:#e9eeee;color:#171717;font:inherit;font-weight:500;cursor:pointer;transition:background-color .16s ease,box-shadow .16s ease}.import-file-input:hover::file-selector-button{background:#dbe4e4;box-shadow:0 2px 7px rgba(0,0,0,.08)}.import-file-input:focus-visible,.import-table .import-field:focus-visible{outline:2px solid #899700;outline-offset:2px}.import-actions{margin:20px 0;gap:10px}.import-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:43px;text-decoration:none;font-size:14px;font-weight:500}.import-actions .import-cancel{background:#f9e4e4;color:#211d1d;border:1px solid #edcaca}.import-actions .import-cancel:hover{background:#f3d4d4;color:#171717}
.import-preview-card .body{padding:8px 14px 14px}.import-table{min-width:1120px;border-collapse:separate;border-spacing:0}.import-table th{padding:12px 9px;font-size:11px;color:#566166}.import-table td{padding:10px 7px;vertical-align:middle}.import-table tbody tr:nth-child(even){background:#fafbfa}.import-table tbody tr:hover{background:#f5f8f4}.import-table .import-field{display:block;width:100%;min-width:110px;min-height:42px;padding:9px 11px;border:1px solid #cdd5d7;border-radius:9px;background:#fff;color:#171717;font-size:13px;line-height:1.35;box-shadow:0 1px 2px rgba(0,0,0,.025);transition:border-color .16s ease,box-shadow .16s ease}.import-table .import-field:hover{border-color:#aab6b8}.import-table .import-field:focus{border-color:#899700;box-shadow:0 0 0 3px rgba(200,213,0,.18);outline:none}.import-table td:nth-child(5) .import-field{min-width:190px}.import-table td:nth-child(6) .import-field{min-width:145px}.import-table .action-icon{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px}@media(max-width:700px){.employees-toolbar{align-items:stretch;flex-direction:column}.employees-toolbar .search{flex:auto;width:100%;max-width:none}.employees-toolbar-actions{width:100%;margin-left:0}.employees-toolbar-actions .btn{flex:1}.import-actions{flex-wrap:wrap}}
.import-instructions{margin:8px 0 24px;color:#343a3b;font-size:14px;line-height:1.6}.import-instructions h3{margin:0 0 9px;font-size:17px;font-weight:600;color:#171717}.import-instructions ul{margin:0 0 10px;padding-left:21px}.import-instructions li{margin:5px 0}.import-instructions li::marker{color:#879700}.import-instructions p{margin:9px 0 0;color:var(--muted);font-size:13px}.employee-profile-grid .employee-multiple-field{align-content:start;grid-template-rows:auto 52px auto}.employee-profile-grid .employee-multiple-field>input{display:block;width:100%;height:52px;min-height:52px;margin:0;padding:11px 12px;line-height:28px}.employee-profile-grid .employee-multiple-field .employee-multiple-hint{display:block;margin-top:9px;line-height:1.45;color:var(--muted)}
.clock-session-events{min-width:200px;max-width:350px;white-space:normal!important;line-height:1.5;color:#4b5557}
.clock-session-events{width:290px;min-width:230px;max-width:320px;vertical-align:middle}.clock-session-main,.clock-session-intermediate{display:block;max-width:300px;white-space:nowrap;overflow-x:auto;scrollbar-width:thin}.clock-session-main{font-size:12px;font-weight:600;color:#222}.clock-session-intermediate{margin-top:6px;padding-top:6px;border-top:1px solid #eef0f0;font-size:11px;color:#637072}

/* v98 · indicaciones, indicadores y navegación de retorno */
.notice,.ui-guide{background:#f0f2dc;border:1px solid #e1e6b6;border-radius:12px;color:#343b2b;padding:16px 18px;font-size:14px;line-height:1.65;margin-bottom:20px}.notice p,.ui-guide p{font-size:14px;line-height:1.65;margin:0}.notice p+p{margin-top:9px}.ui-guide{display:flex;align-items:flex-start;gap:13px}.ui-guide-icon{flex:none;width:22px;padding-top:2px}.ui-guide-icon svg{width:22px;height:22px}.card.stat{padding:18px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 15px;min-height:94px}.card.stat .stat-label{font-size:14px;color:#667076;font-weight:400;line-height:1.5}.card.stat .stat-value{font-size:28px;font-weight:600;line-height:1.2;margin:0}.card.stat .stat-sub,.card.stat>small{grid-column:1/-1;font-size:13px;line-height:1.5;color:#667076}.btn-back{display:inline-flex;align-items:center;justify-content:center;background:#eef0f1;color:#202020;border:1px solid #dce0e2;min-height:40px;padding:10px 15px;border-radius:9px;text-decoration:none;line-height:1.3}.btn-back:hover,.btn-back:focus-visible{background:#dfe3e5;color:#111}.profile-sections{display:grid;gap:20px;max-width:1000px}.profile-sections .body{padding:22px}.profile-sections .form-row{margin:0 0 17px}.profile-sections .profile-actions{margin-top:20px}.profile-sections .profile-static{margin-bottom:20px}.profile-sections .hint{margin:0 0 18px}.faq-list{display:grid;gap:14px}.faq-item{border:1px solid var(--line);border-radius:13px;background:#fff;padding:0 22px}.faq-item summary{cursor:pointer;font-family:'Ropa Sans',sans-serif;font-size:20px;padding:20px 0;line-height:1.4}.faq-answer{font-size:15px;line-height:1.75;padding-bottom:20px}.faq-answer p{margin:0 0 12px}.faq-answer li{margin:8px 0}.faq-answer a{color:#39413a}.integration-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.integration-form .form-row{margin:0}.integration-actions{display:flex;gap:10px;flex-wrap:wrap;grid-column:1/-1;margin-top:6px}.integration-compatibility{font-size:14px;line-height:1.7}.integration-preview{overflow:auto}.integration-empty{padding:24px;font-size:15px}.integration-providers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.integration-providers .card{padding:20px}.integration-providers h2{margin:0 0 10px}.integration-providers p{font-size:14px;line-height:1.65;margin:0}@media(max-width:750px){.integration-form,.integration-providers{grid-template-columns:1fr}.card.stat{min-height:94px}.profile-sections .body{padding:18px}}

/* v99 · FAQs, cabecera de información e indicadores enlazados */
.company-info-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.company-info-heading .page-title{margin:0;min-width:0}.company-info-heading h1{overflow-wrap:anywhere}.company-info-heading>.btn{flex:none;display:inline-flex;text-decoration:none}.card.stat,.card.stat a,.stat-value a,.contracts-kpi a{color:var(--ink);text-decoration:none}.card.stat:hover,.card.stat:focus-visible{color:var(--ink);text-decoration:none}.card.stat[href]:hover{border-color:#c6cf94}.faq-hero{display:flex;align-items:center;gap:20px;padding:26px;margin-bottom:24px;background:#f0f2dc;border:1px solid #e1e6b6;border-radius:18px}.faq-hero-icon{display:grid;place-items:center;width:62px;height:62px;background:#fff;border-radius:16px;flex:none;color:#56601c}.faq-hero-icon svg{width:32px;height:32px}.faq-hero h1{margin:0 0 8px}.faq-hero p{font-size:15px;line-height:1.6;margin:0;color:#57604c}.faq-tools{margin-bottom:20px}.faq-tools input{width:100%;max-width:650px;padding:13px 16px;border:1px solid #dce1df;border-radius:12px;background:#fff;font-size:15px}.faq-item{border-radius:15px;box-shadow:0 3px 14px rgba(0,0,0,.025);padding:0 22px;transition:border-color .16s,box-shadow .16s}.faq-item[open]{border-color:#cbd3a8;box-shadow:0 5px 18px rgba(0,0,0,.045)}.faq-item summary{display:flex;align-items:center;gap:14px;list-style:none;font-size:21px;padding:21px 0}.faq-item summary::-webkit-details-marker{display:none}.faq-number{display:grid;place-items:center;width:34px;height:34px;background:#f2f4eb;color:#606944;border-radius:9px;font-size:14px;flex:none}.faq-question{flex:1}.faq-toggle{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f5f6f2;font-size:23px;color:#52603c;flex:none}.faq-item[open] .faq-toggle{transform:rotate(45deg);background:#e9eed6}.faq-answer{padding:0 44px 22px 48px;color:#4c5456}.faq-empty{padding:22px;font-size:15px}.faq-editor .body{padding:24px}.faq-editor .admin-form-grid{margin-bottom:18px}.report-delete-form{margin:0}.report-delete-form .action-icon{border:0;background:#f7dede;color:#8f3434}.report-delete-form .action-icon:hover{background:#efc5c5}.faq-item[hidden]{display:none}@media(max-width:700px){.company-info-heading{align-items:flex-start;flex-direction:column}.faq-hero{padding:20px;gap:14px}.faq-hero-icon{width:46px;height:46px}.faq-answer{padding:0 0 20px}.faq-item{padding:0 16px}.faq-item summary{font-size:19px;gap:10px}}

/* v100 · acciones de documentos y título de ayuda */
.report-document-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.report-document-actions .export-pdf{display:inline-flex;align-items:center;gap:8px;min-height:38px;text-decoration:none}.report-document-actions svg{width:18px;height:18px}.report-delete-button{border:1px solid #ebbbbb;background:#f7dede;color:#8f3434}.report-delete-button:hover{background:#efc5c5}.faq-hero h2{font-size:24px;line-height:1.3;margin:0 0 8px;font-weight:400}@media(max-width:600px){.faq-hero h2{font-size:21px}}

/* v101 · configuración y dispositivos */
.company-config-top{align-items:stretch;margin-bottom:20px}.company-config-top>.card>.body{padding:22px}.company-config-top h3{font-size:20px;margin:0 0 14px}.device-form{max-width:950px}.device-form .body{padding:24px}.device-actions{display:flex;gap:8px;flex-wrap:wrap}.device-actions form{margin:0}.device-fingerprint{font-family:monospace;font-size:12px;overflow-wrap:anywhere;max-width:240px}.device-download{padding:22px;border:1px solid #cbd6ad;border-radius:13px;margin:20px 0;background:#f7f9ee}.device-download .btn{display:inline-flex;text-decoration:none}.device-policy{margin:20px 0}.device-table td{vertical-align:middle}.device-settings{display:grid;gap:16px}.device-settings .body{padding:22px}.device-empty{padding:20px}.device-form textarea{font-family:monospace}.device-stat-link{text-decoration:none;color:var(--ink)}@media(max-width:900px){.company-config-top{grid-template-columns:1fr}}

/* v102: filtro de dispositivos y resumen del contrato */
.toolbar.device-company-filter{display:flex;flex-direction:row;align-items:flex-end;justify-content:flex-start;flex-wrap:wrap;gap:12px}.device-company-filter .form-row{margin:0;flex:0 1 360px;min-width:180px}.device-company-filter>.btn{min-height:43px;white-space:nowrap;margin:0}.company-contract-section .company-contract-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0;clear:both}.company-contract-section .company-contract-tools .btn{display:inline-flex;position:static;align-items:center;justify-content:center;text-decoration:none!important;min-height:42px;padding:10px 16px;line-height:1.35;margin:0}.company-contract-section .company-contract-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:20px 0;padding:20px;background:#f8f9f5;border:1px solid var(--line);border-radius:12px;clear:both}.company-contract-summary>div{display:flex;flex-direction:column;gap:7px;min-width:0}.company-contract-summary span{display:block;color:var(--muted);font-size:14px;line-height:1.4}.company-contract-summary strong{display:block;font-size:15px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}@media(max-width:800px){.company-contract-section .company-contract-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.company-contract-section .company-contract-summary{grid-template-columns:1fr}.device-company-filter .form-row{flex:1 1 180px}}

/* v103: mensajes informativos de certificados */
.device-guide{display:block;margin:0 0 20px;padding:20px 22px;min-height:66px;background:#f0f2dc;border:1px solid #e1e6b6;border-radius:12px;color:#343b2b;font-size:15px;line-height:1.65;overflow-wrap:anywhere}.device-guide strong{font-weight:600}.device-guide a{color:inherit;font-weight:500;text-underline-offset:3px}.certificate-stat{display:block;color:inherit;text-decoration:none!important}.certificate-stat:hover{background:#f8f9f4}.certificate-stat .stat-label{font-size:14px}.certificate-stat .stat-value{font-size:30px}@media(max-width:600px){.device-guide{padding:16px 18px}}
