.app-shell .employee-profile-page.personal-cabinet .employee-profile-hero{box-shadow:var(--record-elevation);border-radius:16px;grid-template-columns:112px minmax(0,1fr) auto;align-items:center;gap:22px;padding:24px;display:grid}.employee-profile-page .profile-avatar-control{align-self:start;width:112px;min-width:0}.employee-profile-page .avatar-menu-trigger{aspect-ratio:1;border-radius:22px;flex-basis:auto;grid-template:minmax(0,1fr)/minmax(0,1fr);width:112px;height:112px;min-height:0;display:grid}.employee-profile-page .avatar-menu-trigger img{object-fit:cover;width:100%;min-width:0;height:100%;min-height:0;display:block}.employee-profile-page .avatar-edit-mark{bottom:0;right:0}.employee-profile-page .employee-profile-intro{min-width:0}.employee-profile-page .employee-profile-meta>span{overflow-wrap:anywhere}.profile-section-tabs{border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:4px;min-width:0;max-width:100%;padding:5px;display:flex;overflow-x:auto;box-shadow:0 2px 5px #192d460d}.profile-section-tabs button{min-height:44px;color:var(--text);font:inherit;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:8px;flex:1 0 auto;padding:10px 16px;font-size:14px}.profile-section-tabs button[aria-selected=true]{background:var(--primary-subtle);color:var(--primary);font-weight:600}.employee-profile-page>[role=tabpanel][hidden]{display:none}.employee-profile-page>[role=tabpanel]{min-width:0}.employee-profile-page .personal-calendar-embedded{margin:0}.crew-sites-workspace .crew-site-choice{text-align:left;min-height:0;box-shadow:var(--record-elevation);grid-template-columns:24px minmax(0,1fr);align-content:start;gap:8px 14px;padding:18px;display:grid}.crew-sites-workspace .crew-site-choice>svg{grid-area:1/1/3}.crew-sites-workspace .crew-site-choice :is(h2,p,.site-workforce-count,.text-link){grid-column:2;margin:0}.crew-sites-workspace .crew-site-choice h2{font-size:17px;line-height:1.4}.crew-sites-workspace .crew-site-choice .site-workforce-count{align-items:baseline;gap:8px;padding:6px 0;display:flex}.crew-sites-workspace .crew-site-choice .site-workforce-count strong{font-size:24px}.my-crew-page .crew-person-heading{overflow-wrap:anywhere;align-items:center;gap:12px;margin:4px 0;font-size:17px;display:flex}.my-crew-page .crew-worker-row{min-height:76px;padding:12px 18px}@media (max-width:600px){.app-shell .employee-profile-page.personal-cabinet .employee-profile-hero{grid-template-columns:80px minmax(0,1fr);gap:16px;padding:18px}.employee-profile-page .profile-avatar-control,.employee-profile-page .avatar-menu-trigger{width:80px}.employee-profile-page .avatar-menu-trigger{border-radius:18px;height:80px}.employee-profile-page .personal-profile-shortcuts{grid-column:1/-1;width:100%;min-width:0}.employee-profile-page .personal-profile-shortcuts .button{flex:none}}.planned-absence-form .text-link{min-height:44px;color:var(--primary);font:inherit;cursor:pointer;background:0 0;border:0;padding:7px 0;text-decoration:underline}.personal-cabinet{width:100%;min-width:0;max-width:none}.personal-cabinet .panel{min-width:0}.personal-cabinet .employee-profile-hero{align-items:center;gap:22px}.personal-cabinet .employee-profile-intro{flex:1}.personal-cabinet .employee-profile-intro h1{font-size:clamp(24px,2.3vw,30px)}.personal-cabinet .employee-profile-intro>p{white-space:normal;overflow-wrap:anywhere;max-width:none}.personal-profile-shortcuts{flex-direction:column;gap:10px;min-width:168px;display:flex}.personal-cabinet .employee-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.personal-cabinet .face-setup-panel{grid-column:auto;gap:16px;padding:22px}.personal-cabinet .face-setup-header{flex-wrap:wrap}.personal-cabinet .face-setup-header>div{flex:1}.personal-cabinet .face-setup-status{margin-left:0}.personal-cabinet .profile-data-card{padding:22px}.personal-profile-data dl{grid-template-columns:145px minmax(0,1fr);gap:12px 16px;display:grid}.personal-profile-data dt{color:var(--muted);font-weight:400}.personal-profile-data dd{overflow-wrap:anywhere;margin:0}.personal-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.personal-section-heading h2{font-size:18px;line-height:1.35}.personal-section-heading p{color:var(--muted);margin-top:5px;font-size:13px;line-height:1.5}.personal-calendar-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.personal-history-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.personal-history-toolbar .history-month-navigation{gap:12px;min-width:240px;margin:0}.personal-history-toolbar .history-month-navigation h2{font-size:17px}.personal-history-toolbar .employee-history-tabs{flex-wrap:wrap;gap:6px}.personal-history-toolbar .employee-history-tabs button{padding:9px 14px}.personal-history-layout{grid-template-columns:minmax(330px,.95fr) minmax(0,1.15fr);align-items:start;gap:22px;display:grid}.personal-history-layout .history-calendar-panel{padding:22px}.personal-history-layout .history-calendar-panel>.personal-section-heading{display:block}.personal-history-layout .history-calendar-grid{gap:6px}.personal-history-layout .history-calendar-day{aspect-ratio:auto;min-height:58px;font-size:16px}.personal-history-layout .history-day-panel{padding:22px}.personal-history-layout .history-day-panel>header{margin-bottom:18px}.personal-history-layout .history-day-panel h2{text-transform:capitalize}.personal-day-schedule{background:var(--background);border-radius:10px;gap:5px;margin:0 0 16px;padding:14px 16px;display:grid}.personal-day-schedule>span,.personal-day-schedule small{color:var(--muted);font-size:13px}.personal-day-schedule strong{font-size:16px;font-weight:600}.personal-history-layout .history-shift{border:0;border-top:1px solid var(--border);background:0 0;border-radius:0;padding:18px 0}.personal-history-layout .history-shift-heading{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.personal-history-layout .history-shift-heading strong{overflow-wrap:anywhere}.personal-history-layout .history-shift dl{grid-template-columns:minmax(0,1fr) auto;gap:9px 16px;display:grid}.personal-history-layout .history-shift dd{font-variant-numeric:tabular-nums;margin:0}.personal-history-layout .history-shift li{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:5px 12px;display:flex}.personal-history-layout .history-shift li strong{overflow-wrap:anywhere}.personal-cabinet :is(.history-calendar-day,.history-day-status).day-off{color:var(--calendar-rest-text);background:var(--calendar-rest-bg)}.personal-cabinet :is(.history-calendar-day,.history-day-status).worked{color:var(--calendar-worked-text);background:var(--calendar-worked-bg)}.personal-cabinet :is(.history-calendar-day,.history-day-status).absent{color:var(--calendar-absent-text);background:var(--calendar-absent-bg)}.personal-cabinet :is(.history-calendar-day,.history-day-status).planned{color:var(--calendar-planned-text);background:var(--calendar-planned-bg)}.personal-cabinet .history-calendar-legend .day-off:before{background:var(--calendar-rest-text)}.personal-cabinet .history-calendar-legend .worked:before{background:var(--calendar-worked-text)}.personal-cabinet .history-calendar-legend .absent:before{background:var(--calendar-absent-text)}.personal-cabinet .history-calendar-legend .planned:before{background:var(--calendar-planned-text)}.history-calendar-day .calendar-ongoing{font-size:10px;line-height:1.2;display:block}.personal-calendar-embedded{margin:24px 0}.personal-calendar-embedded .personal-calendar-heading h2{margin:0;font-size:24px}.personal-cabinet .history-calendar-day[aria-current=date]{box-shadow:inset 0 0 0 2px var(--primary)}.personal-cabinet .panel{box-shadow:var(--record-elevation);border-radius:16px}.approved-day-off-decider{margin-top:4px;font-size:13px;display:block}.personal-cabinet .history-calendar-legend{gap:10px 16px}.personal-cabinet .employee-history-summary{padding:24px}.personal-summary-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:18px;margin:24px 0;display:grid}.personal-summary-metrics>div{border-left:3px solid var(--border);flex-direction:column-reverse;align-items:flex-start;gap:8px;padding-left:16px;display:flex}.personal-summary-metrics dt{color:var(--muted);font-size:13px}.personal-summary-metrics dd{font-variant-numeric:tabular-nums;margin:0;font-size:clamp(24px,2.5vw,32px);font-weight:600}.personal-cabinet .employee-history-summary>.button{margin-top:16px}.day-off-requests.day-off-inline{border-top:1px solid var(--border);margin:6px 0 0;padding:20px 0 0}.day-off-inline>header{grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;display:grid}.day-off-inline>header>div{flex:180px}.day-off-inline>header .button{white-space:normal;text-align:center;height:auto;min-height:44px}.day-off-inline>header .text-link{min-height:32px;font:inherit;color:var(--primary);cursor:pointer;background:0 0;border:0;grid-column:1/-1;justify-self:start;padding:0;text-decoration:underline}.day-off-inline .day-off-request-list{overscroll-behavior:contain;max-height:360px;overflow-y:auto}.day-off-inline .day-off-request-list:empty{display:none}.planned-absence-dialog.edit-dialog{width:min(560px,100vw - 32px);max-height:calc(100dvh - 32px);padding:24px}.planned-absence-form{gap:18px;min-width:0;display:grid}.planned-absence-form>p{margin:0}.planned-absence-form fieldset{border:0;min-width:0;margin:0;padding:0}.planned-absence-form legend{margin-bottom:10px;padding:0;font-size:14px;font-weight:600}.planned-absence-form .form-field{gap:7px;min-width:0;display:grid}.planned-absence-form .form-field>span{font-size:13px;font-weight:500}.planned-absence-form .day-off-dates>div{align-items:end;gap:10px}.planned-absence-form .day-off-dates .form-field{flex:1}.planned-absence-form input,.planned-absence-form select,.planned-absence-form textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font:inherit;min-height:44px}.planned-absence-form textarea{resize:vertical;min-height:100px}.planned-absence-form .day-off-dates .icon-button{flex:0 0 44px;min-width:44px;min-height:44px}.planned-absence-form .form-actions{flex-wrap:wrap;gap:10px;margin-top:0;display:flex}.planned-absence-form .form-actions .button{white-space:normal;height:auto;min-height:44px}dialog.face-capture-dialog.edit-dialog{box-sizing:border-box;color:#fff;background:#0b1729;border:0;border-radius:18px;width:min(620px,100vw);max-width:100vw;height:min(900px,100dvh);max-height:100dvh;margin:auto;padding:0;position:fixed;inset:0;overflow:hidden}dialog.face-capture-dialog[open]{grid-template-rows:auto auto minmax(0,1fr) auto;gap:0;display:grid}.face-capture-dialog::backdrop{background:#081221d1}.face-capture-dialog .dialog-heading{padding:max(14px, env(safe-area-inset-top)) 18px 10px;color:#fff;box-shadow:none;background:#0b1729;border:0;align-items:center;margin:0}.face-capture-dialog .dialog-heading h2{color:#fff;font-size:18px}.face-capture-dialog .dialog-heading .icon-button{color:#fff;background:#ffffff1a;border:0;min-width:44px;min-height:44px}.face-capture-instructions{text-align:center;padding:4px 22px 14px}.face-capture-instructions strong{font-size:17px;font-weight:600}.face-capture-instructions p{color:#becbdc;margin:5px 0 0;font-size:13px;line-height:1.5}.face-capture-dialog .face-camera-stage{aspect-ratio:auto;background:#03070d;border-radius:0;width:100%;height:100%;min-height:0;max-height:none;margin:0;container-type:size}.face-capture-dialog .face-camera-stage video{object-fit:contain}.face-capture-dialog .face-camera-guide{width:min(70cqw, calc(70cqh * var(--face-camera-ratio,.75)));height:min(84cqh, calc(84cqw / var(--face-camera-ratio,.75)));max-width:none;margin:auto;inset:0;box-shadow:0 0 0 999px #0712212e}.face-capture-dialog .face-camera-overlay{font-size:15px}.face-capture-dialog .face-camera-overlay p{max-width:360px;line-height:1.6}.face-capture-controls{padding:16px 20px max(14px, env(safe-area-inset-bottom));justify-items:center;gap:8px;display:grid}.face-capture-controls p{color:#becbdc;text-align:center;margin:0;font-size:12px}.face-capture-controls .button.ghost{color:#fff;min-height:44px}.face-shutter{cursor:pointer;background:0 0;border:3px solid #fff;border-radius:50%;place-items:center;width:68px;height:68px;padding:5px;display:grid}.face-shutter>span{background:#fff;border-radius:50%;width:100%;height:100%}.face-shutter:focus-visible{outline-offset:4px;outline:3px solid #80b3ff}.face-shutter:active>span{background:#dbe8f7}@media (max-width:1050px){.personal-history-layout{grid-template-columns:minmax(300px,.9fr) minmax(0,1.1fr);gap:16px}.personal-history-layout .history-calendar-panel,.personal-history-layout .history-day-panel{padding:18px}.personal-profile-shortcuts{min-width:145px}}@media (max-width:780px){.personal-cabinet .employee-profile-grid,.personal-history-layout{grid-template-columns:minmax(0,1fr)}.personal-profile-shortcuts{flex-direction:row;width:100%}.personal-profile-shortcuts .button{white-space:normal;flex:1;height:auto;min-height:44px}.personal-cabinet .employee-profile-hero{flex-wrap:wrap}.personal-history-layout .history-calendar-day{min-height:48px}.personal-calendar-heading{align-items:flex-start}.personal-calendar-heading>.button{white-space:normal;height:auto;min-height:44px}}@media (max-width:600px){dialog.face-capture-dialog.edit-dialog{border-radius:0;width:100vw;max-width:100vw;height:100dvh;margin:0}.personal-cabinet .employee-profile-hero{gap:16px;padding:18px;display:flex}.personal-cabinet .employee-profile-intro{flex:calc(100% - 100px)}.personal-cabinet .employee-profile-intro h1{font-size:23px}.personal-profile-data dl{grid-template-columns:1fr;gap:5px}.personal-profile-data dd{margin-bottom:10px}.personal-history-toolbar{align-items:stretch;gap:12px}.personal-history-toolbar .history-month-navigation{justify-content:space-between;width:100%}.personal-history-toolbar .employee-history-tabs{width:100%}.personal-history-toolbar .employee-history-tabs button{white-space:normal;flex:1;padding:9px 10px;font-size:13px}.personal-calendar-heading{flex-direction:column}.personal-calendar-heading>.button{align-self:flex-start}.personal-history-layout .history-calendar-panel,.personal-history-layout .history-day-panel{padding:16px}.personal-history-layout .history-calendar-grid{gap:4px}.personal-history-layout .history-calendar-day{min-height:42px;font-size:14px}.personal-history-layout .history-day-panel>header{flex-wrap:wrap}.day-off-inline>header{grid-template-columns:minmax(0,1fr)}.personal-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.personal-summary-metrics>div{padding-left:10px}.personal-summary-metrics dd{font-size:24px}.planned-absence-dialog.edit-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px}.planned-absence-form .form-actions{grid-template-columns:1fr;display:grid}}@media (max-height:600px) and (orientation:landscape){.face-capture-dialog[open]{grid-template-rows:auto minmax(0,1fr) auto}.face-capture-instructions{display:none}.face-capture-controls{grid-template-columns:1fr auto 1fr;align-items:center;padding:8px 18px}.face-capture-controls p{order:-1}.face-shutter{width:56px;height:56px}}
