.login-page{background:var(--bg-primary);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.login-card{background:var(--bg-secondary,#f8f9fa);border:1px solid var(--border-color);border-radius:6px;width:100%;max-width:380px;padding:40px;box-shadow:0 4px 6px #0000001a}.login-form .form-group{margin-bottom:20px}.login-error{color:#dc3545;background:#dc35451a;border-radius:6px;margin-bottom:16px;padding:10px;font-size:13px}.login-btn{color:#fff;cursor:pointer;background:#4a5568;border:none;border-radius:4px;width:100%;padding:12px;font-size:15px;transition:background .2s}.login-btn:hover:not(:disabled){background:#2d3748}.login-btn:disabled{cursor:not-allowed;background:#cbd5e0}.login-logo{justify-content:center;margin-bottom:32px;display:flex}.login-logo img{object-fit:contain;width:auto;max-width:200px;height:auto;max-height:80px}.login-brand{color:#fff;background:#007bff;width:200px;height:66px;margin:0 auto 45px;padding:22px 10px 0;font-family:Georgia,serif;font-size:24px}.login-card{background:#f8f9fa;border-color:#e1e5e9;border-radius:12px;box-shadow:0 4px 6px #00000012}.login-card .login-form .form-group label{color:#333;margin-bottom:6px;font-weight:500}.login-card .login-form .form-group input{color:#333;background:#fff;border-color:#e1e5e9;border-radius:8px;padding:12px 14px}.login-card .login-btn{border-radius:8px;margin-top:12px;padding:14px 20px;font-weight:600}.login-card .login-brand{height:66.6667px;margin-bottom:32px}body.theme-dark .login-page{background:#0f0f10}body.theme-dark .login-page .login-card{background:#1a1a1b;border-color:#2d2d30;box-shadow:0 4px 6px #0000004d}body.theme-dark .login-page .login-form .form-group label{color:#e2e8f0}body.theme-dark .login-page .login-form .form-group input{color:#e2e8f0;background:#0f0f10;border-color:#4a5568}body.theme-dark .login-page .login-form .form-group input::placeholder{color:#718096}body.theme-dark .login-page .login-btn{background:#4299e1}body.theme-dark .login-page .login-btn:disabled{background:#4a5568}body.theme-dark .login-page .login-btn:hover:not(:disabled){background:#3182ce}@media (width<=768px),(hover:none) and (pointer:coarse){.login-card .login-form .form-group input{font-size:16px}}.shift-icon{box-sizing:border-box;-webkit-user-select:none;user-select:none;border-radius:4px;justify-content:center;align-items:center;font-weight:600;line-height:1;display:inline-flex}.shift-icon--md{border-radius:4px;width:24px;height:24px;font-size:14px}.shift-icon--compact{margin:1px}.shift-icon[style*="background-color: transparent"]{border:2px solid var(--color-medium,#92949c)}.shift-icon--sm{width:20px;height:20px;font-size:12px}@media (width<=768px){.shift-icon--md{width:20px;height:20px;font-size:12px}.transposed-schedule-grid .shift-icon--md{border-radius:6px;width:28px;height:28px;font-size:14px}}.shift-icon-wrapper{justify-content:center;align-items:center;display:inline-flex;position:relative}.shift-cell .shift-icon-wrapper.shift-request{opacity:1;font-style:normal}.shift-cell .shift-icon-wrapper.shift-request .shift-icon{opacity:.5}.shift-icon-wrapper .status-overlay{z-index:1;border-radius:50%;justify-content:center;align-items:center;width:14px;height:14px;font-size:8px;font-weight:700;line-height:1;display:flex;position:absolute;top:-4px;right:-2px;box-shadow:0 1px 3px #0000004d}.shift-icon-wrapper .status-overlay.status-pending{color:var(--bg-primary);background:#f59e0b}.requirements-container{border:1px solid var(--border-color);border-radius:6px;margin-top:4px;overflow-x:auto}.requirement-row{grid-template-columns:var(--roster-employee-column-width) repeat(var(--days,31), var(--roster-day-column-width));min-height:36px;display:grid}.requirement-label{white-space:nowrap;text-overflow:ellipsis;background:var(--bg-primary);z-index:10;border-right:1px solid var(--border-color);border-bottom:1px solid var(--border-light);padding:4px 8px;font-size:.75rem;font-weight:500;position:sticky;left:0;overflow:hidden}.requirement-cell{border-bottom:1px solid var(--border-light);border-right:1px solid var(--border-light);justify-content:center;align-items:center;display:flex}.requirement-input{text-align:center;width:100%;height:100%;color:var(--text-primary);-moz-appearance:textfield;background:0 0;border:none;padding:2px;font-size:.75rem}.requirement-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.requirement-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.requirement-input:focus{background:var(--bg-secondary);outline:none}.requirement-input.under-required,.requirement-input-vertical.under-required{background-color:#ef444433!important}.requirement-input.over-required,.requirement-input-vertical.over-required{background-color:#22c55e33!important}.requirement-input.exactly-required,.requirement-input-vertical.exactly-required{background-color:#22c55e4d!important}.requirement-input[aria-invalid=true],.requirement-input-vertical[aria-invalid=true]{outline-offset:-2px;outline:2px solid #ef4444}.requirement-retry{background:var(--bg-primary);color:#ef4444;cursor:pointer;border:0;padding:0 3px;position:absolute;top:0;right:0}.requirement-cell,.requirement-cell-vertical{position:relative}[data-requirement-shift][aria-selected=true]{outline:2px solid var(--primary-color,#3880ff);outline-offset:-2px}.requirement-fill-handle{border:1px solid var(--background-color,#fff);background:var(--primary-color,#3880ff);cursor:crosshair;z-index:2;width:10px;height:10px;padding:0;position:absolute;bottom:0;right:0}.schedule-grid .requirements-container{border:0;margin:0;display:contents;overflow:visible}.schedule-grid .requirements-spacer{height:24px;display:table-row}.schedule-grid .requirement-row{height:37px;display:table-row}.schedule-grid .requirement-label,.schedule-grid .requirement-cell{vertical-align:middle;height:37px;display:table-cell}.schedule-grid .requirement-label{width:150px;min-width:150px;color:var(--text-primary);padding:0 12px;font-size:12.8px;line-height:36px}.schedule-grid .requirement-cell{border-color:#e5e5e5cc;width:36px;min-width:36px}.schedule-grid .requirement-input{height:36px;padding:0}.schedule-grid .requirements-spacer>div{border-bottom:1px solid #e5e5e5cc;height:24px;display:table-cell}.schedule-grid .requirement-cell{background:var(--bg-primary)}.schedule-grid .requirement-cell.weekend{background:#c8c8c826}.schedule-grid .requirement-cell.today-column{background:#d4edda33}.theme-dark .schedule-grid .requirement-label{background:#ffffff05}.schedule-grid-wrapper{overflow-x:auto}.schedule-grid{grid-template-columns:var(--roster-employee-column-width) repeat(var(--days,31), var(--roster-day-column-width));border:1px solid var(--border-color);border-radius:6px;min-width:100%;display:inline-grid}.grid-header{display:contents}.grid-header .employee-header,.grid-header .day-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-color);text-align:center;color:var(--text-secondary);padding:4px 2px;font-size:.625rem}.grid-header .employee-header{z-index:10;background:var(--bg-secondary);position:sticky;left:0}.grid-header .day-header{flex-direction:column;align-items:center;gap:1px;display:flex}.grid-header .day-header.weekend{background:var(--weekend-bg)}.grid-header .day-header.holiday{background:#dbeafe66}.theme-dark .grid-header .day-header.holiday{background:#1e40af66}.grid-header .day-header.today{background:#28a74526;font-weight:600}.theme-dark .grid-header .day-header.today{background:#28a74540}.grid-header .day-header .day-name{text-transform:capitalize;font-size:9px}.grid-header .day-header .day-number{font-size:11px;font-weight:600}.employee-row{display:contents}.employee-name{background:var(--bg-primary);border-bottom:1px solid var(--border-color);border-right:1px solid var(--border-color);z-index:10;cursor:pointer;min-width:var(--roster-employee-column-width);align-items:center;padding:4px 8px;transition:background-color .2s;display:flex;position:sticky;left:0}.employee-name:hover{background:var(--bg-secondary)}.employee-name .name-text{color:var(--text-primary);white-space:nowrap;text-overflow:ellipsis;font-size:.75rem;overflow:hidden}.employee-row.current-user .employee-name{background:var(--weekend-bg)}.employee-row.current-user .employee-name .name-text{font-weight:700}.employee-row.current-user .shift-cell:not(.weekend):not(.holiday):not(.today-column):not(.violation-error):not(.violation-warning){background:var(--weekend-bg)}.shift-cell{border-bottom:1px solid var(--border-color);border-right:1px solid var(--border-light);cursor:pointer;justify-content:center;align-items:center;min-height:36px;font-size:14px;transition:background-color .1s;display:flex}.shift-cell:hover:not(.non-interactive){background:var(--hover-gray)}.shift-cell.weekend{background:var(--weekend-bg)}.shift-cell.holiday{background:#dbeafe66}.theme-dark .shift-cell.holiday{background:#1e40af66}.shift-cell.today-column{background:#28a74526}.theme-dark .shift-cell.today-column{background:#28a74540}.shift-cell.non-interactive{cursor:default}.shift-cell.violation-warning{background:var(--violation-warning-bg)}.shift-cell.violation-error{background:var(--violation-error-bg)}.shift-cell app-shift-icon,.shift-cell .shift-icon{justify-content:center;align-items:center;display:flex}.shift-cell .shift-proposal{opacity:.5}.shift-cell .shift-request{opacity:.4;font-style:italic}.shift-cell.selected{-webkit-user-select:none;user-select:none;position:relative;box-shadow:inset 0 2px #007bff,inset 0 -2px #007bff,inset 2px 0 #007bff,inset -2px 0 #007bff;background:#007bff26!important}.shift-cell.selected.has-selected-above{box-shadow:inset 0 -2px #007bff,inset 2px 0 #007bff,inset -2px 0 #007bff}.shift-cell.selected.has-selected-below{box-shadow:inset 0 2px #007bff,inset 2px 0 #007bff,inset -2px 0 #007bff}.shift-cell.selected.has-selected-left{box-shadow:inset 0 2px #007bff,inset 0 -2px #007bff,inset -2px 0 #007bff}.shift-cell.selected.has-selected-right{box-shadow:inset 0 2px #007bff,inset 0 -2px #007bff,inset 2px 0 #007bff}.shift-cell.selected.has-selected-above.has-selected-below{box-shadow:inset 2px 0 #007bff,inset -2px 0 #007bff}.shift-cell.selected.has-selected-left.has-selected-right{box-shadow:inset 0 2px #007bff,inset 0 -2px #007bff}.shift-cell.selected.has-selected-above.has-selected-left{box-shadow:inset 0 -2px #007bff,inset -2px 0 #007bff}.shift-cell.selected.has-selected-above.has-selected-right{box-shadow:inset 0 -2px #007bff,inset 2px 0 #007bff}.shift-cell.selected.has-selected-below.has-selected-left{box-shadow:inset 0 2px #007bff,inset -2px 0 #007bff}.shift-cell.selected.has-selected-below.has-selected-right{box-shadow:inset 0 2px #007bff,inset 2px 0 #007bff}.shift-cell.selected.has-selected-above.has-selected-below.has-selected-left{box-shadow:inset -2px 0 #007bff}.shift-cell.selected.has-selected-above.has-selected-below.has-selected-right{box-shadow:inset 2px 0 #007bff}.shift-cell.selected.has-selected-above.has-selected-left.has-selected-right{box-shadow:inset 0 -2px #007bff}.shift-cell.selected.has-selected-below.has-selected-left.has-selected-right{box-shadow:inset 0 2px #007bff}.shift-cell.selected.has-selected-above.has-selected-below.has-selected-left.has-selected-right{box-shadow:none}.group-section,.group-header-row{display:contents}.group-header-row .group-name{background:var(--bg-primary);border-bottom:1px solid var(--border-color);border-right:1px solid var(--border-color);z-index:10;height:24px;position:sticky;left:0}.theme-dark .group-header-row .group-name{background:var(--bg-primary)}.group-header-row .group-name-content{width:100%;height:100%;color:var(--text-primary);background:#80808026;align-items:center;padding:0 8px;font-size:.8rem;font-weight:600;display:flex;position:relative}.group-header-row .group-name-content span{line-height:24px}.group-header-row .group-name-content .collapse-btn{cursor:pointer;color:var(--text-secondary);background:0 0;border:none;justify-content:center;align-items:center;width:16px;height:16px;padding:0;font-size:8px;transition:all .2s;display:inline-flex;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.group-header-row .group-name-content .collapse-btn:hover{background:#0000001a;border-radius:2px}.group-header-row .group-name-content .collapse-btn.collapsed{color:var(--text-muted)}.group-header-row .group-header-date-cell{border-bottom:1px solid var(--border-color);background:var(--border-lighter);height:24px}.schedule-grid{border-spacing:0;background:var(--bg-primary);--roster-employee-column-width:150px;--schedule-border:#e5e5e5cc;border:1px solid #e5e5e5cc;border-radius:8px;width:fit-content;min-width:0;display:table;overflow:hidden}.schedule-grid .grid-header,.schedule-grid .employee-row,.schedule-grid .group-header-row{display:table-row}.schedule-grid .employee-header,.schedule-grid .day-header,.schedule-grid .employee-name,.schedule-grid .shift-cell,.schedule-grid .group-name,.schedule-grid .group-header-date-cell{border-right:1px solid var(--schedule-border);border-bottom:1px solid var(--schedule-border);display:table-cell}.schedule-grid .employee-header,.schedule-grid .employee-name,.schedule-grid .group-name{width:150px;min-width:150px}.schedule-grid .day-header,.schedule-grid .shift-cell,.schedule-grid .group-header-date-cell{width:36px;min-width:36px}.schedule-grid .day-header{background:var(--bg-gray);vertical-align:middle;height:37.7813px;padding:6.4px 0}.schedule-grid .day-header.weekend,.schedule-grid .day-header.holiday{background:var(--bg-gray)}.schedule-grid .day-header.today{background:#d4eddacc}.schedule-grid .day-number,.schedule-grid .day-name{line-height:1;display:block}.schedule-grid .day-number{color:var(--text-primary);margin-bottom:2px;font-size:12px}.schedule-grid .day-name{color:var(--text-muted);font-size:10px}.schedule-grid .employee-header{background:var(--bg-gray)}.schedule-grid .employee-name{vertical-align:middle;height:37px;padding:0 12px}.schedule-grid .name-text{font-size:12.8px;font-weight:500;line-height:36px}.schedule-grid .shift-cell{text-align:center;vertical-align:middle;height:37px;min-height:0;font-size:11.2px}.schedule-grid .shift-cell.holiday{background:0 0}.schedule-grid .shift-cell.weekend{background:#c8c8c826}.schedule-grid .shift-cell.today-column{background:#d4edda4d}.schedule-grid .employee-row.current-user .employee-name,.schedule-grid .employee-row.current-user .shift-cell{background:#c8c8c833}.schedule-grid .employee-row.current-user .shift-cell.today-column{background:#d4edda66}.schedule-grid .group-name,.schedule-grid .group-header-date-cell{height:19.3906px}.schedule-grid .group-name-content{height:18.3906px;padding:2.4px 12px;font-size:12.8px;line-height:17.92px}.schedule-grid .group-name-content span{line-height:16px}.schedule-grid .collapse-btn{right:12px}.schedule-grid .grid-header .day-header,.schedule-grid .grid-header .day-header.weekend,.schedule-grid .grid-header .day-header.holiday{background:var(--bg-gray)}.schedule-grid .grid-header .day-header.today{background:#d4eddacc}.schedule-grid .grid-header .day-header .day-number{font-size:12px}.schedule-grid .grid-header .day-header .day-name{font-size:10px}.theme-dark .schedule-grid .grid-header .day-header.holiday{background:var(--bg-gray)}.theme-dark .schedule-grid .grid-header .day-header.today{background:#d4eddacc}.theme-dark .schedule-grid .shift-cell.holiday{background:0 0}.theme-dark .schedule-grid .employee-row.current-user .shift-cell.holiday{background:#c8c8c833}.theme-dark .schedule-grid .shift-cell.today-column{background:#d4edda4d}.theme-dark .schedule-grid .employee-row.current-user .shift-cell.today-column{background:#d4edda66}.schedule-grid .employee-row.current-user .shift-cell:not(.weekend):not(.holiday):not(.today-column):not(.violation-error):not(.violation-warning){background:#c8c8c833}.schedule-grid .collapse-btn svg{flex-shrink:0}.schedule-grid .employee-row.current-user .shift-cell.violation-error,.theme-dark .schedule-grid .employee-row.current-user .shift-cell.violation-error{background:var(--violation-error-bg)}.schedule-grid .employee-row.current-user .shift-cell.violation-warning,.theme-dark .schedule-grid .employee-row.current-user .shift-cell.violation-warning{background:var(--violation-warning-bg)}.schedule-grid-wrapper{width:fit-content;max-width:100%}.schedule-grid .employee-row .shift-cell.violation-error,.theme-dark .schedule-grid .employee-row .shift-cell.violation-error{background:var(--violation-error-bg)}.schedule-grid .employee-row .shift-cell.violation-warning,.theme-dark .schedule-grid .employee-row .shift-cell.violation-warning{background:var(--violation-warning-bg)}.schedule-grid .grid-header .day-header{padding:.4rem 0}.schedule-grid .group-header-row .group-name,.schedule-grid .group-header-row .group-header-date-cell{height:16px}.schedule-grid .group-header-row .group-name-content{height:100%;padding:.15rem .75rem;font-size:.8rem;line-height:1.4;display:block}.schedule-grid .group-header-row .group-name-content span{float:left;line-height:16px}.schedule-grid .group-header-date-cell{border-right:none}.transposed-schedule-grid-wrapper{overflow-x:auto}.transposed-schedule-grid{grid-template-columns:80px repeat(var(--content-cols,1), var(--roster-day-column-width));border:1px solid var(--border-color);border-radius:6px;min-width:100%;display:inline-grid}.grid-header-row{display:contents}.grid-header-row .date-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-color);border-right:1px solid var(--border-color);color:var(--text-secondary);z-index:11;align-items:center;padding:4px 8px;font-size:.625rem;display:flex;position:sticky;left:0}.grid-header-row .employee-col-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-color);border-right:1px solid var(--border-light);text-align:center;color:var(--text-secondary);cursor:pointer;padding:4px 2px;font-size:.625rem;overflow:hidden}.grid-header-row .employee-col-header:hover{background:var(--hover-gray)}.grid-header-row .employee-col-header.group-start{border-left:2px solid var(--border-color)}.grid-header-row .employee-col-header .emp-name-text{white-space:nowrap;text-overflow:ellipsis;writing-mode:vertical-lr;max-height:100px;font-size:10px;line-height:1.2;display:block;overflow:hidden;transform:rotate(180deg)}.grid-header-row .employee-col-header.current-user{background:var(--weekend-bg)}.grid-header-row .employee-col-header.current-user .emp-name-text{font-weight:700}.group-name-row{display:contents}.group-name-row .group-label-cell{background:var(--bg-primary);border-bottom:1px solid var(--border-color);border-right:1px solid var(--border-color);z-index:11;position:sticky;left:0}.group-name-row .group-name-cell{border-bottom:1px solid var(--border-color);border-right:1px solid var(--border-light);color:var(--text-primary);text-align:center;white-space:nowrap;text-overflow:ellipsis;background:#80808026;justify-content:center;align-items:center;height:22px;padding:2px 8px;font-size:.625rem;font-weight:600;display:flex;overflow:hidden}.day-row{display:contents}.day-row.weekend>.day-label,.day-row.weekend>.shift-cell,.day-row.weekend>.requirement-cell-vertical{background:var(--weekend-bg)}.day-row.holiday>.day-label,.day-row.holiday>.shift-cell,.day-row.holiday>.requirement-cell-vertical{background:#dbeafe66}.theme-dark .day-row.holiday>.day-label,.theme-dark .day-row.holiday>.shift-cell,.theme-dark .day-row.holiday>.requirement-cell-vertical{background:#1e40af66}.day-row.today-row>.day-label,.day-row.today-row>.shift-cell,.day-row.today-row>.requirement-cell-vertical{background:#28a74526}.theme-dark .day-row.today-row>.day-label,.theme-dark .day-row.today-row>.shift-cell,.theme-dark .day-row.today-row>.requirement-cell-vertical{background:#28a74540}.day-label{background:var(--bg-primary);z-index:10;border-right:1px solid var(--border-color);border-bottom:1px solid var(--border-color);color:var(--text-primary);justify-content:center;align-items:center;padding:4px 8px;font-size:.75rem;display:flex;position:sticky;left:0}.day-label .day-label-stacked{flex-direction:column;align-items:center;gap:1px;display:flex}.day-label .day-name{text-transform:capitalize;color:var(--text-secondary);font-size:9px}.day-label .day-number{font-size:11px;font-weight:600}.day-row.weekend>.day-label{background:var(--weekend-bg)}.day-row.holiday>.day-label{background:#dbeafe66}.theme-dark .day-row.holiday>.day-label{background:#1e40af66}.day-row.today-row>.day-label{background:#28a74526}.theme-dark .day-row.today-row>.day-label{background:#28a74540}.transposed-schedule-grid .shift-cell{border-bottom:1px solid var(--border-color);border-right:1px solid var(--border-light);cursor:pointer;justify-content:center;align-items:center;min-height:32px;font-size:14px;transition:background-color .1s;display:flex}.transposed-schedule-grid .shift-cell:hover:not(.non-interactive){background:var(--hover-gray)}.transposed-schedule-grid .shift-cell.non-interactive{cursor:default}.transposed-schedule-grid .shift-cell.violation-warning{background:var(--violation-warning-bg)}.transposed-schedule-grid .shift-cell.violation-error{background:var(--violation-error-bg)}.transposed-schedule-grid .shift-cell .shift-proposal{opacity:.5}.transposed-schedule-grid .shift-cell .shift-request{opacity:.4;font-style:italic}.transposed-schedule-grid .shift-cell.selected{-webkit-user-select:none;user-select:none;position:relative;box-shadow:inset 0 2px #007bff,inset 0 -2px #007bff,inset 2px 0 #007bff,inset -2px 0 #007bff;background:#007bff26!important}.transposed-schedule-grid .shift-cell.selected.has-selected-above{box-shadow:inset 0 -2px #007bff,inset 2px 0 #007bff,inset -2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-below{box-shadow:inset 0 2px #007bff,inset 2px 0 #007bff,inset -2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-left{box-shadow:inset 0 2px #007bff,inset 0 -2px #007bff,inset -2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-right{box-shadow:inset 0 2px #007bff,inset 0 -2px #007bff,inset 2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-above.has-selected-below{box-shadow:inset 2px 0 #007bff,inset -2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-left.has-selected-right{box-shadow:inset 0 2px #007bff,inset 0 -2px #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-above.has-selected-left{box-shadow:inset 0 -2px #007bff,inset -2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-above.has-selected-right{box-shadow:inset 0 -2px #007bff,inset 2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-below.has-selected-left{box-shadow:inset 0 2px #007bff,inset -2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-below.has-selected-right{box-shadow:inset 0 2px #007bff,inset 2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-above.has-selected-below.has-selected-left{box-shadow:inset -2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-above.has-selected-below.has-selected-right{box-shadow:inset 2px 0 #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-above.has-selected-left.has-selected-right{box-shadow:inset 0 -2px #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-below.has-selected-left.has-selected-right{box-shadow:inset 0 2px #007bff}.transposed-schedule-grid .shift-cell.selected.has-selected-above.has-selected-below.has-selected-left.has-selected-right{box-shadow:none}.grid-header-row .requirement-col-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-color);border-right:1px solid var(--border-light);border-left:1px solid var(--border-color);text-align:center;color:var(--text-secondary);padding:4px 2px;font-size:.625rem;overflow:hidden}.grid-header-row .requirement-col-header .req-name-text{white-space:nowrap;text-overflow:ellipsis;writing-mode:vertical-lr;max-height:100px;font-size:10px;line-height:1.2;display:block;overflow:hidden;transform:rotate(180deg)}.grid-header-row .requirement-col-header:first-of-type{border-left:2px solid var(--border-color)}.requirement-cell-vertical{border-bottom:1px solid var(--border-color);border-right:1px solid var(--border-light);justify-content:center;align-items:center;min-height:32px;display:flex}.requirement-cell-vertical:first-of-type{border-left:2px solid var(--border-color)}.requirement-input-vertical{text-align:center;width:100%;height:100%;color:var(--text-primary);-moz-appearance:textfield;background:0 0;border:none;padding:2px;font-size:.75rem}.requirement-input-vertical::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.requirement-input-vertical::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.requirement-input-vertical:focus{background:var(--bg-secondary);outline:none}.transposed-schedule-grid{--vertical-day-width:35px;--vertical-requirement-width:35px;--vertical-group-width:20px;background:var(--bg-primary);border-color:#e5e5e5cc;border-radius:8px;width:fit-content;min-width:0}.transposed-schedule-grid .date-header,.transposed-schedule-grid .employee-col-header,.transposed-schedule-grid .requirement-col-header{background:var(--bg-gray);border-color:#e5e5e5cc;height:120px;padding:0}.transposed-schedule-grid .employee-col-header{color:var(--text-primary);justify-content:center;align-items:center;display:flex}.transposed-schedule-grid .emp-name-text{max-height:none;padding-top:10px;font-size:11.2px;line-height:11.2px}.transposed-schedule-grid .employee-col-header.current-user{background:#c8c8c833}.transposed-schedule-grid .vertical-group-header{border-bottom:1px solid #e5e5e5cc;border-right:1px solid #e5e5e5cc;justify-content:center;align-items:flex-end;padding-bottom:10px;display:flex}.transposed-schedule-grid .vertical-group-header span{writing-mode:vertical-lr;color:var(--text-secondary);font-size:10px;font-weight:600;transform:rotate(180deg)}.transposed-schedule-grid .vertical-group-spacer{border-bottom:1px solid #e5e5e5cc;border-right:1px solid #e5e5e5cc}.transposed-schedule-grid .vertical-requirements-spacer{background:var(--bg-primary)}.transposed-schedule-grid .day-label,.transposed-schedule-grid .shift-cell,.transposed-schedule-grid .requirement-cell-vertical{border-color:#e5e5e5cc;height:35px;min-height:0}.transposed-schedule-grid .day-label{padding:3.2px}.transposed-schedule-grid .day-number{margin-bottom:2px;font-size:11.2px;line-height:11.2px}.transposed-schedule-grid .day-name{color:var(--text-muted);font-size:8px;line-height:8px}.transposed-schedule-grid .day-label-stacked{gap:0}.transposed-schedule-grid .shift-cell.group-start{border-left:0}.transposed-schedule-grid .shift-cell.current-user{background:#c8c8c833}.transposed-schedule-grid .day-row.holiday>.day-label,.transposed-schedule-grid .day-row.holiday>.shift-cell,.transposed-schedule-grid .day-row.holiday>.requirement-cell-vertical{background:0 0}.transposed-schedule-grid .day-row.weekend>.day-label,.transposed-schedule-grid .day-row.weekend>.shift-cell{background:#c8c8c826}.transposed-schedule-grid .day-row.today-row>.day-label,.transposed-schedule-grid .day-row.today-row>.shift-cell{background:#d4eddacc}.transposed-schedule-grid .day-row>.shift-cell.current-user{background:#c8c8c833}.transposed-schedule-grid .req-name-text{writing-mode:vertical-lr;color:var(--text-primary);font-size:11.2px;font-weight:600;transform:none}.transposed-schedule-grid .requirement-col-header{background:var(--bg-primary);justify-content:center;align-items:center;display:flex}@media (width<=768px){.transposed-schedule-grid{--vertical-day-width:40px;--vertical-group-width:0px;--vertical-requirement-width:35px}.transposed-schedule-grid .vertical-group-header,.transposed-schedule-grid .vertical-group-spacer{visibility:hidden;border:0;width:0;min-width:0;padding:0;overflow:hidden}.transposed-schedule-grid .day-label,.transposed-schedule-grid .shift-cell,.transposed-schedule-grid .requirement-cell-vertical{height:40px}.transposed-schedule-grid .day-number{margin-bottom:1px;font-size:12.8px;line-height:12.8px}.transposed-schedule-grid .day-name{font-size:8.8px;line-height:8.8px}}.transposed-schedule-grid .shift-cell.current-user:not(.violation-error):not(.violation-warning){background:#c8c8c833}.theme-dark .transposed-schedule-grid .day-row.holiday>.day-label,.theme-dark .transposed-schedule-grid .day-row.holiday>.shift-cell,.theme-dark .transposed-schedule-grid .day-row.holiday>.requirement-cell-vertical{background:0 0}.theme-dark .transposed-schedule-grid .day-row.today-row>.day-label,.theme-dark .transposed-schedule-grid .day-row.today-row>.shift-cell{background:#d4eddacc}.theme-dark .transposed-schedule-grid .day-row>.shift-cell.current-user{background:#c8c8c833}.transposed-schedule-grid .grid-header-row .employee-col-header .emp-name-text{justify-content:flex-start;align-items:center;width:100%;height:100%;max-height:none;font-size:11.2px;line-height:11.2px;display:flex}.transposed-schedule-grid .vertical-group-header{background:#00000014;padding:0;position:relative}.transposed-schedule-grid .vertical-group-header span{writing-mode:horizontal-tb;transform-origin:0 0;white-space:nowrap;width:100px;font-size:11.2px;line-height:15.68px;position:absolute;bottom:-7px;left:3px;transform:rotate(-90deg)}.transposed-schedule-grid .shift-cell{font-size:11.2px}.transposed-schedule-grid .employee-col-header.last-employee,.transposed-schedule-grid .shift-cell.last-employee{border-right-width:0}.transposed-schedule-grid .day-row .shift-cell.violation-error,.theme-dark .transposed-schedule-grid .day-row .shift-cell.violation-error{background:var(--violation-error-bg)}.transposed-schedule-grid .day-row .shift-cell.violation-warning,.theme-dark .transposed-schedule-grid .day-row .shift-cell.violation-warning{background:var(--violation-warning-bg)}.transposed-schedule-grid-wrapper{width:fit-content;max-width:100%}.transposed-schedule-grid .vertical-group-header span{font-size:.7rem;line-height:1.4}.transposed-schedule-grid{--vertical-requirements-spacer-width:25px}.transposed-schedule-grid .vertical-requirements-spacer{background:0 0;border-left:1px solid #e5e5e5cc;border-right:1px solid #e5e5e5cc}.transposed-schedule-grid .grid-header-row .requirement-col-header{background:var(--bg-gray);writing-mode:vertical-lr;border:0;border-top:1px solid #e5e5e5cc;border-left:1px solid #e5e5e5cc;height:119px;box-shadow:0 1px #e5e5e5cc}.transposed-schedule-grid .grid-header-row .requirement-col-header .req-name-text{writing-mode:vertical-lr;max-height:none;font-size:11.2px;line-height:1.4;transform:none}.transposed-schedule-grid .day-row>.requirement-cell-vertical{background:var(--bg-primary)}.transposed-schedule-grid .day-row.weekend>.requirement-cell-vertical{background:#c8c8c826}.transposed-schedule-grid .day-row.today-row>.requirement-cell-vertical{background:#d4edda33}.shift-modal-backdrop{z-index:1000;position:fixed;inset:0}.shift-modal{z-index:1001;animation:.15s fadeIn;position:fixed}@keyframes fadeIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.tooltip-content{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:6px;padding:12px;position:relative;box-shadow:0 4px 12px #00000026}.tooltip-arrow{pointer-events:none;width:0;height:0;position:absolute}.tooltip-arrow:before,.tooltip-arrow:after{content:"";border-left:8px solid #0000;border-right:8px solid #0000;width:0;height:0;position:absolute}.arrow-bottom .tooltip-arrow{bottom:-8px;transform:translate(-50%)}.arrow-bottom .tooltip-arrow:before{border-top:8px solid var(--border-color);border-bottom:none;bottom:0;left:-8px}.arrow-bottom .tooltip-arrow:after{border-top:7px solid var(--bg-primary);border-bottom:none;bottom:1px;left:-8px}.arrow-top .tooltip-arrow{top:-8px;transform:translate(-50%)}.arrow-top .tooltip-arrow:before{border-bottom:8px solid var(--border-color);border-top:none;top:0;left:-8px}.arrow-top .tooltip-arrow:after{border-bottom:7px solid var(--bg-primary);border-top:none;top:1px;left:-8px}.arrow-left .tooltip-arrow{left:20%}.arrow-center .tooltip-arrow{left:50%}.arrow-right .tooltip-arrow{left:80%}.shift-type-grid{grid-template-columns:repeat(6,1fr);gap:8px;margin-bottom:8px;display:grid}.shift-type-btn{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;transition:all .15s;display:flex}.shift-type-btn:hover{background:var(--bg-secondary)}.shift-type-btn.active{background:#007bff1a}.shift-icon-box{border-radius:4px;justify-content:center;align-items:center;width:26px;height:26px;display:flex}.shift-icon-box ion-icon,.shift-icon-box span{justify-content:center;align-items:center;display:flex}.action-grid{border-top:1px solid var(--border-color);grid-template-columns:repeat(4,1fr);gap:8px;padding-top:8px;display:grid}.action-btn{cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;height:32px;font-size:16px;transition:all .15s;display:flex}.action-btn:disabled{opacity:.4;cursor:not-allowed}.action-btn--delete{color:#dc2626}.action-btn--delete:hover:not(:disabled){background:#dc26261a}.action-btn--copy{color:#0277bd}.action-btn--copy:hover:not(:disabled){background:#0277bd1a}.action-btn--paste{color:#2e7d2e}.action-btn--paste:hover:not(:disabled){background:#2e7d2e1a}.shift-request-details{overflow-wrap:anywhere;min-width:min(250px,100vw - 42px);max-width:min(350px,100vw - 42px);max-height:calc(100vh - 66px);margin:0;padding:0;overflow-y:auto}.shift-request-details .request-item{background:0 0;border:none;margin:0;padding:8px}.shift-request-details .request-info{flex-direction:column;gap:6px;display:flex}.shift-request-details .request-details{flex-direction:column;gap:4px;display:flex}.shift-request-details .shift-type-info{align-items:center;gap:8px;font-size:.9em;font-weight:600;display:flex}.shift-request-details .shift-type-info .shift-type-name{color:var(--text-primary)}.shift-request-details .request-meta{color:var(--text-secondary);flex-direction:column;gap:2px;font-size:.8em;display:flex}.shift-request-details .request-meta div{line-height:1.3}.shift-request-details .request-meta .review-info{border-radius:4px;margin-top:4px;padding:4px 6px;font-size:.85em;font-weight:500}.shift-request-details .request-meta .review-info.approved{color:#10b981;background-color:#10b9811a;border:1px solid #10b9814d}.shift-request-details .request-meta .review-info.declined{color:#ef4444;background-color:#ef44441a;border:1px solid #ef44444d}.shift-request-details .request-meta .review-info .decline-reason{opacity:.8;margin-top:2px;font-style:italic}.shift-request-details .request-actions .bulk-info,.bulk-recovery.request-actions .bulk-info{flex-basis:100%}.shift-request-details .request-actions .bulk-info .related-count,.bulk-recovery.request-actions .bulk-info .related-count{color:var(--text-secondary);font-size:.7em;font-style:italic}.shift-request-details .request-actions,.bulk-recovery.request-actions{flex-wrap:wrap;gap:8px;width:100%;margin-top:6px;display:flex}.shift-request-details .request-actions .btn,.bulk-recovery.request-actions .btn{cursor:pointer;border:none;border-radius:4px;flex:1;padding:6px 12px;font-size:.8em;font-weight:500}.shift-request-details .request-actions .btn:disabled,.bulk-recovery.request-actions .btn:disabled{opacity:.6;cursor:not-allowed}.shift-request-details .request-actions .btn.btn-success,.bulk-recovery.request-actions .btn.btn-success{color:#fff;background:#10b981}.shift-request-details .request-actions .btn.btn-success:hover:not(:disabled),.bulk-recovery.request-actions .btn.btn-success:hover:not(:disabled){background:#059669}.shift-request-details .request-actions .btn.btn-success-bulk,.bulk-recovery.request-actions .btn.btn-success-bulk{color:#fff;background:#059669;border:2px solid #10b981}.shift-request-details .request-actions .btn.btn-success-bulk:hover:not(:disabled),.bulk-recovery.request-actions .btn.btn-success-bulk:hover:not(:disabled){background:#047857;border-color:#059669}.shift-request-details .request-actions .btn.btn-danger,.bulk-recovery.request-actions .btn.btn-danger{color:#fff;background:#ef4444}.shift-request-details .request-actions .btn.btn-danger:hover:not(:disabled),.bulk-recovery.request-actions .btn.btn-danger:hover:not(:disabled){background:#dc2626}.decline-modal-overlay{z-index:10000;background:#000000bf;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.decline-modal-content{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:6px;flex-direction:column;width:90%;max-width:280px;max-height:90vh;display:flex;overflow-y:auto;box-shadow:0 10px 25px #0003}@media (width<=768px){.decline-modal-content{width:95%;max-height:calc(100vh - 40px);margin:20px}}.decline-modal-header{border-bottom:1px solid var(--border-color);background:var(--bg-primary);justify-content:space-between;align-items:center;padding:8px 12px 6px;display:flex}.decline-modal-header h3{color:var(--text-primary);margin:0;font-size:.85em;font-weight:600}.decline-modal-header .close-button{cursor:pointer;color:var(--text-secondary);background:0 0;border:none;padding:2px;font-size:18px;line-height:1}.decline-modal-header .close-button:hover{color:var(--text-primary)}.decline-modal-body{background:var(--bg-primary);flex:1;padding:8px 12px;overflow-y:auto}.decline-modal-body .request-info{background:var(--bg-secondary);border-left:2px solid #ef4444;border-radius:4px;margin-bottom:12px;padding:8px}.decline-modal-body .request-info .request-summary{color:var(--text-primary);font-size:.8em}.decline-modal-body .form-group{margin-bottom:12px}.decline-modal-body .form-group label{color:var(--text-primary);margin-bottom:6px;font-size:.8em;font-weight:500;display:block}.decline-modal-body .form-group .form-control{border:1px solid var(--border-color);background:var(--bg-primary);width:100%;color:var(--text-primary);resize:vertical;box-sizing:border-box;border-radius:4px;min-height:60px;padding:6px 8px;font-family:inherit;font-size:.8em}.decline-modal-body .form-group .form-control:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 2px #3b82f61a}.decline-modal-body .form-group .form-control::placeholder{color:var(--text-secondary)}.decline-modal-body .form-group .text-muted{color:var(--text-secondary);margin-top:3px;font-size:.7em}.decline-modal-footer{border-top:1px solid var(--border-color);background:var(--bg-primary);justify-content:flex-end;gap:6px;padding:8px 12px 10px;display:flex}.decline-modal-footer .btn{cursor:pointer;border:none;border-radius:4px;align-items:center;gap:4px;padding:6px 10px;font-size:.75em;font-weight:500;transition:all .2s;display:flex}.decline-modal-footer .btn:disabled{opacity:.6;cursor:not-allowed}.decline-modal-footer .btn.btn-secondary{color:#1f2937;background:#f8fafc;border:1px solid #d1d5db}.decline-modal-footer .btn.btn-secondary:hover:not(:disabled){background:#f1f5f9}.decline-modal-footer .btn.btn-danger{color:#fff;background:#ef4444}.decline-modal-footer .btn.btn-danger:hover:not(:disabled){background:#dc2626}.decline-modal-footer .btn .spinner{border:2px solid #0000;border-top-color:currentColor;border-radius:50%;width:12px;height:12px;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.bulk-recovery p{color:var(--text-secondary);flex-basis:100%;margin:0;font-size:.8em}.shift-request-details .shift-type-name{font-weight:600}.shift-request-details .request-actions .btn{justify-content:center;align-items:center;gap:4px;display:flex}.user-detail-dialog{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:16px;flex-direction:column;width:90%;max-width:432px;max-height:90vh;display:flex;overflow:hidden;box-shadow:0 10px 40px #00000026}.user-detail-dialog .modal-header{justify-content:flex-start;gap:0;padding:24px}.user-detail-dialog .profile-avatar{color:#fff;background:#007bff;border-radius:50%;flex:0 0 48px;place-items:center;width:48px;height:48px;font-size:18px;font-weight:600;display:grid;overflow:hidden}.user-detail-dialog .profile-avatar img{object-fit:cover;width:100%;height:100%}.user-detail-dialog .profile-info{flex:1;min-width:0}.user-detail-dialog .profile-info h3{margin:0;font-size:19.2px;line-height:1.2}.user-detail-dialog .job-title{color:var(--text-secondary);margin:0}.user-detail-dialog .close-btn{width:28px;height:28px;margin-left:auto;font-size:20px}.user-detail-dialog .modal-body{padding:24px}.user-detail-dialog .detail-row{border-bottom:1px solid var(--border-color);justify-content:space-between;gap:12px;padding:9px 12px;font-size:14px;display:flex}.user-detail-dialog .detail-row:last-child{border-bottom:0}.user-detail-dialog .detail-row span{color:var(--text-secondary)}.user-detail-dialog .detail-row strong{text-align:right;overflow-wrap:anywhere;font-weight:400}.user-detail-dialog .detail-row strong.active{color:#16a34a;font-weight:600}.user-detail-dialog .detail-row strong.ended{color:#dc3545;font-weight:600}.user-detail-dialog .statistics{margin-top:20px}.user-detail-dialog .statistics h4{margin:0 0 16px;padding:0 4px;font-size:16px}.user-detail-dialog .stat-row{justify-content:space-between;align-items:center;gap:10px;padding:8px 4px;display:flex}.user-detail-dialog .stat-info{align-items:center;gap:8px;min-width:0;font-size:13px;display:flex}.user-detail-dialog .stat-counts{white-space:nowrap;color:var(--text-secondary);gap:14px;font-size:12px;display:flex}.user-detail-dialog .stat-counts b{color:#007bff;margin-right:4px}.user-detail-dialog .no-shifts{text-align:center;color:var(--text-secondary);background:var(--bg-secondary);border-radius:4px;padding:16px}@media (width<=480px){.user-detail-dialog{width:85.5%}.user-detail-dialog .modal-header,.user-detail-dialog .modal-body{padding:16px}.user-detail-dialog .stat-counts{flex-direction:column;gap:2px}}.user-detail-placement{width:min(480px,95vw)}.user-detail-placement .user-detail-dialog{border-color:var(--border-light);width:90%}.user-detail-placement .user-detail-dialog .modal-header,.user-detail-placement .user-detail-dialog .modal-body{padding:24px}.user-detail-placement .user-detail-dialog .profile-info h3{margin-bottom:2px;font-size:19.2px;line-height:23.04px}.user-detail-placement .user-detail-dialog .job-title{margin-bottom:2px;font-size:14.4px;font-weight:500;line-height:21.6px}.user-detail-placement .user-detail-dialog .details-compact{background:var(--border-light);border-radius:4px;flex-direction:column;gap:1px;display:flex;overflow:hidden}.user-detail-placement .user-detail-dialog .detail-row{background:var(--bg-primary);border:0;align-items:center;padding:8px 12px}.user-detail-placement .user-detail-dialog .detail-row span{color:var(--text-muted);font-size:13.6px}.user-detail-placement .user-detail-dialog .detail-row strong{font-size:14.4px;font-weight:500;line-height:20.16px}.user-detail-placement .user-detail-dialog .detail-row strong.active{color:#28a745;font-weight:600}.user-detail-placement .user-detail-dialog .detail-row strong.ended{color:var(--text-muted)}.user-detail-placement .user-detail-dialog .statistics{margin-top:16px}.user-detail-placement .user-detail-dialog .statistics h4{margin-bottom:12px}.user-detail-placement .user-detail-dialog .stat-row{padding:8px 12px;font-size:14px}.user-detail-placement .user-detail-dialog .stat-info{font-size:13.6px;font-weight:500}.user-detail-placement .user-detail-dialog .stat-counts{align-items:center;gap:12px}.user-detail-placement .user-detail-dialog .stat-counts>span{color:var(--text-muted);align-items:baseline;gap:4px;font-size:12px;display:flex}.user-detail-placement .user-detail-dialog .stat-counts b{text-align:center;min-width:20px;margin:0;font-size:14.4px;font-weight:600}@media (width<=480px){.user-detail-placement .user-detail-dialog .stat-counts{align-items:flex-end;gap:2px}.user-detail-placement .user-detail-dialog .stat-counts>span{gap:6px;font-size:11.2px}.user-detail-placement .user-detail-dialog .stat-counts b{min-width:18px;font-size:13.6px}}.modal-overlay.user-detail-overlay{background:#00000052}.user-detail-dialog .close-btn{border:0;flex-shrink:0}.user-detail-dialog .close-btn:not(:focus-visible){outline:none}.user-detail-dialog .close-btn:focus-visible{outline-offset:2px;outline:2px solid #007bff}.sheet-settings .settings-section{margin-bottom:2rem}.sheet-settings .settings-section:last-child{margin-bottom:0}.sheet-settings .settings-section h3{color:var(--text-primary);border-bottom:1px solid var(--border-light);margin:0 0 1rem;padding-bottom:.5rem;font-size:1.25rem;font-weight:600}.sheet-settings .settings-section .section-description{color:var(--text-secondary);margin:0 0 1rem;font-size:.875rem}.sheet-settings .form-group{margin-bottom:1rem}.sheet-settings .form-group label{color:var(--text-primary);margin-bottom:.5rem;font-size:.875rem;font-weight:500;display:block}.sheet-settings .form-group .sheet-name-input{border:1px solid var(--border-color);border-radius:6px;width:100%;padding:.75rem;font-size:.875rem;transition:border-color .2s}.sheet-settings .form-group .sheet-name-input:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 2px #007bff40}.sheet-settings .form-group .error-message{color:#dc3545;margin-top:.25rem;font-size:.75rem}.sheet-settings .groups-list{margin-bottom:1rem}.sheet-settings .group-item{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:6px;margin-bottom:1rem}.sheet-settings .group-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-light);border-radius:6px 6px 0 0;justify-content:space-between;align-items:center;padding:.75rem 1rem;display:flex}.sheet-settings .group-header .group-name{color:var(--text-primary);font-weight:600}.sheet-settings .group-header .group-actions{gap:.25rem;display:flex}.sheet-settings .group-users{border-radius:0 0 6px 6px;min-height:2rem;padding:.75rem}.sheet-settings .user-item{background:var(--bg-tertiary);cursor:move;border-radius:4px;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding:.5rem;transition:background-color .2s;display:flex}.sheet-settings .user-item:hover{background:var(--border-light)}.sheet-settings .user-item:last-child{margin-bottom:0}.sheet-settings .user-item .user-name{color:var(--text-primary);font-size:.875rem}.sheet-settings .user-item .user-actions{gap:.25rem;display:flex}.sheet-settings .add-user-to-group{border-top:1px solid var(--border-light);gap:.5rem;margin-top:.75rem;padding-top:.75rem;display:flex}.sheet-settings .add-user-to-group .user-select{border:1px solid var(--border-color);background:var(--bg-primary);border-radius:4px;flex:1;padding:.5rem;font-size:.875rem}.sheet-settings .add-user-to-group .user-select:focus{border-color:#007bff;outline:none}.sheet-settings .add-user-to-group .add-user-btn{color:#fff;cursor:pointer;background:#28a745;border:none;border-radius:4px;padding:.5rem 1rem;font-size:.875rem;transition:background-color .2s}.sheet-settings .add-user-to-group .add-user-btn:hover:not(:disabled){background:#218838}.sheet-settings .add-user-to-group .add-user-btn:disabled{opacity:.5;cursor:not-allowed}.sheet-settings .create-group{background:var(--bg-secondary);border:1px dashed var(--border-color);border-radius:6px;gap:.5rem;padding:1rem;display:flex}.sheet-settings .create-group input{border:1px solid var(--border-color);border-radius:4px;flex:1;padding:.5rem;font-size:.875rem}.sheet-settings .create-group input:focus{border-color:#007bff;outline:none}.sheet-settings .create-group button{color:#fff;cursor:pointer;background:#007bff;border:none;border-radius:4px;padding:.5rem 1rem;font-size:.875rem;transition:background-color .2s}.sheet-settings .create-group button:hover:not(:disabled){background:#0056b3}.sheet-settings .create-group button:disabled{opacity:.5;cursor:not-allowed}.sheet-settings .move-btn,.sheet-settings .delete-btn,.sheet-settings .remove-btn{border:1px solid var(--border-color);background:var(--bg-primary);color:var(--text-secondary);cursor:pointer;border-radius:4px;padding:.25rem .5rem;font-size:.75rem;line-height:1;transition:all .2s}.sheet-settings .move-btn:hover:not(:disabled),.sheet-settings .delete-btn:hover:not(:disabled),.sheet-settings .remove-btn:hover:not(:disabled){background:var(--bg-secondary);border-color:var(--border-hover);color:var(--text-primary)}.sheet-settings .move-btn:disabled,.sheet-settings .delete-btn:disabled,.sheet-settings .remove-btn:disabled{opacity:.5;cursor:not-allowed}.sheet-settings .delete-btn:hover:not(:disabled),.sheet-settings .remove-btn:hover:not(:disabled){color:#dc3545;background:#fef2f2cc;border-color:#dc3545}.sheet-settings .dialog-footer,.sheet-settings .modal-footer{border-top:1px solid var(--border-light);background:var(--bg-tertiary);border-radius:0 0 8px 8px;justify-content:flex-end;align-items:center;gap:.75rem;padding:1rem 1.5rem;display:flex}.sheet-settings .dialog-footer .secondary-btn,.sheet-settings .dialog-footer .primary-btn,.sheet-settings .modal-footer .secondary-btn,.sheet-settings .modal-footer .primary-btn{cursor:pointer;border:1px solid;border-radius:6px;padding:.75rem 1.5rem;font-size:.875rem;font-weight:500;transition:all .2s}.sheet-settings .dialog-footer .secondary-btn,.sheet-settings .modal-footer .secondary-btn{background:var(--bg-primary);color:var(--text-secondary);border-color:var(--border-color)}.sheet-settings .dialog-footer .secondary-btn:hover,.sheet-settings .modal-footer .secondary-btn:hover{background:var(--bg-secondary);color:var(--text-primary);border-color:var(--border-hover)}.sheet-settings .dialog-footer .primary-btn,.sheet-settings .modal-footer .primary-btn{color:#fff;background:#007bff;border-color:#007bff}.sheet-settings .dialog-footer .primary-btn:hover:not(:disabled),.sheet-settings .modal-footer .primary-btn:hover:not(:disabled){background:#0056b3;border-color:#0056b3}.sheet-settings .dialog-footer .primary-btn:disabled,.sheet-settings .modal-footer .primary-btn:disabled{opacity:.5;cursor:not-allowed}.sheet-settings fieldset{border:0;min-width:0;margin:0;padding:0}.sheet-settings .modal-content{max-width:1200px}.sheet-settings .user-select,.sheet-settings .create-group input{min-width:0;color:var(--text-primary);background:var(--bg-primary)}.sheet-settings .error-message{color:#dc3545}.sheet-settings .modal-body .settings-section{background:0 0;border:0;border-radius:0;padding:0}.sheet-settings .group-users .user-item{background:0 0;border:0;margin-bottom:4px;padding:8px 12px}.sheet-settings .user-name{font-weight:600;line-height:1.2}.sheet-settings .rules-selection-list .rule-selection-item{border:1px solid var(--border-color);cursor:pointer;background:var(--bg-primary);border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:.5rem;padding:1rem;transition:all .2s;display:flex}.sheet-settings .rules-selection-list .rule-selection-item:hover{background:var(--bg-secondary);border-color:#007bff}.sheet-settings .rules-selection-list .rule-selection-item .rule-icon{color:var(--text-secondary);align-items:center;margin-right:.75rem;display:flex}.sheet-settings .rules-selection-list .rule-selection-item .rule-info{flex:1}.sheet-settings .rules-selection-list .rule-selection-item .rule-info .rule-header{align-items:center;gap:.5rem;margin-bottom:.25rem;display:flex}.sheet-settings .rules-selection-list .rule-selection-item .rule-info .rule-header .rule-name{color:var(--text-primary);font-weight:600}.sheet-settings .rules-selection-list .rule-selection-item .rule-info .rule-header .severity-badge{text-transform:uppercase;border-radius:4px;padding:.125rem .5rem;font-size:.75rem;font-weight:600}.sheet-settings .rules-selection-list .rule-selection-item .rule-info .rule-header .severity-badge.severity-error{color:#dc3545;background:#dc35451a}.sheet-settings .rules-selection-list .rule-selection-item .rule-info .rule-header .severity-badge.severity-warning{color:#ffc107;background:#ffc1071a}.sheet-settings .rules-selection-list .rule-selection-item .rule-info .rule-details{color:var(--text-secondary);margin-bottom:.25rem;font-size:.875rem}.sheet-settings .rules-selection-list .rule-selection-item .rule-info .rule-description{color:var(--text-secondary);opacity:.7;font-size:.8rem;font-style:italic}.sheet-settings .rules-selection-list .rule-selection-item .checkbox-container{margin-left:1rem}.sheet-settings .requirement-display-config{border-top:1px solid var(--border-light);margin-top:1.5rem;padding-top:1.5rem}.sheet-settings .requirement-display-config h4{color:var(--text-primary);margin:0 0 .5rem;font-size:1rem;font-weight:600}.sheet-settings .requirement-display-config .config-description{color:var(--text-secondary);margin:0 0 1rem;font-size:.8rem}.sheet-settings .requirement-display-config .shift-selection-list{flex-direction:column;gap:.5rem;display:flex}.sheet-settings .requirement-display-config .shift-selection-list .shift-selection-item{border:1px solid var(--border-light);cursor:pointer;border-radius:6px;align-items:center;gap:.75rem;padding:.5rem .75rem;transition:all .2s;display:flex}.sheet-settings .requirement-display-config .shift-selection-list .shift-selection-item:hover{background:var(--bg-secondary)}.sheet-settings .requirement-display-config .shift-selection-list .shift-selection-item .shift-name{color:var(--text-primary);flex:1;font-size:.875rem}.sheet-settings .requirement-display-config .shift-selection-list .shift-selection-item .checkbox-container{margin-left:auto}.sheet-settings .rule-selection-item input[type=checkbox],.sheet-settings .shift-selection-item input[type=checkbox]{appearance:auto;flex:0 0 16px;width:16px;height:16px;margin:0 0 0 1rem}.sheet-settings .rules-selection-list .rule-info{overflow-wrap:anywhere;min-width:0;display:block}.sheet-settings .rule-header{flex-wrap:wrap}.sheet-settings .roster-settings-list{flex-direction:column;gap:.75rem;display:flex}.sheet-settings .sheet-shift-item{border:1px solid var(--border-color);cursor:move;background:0 0;border-radius:8px;align-items:center;gap:12px;padding:12px 16px;display:flex;position:relative}.sheet-settings .sheet-shift-item.dragging{opacity:.5}.sheet-settings .sheet-shift-item.drop-target{border-top:2px solid #007bff}.sheet-settings .sheet-shift-item .drag-handle{color:var(--text-secondary)}.sheet-settings .sheet-shift-item .sheet-shift-icon{border-radius:6px;padding:8px;font-size:24px}.sheet-settings .sheet-shift-item .shift-name{overflow-wrap:anywhere;flex:1;min-width:0;font-size:1rem;font-weight:600;line-height:1.3}.sheet-settings .sheet-shift-item input[type=checkbox]{appearance:auto;flex:0 0 18px;width:18px;height:18px;margin:0}.sheet-settings>.modal-content>.modal-header h2{font-size:24px}.roster-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;display:flex}.sheet-title{color:var(--text-primary);font-size:1.25rem}.roster-controls{align-items:center;gap:.5rem;display:flex}.current-month{color:var(--text-primary);text-align:center;min-width:140px;font-size:14px;font-weight:500}.loading-state,.sheet-not-found{text-align:center;color:var(--text-secondary);padding:4rem}.sheet-not-found p{margin-bottom:1rem}.empty-state-message{text-align:center;color:var(--text-secondary);padding:2rem}.requirement-save-errors{color:var(--text-primary);border:1px solid #ef4444;flex-wrap:wrap;gap:8px;margin-bottom:8px;padding:8px;display:flex}.requirement-save-errors button{color:inherit;background:var(--bg-secondary);border:1px solid var(--border-color);cursor:pointer}.has-mobile-group-tabs{padding-top:48px}.mobile-group-tabs-top{z-index:90;background:var(--bg-gray);border-bottom:1px solid var(--border-color);display:flex;position:fixed;top:60px;left:0;right:0;overflow-x:auto}.mobile-group-tabs-top .group-tab-button{min-width:100px;color:var(--text-secondary);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;flex:1;padding:.75rem;font-size:1rem;font-weight:500}.mobile-group-tabs-top .group-tab-button.active{color:#007bff;background:#007bff1a;border-bottom-color:#007bff}.mobile-nav-bar{background:var(--bg-gray);border-radius:4px;justify-content:space-between;align-items:center;width:fit-content;min-width:300px;margin-bottom:.25rem;padding:.5rem .75rem;display:flex}.mobile-roster-controls{display:contents}.mobile-nav-btn{background:var(--bg-primary);width:48px;height:48px;color:var(--text-primary);cursor:pointer;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;transition:all .2s;display:flex;box-shadow:0 1px 2px #0000001a}.mobile-nav-btn:hover{background:var(--bg-tertiary);transform:translateY(-1px);box-shadow:0 2px 4px #00000026}.mobile-nav-btn:active{transform:translateY(0);box-shadow:0 1px 2px #0000001a}.mobile-nav-btn ion-icon{font-size:1.5rem}.mobile-current-month{text-align:center;color:var(--text-primary);flex:0 0 160px;padding:0 .75rem;font-size:1.125rem;font-weight:600}.roster-sheet-tools{justify-content:flex-end;margin-bottom:4px;display:flex}[data-testid=roster-container]{padding:4px}[data-testid=roster-container] .roster-header{flex-wrap:nowrap;height:40px;margin-bottom:16px}[data-testid=roster-container] .sheet-title{font-size:18px;font-weight:600;line-height:25.2px}[data-testid=roster-container] .roster-controls{height:40px}@media (width<=768px){[data-testid=roster-container]{flex-direction:column;align-items:center;padding:20px 2px 2px;display:flex}[data-testid=roster-container] .roster-sheet-tools{margin:0;position:absolute;top:110px;right:8px}[data-testid=roster-container] .mobile-nav-bar{margin-bottom:4px}}.sheet-settings-title{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0}.sheet-settings-title:focus-visible{outline-offset:2px;outline:2px solid #007bff}@media (width<=768px){[data-testid=roster-container] .mobile-nav-bar{margin-bottom:8px}}.current-month{font-weight:600}.roster-controls .nav-btn.decline-btn{color:#fff;background:#dc3545;border-color:#dc3545}.roster-controls .nav-btn.decline-btn:hover:not(:disabled){background:#c82333;border-color:#c82333}.theme-dark .mobile-group-tabs-top{background:var(--bg-primary)}.modal-overlay.holiday-overlay{background:#00000052}.modal-content[data-testid=holiday-modal-content]{border:1px solid var(--border-light);border-radius:16px;max-width:450px;overflow:hidden;box-shadow:0 10px 40px #00000026}.modal-content[data-testid=holiday-modal-content] .modal-header{border-color:var(--border-light);background:var(--bg-primary);padding:24px}.modal-content[data-testid=holiday-modal-content] .modal-header h3{color:var(--text-primary);margin:0;font-size:1.25rem;font-weight:600}.modal-content[data-testid=holiday-modal-content] .modal-header .close-btn{color:var(--text-muted);border:none;border-radius:6px;width:28px;height:28px;margin-left:auto;padding:8px;font-size:20px}.modal-content[data-testid=holiday-modal-content] .modal-header .close-btn ion-icon{flex-shrink:0}.modal-content[data-testid=holiday-modal-content] .modal-header .close-btn:hover{background:var(--bg-secondary);color:var(--text-primary)}.modal-content[data-testid=holiday-modal-content] .modal-body{max-height:60vh;padding:24px}.modal-content[data-testid=holiday-modal-content] .form-group{margin-bottom:20px}.modal-content[data-testid=holiday-modal-content] .form-group:last-child{margin-bottom:0}.modal-content[data-testid=holiday-modal-content] .form-group label{color:var(--text-primary);margin-bottom:8px;font-size:14px;font-weight:500;display:block}.modal-content[data-testid=holiday-modal-content] .form-group input{border:1px solid var(--border-light);background:var(--bg-primary);width:100%;color:var(--text-primary);box-sizing:border-box;border-radius:8px;padding:12px 16px;font-size:14px;transition:all .2s}.modal-content[data-testid=holiday-modal-content] .form-group input:focus{border-color:#007bff;outline:none;box-shadow:0 0 0 3px #007bff1a}.modal-content[data-testid=holiday-modal-content] .form-group input:hover{border-color:var(--border-hover)}.modal-content[data-testid=holiday-modal-content] .form-group input::placeholder{color:var(--text-muted)}.modal-content[data-testid=holiday-modal-content] .modal-actions{background:var(--bg-secondary);border-color:var(--border-light);flex-shrink:0;justify-content:space-between;align-items:center;margin-top:0;padding:20px 24px}.modal-content[data-testid=holiday-modal-content] .modal-actions .btn{border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 20px;font-size:14px;font-weight:500;display:flex}.modal-content[data-testid=holiday-modal-content] .modal-actions .btn-primary{color:#fff;background:#007bff}.modal-content[data-testid=holiday-modal-content] .modal-actions .btn-primary:hover:not(:disabled){background:#0056b3;transform:translateY(-1px)}.modal-content[data-testid=holiday-modal-content] .modal-actions .btn-primary:disabled{background:var(--bg-muted);color:var(--text-muted);cursor:not-allowed;transform:none}.modal-content[data-testid=holiday-modal-content] .modal-actions .btn-secondary{background:var(--bg-secondary);color:var(--text-secondary);border:1px solid var(--border-light)}.modal-content[data-testid=holiday-modal-content] .modal-actions .btn-secondary:hover{background:var(--bg-hover);border-color:var(--border-hover)}.modal-content[data-testid=holiday-modal-content] .modal-actions .btn-danger{color:#fff;background:#dc3545;min-height:38px}.modal-content[data-testid=holiday-modal-content] .modal-actions .btn-danger:hover:not(:disabled){background:#c82333;transform:translateY(-1px)}.modal-content[data-testid=holiday-modal-content] .modal-actions .btn-danger ion-icon{width:18px;font-size:16px}.modal-content[data-testid=holiday-modal-content] .holiday-delete-actions,.modal-content[data-testid=holiday-modal-content] .holiday-save-actions{gap:12px;display:flex}@media (width<=768px){.modal-content[data-testid=holiday-modal-content]{width:min(475px,90.25vw);max-width:475px}.modal-content[data-testid=holiday-modal-content] .modal-header,.modal-content[data-testid=holiday-modal-content] .modal-body,.modal-content[data-testid=holiday-modal-content] .modal-actions{padding:20px}.modal-content[data-testid=holiday-modal-content] .modal-actions{flex-direction:column;align-items:stretch;gap:16px}.modal-content[data-testid=holiday-modal-content] .holiday-delete-actions,.modal-content[data-testid=holiday-modal-content] .holiday-save-actions{justify-content:center}}.modal-overlay.shift-config-overlay{background:#00000052}.shift-config-pane{width:600px;max-width:95vw}.shift-config-dialog{border:1px solid var(--border-light);border-radius:16px;width:90%;overflow:hidden}.shift-config-dialog .modal-header{background:var(--bg-primary);padding:24px}.shift-config-dialog .modal-header h3{font-size:1.25rem}.shift-config-dialog .modal-body{max-height:60vh;padding:24px}.shift-config-dialog .close-btn{border:none;width:28px;height:28px;margin-left:auto;padding:8px;font-size:20px}.shift-config-dialog .dialog-footer{background:var(--bg-secondary);gap:12px;margin-top:0;padding:20px 24px}.shift-config-dialog .emoji-grid{border:2px solid var(--border-color);border-radius:12px;padding:16px;overflow:hidden}.shift-config-dialog .emoji-grid .emoji-option{background:var(--bg-gray);cursor:pointer;float:left;border:none;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;margin:2px;font-size:18px;transition:background-color .2s;display:flex}.shift-config-dialog .emoji-grid .emoji-option:hover{background:var(--border-lighter)}.shift-config-dialog .emoji-grid .emoji-option.selected{color:#fff;background:#007bff}.shift-config-dialog .color-palette-compact{border:2px solid var(--border-color);border-radius:12px;flex-wrap:wrap;gap:6px;padding:12px;display:flex}.shift-config-dialog .color-palette-compact .color-option{cursor:pointer;opacity:.9;border:3px solid #0000;border-radius:8px;width:32px;height:32px;transition:all .2s;position:relative}.shift-config-dialog .color-palette-compact .color-option:hover{opacity:1;border-color:#ffffffe6;transform:translateY(-2px)scale(1.05)}.shift-config-dialog .color-palette-compact .color-option.selected{opacity:1}.shift-config-dialog .color-palette-compact .color-option.selected:after{content:"✓";color:#fff;text-shadow:0 1px 3px #000c;font-size:14px;font-weight:700;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.shift-config-dialog .color-palette-compact .color-option[style*="rgba(0, 0, 0, 0)"]{border:2px solid var(--border-color)!important;background:0 0!important}.shift-config-dialog .color-palette-compact .color-option[style*="rgba(0, 0, 0, 0)"].selected:after{color:var(--text-primary);text-shadow:none}.shift-config-dialog .color-palette-compact .color-option[style*="rgba(0, 0, 0, 0)"]:hover{border-color:var(--border-hover)!important}.shift-config-dialog .time-blocks .time-block-row{align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.shift-config-dialog .time-blocks .time-block-row .time-inputs{align-items:center;gap:.5rem;display:flex}.shift-config-dialog .time-blocks .time-block-row .time-inputs input[type=time]{border:1px solid var(--border-color);border-radius:4px;padding:.5rem;font-size:.875rem}.shift-config-dialog .time-blocks .time-block-row .time-inputs .time-separator{color:var(--text-secondary);font-size:.875rem}.shift-config-dialog .time-blocks .time-block-row .time-inputs .next-day-indicator{color:#fff;background:#007bff;border-radius:10px;margin-left:4px;padding:2px 6px;font-size:.75rem;font-weight:600}.shift-config-dialog .time-blocks .time-block-row .remove-time-btn{color:#fff;cursor:pointer;background:#dc3545;border:none;border-radius:50%;justify-content:center;align-items:center;width:24px;height:24px;font-size:16px;font-weight:700;display:flex}.shift-config-dialog .time-blocks .time-block-row .remove-time-btn:hover{background:#dc3545}.shift-config-dialog .time-blocks .add-time-btn{color:#fff;cursor:pointer;background:#007bff;border:none;border-radius:4px;padding:.5rem 1rem;font-size:.875rem}.shift-config-dialog .time-blocks .add-time-btn:hover{background:#007bff}[data-testid=rule-modal-content] .field-help{color:var(--text-secondary);margin-top:4px;font-size:.8rem;font-style:italic}.modal-content[data-testid=rule-modal-content] .modal-header h3{font-size:24px;font-weight:600;line-height:1.4}.modal-content[data-testid=rule-modal-content] .modal-header .close-btn{all:revert;box-sizing:border-box;flex-shrink:0;width:22px;height:25px;padding:0;font-family:inherit;font-weight:400}.modal-content[data-testid=rule-modal-content] .modal-header .close-btn ion-icon{vertical-align:middle}.modal-content[data-testid=rule-modal-content] .form-group{margin-bottom:20px}.modal-content[data-testid=rule-modal-content] .form-group label{color:var(--text-primary);margin-bottom:6px;font-size:.9rem;font-weight:500}.modal-content[data-testid=rule-modal-content] .form-group input,.modal-content[data-testid=rule-modal-content] .form-group select,.modal-content[data-testid=rule-modal-content] .form-group textarea{background:var(--bg-primary);color:var(--text-primary);border-color:var(--border-color);border-radius:8px;padding:12px 14px;font-size:.9rem}.modal-content[data-testid=rule-modal-content] .form-group input:focus,.modal-content[data-testid=rule-modal-content] .form-group select:focus,.modal-content[data-testid=rule-modal-content] .form-group textarea:focus{box-shadow:0 0 0 3px #007bff1a}.modal-content[data-testid=rule-modal-content] .form-group textarea{resize:vertical;min-height:60px}.modal-content[data-testid=rule-modal-content] .form-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;display:grid}.modal-content[data-testid=rule-modal-content] .form-row .form-group{margin-bottom:20px}.modal-content[data-testid=rule-modal-content] .constraint-group{background:var(--bg-secondary);border:1px solid var(--border-light);border-radius:8px;margin-bottom:20px;padding:16px}.modal-content[data-testid=rule-modal-content] .constraint-group .form-group:last-child{margin-bottom:0}@media (width<=768px){.modal-content[data-testid=rule-modal-content] .form-row{grid-template-columns:minmax(0,1fr);gap:12px}}.modal-content[data-testid=rule-modal-content] .modal-actions{background:0 0;border:0;flex-shrink:0;margin:0;padding:0;display:block}.modal-content[data-testid=rule-modal-content] .modal-actions .rule-footer-actions,.modal-content[data-testid=rule-modal-content] .modal-actions .rule-primary-actions{display:block}.modal-content[data-testid=rule-modal-content] .modal-actions .rule-delete-icon{justify-content:center;align-items:center;display:inline-flex}.modal-content[data-testid=rule-modal-content] .modal-actions .btn{all:revert;box-sizing:border-box;padding:0;font-family:inherit;font-weight:400}.modal-content[data-testid=rule-modal-content] .modal-actions .btn ion-icon{vertical-align:middle;font-size:18px}.modal-content[data-testid=rule-modal-content] .form-group input:invalid{border-color:#ef4444}.modal-overlay.scheduling-rule-overlay{background:#00000052}.user-photo-editor{flex-direction:column;align-items:center;gap:8px;display:flex}.user-photo-editor .profile-avatar{cursor:pointer;border:0;border-radius:50%;width:48px;height:48px;padding:0;position:relative;overflow:hidden}.user-photo-editor .profile-avatar img{object-fit:cover;width:100%;height:100%}.user-photo-editor .camera-icon{opacity:0;background:#0008;justify-content:center;align-items:center;transition:opacity .2s;display:flex;position:absolute;inset:0}.user-photo-editor .profile-avatar:hover .camera-icon,.user-photo-editor .profile-avatar:focus-visible .camera-icon{opacity:1}[data-testid=user-modal-content]>.modal-header h3{font-size:20px}[data-testid=user-modal-content]>.modal-header .close-btn{width:28px;height:28px;color:var(--text-muted);padding:8px;font-size:20px}[data-testid=user-modal-content] .modal-header{padding:24px}[data-testid=user-modal-content] .modal-body{max-height:60vh;padding:24px}[data-testid=user-modal-content] .form-row{gap:16px;margin-bottom:0}[data-testid=user-modal-content] .user-photo-editor{align-items:flex-start}[data-testid=user-modal-content] .end-date-display{color:var(--text-secondary);margin-top:8px;font-size:12px;display:block}[data-testid=user-modal-content] .user-modal-actions{background:var(--bg-secondary);margin-top:0;padding:20px 24px}[data-testid=user-modal-content] .user-photo-editor>label{align-self:flex-start}[data-testid=user-modal-content] .user-photo-editor .profile-avatar{color:#fff;background:#007bff;align-self:center;font-size:18px;font-weight:600}[data-testid=user-modal-content] .user-photo-editor>small{color:var(--text-muted);align-self:center;font-size:12px}[data-testid=user-modal-content] .user-modal-actions .btn-secondary,[data-testid=user-modal-content] .user-modal-actions .btn-danger{background:#efefef}[data-testid=user-modal-content] .user-modal-actions .btn-danger{color:#dc3545}[data-testid=user-modal-content] .user-modal-actions .btn-secondary{white-space:nowrap;flex-shrink:0}[data-testid=user-modal-content] .user-modal-actions{align-items:center}.user-dialog-placement{width:min(700px,95vw)}.user-dialog-placement [data-testid=user-modal-content]{width:90%}[data-testid=user-modal-content]{border:1px solid var(--border-light)}[data-testid=user-modal-content] .form-row{margin-bottom:20px}[data-testid=user-modal-content] .form-row .form-group{margin-bottom:0}[data-testid=user-modal-content] .user-photo-editor{gap:0}[data-testid=user-modal-content] .user-photo-editor .profile-avatar{margin-bottom:12px}[data-testid=user-modal-content] .user-photo-editor>span{color:var(--text-muted);align-self:center;font-size:12px;line-height:16.8px}[data-testid=user-modal-content] .user-photo-editor>button:not(.profile-avatar){margin-top:8px}[data-testid=user-modal-content] #role{border-color:var(--border-light);appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");background-position:right 12px center;background-repeat:no-repeat;background-size:16px;border-radius:8px;padding:12px 40px 12px 16px}[data-testid=user-modal-content] .end-date-display{background:var(--bg-secondary);color:var(--text-muted);border-radius:4px;padding:4px 8px}[data-testid=user-modal-content] .end-date-display strong{color:#28a745;font-weight:600}[data-testid=user-modal-content] .user-modal-actions .btn-secondary{color:var(--text-secondary)}.modal-overlay.user-editor-overlay{background:#00000052}[data-testid=user-modal-content]>.modal-header .close-btn{border:0;flex-shrink:0}[data-testid=user-modal-content]>.modal-header .close-btn:not(:focus-visible){outline:none}[data-testid=user-modal-content]>.modal-header .close-btn:focus-visible{outline-offset:2px;outline:2px solid #007bff}.modal-content[data-testid=user-modal-content]{border-radius:16px;overflow:hidden}.company-settings>.error-message{color:#dc2626;background-color:#fee2e2;border:1px solid #fca5a5;border-radius:.5rem;margin:1rem 0;padding:1rem}.company-settings>.error-message .error-content{align-items:center;font-weight:500;display:flex}.company-settings>.error-message .error-content span{font-size:.875rem}.company-settings.page-container{margin:0 auto}.company-settings>.page-header{background:var(--bg-primary);border:1px solid var(--border-light);border-radius:16px;margin-bottom:28px;padding:28px;position:relative;box-shadow:0 2px 16px #00000014}.company-settings>.page-header:before{content:"";background:#007bff;border-radius:16px 16px 0 0;height:3px;position:absolute;top:0;left:0;right:0}.company-settings>.page-header h2{overflow-wrap:anywhere;color:var(--text-primary);letter-spacing:-.025em;margin:0;font-size:1.75rem;font-weight:600}.company-settings>.page-content{background:var(--bg-primary);border:1px solid var(--border-light);border-radius:16px;margin-bottom:24px;padding:28px;transition:box-shadow .2s;box-shadow:0 2px 12px #0000000f}.company-settings>.page-content:hover{box-shadow:0 4px 20px #00000014}.company-settings>.page-content>.settings-section{margin-bottom:32px}.company-settings>.page-content>.settings-section h3{overflow-wrap:anywhere;color:var(--text-primary);margin-bottom:20px;padding-left:12px;font-size:1.25rem;font-weight:600;position:relative}.company-settings>.page-content>.settings-section h3:before{content:"";background:#007bff;border-radius:2px;width:3px;height:20px;position:absolute;top:50%;left:0;transform:translateY(-50%)}.company-settings>.page-content>.settings-section>.section-header{border-bottom:1px solid var(--border-light);justify-content:space-between;align-items:center;margin-bottom:1.5rem;padding-bottom:12px;display:flex}.company-settings>.page-content>.settings-section>.section-header h3{min-width:0;margin:0}.shift-type-item,.user-item,.scheduling-rule-item,.holiday-item,.sheet-item{border:1px solid var(--border-color);cursor:pointer;border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:8px;padding:10px 12px;transition:background-color .2s;display:flex}.shift-type-item:hover,.user-item:hover,.scheduling-rule-item:hover,.holiday-item:hover,.sheet-item:hover{background:var(--bg-secondary)}.shift-type-info{align-items:center;gap:10px;display:flex}.shift-type-icon{justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.shift-type-name{font-weight:500}.company-settings .shift-type-item{cursor:move}.company-settings .shift-type-item.dragging{opacity:.5}.company-settings .shift-type-item.drop-target{background:#007bff0d;border-top:2px solid #007bff}.company-settings .shift-type-item[aria-busy=true]{cursor:wait}.company-settings .shift-type-item .shift-drag-handle{color:var(--text-secondary)}.rule-info{align-items:center;gap:10px;display:flex}.severity-badge{text-transform:uppercase;letter-spacing:.5px;border-radius:10px;padding:2px 8px;font-size:11px;font-weight:600;display:inline-block}.severity-error{color:#dc3545;background-color:#dc354526}.severity-warning{color:#e67e00;background-color:#ff980026}.severity-info{color:#007bff;background-color:#007bff26}.item-meta{color:var(--text-secondary);font-size:12px}.item-actions{gap:8px;display:flex}.edit-btn,.delete-btn{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:4px 8px;font-size:12px;transition:all .2s}.edit-btn{color:#007bff}.edit-btn:hover{background:#007bff1a}.delete-btn{color:#dc3545}.delete-btn:hover{background:#dc35451a}.empty-state{color:var(--text-muted);text-align:center;padding:1rem}.company-settings .logo-section{flex-wrap:wrap;gap:24px;display:flex}.company-settings .logo-mode-container{flex:1;min-width:280px}.company-settings .logo-mode-header{margin-bottom:12px}.company-settings .logo-mode-title{color:var(--text-secondary);font-size:14px;font-weight:500}.company-settings .logo-upload-container{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.company-settings .logo-preview{border:2px solid var(--border-color);border-radius:8px;justify-content:center;align-items:center;width:120px;height:80px;padding:8px;display:flex;overflow:hidden}.company-settings .logo-preview img{object-fit:contain;max-width:100%;max-height:100%}.company-settings .logo-preview.light-preview{background:#fff}.company-settings .logo-preview.dark-preview{background:#1a1a1a}.company-settings .upload-logo-btn,.company-settings .remove-logo-btn{border:1px solid var(--border-color);background:var(--bg-primary);color:var(--text-primary);cursor:pointer;border-radius:8px;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.company-settings .upload-logo-btn:hover,.company-settings .remove-logo-btn:hover{background:var(--bg-secondary);border-color:var(--border-hover)}.company-settings .upload-logo-btn ion-icon,.company-settings .remove-logo-btn ion-icon{font-size:18px}.company-settings .remove-logo-btn{color:#dc3545;border-color:#dc3545}.company-settings .remove-logo-btn:hover{background:#dc35451a;border-color:#dc3545}.company-settings .user-item{background:var(--bg-primary);border-radius:12px;gap:16px;padding:16px}.company-settings .user-item>ion-icon:first-child{color:var(--text-secondary);font-size:1.25rem}.company-settings .user-item>ion-icon:last-child{color:var(--text-muted);opacity:.6;font-size:1rem}.company-settings .user-item .user-info{flex-direction:column;flex:1;gap:4px;display:flex}.company-settings .user-item .user-name{color:var(--text-primary);font-size:15px;font-weight:600}.company-settings .user-item .user-details{color:var(--text-secondary);font-size:13px}.company-settings .user-item .user-status{color:var(--text-muted);font-size:12px;font-style:italic}.company-settings .user-item:hover{border-color:var(--border-hover);transform:translateY(-1px);box-shadow:0 4px 16px #0000000f}.company-settings .user-item:hover>ion-icon:last-child{opacity:1}.company-settings>.page-content>.settings-section>.form-group{margin-bottom:20px}.company-settings>.page-content>.settings-section>.form-group>label{color:var(--text-primary);margin-bottom:10px;font-size:15px;font-weight:500;display:block}.company-settings>.page-content>.settings-section>.form-group>input,.company-settings>.page-content>.settings-section>.form-group>select{border:1px solid var(--border-color);box-sizing:border-box;background:var(--bg-primary);width:100%;color:var(--text-primary);border-radius:8px;padding:14px 16px;font-family:inherit;font-size:15px;transition:all .2s}.company-settings>.page-content>.settings-section>.form-group>input:focus,.company-settings>.page-content>.settings-section>.form-group>select:focus{border-color:#007bff;outline:none;transform:translateY(-1px);box-shadow:0 0 0 3px #007bff1a}.company-settings>.page-content>.settings-section>.form-group>input:hover,.company-settings>.page-content>.settings-section>.form-group>select:hover{border-color:var(--border-hover)}.company-settings>.page-content>.settings-section>.form-group>input::placeholder,.company-settings>.page-content>.settings-section>.form-group>select::placeholder{color:var(--text-muted)}.company-settings>.page-content>.settings-section>.save-button-group{justify-content:flex-end;margin-top:24px;margin-bottom:0;display:flex}.company-settings>.page-content>.settings-section>.save-button-group .save-company-btn{color:#fff;cursor:pointer;background:#007bff;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.company-settings>.page-content>.settings-section>.save-button-group .save-company-btn ion-icon{width:18px;height:18px;font-size:18px}.company-settings>.page-content>.settings-section>.save-button-group .save-company-btn:hover:not(:disabled){background:#0056b3;transform:translateY(-1px)}.company-settings>.page-content>.settings-section>.save-button-group .save-company-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.company-settings .cache-actions .cache-action-item{background:var(--bg-secondary);border:1px solid var(--border-light);border-radius:12px;justify-content:space-between;align-items:center;margin-bottom:16px;padding:20px;transition:all .2s;display:flex}.company-settings .cache-actions .cache-action-item:hover{background:var(--bg-tertiary);border-color:var(--border-medium)}.company-settings .cache-actions .cache-action-item .cache-info{flex:1;margin-right:20px}.company-settings .cache-actions .cache-action-item .cache-info .cache-title{color:var(--text-primary);margin-bottom:6px;font-size:16px;font-weight:600}.company-settings .cache-actions .cache-action-item .cache-info .cache-description{color:var(--text-secondary);font-size:14px;line-height:1.4}.company-settings .cache-actions .cache-action-item .clear-cache-btn{color:#6c757d;cursor:pointer;background:#f8f9fa;border:none;border-radius:8px;flex-shrink:0;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.company-settings .cache-actions .cache-action-item .clear-cache-btn:hover{color:#495057;background:#e9ecef;transform:translateY(-1px)}.company-settings .cache-actions .cache-action-item .clear-cache-btn:active{transform:translateY(0)}.company-settings .cache-actions .cache-action-item .clear-cache-btn ion-icon{width:18px;height:18px;font-size:18px}.company-settings .cache-actions .cache-info{overflow-wrap:anywhere;min-width:0}.company-settings .cache-actions .clear-cache-btn:disabled{opacity:.6;cursor:default}.company-settings .cache-actions .clear-cache-btn:disabled:hover{transform:none}@media (width<=480px){.company-settings .cache-actions .cache-action-item{flex-direction:column;align-items:flex-start;gap:16px}.company-settings .cache-actions .cache-action-item .cache-info{margin-right:0}}.company-settings>.page-content>.settings-section>.section-header .add-holiday-btn,.company-settings>.page-content>.settings-section>.section-header .add-shift-btn,.company-settings>.page-content>.settings-section>.section-header .add-sheet-btn,.company-settings>.page-content>.settings-section>.section-header .add-rule-btn,.company-settings>.page-content>.settings-section>.section-header .add-user-btn{color:#fff;cursor:pointer;background:#007bff;border:0;border-radius:8px;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:500;display:flex}.company-settings>.page-content>.settings-section>.section-header .add-holiday-btn:hover:not(:disabled),.company-settings>.page-content>.settings-section>.section-header .add-shift-btn:hover:not(:disabled),.company-settings>.page-content>.settings-section>.section-header .add-sheet-btn:hover:not(:disabled),.company-settings>.page-content>.settings-section>.section-header .add-rule-btn:hover:not(:disabled),.company-settings>.page-content>.settings-section>.section-header .add-user-btn:hover:not(:disabled){background:#0056b3;transform:translateY(-1px)}.company-settings>.page-content>.settings-section>.section-header .add-holiday-btn:disabled,.company-settings>.page-content>.settings-section>.section-header .add-shift-btn:disabled,.company-settings>.page-content>.settings-section>.section-header .add-sheet-btn:disabled,.company-settings>.page-content>.settings-section>.section-header .add-rule-btn:disabled,.company-settings>.page-content>.settings-section>.section-header .add-user-btn:disabled{opacity:.6;cursor:not-allowed}.company-settings .holidays-list{flex-direction:column;gap:12px;display:flex}.company-settings .holiday-item{background:var(--bg-secondary);border:1px solid var(--border-light);cursor:default;border-radius:8px;margin-bottom:0;padding:16px}.company-settings .holiday-item:hover{background:var(--bg-hover);border-color:var(--border-hover)}.company-settings .holiday-info{flex:1;min-width:0}.company-settings .holiday-name{color:var(--text-primary);margin-bottom:4px;font-size:16px;font-weight:600}.company-settings .holiday-date{color:var(--text-secondary);font-size:14px}.company-settings .holiday-actions{gap:8px;display:flex}.company-settings .holiday-actions .edit-btn,.company-settings .holiday-actions .delete-btn{background:var(--bg-secondary);color:var(--text-secondary);border:0;border-radius:6px;justify-content:center;align-items:center;padding:8px;display:flex}.company-settings .holiday-actions .edit-btn ion-icon,.company-settings .holiday-actions .delete-btn ion-icon{font-size:16px}.company-settings .holiday-actions .edit-btn:hover{color:#fff;background:#007bff}.company-settings .holiday-actions .delete-btn:hover{color:#fff;background:#dc3545}.company-settings .no-holidays{text-align:center;color:var(--text-muted);padding:48px 24px}.company-settings .no-holidays p{margin:0 0 8px}.company-settings .no-holidays p:last-child{margin-bottom:0}.company-settings .sheet-item{background:var(--bg-primary);border-radius:12px;gap:16px;padding:16px}.company-settings .sheet-item>ion-icon:first-child{color:var(--text-secondary);font-size:20px}.company-settings .sheet-item>ion-icon:last-child{color:var(--text-muted);opacity:.6;font-size:16px}.company-settings .sheet-item .config-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.company-settings .sheet-item .config-name{color:var(--text-primary);font-size:15px;font-weight:600}.company-settings .sheet-item .config-details{color:var(--text-secondary);font-size:13px}.company-settings .scheduling-rules-list{flex-direction:column;gap:12px;display:flex}.company-settings .scheduling-rules-list .empty-state{padding:32px;font-size:14px}.company-settings .shift-types-simple-list{flex-direction:column;gap:8px;display:flex}.company-settings .shift-type-item{border:0;border-radius:8px;margin:0;padding:4px}.company-settings .shift-list-row{border:1px solid var(--border-color);border-radius:8px;flex:1;align-items:center;gap:12px;padding:12px 16px;display:flex}.company-settings .shift-drag-handle{margin-right:4px;padding:8px;display:flex}.company-settings .shift-drag-handle svg{opacity:.6}.company-settings .shift-type-icon{width:auto;height:auto}.company-settings .shift-type-info{flex-direction:column;flex:1;align-items:flex-start;gap:4px;min-width:0;display:flex}.company-settings .shift-type-name{font-size:16px;font-weight:600;line-height:1.3}.company-settings .shift-type-hours{color:var(--text-secondary);font-size:14px;line-height:1.2}.company-settings .chevron-right{color:var(--text-muted)}.company-settings>.page-content>.settings-section>.section-header .add-holiday-btn,.company-settings>.page-content>.settings-section>.section-header .add-shift-btn,.company-settings>.page-content>.settings-section>.section-header .add-sheet-btn,.company-settings>.page-content>.settings-section>.section-header .add-rule-btn,.company-settings>.page-content>.settings-section>.section-header .add-user-btn{border:0}.company-settings>.page-content>.settings-section>.section-header .add-holiday-btn ion-icon,.company-settings>.page-content>.settings-section>.section-header .add-shift-btn ion-icon,.company-settings>.page-content>.settings-section>.section-header .add-sheet-btn ion-icon,.company-settings>.page-content>.settings-section>.section-header .add-rule-btn ion-icon,.company-settings>.page-content>.settings-section>.section-header .add-user-btn ion-icon{font-size:18px}.header{background:var(--bg-primary);border-bottom:1px solid var(--border-color);z-index:100;justify-content:space-between;align-items:center;height:64px;padding:0 2rem;transition:background-color .3s,border-color .3s;display:flex;position:sticky;top:0}.nav-brand{align-items:center;gap:.5rem;display:flex}.logo{color:var(--text-primary);font-size:1.5rem}.brand-name{color:var(--text-primary);font-size:1.25rem;font-weight:600}.nav-menu{gap:2rem;display:flex}.nav-right{align-items:center;gap:1rem;display:flex}.user-menu-container{position:relative}.user-avatar{background:var(--border-color);width:32px;height:32px;color:var(--text-secondary);cursor:pointer;border:none;border-radius:50%;justify-content:center;align-items:center;transition:all .2s;display:flex}.user-avatar:hover,.user-avatar.menu-open{background:var(--bg-secondary)}.user-menu{background:var(--bg-primary);border:1px solid var(--border-color);z-index:200;border-radius:8px;min-width:200px;animation:.2s slideDown;position:absolute;top:calc(100% + 8px);right:0;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.menu-item{text-align:left;width:100%;color:var(--text-primary);cursor:pointer;background:0 0;border:none;padding:12px 16px;font-size:14px;transition:background-color .2s;display:block}.menu-item:hover:not(.user-email){background:var(--hover-gray)}.menu-item.theme-toggle,.menu-item.settings-item,.menu-item.roster-item,.menu-item.request-shift-item,.menu-item.language-selector,.menu-item.calendar-subscription{align-items:center;gap:.75rem;display:flex}.menu-item.theme-toggle ion-icon,.menu-item.settings-item ion-icon,.menu-item.roster-item ion-icon,.menu-item.request-shift-item ion-icon,.menu-item.language-selector ion-icon,.menu-item.calendar-subscription ion-icon{color:var(--text-primary);font-size:1.2rem}.menu-item.user-email{color:var(--text-secondary);cursor:default;font-size:13px}.menu-divider{background:var(--border-color);height:1px;margin:4px 0}.logo-image{object-fit:contain;width:auto;max-width:120px;height:40px}@media (width<=768px){.header{padding-left:max(16px, env(safe-area-inset-left));padding-right:max(16px, env(safe-area-inset-right))}}.user-menu{width:max-content}.user-menu .calendar-subscription>span{white-space:nowrap}.modal-content.shift-request-panel{border-radius:8px;max-width:1200px;overflow:hidden}.modal-content.shift-request-panel .modal-header h2{margin:0;font-size:24px}.modal-content.shift-request-panel .request-close{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;font-size:20px}.modal-content.shift-request-panel .modal-body{padding:20px}.modal-content.shift-request-panel .form-group{margin-bottom:24px}.modal-content.shift-request-panel .form-group label{margin-bottom:8px;font-weight:600;display:block}.modal-content.shift-request-panel .required{color:#dc3545}.modal-content.shift-request-panel .form-group input,.modal-content.shift-request-panel .form-group select,.modal-content.shift-request-panel .form-group textarea{border:1px solid var(--border-color);background:var(--bg-primary);width:100%;color:var(--text-primary);border-radius:4px;padding:8px 12px;font-size:16px}.modal-content.shift-request-panel .form-group textarea{resize:vertical;min-height:80px}.modal-content.shift-request-panel .request-notes-count{color:var(--text-secondary);margin-top:6px;display:block}.modal-content.shift-request-panel .request-date-preview{background:var(--bg-secondary);border-radius:8px;margin-bottom:24px;padding:16px}.modal-content.shift-request-panel .request-date-preview h4{margin:0 0 8px;font-size:16px}.modal-content.shift-request-panel .modal-actions{border:0;justify-content:flex-start;gap:0;margin-top:24px;padding:0}.modal-content.shift-request-panel .modal-actions .btn{border-radius:5px}@media (width<=620px){.modal-content.shift-request-panel .modal-header,.modal-content.shift-request-panel .modal-body{padding:16px}}.modal-content.shift-request-panel .modal-header{padding:16px 20px}.modal-content.shift-request-panel .request-close{color:#000;background:#efefef;border:2px outset buttonborder;font-size:13.3333px;line-height:normal}.modal-content.shift-request-panel .request-notes-count{margin-top:4px;font-size:14px}.modal-content.shift-request-panel .modal-actions .btn-secondary{color:#64748b;background:#efefef}@media (width<=620px){.modal-content.shift-request-panel .modal-body{padding:20px}}.modal-content.shift-request-panel .request-notes-count{display:inline}.modal-content.shift-request-panel .modal-actions .btn-secondary{color:var(--text-secondary)}.modal-content.calendar-subscription-panel{border-radius:12px;width:90%;max-width:600px;overflow:hidden;box-shadow:0 10px 25px #0003}.modal-content.calendar-subscription-panel .modal-header{padding:24px}.modal-content.calendar-subscription-panel .modal-header h2{margin:0;font-size:24px;font-weight:600}.modal-content.calendar-subscription-panel .modal-body{padding:24px}.modal-content.calendar-subscription-panel .calendar-close{color:var(--text-secondary);cursor:pointer;background:0 0;border:0;font-size:20px}.modal-content.calendar-subscription-panel .calendar-message{text-align:center;padding:32px 0}.modal-content.calendar-subscription-panel .calendar-error{color:#dc3545}.modal-content.calendar-subscription-panel .calendar-error button,.modal-content.calendar-subscription-panel .calendar-url-row button{color:#fff;cursor:pointer;background:#007bff;border:0;border-radius:6px;padding:8px 16px}.modal-content.calendar-subscription-panel .calendar-error button{margin-top:16px}.modal-content.calendar-subscription-panel .calendar-description{color:var(--text-secondary);margin:0 0 24px;line-height:1.6}.modal-content.calendar-subscription-panel .calendar-options{gap:16px;margin-bottom:32px;display:flex}.modal-content.calendar-subscription-panel .calendar-option{text-align:left;border:2px solid var(--border-color);min-width:0;color:var(--text-primary);background:var(--bg-primary);cursor:pointer;border-radius:8px;flex:1;align-items:center;gap:16px;padding:16px;display:flex}.modal-content.calendar-subscription-panel .calendar-option:hover{background:var(--bg-secondary);border-color:#007bff}.modal-content.calendar-subscription-panel .calendar-option-icon{font-size:32px}.modal-content.calendar-subscription-panel .calendar-option strong,.modal-content.calendar-subscription-panel .calendar-option small{display:block}.modal-content.calendar-subscription-panel .calendar-option small{color:var(--text-secondary);margin-top:4px;font-size:14px}.modal-content.calendar-subscription-panel .calendar-manual{background:var(--bg-secondary);border-radius:8px;margin-bottom:32px;padding:16px}.modal-content.calendar-subscription-panel .calendar-manual h3,.modal-content.calendar-subscription-panel .calendar-info h3{margin:0 0 8px;font-size:16px}.modal-content.calendar-subscription-panel .calendar-manual p{color:var(--text-secondary);margin:0 0 16px;font-size:14px}.modal-content.calendar-subscription-panel .calendar-manual label{margin:0 0 8px;font-size:14px;font-weight:500;display:block}.modal-content.calendar-subscription-panel .calendar-url-row{gap:8px;margin:0 0 16px;display:flex}.modal-content.calendar-subscription-panel .calendar-url-row input{border:1px solid var(--border-color);min-width:0;color:var(--text-primary);background:var(--bg-primary);border-radius:4px;flex:1;padding:8px;font:13px monospace}.modal-content.calendar-subscription-panel .calendar-info{border-top:1px solid var(--border-color);margin-top:24px;padding-top:24px}.modal-content.calendar-subscription-panel .calendar-info ul{color:var(--text-secondary);margin:16px 0;padding-left:24px;font-size:14px;line-height:1.8}@media (width<=620px){.modal-content.calendar-subscription-panel .calendar-options{flex-direction:column}}.modal-content.calendar-subscription-panel .calendar-close{border-radius:6px;justify-content:center;align-items:center;width:34px;height:34px;padding:8px;display:flex}.modal-content.calendar-subscription-panel .calendar-close ion-icon{font-size:18px}.modal-content.calendar-subscription-panel .calendar-url-row button{white-space:nowrap;border-radius:4px;align-items:center;gap:8px;font-size:14.4px;display:flex}.modal-content.calendar-subscription-panel .calendar-url-row button ion-icon{font-size:18px}.modal-content.calendar-subscription-panel .calendar-url-row input{font-size:13.6px}.modal-content.calendar-subscription-panel .calendar-manual p,.modal-content.calendar-subscription-panel .calendar-manual label,.modal-content.calendar-subscription-panel .calendar-option small{font-size:14.4px}@media (width<=768px){.modal-content.calendar-subscription-panel .calendar-url-row{flex-direction:column}.modal-content.calendar-subscription-panel .calendar-url-row input{width:100%}.modal-content.calendar-subscription-panel .calendar-url-row button{justify-content:center}}.modal-content.calendar-subscription-panel .calendar-info{margin-top:0}.modal-content.calendar-subscription-panel .calendar-info+.calendar-info{margin-top:24px}.modal-content.calendar-subscription-panel .calendar-info h3{margin-bottom:16px}.modal-content.calendar-subscription-panel .calendar-info ul{margin:0;line-height:1.4}.modal-content.calendar-subscription-panel .calendar-info li{margin-bottom:8px;line-height:1.4}.modal-content.calendar-subscription-panel .calendar-close{height:37px}.modal-content.calendar-subscription-panel .calendar-option{color:#000}.modal-content.calendar-subscription-panel .calendar-option strong{color:var(--text-primary);font-weight:600}.modal-content.calendar-subscription-panel .calendar-manual p{line-height:1.5}.modal-content.calendar-subscription-panel .calendar-url-row:last-child{margin-bottom:16px}.modal-overlay.calendar-subscription-overlay{background:#00000080}.time-tracking{max-width:720px;margin:2rem auto;padding:0 1rem}.timer-card,.entry,.comparison,.comparison-card{background:var(--bg-secondary,#fff);border:1px solid var(--border-color,#e5e7eb);border-radius:14px;padding:1.5rem}.timer-card{text-align:center}.timer{font-size:3rem;font-weight:700}.timer-card button{color:#fff;background:#16a34a;border:0;border-radius:8px;margin-top:1rem;padding:.75rem 1.5rem;font-weight:700}.timer-card button.stop{background:#dc2626}.timer-card button.break{background:#f59e0b;margin-left:.5rem}.entry,.comparison{justify-content:space-between;align-items:center;margin:.5rem 0;display:flex}.comparison-card{text-align:center;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem;display:grid}.comparison-card div{gap:.25rem;display:grid}.negative{color:#dc2626}.positive{color:#16a34a}small{color:var(--text-secondary)}@media (width<=480px){.comparison-card{grid-template-columns:1fr}}.time-tracking h1{font-size:32px}.time-tracking h2{font-size:24px}.time-tracking{font-size:16px}.app-container{background-color:var(--bg-primary);overscroll-behavior:none;min-height:100vh;transition:background-color .3s}.main-content{background:var(--bg-primary);float:left;border-radius:8px;width:100%;max-width:1400px;margin:2rem auto;padding:2rem;transition:background-color .3s}@media (width<=768px){.main-content{width:calc(100% - 2rem);margin:1rem;padding:1rem}}:root{--bg-primary:#fff;--bg-secondary:#f8fafc;--bg-tertiary:#fafbfc;--bg-gray:#f8f9fa;--bg-overlay:#00000080;--weekend-bg:#0000000a;--text-primary:#1e293b;--text-secondary:#64748b;--text-muted:#94a3b8;--text-dark:#2d3748;--border-color:#e2e8f0cc;--border-light:#f1f5f9cc;--border-lighter:#e9ecefcc;--border-focus:#e2e8f0cc;--border-hover:#cbd5e0cc;--border-active:#9ca3afcc;--roster-employee-column-width:160px;--roster-day-column-width:36px;--roster-grid-template:var(--roster-employee-column-width) repeat(31, var(--roster-day-column-width));--hover-gray:#0000000d;--violation-warning-bg:#ffc10740;--violation-error-bg:#dc354540}.theme-dark{--bg-primary:#1a1a1a;--bg-secondary:#2d2d2d;--bg-tertiary:#3a3a3a;--bg-gray:#1a1a1a;--bg-overlay:#000c;--weekend-bg:#ffffff0f;--text-primary:#fff;--text-secondary:#b0b0b0;--text-muted:gray;--text-dark:#fff;--border-color:#ffffff1a;--border-light:#ffffff0d;--border-lighter:#ffffff14;--border-focus:#fff3;--border-hover:#ffffff26;--border-active:#ffffff4d;--hover-gray:#ffffff1a;--violation-warning-bg:#ffc1074d;--violation-error-bg:#dc354559}app-shift-icon{justify-content:center;align-items:center;min-width:16px;min-height:16px;display:inline-flex}*{box-sizing:border-box;-webkit-user-select:none;user-select:none;margin:0;padding:0}html,body{height:100%}body{background-color:var(--bg-primary);color:var(--text-primary);overscroll-behavior:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;font-weight:400;line-height:1.4;transition:background-color .3s,color .3s}#root{min-height:100%;display:block}h1,h2,h3,h4,h5,h6{color:var(--text-primary);margin:0;font-weight:600}input,select,textarea,label,button{font-family:inherit;font-weight:400}.form-group{margin-bottom:16px}.form-group label{color:var(--text-primary);margin-bottom:8px;font-size:14px;font-weight:400;display:block}.form-group input,.form-group select,.form-group textarea{border:1px solid var(--border-color);background-color:var(--bg-primary);width:100%;color:var(--text-primary);border-radius:6px;padding:12px;font-size:14px;transition:all .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#007bff;outline:none}.form-group input::placeholder,.form-group select::placeholder,.form-group textarea::placeholder{color:var(--text-muted)}.btn{cursor:pointer;border:1px solid;border-radius:6px;justify-content:center;align-items:center;padding:10px 20px;font-size:14px;font-weight:500;transition:all .2s;display:inline-flex}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{color:#fff;background:#007bff;border-color:#007bff}.btn-primary:hover:not(:disabled){background:#0056b3;border-color:#0056b3}.btn-secondary{color:var(--text-secondary);background:0 0;border-color:#e2e8f0cc}.btn-secondary:hover:not(:disabled){background:var(--bg-secondary);color:var(--text-primary);border-color:var(--border-active)}.btn-danger{color:#dc3545;background:0 0;border-color:#dc3545}.btn-danger:hover:not(:disabled){color:#fff;background:#dc3545}.btn-success{color:#fff;background:#28a745;border-color:#28a745}.btn-success:hover:not(:disabled){background:#218838;border-color:#218838}.btn-sm{padding:6px 12px;font-size:12px}.modal-overlay{background:var(--bg-overlay);z-index:1100;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-content{background:var(--bg-primary);border-radius:8px;flex-direction:column;width:90%;max-width:1200px;max-height:90vh;display:flex;box-shadow:0 4px 20px #00000026}.modal-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:16px 20px;display:flex}.modal-body{flex:1;min-height:0;padding:20px;overflow-y:auto}.modal-actions{border-top:1px solid var(--border-color);justify-content:flex-end;gap:12px;margin-top:24px;padding-top:20px;display:flex}.close-btn{border:2px solid var(--border-color);color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:8px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;font-size:18px;transition:all .2s;display:flex}.close-btn:hover{background:var(--bg-secondary);border-color:var(--border-hover);color:var(--text-primary)}.nav-btn{border:1px solid var(--border-color);cursor:pointer;width:32px;height:32px;color:var(--text-secondary);background:0 0;border-radius:4px;justify-content:center;align-items:center;font-size:16px;font-weight:500;transition:all .2s;display:flex}.nav-btn:hover{background:var(--bg-secondary);color:var(--text-primary);border-color:var(--border-hover)}.nav-btn.today-btn{width:auto;min-width:60px;padding:0 12px;font-size:14px}.nav-btn.spinning ion-icon{animation:1s linear infinite spin}.form-row{gap:16px;margin-bottom:20px;display:flex}.form-row .form-group{flex:1;margin-bottom:0}
