:root{--ink:#203c36;--muted:#697c76;--green:#155749;--pale:#edf5ef;--line:#e3eae5;--bg:#f5f7f4;--orange:#9b681b;--radius:18px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55}a{color:inherit;text-decoration:none}button,input{font:inherit}button,a,input{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d68b2a;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-size:38px;font-weight:650;letter-spacing:-1.4px;line-height:1.18;margin-bottom:10px}h2{font-size:19px;font-weight:650;letter-spacing:-.3px;margin-bottom:8px}h3{font-size:18px}p{margin-bottom:16px}small{font-size:12px}.shell{display:flex;min-height:100vh}.sidebar{width:240px;flex-shrink:0;padding:32px 22px 24px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:11px;font-weight:750;font-size:19px;letter-spacing:-.5px}.brand small{display:block;font-weight:400;letter-spacing:0;color:var(--muted);font-size:11px}.brand-icon{background:var(--green);color:white;width:42px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;font-size:23px;letter-spacing:-3px;padding-right:3px}.brand-icon span{color:#d9e9a8}.nav-label{margin:50px 12px 16px;font-size:10px;letter-spacing:1.5px;font-weight:700;color:#819087}.sidebar nav{display:flex;flex-direction:column;gap:7px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:12px 15px;border-radius:10px;color:#5a7068;font-weight:550}.sidebar nav a span{font-size:22px;width:22px;line-height:1}.sidebar nav a:hover{background:#f7f9f6}.sidebar nav a[aria-current=page]{background:var(--pale);color:var(--green)}.sidebar-bottom{margin-top:auto;padding:24px 10px 0}.sidebar-bottom p{font-size:12px;color:var(--muted);margin:13px 0 22px}.tag{font-size:10px;letter-spacing:1.1px;font-weight:750;padding:6px 9px;border:1px solid #d5dfd4;border-radius:6px;color:#58734f;background:#f3f7ed;display:inline-block}.quiet-link{font-size:12px;color:var(--muted)}.logout{background:none;border:0;padding:13px 0 0;color:var(--ink);font-size:13px;width:100%;text-align:left;display:flex;justify-content:space-between}.workspace{flex:1;min-width:0}.topbar{height:88px;padding:0 42px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fff;font-size:12px;color:var(--muted)}.top-separator{padding:0 15px;color:#c6d1ca}.profile{display:flex;gap:10px;align-items:center;color:var(--ink);font-size:13px;font-weight:600}.profile small{display:block;font-size:10px;color:var(--muted);font-weight:400}.avatar{width:37px;height:37px;background:#e9eee1;border-radius:50%;display:flex;align-items:center;justify-content:center}.workspace main{padding:28px 42px 0;max-width:1550px;margin:auto}.notice{display:flex;align-items:center;gap:10px;background:#fbf7eb;border:1px solid #eee5ca;color:#7a6439;border-radius:10px;font-size:12px;padding:11px 15px;margin-bottom:30px}.notice strong{white-space:nowrap}.notice-dot{height:7px;width:7px;border-radius:50%;background:#bd9a46;flex-shrink:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:32px 0 30px}.page-heading p{color:var(--muted);margin:0}.eyebrow{display:block;font-size:10px;letter-spacing:1.6px;font-weight:700;color:#6c8679;margin-bottom:12px}.button{display:inline-flex;align-items:center;justify-content:center;gap:18px;border-radius:9px;min-height:46px;padding:11px 19px;border:1px solid transparent;font-size:13px;font-weight:650;line-height:1.4;transition:background .15s}.button.primary{background:var(--green);color:#fff}.button.primary:hover{background:#0b4439}.button.secondary{border-color:#d9e3dc;background:#fff;color:var(--ink)}.button.secondary:hover{background:#f1f6f1}.button.small{min-height:39px;padding:8px 12px}.button.full{width:100%;margin-top:10px;justify-content:space-between}.dashboard-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;margin-bottom:26px}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:26px 28px;box-shadow:0 3px 8px #203c3603}.section-line{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.section-line h2{margin:0}.section-line p{margin:5px 0 0;font-size:12px}.status{font-size:11px;border-radius:20px;padding:5px 11px;display:inline-flex;align-items:center;gap:5px;background:#f0f2f0;color:#61766a;white-space:nowrap}.status.in,.status.resume{background:#e9f4ec;color:#226347}.status.pause{background:#fff2d9;color:#8c631a}.punch-card>.muted{font-size:10px;letter-spacing:1.5px;font-weight:650;margin:36px 0 2px}.big-time{font-size:76px;font-weight:550;letter-spacing:-4px;line-height:1.2;font-variant-numeric:tabular-nums}.big-time>span{font-size:28px;color:#90a097;padding-left:9px;letter-spacing:0}.time-caption{font-size:12px;color:var(--muted);margin:10px 0 28px}.punch-actions{display:flex;gap:10px;flex-wrap:wrap}.card-note{border-top:1px solid var(--line);margin-top:28px;padding-top:16px;font-size:11px;color:var(--muted);display:flex;gap:8px;align-items:center}.card-note span{color:#64977c}.month-card{background:#eef3e9;box-shadow:none;border-color:#e3eadb}.month-card h2{font-size:24px}.month-total{font-size:46px;letter-spacing:-2px;font-variant-numeric:tabular-nums;font-weight:550;margin:20px 0 24px}.month-total>span{display:block;font-size:12px;letter-spacing:0;color:var(--muted);font-weight:400}.month-metric{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:10px 0;border-bottom:1px solid #dbe5d5}.month-metric strong{font-size:12px}.month-card .fine{margin:16px 0}.text-link{font-size:12px;font-weight:650;color:var(--green)}.text-link:hover{text-decoration:underline}.muted{color:var(--muted)}.fine{font-size:11px;color:var(--muted);line-height:1.7}.mini-label{font-size:9px;font-weight:700;letter-spacing:1px;color:#819087}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-size:10px;font-weight:650;letter-spacing:.7px;text-transform:uppercase;color:#7a8e83;padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:16px 10px;border-bottom:1px solid #edf1ed;vertical-align:middle}tbody tr:last-child td{border-bottom:0}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}td strong{font-weight:550}tfoot td{border-top:1px solid var(--line);font-weight:700}.tabular{font-variant-numeric:tabular-nums}.event-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;background:#edf4ee;border-radius:9px;color:#337c59;margin-right:12px;font-size:17px}.event-icon.out{background:#f1f2f7;color:#67788f}.event-icon.pause,.event-icon.resume{background:#faf3e7;color:#aa8541}.saved{color:#4a7b60;font-size:11px}.empty{text-align:center;padding:42px 20px;color:var(--muted)}.empty>span{display:block;font-size:35px;color:#7a9f85;margin-bottom:12px}.empty h3{color:var(--ink);margin-bottom:6px}.empty p{font-size:13px;margin-bottom:0}.cell-sub{display:block;font-size:11px;color:var(--muted);margin-top:3px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:24px}.stat>span{color:var(--muted);font-size:12px}.stat>strong{display:block;font-size:40px;font-weight:550;line-height:1.3;margin-top:8px;letter-spacing:-1.5px}.filter{display:flex;align-items:center;gap:9px;font-size:12px}.filter input{width:auto;min-width:150px;padding:8px 10px;min-height:40px}.heading-actions{display:flex;gap:9px;flex-wrap:wrap}.report-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px}.report-summary .muted{font-size:10px;letter-spacing:1px}.report-summary strong{display:block;font-size:34px;font-weight:550;letter-spacing:-1px}.report-summary strong small{font-size:20px;color:var(--muted)}.event-list{display:flex;flex-wrap:wrap;gap:7px 18px;font-size:11px;color:var(--muted);max-width:490px}.event-list b{font-weight:600;color:var(--ink);margin-right:4px}.form-card{max-width:650px}.field{margin-bottom:20px}.field label{display:block;font-size:12px;font-weight:650;margin-bottom:8px}input{width:100%;min-height:46px;border:1px solid #d8e1da;border-radius:8px;background:#fff;padding:10px 13px;color:var(--ink)}.help{font-size:11px;color:var(--muted);margin-top:6px}.help ul{padding-left:18px}.errorlist{color:#9b3434;font-size:12px;padding-left:18px}.message{padding:13px 16px;border-radius:9px;margin-bottom:20px;font-size:13px;border:1px solid #cde3d1;background:#eff8f0;color:#286244}.message.error{background:#fff1ef;border-color:#efcfca;color:#9b3434}.message ul{margin:0;padding-left:18px}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#153f35;color:white;padding:48px 64px;display:flex;flex-direction:column;justify-content:space-between;gap:70px;min-height:100vh;position:relative;overflow:hidden}.login-story:after{content:"";position:absolute;width:440px;height:440px;border:1px solid #ffffff0c;border-radius:50%;right:-260px;bottom:-170px;box-shadow:0 0 0 65px #ffffff04,0 0 0 130px #ffffff03;pointer-events:none}.login-story .brand-icon{background:#ffffff18}.login-story .brand small{color:#aac4b7}.login-story .eyebrow{color:#b8d19d}.login-story h1{font-size:57px;line-height:1.13;letter-spacing:-2.6px;font-weight:500;margin-bottom:25px}.login-story p{max-width:380px;color:#b9cfc3;font-size:16px;line-height:1.8}.story-card{display:flex;gap:15px;align-items:center;border-top:1px solid #ffffff20;padding-top:28px;margin-top:38px;font-size:13px}.story-card small{display:block;color:#aac4b7;margin-top:3px}.story-check{border-radius:50%;width:35px;height:35px;display:grid;place-items:center;background:#cadba4;color:#254f39}.login-story>small{font-size:11px;color:#97b4a5}.login-panel{display:flex;align-items:center;justify-content:center;padding:50px 35px;background:#fbfcfa}.login-card{max-width:380px;width:100%}.login-card h2{font-size:34px;letter-spacing:-1px;margin:24px 0 8px}.login-card>.muted{font-size:13px;margin-bottom:30px}.login-hint{border-top:1px solid var(--line);margin-top:32px;padding-top:23px;font-size:12px}.login-hint p{color:var(--muted);margin:7px 0 20px}.login-hint code{font-size:11px;overflow-wrap:anywhere}footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#84958b;padding:26px 0;margin-top:18px}.skip{position:absolute;top:-100px;z-index:10;background:white;padding:12px}.skip:focus{top:10px;left:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.workspace main{padding-top:40px}.dashboard-grid{grid-template-columns:1.7fr 1fr}.punch-card{padding:32px 38px}.big-time{font-size:88px}}
@media(max-width:1100px){.sidebar{width:205px;padding:28px 15px}.brand{font-size:17px}.topbar{padding:0 25px}.workspace main{padding:24px 25px 0}.card{padding:22px}.page-heading h1{font-size:32px}.dashboard-grid{gap:18px}.section-line{flex-wrap:wrap}.report-summary{flex-wrap:wrap}.login-story{padding:40px}.login-story h1{font-size:47px}.big-time{font-size:65px}.status{font-size:10px}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:16px 20px;display:block;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:18px}.brand-icon{width:35px;height:36px;font-size:20px}.nav-label{display:none}.sidebar nav{flex-direction:row;margin-top:18px;gap:5px}.sidebar nav a{padding:9px 12px;font-size:12px;gap:7px}.sidebar nav a span{font-size:18px;width:18px}.sidebar-bottom{margin:0;padding:0;position:absolute;right:20px;top:22px}.sidebar-bottom .tag,.sidebar-bottom p,.quiet-link{display:none}.logout{font-size:11px;padding:7px 0;gap:8px}.topbar{height:64px;padding:0 20px}.topbar>span{font-size:10px}.top-separator{padding:0 5px}.profile{font-size:11px}.avatar{width:29px;height:29px}.workspace main{padding:18px 18px 0}.notice{flex-wrap:wrap;gap:5px 8px;font-size:11px;margin-bottom:24px}.notice>span:last-child{flex-basis:100%}.page-heading{margin:24px 0;align-items:flex-start;flex-wrap:wrap}.page-heading h1{font-size:32px}.page-heading p{font-size:13px}.page-heading>.button{font-size:12px;min-height:40px;padding:9px 14px}.dashboard-grid{grid-template-columns:1fr}.card{padding:22px 20px;border-radius:14px}.big-time{font-size:75px}.punch-card>.muted{margin-top:25px}.punch-actions .button{flex:1;min-width:130px}.month-total{margin:16px 0}.mini-label{font-size:8px}.activity-card .section-line{margin-bottom:14px}table{font-size:12px}td{padding:14px 9px}.event-icon{display:none}.saved{white-space:nowrap}.stat-grid{gap:9px}.stat{padding:15px 12px}.stat>span{font-size:10px}.stat>strong{font-size:30px}.filter{flex-wrap:wrap}.filter input{min-width:130px}.report-summary{gap:18px}.report-summary>.filter{width:100%;border-top:1px solid var(--line);padding-top:18px}.heading-actions .button{font-size:12px;padding:10px 13px}.event-list{min-width:140px}.login-layout{display:block}.login-story{min-height:auto;padding:25px 25px 34px;gap:35px}.login-story h1{font-size:37px;margin-bottom:14px}.login-story p{font-size:13px;margin-bottom:0}.story-card,.login-story>small{display:none}.login-story .eyebrow{font-size:9px;margin-bottom:10px}.login-panel{padding:35px 25px 45px}.login-card h2{font-size:29px}footer{flex-direction:column;gap:4px}.form-card{padding:22px 18px}}
@media print{body{background:white;font-size:11px}.sidebar,.topbar,.notice,.heading-actions,.filter,footer,.skip{display:none!important}.shell,.workspace{display:block}.workspace main{padding:0;max-width:none}.card{box-shadow:none;border-radius:0;border:0;padding:10px 0}.page-heading{margin:10px 0 20px}h1{font-size:25px}.table-wrap{overflow:visible}tr{break-inside:avoid}.report-summary{border-bottom:1px solid #ccc}.event-list{max-width:none}.fine{color:#333}.status{background:none}thead{display:table-header-group}}

/* Correcciones: controles nativos, teclado y diseño adaptable. */
select,textarea{font:inherit;width:100%;min-height:46px;padding:10px 12px;border:1px solid #d8e1da;border-radius:8px;background:#fff;color:var(--ink)}
textarea{resize:vertical}select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d68b2a;outline-offset:4px}
.correction-form .form-card,.change-card,.audit-card{margin-bottom:20px}.correction-form label,.form-card form>p>label{display:block;font-weight:600;margin-bottom:7px}
.change-card summary{cursor:pointer;font-weight:650;padding:3px 0}.change-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;padding-top:22px}.change-fields>ul{grid-column:1/-1}.change-fields p{min-width:0}
.helptext{display:block;font-size:12px;color:var(--muted);margin-top:6px}.audit-ref{display:block;overflow-wrap:anywhere;font-size:10px;color:var(--muted);margin-top:8px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
input[type=radio]{width:auto;min-height:auto;margin-right:8px}.form-card #id_decision>div{margin:10px 0}.report-summary{flex-wrap:wrap}
@media(max-width:760px){.sidebar nav{flex-wrap:wrap}.change-fields{grid-template-columns:1fr}.change-card{padding:18px}.change-fields select{max-width:100%}}
@media print{.report-warning{display:flex!important}}
.account-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:24px;align-items:start}.button.danger{background:#973e36;color:#fff}.button.danger:hover{background:#7d302a}.account-actions{display:flex;flex-wrap:wrap;gap:10px}.team-filter{flex-wrap:wrap}.team-filter select{width:auto;min-width:140px}.account-grid .notice{margin:18px 0}
@media(max-width:1100px){.account-grid{grid-template-columns:1fr}}
.team-links{margin-bottom:24px}.review-needed{color:#8c631a;font-weight:600}.incident-stats{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.incident-section{margin-bottom:24px;scroll-margin-top:20px}.incident-section .fine{margin:20px 0 0}.incident-pagination{margin-top:22px;margin-bottom:0}.incident-reason{max-width:320px;overflow-wrap:anywhere}.stat>strong{overflow-wrap:anywhere}
@media(max-width:760px){.incident-stats{grid-template-columns:1fr}.sidebar nav a{flex-wrap:nowrap}}

/* Acceso a la cuenta visible también en pantallas bajas y estrechas. */
.sidebar{overflow-y:auto}
.topbar{height:auto;min-height:88px;padding:18px 42px;gap:16px;flex-wrap:wrap}
.topbar-account{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;margin-left:auto;max-width:100%}
.topbar-account .profile{min-width:0;overflow-wrap:anywhere}
.topbar-account .avatar{flex-shrink:0}
.topbar-account form{margin:0;flex-shrink:0}
.field label.confirmation-check{display:flex;align-items:center;gap:12px;min-height:44px;cursor:pointer}
.confirmation-check input[type=checkbox]{width:20px;height:20px;min-height:20px;flex-shrink:0;margin:0;padding:0}
@media(max-width:1100px){.topbar{padding:16px 25px}}
@media(max-width:760px){.topbar{padding:14px 20px;gap:10px}.topbar-account{width:100%;justify-content:space-between;gap:10px}.topbar-account .profile{flex:1 1 120px}.topbar-account .button{min-height:44px}}
