:root{--color-primary: #2c5530;--color-primary-dark: #1e3c21;--color-primary-rgb: 44, 85, 48;--color-text: #333333;--color-text-secondary: #525252;--color-surface: #ffffff;--color-background: #f5f5f5;--color-border: #d4d4d4;--color-success: #15803d;--color-success-dark: #166534;--color-success-rgb: 21, 128, 61;--color-danger: #dc2626;--color-danger-dark: #b91c1c;--color-danger-rgb: 220, 38, 38;--color-warning: #b45309;--color-warning-dark: #92400e;--color-warning-rgb: 180, 83, 9}*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;line-height:1.6;color:#333;background-color:#f5f5f5}.skip-link{position:absolute;top:-100%;left:0;padding:.75rem 1.5rem;background:#2c5530;color:#fff;text-decoration:none;font-weight:600;z-index:9999;transition:top .2s}.skip-link:focus{top:0}:focus-visible{outline:3px solid #4f46e5;outline-offset:2px}:focus:not(:focus-visible){outline:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #4f46e5;outline-offset:2px}.text-secondary{color:#525252}.icon-label{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.app-layout{min-height:100vh;display:flex;flex-direction:column}.app-nav{background:#2c5530;padding:0 2rem;display:flex;align-items:center;height:60px;box-shadow:0 2px 4px #0000001a}.nav-brand a{color:#fff;text-decoration:none;font-weight:700;font-size:1.125rem}.nav-links{flex:1;display:flex;gap:1.5rem;margin-left:3rem}.nav-links a{color:#ffffffd9;text-decoration:none;font-size:.9375rem;padding:.5rem 0}.nav-links a:hover{color:#fff}.nav-link-with-badge{display:inline-flex;align-items:center;gap:.5rem}.nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;padding:0 .375rem;background:#e53e3e;color:#fff;border-radius:9999px;font-size:.6875rem;font-weight:600}.nav-user{display:flex;align-items:center;gap:1rem}.user-name{color:#ffffffd9;font-size:.875rem}.logout-button{padding:.5rem 1rem;background:#ffffff1a;border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:4px;cursor:pointer;font-size:.8125rem}.logout-button:hover{background:#fff3}.app-main{flex:1}.loading-screen,.forbidden-screen,.not-found{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem}.forbidden-screen h1,.not-found h1{color:#c53030;margin-bottom:.5rem}.forbidden-screen p,.not-found p{color:#666;margin-bottom:1rem}.forbidden-screen a,.not-found a{color:#2c5530}h1{color:#2c5530;margin-bottom:.5rem}h2{color:#444;font-size:1.25rem;margin-bottom:1rem}.app{max-width:800px;margin:0 auto;padding:2rem}.status{margin-top:2rem;padding:1.5rem;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a}.health p{margin:.5rem 0}.error{color:#c53030;background:#fff5f5;padding:.75rem;border-radius:4px;border:1px solid #fc8181}code{background:#edf2f7;padding:.25rem .5rem;border-radius:4px;font-size:.875rem}@media(max-width:1024px){.nav-links{gap:1rem}}@media(max-width:768px){.app-nav{padding:0 1rem;flex-wrap:wrap;height:auto;min-height:60px;gap:.5rem}.nav-brand{flex:0 0 auto}.nav-links{order:3;flex-basis:100%;margin-left:0;gap:.75rem;padding:.5rem 0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;-ms-overflow-style:none}.nav-links::-webkit-scrollbar{display:none}.nav-links a{flex-shrink:0;font-size:.875rem}.nav-user{order:2;margin-left:auto}.user-name{display:none}.logout-button{padding:.375rem .75rem;font-size:.75rem}button,.nav-links a,[role=button],input[type=checkbox],input[type=radio]{min-height:44px;min-width:44px}input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],input[type=time],select,textarea{font-size:16px;max-width:100%}}@media(max-width:480px){.app-nav{padding:0 .75rem}.nav-brand a{font-size:1rem}.nav-links{gap:.5rem;padding:.25rem 0}.nav-links a{font-size:.8125rem;padding:.375rem .25rem}h1{font-size:1.5rem}h2{font-size:1.125rem}.forbidden-screen,.not-found{padding:1rem}}@media(prefers-contrast:high){.nav-links a{color:#fff}.nav-links a:hover,.nav-links a:focus{text-decoration:underline;outline:2px solid white;outline-offset:2px}.logout-button{border-width:2px}}@media(prefers-reduced-motion:reduce){.loading-spinner{animation:none;border:3px solid #2c5530}*{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.page-loader{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:50vh;gap:1rem;color:#666}.loading-spinner{width:40px;height:40px;border:3px solid #f3f3f3;border-top:3px solid #2c5530;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1rem;background:linear-gradient(135deg,#2c5530,#1e3c21)}.login-card{background:#fff;padding:2rem;border-radius:8px;box-shadow:0 4px 6px #0000001a;width:100%;max-width:400px}.login-card h1{color:#2c5530;text-align:center;margin-bottom:.25rem}.login-subtitle{text-align:center;color:#666;margin-bottom:1.5rem}.login-form{display:flex;flex-direction:column;gap:1rem}.login-field{display:flex;flex-direction:column;gap:.5rem}.login-field label{font-size:.875rem;font-weight:500;color:#333}.login-field input{padding:.75rem;border:1px solid #ccc;border-radius:4px;font-size:1rem}.login-field input:focus{outline:none;border-color:#2c5530;box-shadow:0 0 0 2px #2c55301a}.login-error{display:flex;align-items:center;justify-content:space-between;padding:.75rem;background:#fff5f5;border:1px solid #fc8181;border-radius:4px;color:#c53030;font-size:.875rem}.login-error-close{background:none;border:none;font-size:1.25rem;color:#c53030;cursor:pointer;padding:0;line-height:1}.login-button{padding:.75rem;background:#2c5530;color:#fff;border:none;border-radius:4px;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s;margin-top:.5rem}.login-button:hover:not(:disabled){background:#1e3c21}.login-button:disabled{background:#ccc;cursor:not-allowed}.login-footer{text-align:center;margin-top:1.5rem}.login-footer a{color:#2c5530;text-decoration:none;font-size:.875rem}.login-footer a:hover{text-decoration:underline}.week-selector{display:flex;align-items:center;gap:.75rem;padding:.5rem 0}.week-nav-button{display:flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border:1px solid #d1d5db;border-radius:.375rem;background-color:#fff;font-size:1.25rem;cursor:pointer;transition:all .2s ease}.week-nav-button:hover:not(:disabled){background-color:#f3f4f6;border-color:#9ca3af}.week-nav-button:disabled{opacity:.4;cursor:not-allowed}.week-display{display:flex;align-items:center;gap:.5rem;min-width:200px;justify-content:center}.week-range{font-size:1.125rem;font-weight:600;color:#1f2937}.week-locked{font-size:1rem;color:#9ca3af}.week-current-badge{display:inline-block;padding:.125rem .5rem;font-size:.75rem;font-weight:500;color:#059669;background-color:#d1fae5;border-radius:9999px}.go-to-current-button{padding:.5rem .75rem;font-size:.875rem;color:#4f46e5;background-color:transparent;border:1px solid #4f46e5;border-radius:.375rem;cursor:pointer;transition:all .2s ease}.go-to-current-button:hover{background-color:#4f46e5;color:#fff}.time-block{position:absolute;border-radius:4px;cursor:pointer;overflow:hidden;z-index:5;transition:box-shadow .15s ease,transform .1s ease;box-shadow:0 1px 2px #0000001a}.time-block:hover{box-shadow:0 4px 6px #00000026;transform:scale(1.02);z-index:6}.time-block.disabled{cursor:default;opacity:.8}.time-block.disabled:hover{transform:none;box-shadow:0 1px 2px #0000001a}.time-block.selected{box-shadow:0 0 0 3px #3b82f680,0 4px 8px #0003;z-index:10;transform:scale(1.02)}.time-block.selected:hover{box-shadow:0 0 0 3px #3b82f699,0 6px 12px #00000040}.time-block:focus{outline:none;box-shadow:0 0 0 3px #3b82f680,0 4px 8px #0003;z-index:10}.time-block:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}.resize-handle{position:absolute;left:0;right:0;height:8px;cursor:ns-resize;background:transparent;z-index:15;transition:background-color .15s ease}.resize-handle:hover{background:#3b82f64d}.resize-handle-top{top:-2px;border-radius:4px 4px 0 0}.resize-handle-bottom{bottom:-2px;border-radius:0 0 4px 4px}.resize-handle:after{content:"";position:absolute;left:50%;transform:translate(-50%);width:24px;height:3px;background:#fff9;border-radius:2px;opacity:0;transition:opacity .15s ease}.resize-handle-top:after{top:2px}.resize-handle-bottom:after{bottom:2px}.resize-handle:hover:after{opacity:1}.block-content{display:flex;flex-direction:column;padding:4px 6px;height:100%;overflow:hidden}.block-task-code{font-weight:700;font-size:.9rem;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.block-task-name{font-size:.75rem;font-weight:500;opacity:.95;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.block-times{font-size:.7rem;opacity:.9;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.block-hours{font-size:.7rem;font-weight:500;opacity:.85;margin-top:auto}.block-actions{position:absolute;top:2px;right:2px;display:flex;gap:2px;opacity:0;transition:opacity .15s ease}.time-block:hover .block-actions{opacity:1}.block-action-btn{width:20px;height:20px;padding:0;border:none;border-radius:3px;cursor:pointer;font-size:.75rem;display:flex;align-items:center;justify-content:center;transition:background-color .15s ease}.block-action-btn.edit{background:#ffffffe6;color:#374151}.block-action-btn.edit:hover{background:#fff}.block-action-btn.delete{background:#ffffffe6;color:#dc2626}.block-action-btn.delete:hover{background:#fef2f2}.block-action-btn.delete.confirm{background:#dc2626;color:#fff;animation:pulse .5s ease infinite}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.task-assignment-backdrop{position:fixed;inset:0;z-index:999;background:#0000004d;display:flex;align-items:center;justify-content:center;animation:backdropIn .15s ease-out}@keyframes backdropIn{0%{opacity:0}to{opacity:1}}.task-assignment-popover{position:relative;z-index:1000;background:#fff;border-radius:8px;box-shadow:0 10px 25px #0003,0 4px 10px #00000026;min-width:340px;max-width:420px;max-height:90vh;overflow-y:auto;animation:popoverIn .15s ease-out}@keyframes popoverIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.popover-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid #e5e7eb}.popover-header h4{margin:0;font-size:1rem;font-weight:600;color:#111827}.popover-header .close-btn{width:28px;height:28px;padding:0;border:none;background:transparent;cursor:pointer;font-size:1.25rem;color:#6b7280;border-radius:4px;display:flex;align-items:center;justify-content:center;transition:background-color .15s ease}.popover-header .close-btn:hover{background:#f3f4f6;color:#374151}.popover-info{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#f9fafb;border-bottom:1px solid #e5e7eb}.popover-info .time-range{font-size:.875rem;color:#374151;font-weight:500}.popover-info .hours-badge{background:#dbeafe;color:#1d4ed8;padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:600}.popover-info .days-badge{background:#fef3c7;color:#b45309;padding:2px 8px;border-radius:12px;font-size:.75rem;font-weight:600}.compliance-loading{padding:12px 16px;background:#f3f4f6;color:#6b7280;font-size:.875rem;text-align:center;border-bottom:1px solid #e5e7eb}.compliance-preview{padding:12px 16px;background:#fafafa;border-bottom:1px solid #e5e7eb}.compliance-violations{background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:10px 12px;margin-bottom:10px}.compliance-violations .violation-header{font-size:.8rem;font-weight:600;color:#dc2626;margin-bottom:6px}.compliance-violations .violation-item{display:flex;align-items:flex-start;gap:6px;font-size:.8rem;color:#b91c1c;margin-top:4px}.compliance-violations .violation-icon{flex-shrink:0}.compliance-warnings{background:#fffbeb;border:1px solid #fde68a;border-radius:6px;padding:10px 12px;margin-bottom:10px}.compliance-warnings .warning-item{display:flex;align-items:flex-start;gap:6px;font-size:.8rem;color:#92400e}.compliance-warnings .warning-item+.warning-item{margin-top:4px}.compliance-warnings .warning-icon{flex-shrink:0}.compliance-limits{display:flex;flex-direction:column;gap:4px}.compliance-limits .limit-item{display:flex;align-items:center;gap:6px;font-size:.8rem}.compliance-limits .limit-label{color:#6b7280;min-width:45px}.compliance-limits .limit-value{font-weight:600;color:#059669}.compliance-limits .limit-value.near-limit{color:#d97706}.compliance-limits .limit-value.over-limit{color:#dc2626}.compliance-limits .limit-max{color:#9ca3af;font-size:.75rem}.task-assignment-popover form{padding:16px}.task-assignment-popover .form-group{margin-bottom:16px}.task-assignment-popover .form-group label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:4px}.task-assignment-popover .form-group select,.task-assignment-popover .form-group input[type=text],.task-assignment-popover .form-group textarea{width:100%;padding:8px 12px;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;color:#111827;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.task-assignment-popover .form-group textarea{resize:vertical;font-family:inherit}.task-assignment-popover .form-group select:focus,.task-assignment-popover .form-group input[type=text]:focus,.task-assignment-popover .form-group textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.task-assignment-popover .help-text{display:block;font-size:.75rem;color:#6b7280;margin-top:4px}.task-assignment-popover .checkbox-group label{display:flex;align-items:flex-start;gap:8px;font-weight:400;cursor:pointer}.task-assignment-popover .checkbox-group input[type=checkbox]{margin-top:2px;width:16px;height:16px;cursor:pointer}.popover-error{background:#fef2f2;color:#dc2626;padding:8px 12px;border-radius:6px;font-size:.875rem;margin-bottom:16px;border:1px solid #fecaca}.popover-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb}.popover-actions button{padding:8px 16px;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .15s ease,border-color .15s ease}.popover-actions .cancel-btn{background:#fff;border:1px solid #d1d5db;color:#374151}.popover-actions .cancel-btn:hover{background:#f3f4f6;border-color:#9ca3af}.popover-actions .assign-btn{background:#3b82f6;border:1px solid #3b82f6;color:#fff}.popover-actions .assign-btn:hover:not(:disabled){background:#2563eb;border-color:#2563eb}.popover-actions .assign-btn:disabled{opacity:.6;cursor:not-allowed}.popover-actions .assign-btn.has-violations{background:#ef4444;border-color:#ef4444}.popover-actions .assign-btn.has-violations:disabled{opacity:.8}.timeline-view{display:flex;flex-direction:column;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;overflow:hidden}.timeline-header{display:flex;border-bottom:2px solid #e5e7eb;background:#f9fafb}.time-gutter-header{width:60px;flex-shrink:0}.day-header{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:8px 4px;border-left:1px solid #e5e7eb;position:relative}.day-header .day-name{font-weight:600;font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.day-header .day-date{font-size:.875rem;color:#374151;margin-top:2px}.day-header .school-indicator{position:absolute;top:4px;right:4px;width:20px;height:20px;border-radius:50%;font-size:.7rem;font-weight:600;display:flex;align-items:center;justify-content:center;cursor:pointer;border:2px solid transparent;transition:all .15s ease}.day-header .school-indicator.active{background:#3b82f6;color:#fff;border-color:#3b82f6}.day-header .school-indicator.active:hover:not(:disabled){background:#2563eb;border-color:#2563eb;transform:scale(1.1)}.day-header .school-indicator.inactive{background:#e5e7eb;color:#6b7280;border-color:#d1d5db;text-decoration:line-through}.day-header .school-indicator.inactive:hover:not(:disabled){background:#d1d5db;border-color:#9ca3af;transform:scale(1.1)}.day-header .school-indicator.overridden{box-shadow:0 0 0 2px #fbbf24}.day-header .school-indicator:disabled{cursor:not-allowed;opacity:.6}.timeline-body{display:flex;overflow-x:auto;overflow-y:auto;max-height:600px}.time-gutter{width:60px;flex-shrink:0;position:relative;background:#f9fafb;border-right:1px solid #e5e7eb}.hour-label{position:absolute;right:8px;font-size:.75rem;color:#6b7280;transform:translateY(-50%);white-space:nowrap}.timeline-grid{position:relative;cursor:crosshair;user-select:none}.timeline-grid.disabled{cursor:not-allowed;opacity:.7}.hour-line{position:absolute;left:0;right:0;height:1px;background:#e5e7eb;pointer-events:none}.day-column{position:absolute;top:0;bottom:0;border-left:1px solid #e5e7eb}.day-column:first-child{border-left:none}.school-hours-overlay{position:absolute;left:0;right:0;background:repeating-linear-gradient(45deg,#9ca3af26,#9ca3af26 10px,#9ca3af40 10px 20px);border:1px dashed #9ca3af;pointer-events:none;z-index:1}.school-hours-overlay:after{content:"SCHOOL HOURS";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.625rem;font-weight:600;color:#6b7280;letter-spacing:.1em;opacity:.6;white-space:nowrap}.drag-preview{position:absolute;background:#3b82f64d;border:2px dashed #3b82f6;border-radius:4px;pointer-events:none;z-index:10;transition:background-color .15s ease,border-color .15s ease}.drag-preview.drag-warning{background:#ef44444d;border-color:#ef4444}.drag-preview.drag-warning-school-hours{background:repeating-linear-gradient(45deg,#ef444433,#ef444433 10px,#ef444459 10px 20px);border-color:#dc2626}.drag-preview.drag-warning-exceeds-daily,.drag-preview.drag-warning-exceeds-weekly{background:#f59e0b4d;border-color:#f59e0b}.drag-preview.drag-warning:after{content:"⚠";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);font-size:1.5rem;opacity:.8}.resize-preview{position:absolute;background:#3b82f666;border:2px solid #3b82f6;border-radius:4px;pointer-events:none;z-index:20;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.resize-preview-time{font-size:.75rem;font-weight:600;color:#1e40af;background:#ffffffe6;padding:2px 6px;border-radius:3px}.resize-preview-hours{font-size:.7rem;font-weight:500;color:#1e40af;background:#ffffffe6;padding:1px 4px;border-radius:2px}.timeline-grid.resizing{cursor:ns-resize}.timeline-footer{padding:12px 16px;border-top:2px solid #e5e7eb;background:#f9fafb}.weekly-total{display:flex;align-items:center;gap:4px;font-size:.875rem}.weekly-total .total-label{font-weight:500;color:#374151}.weekly-total .total-hours{font-weight:700;font-size:1.125rem;color:#111827}.weekly-total .total-hours.approaching-limit{color:#d97706}.weekly-total .total-hours.at-limit{color:#dc2626}.weekly-total .total-separator{color:#9ca3af}.weekly-total .total-limit{color:#6b7280}.weekly-total .total-unit{color:#9ca3af;margin-left:2px}.school-day-modal-backdrop{position:fixed;inset:0;z-index:999;background:#0006;display:flex;align-items:center;justify-content:center;animation:fadeIn .15s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.school-day-modal{background:#fff;border-radius:12px;box-shadow:0 20px 40px #0003;width:100%;max-width:400px;animation:slideIn .2s ease-out}@keyframes slideIn{0%{opacity:0;transform:scale(.95) translateY(-10px)}to{opacity:1;transform:scale(1) translateY(0)}}.school-day-modal .modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e5e7eb}.school-day-modal .modal-header h4{margin:0;font-size:1.1rem;font-weight:600;color:#111827}.school-day-modal .close-btn{width:32px;height:32px;padding:0;border:none;background:transparent;cursor:pointer;font-size:1.5rem;color:#6b7280;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:background-color .15s ease}.school-day-modal .close-btn:hover{background:#f3f4f6;color:#374151}.school-day-modal .modal-body{padding:20px}.school-day-modal .modal-date{font-weight:600;color:#374151;margin:0 0 8px}.school-day-modal .modal-description{font-size:.875rem;color:#6b7280;margin:0 0 16px;line-height:1.5}.school-day-modal .reason-options{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}.school-day-modal .reason-option{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#f9fafb;border-radius:8px;cursor:pointer;transition:background-color .15s ease}.school-day-modal .reason-option:hover{background:#f3f4f6}.school-day-modal .reason-option input[type=radio]{width:18px;height:18px;cursor:pointer}.school-day-modal .reason-option span{font-size:.9rem;color:#374151}.school-day-modal .custom-reason{margin-bottom:16px}.school-day-modal .custom-reason input{width:100%;padding:10px 12px;border:1px solid #d1d5db;border-radius:8px;font-size:.9rem;transition:border-color .15s ease,box-shadow .15s ease}.school-day-modal .custom-reason input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.school-day-modal .modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:16px;border-top:1px solid #e5e7eb}.school-day-modal .cancel-btn{padding:10px 16px;border:1px solid #d1d5db;background:#fff;border-radius:8px;font-size:.875rem;font-weight:500;color:#374151;cursor:pointer;transition:background-color .15s ease}.school-day-modal .cancel-btn:hover{background:#f3f4f6}.school-day-modal .submit-btn{padding:10px 20px;border:none;background:#3b82f6;border-radius:8px;font-size:.875rem;font-weight:500;color:#fff;cursor:pointer;transition:background-color .15s ease}.school-day-modal .submit-btn:hover:not(:disabled){background:#2563eb}.school-day-modal .submit-btn:disabled{opacity:.5;cursor:not-allowed}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.daily-limit-indicator{position:absolute;left:0;right:0;height:2px;background:linear-gradient(90deg,#dc2626 0%,#dc2626 50%,transparent 50%,transparent 100%);background-size:8px 2px;pointer-events:none;z-index:2;opacity:.7}.daily-limit-indicator:before{content:attr(data-limit-label);position:absolute;right:4px;top:-14px;font-size:.625rem;font-weight:600;color:#dc2626;background:#ffffffe6;padding:1px 4px;border-radius:2px;white-space:nowrap}@media(max-width:1024px){.timeline-body{max-height:500px}}.modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.entry-form-modal{background-color:#fff;border-radius:.75rem;box-shadow:0 25px 50px -12px #00000040;width:100%;max-width:480px;max-height:90vh;overflow-y:auto}.entry-form-modal .modal-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb}.entry-form-modal .modal-header h3{margin:0;font-size:1.25rem;font-weight:600;color:#1f2937}.entry-form-modal .modal-date{font-size:.875rem;color:#6b7280;flex:1;text-align:right}.entry-form-modal .close-button{width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;font-size:1.5rem;color:#6b7280;cursor:pointer;border-radius:.375rem}.entry-form-modal .close-button:hover{background-color:#f3f4f6;color:#1f2937}.entry-form-modal form{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.entry-form-modal .form-error{padding:.75rem;font-size:.875rem;color:#b91c1c;background-color:#fef2f2;border:1px solid #fecaca;border-radius:.375rem}.entry-form-modal .form-group{display:flex;flex-direction:column;gap:.375rem}.entry-form-modal .form-group label{font-size:.875rem;font-weight:500;color:#374151}.entry-form-modal .form-group input,.entry-form-modal .form-group select,.entry-form-modal .form-group textarea{padding:.625rem .75rem;font-size:1rem;border:1px solid #d1d5db;border-radius:.375rem;background-color:#fff}.entry-form-modal .form-group textarea{resize:vertical;font-family:inherit}.entry-form-modal .form-group input:focus,.entry-form-modal .form-group select:focus,.entry-form-modal .form-group textarea:focus{outline:none;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.entry-form-modal .form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.entry-form-modal .field-error{font-size:.75rem;color:#dc2626}.entry-form-modal .help-text{font-size:.75rem;color:#6b7280}.entry-form-modal .loading-tasks{padding:.625rem .75rem;font-size:.875rem;color:#6b7280;font-style:italic;border:1px solid #e5e7eb;border-radius:.375rem;background-color:#f9fafb}.calculated-hours{display:flex;align-items:center;gap:.5rem;padding:.75rem;background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:.375rem}.hours-label{font-size:.875rem;font-weight:500;color:#166534}.hours-value{font-size:1.25rem;font-weight:700;color:#15803d}.supervisor-field,.meal-break-field{padding:1rem;background-color:#fefce8;border:1px solid #fde047;border-radius:.5rem}.checkbox-field{display:flex;align-items:flex-start;gap:.5rem}.checkbox-field input[type=checkbox]{margin-top:.25rem;width:1rem;height:1rem}.checkbox-field label{font-size:.875rem;font-weight:400;color:#374151}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:.5rem;border-top:1px solid #e5e7eb;margin-top:.5rem}.cancel-button{padding:.625rem 1rem;font-size:.875rem;font-weight:500;color:#374151;background-color:#fff;border:1px solid #d1d5db;border-radius:.375rem;cursor:pointer;transition:all .15s ease}.cancel-button:hover:not(:disabled){background-color:#f3f4f6}.cancel-button:disabled{opacity:.5;cursor:not-allowed}.submit-button{padding:.625rem 1rem;font-size:.875rem;font-weight:500;color:#fff;background-color:#4f46e5;border:none;border-radius:.375rem;cursor:pointer;transition:all .15s ease}.submit-button:hover:not(:disabled){background-color:#4338ca}.submit-button:disabled{opacity:.5;cursor:not-allowed}.hour-limits-display{padding:1rem;background-color:#fff;border:1px solid #e5e7eb;border-radius:.5rem}.limits-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.limits-header h4{margin:0;font-size:1rem;font-weight:600;color:#1f2937}.age-band-badge{display:inline-block;padding:.25rem .5rem;font-size:.75rem;font-weight:600;color:#4f46e5;background-color:#eef2ff;border-radius:.25rem}.limit-item{margin-bottom:1rem}.limit-label{display:flex;justify-content:space-between;margin-bottom:.375rem}.label-text{font-size:.875rem;font-weight:500;color:#374151}.limit-values{font-size:.875rem;font-weight:600;color:#1f2937}.progress-bar{height:.5rem;background-color:#e5e7eb;border-radius:9999px;overflow:hidden}.progress-fill{height:100%;border-radius:9999px;transition:width .3s ease}.progress-fill.ok{background-color:#10b981}.progress-fill.approaching-limit{background-color:#f59e0b}.progress-fill.at-limit{background-color:#ef4444}.limits-rules{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;padding:.75rem;background-color:#f9fafb;border-radius:.375rem;margin-bottom:.75rem}.rule-item{display:flex;flex-direction:column;gap:.125rem}.rule-label{font-size:.75rem;color:#6b7280}.rule-value{font-size:.875rem;font-weight:600;color:#1f2937}.limits-note{font-size:.75rem;color:#6b7280;font-style:italic;padding-top:.5rem;border-top:1px solid #e5e7eb}.task-color-legend{background:#fff;border-radius:8px;padding:12px 16px;box-shadow:0 1px 3px #0000001a}.legend-title{margin:0 0 10px;font-size:.875rem;font-weight:600;color:#374151}.legend-items{display:flex;flex-direction:column;gap:6px}.legend-item{display:flex;align-items:center;gap:8px}.legend-color{display:inline-flex;align-items:center;justify-content:center;min-width:36px;padding:3px 6px;border-radius:4px;font-size:.75rem;font-weight:700;letter-spacing:.02em}.legend-name{font-size:.8rem;color:#4b5563;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media(min-width:640px){.legend-items{flex-direction:row;flex-wrap:wrap;gap:10px}.legend-item{flex-shrink:0}}.compliance-errors{background-color:#fef2f2;border:1px solid #fecaca;border-radius:8px;padding:16px;margin-bottom:20px}.compliance-errors__header{display:flex;align-items:center;gap:12px;margin-bottom:12px}.compliance-errors__icon{width:24px;height:24px;background-color:#dc2626;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0}.compliance-errors__title{flex:1;margin:0;font-size:16px;font-weight:600;color:#991b1b}.compliance-errors__close{background:none;border:none;font-size:20px;color:#991b1b;cursor:pointer;padding:4px 8px;line-height:1}.compliance-errors__close:hover{color:#7f1d1d}.compliance-errors__intro{color:#991b1b;font-size:14px;margin:0 0 16px}.compliance-errors__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}.compliance-error{background-color:#fff;border:1px solid #fecaca;border-radius:6px;padding:12px}.compliance-error__header{display:flex;align-items:center;gap:8px;margin-bottom:8px}.compliance-error__rule-id{background-color:#991b1b;color:#fff;font-size:11px;font-weight:600;padding:2px 6px;border-radius:4px}.compliance-error__rule-name{font-size:14px;font-weight:600;color:#374151}.compliance-error__message{margin:0 0 8px;font-size:14px;color:#374151;line-height:1.5}.compliance-error__remediation{margin:0 0 8px;font-size:13px;color:#4b5563;background-color:#f3f4f6;padding:8px 10px;border-radius:4px;line-height:1.4}.compliance-error__remediation strong{color:#374151}.compliance-error__affected{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;font-size:12px}.compliance-error__affected-label{color:#6b7280}.compliance-error__date{background-color:#fef3c7;color:#92400e;padding:2px 6px;border-radius:4px;font-weight:500}.compliance-error__entries{margin-top:8px}.compliance-error__view-entry{background-color:#dc2626;color:#fff;border:none;padding:6px 12px;border-radius:4px;font-size:12px;font-weight:500;cursor:pointer}.compliance-error__view-entry:hover{background-color:#b91c1c}@media(max-width:480px){.compliance-errors{padding:12px}.compliance-error__header{flex-direction:column;align-items:flex-start;gap:4px}}.timesheet-page{max-width:1400px;margin:0 auto;padding:1.5rem}.timesheet-page .page-header{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:1.5rem}.timesheet-page .page-header h1{margin:0;font-size:1.75rem;font-weight:700;color:#1f2937}.saving-indicator{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;font-size:.875rem;color:#4f46e5;background-color:#eef2ff;border-radius:9999px}.saving-indicator:before{content:"";width:.75rem;height:.75rem;border:2px solid #4f46e5;border-top-color:transparent;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.birthday-alert{display:flex;gap:.75rem;padding:1rem;margin-bottom:1rem;background-color:#fef3c7;border:1px solid #fcd34d;border-radius:.5rem}.birthday-icon{font-size:1.5rem;flex-shrink:0}.birthday-message{font-size:.875rem;color:#78350f}.birthday-message strong{display:block;color:#92400e;margin-bottom:.25rem}.birthday-message p{margin:0}.status-alert{display:flex;gap:.75rem;padding:1rem;margin-bottom:1rem;border-radius:.5rem}.status-alert--submitted{background-color:#eff6ff;border:1px solid #93c5fd}.status-alert--submitted .status-icon{color:#2563eb}.status-alert--submitted .status-message{color:#1e40af}.status-alert--submitted .status-message strong{color:#1d4ed8}.status-alert--approved{background-color:#ecfdf5;border:1px solid #6ee7b7}.status-alert--approved .status-icon{color:#059669}.status-alert--approved .status-message{color:#047857}.status-alert--approved .status-message strong{color:#065f46}.status-alert--rejected{background-color:#fef9e7;border:2px solid #f59e0b}.status-alert--rejected .status-icon{color:#d97706}.status-alert--rejected .status-message{color:#92400e}.status-alert--rejected .status-message strong{color:#b45309}.status-icon{font-size:1.25rem;flex-shrink:0}.status-message{font-size:.875rem}.status-message strong{display:block;margin-bottom:.25rem}.status-message p{margin:0 0 .5rem}.status-timestamp{font-size:.75rem;opacity:.8}.supervisor-notes{margin-top:.5rem;padding:.5rem;background-color:#fff;border-radius:.25rem;font-style:italic}.supervisor-feedback{margin-top:.75rem;padding:.75rem;background-color:#fff;border-radius:.375rem;border-left:3px solid #f59e0b}.supervisor-feedback strong{display:block;font-size:.75rem;color:#78350f;margin-bottom:.375rem}.feedback-text{margin:0;font-style:normal;color:#374151;line-height:1.5}.resubmit-hint{margin-top:.75rem;padding:.5rem .75rem;background-color:#fef3c7;border-radius:.25rem;font-size:.8125rem;font-weight:500;color:#92400e}.timesheet-content{display:grid;grid-template-columns:1fr 280px;gap:1.5rem}@media(max-width:1024px){.timesheet-content{grid-template-columns:1fr}}.timesheet-main{min-width:0}.timesheet-sidebar{display:flex;flex-direction:column;gap:1rem}@media(max-width:1024px){.timesheet-sidebar{order:-1}}.loading{display:flex;justify-content:center;align-items:center;min-height:400px;font-size:1rem;color:#6b7280}.error-message{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:2rem;text-align:center}.error-message p{font-size:1rem;color:#dc2626}.retry-button{padding:.625rem 1.25rem;font-size:.875rem;font-weight:500;color:#fff;background-color:#4f46e5;border:none;border-radius:.375rem;cursor:pointer}.retry-button:hover{background-color:#4338ca}.success-alert{display:flex;gap:.75rem;padding:1rem;margin-bottom:1rem;background-color:#ecfdf5;border:1px solid #6ee7b7;border-radius:.5rem}.success-icon{font-size:1.25rem;color:#059669;flex-shrink:0}.success-message{font-size:.875rem;color:#047857}.success-message strong{display:block;color:#065f46;margin-bottom:.25rem}.success-message p{margin:0}.timesheet-actions{display:flex;flex-direction:column;align-items:center;gap:.5rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.submit-button{padding:.75rem 2rem;font-size:1rem;font-weight:600;color:#fff;background-color:#059669;border:none;border-radius:.5rem;cursor:pointer;transition:background-color .15s ease}.submit-button:hover:not(:disabled){background-color:#047857}.submit-button:disabled{background-color:#9ca3af;cursor:not-allowed}.submit-hint{margin:0;font-size:.875rem;color:#6b7280}.timesheet-export{display:flex;justify-content:flex-end;margin-top:1rem}.export-button{padding:.5rem 1rem;font-size:.875rem;font-weight:500;color:#374151;background-color:#fff;border:1px solid #d1d5db;border-radius:.375rem;cursor:pointer;transition:background-color .15s ease}.export-button:hover:not(:disabled){background-color:#f3f4f6}.export-button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:640px){.timesheet-page{padding:1rem}.timesheet-page .page-header{flex-direction:column;align-items:flex-start;gap:.5rem}.timesheet-page .page-header h1{font-size:1.375rem}.birthday-alert,.status-alert,.success-alert{flex-direction:column;padding:.75rem}.birthday-icon,.status-icon,.success-icon{font-size:1.125rem}.birthday-message,.status-message,.success-message,.supervisor-notes{font-size:.8125rem}.submit-button{width:100%;padding:1rem;font-size:1.125rem}}
