@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
:root { font-family: Inter, Arial, sans-serif; color: #1d1d1f; background: #fff; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
button, input, select { font: inherit; }
button { border: 0; }
.header { width: 100%; border-bottom: 1px solid rgba(29,29,31,.1); background: #fff; }
.header-inner { max-width: 1080px; margin: 0 auto; padding: 18px 20px; min-height: 63px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: block; width: 120px; height: 26px; flex: 0 0 auto; }
.header-left { display: flex; align-items: center; gap: 20px; }
.history-pill, .company-menu { display: flex; align-items: center; gap: 14px; padding: 10px 20px; font-size: 18px; line-height: 22px; background: #fff; cursor: pointer; }
.history-pill { color: #007aff; background: rgba(0,122,255,.1); border-radius: 26px; }
.help-dot { width: 24px; height: 24px; border-radius: 50%; color: #007aff; background: rgba(0,122,255,.1); display: grid; place-items: center; text-decoration: none; font-size: 16px; }
.chevron { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.languages { display: flex; background: #f5f5f7; padding: 4px; border-radius: 12px; }
.languages button { background: transparent; padding: 7px 10px; color: rgba(29,29,31,.8); border-radius: 10px; cursor: pointer; font-size: 16px; }
.languages button.active { color: #1d1d1f; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.company-menu { padding-right: 12px; }
.nav-dropdown, .company-dropdown { position: relative; }
.dropdown-panel { position: absolute; top: calc(100% + 6px); z-index: 100; width: 420px; padding: 10px; background: #fff; border: 1px solid rgba(29,29,31,.1); border-radius: 14px; box-shadow: 3px 3px 10px 6px rgba(0,0,0,.06); }
.nav-dropdown .dropdown-panel { left: 0; }
.company-dropdown .dropdown-panel { right: 0; }
.dropdown-item { width: 100%; display: block; padding: 10px 20px; border-radius: 10px; color: #1d1d1f; background: #fff; text-align: left; text-decoration: none; font-size: 18px; line-height: 25px; cursor: pointer; }
.dropdown-item:hover, .dropdown-item.current { background: rgba(29,29,31,.05); }
.dropdown-logout { color: #f63636; font-weight: 500; }
.dropdown-separator { height: 1px; margin: 8px 10px; background: rgba(29,29,31,.1); }
.dashboard { background: #fff; min-height: calc(100vh - 63px); }
.stats { max-width: 1080px; margin: 37px auto 0; padding: 0 20px; display: flex; gap: 12px; }
.stat-card { height: 102px; flex: 1; padding: 20px 15px; display: flex; align-items: center; gap: 16px; border: 1px solid rgba(29,29,31,.1); border-radius: 20px; background: #fff; cursor: pointer; text-align: left; }
.stat-card.active { padding: 18px 13px; border: 3px solid #007aff; background: rgba(0,122,255,.1); }
.stat-card.red.active { border-color: #f63636; background: rgba(246,54,54,.1); }
.stat-card.green.active { border-color: #1ed768; background: rgba(30,215,104,.1); }
.stat-card.gray.active { border-color: #1d1d1f; background: #f5f5f7; }
.stat-icon { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; background: rgba(0,122,255,.1); }
.red .stat-icon { background: rgba(246,54,54,.1); }
.green .stat-icon { background: rgba(30,215,104,.1); }
.gray .stat-icon { background: #f5f5f7; }
.stat-number { font-size: 24px; font-weight: 600; line-height: 29px; }
.stat-label { margin-top: 1px; font-size: 16px; line-height: 19px; color: #86868b; white-space: nowrap; }
.filter-bar { max-width: 1080px; margin: 37px auto 0; padding: 10px 30px; display: flex; justify-content: space-between; align-items: center; }
.search-box { width: 300px; padding: 10px; display: flex; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 10px; }
.search-box:hover, .search-box:focus-within { border-color: rgba(29,29,31,.1); }
.search-box input { border: 0; outline: 0; width: 100%; font-size: 18px; color: #1d1d1f; background: transparent; }
.search-box input::placeholder { color: rgba(29,29,31,.6); }
.filter-right { display: flex; gap: 10px; align-items: center; }
.select-wrap { position: relative; }
.department-dropdown { position: relative; width: 244px; user-select: none; }
.department-button { align-items: center; background: #fff; border: 1px solid rgba(29,29,31,.1); border-radius: 10px; color: rgba(29,29,31,.5); cursor: pointer; display: flex; font-family: Inter, Arial, sans-serif; font-size: 16px; font-weight: 400; height: 40px; justify-content: space-between; line-height: 120%; padding: 10px; text-align: left; transition: background-color .15s ease; width: 244px; }
.department-button:hover, .department-button[aria-expanded="true"] { background: rgba(29,29,31,.05); }
.department-button svg { flex: 0 0 auto; transition: transform .15s ease; }
.department-button[aria-expanded="true"] svg { transform: rotate(180deg); }
.department-menu { background: #fff; border: 1px solid rgba(29,29,31,.1); border-radius: 14px; box-shadow: 3px 3px 10px 6px rgba(0,0,0,.06); color: #1d1d1f; font-size: 18px; line-height: 140%; margin: 0; max-height: 350px; overflow-y: auto; padding: 10px; position: absolute; right: 0; top: calc(100% + 5px); width: 300px; z-index: 120; }
.department-option { background: #fff; border: 0; border-radius: 10px; color: #1d1d1f; cursor: pointer; display: block; font-family: Inter, Arial, sans-serif; font-size: 18px; line-height: 25px; padding: 10px 20px; text-align: left; width: 100%; }
.department-option:hover, .department-option.selected { background: rgba(29,29,31,.05); }
.select-wrap select { width: 244px; height: 40px; appearance: none; border: 1px solid rgba(29,29,31,.1); border-radius: 10px; padding: 0 38px 0 10px; color: rgba(29,29,31,.5); background: #fff; cursor: pointer; outline: 0; font-size: 16px; }
.select-wrap .select-chevron { position: absolute; right: 14px; top: 13px; pointer-events: none; opacity: .4; }
.date-button { width: 268px; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; color: #007aff; background: #fff; border: 1px solid rgba(29,29,31,.1); border-radius: 10px; cursor: pointer; font-size: 16px; }
.date-button:hover { border-color: #007aff; }
.download { height: 40px; padding: 0 20px; color: #fff; background: #1d1d1f; border-radius: 10px; font-size: 16px; font-weight: 500; cursor: pointer; }
.download:hover { background: #313133; }
.table-section { max-width: 1080px; margin: 0 auto 50px; padding: 0 30px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.date-title { width: 100%; margin: 36px 0 6px; font-size: 24px; font-weight: 600; line-height: 29px; }
.records { width: 100%; border-collapse: collapse; table-layout: fixed; }
.records th { height: 49px; padding: 14px 0; color: rgba(29,29,31,.6); border-bottom: 1px solid rgba(29,29,31,.1); font-size: 14px; font-weight: 400; text-align: left; }
.records th:nth-child(1) { width: 39%; }
.records th:nth-child(2) { width: 19%; }
.records th:nth-child(3) { width: 11%; }
.records th:nth-child(4) { width: 11%; }
.records th:nth-child(5) { width: 10%; }
.records th:nth-child(6) { width: 10%; }
.records td { height: 115px; padding: 20px 0; border-bottom: 1px solid rgba(29,29,31,.1); font-size: 16px; }
.records tbody tr:hover { background: rgba(29,29,31,.035); }
.records th:nth-child(n+3), .records td:nth-child(n+3) { text-align: center; }
.employee { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar { width: 36px; height: 45px; flex: 0 0 auto; border-radius: 5px; overflow: hidden; }
.employee-text { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.employee-name { font-size: 16px; font-weight: 500; line-height: 19px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.position { max-width: 240px; color: rgba(29,29,31,.6); font-size: 14px; line-height: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.time-pill { display: inline-flex; padding: 6px 15px; border-radius: 10px; background: #fbfbfd; color: #1ed768; line-height: 19px; }
.time-pill.red { color: #f63636; }
.time-pill.yellow { color: #ff9500; background: rgba(255,149,0,.1); }
.empty { height: 125px !important; text-align: center !important; color: rgba(29,29,31,.55); }
.pagination { margin: 16px 0 4px; display: flex; align-items: center; gap: 8px; }
.page, .arrow { min-width: 32px; height: 32px; display: grid; place-items: center; background: #fff; color: #1d1d1f; cursor: pointer; }
.page.active { color: #007aff; border: 1px solid #007aff; border-radius: 2px; }
.arrow { color: rgba(29,29,31,.65); font-size: 22px; }
.arrow:disabled { color: rgba(29,29,31,.2); cursor: default; }
.modal-backdrop { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.18); display: grid; place-items: center; }
.date-modal { width: 390px; padding: 25px 30px 20px; background: #fff; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.15); }
.date-modal h3 { margin: 0 0 17px; font-size: 18px; font-weight: 500; }
.date-inputs { display: flex; gap: 10px; margin-bottom: 17px; }
.date-box { width: 50%; height: 40px; display: flex; align-items: center; justify-content: center; color: #007aff; border: 1px solid rgba(29,29,31,.12); border-radius: 10px; font-size: 15px; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; height: 38px; margin-bottom: 4px; }
.calendar-head strong { font-size: 16px; font-weight: 500; }
.calendar-nav { width: 34px; height: 34px; border-radius: 8px; background: #fff; color: #1d1d1f; cursor: pointer; font-size: 22px; }
.calendar-nav:hover { background: #f5f5f7; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.calendar-weekdays span { height: 30px; display: grid; place-items: center; color: rgba(29,29,31,.45); font-size: 12px; }
.calendar-day { width: 34px; height: 34px; margin: 1px auto; border-radius: 50%; background: #fff; color: #1d1d1f; cursor: pointer; font-size: 13px; }
.calendar-day.outside { color: rgba(29,29,31,.25); }
.calendar-day.in-range { border-radius: 0; background: rgba(0,122,255,.1); }
.calendar-day.selected { border-radius: 50%; background: #007aff; color: #fff; }
.calendar-day:disabled { color: rgba(29,29,31,.2); cursor: default; }
.modal-actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 10px; }
.modal-actions button { height: 38px; padding: 0 16px; border-radius: 10px; background: #f5f5f7; cursor: pointer; }
.modal-actions .primary { background: #1d1d1f; color: #fff; }
.login-header .header-inner { justify-content: flex-start; }
.login-page { width: 274px; margin: 198px auto 0; }
.login-page h1 { margin: 0 0 45px; text-align: center; font-size: 29px; }
.login-field { width: 274px; height: 40px; padding: 0 12px; border: 1px solid #c7d0de; border-radius: 10px; outline: 0; background: #eaf2ff; font-size: 13px; }
.login-field + .login-field { margin-top: 18px; }
.login-button { width: 274px; height: 62px; margin-top: 39px; border-radius: 19px; background: #1d1d1f; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; }
.login-error { min-height: 20px; margin: 12px 0 -20px; color: #f63636; font-size: 14px; }
.page-main { max-width: 1080px; margin: 37px auto 50px; padding: 0 30px; }
.page-summary { width: 255px; height: 102px; display: flex; align-items: center; gap: 16px; padding: 20px 15px; border: 3px solid #007aff; border-radius: 20px; background: rgba(0,122,255,.1); }
.simple-filters { margin: 37px 0 20px; display: flex; align-items: center; justify-content: space-between; }
.simple-filters .filter-right { margin-left: auto; }
.secondary-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.secondary-table th { height: 49px; padding: 14px 10px; color: rgba(29,29,31,.6); border-bottom: 1px solid rgba(29,29,31,.1); text-align: left; font-size: 14px; font-weight: 400; }
.secondary-table td { height: 86px; padding: 16px 10px; border-bottom: 1px solid rgba(29,29,31,.1); font-size: 15px; }
.secondary-table tr:hover td { background: rgba(29,29,31,.025); }
.access-cell { display: flex; align-items: center; justify-content: space-between; }
.edit-btn { width: 34px; height: 34px; border-radius: 8px; background: rgba(0,122,255,.1); color: #007aff; cursor: pointer; font-size: 17px; }
.page-title { margin: 0 0 24px; font-size: 29px; }
.schedule-page { min-height: calc(100vh - 63px); background: #fff; }
.schedule-filters { max-width: 947px; margin: 37px auto 0; padding: 10px 0 10px 30px; display: flex; align-items: center; justify-content: space-between; }
.schedule-filters .filter-right { margin-left: auto; }
.schedule-selection { max-width: 935px; height: 68px; margin: 0 auto 5px; padding: 14px 30px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.schedule-none { color: rgba(29,29,31,.6); }
.schedule-selection-left, .schedule-selection-actions { display: flex; align-items: center; }
.schedule-selection-left { gap: 0; }
.schedule-selection-actions { gap: 10px; }
.schedule-selection-left > span { margin-right: 10px; color: #007aff; font-size: 16px; font-weight: 600; line-height: 19.2px; }
.schedule-selection button { height: auto; border-radius: 10px; cursor: pointer; font-size: 16px; font-weight: 500; line-height: 19.2px; white-space: nowrap; }
.schedule-selection #select-page { width: auto; padding: 6px 10px; background: #007aff; color: #fff; }
.schedule-selection #clear-selection { width: auto; margin-left: 10px; padding: 6px 10px; }
.schedule-selection #clear-schedules, .schedule-selection #assign-schedules { width: auto; padding: 10px 20px; }
.schedule-selection #assign-schedules { background: #1d1d1f; color: #fff; }
.schedule-selection button.muted { background: rgba(29,29,31,.05); color: #1d1d1f; }
.schedule-selection-actions button:first-child { background: #f63636; color: #fff; }
.schedule-table-wrap { max-width: 1080px; margin: 0 auto 50px; padding: 0 50px; }
.schedule-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.schedule-table col:nth-child(1) { width: 5%; }
.schedule-table col:nth-child(2) { width: 31.5%; }
.schedule-table col:nth-child(3) { width: 20.5%; }
.schedule-table col:nth-child(4) { width: 28%; }
.schedule-table col:nth-child(5) { width: 15%; }
.schedule-table th { height: 45px; padding: 14px 0; border-bottom: 1px solid rgba(29,29,31,.1); color: rgba(29,29,31,.6); font-size: 14px; font-weight: 400; text-align: left; }
.schedule-table th:last-child { text-align: center; }
.schedule-table td { height: 86px; padding: 20px 0; border-bottom: 1px solid rgba(29,29,31,.1); font-size: 16px; }
.schedule-table td:last-child { text-align: center; }
.schedule-table tbody tr:hover td { background: rgba(29,29,31,.025); }
.schedule-check { width: 26px; height: 26px; display: grid; place-items: center; cursor: pointer; }
.schedule-check input { position: absolute; opacity: 0; pointer-events: none; }
.schedule-check span { width: 24px; height: 24px; display: block; border: 1px solid rgba(29,29,31,.15); border-radius: 50%; background: #fff; }
.schedule-check input:checked + span { position: relative; border-color: #1890ff; background: #1890ff; }
.schedule-check input:checked + span::after { content: ''; position: absolute; left: 8px; top: 4px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.workdays { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 14px; }
.workday { color: #007aff; }
.weekend { color: rgba(29,29,31,.45); }
.schedule-unassigned { color: rgba(29,29,31,.6); }
.schedule-pagination { position: relative; min-height: 68px; display: flex; align-items: center; justify-content: center; }
.schedule-pagination .pagination { margin: 16px 0; }
.schedule-pagination .page.active { border: 0; border-bottom: 2px solid #1d1d1f; border-radius: 0; color: #1d1d1f; }
.page-size { position: absolute; right: 0; color: rgba(29,29,31,.6); font-size: 14px; }
.schedule-clear-overlay { position: fixed; inset: 0; z-index: 300; padding: 40px 0; overflow: auto; background: rgba(0,0,0,.8); }
.schedule-clear-modal { width: 415px; min-height: 298px; margin: 0 auto; padding: 40px; border-radius: 20px; background: #fff; }
.schedule-clear-modal h2 { margin: 0; color: #1d1d1f; font-size: 24px; font-weight: 600; line-height: 28.8px; }
.clear-mode-row { margin-top: 40px; display: flex; gap: 15px; }
.clear-mode-wrap { position: relative; width: 160px; height: 67px; flex: 0 0 auto; }
.clear-mode { width: 160px; height: 67px; padding: 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(29,29,31,.2); border-radius: 20px; background: #fff; color: #1d1d1f; cursor: pointer; font-size: 14px; font-weight: 500; }
.clear-mode.active { border: 3px solid #007aff; padding: 18px; }
.clear-mode svg { width: 20px; height: 20px; color: #007aff; }
.clear-radio { width: 24px; height: 24px; flex: 0 0 auto; border: 1px solid rgba(29,29,31,.2); border-radius: 50%; }
.clear-mode.active .clear-radio { border: 6px solid #007aff; }
.clear-calendar { position: absolute; z-index: 5; top: 67px; left: -5px; width: 280px; padding-top: 2px; background: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.08); color: #1d1d1f; font-size: 14px; font-weight: 400; }
.clear-calendar-head { height: 40px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(29,29,31,.06); }
.clear-calendar-head span { display: flex; }
.clear-calendar-head button { width: 23px; height: 32px; padding: 0; background: transparent; color: rgba(29,29,31,.25); cursor: pointer; font-size: 21px; font-weight: 300; }
.clear-calendar-head strong { font-size: 14px; font-weight: 500; }
.clear-calendar-week, .clear-calendar-grid { padding: 0 15px; display: grid; grid-template-columns: repeat(7, 1fr); }
.clear-calendar-week { height: 40px; align-items: center; }
.clear-calendar-week span { text-align: center; color: rgba(29,29,31,.75); font-size: 12px; }
.clear-calendar-grid { grid-auto-rows: 30px; }
.clear-calendar-grid button, .clear-calendar-grid span { width: 24px; height: 24px; margin: 3px auto; display: grid; place-items: center; }
.clear-calendar-grid button { border: 1px solid transparent; background: #fff; color: #1d1d1f; cursor: pointer; font-size: 14px; }
.clear-calendar-grid button:hover { background: rgba(0,122,255,.08); }
.clear-calendar-grid button.selected { border-color: #1890ff; color: #007aff; background: rgba(0,122,255,.06); }
.clear-calendar-today { width: 100%; height: 40px; margin-top: 4px; border-top: 1px solid rgba(29,29,31,.08); background: #fff; color: #1890ff; cursor: pointer; font-size: 14px; }
.clear-modal-actions { margin-top: 40px; display: flex; justify-content: flex-end; gap: 10px; }
.clear-modal-actions button { height: 39px; padding: 10px 20px; border-radius: 10px; cursor: pointer; font-size: 16px; font-weight: 500; line-height: 19px; }
.clear-modal-actions #cancel-clear { background: rgba(29,29,31,.05); color: #1d1d1f; }
.clear-modal-actions .confirm-clear { background: #f63636; color: #fff; }
.schedule-assign-overlay { position: fixed; inset: 0; z-index: 300; padding: 40px 0; overflow: auto; background: rgba(0,0,0,.8); }
.schedule-assign-modal { width: 410px; min-height: 298px; margin: 0 auto; padding: 40px; border-radius: 20px; background: #fff; }
.schedule-assign-modal h2 { margin: 0; color: #1d1d1f; font-size: 24px; font-weight: 600; line-height: 28.8px; }
.assign-mode-row { margin-top: 40px; display: flex; gap: 10px; }
.assign-mode { width: 160px; height: 66px; padding: 20px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(29,29,31,.2); border-radius: 20px; background: #fff; color: #1d1d1f; cursor: pointer; font-size: 14px; font-weight: 500; }
.assign-mode.active { border: 3px solid #007aff; padding: 18px; }
.assign-radio { position: relative; width: 24px; height: 24px; flex: 0 0 auto; border: 1px solid rgba(29,29,31,.2); border-radius: 50%; }
.assign-mode.active .assign-radio { border-color: #007aff; background: #007aff; }
.assign-mode.active .assign-radio::after { content: ''; position: absolute; left: 8px; top: 5px; width: 5px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.assign-modal-actions { margin-top: 40px; display: flex; justify-content: flex-end; gap: 10px; }
.assign-modal-actions button { height: 39px; padding: 10px 20px; border-radius: 10px; cursor: pointer; font-size: 16px; font-weight: 500; line-height: 19px; }
.assign-modal-actions #cancel-assign { background: rgba(29,29,31,.1); color: #1d1d1f; }
.assign-modal-actions #continue-assign { background: #1d1d1f; color: #fff; }
.schedule-details-modal { width: 431px; margin: 0 auto; padding: 40px; border-radius: 20px; background: #fff; color: #1d1d1f; }
.schedule-details-modal h2 { margin: 0 0 40px; font-size: 24px; font-weight: 600; line-height: 29px; }
.assign-form-section { position: relative; }
.assign-label { display: block; margin-bottom: 20px; color: #007aff; font-size: 14px; font-weight: 500; }
.repeat-select { width: 100%; height: 40px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(29,29,31,.2); border-radius: 10px; background: #fff; color: #007aff; cursor: pointer; font-size: 16px; text-align: left; }
.repeat-select.open { border-color: #1890ff; box-shadow: 0 0 0 2px rgba(24,144,255,.15); }
.repeat-select .chevron { color: rgba(29,29,31,.45); }
.repeat-options { position: absolute; z-index: 20; top: 71px; left: 0; width: 100%; max-height: 255px; overflow-y: auto; padding: 8px; border-radius: 10px; background: #fff; box-shadow: 0 3px 12px rgba(0,0,0,.16); }
.repeat-option { width: 100%; min-height: 51px; padding: 12px; border-radius: 8px; background: #fff; color: #1d1d1f; cursor: pointer; text-align: left; font-size: 14px; }
.repeat-option:hover, .repeat-option.selected { background: rgba(0,122,255,.1); }
.repeat-option.selected { font-weight: 600; }
.assign-help { margin: 10px 0 0 10px; color: rgba(29,29,31,.4); font-size: 14px; }
.assign-divider { height: 1px; margin: 20px 0; background: rgba(29,29,31,.1); }
.assign-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); }
.assign-weekdays label { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 14px; cursor: pointer; }
.assign-weekdays input, .assign-break-check input { position: absolute; opacity: 0; pointer-events: none; }
.assign-weekdays i { width: 24px; height: 24px; border: 1px solid rgba(29,29,31,.2); border-radius: 5px; }
.assign-weekdays input:checked + i { position: relative; border-color: #1890ff; background: #1890ff; }
.assign-weekdays input:checked + i::after, .assign-break-check input:checked + i::after { content: ''; position: absolute; left: 8px; top: 4px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.time-section, .rate-section, .break-section, .day-time-section { margin-top: 40px; }
.assign-radio-row { display: flex; align-items: center; gap: 10px; }
.assign-radio-row button { padding: 0; display: flex; align-items: center; gap: 8px; background: transparent; color: #1d1d1f; cursor: pointer; font-size: 16px; }
.assign-radio-row button.active { color: #007aff; }
.form-radio { width: 16px; height: 16px; border: 1px solid rgba(29,29,31,.2); border-radius: 50%; }
.form-radio.active { border: 5px solid #1890ff; }
.time-input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.time-input-row label { min-width: 0; display: flex; flex-direction: column; gap: 6px; color: rgba(29,29,31,.4); font-size: 14px; }
.time-input-row input, .rate-input { width: 100%; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid rgba(29,29,31,.12); border-radius: 10px; outline: 0; color: #1d1d1f; text-align: center; font-size: 16px; }
.time-input-row input:focus, .rate-input:focus { border-color: #1890ff; }
.time-input-row input::placeholder, .rate-input::placeholder { color: rgba(29,29,31,.25); }
.rate-input { width: 170px; }
.assign-break-check { display: flex; align-items: center; gap: 8px; margin: -6px 0 20px; color: #007aff; cursor: pointer; font-size: 16px; font-weight: 500; }
.assign-break-check i { position: relative; width: 24px; height: 24px; border: 1px solid rgba(29,29,31,.2); border-radius: 5px; }
.assign-break-check input:checked + i { border-color: #1890ff; background: #1890ff; }
.details-actions { margin-top: 40px; display: flex; justify-content: flex-end; gap: 10px; }
.details-actions button { height: 39px; padding: 10px 20px; border-radius: 10px; font-size: 16px; font-weight: 500; }
.details-actions #cancel-assign { background: rgba(29,29,31,.1); color: #1d1d1f; cursor: pointer; }
.details-actions #save-assign { background: #1d1d1f; color: #fff; cursor: pointer; }
.details-actions #save-assign:disabled { background: rgba(29,29,31,.06); color: rgba(29,29,31,.4); cursor: default; }
.day-details { min-height: 633px; }
.assign-date-input { height: 40px; padding: 0 12px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(29,29,31,.2); border-radius: 10px; }
.assign-date-input input { width: 100%; border: 0; outline: 0; color: #1d1d1f; font-size: 14px; }
.assign-date-input svg { width: 20px; height: 20px; color: #007aff; }
.required-times b { color: #f63636; font-weight: 400; }
.time-error { margin: 8px 0 0; color: #f63636; font-size: 14px; }
.day-off { width: 100%; height: 39px; margin-top: 40px; border-radius: 10px; background: rgba(246,54,54,.08); color: rgba(246,54,54,.55); cursor: pointer; font-size: 16px; font-weight: 500; }
.day-off.active { background: rgba(246,54,54,.16); color: #f63636; }
.day-details .details-actions { margin-top: 40px; }
.timesheet-page { max-width: 1080px; }
.timesheet-page .simple-filters { margin-top: 37px; margin-bottom: 38px; }
.timesheet-group { margin-bottom: 36px; }
.timesheet-group h2 { margin: 0 0 22px; font-size: 24px; font-weight: 600; line-height: 29px; }
.timesheet-column-head, .timesheet-row { display: grid; grid-template-columns: minmax(260px, 2.15fr) 80px 92px 150px repeat(3, 88px) 54px; align-items: center; column-gap: 0; }
.timesheet-column-head { min-height: 38px; color: rgba(29,29,31,.6); font-size: 14px; }
.worked-heading { display: inline-flex; align-items: center; gap: 10px; }
.timesheet-switch { width: 28px; height: 16px; padding: 0; border: 0; display: inline-block; border-radius: 999px; background: #b8b8bd; position: relative; cursor: pointer; }
.timesheet-switch.on { background: #1ed768; }
.timesheet-switch.underworked { background: #f63636; }
.timesheet-switch::after { content: ''; position: absolute; width: 12px; height: 12px; top: 2px; left: 2px; border-radius: 50%; background: #fff; transition: left .15s ease; }
.timesheet-switch.on::after { left: 14px; }
.timesheet-column-head > span:nth-child(n+5) { text-align: center; }
.timesheet-column-head > span:nth-child(2), .timesheet-column-head > span:nth-child(3), .timesheet-column-head > span:nth-child(4) { position: relative; left: -20px; }
.timesheet-column-head > span:nth-child(5), .timesheet-column-head > span:nth-child(6), .timesheet-column-head > span:nth-child(7) { position: relative; left: 20px; }
.timesheet-column-head .timesheet-arrows { grid-column: 8; display: flex; width: 66px; height: 36px; margin-left: 14px; overflow: hidden; border-radius: 10px; background: #007aff; }
.timesheet-arrows button { width: 33px; height: 36px; padding: 0; background: transparent; color: #fff; cursor: pointer; font-size: 28px; line-height: 28px; }
.timesheet-arrows button:disabled { opacity: .35; cursor: default; }
.timesheet-row { min-height: 86px; }
.timesheet-main, .timesheet-days { min-height: 86px; display: grid; align-items: center; border-radius: 20px; background: transparent; }
.timesheet-main { grid-column: 1 / 5; grid-template-columns: minmax(260px, 2.15fr) 80px 92px 150px; padding: 0 20px; }
.timesheet-main > span { font-size: 16px; }
.timesheet-days { grid-column: 5 / 9; grid-template-columns: repeat(3, 88px); margin-left: 20px; padding: 0 0; }
.timesheet-days span { text-align: center; font-size: 16px; }
.timesheet-days .missing-day { color: #007aff; }
.timesheet-row + .timesheet-row { margin-top: 0; }
.timesheet-row:nth-child(odd) .timesheet-main, .timesheet-row:nth-child(odd) .timesheet-days { background: #fbfbfd; }
.timesheet-row:hover .timesheet-main, .timesheet-row:hover .timesheet-days { background: rgba(29,29,31,.045); }
.department-title { padding: 30px 0 12px; font-size: 20px; font-weight: 600; border-bottom: 1px solid rgba(29,29,31,.1); }
.devices-empty { height: 150px !important; text-align: center; color: rgba(29,29,31,.5); }
.users-stats { max-width: 1080px; height: 98px; margin: 37px auto 0; padding: 0 20px; }
.user-count-card { width: 338px; height: 98px; display: flex; align-items: center; gap: 16px; padding: 20px 15px; border: 1px solid rgba(29,29,31,.1); border-radius: 20px; background: rgba(29,29,31,.1); }
.user-count-card .stat-icon { background: rgba(0,122,255,.1); }
.users-filter { max-width: 1080px; margin: 37px auto 0; padding: 10px 50px; display: flex; justify-content: space-between; align-items: center; }
.users-filter .filter-right { margin-left: auto; }
.users-table-wrap { max-width: 1080px; margin: 0 auto 50px; padding: 0 50px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.users-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.users-table col:nth-child(1) { width: 34.17%; }
.users-table col:nth-child(2) { width: 21.82%; }
.users-table col:nth-child(3) { width: 19.23%; }
.users-table col:nth-child(4) { width: 24.78%; }
.users-table th { height: 45px; padding: 14px 0; color: rgba(29,29,31,.6); border-bottom: 1px solid rgba(29,29,31,.1); text-align: left; font-size: 14px; font-weight: 400; }
.users-table th:nth-child(3) { text-align: center; }
.users-table td { height: 86px; padding: 20px 0; border-bottom: 1px solid rgba(29,29,31,.1); font-size: 16px; }
.users-table td:nth-child(3) { padding-right: 14px; text-align: center; }
.users-table tr:hover td { background: rgba(29,29,31,.035); }
.users-table .empty { height: 125px; }
.access-tag { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border: 1px solid #b7eb8f; border-radius: 10px; color: #389e0d; background: #f6ffed; font-size: 16px; line-height: 19px; }
.access-edit { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #1d1d1f; background: #f5f5f7; cursor: pointer; }
.access-edit:hover { background: #e9e9ec; }
.user-edit-overlay { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; background: rgba(0,0,0,.24); }
.user-edit-modal { width: 496px; background: #fff; box-shadow: 0 12px 36px rgba(0,0,0,.2); }
.user-edit-head { height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid #e5e5e5; }
.user-edit-head h2 { margin: 0; font-size: 17px; font-weight: 500; }
.user-edit-close { padding: 0; color: #888; background: transparent; font-size: 28px; line-height: 1; cursor: pointer; }
.user-edit-fields { padding: 35px 20px 24px; }
.user-edit-fields label { display: block; margin-bottom: 2px; color: #333; font-size: 14px; }
.user-edit-fields input, .user-edit-fields select { width: 100%; height: 33px; box-sizing: border-box; margin: 3px 0 0; padding: 0 11px; border: 1px solid #d2d2d2; border-radius: 1px; background: #f7f7f7; color: #333; font: inherit; }
.user-edit-actions { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-top: 1px solid #e5e5e5; }
.user-edit-actions span { flex: 1; }
.user-edit-actions button { height: 33px; padding: 0 16px; border: 1px solid #d2d2d2; border-radius: 2px; background: #fff; color: #333; cursor: pointer; font-size: 14px; }
.user-edit-actions .user-save { border-color: #1683f8; background: #1683f8; color: #fff; }
.user-edit-actions .user-delete { border-color: #f63636; color: #f63636; }
.not-assigned { display: inline-flex; padding: 6px 10px; border-radius: 10px; color: #f63636; background: rgba(246,54,54,.1); }
@media (max-width: 900px) {
  .header-inner, .stats, .filter-bar, .table-section { min-width: 760px; }
  .company-menu { display: none; }
  .stat-card { min-width: 190px; }
}
