html{font-family:Noto Sans JP,Noto Sans,Arial,sans-serif}:root{--brand:#dc2626;--brand-dark:#991b1b;--brand-soft:#fee2e2;--bg:#f8fafc;--panel:#fff;--line:#e5e7eb;--text:#111827;--muted:#6b7280;--danger:#b91c1c;--radius:8px;--shadow:0 14px 34px #11182714}*{box-sizing:border-box}body{color:var(--text);background:var(--bg);margin:0;font-family:Noto Sans JP,Noto Sans,Arial,sans-serif}button,input,select,textarea{font:inherit}a{color:inherit}.login{background:linear-gradient(135deg,#dc26261f,#0000 42%),#fff;place-items:center;min-height:100vh;padding:20px;display:grid}.login-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);width:min(440px,100%);box-shadow:var(--shadow);padding:26px}.brand{align-items:center;gap:12px;margin-bottom:22px;display:flex}.brand-mark{border-radius:var(--radius);color:#fff;background:var(--brand);flex:none;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.brand-name{font-size:20px;font-weight:800}.muted{color:var(--muted);font-size:12px}.login-title{margin:0 0 18px;font-size:20px}.field{gap:6px;margin-bottom:14px;display:grid}.field label{color:var(--muted);font-size:12px;font-weight:700}.field input,.field select,.field textarea{border:1px solid var(--line);border-radius:var(--radius);min-height:40px;color:var(--text);background:#fff;padding:7px 10px;font-size:13px}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand);outline:3px solid #dc26261f}.field input[aria-invalid=true]{border-color:var(--danger)}.field-error{color:var(--danger);margin:0;font-size:12px;font-weight:600}.btn{border-radius:var(--radius);cursor:pointer;border:1px solid #0000;justify-content:center;align-items:center;gap:.4em;min-height:38px;padding:7px 12px;font-size:13px;font-weight:800;display:inline-flex}.btn.primary{color:#fff;background:var(--brand)}.btn.primary:hover{background:var(--brand-dark)}.btn.secondary{color:var(--brand-dark);border-color:var(--line);background:#fff}.btn.secondary:hover{background:var(--brand-soft);border-color:#fecaca}.btn.danger{color:#fff;background:var(--danger)}.btn.danger:hover{background:#991b1b}.shift-list{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;margin-bottom:22px;display:grid}.shift-card{border:1px solid var(--line);border-radius:var(--radius);color:var(--text);background:var(--panel);box-shadow:var(--shadow);cursor:pointer;text-align:left;gap:8px;padding:16px;display:grid}.shift-card:hover{background:snow;border-color:#fca5a5}.shift-card.inactive{opacity:.65}.shift-card-head,.editor-heading,.editor-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.shift-card-time{font-size:18px;font-weight:800}.shift-editor{max-width:780px}.editor-heading{align-items:flex-start;margin-bottom:18px}.editor-heading h2{margin:0 0 5px;font-size:18px}.work-total{border-radius:var(--radius);color:var(--brand-dark);background:var(--brand-soft);flex:none;padding:8px 10px;font-weight:800}.full-span{grid-column:1/-1}.editor-actions{justify-content:flex-end;margin-top:18px}.btn.compact{min-height:30px;padding:5px 8px;font-size:12px}.btn.full{width:100%}.btn:disabled{cursor:not-allowed;opacity:.6}.app{grid-template-columns:260px minmax(0,1fr);align-items:start;min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;min-width:0;height:100dvh;min-height:100vh;padding:16px 14px;transition:padding .18s;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar-top{order:1;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px;display:flex}.sidebar-brand{flex:1;gap:9px;min-width:0;margin-bottom:0}.sidebar-brand .brand-mark{width:34px;height:34px;font-size:13px}.sidebar-brand .brand-name{font-size:16px}.sidebar-top-controls{flex-shrink:0;align-items:center;gap:6px;display:flex}.menu-toggle{border:1px solid var(--line);border-radius:var(--radius);width:34px;height:34px;color:var(--brand-dark);cursor:pointer;background:#fff;place-items:center;font-size:18px;display:grid}.sidebar.menu-open .menu-toggle{color:#fff;border-color:var(--brand);background:var(--brand)}.nav{order:2;gap:8px;margin:12px 0 0;display:grid}.nav.collapsed{display:grid}.nav a{border-radius:var(--radius);width:100%;color:var(--muted);align-items:center;gap:.5em;padding:11px 12px;font-weight:700;text-decoration:none;display:flex}.nav a:hover,.nav a.active{color:var(--brand-dark);background:var(--brand-soft)}#localeForm{order:3;margin-top:auto;margin-bottom:8px}.sidebar-lang{border:1px solid var(--line);border-radius:var(--radius);width:100%;min-height:34px;color:var(--text);cursor:pointer;background:#fff;padding:6px 8px;font-size:12px;font-weight:800}.sidebar-user{border:1px solid var(--line);border-radius:var(--radius);background:#fff;order:4;justify-content:space-between;align-items:center;gap:8px;min-width:0;margin-top:0;margin-bottom:0;padding:9px;display:flex}.sidebar-user-main{align-items:center;gap:8px;min-width:0;display:flex}.audit-change+.audit-change{margin-top:4px}.app.sidebar-collapsed{grid-template-columns:76px minmax(0,1fr);transition:grid-template-columns .18s}.app.sidebar-collapsed .sidebar{padding-inline:10px}.app.sidebar-collapsed .sidebar-brand>div:not(.brand-mark),.app.sidebar-collapsed .nav,.app.sidebar-collapsed #localeForm,.app.sidebar-collapsed .sidebar-user{display:none}.app.sidebar-collapsed .sidebar-top{flex-direction:column;justify-content:flex-start}.app.sidebar-collapsed .sidebar-top-controls{justify-content:center;width:100%}.app.sidebar-collapsed .sidebar-brand{flex:0;justify-content:center;width:100%}.avatar{color:#fff;background:var(--brand);border-radius:50%;flex:none;place-items:center;width:28px;height:28px;font-size:11px;font-weight:800;display:grid}.user-details{min-width:0}.user-details strong,.user-details span{text-overflow:ellipsis;white-space:nowrap;max-width:108px;display:block;overflow:hidden}.user-details strong{font-size:13px}.main{min-width:0;padding:22px}.topbar{justify-content:space-between;align-items:center;gap:14px;min-height:58px;margin-bottom:18px;display:flex}h1{margin:0;font-size:24px}h2{margin:0 0 14px;font-size:18px}.page-description,.card-copy{color:var(--muted);margin:6px 0 0}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--panel);box-shadow:var(--shadow);padding:18px}.attendance-grid{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;display:grid}.clock{text-align:center;padding:18px 0 24px}.clock-date{color:var(--muted);font-size:15px;font-weight:700}.clock-time{font-variant-numeric:tabular-nums;letter-spacing:.04em;margin:4px 0;font-size:clamp(38px,6vw,60px);font-weight:900}.attendance-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px;display:grid}.attendance-actions:has(.attendance-action:only-child){grid-template-columns:1fr}.attendance-action{min-height:54px;font-size:16px}.status-row,.assigned-shift-grid{gap:10px;display:grid}.status-row{grid-template-columns:repeat(3,minmax(0,1fr))}.assigned-shift-grid{grid-template-columns:1fr}.metric{border:1px solid var(--line);border-radius:var(--radius);background:#f9fafb;min-width:0;padding:13px}.metric .label{color:var(--muted);margin-bottom:5px;font-size:12px;font-weight:700}.metric .value{overflow-wrap:anywhere;font-size:15px;font-weight:800}.value-with-badge{justify-content:space-between;align-items:center;gap:8px;display:flex}.shift-total,.chip{border-radius:999px;align-items:center;font-size:12px;font-weight:800;display:inline-flex}.shift-total{color:var(--brand-dark);background:var(--brand-soft);flex:none;padding:3px 8px}.chip{padding:5px 9px}.chip.ok{color:#166534;background:#dcfce7}.chip.off{color:#4b5563;background:#e5e7eb}.alert{border-radius:var(--radius);border:1px solid;margin-bottom:14px;padding:10px 12px;font-size:13px;font-weight:600}.alert.success{color:#166534;background:#f0fdf4;border-color:#bbf7d0}.alert.danger{color:var(--danger);background:#fef2f2;border-color:#fecaca}.modal-backdrop{z-index:20;background:#1118278c;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal-backdrop[hidden],[hidden]{display:none!important}.modal{border-radius:var(--radius);background:#fff;width:min(520px,100%);max-height:calc(100vh - 32px);padding:22px;overflow-y:auto;box-shadow:0 24px 70px #11182740}.modal .card-copy{margin-bottom:18px}.network-ip-details{gap:10px;display:grid}.network-ip-details>div{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;display:flex}.network-ip-details span{color:var(--muted);font-size:13px}.network-ip-details strong{overflow-wrap:anywhere;text-align:right}.attendance-rule-card{margin-bottom:18px}.attendance-rule-card__header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.attendance-rule-details{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0 0;display:grid}.attendance-rule-details>div{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);padding:12px}.attendance-rule-details dt{color:var(--muted);margin-bottom:5px;font-size:12px;font-weight:700}.attendance-rule-details dd{overflow-wrap:anywhere;margin:0;font-weight:700}.attendance-rule-action{margin-top:18px}.attendance-rule-history{padding:0;overflow:hidden}.attendance-rule-history__header{border-bottom:1px solid var(--line);padding:18px}.attendance-rule-table{min-width:680px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.modal-actions{justify-content:flex-end;gap:10px;margin-top:20px;display:flex}.timesheet-card{padding:0;overflow:hidden}.timesheet-print-only{display:none}.timesheet-summary{border-bottom:1px solid var(--line);background:#fff;padding:18px}.timesheet-summary h2{margin-bottom:12px}.timesheet-summary-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:0;display:grid}.timesheet-summary-grid>div{border:1px solid var(--line);border-radius:var(--radius);background:#f9fafb;min-width:0;padding:11px 12px}.timesheet-summary-grid dt{color:var(--muted);margin-bottom:4px;font-size:11px;font-weight:700}.timesheet-summary-grid dd{overflow-wrap:anywhere;font-variant-numeric:tabular-nums;margin:0;font-size:15px;font-weight:800}.timesheet-summary-grid-primary{grid-template-columns:repeat(5,minmax(0,1fr))}.timesheet-summary-violations{flex-wrap:wrap;gap:3px 6px;display:flex}.timesheet-summary-details{margin-top:12px}.timesheet-summary-details summary{width:fit-content;color:var(--brand-dark);cursor:pointer;font-size:12px;font-weight:800}.timesheet-summary-details summary:hover{text-decoration:underline}.timesheet-summary-grid-details{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}.timesheet-summary-warning{margin:12px 0 0}.timesheet-summary-warning ul{margin:6px 0 0;padding-left:20px}.dashboard-month-filter{align-items:end;gap:10px;display:flex}.dashboard-month-filter .field{min-width:170px;margin-bottom:0}.dashboard-monthly-summary{margin-bottom:18px}.dashboard-monthly-summary__header{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.dashboard-monthly-summary__header h2{margin:0}.dashboard-monthly-summary__header span{color:var(--muted);font-size:12px;font-weight:700}.dashboard-monthly-summary__metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;display:grid}.dashboard-monthly-summary__metrics>div{border:1px solid var(--line);border-radius:var(--radius);background:#f9fafb;padding:14px}.dashboard-monthly-summary__metrics dt{color:var(--muted);margin-bottom:5px;font-size:12px;font-weight:700}.dashboard-monthly-summary__metrics dd{font-variant-numeric:tabular-nums;margin:0;font-size:20px;font-weight:900}.dashboard-monthly-summary__status{color:var(--muted);flex-wrap:wrap;gap:8px 18px;margin-top:12px;font-size:12px;display:flex}.dashboard-monthly-summary__status strong{color:var(--text);font-variant-numeric:tabular-nums;margin-left:4px}.dashboard-monthly-summary__warning{margin:12px 0 0}.dashboard-monthly-summary__warning ul{margin:6px 0 0;padding-left:20px}.dashboard-empty{color:var(--muted)}.dashboard-empty p{margin:0}.dashboard-activity-summary{margin-top:18px}.dashboard-activity-summary__metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;display:grid}.dashboard-activity-summary__metrics>div{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);padding:14px}.dashboard-activity-summary__metrics dt{color:var(--muted);font-size:12px;font-weight:700}.dashboard-activity-summary__metrics dd{font-variant-numeric:tabular-nums;margin:6px 0 0;font-size:24px;font-weight:900}.activity-log-card{padding:0;overflow:hidden}.activity-log-table{min-width:1040px}.activity-log-summary{min-width:240px}.activity-log-actions-column{width:110px;text-align:right!important}.activity-log-type{white-space:nowrap}.activity-log-type--attendance{color:#1d4ed8;background:#dbeafe}.activity-log-type--shift{color:#6d28d9;background:#ede9fe}.activity-log-type--network{color:#9a3412;background:#ffedd5}.activity-log-modal{border:0;width:min(760px,100% - 32px)}.activity-log-modal::backdrop{background:#1118278c}.activity-log-modal__header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.activity-log-modal__header h2{margin-bottom:0}.activity-log-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0;display:grid}.activity-log-meta>div{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);padding:10px 12px}.activity-log-meta dt{color:var(--muted);margin-bottom:4px;font-size:12px;font-weight:700}.activity-log-meta dd{overflow-wrap:anywhere;margin:0;font-weight:700}.activity-log-change-wrap{border:1px solid var(--line);border-radius:var(--radius)}.activity-log-change-table{min-width:560px}.activity-log-change-table th[scope=row]{background:#fff}.dashboard-work-chart{--chart-work:37, 99, 235;background:#fff;padding:18px}.dashboard-work-chart__header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px;display:flex}.dashboard-work-chart__header h2{margin-bottom:4px}.dashboard-work-chart__header p{color:var(--muted);margin:0;font-size:12px}.dashboard-work-chart__legend{color:var(--muted);flex-wrap:wrap;justify-content:flex-end;gap:6px 12px;font-size:11px;font-weight:700;display:flex}.dashboard-work-chart__legend span{align-items:center;gap:5px;display:inline-flex}.dashboard-work-chart__legend i{border-radius:3px;place-items:center;width:12px;height:12px;font-size:9px;font-style:normal;display:inline-grid}.dashboard-work-chart__legend-work{background:rgba(var(--chart-work), .72)}.dashboard-work-chart__legend-positive{background:#d97706}.dashboard-work-chart__legend-negative{background:var(--danger)}.dashboard-work-chart__legend-unavailable{color:#4b5563;background:#f3f4f6;border:1px dashed #9ca3af}.dashboard-work-chart__scroll{outline:none;max-width:100%;padding:2px 2px 8px;overflow-x:auto}.dashboard-work-chart__scroll:focus-visible{border-radius:var(--radius);outline:2px solid var(--brand);outline-offset:2px}.dashboard-work-chart__plot{grid-template-columns:repeat(var(--chart-day-count), minmax(32px, 1fr));min-width:max(100%, calc(var(--chart-day-count) * 36px));gap:4px;min-height:128px;display:grid}.dashboard-work-chart__day{min-width:0;position:relative}.dashboard-work-chart__day[open]{z-index:5}.dashboard-work-chart__day summary{cursor:pointer;border-radius:5px;outline:none;min-width:0;list-style:none;display:block}.dashboard-work-chart__day summary::-webkit-details-marker{display:none}.dashboard-work-chart__day summary:focus-visible,.dashboard-work-chart__day[open] summary{outline:2px solid var(--brand);outline-offset:2px}.dashboard-work-chart__date{color:#374151;text-align:center;font-variant-numeric:tabular-nums;margin-bottom:4px;font-size:10px;font-weight:800;display:block}.dashboard-work-chart__day.is-weekend .dashboard-work-chart__date,.dashboard-work-chart__day.is-holiday .dashboard-work-chart__date{color:var(--danger)}.dashboard-work-chart__heat{color:#374151;background:#fff;border:1px solid #d1d5db;border-radius:4px;place-items:center;height:24px;font-size:10px;font-weight:900;display:grid}.dashboard-work-chart__day.intensity-1 .dashboard-work-chart__heat{border-color:rgba(var(--chart-work), .28);background:rgba(var(--chart-work), .18)}.dashboard-work-chart__day.intensity-2 .dashboard-work-chart__heat{border-color:rgba(var(--chart-work), .42);background:rgba(var(--chart-work), .36)}.dashboard-work-chart__day.intensity-3 .dashboard-work-chart__heat{color:#fff;border-color:rgba(var(--chart-work), .7);background:rgba(var(--chart-work), .64)}.dashboard-work-chart__day.intensity-4 .dashboard-work-chart__heat{color:#fff;border-color:rgb(var(--chart-work));background:rgb(var(--chart-work))}.dashboard-work-chart__day.state-non_working .dashboard-work-chart__heat{background:#f3f4f6;border-color:#e5e7eb}.dashboard-work-chart__day.state-unrecorded .dashboard-work-chart__heat{border-style:dashed}.dashboard-work-chart__day.state-future summary{opacity:.42}.dashboard-work-chart__day.state-incomplete .dashboard-work-chart__heat{background:repeating-linear-gradient(135deg,#f3f4f6,#f3f4f6 4px,#e5e7eb 4px 8px);border-color:#9ca3af}.dashboard-work-chart__day.state-missing_shift .dashboard-work-chart__heat{border-style:dashed;outline:1px solid #d9770659}.dashboard-work-chart__difference{height:84px;margin-top:4px;display:block;position:relative}.dashboard-work-chart__difference:before{content:"";background:#d1d5db;height:1px;position:absolute;top:50%;left:0;right:0}.dashboard-work-chart__bar{width:min(12px,52%);height:var(--difference-size);border-radius:3px 3px 0 0;position:absolute;left:50%;transform:translate(-50%)}.difference-positive .dashboard-work-chart__bar{background:#d97706;bottom:50%}.difference-negative .dashboard-work-chart__bar{background:var(--danger);border-radius:0 0 3px 3px;top:50%}.dashboard-work-chart__zero{background:#6b7280;border-radius:999px;width:10px;height:4px;position:absolute;top:calc(50% - 2px);left:50%;transform:translate(-50%)}.dashboard-work-chart__not-available{color:#6b7280;background:#fff;padding:0 2px;font-size:10px;font-weight:900;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dashboard-work-chart__tooltip{z-index:10;width:230px;color:var(--text);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#fff;padding:10px;font-size:11px;display:none;position:absolute;top:0;left:50%;transform:translate(-50%)}.dashboard-work-chart__day:hover .dashboard-work-chart__tooltip,.dashboard-work-chart__day[open] .dashboard-work-chart__tooltip{display:block}.dashboard-work-chart__day:nth-child(-n+4) .dashboard-work-chart__tooltip{left:0;right:auto;transform:none}.dashboard-work-chart__day:nth-last-child(-n+4) .dashboard-work-chart__tooltip{left:auto;right:0;transform:none}.dashboard-work-chart__tooltip>strong{margin-bottom:6px;font-size:12px;display:block}.dashboard-work-chart__tooltip dl{gap:3px;margin:0;display:grid}.dashboard-work-chart__tooltip dl>div{justify-content:space-between;gap:10px;display:flex}.dashboard-work-chart__tooltip dt{color:var(--muted)}.dashboard-work-chart__tooltip dd{text-align:right;font-variant-numeric:tabular-nums;margin:0;font-weight:800}.dashboard-work-chart__sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.filter-bar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:end;gap:14px;padding:16px 18px;display:flex}.filters,.filter-actions{align-items:end;gap:10px;display:flex}.filter-field{min-width:150px;margin-bottom:0}.filter-field:has(#employeeId){min-width:240px}.table-wrap{max-width:100%;overflow-x:auto}.timesheet-table{border-collapse:collapse;width:100%;min-width:980px;font-size:13px}.timesheet-table th,.timesheet-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:middle;padding:11px 12px}.timesheet-table th{color:#374151;white-space:nowrap;background:#f9fafb;font-size:12px}.timesheet-table tbody tr:last-child td{border-bottom:0}.timesheet-table tr.is-weekend td{background:#f3f4f6}.timesheet-table tr.is-holiday td{background:#fef2f2}.date-cell,.time-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.shift-cell{min-width:225px}.shift-line{white-space:nowrap;align-items:center;gap:7px;margin-bottom:3px;display:flex}.notes-cell{overflow-wrap:anywhere;min-width:180px}.status-working{color:#1d4ed8;background:#dbeafe}.status-done{color:#166534;background:#dcfce7}.status-absent{color:#4b5563;background:#e5e7eb}.violation-list{flex-wrap:wrap;gap:4px;margin-top:5px;display:flex}.violation-badge{color:#9a3412;background:#ffedd5;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:800;display:inline-flex}.edit-column{width:82px;text-align:center!important}.employee-card{padding:0;overflow:hidden}.employee-table{min-width:1120px}.employee-actions-column{min-width:245px;text-align:right!important}.employee-actions{justify-content:flex-end;gap:6px;display:flex}.employee-actions form{margin:0}.department-card{padding:0;overflow:hidden}.department-table{min-width:680px}.department-actions-column{min-width:170px;text-align:right!important}.department-actions{justify-content:flex-end;gap:6px;display:flex}.department-actions form{margin:0}.empty-table{color:var(--muted);text-align:center!important;padding:28px!important}@media (width<=900px){.activity-log-meta{grid-template-columns:1fr}.attendance-rule-card__header{flex-direction:column}.attendance-rule-details{grid-template-columns:1fr}.app{grid-template-columns:1fr;align-content:start}.app.sidebar-collapsed{grid-template-columns:1fr}.sidebar{z-index:2;border-right:0;border-bottom:1px solid var(--line);height:auto;min-height:auto;padding:14px;position:sticky;top:0;overflow-y:visible;box-shadow:0 10px 24px #1118270f}.sidebar-top{margin-bottom:0}.nav.collapsed{display:none}.sidebar.menu-open .nav.collapsed{border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);background:#fff;order:3;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 0;padding:10px;display:grid}.sidebar-user{order:2;margin-top:8px}.sidebar.menu-open .sidebar-user,.app.sidebar-collapsed .sidebar-user{display:flex}#localeForm{order:4;margin-top:8px;margin-bottom:0}.sidebar.menu-open #localeForm{display:block}.sidebar:not(.menu-open) #localeForm{display:none}.attendance-grid{grid-template-columns:1fr}.timesheet-summary-grid-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-work-chart__header{flex-direction:column}.dashboard-work-chart__legend{justify-content:flex-start}.dashboard-topbar{flex-direction:column;align-items:stretch}.filter-bar,.filters{align-items:stretch}.filter-bar{flex-direction:column}.filters{width:100%}.filter-field{flex:1 1 0}}@media (width<=560px){.dashboard-activity-summary__metrics{grid-template-columns:1fr}.main,.dashboard-work-chart{padding:14px}.dashboard-month-filter{flex-direction:column;align-items:stretch}.dashboard-month-filter .field,.dashboard-month-filter .btn{width:100%}.dashboard-monthly-summary__header{flex-direction:column;align-items:flex-start}.dashboard-monthly-summary__metrics,.status-row,.attendance-actions,.form-grid,.timesheet-summary-grid-primary,.timesheet-summary-grid-details{grid-template-columns:1fr}.filters,.filter-actions{flex-direction:column;width:100%}.filter-field,.filter-actions .btn{width:100%}.filter-field:has(#employeeId){width:100%}}@page timesheet{size:A4 landscape;margin:10mm}@media print{body:has(.timesheet-page){color:#111;-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff}:is(body:has(.timesheet-page) .sidebar,body:has(.timesheet-page) .timesheet-screen-only,body:has(.timesheet-page) .modal-backdrop,body:has(.timesheet-page) .edit-column){display:none!important}body:has(.timesheet-page) .app{display:block}body:has(.timesheet-page) .main{padding:0}.timesheet-page{page:timesheet}.timesheet-page .timesheet-print-only{display:block!important}.timesheet-page .timesheet-print-header{border-bottom:1px solid #9ca3af;margin-bottom:5mm;padding-bottom:3mm}.timesheet-page .timesheet-print-header h1{text-align:center;margin-bottom:3mm;font-size:18pt}.timesheet-page .timesheet-print-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:4mm;display:grid}.timesheet-page .timesheet-print-meta span,.timesheet-page .timesheet-print-meta strong{display:block}.timesheet-page .timesheet-print-meta span{color:#4b5563;margin-bottom:1mm;font-size:8pt;font-weight:700}.timesheet-page .timesheet-print-meta strong{overflow-wrap:anywhere;font-size:9pt}.timesheet-page .card,.timesheet-page .timesheet-card{box-shadow:none;border:0;border-radius:0}.timesheet-page .timesheet-summary{border-bottom:0;padding:0 0 4mm}.timesheet-page .timesheet-summary h2{margin-bottom:2mm;font-size:11pt}.timesheet-page .timesheet-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:1.5mm}.timesheet-page .timesheet-summary-grid>div{border-color:#d1d5db;border-radius:2px;padding:1.5mm 2mm}.timesheet-page .timesheet-summary-grid dt{margin-bottom:.5mm;font-size:7pt}.timesheet-page .timesheet-summary-grid dd{font-size:9pt}.timesheet-page .timesheet-summary-warning{margin-top:2mm;padding:1.5mm 2mm;font-size:8pt}.timesheet-page .timesheet-summary-warning ul{margin-top:1mm}.timesheet-page .table-wrap{overflow:visible}.timesheet-page .timesheet-table{min-width:0;font-size:7.5pt}.timesheet-page .timesheet-table thead{display:table-header-group}.timesheet-page .timesheet-table tr{break-inside:avoid;page-break-inside:avoid}.timesheet-page .timesheet-table th,.timesheet-page .timesheet-table td{padding:1.2mm}.timesheet-page .timesheet-table th{font-size:7pt}.timesheet-page .shift-cell,.timesheet-page .notes-cell{min-width:0}}
