.auth-shell{display:grid;min-height:100vh;place-items:center;padding:24px}.auth-card{width:min(100%,420px);padding:38px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 18px 55px #2036601a}.auth-card>.brand-mark{margin-bottom:28px}.auth-card h1{margin-bottom:9px;font-size:25px;letter-spacing:-.04em}.auth-card form>label{display:block;margin:0 0 7px;color:#36445a;font-size:12px;font-weight:700}.loading-message{color:var(--muted)}.portal-header{display:flex;width:min(100% - 56px,1480px);align-items:center;justify-content:space-between;gap:18px;margin:0 auto;padding:21px 0 17px;border-bottom:1px solid rgba(218,225,236,.82)}.portal-header h1{margin:0;font-size:21px;letter-spacing:-.04em}.portal-header .eyebrow{margin-bottom:3px}.session-actions{display:flex;align-items:center;gap:14px}.session-identity{padding:9px 12px;border:1px solid #e4e9f1;border-radius:9px;background:#ffffffc2;color:var(--muted);font-size:11px;font-weight:650}.role-notice{width:min(100% - 48px,1180px);margin:28px auto;padding:25px;border:1px solid var(--line);border-radius:13px;background:#fff}.role-notice h2{margin-bottom:8px;font-size:20px}.role-notice p:last-child{margin-bottom:0;color:var(--muted);font-size:13px;line-height:1.6}.branch-label{display:inline-block;margin-left:5px;color:var(--muted);font-size:10px;font-weight:500}.save-summary{margin:14px 0 0;color:#176b39;font-size:12px}@media(max-width:720px){.portal-header{width:min(100% - 32px,1480px);align-items:flex-start}.session-actions{align-items:flex-end;flex-direction:column;gap:7px}.session-identity{max-width:180px;text-align:right}.role-notice{width:min(100% - 32px,1180px)}}.auth-shell-split{position:relative;min-height:100vh;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);place-items:stretch;gap:16px;padding:16px}.auth-theme-control{position:absolute;z-index:3;top:28px;right:30px}.theme-toggle{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:8px;padding:0 11px;border:1px solid #e0e6ef;border-radius:9px;background:#ffffffdb;color:#53627a;font-size:10px;font-weight:700;transition:background .18s,border-color .18s,color .18s}.theme-toggle:hover{border-color:#b7c5e1;background:#fff;color:#253755}.theme-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.auth-brand-panel{position:relative;display:flex;min-height:calc(100vh - 32px);flex-direction:column;overflow:hidden;padding:clamp(30px,5vw,72px);border:1px solid #202f4a;border-radius:23px;background:radial-gradient(ellipse at 86% 20%,rgba(86,118,230,.3),transparent 34%),radial-gradient(ellipse at 50% 110%,rgba(37,89,190,.31),transparent 48%),linear-gradient(132deg,#101828,#17233c 58%,#1b2b4d);color:#fff;isolation:isolate}.auth-brand-panel:before,.auth-brand-panel:after{position:absolute;z-index:-1;right:-120px;bottom:3%;width:min(45vw,480px);aspect-ratio:1;border:1px solid rgba(185,202,255,.13);border-radius:50%;content:""}.auth-brand-panel:after{right:-72px;bottom:calc(3% + 48px);width:min(35vw,380px);border-color:#b9caff17}.auth-brand-lockup{display:flex;align-items:center;gap:12px}.auth-brand-lockup .brand-mark{border:1px solid rgba(199,212,255,.2);background:#ffffff1a;color:#fff}.auth-brand-lockup .eyebrow{margin-bottom:4px;color:#eef2ff;font-size:10px}.auth-brand-lockup div>span{color:#8f9db5;font-size:8px;font-weight:750;letter-spacing:.15em}.auth-brand-copy{position:relative;z-index:1;max-width:510px;margin:auto 0 0;padding-bottom:25px}.auth-kicker{display:flex;align-items:center;gap:9px;margin-bottom:20px;color:#bdcaff;font-size:9px;font-weight:800;letter-spacing:.13em}.auth-kicker>span{width:7px;height:7px;border-radius:50%;background:#45d49a;box-shadow:0 0 0 4px #45d49a21}.auth-brand-copy h1{margin:0 0 15px;color:#fff;font-size:clamp(43px,6vw,74px);font-weight:650;letter-spacing:-.07em;line-height:.99}.auth-brand-copy>p:last-child{max-width:410px;margin:0;color:#b7c1d3;font-size:13px;line-height:1.7}.auth-visual{position:relative;display:grid;width:min(100%,410px);height:190px;flex:0 0 auto;align-self:flex-end;place-items:center;margin-top:20px}.auth-orbit{position:absolute;width:185px;height:185px;border:1px solid rgba(182,199,255,.2);border-radius:50%;box-shadow:0 0 0 18px #b1c5ff09,0 0 0 42px #b1c5ff06}.auth-orbit-inner{width:125px;height:125px;border-color:#b6c7ff1f;box-shadow:none}.auth-visual-mark{display:grid;width:86px;height:86px;place-items:center;border:1px solid rgba(204,216,255,.28);border-radius:25px;background:linear-gradient(145deg,#ffffff29,#ffffff09);box-shadow:0 18px 50px #040a193d,inset 0 1px #ffffff26;color:#fff;font-size:23px;font-weight:850;letter-spacing:.04em}.auth-visual-card{position:absolute;display:flex;align-items:center;gap:8px;padding:11px 13px;border:1px solid rgba(209,220,255,.17);border-radius:10px;background:#131e34cc;box-shadow:0 12px 30px #050a1833;color:#c1ccdf;font-size:9px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.auth-visual-card-top{top:20px;right:1%}.auth-visual-card-top strong{margin-left:5px;color:#f1f4ff}.auth-visual-dot{width:7px;height:7px;border-radius:50%;background:#45d49a}.auth-visual-card-bottom{bottom:13px;left:0;align-items:flex-start;flex-direction:column;gap:8px}.auth-visual-card-bottom>span{color:#8594ae;font-size:7px;font-weight:800;letter-spacing:.12em}.auth-visual-card-bottom strong{display:flex;align-items:center;gap:8px;color:#f1f4ff;font-size:11px}.auth-visual-card-bottom i{width:4px;height:4px;border-radius:50%;background:#8594ae}.auth-brand-footer{position:relative;z-index:1;margin:auto 0 0;padding-top:22px;color:#8190a8;font-size:8px;font-weight:750;letter-spacing:.12em}.auth-brand-footer span,.auth-form-footer span{padding:0 5px;color:#7185c9}.auth-form-panel{display:flex;min-width:0;min-height:calc(100vh - 32px);align-items:center;justify-content:center;flex-direction:column;padding:76px clamp(22px,5vw,76px) 25px}.auth-login-card{width:min(100%,400px);padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.auth-login-card .eyebrow{margin-bottom:9px;font-size:9px}.auth-login-card h2{margin:0 0 8px;color:#17243a;font-size:clamp(25px,3vw,32px);letter-spacing:-.055em}.auth-login-card .login-description{margin-bottom:30px;color:#7a8799;font-size:12px}.auth-login-card form>label{margin-bottom:8px;color:#36445a;font-size:10px}.auth-login-card .login-input{min-height:47px;margin-bottom:19px;padding:0 13px;border-color:#e0e5ed;border-radius:9px;background:#fff;color:#17243a;font-size:11px}.auth-login-card .login-input::placeholder{color:#a4adba}.auth-login-card .login-input:focus{border-color:#7389e3;box-shadow:0 0 0 3px #4963cf1c}.auth-login-card .btn-login{display:flex;min-height:47px;align-items:center;justify-content:center;gap:12px;margin-top:3px;border-radius:9px;background:linear-gradient(110deg,#395ed4,#5276e8);box-shadow:0 8px 18px #395ed430;font-size:11px}.auth-login-card .btn-login:hover:not(:disabled){background:linear-gradient(110deg,#2e50c4,#4568db);box-shadow:0 10px 24px #395ed440}.auth-login-card .btn-login span{font-size:16px;font-weight:400}.auth-mobile-brand{display:none}.auth-access-note{display:flex;align-items:flex-start;gap:8px;margin:23px 0 0;color:#8490a2;font-size:9px;line-height:1.5}.auth-access-note>span{width:6px;height:6px;flex:0 0 auto;margin-top:3px;border-radius:50%;background:#42b883}.auth-login-card .login-error{margin:-5px 0 12px;font-size:10px;line-height:1.5}.auth-form-footer{margin-top:auto;padding-top:30px;color:#9aa4b2;font-size:9px}html[data-theme=dark]{color-scheme:dark;--ink: #edf2fb;--muted: #9aa8bd;--line: #2b374b;background:#0c1320}html[data-theme=dark] body{background:radial-gradient(ellipse at 50% -20%,rgba(71,108,220,.13),transparent 48%),#0c1320;color:#edf2fb}html[data-theme=dark] .theme-toggle{border-color:#344158;background:#131d2ee6;color:#d3dded}html[data-theme=dark] .theme-toggle:hover{border-color:#566a91;background:#1a2840;color:#fff}html[data-theme=dark] .auth-card{border-color:#2a374c;background:#121c2c;box-shadow:0 18px 55px #0000003d}html[data-theme=dark] .auth-login-card{border:0;background:transparent;box-shadow:none}html[data-theme=dark] .auth-login-card h2,html[data-theme=dark] .auth-login-card form>label{color:#eef2fa}html[data-theme=dark] .auth-login-card .login-description,html[data-theme=dark] .auth-access-note{color:#a3afc1}html[data-theme=dark] .auth-login-card .login-input{border-color:#344158;background:#131e30;color:#eef2fa}html[data-theme=dark] .auth-login-card .login-input::placeholder{color:#8290a6}html[data-theme=dark] .auth-form-footer{color:#7f8ca0}html[data-theme=dark] .auth-card h1{color:#eef2fa}html[data-theme=dark] .auth-card form>label{color:#ced7e5}html[data-theme=dark] .auth-card .login-description,html[data-theme=dark] .loading-message{color:#a3afc1}html[data-theme=dark] .portal-header{border-color:#263248}html[data-theme=dark] .portal-header h1{color:#edf2fb}html[data-theme=dark] .session-identity{border-color:#2b374b;background:#141f31;color:#b2bfd1}html[data-theme=dark] .role-notice{border-color:#2b374b;background:#141e2e}html[data-theme=dark] .role-notice h2{color:#edf2fb}html[data-theme=dark] .role-notice p{color:#a3afc1}@media(max-width:900px){.auth-shell-split{grid-template-columns:minmax(0,.95fr) minmax(380px,1.05fr)}.auth-brand-panel{padding:35px}.auth-brand-copy h1{font-size:clamp(42px,6vw,58px)}.auth-visual{height:150px}}@media(max-width:700px){.auth-shell-split{min-height:100svh;grid-template-columns:1fr;gap:0;padding:12px}.auth-theme-control{top:22px;right:22px}.auth-brand-panel{display:none}.auth-form-panel{min-height:calc(100svh - 24px);padding:75px 22px 20px}.auth-login-card{width:min(100%,430px)}.auth-mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:42px;color:#53627a;font-size:9px;font-weight:800;letter-spacing:.1em}html[data-theme=dark] .auth-mobile-brand{color:#c1ccdc}}@media(max-width:420px){.auth-theme-control{top:18px;right:18px}.theme-toggle{min-height:35px;padding:0 9px;font-size:9px}.auth-form-panel{padding-right:14px;padding-left:14px}}:root{font-family:Inter,Segoe UI,Tahoma,Geneva,Verdana,sans-serif;color:#17243a;background:#f4f7fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:400;--ink: #17243a;--muted: #6d7b90;--line: #e5eaf1;--blue: #3157d5;--blue-dark: #2444b2}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(ellipse at 50% -20%,rgba(71,108,220,.1),transparent 48%),#f4f7fb}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}main{width:100%}.login-card{width:min(100% - 36px,420px);margin:max(8vh,48px) auto;padding:38px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 18px 55px #2036601a}.brand-mark{display:grid;width:44px;height:44px;flex:0 0 auto;place-items:center;border-radius:13px;background:#e9efff;color:var(--blue);font-size:14px;font-weight:800;letter-spacing:.04em}.login-card>.brand-mark{margin-bottom:28px}.eyebrow{margin:0 0 7px;color:var(--blue);font-size:11px;font-weight:800;letter-spacing:.13em}h1,h2,h3,p{margin-top:0}.login-card h1{margin-bottom:9px;font-size:25px;letter-spacing:-.04em}.login-description,.section-description{color:var(--muted);font-size:13px;line-height:1.55}.login-description{margin-bottom:26px}.login-card form>label,.field-label{display:block;margin:0 0 7px;color:#36445a;font-size:12px;font-weight:700}.login-input,.filter-field input,.filter-field select,.date-picker{width:100%;min-height:42px;padding:10px 12px;border:1px solid #dce3ed;border-radius:8px;outline:none;background:#fff;color:var(--ink);transition:border-color .15s,box-shadow .15s}.login-input{margin-bottom:17px}.login-input:focus,.filter-field input:focus,.filter-field select:focus,.date-picker:focus{border-color:#718be6;box-shadow:0 0 0 3px #3157d51f}.btn-login,.btn-primary{border:0;border-radius:8px;background:var(--blue);color:#fff;font-size:13px;font-weight:750;transition:background .15s,transform .15s}.btn-login{width:100%;min-height:46px;margin-top:4px}.btn-login:hover,.btn-primary:hover{background:var(--blue-dark)}.btn-login:active,.btn-primary:active{transform:translateY(1px)}.login-error{margin:14px 0 0;color:#bf3438;font-size:12px}.dashboard-layout{display:grid;width:min(100% - 48px,1440px);grid-template-columns:228px minmax(0,1fr);align-items:start;gap:24px;margin:20px auto 0}.dashboard-sidebar{position:sticky;top:20px;display:flex;min-height:calc(100vh - 40px);flex-direction:column;padding:22px 14px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 8px 26px #2036600e}.sidebar-heading{margin:0 0 12px 10px;color:#97a2b3;font-size:9px;font-weight:800;letter-spacing:.12em}.sidebar-nav{display:grid;gap:5px}.sidebar-link{display:flex;min-height:44px;align-items:center;gap:11px;padding:8px 10px;border-radius:9px;color:#64728a;font-size:11px;font-weight:700;text-decoration:none;transition:color .15s,background .15s,transform .15s}.sidebar-link:hover{background:#f5f7fb;color:var(--ink);transform:translate(2px)}.sidebar-link.is-active{background:#edf2ff;color:var(--blue-dark)}.sidebar-number{display:grid;width:28px;height:28px;flex:0 0 auto;place-items:center;border:1px solid #e8edf5;border-radius:8px;background:#fff;color:#8793a7;font-size:9px;font-weight:800}.sidebar-link.is-active .sidebar-number{border-color:#d7e1ff;color:var(--blue)}.sidebar-count{min-width:24px;margin-left:auto;padding:3px 6px;border-radius:20px;background:#f0f3f8;color:#67758b;font-size:9px;text-align:center}.sidebar-status{display:flex;align-items:center;gap:10px;margin-top:auto;padding:14px 9px 2px;border-top:1px solid #edf0f5}.sidebar-status-dot{width:9px;height:9px;flex:0 0 auto;border-radius:50%;background:#29a66a;box-shadow:0 0 0 4px #e8f7ef}.sidebar-status strong,.sidebar-status div>span{display:block}.sidebar-status strong{margin-bottom:3px;color:#34435a;font-size:10px}.sidebar-status div>span{color:#8b96a8;font-size:9px}.dashboard{width:100%;min-width:0;margin:0;padding:0 0 22px}.dashboard-welcome{display:flex;min-height:136px;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding:25px 29px;overflow:hidden;border:1px solid #e5eafa;border-radius:17px;background:linear-gradient(115deg,#fff 4%,#f5f7ff);box-shadow:0 8px 24px #2036600b}.dashboard-welcome h2{margin:0 0 7px;color:var(--ink);font-size:23px;letter-spacing:-.045em}.dashboard-welcome-copy>p:not(.eyebrow){margin:0;color:var(--muted);font-size:11px;line-height:1.5}.welcome-date{flex:0 0 auto;padding:9px 12px;border:1px solid #e0e7f6;border-radius:9px;background:#fffc;color:#53627a;font-size:10px;font-weight:750}.topbar,.brand,.section-heading,.header-actions,.pagination,.pagination-buttons{display:flex;align-items:center}.topbar,.section-heading,.pagination{justify-content:space-between;gap:18px}.topbar{margin-bottom:27px}.brand{gap:13px}.brand .eyebrow{margin-bottom:3px}.brand h1{margin:0;font-size:24px;letter-spacing:-.04em}.btn-secondary{min-height:38px;padding:0 13px;border:1px solid #dce3ed;border-radius:8px;background:#fff;color:#35435a;font-size:12px;font-weight:700;white-space:nowrap;transition:background .15s,border-color .15s}.btn-secondary:hover:not(:disabled){border-color:#bdc9dc;background:#f8faff}.btn-danger{min-height:38px;padding:0 13px;border:1px solid #efcaca;border-radius:8px;background:#fff;color:#b4232c;font-size:12px;font-weight:750;white-space:nowrap;transition:background .15s,border-color .15s}.btn-danger:hover:not(:disabled){border-color:#e5aaaa;background:#fff5f5}.btn-danger:disabled{cursor:not-allowed;opacity:.5}.message{margin:0 0 18px;padding:12px 15px;border:1px solid transparent;border-radius:9px;font-size:13px}.message.success{border-color:#bce4cb;background:#effaf3;color:#176b39}.message.error{border-color:#f0c5c4;background:#fff4f3;color:#a52c30}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:18px}.metric-card,.panel{border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:0 4px 15px #20366009}.metric-card{position:relative;min-height:132px;padding:17px 18px 16px;overflow:hidden;border-radius:15px;transition:transform .18s,box-shadow .18s}.metric-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px #20366017}.metric-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.metric-topline .metric-label{margin:0}.metric-icon{display:grid;width:27px;height:27px;flex:0 0 auto;place-items:center;border-radius:8px;background:#edf2ff;color:var(--blue);font-size:8px;font-weight:850}.metric-attendance .metric-icon{background:#e9f8ef;color:#21814b}.metric-incidents .metric-icon{background:#fff4e3;color:#a56a11}.metric-latest .metric-icon{background:#f1edff;color:#6951b5}.metric-label,.metric-note{display:block;color:var(--muted);font-size:12px}.metric-label{margin-bottom:12px;font-weight:650}.metric-value{display:block;margin-bottom:5px;color:var(--ink);font-size:27px;line-height:1;letter-spacing:-.04em}.metric-date{font-size:21px}.metric-note{font-size:11px}.panel{padding:24px;margin-bottom:18px;border-radius:16px;box-shadow:0 6px 21px #2036600b;scroll-margin-top:18px}.section-heading{align-items:flex-start;margin-bottom:19px}.section-heading h2{margin:0 0 5px;font-size:19px;letter-spacing:-.03em}.section-description{margin:0;font-size:12px}.registration-panel .date-picker{display:block;max-width:240px;margin-bottom:15px}.operator-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.operador-row{display:flex;min-height:56px;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px 9px 14px;border:1px solid #e9edf3;border-radius:10px;background:#fbfcfe;transition:border-color .15s,background .15s}.operador-row:focus-within{border-color:#becbfa;background:#f8faff}.operador-name{color:#34435a;font-size:12px;font-weight:700}.operador-select{max-width:185px;min-height:34px;padding:6px 8px;border:1px solid #dce3ed;border-radius:7px;outline:none;background:#fff;color:#34435a;font-size:11px}.operador-select:focus{box-shadow:0 0 0 3px #3157d51a}.btn-primary{width:100%;min-height:45px;margin-top:17px;text-transform:none}.save-summary{margin-top:16px;padding:15px 16px;border:1px solid #dce7ff;border-radius:9px;background:#f6f8ff}.save-summary h3{margin:0 0 5px;color:#2444b2;font-size:13px}.save-summary p{margin:0;color:#5d6c83;font-size:12px}.records-heading{align-items:center}.header-actions{gap:8px}.filters{display:grid;grid-template-columns:minmax(180px,1.5fr) repeat(3,minmax(130px,1fr)) auto;align-items:end;gap:10px;margin-bottom:17px}.filter-field span{display:block;margin-bottom:6px;color:#68768b;font-size:10px;font-weight:750;letter-spacing:.035em}.filter-field input,.filter-field select{min-height:38px;padding:8px 10px;font-size:11px}.clear-filters{min-height:38px}.history-status{min-height:18px;margin-bottom:8px;color:var(--muted);font-size:11px}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:9px}table{width:100%;border-collapse:collapse;text-align:left}th,td{padding:12px 15px;border-bottom:1px solid #edf0f5;font-size:12px}th{background:#f8f9fc;color:#758197;font-size:10px;font-weight:750;letter-spacing:.055em;text-transform:uppercase}td{color:#35435a}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafbfe}.status-badge{display:inline-flex;align-items:center;min-height:25px;padding:4px 9px;border-radius:20px;font-size:10px;font-weight:750;white-space:nowrap}.status-attendance{background:#e7f7ed;color:#16723b}.status-late{background:#fff3dd;color:#96600a}.status-absence{background:#ffebeb;color:#b22c32}.status-permission{background:#e8f5fa;color:#126c82}.status-rest,.status-unknown{background:#eef1f5;color:#5e6b7d}.pagination{min-height:55px;padding-top:11px}.page-info{color:var(--muted);font-size:11px}.pagination-buttons{gap:7px}.page-footer{padding:2px 0 18px;color:#929daf;font-size:10px;text-align:center}@media(max-width:820px){.dashboard-layout{grid-template-columns:190px minmax(0,1fr);gap:16px}.metrics,.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.search-field{grid-column:1 / -1}.clear-filters{justify-self:start}}@media(max-width:720px){.dashboard-layout{width:min(100% - 32px,1180px);grid-template-columns:1fr;gap:14px;margin-top:15px}.dashboard-sidebar{position:static;min-height:0;padding:12px}.sidebar-heading,.sidebar-status{display:none}.sidebar-nav{display:flex;gap:6px;overflow-x:auto}.sidebar-link{min-height:40px;flex:0 0 auto;padding:6px 9px}.sidebar-number{width:25px;height:25px}.dashboard{padding-bottom:16px}.dashboard-welcome{min-height:120px;padding:21px 23px}}@media(max-width:560px){.dashboard{width:100%}.login-card,.panel{padding:21px}.dashboard-welcome{align-items:flex-start;flex-direction:column;gap:13px;padding:19px}.dashboard-welcome h2{font-size:20px}.topbar{align-items:flex-start}.brand{align-items:flex-start;gap:9px}.brand-mark{width:38px;height:38px;border-radius:11px;font-size:12px}.brand h1{max-width:210px;font-size:18px;line-height:1.25}.topbar>.btn-secondary{min-height:34px;padding:0 9px;font-size:10px}.metric-card{min-height:110px;padding:15px}.metric-value{font-size:23px}.metric-date{font-size:17px}.operator-list{grid-template-columns:1fr}.section-heading,.records-heading{align-items:flex-start;flex-direction:column}.header-actions{width:100%}.header-actions .btn-secondary,.header-actions .btn-danger{flex:1}.filters{gap:9px}.filter-field input,.filter-field select{min-width:0;font-size:10px}th,td{padding:11px 10px;font-size:11px}.pagination{align-items:flex-start;flex-direction:column;gap:10px}}.dashboard-layout{width:min(100% - 56px,1480px);grid-template-columns:238px minmax(0,1fr);gap:22px;margin-top:24px}.dashboard-sidebar{top:24px;min-height:calc(100vh - 48px);padding:22px 14px;border-color:#202b40;background:#101828;box-shadow:0 18px 48px #10182824}.sidebar-heading{color:#78859b}.sidebar-link{color:#aeb8c8}.sidebar-link:hover{background:#1a2639;color:#fff}.sidebar-link.is-active{background:#25365a;color:#fff}.sidebar-number{border-color:#34425a;background:#1b2638;color:#aeb8c8}.sidebar-link.is-active .sidebar-number{border-color:#728df4;background:#3e5ed0;color:#fff}.sidebar-count{background:#263248;color:#d3dbea}.sidebar-status{border-color:#2b374b}.sidebar-status strong{color:#e8edf5}.sidebar-status div>span{color:#8996aa}.sidebar-status-dot{box-shadow:0 0 0 4px #2dc48021}.dashboard{padding-bottom:30px}.dashboard-welcome{position:relative;min-height:220px;margin-bottom:18px;padding:34px 38px;overflow:hidden;border:1px solid #202f4a;border-radius:20px;background:radial-gradient(ellipse at 86% 16%,rgba(86,118,230,.3),transparent 35%),radial-gradient(ellipse at 70% 120%,rgba(37,89,190,.34),transparent 45%),linear-gradient(118deg,#101828,#17233c 58%,#1b2b4d);box-shadow:0 18px 44px #13224029;scroll-margin-top:18px}.dashboard-welcome:after{position:absolute;right:6%;bottom:-96px;width:290px;height:290px;border:1px solid rgba(177,197,255,.14);border-radius:50%;box-shadow:0 0 0 28px #b1c5ff09,0 0 0 58px #b1c5ff06;content:"";pointer-events:none}.dashboard-welcome-copy,.dashboard-welcome-aside{position:relative;z-index:1}.dashboard-welcome .eyebrow{color:#9fb3ff}.dashboard-welcome h2{margin:0 0 9px;color:#fff;font-size:clamp(25px,3vw,36px);letter-spacing:-.055em}.dashboard-welcome p:last-child{max-width:480px;color:#b7c1d3;font-size:13px}.dashboard-welcome-copy{max-width:640px}.dashboard-quick-link{display:inline-flex;min-height:38px;align-items:center;gap:12px;margin-top:4px;padding:0 14px;border:1px solid rgba(190,205,255,.3);border-radius:9px;background:#ffffff14;color:#fff;font-size:11px;font-weight:750;text-decoration:none;transition:background .18s,border-color .18s,transform .18s}.dashboard-quick-link:hover{transform:translateY(-1px);border-color:#becdff8c;background:#ffffff24}.dashboard-quick-link span{color:#b8c8ff;font-size:16px}.dashboard-welcome-aside{display:flex;align-items:flex-end;flex-direction:column;gap:12px}.welcome-date{padding:9px 12px;border-color:#d1dcff33;background:#ffffff14;color:#edf1ff}.dashboard-live{display:inline-flex;align-items:center;gap:7px;color:#c0cbdc;font-size:10px}.dashboard-live>span{width:7px;height:7px;border-radius:50%;background:#45d49a;box-shadow:0 0 0 4px #45d49a21}.metrics{gap:14px;margin-bottom:16px}.metric-card,.panel{border-color:#e7ebf2;box-shadow:0 7px 22px #1927440b}.metric-card{min-height:144px;padding:19px 20px;border-radius:15px}.metric-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px #19274417}.metric-topline{margin-bottom:16px}.metric-label{color:#707e93;font-size:11px;font-weight:700}.metric-icon{width:34px;height:34px;border:1px solid #e4e9f4;border-radius:10px;background:#f0f3ff;color:#4764cf}.metric-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.metric-total .metric-icon{background:#edf1ff;color:#4764cf}.metric-attendance .metric-icon{background:#e9f8f0;color:#238351}.metric-incidents .metric-icon{background:#fff4e8;color:#be751c}.metric-latest .metric-icon{background:#f2edff;color:#7658bd}.metric-value{margin-bottom:7px;font-size:30px;letter-spacing:-.055em}.metric-date{font-size:20px}.metric-note{color:#8a96a8;font-size:10px}.insights-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.9fr);gap:15px;margin-bottom:16px}.insights-grid .panel{min-width:0;margin-bottom:0;padding:21px 22px 17px;border-radius:15px}.insight-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.insight-heading .eyebrow{margin-bottom:5px;font-size:9px}.insight-heading h2{margin:0;color:#17243a;font-size:16px;letter-spacing:-.035em}.insight-period{flex:0 0 auto;padding:6px 9px;border:1px solid #e7ebf2;border-radius:7px;color:#7d899b;font-size:9px;font-weight:700}.activity-chart{display:grid;min-height:152px;grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;padding:8px 4px 0}.activity-day{display:grid;min-width:0;grid-template-rows:18px minmax(0,1fr) 18px;justify-items:center;gap:6px}.activity-count{color:#65738a;font-size:10px;font-weight:700}.activity-track{display:flex;width:min(100%,28px);height:100%;align-items:flex-end;overflow:hidden;border-radius:8px;background:#f0f3f8}.activity-bar{display:block;width:100%;min-height:4px;border-radius:7px;background:linear-gradient(180deg,#7890f0,#425fd0);transition:height .3s ease}.activity-label{color:#8490a2;font-size:9px;font-weight:650;text-transform:capitalize}.insight-footnote{margin:13px 0 0;color:#98a2b1;font-size:9px}.status-breakdown{display:grid;gap:12px}.status-breakdown-row{display:grid;gap:6px}.status-breakdown-label{display:flex;align-items:center;gap:7px;color:#68768b;font-size:10px}.status-breakdown-label strong{margin-left:auto;color:#26344a;font-size:10px}.status-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#9aa5b5}.status-dot.status-attendance,.status-breakdown-fill.status-attendance{background:#37a66c}.status-dot.status-late,.status-breakdown-fill.status-late{background:#e5a43a}.status-dot.status-absence,.status-breakdown-fill.status-absence{background:#e16d70}.status-dot.status-permission,.status-breakdown-fill.status-permission{background:#42a8c4}.status-dot.status-rest,.status-breakdown-fill.status-rest,.status-dot.status-unknown,.status-breakdown-fill.status-unknown{background:#9ba6b7}.status-breakdown-track{height:5px;overflow:hidden;border-radius:10px;background:#eef1f5}.status-breakdown-fill{display:block;height:100%;min-width:0;border-radius:inherit;transition:width .3s ease}@media(max-width:980px){.insights-grid{grid-template-columns:minmax(0,1fr) minmax(250px,.85fr)}}@media(max-width:820px){.dashboard-layout{width:min(100% - 40px,1480px);grid-template-columns:minmax(0,1fr);gap:14px}.insights-grid{grid-template-columns:1fr}.dashboard-sidebar{position:static;min-height:0;padding:12px}.sidebar-heading,.sidebar-status{display:none}.sidebar-nav{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.sidebar-link{min-height:42px;flex:0 0 auto}}@media(max-width:720px){.dashboard-layout{width:min(100% - 28px,1480px);grid-template-columns:minmax(0,1fr);gap:12px;margin-top:14px}.dashboard-sidebar{border-radius:13px;padding:8px}.sidebar-nav{gap:6px;padding-bottom:2px}.sidebar-link{min-height:42px;gap:7px;padding:6px 9px;font-size:10px}.dashboard-welcome{min-height:0;align-items:flex-start;flex-direction:column;gap:14px;padding:clamp(18px,4vw,24px)}.dashboard-welcome-aside{align-items:flex-start;flex-direction:row;flex-wrap:wrap}.insights-grid .panel{padding:18px}}@media(max-width:560px){.dashboard-layout{width:min(100% - 24px,1480px)}.dashboard-welcome{min-height:0;padding:21px}.dashboard-welcome h2{max-width:270px;font-size:25px}.dashboard-welcome:after{right:-90px;bottom:-120px}.metrics{gap:9px}.metric-card{min-height:122px;padding:14px}.metric-topline{margin-bottom:11px}.metric-label{font-size:10px}.metric-icon{width:29px;height:29px}.metric-value{font-size:25px}.metric-date{font-size:16px}.metric-note{font-size:9px}.activity-chart{min-height:132px;gap:clamp(5px,2vw,10px)}}html[data-theme=dark] .metric-card,html[data-theme=dark] .panel{border-color:#29364b;background:#141e2e;box-shadow:0 8px 26px #00000021}html[data-theme=dark] .metric-label,html[data-theme=dark] .section-description,html[data-theme=dark] .history-status,html[data-theme=dark] .page-info{color:#a4b0c2}html[data-theme=dark] .metric-value,html[data-theme=dark] .section-heading h2,html[data-theme=dark] .insight-heading h2{color:#edf2fb}html[data-theme=dark] .metric-note,html[data-theme=dark] .insight-footnote{color:#8997ac}html[data-theme=dark] .insight-period{border-color:#344158;background:#18253a;color:#b7c3d5}html[data-theme=dark] .activity-count,html[data-theme=dark] .status-breakdown-label{color:#b2bfd1}html[data-theme=dark] .status-breakdown-label strong{color:#e8edf5}html[data-theme=dark] .activity-track,html[data-theme=dark] .status-breakdown-track{background:#263248}html[data-theme=dark] .operador-row{border-color:#2a374b;background:#172235}html[data-theme=dark] .operador-row:focus-within{border-color:#5069b1;background:#1b2941}html[data-theme=dark] .operador-name{color:#d7dfeb}html[data-theme=dark] .operador-select,html[data-theme=dark] .date-picker,html[data-theme=dark] .filter-field input,html[data-theme=dark] .filter-field select{border-color:#3a4860;background:#111b2b;color:#e8edf5}html[data-theme=dark] .operador-select:focus,html[data-theme=dark] .date-picker:focus,html[data-theme=dark] .filter-field input:focus,html[data-theme=dark] .filter-field select:focus{border-color:#7189df}html[data-theme=dark] .filter-field span{color:#a8b4c6}html[data-theme=dark] .filter-field input::placeholder{color:#8190a6}html[data-theme=dark] .btn-secondary{border-color:#39475d;background:#182438;color:#d7dfeb}html[data-theme=dark] .btn-secondary:hover:not(:disabled){border-color:#566a8d;background:#202f48}html[data-theme=dark] .btn-danger{border-color:#74434d;background:#2a1d2a;color:#ffafb2}html[data-theme=dark] .btn-danger:hover:not(:disabled){border-color:#a2535c;background:#39202b}html[data-theme=dark] .table-wrap{border-color:#2d3a4f}html[data-theme=dark] th{border-color:#2d3a4f;background:#1a2639;color:#a5b1c3}html[data-theme=dark] td{border-color:#263348;color:#d2dbe8}html[data-theme=dark] tbody tr:hover{background:#19263a}html[data-theme=dark] .message.success{border-color:#275b48;background:#142b27;color:#8fe0b0}html[data-theme=dark] .message.error{border-color:#693b47;background:#301e2a;color:#ffb4b6}html[data-theme=dark] .save-summary{border-color:#34466b;background:#18253b;color:#bccbff}html[data-theme=dark] .save-summary h3{color:#bdcaff}html[data-theme=dark] .save-summary p{color:#b4bfd1}html[data-theme=dark] .page-footer{color:#77859a}.history-pencil-button{display:inline-grid;width:36px;height:36px;place-items:center;border:1px solid #dfe6f0;border-radius:9px;background:#fff;color:#52647e;transition:border-color .15s,background .15s,color .15s}.history-pencil-button:hover:not(:disabled){border-color:#b6c5e1;background:#f3f6fc;color:var(--blue)}.history-pencil-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7}.history-edit-actions{display:flex;align-items:center;gap:6px}.history-edit-button{min-height:34px;padding:0 9px;font-size:10px}.history-status-select{min-height:36px;padding:6px 9px;border:1px solid #dce3ed;border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:11px}.payroll-period-controls{display:grid;grid-template-columns:repeat(2,minmax(150px,1fr)) auto auto;align-items:end;gap:10px;margin-bottom:18px}.payroll-period-controls .filter-field input{width:100%}.payroll-save{width:auto;min-height:38px;margin:0;padding:0 15px}.payroll-employee-list{display:grid;gap:13px}.payroll-employee-card{padding:17px;border:1px solid #e6ebf2;border-radius:12px;background:#fbfcfe}.payroll-employee-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.payroll-employee-heading h3{margin:0 0 4px;color:var(--ink);font-size:15px}.payroll-employee-heading span{color:var(--muted);font-size:11px}.payroll-saved-badge{padding:5px 8px;border-radius:20px;background:#e9f8ef;color:#21814b!important;font-size:10px!important;font-weight:750}.payroll-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.payroll-input-field{display:block;min-width:0}.payroll-input-field span{display:block;margin-bottom:6px;color:#68768b;font-size:10px;font-weight:750}.payroll-input-field input,.payroll-input-field select{width:100%;min-height:38px;padding:8px 10px;border:1px solid #dce3ed;border-radius:8px;outline:none;background:#fff;color:var(--ink);font-size:11px}.payroll-input-field input:focus,.payroll-input-field select:focus{border-color:#718be6;box-shadow:0 0 0 3px #3157d51a}.payroll-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:14px 0 0;padding-top:10px;border-top:1px solid #e6ebf2}.payroll-breakdown>div{display:flex;min-height:33px;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0f5;font-size:11px}.payroll-breakdown dt{color:#68768b}.payroll-breakdown dd{margin:0;color:var(--ink);font-weight:700;text-align:right;white-space:nowrap}.payroll-breakdown .payroll-total{grid-column:1 / -1;min-height:43px;border-bottom:0}.payroll-total dt,.payroll-total dd{color:var(--blue-dark);font-size:13px;font-weight:850}.payroll-empty{margin:12px 0;color:var(--muted);font-size:12px}.payroll-self-panel{width:min(100% - 48px,1180px);margin:25px auto}html[data-theme=dark] .payroll-employee-card{border-color:#2b394e;background:#111b2b}html[data-theme=dark] .payroll-employee-heading h3,html[data-theme=dark] .payroll-breakdown dd{color:#e8edf5}html[data-theme=dark] .payroll-employee-heading span,html[data-theme=dark] .payroll-input-field span,html[data-theme=dark] .payroll-breakdown dt,html[data-theme=dark] .payroll-empty{color:#a4b0c2}html[data-theme=dark] .payroll-input-field input,html[data-theme=dark] .payroll-input-field select{border-color:#3a4860;background:#111b2b;color:#e8edf5}html[data-theme=dark] .payroll-breakdown{border-color:#2b394e}html[data-theme=dark] .payroll-breakdown>div{border-color:#263348}html[data-theme=dark] .history-pencil-button{border-color:#3a4860;background:#111b2b;color:#c0cce0}html[data-theme=dark] .history-pencil-button:hover:not(:disabled){border-color:#566a8d;background:#202f48;color:#bdcaff}html[data-theme=dark] .history-status-select{border-color:#3a4860;background:#111b2b;color:#e8edf5}html[data-theme=dark] .payroll-total dt,html[data-theme=dark] .payroll-total dd{color:#aebeff}.employee-attendance-panel{width:min(100% - 48px,1180px);margin:25px auto 16px}.employee-attendance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.employee-attendance-summary>div{display:grid;min-height:72px;align-content:center;gap:4px;padding:12px 14px;border:1px solid #e6ebf2;border-radius:11px;background:#fbfcfe}.employee-attendance-summary strong{color:var(--ink);font-size:19px;letter-spacing:-.035em}.employee-attendance-summary span,.employee-attendance-date span{color:var(--muted);font-size:10px;font-weight:650}.employee-attendance-filters{display:grid;max-width:520px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.employee-attendance-filters input{width:100%}.employee-attendance-list{display:grid;gap:8px}.employee-attendance-row{display:flex;min-height:52px;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;border:1px solid #e6ebf2;border-radius:10px;background:#fff}.employee-attendance-date{display:grid;gap:4px}.employee-attendance-date strong{color:var(--ink);font-size:12px}html[data-theme=dark] .employee-attendance-summary>div,html[data-theme=dark] .employee-attendance-row{border-color:#2b394e;background:#111b2b}html[data-theme=dark] .employee-attendance-summary strong,html[data-theme=dark] .employee-attendance-date strong{color:#e8edf5}html[data-theme=dark] .employee-attendance-summary span,html[data-theme=dark] .employee-attendance-date span{color:#a4b0c2}@media(max-width:760px){.payroll-period-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.payroll-period-controls button{width:100%}.payroll-save{min-height:40px}}@media(max-width:560px){.payroll-period-controls,.payroll-breakdown{grid-template-columns:1fr}.payroll-breakdown .payroll-total{grid-column:auto}.payroll-self-panel,.employee-attendance-panel{width:min(100% - 32px,1180px);padding:21px}}@media(max-width:600px){.portal-header{width:calc(100% - 28px);align-items:flex-start;flex-direction:column;gap:12px;padding:15px 0}.portal-header .session-actions{width:100%;align-items:center;flex-direction:row;flex-wrap:wrap;gap:8px}.session-identity{max-width:100%;flex:1 1 100%;text-align:left}.portal-header .theme-toggle,.portal-header .btn-secondary{min-height:42px}.dashboard-layout{width:calc(100% - 24px);gap:12px;margin-top:12px}.dashboard-sidebar{padding:8px}.sidebar-nav{gap:6px;padding-bottom:2px}.sidebar-link{min-height:42px;gap:7px;padding:6px 9px;font-size:10px}.sidebar-number{width:25px;height:25px}.dashboard-welcome{gap:14px;padding:19px}.dashboard-welcome h2{font-size:24px;line-height:1.15}.dashboard-welcome-copy>p:not(.eyebrow){font-size:12px;line-height:1.55}.panel,.insights-grid .panel{padding:17px;border-radius:13px}.metrics{gap:8px}.metric-card{min-height:116px;padding:13px}.metric-value{font-size:23px}.metric-date{font-size:15px}.section-heading,.records-heading{gap:12px;margin-bottom:16px}.section-heading h2{font-size:18px;line-height:1.25}.section-description{font-size:11px;line-height:1.5}.header-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.header-actions .btn-secondary,.header-actions .btn-danger{min-width:0;min-height:42px;padding:8px 10px;font-size:10px;line-height:1.3}.header-actions .btn-danger{grid-column:1 / -1}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.search-field{grid-column:1 / -1}.filter-field input,.filter-field select,.filter-field input[type=date]{min-height:44px;padding:9px;font-size:12px}.clear-filters{min-height:42px}.registration-panel .date-picker{width:100%;max-width:none;min-height:44px;margin-bottom:16px}.operator-list{gap:8px}.operador-row{min-height:0;align-items:flex-start;flex-direction:column;gap:8px;padding:12px}.operador-select{width:100%;max-width:none;min-height:42px;font-size:12px}.registration-panel .btn-primary{min-height:46px;line-height:1.35}.table-wrap{overflow:visible;border:0;background:transparent}.table-wrap table,.table-wrap tbody{display:block;width:100%}.table-wrap thead{display:none}.table-wrap tbody{display:grid;gap:9px}.table-wrap tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:13px;border:1px solid #e6ebf2;border-radius:11px;background:#fff}.table-wrap tbody td{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:10px;padding:0;border:0;font-size:12px;text-align:right}.table-wrap tbody td:before{color:#78859a;content:attr(data-label);font-size:9px;font-weight:750;letter-spacing:.045em;text-align:left;text-transform:uppercase}.table-wrap tbody td[data-label=Fecha],.table-wrap tbody td[data-label=Colaborador]{grid-column:1 / -1}.table-wrap tbody td[colspan]{grid-column:1 / -1;justify-content:flex-start;text-align:left}.table-wrap tbody td[colspan]:before{display:none}.table-wrap tbody tr:hover{background:#fff}.history-status-select{min-width:0;max-width:190px;min-height:42px;padding:7px;border:1px solid #dce3ed;border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:11px}.history-action-cell{justify-content:flex-end!important}.history-edit-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px}.history-edit-button{min-height:40px;padding:0 9px;font-size:10px}.history-pencil-button{width:42px;height:42px}.pagination{min-height:0;align-items:center;flex-direction:row;justify-content:space-between;gap:8px;padding-top:14px}.pagination-buttons{gap:6px}.pagination-buttons .btn-secondary{min-height:42px;padding:0 10px}.payroll-period-controls{grid-template-columns:minmax(0,1fr);gap:10px}.employee-attendance-summary{gap:7px}.employee-attendance-summary>div{min-height:66px;padding:10px}.employee-attendance-summary strong{font-size:17px}.employee-attendance-summary span{font-size:9px}.employee-attendance-row{min-height:58px;padding:10px}.employee-attendance-row .status-badge{max-width:58%;white-space:normal;text-align:center}.payroll-period-controls button,.payroll-save{width:100%;min-height:44px}.payroll-employee-card{padding:14px}.payroll-edit-grid{grid-template-columns:minmax(0,1fr);gap:12px}.payroll-input-field input,.payroll-input-field select{min-height:44px;font-size:12px}.payroll-breakdown{gap:0}.payroll-breakdown>div{min-height:39px;font-size:11px}}@media(max-width:360px){.metrics{grid-template-columns:minmax(0,1fr)}.metric-card{min-height:104px}.filters{grid-template-columns:minmax(0,1fr)}.search-field{grid-column:auto}}html[data-theme=dark] .table-wrap tbody tr{border-color:#2d3a4f;background:#141e2e}html[data-theme=dark] .table-wrap tbody td:before{color:#a4b0c2}
