:root { color-scheme: light; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #edf3f7; color: #112e48; }
* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; background: radial-gradient(circle at 100% 0, rgba(43,171,180,.18), transparent 34%), linear-gradient(180deg,#edf4f8,#f8fafb); }
button,input { font: inherit; }
.employee-app { width: min(100%, 520px); min-height: 100vh; margin: 0 auto; padding: max(20px,env(safe-area-inset-top)) 16px max(28px,env(safe-area-inset-bottom)); }
.employee-brand { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 4px 2px; }
.employee-brand-mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; background: linear-gradient(145deg,#153653,#217180); color: #fff; font-size: 25px; font-weight: 900; box-shadow: 0 10px 25px rgba(14,54,78,.2); }
.employee-brand strong { display: block; font-size: 22px; line-height: 1.05; }
.employee-brand small { display: block; margin-top: 4px; color: #668096; font-size: 13px; font-weight: 650; }
.employee-card { margin: 0 0 16px; padding: 22px; border: 1px solid #d5e1e8; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 18px 45px rgba(23,57,82,.09); }
.employee-eyebrow { margin: 0 0 7px; color: #158d8f; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.employee-card h1 { margin: 0; font-size: 30px; line-height: 1.12; }
.employee-card h2 { margin: 0; font-size: 27px; }
.employee-lead { margin: 12px 0 20px; color: #587086; font-size: 16px; line-height: 1.5; }
.employee-form { display: grid; gap: 16px; }
.employee-form label { display: grid; gap: 7px; color: #526b80; font-size: 14px; font-weight: 800; }
.employee-form input { width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid #bfd0dc; border-radius: 13px; background: #fff; color: #112e48; font-size: 18px; font-weight: 750; outline: none; }
.employee-form input:focus { border-color: #159fb0; box-shadow: 0 0 0 4px rgba(21,159,176,.13); }
.employee-primary,.employee-action { width: 100%; min-height: 58px; border: 0; border-radius: 14px; color: #fff; font-size: 17px; font-weight: 900; cursor: pointer; }
.employee-primary { margin-top: 4px; background: linear-gradient(135deg,#137fa9,#15a7b1); }
.employee-security { margin: 16px 0 0; color: #75899a; font-size: 13px; line-height: 1.45; text-align: center; }
.employee-alert { margin: 0 0 16px; padding: 14px 16px; border-radius: 13px; font-size: 15px; font-weight: 750; }
.employee-alert.error { border: 1px solid #efc5c5; background: #fff0f0; color: #a13636; }
.employee-alert.success { border: 1px solid #b9dec9; background: #ebf8f0; color: #187044; }
.employee-profile-card { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg,#122f4c,#1c6571); color: #fff; }
.employee-profile-card .employee-eyebrow { color: #80e2d4; }
.employee-profile-card h1 { font-size: 25px; }
.employee-profile-card p:last-child { margin: 6px 0 0; color: #d2e3ea; font-size: 14px; }
.employee-avatar { display: grid; flex: 0 0 auto; width: 62px; height: 62px; place-items: center; border: 2px solid rgba(255,255,255,.55); border-radius: 19px; background: rgba(255,255,255,.13); font-size: 22px; font-weight: 900; }
.today-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.status-pill { padding: 8px 11px; border-radius: 999px; font-size: 12px; font-weight: 900; white-space: nowrap; }
.status-pill.waiting { background: #eef2f4; color: #687c8c; }
.status-pill.working { background: #e4f7ed; color: #197747; }
.status-pill.finished { background: #e9f1fb; color: #285f90; }
.status-pill.manual { background: #fff1cf; color: #8a5a00; }
.status-pill.sick { background: #fff3b8; color: #775d00; }
.status-pill.administrative { background: #ffe4e4; color: #a12e2e; }
.event-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.event-grid div { padding: 17px; border: 1px solid #d6e2e8; border-radius: 15px; background: #f6f9fb; }
.event-grid span { display: block; margin-bottom: 6px; color: #688094; font-size: 13px; font-weight: 750; }
.event-grid strong { font-size: 27px; }
.employee-action { display: flex; align-items: center; justify-content: center; gap: 10px; }
.employee-action span { font-size: 24px; }
.employee-action.arrival { background: linear-gradient(135deg,#159a71,#28b58a); }
.employee-action.departure { background: linear-gradient(135deg,#21638e,#2e88a8); }
.day-complete { padding: 16px; border-radius: 14px; background: #e9f7ef; color: #1b7448; font-weight: 850; text-align: center; }
.employee-timeline { display: grid; gap: 8px; margin: -4px 0 18px; padding: 15px; border: 1px solid #d7e3e9; border-radius: 15px; background: #f7fafb; }
.employee-timeline > strong { margin-bottom: 2px; color: #526d82; font-size: 13px; }
.employee-timeline > div { display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 9px; }
.employee-timeline > div > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: #dcecf2; color: #20667f; font-size: 12px; font-weight: 900; }
.employee-timeline > div > b { color: #17354f; font-size: 15px; }
.employee-timeline > div > small { color: #6a8192; font-size: 12px; }
.employee-timeline footer { padding-top: 8px; border-top: 1px solid #dce6eb; color: #61798b; font-size: 12px; }
.day-status-actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid #dce6eb; }
.day-status-actions p { margin: 0 0 12px; }
.day-status-actions p strong,.day-status-actions p small { display: block; }
.day-status-actions p strong { font-size: 14px; }
.day-status-actions p small { margin-top: 3px; color: #6d8191; font-size: 12px; }
.day-status-actions > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.day-status-button { width: 100%; min-height: 48px; padding: 8px 10px; border: 1px solid; border-radius: 12px; font-size: 13px; font-weight: 850; }
.day-status-button.sick { border-color: #e9ca4c; background: #fff7cd; color: #745d00; }
.day-status-button.administrative { border-color: #e4a9a9; background: #fff0f0; color: #9a3131; }
.day-status-selected { display: flex; align-items: center; gap: 13px; margin: 20px 0 4px; padding: 17px; border: 1px solid; border-radius: 15px; }
.day-status-selected > span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; font-size: 20px; font-weight: 900; }
.day-status-selected strong,.day-status-selected small { display: block; }
.day-status-selected small { margin-top: 4px; font-size: 12px; }
.day-status-selected.sick { border-color: #ead06a; background: #fff8d8; color: #6e5800; }
.day-status-selected.sick > span { background: #f2d761; }
.day-status-selected.administrative { border-color: #e7b0b0; background: #fff0f0; color: #962f2f; }
.day-status-selected.administrative > span { background: #f1c3c3; }
.sync-note { margin: 14px 0 0; color: #6d8293; font-size: 13px; line-height: 1.45; text-align: center; }
.install-card { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 11px 13px; padding: 18px; border-color: #97cbd5; background: linear-gradient(145deg,#fff,#f0fbfc); }
.install-card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg,#143653,#1b8ba3); color: #fff; font-size: 22px; font-weight: 900; box-shadow: 0 9px 20px rgba(20,54,83,.18); }
.install-card-copy { align-self: center; }
.install-card strong { font-size: 16px; line-height: 1.25; }
.install-card p { margin: 5px 0 0; color: #597488; font-size: 12px; line-height: 1.4; }
.install-card button { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 54px; border: 0; border-radius: 13px; background: linear-gradient(135deg,#147da4,#16a0ad); color: #fff; font-size: 16px; font-weight: 900; box-shadow: 0 10px 22px rgba(20,125,164,.22); }
.install-card button span { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: rgba(255,255,255,.18); font-size: 17px; }
.install-modal[hidden] { display: none; }
.install-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; padding: 18px; }
.install-modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(10,32,49,.58); backdrop-filter: blur(3px); }
.install-sheet { position: relative; z-index: 1; width: min(100%,520px); max-height: calc(100vh - 36px); overflow-y: auto; padding: 21px 19px calc(19px + env(safe-area-inset-bottom)); border-radius: 23px; background: #fff; box-shadow: 0 24px 70px rgba(5,31,47,.32); }
.install-sheet header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.install-sheet header h2 { margin: 3px 0 0; color: #143653; font-size: 23px; }
.install-sheet header > button { display: grid; place-items: center; flex: 0 0 auto; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #edf2f4; color: #143653; font-size: 24px; }
.install-browser-warning { margin: 0 0 12px; padding: 12px; border-radius: 12px; background: #fff3d6; color: #6b4d0b; font-size: 12px; line-height: 1.45; }
.install-browser-warning strong { display: block; margin-bottom: 3px; }
.install-steps { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.install-steps li { display: grid; grid-template-columns: 39px minmax(0,1fr); gap: 11px; align-items: start; padding: 12px; border: 1px solid #dce7eb; border-radius: 14px; background: #f7fafb; }
.install-steps li > span { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 12px; background: #daf1f3; color: #126f82; font-size: 18px; font-weight: 950; }
.install-steps strong { display: block; color: #173a55; font-size: 14px; line-height: 1.3; }
.install-steps p { margin: 4px 0 0; color: #5c7588; font-size: 12px; line-height: 1.45; }
.install-steps b { color: #126f82; font-size: 17px; }
.install-done { margin-top: 14px; }
.install-modal-open { overflow: hidden; }
.logout-form { text-align: center; }
.logout-form button { padding: 10px 18px; border: 0; background: transparent; color: #6f8495; font-weight: 750; }
@media (max-width: 380px) { .employee-app { padding-left: 12px; padding-right: 12px; } .employee-card { padding: 18px; border-radius: 18px; } .today-heading { display: grid; } .status-pill { width: fit-content; } .day-status-actions > div { grid-template-columns: 1fr; } .install-modal { padding: 9px; } .install-sheet { border-radius: 20px; padding-left: 15px; padding-right: 15px; } }

/* Employee month, totals and absence planning. */
button,input,textarea { font: inherit; }
.status-pill.vacation { background: #dce8ff; color: #2857a0; }
.day-status-selected.vacation { border-color: #aebfe9; background: #e9f0ff; color: #2857a0; }
.day-status-selected.vacation > span { background: #cddcff; }
.absence-actions-card > p:not(.employee-eyebrow) { margin: 8px 0 17px; color: #62798b; font-size: 14px; line-height: 1.45; }
.absence-action-grid { display: grid; gap: 10px; }
.absence-action { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 9px 14px; border: 1px solid; border-radius: 14px; background: #fff; color: #17354f; text-align: left; }
.absence-action span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; font-weight: 950; }
.absence-action b { font-size: 15px; }
.absence-action.sick { border-color: #ead06a; background: #fffbee; }
.absence-action.sick span { background: #f8e99d; color: #765c00; }
.absence-action.administrative { border-color: #e5b5b5; background: #fff7f7; }
.absence-action.administrative span { background: #f4d3d3; color: #963535; }
.absence-action.vacation { border-color: #afc4eb; background: #f5f8ff; }
.absence-action.vacation span { background: #dbe6ff; color: #2857a0; font-size: 12px; }
.month-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.month-summary-heading h2 { font-size: 23px; }
.month-toggle { min-height: 44px; padding: 8px 13px; border: 0; border-radius: 12px; background: #143653; color: #fff; font-size: 12px; font-weight: 900; }
.month-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 17px; }
.month-metrics article { min-width: 0; padding: 13px; border: 1px solid #d9e4e9; border-radius: 14px; background: #f7fafb; }
.month-metrics article > span,.month-metrics article > strong,.month-metrics article > small { display: block; }
.month-metrics article > span { min-height: 31px; color: #62798b; font-size: 11px; font-weight: 800; line-height: 1.3; }
.month-metrics article > strong { margin-top: 5px; color: #17354f; font-size: 18px; }
.month-metrics article > small { margin-top: 4px; color: #728697; font-size: 10px; line-height: 1.35; }
.month-metrics .positive { border-color: #a9d9c8; background: #effaf5; }
.month-metrics .positive strong { color: #18714f; }
.month-metrics .negative,.month-metrics .administrative { border-color: #edc3c3; background: #fff5f5; }
.month-metrics .negative strong,.month-metrics .administrative strong { color: #9a3838; }
.month-metrics .vacation { border-color: #bfd0ef; background: #f1f6ff; }
.month-metrics .sick { border-color: #ead681; background: #fffae8; }
.month-panel[hidden] { display: none; }
.month-panel { margin-top: 18px; padding-top: 17px; border-top: 1px solid #dce5e9; }
.month-navigation { display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 8px; margin-bottom: 13px; }
.month-navigation a { display: grid; height: 42px; place-items: center; border: 1px solid #cbdbe3; border-radius: 11px; background: #fff; color: #143653; font-size: 20px; font-weight: 900; text-decoration: none; }
.month-navigation strong { text-align: center; text-transform: capitalize; }
.calendar-weekdays,.employee-calendar { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; }
.calendar-weekdays { margin-bottom: 5px; }
.calendar-weekdays span { color: #718696; font-size: 10px; font-weight: 900; text-align: center; }
.calendar-day { min-height: 66px; padding: 5px; overflow: hidden; border: 1px solid #dce5e9; border-radius: 9px; background: #fff; }
.calendar-day.weekend { background: #f3f5f6; }
.calendar-day header { display: flex; justify-content: space-between; gap: 2px; }
.calendar-day header b { font-size: 12px; }
.calendar-day header small { color: #8595a1; font-size: 8px; }
.calendar-day > strong { display: block; margin-top: 7px; color: #154d70; font-size: 11px; text-align: center; }
.calendar-day > p { margin: 4px 0 0; color: #49677e; font-size: 9px; line-height: 1.3; text-align: center; }
.calendar-day.present { border-color: #98d4be; background: #e8f8f1; }
.calendar-day.administrative { border-color: #e6b0b0; background: #ffe9e9; }
.calendar-day.vacation { border-color: #afc6ee; background: #e5edff; }
.calendar-day.sick { border-color: #e8d170; background: #fff4bd; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.calendar-legend span { padding: 5px 8px; border-radius: 999px; font-size: 9px; font-weight: 850; }
.calendar-legend .present { background: #e8f8f1; color: #18714f; }
.calendar-legend .administrative { background: #ffe9e9; color: #963535; }
.calendar-legend .vacation { background: #e5edff; color: #2857a0; }
.calendar-legend .sick { background: #fff4bd; color: #765c00; }
.absence-modal[hidden] { display: none; }
.absence-modal { position: fixed; inset: 0; z-index: 1001; display: flex; align-items: flex-end; justify-content: center; padding: 18px; }
.absence-modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(10,32,49,.58); backdrop-filter: blur(3px); }
.absence-sheet { position: relative; z-index: 1; width: min(100%,520px); max-height: calc(100vh - 36px); overflow-y: auto; padding: 21px 19px calc(19px + env(safe-area-inset-bottom)); border-radius: 23px; background: #fff; box-shadow: 0 24px 70px rgba(5,31,47,.32); }
.absence-sheet > header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.absence-sheet > header h2 { margin: 0; font-size: 23px; }
.absence-sheet > header > button { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 50%; background: #edf2f4; color: #143653; font-size: 24px; }
.absence-form { display: grid; gap: 14px; }
.absence-form label { display: grid; gap: 6px; color: #526b80; font-size: 13px; font-weight: 800; }
.absence-form input[type="date"],.absence-form textarea { width: 100%; min-height: 50px; padding: 11px 12px; border: 1px solid #bfd0dc; border-radius: 12px; background: #fff; color: #112e48; outline: none; }
.absence-form textarea { resize: vertical; }
.absence-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.certificate-field { grid-template-columns: 24px 1fr !important; align-items: center; padding: 12px; border-radius: 12px; background: #fff8d9; }
.certificate-field[hidden] { display: none !important; }
.certificate-field input { width: 20px; height: 20px; }
.certificate-field b,.certificate-field small { display: block; }
.certificate-field small { margin-top: 3px; font-weight: 500; }
.absence-help { margin: 0; color: #62798b; font-size: 12px; line-height: 1.45; }
.absence-modal-open { overflow: hidden; }
@media (max-width: 380px) { .month-summary-heading { align-items: flex-start; flex-direction: column; } .month-toggle { width: 100%; } .absence-dates { grid-template-columns: 1fr; } .calendar-day { min-height: 60px; padding: 4px 2px; } .absence-modal { padding: 9px; } }

.overtime-modal[hidden] { display: none; }
.overtime-modal { position: fixed; inset: 0; z-index: 1002; display: flex; align-items: flex-end; justify-content: center; padding: 18px; }
.overtime-modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(10,32,49,.65); backdrop-filter: blur(4px); }
.overtime-sheet { position: relative; z-index: 1; width: min(100%, 560px); max-height: calc(100vh - 36px); overflow: auto; padding: 24px; border-radius: 24px 24px 16px 16px; background: #fff; box-shadow: 0 24px 70px rgba(9,34,54,.28); }
.overtime-sheet > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.overtime-sheet > header h2 { margin: 0; color: #102d47; font-size: 25px; }
.overtime-sheet > header > button { width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #edf3f5; color: #102d47; font-size: 28px; }
.overtime-description { margin: 0 0 18px; padding: 14px 16px; border-radius: 13px; background: #fff4d9; color: #725118; font-size: 15px; line-height: 1.45; }
.overtime-form-fields { display: grid; gap: 14px; }
.overtime-form-fields[hidden],.early-arrival-choice[hidden],.overtime-sheet [data-overtime-save][hidden] { display: none !important; }
.early-arrival-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.early-arrival-choice .employee-primary,.early-arrival-choice .employee-secondary { min-height: 54px; margin: 0; border-radius: 13px; font-size: 17px; font-weight: 900; }
.early-arrival-choice .employee-secondary { border: 1px solid #b9cbd6; background: #fff; color: #17354f; }
.overtime-form-fields label { display: grid; gap: 7px; color: #526b80; font-size: 14px; font-weight: 850; }
.overtime-form-fields input,.overtime-form-fields textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #bfd0dc; border-radius: 12px; background: #fff; color: #112e48; font-size: 17px; outline: none; }
.overtime-form-fields textarea { resize: vertical; }
.overtime-form-fields input:focus,.overtime-form-fields textarea:focus { border-color: #159fb0; box-shadow: 0 0 0 4px rgba(21,159,176,.13); }
.overtime-validation { margin: 12px 0 0; color: #b12828; font-size: 14px; font-weight: 800; }
.overtime-sheet .employee-primary { margin-top: 16px; }
.overtime-modal-open { overflow: hidden; }
.overtime-test-card { display:grid; gap:16px; border-color:#8fd3c1; background:#f1fbf8; }
.overtime-test-card h2 { margin:3px 0 8px; color:#123451; }
.overtime-test-card p { margin:0; color:#526b80; line-height:1.5; }
.overtime-test-card .overtime-test-note { margin-top:10px; padding:11px 13px; border-radius:11px; background:#fff3cf; color:#795411; font-weight:750; }
.overtime-test-form { display:grid; grid-template-columns:minmax(160px,1fr) minmax(220px,1.4fr); align-items:end; gap:12px; }
.overtime-test-form label { display:grid; gap:7px; color:#526b80; font-size:14px; font-weight:850; }
.overtime-test-form input { width:100%; min-height:56px; padding:0 14px; border:1px solid #9bc8bd; border-radius:13px; background:#fff; color:#112e48; font-size:19px; font-weight:850; }
.overtime-test-form .employee-primary { margin:0; }
@media (max-width:560px) { .overtime-test-form { grid-template-columns:1fr; } }
@media (max-width: 380px) { .overtime-modal { padding: 9px; } .overtime-sheet { padding: 19px 15px; border-radius: 20px; } }
/* 20260810 dual-source attendance and real browser push */
.dual-source-today { display:grid; gap:10px; margin:16px 0; }
.dual-source-row { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:10px; align-items:center; padding:13px 14px; border:1px solid #d7e3e9; border-radius:13px; background:#f8fbfc; color:#587183; }
.dual-source-row b { color:#173d59; }
.dual-source-row span { display:flex; justify-content:space-between; gap:8px; font-size:13px; }
.dual-source-row strong { color:#173d59; font-size:16px; }
.dual-source-row.anviz { border-color:#9fd7c6; background:#edf9f5; }
.dual-source-row.app { border-color:#bad8ee; background:#f0f8fd; }
.dual-source-row.manual { border-color:#efc96e; background:#fff8e5; }
.dual-source-row.manual > small { grid-column:1/-1; color:#765b21; line-height:1.35; }
.calendar-day > p.manual-time { color:#765b21; }
.calendar-day > p.manual-time b { color:#8a5a00; font-size:8px; }
.fingerprint-rule { margin:14px 0 5px; padding:12px 14px; border-left:4px solid #e34e55; border-radius:10px; background:#fff2f2; color:#7c353a; font-size:13px; line-height:1.45; }
.reminder-card { display:grid; gap:10px; border-color:#c5d8ea; background:linear-gradient(145deg,#f4f9ff,#fff); }
.reminder-card h2,.reminder-card p { margin:0; }
.reminder-card small { color:#657d90; line-height:1.4; }
.reminder-card.enabled { border-color:#8ed1bd; background:linear-gradient(145deg,#ecfaf5,#fff); }
.reminder-card.permission-denied { border-color:#e9acac; background:linear-gradient(145deg,#fff2f2,#fff); }
.push-permission-help { padding:14px 15px; border:1px solid #efb7b7; border-radius:13px; background:#fff; color:#6f3236; }
.push-permission-help strong { display:block; margin-bottom:7px; color:#9a2f36; }
.push-permission-help ol { margin:0 0 8px; padding-left:20px; }
.push-permission-help li { margin:5px 0; line-height:1.4; }
.push-permission-help small { display:block; color:#75575a; }
.calendar-day.pending_approval { border-color:#e7bc62; background:#fff8e5; }
.calendar-day.rejected { border-color:#d4a2a5; background:#fff1f1; }
@media (max-width:600px) { .dual-source-row { grid-template-columns:1fr 1fr; } .dual-source-row b { grid-column:1/-1; } }

/* График отпусков 2027 */
.vacation-modal[hidden] { display:none; }
.vacation-modal { position:fixed; inset:0; z-index:1004; display:grid; place-items:center; padding:20px; }
.vacation-modal-backdrop { position:absolute; inset:0; width:100%; border:0; background:rgba(10,32,49,.64); backdrop-filter:blur(4px); }
.vacation-modal-sheet { position:relative; z-index:1; width:min(1440px,100%); max-height:calc(100vh - 40px); overflow:auto; overscroll-behavior:contain; padding:0 28px 28px; border:1px solid #d2dfe4; border-radius:24px; background:#f4f8f9; box-shadow:0 28px 80px rgba(9,33,51,.35); }
.vacation-modal-header { position:sticky; top:0; z-index:8; display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 -28px 24px; padding:20px 28px 16px; border-bottom:1px solid #d6e2e5; background:rgba(244,248,249,.96); backdrop-filter:blur(10px); }
.vacation-modal-header h2 { margin:0; font-size:24px; }
.vacation-modal-header .vacation-kicker { margin-bottom:5px; }
.vacation-modal-close { display:grid; width:46px; height:46px; flex:0 0 auto; place-items:center; border:1px solid #bed0d9; border-radius:50%; background:#fff; color:#163a54; font-size:28px; line-height:1; cursor:pointer; }
.vacation-modal-open { overflow:hidden; }
.vacation-portal { margin:0; color:#0f304b; }
.vacation-hero { display:flex; align-items:flex-start; justify-content:space-between; gap:30px; margin:0 0 24px; }
.vacation-kicker { margin:0 0 10px; color:#148875; font-size:12px; font-weight:950; letter-spacing:.12em; text-transform:uppercase; }
.vacation-hero h2 { margin:0; font-size:clamp(34px,4vw,54px); font-weight:500; letter-spacing:-.045em; line-height:1.02; }
.vacation-hero > div:first-child > p:last-child { max-width:760px; margin:14px 0 0; color:#5a7588; line-height:1.5; }
.vacation-profile { display:flex; min-width:310px; align-items:center; gap:14px; padding:15px 18px; border:1px solid #d3dfdf; border-radius:18px; background:#fff; box-shadow:0 15px 35px rgba(29,62,72,.08); }
.vacation-profile > span { display:grid; width:46px; height:46px; flex:0 0 auto; place-items:center; border-radius:13px; background:#20927d; color:#fff; font-weight:900; }
.vacation-profile strong,.vacation-profile small { display:block; }
.vacation-profile small { margin-top:5px; color:#648093; font-size:12px; }
.vacation-progress-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:14px; margin-bottom:18px; }
.vacation-progress-grid article { min-height:142px; padding:22px; border:1px solid #d5e1e0; border-radius:18px; background:#fff; box-shadow:0 12px 30px rgba(20,58,71,.05); }
.vacation-progress-grid article > small { color:#667d8f; font-size:10px; font-weight:850; letter-spacing:.08em; text-transform:uppercase; }
.vacation-progress-grid article > div { display:flex; justify-content:space-between; gap:14px; margin:18px 0; }
.vacation-progress-grid article > div strong,.vacation-progress-grid article > div b { font-size:16px; }
.vacation-progress-grid article > i { display:block; height:7px; overflow:hidden; border-radius:9px; background:#e8eeec; }
.vacation-progress-grid article > i span { display:block; height:100%; border-radius:9px; background:#26957e; }
.vacation-progress-grid .total { border-color:#183e59; background:#183e59; color:#fff; }
.vacation-progress-grid .total > small { color:#b7d7e8; }
.vacation-progress-grid .total > strong { display:block; margin-top:16px; font-size:34px; }
.vacation-progress-grid .total em { margin-left:5px; color:#c9dfeb; font-size:14px; font-style:normal; }
.vacation-progress-grid .total p { margin:12px 0 0; font-size:12px; font-weight:750; }
.vacation-picker { padding:24px; border:1px solid #d3dfdd; border-radius:20px; background:#fff; box-shadow:0 15px 38px rgba(24,60,73,.07); }
.vacation-picker-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.vacation-picker-heading h3,.vacation-my-requests h3 { margin:0; font-size:26px; font-weight:500; }
.vacation-legend { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:14px; color:#607889; font-size:10px; }
.vacation-legend span::before { content:""; display:inline-block; width:9px; height:9px; margin-right:6px; border-radius:3px; vertical-align:-1px; }
.vacation-legend .available::before { background:#e7f0ed; }.vacation-legend .pending::before { background:#efb64a; }.vacation-legend .approved::before { background:#27957e; }.vacation-legend .disabled::before { background:#d5dcdc; }
.vacation-period { margin-top:28px; }
.vacation-period > header { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-bottom:12px; }
.vacation-period h4 { margin:0 0 6px; font-size:17px; }.vacation-period p { margin:0; color:#61798a; font-size:12px; }
.vacation-period > header > b { padding:9px 15px; border-radius:10px; background:#e7f4ef; color:#17735f; font-size:12px; }
.vacation-week-grid { display:grid; grid-template-columns:repeat(8,minmax(130px,1fr)); gap:8px; }
.vacation-week { min-height:92px; padding:12px 11px; border:1px solid #d2dedd; border-radius:12px; background:#fff; color:#143653; text-align:left; cursor:pointer; transition:.15s ease; }
.vacation-week:hover:not(:disabled) { transform:translateY(-2px); border-color:#27957e; box-shadow:0 8px 18px rgba(39,149,126,.12); }
.vacation-week small,.vacation-week strong,.vacation-week span { display:block; }
.vacation-week small { color:#78909e; font-size:9px; text-transform:uppercase; }.vacation-week strong { margin:9px 0 13px; font-size:11px; }.vacation-week span { color:#18806b; font-size:10px; font-weight:800; }
.vacation-week:disabled { border-color:#dce2e1; background:#f1f3f3; color:#7a888e; cursor:not-allowed; }.vacation-week:disabled span { color:#7c888d; }
.vacation-week.pending:disabled,.vacation-week.employee-confirmation:disabled { background:#fff5dc; }.vacation-week.approved:disabled { background:#e6f5ef; color:#126853; }
.vacation-week.selected { border-color:#1e9279; background:#e8f7f1; box-shadow:inset 0 0 0 2px #1e9279; }
.vacation-blackout { display:flex; align-items:center; gap:14px; margin:20px 0 0; padding:15px; border:1px dashed #e59f8c; border-radius:12px; background:#fff5f1; color:#9d4032; }
.vacation-blackout > b { display:grid; width:30px; height:30px; flex:0 0 auto; place-items:center; border-radius:50%; background:#c75d4e; color:#fff; }.vacation-blackout strong,.vacation-blackout small { display:block; }.vacation-blackout small { margin-top:5px; font-size:10px; }
.vacation-selection-bar { position:sticky; bottom:10px; z-index:5; display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:18px; padding:15px 17px; border-radius:15px; background:#173e59; color:#fff; box-shadow:0 14px 30px rgba(16,48,73,.2); }
.vacation-selection-bar small,.vacation-selection-bar strong,.vacation-selection-bar span { display:block; }.vacation-selection-bar small { color:#a9d6e5; font-size:9px; text-transform:uppercase; }.vacation-selection-bar strong { margin:6px 0 4px; font-size:14px; }.vacation-selection-bar span { font-size:10px; }
.vacation-selection-bar button { min-height:46px; padding:0 22px; border:0; border-radius:11px; background:#24967d; color:#fff; font-weight:900; }.vacation-selection-bar button:disabled { background:#3b5e74; color:#91a9b8; }
.vacation-my-requests { margin-top:18px; padding:24px; border:1px solid #d3dfdd; border-radius:20px; background:#fff; }
.vacation-request-list { display:grid; gap:10px; margin-top:18px; }.vacation-request-item { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:15px; border:1px solid #d6e1df; border-radius:13px; }.vacation-request-item strong,.vacation-request-item small { display:block; }.vacation-request-item strong { margin:7px 0 4px; }.vacation-request-item small { color:#698090; }.vacation-status { display:inline-block; padding:5px 9px; border-radius:999px; background:#eef2f2; font-size:10px; font-weight:900; }.vacation-request-item.pending .vacation-status { background:#fff0c7; color:#8b5a00; }.vacation-request-item.approved .vacation-status { background:#daf2e9; color:#126c57; }.vacation-request-item.employee-confirmation .vacation-status { background:#e5edff; color:#315d9e; }
.vacation-request-actions { display:flex; align-items:center; gap:8px; }.vacation-request-actions .employee-primary { min-height:42px; margin:0; padding:0 16px; font-size:12px; }.vacation-cancel { min-height:42px; padding:0 14px; border:1px solid #e1b6b2; border-radius:10px; background:#fff3f1; color:#a34439; font-weight:850; }
@media (max-width:1100px) { .vacation-week-grid { grid-template-columns:repeat(4,minmax(130px,1fr)); } }
@media (max-width:760px) { .vacation-modal { padding:0; }.vacation-modal-sheet { width:100%; height:100%; max-height:none; padding:0 14px max(20px,env(safe-area-inset-bottom)); border:0; border-radius:0; }.vacation-modal-header { margin:0 -14px 18px; padding:max(14px,env(safe-area-inset-top)) 14px 13px; }.vacation-modal-header h2 { font-size:20px; }.vacation-modal-close { width:42px; height:42px; }.vacation-hero,.vacation-picker-heading { flex-direction:column; }.vacation-hero h2 { font-size:32px; }.vacation-profile { width:100%; min-width:0; }.vacation-progress-grid { grid-template-columns:1fr; }.vacation-week-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.vacation-legend { justify-content:flex-start; }.vacation-picker { padding:18px 12px; }.vacation-selection-bar,.vacation-request-item { align-items:stretch; flex-direction:column; }.vacation-selection-bar button { width:100%; }.vacation-request-actions { align-items:stretch; flex-direction:column; }.vacation-request-actions form,.vacation-request-actions button { width:100%; } }
