.site-preferences{display:flex;align-items:center;gap:7px}.site-preferences form{margin:0}.site-preferences select,.theme-switch{height:34px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);padding:0 9px;font-size:12px;font-weight:700}.theme-switch{min-width:34px;font-size:18px;line-height:1}.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}.location-feedback{margin:9px 0 0;color:var(--muted);min-height:15px}.employee-landing+.profile-hero{margin-top:30px}.button:disabled{opacity:.55;cursor:not-allowed}
html[data-theme='dark']{color-scheme:dark;--ink:#e9f0fc;--forest:#8bbcff;--forest-dark:#a5ccff;--blue:#8bbcff;--blue-strong:#a5ccff;--blue-soft:#253c5d;--sage:#1f3552;--canvas:#0d1726;--paper:#17243a;--line:#344863;--muted:#a4b6ce;--gold:#f0c275;--gold-pale:#493c27;--red:#ed918c;--red-pale:#482c31;--green:#78d8a1;--green-pale:#244c3a;--shadow:0 8px 28px rgba(0,0,0,.2)}
html[data-theme='dark'] body,html[data-theme='dark'] .admin-shell,html[data-theme='dark'] .workspace,html[data-theme='dark'] .employee-app{background:#0d1726;color:var(--ink)}
html[data-theme='dark'] .employee-app{background:radial-gradient(circle at 10% 10%,#172f51,transparent 38%),#0d1726}
html[data-theme='dark'] .sidebar{background:#101d31}html[data-theme='dark'] .topbar,html[data-theme='dark'] .form-drawer{background:#152239}
html[data-theme='dark'] .data-table th,html[data-theme='dark'] .schedule-day,html[data-theme='dark'] .week-bar-col,html[data-theme='dark'] .filter-bar,html[data-theme='dark'] .auth-side{background:#1c2d46;color:var(--ink)}
html[data-theme='dark'] .data-table td,html[data-theme='dark'] .data-table th,html[data-theme='dark'] .detail-item,html[data-theme='dark'] .quick-action,html[data-theme='dark'] .profile-stat,html[data-theme='dark'] .section-head{color:var(--ink);border-color:var(--line)}
html[data-theme='dark'] .button.ghost,html[data-theme='dark'] input,html[data-theme='dark'] select,html[data-theme='dark'] textarea,html[data-theme='dark'] .app-form .field input,html[data-theme='dark'] .app-form .field select,html[data-theme='dark'] .app-form .field textarea{background:#142238;color:var(--ink);border-color:var(--line)}
html[data-theme='dark'] .profile-hero .profile-password-button,html[data-theme='dark'] .profile-hero .profile-password-button:hover{background:#253c5d;border-color:#6285ae;color:#e9f2ff}
html[data-theme='dark'] .quick-action:hover,html[data-theme='dark'] .data-table tbody tr:hover{background:#263a58}html[data-theme='dark'] .pill.gray{background:#30405a;color:#d5e3f5}html[data-theme='dark'] .pill.green{background:#244c3a;color:#a8ebc4}html[data-theme='dark'] .notice.gold{background:#433725;color:#f3ce9a}html[data-theme='dark'] .schedule-day.missed{background:#493228;border-color:#80553f}
html[data-theme='dark'] .form-drawer__header,html[data-theme='dark'] .form-drawer__close,html[data-theme='dark'] .quick-action__icon,html[data-theme='dark'] .pill.blue{background:#253c5d;color:#c7ddff}
html[data-theme='dark'] .notice{background:#1d3553;border-color:#345778;color:#c6ddfa}html[data-theme='dark'] .employee-header{border-color:var(--line)}html[data-theme='dark'] .data-table tbody tr,html[data-theme='dark'] .history-card,html[data-theme='dark'] .insight-card{background:var(--paper)}
html[data-theme='dark'] .pill.gold{background:#493c27;color:#ffdf9a}
html[data-theme='dark'] .pill.red{background:#482c31;color:#ffaaa5}
html[data-theme='dark'] .kpi--active .number{color:#8fe3ad}
html[data-theme='dark'] .profile-link,html[data-theme='dark'] .action,html[data-theme='dark'] .person,html[data-theme='dark'] .data-table td a{color:#a5ccff}
html[data-theme='dark'] .table-action,html[data-theme='dark'] .employee-row-action{background:#253c5d;border-color:#45658c;color:#c7ddff}
html[data-theme='dark'] .table-action:hover,html[data-theme='dark'] .employee-row-action:hover{background:#304b70;border-color:#6285ae;color:#e1edff}
html[data-theme='dark'] .data-table th,html[data-theme='dark'] .field label,html[data-theme='dark'] .export-cols span,html[data-theme='dark'] .chart-labels,html[data-theme='dark'] .pagination,html[data-theme='dark'] .pagination-summary strong,html[data-theme='dark'] .pagination-links a,html[data-theme='dark'] .pagination-links .pagination-number,html[data-theme='dark'] .pagination-size select{color:#c7d8ef}
html[data-theme='dark'] .data-table td:first-child,html[data-theme='dark'] .data-table .person,html[data-theme='dark'] .breakdown-row a{color:#e9f2ff}
html[data-theme='dark'] .quick-action:hover,html[data-theme='dark'] .quick-action:hover .quick-action__arrow{color:#e9f2ff}
html[data-theme='dark'] .quick-action__icon--green{background:#244c3a;color:#a8ebc4}
html[data-theme='dark'] .schedule-day.off,html[data-theme='dark'] .schedule-day.off .shift-state{color:#c7d8ef}
html[data-theme='dark'] .schedule-day.missed .shift-state{color:#ffd39c}
html[data-theme='dark'] .pagination-links .is-current{color:#fff}
.download-menu{position:relative}
.download-menu__trigger{cursor:pointer;list-style:none;user-select:none}
.download-menu__trigger::-webkit-details-marker{display:none}
.download-menu__trigger .ui-icon{width:16px;height:16px}
.download-menu__trigger .download-menu__chevron{width:14px;height:14px;transition:transform .15s ease}
.download-menu[open] .download-menu__chevron{transform:rotate(180deg)}
.download-menu__items{position:absolute;right:0;top:calc(100% + 8px);z-index:30;min-width:190px;padding:6px;border:1px solid var(--line);border-radius:10px;background:var(--paper);box-shadow:var(--shadow)}
.download-menu__items a{display:block;padding:10px 12px;border-radius:7px;color:var(--ink);font-size:13px;font-weight:700;white-space:nowrap}
.download-menu__items a:hover,.download-menu__items a:focus-visible{background:var(--sage);color:var(--forest);outline:none}
@media(max-width:760px){.download-menu__items{left:0;right:auto;max-width:calc(100vw - 32px)}.download-menu__items a{white-space:normal}}
.employee-header{align-items:center;flex-direction:row}
.employee-header nav.employee-header__nav{display:flex;align-items:center;gap:16px;white-space:nowrap}
.employee-header__nav .button{min-height:34px;padding:0 12px}
.member-menu-button,.member-menu__close{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);cursor:pointer}
.member-menu-button{display:none}
.member-menu-button:hover,.member-menu__close:hover{background:var(--sage)}
.member-menu-button:focus-visible,.member-menu__close:focus-visible{outline:3px solid #80a7e1;outline-offset:2px}
.member-menu-button svg{width:22px;height:22px}
.member-menu-backdrop{display:none;position:fixed;inset:0;z-index:4999;background:rgba(8,20,39,.5)}
.member-menu-backdrop[hidden]{display:none}
.member-menu{position:fixed;top:0;bottom:0;left:0;z-index:5000;display:none;flex-direction:column;width:min(400px,48vw);height:100vh;height:100dvh;padding:24px;background:var(--paper);color:var(--ink);border-right:1px solid var(--line);box-shadow:18px 0 40px rgba(8,20,39,.18);overflow-y:auto;transform:translateX(-105%);transition:transform .22s ease}
.member-menu.is-open{transform:translateX(0)}
.member-menu__top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.member-menu__close{font-size:25px;line-height:1}
.member-menu__nav{display:grid;gap:7px;padding:24px 0}
.member-menu__nav a{display:block;padding:13px 14px;border-radius:9px;color:var(--ink);font-size:14px;font-weight:700}
.member-menu__nav a:hover,.member-menu__nav a:focus-visible,.member-menu__nav a[aria-current='page']{background:var(--sage);color:var(--forest);outline:none}
.member-menu__bottom{margin-top:auto;padding-top:22px;border-top:1px solid var(--line)}
.member-menu__label{margin-bottom:9px;color:var(--muted);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.member-menu .site-preferences{display:flex;gap:9px;margin-bottom:20px}
.member-menu .site-preferences form{flex:1}
.member-menu .site-preferences select{width:100%;height:44px}
.member-menu .theme-switch{width:44px;height:44px}
.member-menu__signout{width:100%}
body.member-menu-open{overflow:hidden}
@media(max-width:900px){.employee-header__nav{gap:9px;font-size:12px}}
@media(max-width:650px){.employee-app{padding-top:76px}.employee-header{position:fixed;top:0;left:0;right:0;width:100%;height:76px;z-index:100;flex-direction:row;align-items:center;background:var(--paper);box-shadow:0 4px 18px rgba(8,20,39,.08)}.employee-header nav.employee-header__nav{display:none}.member-menu-button{display:grid}.member-menu-backdrop:not([hidden]){display:block}.member-menu{display:flex;width:min(360px,86vw);padding:20px}html[data-theme='dark'] .employee-header{background:#101d31}}
@media(prefers-reduced-motion:reduce){.member-menu{transition:none}}
.location-help{width:min(500px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:25px;border:1px solid var(--line);border-radius:15px;background:var(--paper);color:var(--ink);box-shadow:0 24px 70px rgba(8,20,39,.3);overflow-y:auto}
.location-help::backdrop{background:rgba(8,20,39,.62)}
.location-help h2{margin:0 0 10px;font-size:23px}
.location-help p{margin-bottom:16px}
.location-help ol{margin:0 0 16px;padding-left:23px;font-size:14px;line-height:1.55}
.location-help li{padding-left:3px;margin-bottom:9px}
.location-help__status{min-height:16px;color:var(--red)}
.location-help .form-actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:650px){.location-help{padding:20px}}
.location-result{text-align:center}
.location-result__icon{width:56px;height:56px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;background:#fff0ee;color:#b8423a;font-size:32px;font-weight:700;line-height:1}
.location-result .form-actions{justify-content:center}
.location-result p{line-height:1.55}
.attendance-mobile-value,.attendance-mobile-hours{display:none}
.telegram-entry{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--canvas)}
.telegram-entry__card{width:min(440px,100%);padding:30px;display:grid;gap:18px}
.telegram-entry__card .brand-mark{margin-bottom:4px}
.telegram-entry__card h1{margin:0;font-size:30px}
.telegram-entry__card p{margin:0}
.telegram-entry__card--form .app-form{display:grid;gap:16px}
.telegram-entry__card--form .field{gap:6px}
.telegram-entry__loading{display:flex;align-items:center;gap:12px;color:var(--ink)}
.telegram-entry__loading p{margin:0;font-size:14px;font-weight:700}
.telegram-entry #telegram-bootstrap[hidden]{display:none}
.field{min-width:0}
.field input[type='date'],.field input[type='time'],.field input[type='datetime-local']{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box;border-radius:9px;text-align:left}
.field input[type='date']::-webkit-date-and-time-value,.field input[type='time']::-webkit-date-and-time-value,.field input[type='datetime-local']::-webkit-date-and-time-value{text-align:left;min-width:0}
.field input[type='date']::-webkit-datetime-edit,.field input[type='time']::-webkit-datetime-edit,.field input[type='datetime-local']::-webkit-datetime-edit{min-width:0}
.attendance-card{overflow:hidden}
.form-drawer__content{min-width:0;overflow-x:hidden}
.form-drawer__content .form-panel,.form-drawer__content .form-panel .card{min-width:0;max-width:100%}
.form-drawer__content .form-panel .card{overflow:hidden}
.kiosk-card:target{outline:3px solid #80a7e1;outline-offset:3px;scroll-margin-top:96px}
.login-mobile-header{display:none}
.login-intro-label{margin-top:18px}
.attendance-filter .filter-actions{display:flex;align-items:end;gap:11px}
.export-actions{flex-wrap:wrap}
@media(max-width:1000px){.content-grid .quick-actions-card{order:-1}}
.location-result [hidden]{display:none}
html[data-theme='dark'] .location-result__icon{background:#4e292b;color:#ffd2cc}
.workspace-mobile-header,.workspace-menu-close,.workspace-mobile-preferences,.workspace-menu-backdrop{display:none}
.workspace-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.workspace-menu-button,.workspace-menu-close{width:42px;height:42px;flex:none;align-items:center;justify-content:center;border:1px solid #ffffff66;border-radius:10px;background:#ffffff16;color:#fff;cursor:pointer}
.workspace-menu-button svg{width:22px;height:22px}
.workspace-menu-close{font-size:27px;line-height:1}
.workspace-menu-button:focus-visible,.workspace-menu-close:focus-visible{outline:3px solid #a9cbff;outline-offset:2px}
body.workspace-menu-open{overflow:hidden}
@media(max-width:760px){
  .admin-shell{display:block;padding-top:68px}
  .admin-shell .workspace-mobile-header{position:fixed;top:0;left:0;right:0;z-index:100;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;height:68px;padding:12px 17px;background:#173f7e;color:#fff;box-shadow:0 4px 18px rgba(8,20,39,.16)}
  .workspace-menu-button,.workspace-menu-close{display:flex}
  .workspace-menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:4999;background:rgba(7,19,38,.58)}
  .admin-shell .sidebar{position:fixed;inset:0 auto 0 0;z-index:5000;display:flex;flex-direction:column;width:min(350px,88vw);height:100vh;height:100dvh;min-height:0;padding:18px 16px 20px;overflow-y:auto;visibility:hidden;transform:translateX(-105%);transition:transform .22s ease,visibility .22s ease;box-shadow:18px 0 45px rgba(7,19,38,.25)}
  .admin-shell .sidebar.is-open{visibility:visible;transform:translateX(0)}
  .admin-shell .sidebar .brand{display:flex;padding:0}
  .admin-shell .sidebar .workspace-picker{margin:19px 0 8px;max-width:none;flex:none}
  .admin-shell .sidebar .nav-label{display:block;padding:17px 10px 7px}
  .admin-shell .sidebar nav{display:flex;flex-direction:column;gap:2px;overflow:visible;margin:0;flex:none}
  .admin-shell .sidebar .nav-link{white-space:normal}
  .admin-shell .sidebar .sidebar-bottom{display:block;margin-top:auto}
  .admin-shell .workspace-mobile-preferences{display:block;padding:18px 10px 0}
  .admin-shell .workspace-mobile-preferences .site-preferences{display:flex;gap:10px}
  .admin-shell .workspace-mobile-preferences .language-form{flex:1}
  .admin-shell .workspace-mobile-preferences select{width:100%;height:40px}
  .admin-shell .workspace-mobile-preferences .theme-switch{width:40px;height:40px}
  .admin-shell .topbar .right{display:none}
  .admin-shell .topbar .crumb{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  html[data-theme='dark'] .admin-shell .workspace-mobile-header{background:#101d31}
}

.brand-mark,.brand-mark.light{background:#fff;color:inherit}
.brand-mark img{display:block;width:82%;height:82%;object-fit:contain}
@media(prefers-reduced-motion:reduce){.admin-shell .sidebar{transition:none}}
@media(max-width:760px){
  .directory-responsive{overflow-x:visible}
  .directory-mobile-list{display:block;width:100%;min-width:0}
  .directory-mobile-list thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .directory-mobile-list tbody{display:grid;gap:10px;padding:12px}
  .directory-mobile-list tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 10px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:0 3px 12px rgba(12,38,78,.05)}
  .directory-mobile-list tbody td{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;padding:0;border:0;overflow-wrap:anywhere;font-size:12px;line-height:1.35}
  .directory-mobile-list tbody td[data-label]::before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
  .directory-mobile-list tbody td.directory-name{grid-area:name;align-self:center;color:var(--ink);font-family:Outfit,system-ui,sans-serif;font-size:16px;font-weight:800;line-height:1.2}
  .directory-mobile-list tbody td.directory-name .person{min-width:0;color:var(--ink);font-size:16px;overflow-wrap:anywhere}
  .directory-mobile-list tbody td.directory-status{grid-area:status;align-self:center;justify-self:end;align-items:flex-end;max-width:110px}
  .directory-mobile-list tbody td.directory-status .pill{max-width:100%;white-space:normal;line-height:1.15;text-align:center}
  .directory-mobile-list tbody td.directory-action{grid-area:action;width:100%}
  .directory-mobile-list tbody td.directory-action a{width:100%}
  .directory-mobile-list tbody tr.directory-empty{display:block}
  .directory-mobile-list tbody td[colspan]{grid-column:1/-1}
  .employee-directory tbody tr{grid-template-areas:'name status' 'username username' 'action action'}
  .employee-directory tbody tr:hover{background:var(--sage)}
  .employee-directory tbody tr:hover td{background:transparent}
  .employee-directory tbody td.directory-username{grid-area:username}
  .branch-directory tbody tr{grid-template-areas:'name status' 'address address' 'count start' 'action action'}
  .branch-directory tbody td.directory-address{grid-area:address}
  .branch-directory tbody td.directory-count{grid-area:count}
  .branch-directory tbody td.directory-start{grid-area:start}
  .directory-mobile-list tbody td[colspan]{grid-area:auto}
  .export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .export-actions>:first-child{grid-column:1/-1}
  .export-actions .button{width:100%;min-width:0;min-height:44px;padding:8px 6px;white-space:normal;text-align:center;line-height:1.2}
  .attendance-filter{display:grid;grid-template-columns:minmax(0,1fr);gap:13px;padding:16px}
  .attendance-filter>.field{min-width:0;width:100%}
  .attendance-filter .filter-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}
  .attendance-filter .filter-actions .button{width:100%;padding:0 8px}
  .mobile-split-header{display:grid;grid-template-columns:minmax(0,1fr) max-content;grid-template-areas:'title action' 'summary summary';align-items:start;gap:8px 10px;padding:16px}
  .mobile-split-header>div{display:contents}
  .mobile-split-header h2{grid-area:title;min-width:0;margin:0;font-size:18px;line-height:1.25}
  .mobile-split-header .small,.mobile-split-header p{grid-area:summary;min-width:0;margin:0;line-height:1.4}
  .mobile-split-header>a{grid-area:action;justify-self:end;align-self:start;display:inline-flex;align-items:center;min-height:31px;padding:5px 8px;border:1px solid var(--line);border-radius:8px;background:var(--sage);color:var(--forest);font-size:11px;font-weight:800;line-height:1.2;text-decoration:none;white-space:nowrap}
  .attendance-responsive,.history-card .attendance-responsive{overflow-x:visible}
  .attendance-mobile-list,.time-card .attendance-mobile-list,.history-card .attendance-mobile-list{display:block;width:100%;min-width:0}
  .attendance-mobile-list thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .attendance-mobile-list tbody{display:block}
  .attendance-mobile-list tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 12px;padding:11px 14px;border-bottom:1px solid var(--line);background:var(--paper)}
  .attendance-mobile-list tbody tr:last-child{border-bottom:0}
  .attendance-mobile-list tbody td{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:0;border:0;overflow-wrap:anywhere;font-size:12px;line-height:1.35}
  .attendance-mobile-list tbody td::before{content:attr(data-label);color:var(--muted);font-size:10px;font-weight:800;line-height:1.2;letter-spacing:.05em;text-transform:uppercase}
  .attendance-mobile-list tbody td:first-child{grid-column:1/3;font-size:14px;font-weight:700}
  .attendance-mobile-list tbody td:first-child::before{display:none}
  .attendance-mobile-list tbody td.attendance-status{grid-column:3;grid-row:1;justify-self:end;align-self:center}
  .attendance-mobile-list tbody td.attendance-status::before{display:none}
  .attendance-mobile-list tbody td[data-action]{grid-column:2/-1;align-self:center}
  .attendance-mobile-list tbody td[data-action]::before{display:none}
  .attendance-mobile-list tbody td[data-action]:empty{display:none}
  .attendance-mobile-list tbody td[colspan]{grid-column:1/-1}
  .attendance-mobile-list tbody td[colspan]::before{display:none}
  .attendance-mobile-list tbody td .pill{align-self:flex-start}
  .attendance-mobile-list .attendance-desktop-value{display:none}
  .attendance-mobile-list .attendance-mobile-value{display:inline}
  .attendance-overview tbody tr{grid-template-columns:minmax(0,1fr) minmax(0,1.55fr) auto;grid-template-areas:'person person status' 'date time hours';align-items:start;gap:9px 10px}
  .attendance-overview tbody td.attendance-person{grid-area:person;align-self:center}
  .attendance-overview tbody td.attendance-date{grid-area:date}
  .attendance-overview tbody td.attendance-time{grid-area:time}
  .attendance-overview tbody td.attendance-end{display:none}
  .attendance-overview tbody td.attendance-status{grid-area:status;align-self:center;justify-self:end}
  .attendance-overview tbody td.attendance-mobile-hours{display:flex;grid-area:hours;white-space:nowrap}
  .attendance-overview tbody td.attendance-person::before,.attendance-overview tbody td.attendance-status::before{display:none}
  .attendance-overview tbody td[colspan]{grid-area:auto;grid-column:1/-1}
  .attendance-overview tbody td.attendance-person,.recent-shifts-list tbody td.shift-person{color:var(--ink);font-family:Outfit,system-ui,sans-serif;font-size:16px;font-weight:800;line-height:1.2}
  .attendance-overview tbody td.attendance-person .profile-link{color:var(--ink)!important;font-size:16px;font-weight:800}
  .recent-shifts-list tbody tr{grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr) auto;grid-template-areas:'person person status' 'date time action';align-items:start;gap:10px 9px}
  .recent-shifts-list tbody td.shift-person{grid-area:person}
  .recent-shifts-list tbody td.shift-date{grid-area:date}
  .recent-shifts-list tbody td.shift-time{grid-area:time}
  .recent-shifts-list tbody td.shift-end{display:none}
  .recent-shifts-list tbody td.attendance-status{grid-area:status}
  .recent-shifts-list tbody td.shift-action{grid-area:action;align-self:end;justify-self:end}
  .recent-shifts-list tbody td.shift-action .table-action{min-height:30px;padding:0 8px;font-size:11px}
  .recent-shifts-list tbody td[colspan]{grid-area:auto;grid-column:1/-1}
  .attendance-history-list tbody tr{grid-template-columns:minmax(0,1.6fr) minmax(0,1.3fr) auto;grid-template-areas:'person status action' 'date time hours';align-items:start;gap:10px 8px}
  .attendance-history-list tbody td.attendance-person{grid-area:person;color:var(--ink);font-family:Outfit,system-ui,sans-serif;font-size:16px;font-weight:800;line-height:1.2}
  .attendance-history-list tbody td.attendance-person .profile-link{color:var(--ink)!important;font-size:16px;font-weight:800}
  .attendance-history-list tbody td.attendance-date{grid-area:date}
  .attendance-history-list tbody td.attendance-time{grid-area:time}
  .attendance-history-list tbody td.attendance-end{display:none}
  .attendance-history-list tbody td.attendance-hours{grid-area:hours;white-space:nowrap}
  .attendance-history-list tbody td.attendance-status{grid-area:status;justify-self:end;width:100%;align-items:flex-end}
  .attendance-history-list tbody td.attendance-status .pill{align-self:flex-end;max-width:100%;padding:5px 7px;white-space:normal;text-align:center;line-height:1.1}
  .attendance-history-list tbody td.attendance-review{grid-area:action;justify-self:end;align-self:center}
  .attendance-history-list tbody td.attendance-review .table-action{width:32px;min-height:32px;padding:0}
  .attendance-history-list tbody td.attendance-review .table-action span{display:none}
  .attendance-history-list tbody td[colspan]{grid-area:auto;grid-column:1/-1}
  .time-control-list tbody tr{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 8px}
  .time-control-list tbody td:first-child{grid-column:1/3;gap:3px;padding-left:10px;border-left:3px solid var(--forest)}
  .time-control-list tbody td:first-child .profile-link{color:var(--ink)!important;font-family:Outfit,system-ui,sans-serif;font-size:17px;font-weight:800;line-height:1.15}
  .time-control-list tbody td:first-child .small{color:var(--muted);font-size:11px;font-weight:650;line-height:1.25}
  .time-control-list tbody td.attendance-status{grid-column:3;grid-row:1}
  .time-control-list tbody td[data-action]{grid-column:1/-1;width:100%}
  .time-control-list tbody td[data-action] form,.time-control-list tbody td[data-action] .time-action{width:100%}
  .time-control-list tbody td[data-action] .time-action{justify-content:center}
}
.shift-progress{display:grid;gap:6px;padding:17px 19px;margin:0 0 20px;border:1px solid #c7e5d4;border-radius:12px;background:#effaf3}
.shift-progress__status{display:flex;align-items:center;gap:8px;color:#176240;font-size:12px;font-weight:800}
.shift-progress__dot{width:9px;height:9px;border-radius:50%;background:#279460}
.shift-progress__timer{color:var(--ink);font-family:Outfit,system-ui,sans-serif;font-size:31px;line-height:1.1;font-variant-numeric:tabular-nums}
.shift-progress__hours{color:var(--muted);font-size:13px;font-weight:600}
.shift-progress--idle{border-color:var(--line);background:var(--sage)}
.shift-progress--idle .shift-progress__status{color:var(--muted)}
.shift-progress--idle .shift-progress__dot{background:#8393a7}
.shift-progress__last{color:var(--ink);font-size:20px}
.button.clock-out-button{background:#bc413c;border-color:#bc413c;color:#fff}
.button.clock-out-button:hover{background:#9f322e;border-color:#9f322e}
html[data-theme='dark'] .shift-progress{background:#1c3a30;border-color:#376c53}
html[data-theme='dark'] .shift-progress__status{color:#a8ebc4}
html[data-theme='dark'] .shift-progress--idle{background:#20344f;border-color:var(--line)}
html[data-theme='dark'] .shift-progress--idle .shift-progress__status{color:var(--muted)}
@media(max-width:760px){
  .auth-layout--login{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh;background:var(--canvas)}
  .auth-layout--login .auth-art{display:none}
  .login-mobile-header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:66px;padding:10px 16px;background:#173f7e;color:#fff}
  .login-mobile-header .brand{flex:none;gap:7px;font-size:16px;white-space:nowrap}
  .login-mobile-header .brand-mark{width:32px;height:32px;border-radius:9px;font-size:17px}
  .login-mobile-header .site-preferences{gap:6px;min-width:0}
  .login-mobile-header .site-preferences select{max-width:96px;height:36px;padding:0 6px;font-size:11px}
  .login-mobile-header .theme-switch{min-width:36px;height:36px}
  .auth-layout--login .auth-side{display:block;flex:1;padding:24px 18px 30px;background:var(--canvas)}
  .auth-layout--login .auth-form{max-width:440px;margin:0 auto}
  .auth-layout--login .login-desktop-preferences{display:none}
  .auth-layout--login .login-intro-label{margin:0 0 5px;font-size:10px}
  .auth-layout--login .auth-form h2{margin:0 0 7px;font-size:30px}
  .auth-layout--login .auth-form>p.muted{margin:0;font-size:13px;line-height:1.4}
  .auth-layout--login .auth-form .app-form{margin-top:20px}
  .auth-layout--login .auth-form .field{margin:0 0 14px}
  .auth-layout--login .auth-form .field label{font-size:12px}
  .auth-layout--login .auth-form .field input{height:46px}
  .auth-layout--login .auth-form .button{margin-top:2px}
  .auth-layout--login .auth-form>p.small{margin-top:16px!important;font-size:11px;line-height:1.4}
  html[data-theme='dark'] .login-mobile-header{background:#101d31}
}
