*,body{box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0;padding:0;background:#fff;color:#2d3748;line-height:1.6;min-height:100vh;overflow-x:hidden}.auth-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1rem;background:linear-gradient(135deg,#667eea,#764ba2);position:relative;overflow:hidden}.auth-background{background:linear-gradient(135deg,#667eea,#764ba2);z-index:0}.auth-background,.auth-pattern{position:absolute;top:0;left:0;right:0;bottom:0}.auth-pattern{background-image:radial-gradient(circle at 25% 25%,hsla(0,0%,100%,.1) 2px,transparent 0),radial-gradient(circle at 75% 75%,hsla(0,0%,100%,.05) 1px,transparent 0);background-size:60px 60px,40px 40px;animation:patternMove 20s linear infinite}@keyframes patternMove{0%{transform:translate(0)}to{transform:translate(60px,60px)}}.auth-card{width:100%;max-width:420px;background:hsla(0,0%,100%,.95);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid hsla(0,0%,100%,.2);border-radius:24px;padding:2.5rem 2rem;box-shadow:0 20px 40px rgba(0,0,0,.1),inset 0 0 0 1px hsla(0,0%,100%,.1);animation:fadeInUp .8s ease-out;position:relative;z-index:1}.auth-icon{display:flex;align-items:center;justify-content:center;width:80px;height:80px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;margin:0 auto 1.5rem;color:#fff;box-shadow:0 8px 32px rgba(102,126,234,.3)}.auth-card h1{margin:0 0 .5rem;font-size:1.75rem;font-weight:700;text-align:center;color:#1a202c;letter-spacing:-.025em}.auth-subtitle{margin:0 0 2rem;color:#64748b;text-align:center;font-size:.95rem;line-height:1.5}.auth-form{display:flex;flex-direction:column;gap:1.5rem;margin-top:.5rem}.input-group{position:relative}.input-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);color:#94a3b8;z-index:2;pointer-events:none}.auth-input{width:100%;padding:1rem 1rem 1rem 3rem;border:2px solid #e2e8f0;border-radius:16px;font-size:1rem;outline:none;transition:all .3s ease;background:hsla(0,0%,100%,.8);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-sizing:border-box}.auth-input:focus{border-color:#667eea;box-shadow:0 0 0 4px rgba(102,126,234,.1);transform:translateY(-2px);background:hsla(0,0%,100%,.95)}.auth-input:disabled{opacity:.6;cursor:not-allowed}.btn-primary{width:100%;padding:1rem 1.5rem;background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff;border-radius:16px;font-weight:600;font-size:1rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 8px 32px rgba(102,126,234,.3);position:relative;overflow:hidden}.btn-primary:before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.2),transparent);transition:left .5s ease}.btn-primary:hover:before{left:100%}.btn-primary:hover{box-shadow:0 12px 40px rgba(102,126,234,.4);transform:translateY(-2px)}.btn-primary:active{transform:translateY(0)}.btn-primary:disabled{opacity:.7;cursor:not-allowed;transform:none}.btn-spinner{width:20px;height:20px;border:2px solid hsla(0,0%,100%,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}.alert-error{color:#fff;background:linear-gradient(135deg,#dc2626,#ef4444);padding:1rem;border-radius:16px;margin:0 0 1.5rem;text-align:center;display:flex;align-items:center;justify-content:center;gap:.5rem;font-weight:500;box-shadow:0 8px 32px rgba(220,38,38,.3);border:1px solid hsla(0,0%,100%,.1)}.auth-footer{margin-top:2rem;text-align:center;padding-top:1.5rem;border-top:1px solid rgba(226,232,240,.3)}.auth-footer p{margin:0;color:#64748b;font-size:.875rem}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:hsla(0,0%,100%,.1)}::-webkit-scrollbar-thumb{background:hsla(0,0%,100%,.3);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:hsla(0,0%,100%,.5)}h1,h2,h3{color:#1a202c;margin-top:0;font-family:Poppins,Inter,sans-serif;letter-spacing:-.025em;font-weight:700}h1,h2,h3{margin-bottom:1.5rem}h1{font-size:2rem;text-align:center;color:#2d3748;animation:fadeInDown .8s ease-out}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}h2{font-size:1.4rem;color:#2d3748}h3{font-size:1.1rem;color:#4a5568}.period-controls{display:flex;flex-wrap:wrap;gap:1.5rem;align-items:center;background:#fff;border:1px solid #e2e8f0;padding:1.5rem;border-radius:8px;margin:0 auto;max-width:500px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.period-control{display:flex;align-items:center;gap:.75rem}.period-control label{font-weight:500;color:#4a5568;font-size:.95rem}.period-control input[type=number],.period-control select{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:4px;background:#fff;font-size:.9rem;transition:border-color .2s ease;outline:none}.period-control input[type=number]:focus,.period-control select:focus{border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.1)}.table-of-contents{display:flex;justify-content:center;gap:1rem;margin-bottom:2rem;padding:1rem;background:#667eea;border-radius:8px;box-shadow:0 2px 8px rgba(102,126,234,.2)}.table-of-contents a{color:#fff;text-decoration:none;font-weight:600;padding:.75rem 1.5rem;border-radius:6px;transition:all .2s ease;background:hsla(0,0%,100%,.1);border:1px solid hsla(0,0%,100%,.2)}.table-of-contents a:hover{background:hsla(0,0%,100%,.2);transform:translateY(-1px);box-shadow:0 2px 8px rgba(0,0,0,.1)}.schedule-grid{display:flex;flex-direction:column;gap:2rem;margin-bottom:2rem}.section-title{color:#2d3748;background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:1.25rem 1.75rem;margin-bottom:1.5rem;font-size:1.4rem;font-weight:700;border-radius:16px;border:none;border-left:5px solid #7c3aed;box-shadow:0 4px 15px rgba(0,0,0,.08);transition:all .3s ease;position:relative;overflow:hidden}.section-title:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(45deg,transparent 30%,hsla(0,0%,100%,.3) 50%,transparent 70%);transform:translateX(-100%);transition:transform .6s ease}.section-title:hover:before{transform:translateX(100%)}.section-title:hover{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border-left-color:#6d28d9;transform:translateX(8px);box-shadow:0 6px 20px rgba(0,0,0,.12)}.ts-section .section-title,.ts-section h2{border-left-color:#059669}.ts-section .section-title:hover,.ts-section h2:hover{border-left-color:#047857}.cs-section .section-title,.cs-section h2{border-left-color:#dc2626}.cs-section .section-title:hover,.cs-section h2:hover{border-left-color:#b91c1c}.schedule-section h2{color:#2d3748;background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:1.25rem 1.75rem;margin-bottom:1.5rem;font-size:1.4rem;font-weight:700;border-radius:16px;border:none;border-left:5px solid #7c3aed;box-shadow:0 4px 15px rgba(0,0,0,.08);transition:all .3s ease;margin-top:0;position:relative;overflow:hidden}.schedule-section h2:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:linear-gradient(45deg,transparent 30%,hsla(0,0%,100%,.3) 50%,transparent 70%);transform:translateX(-100%);transition:transform .6s ease}.schedule-section h2:hover:before{transform:translateX(100%)}.schedule-section h2:hover{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);transform:translateX(8px);box-shadow:0 6px 20px rgba(0,0,0,.12)}.category-title{border-bottom:1px solid #e2e8f0;padding-bottom:.4rem;color:#4a5568;font-weight:600}p{margin-bottom:10px}.container{max-width:1200px;margin:0 auto;padding:2rem;min-height:100vh;animation:fadeInUp .6s ease-out;background:#fff}.main-header{text-align:center;margin-bottom:2rem;padding:2rem 0;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#2d3748;box-shadow:0 1px 3px rgba(0,0,0,.1)}.main-header h1{margin:0 0 1.5rem;font-size:2rem;font-weight:600;color:#2d3748;animation:none}form{background:hsla(0,0%,100%,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:2rem;border-radius:20px;border:1px solid hsla(0,0%,100%,.2);margin-bottom:2rem;box-shadow:0 8px 32px rgba(0,0,0,.1);transition:all .3s ease}form:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(0,0,0,.15)}form label{display:block;margin-bottom:8px;font-weight:700;color:#555}form input[type=file],form input[type=text],form select{width:calc(100% - 20px);padding:10px;margin-bottom:15px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box}form button{background:#667eea;color:#fff;padding:.75rem 2rem;border:none;border-radius:12px;cursor:pointer;font-size:1rem;font-weight:600;transition:all .3s ease;box-shadow:0 4px 20px rgba(102,126,234,.3);font-family:Poppins,Inter,sans-serif}form button:hover{background:#5a67d8;transform:translateY(-2px);box-shadow:0 8px 30px rgba(102,126,234,.4)}form button:active{transform:translateY(0)}form button:disabled{background:#cbd5e0;cursor:not-allowed;transform:none;box-shadow:none}.message.success{background-color:#e6ffe6;color:#28a745;border:1px solid #28a745;padding:10px;border-radius:4px;margin-bottom:15px;box-shadow:0 2px 8px rgba(40,167,69,.08)}.message.error{background-color:#ffe6e6;color:#dc3545;border:1px solid #dc3545;padding:10px;border-radius:4px;margin-bottom:15px;box-shadow:0 2px 8px rgba(220,53,69,.08)}.schedule-section-wrapper{display:block;margin-bottom:2rem}.schedule-section-wrapper:not(.download-section){display:block}.schedule-section{background:#fff;border:2px solid #e2e8f0;border-radius:20px;padding:2rem;box-shadow:0 4px 20px rgba(0,0,0,.08);transition:all .3s ease;position:relative;overflow:hidden;margin-bottom:1.5rem;animation:fadeInUp .6s ease-out var(--delay,.4s) both}.schedule-section:before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:#4f46e5;transition:all .3s ease}.ts-section:before{background:linear-gradient(90deg,#059669,#10b981)}.cs-section:before{background:linear-gradient(90deg,#dc2626,#ef4444)}.agenda-section:before{background:linear-gradient(90deg,#7c3aed,#8b5cf6)}.schedule-section:hover{border-color:#667eea;box-shadow:0 8px 30px rgba(102,126,234,.15);transform:translateY(-4px)}.schedule-section:first-child{--delay:0.4s}.schedule-section:nth-child(2){--delay:0.6s}.schedule-section.full-width{--delay:0.8s}.download-section-wrapper{margin-top:3rem;animation:fadeInUp .6s ease-out 1s both}.current-shift-info{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;padding:1.5rem;border-radius:16px;margin-bottom:1.5rem;font-size:1.1em;box-shadow:0 8px 32px rgba(102,126,234,.3);transition:all .3s ease}.current-shift-info:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(102,126,234,.4)}.current-shift-info strong{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.1)}table{width:100%;border-collapse:separate;border-spacing:0;margin-top:1rem;background-color:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.08);border:2px solid #e2e8f0;transition:all .3s ease}table:hover{border-color:#667eea;box-shadow:0 8px 30px rgba(102,126,234,.15);transform:translateY(-2px)}table td,table th{padding:1rem 1.25rem;text-align:left;border:none;border-bottom:1px solid rgba(226,232,240,.6);transition:all .2s ease}table th{background:linear-gradient(135deg,#4f46e5,#7c3aed);color:#fff;font-weight:600;text-transform:uppercase;font-size:.85rem;letter-spacing:.05em;border-bottom:none;position:relative;text-shadow:0 1px 2px rgba(0,0,0,.1)}.ts-section table th{background:linear-gradient(135deg,#059669,#10b981)}.cs-section table th{background:linear-gradient(135deg,#dc2626,#ef4444)}.agenda-section table th{background:linear-gradient(135deg,#7c3aed,#8b5cf6)}table th:first-child{border-top-left-radius:16px}table th:last-child{border-top-right-radius:16px}table tr:last-child td:first-child{border-bottom-left-radius:16px}table tr:last-child td:last-child{border-bottom-right-radius:16px}table tr:last-child td{border-bottom:none}table tr:nth-child(2n){background:linear-gradient(135deg,#f8fafc,#f1f5f9)}table tr:hover{background:linear-gradient(135deg,#e2e8f0,#cbd5e0);transition:all .2s ease;transform:scale(1.01)}table td{font-size:.95rem;color:#4a5568}table td b{color:#2d3748;font-weight:600}.today-highlight td{background:linear-gradient(135deg,#fef3c7,#fde68a)!important;border-left:5px solid #f59e0b;position:relative;font-weight:500}.today-highlight td:first-child{font-weight:700;color:#92400e}.today-highlight td:first-child:after{content:"🔥";margin-left:.5rem;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.1)}}.debug-result-box{border:1px solid #ccc;padding:15px;border-radius:8px;background-color:#f9f9f9;margin-top:20px}.debug-result-box pre{background-color:#eee;padding:10px;border-radius:4px;overflow-x:auto}.main-footer{text-align:center;margin-top:3rem;padding:2rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#4a5568}.main-footer p{margin:0;font-size:.9rem}.main-footer a{color:#667eea;text-decoration:none;font-weight:500;transition:color .2s ease}.main-footer a:hover{color:#5a67d8;text-decoration:underline}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.05);margin-bottom:2rem;background:#fff;border:2px solid #e2e8f0}.loading-state{text-align:center;padding:3rem;font-size:1.1rem;color:#718096;background:#fff;border-radius:16px;border:2px solid #e2e8f0;position:relative;display:flex;flex-direction:column;align-items:center;gap:1rem}.loading-spinner{width:40px;height:40px;border:3px solid #e2e8f0;border-top-color:#667eea;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.loading-state:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#667eea,#764ba2);border-radius:16px 16px 0 0;animation:loadingBar 2s ease-in-out infinite}@keyframes loadingBar{0%{transform:translateX(-100%)}50%{transform:translateX(0)}to{transform:translateX(100%)}}.loading-dots{display:inline-flex;align-items:center;gap:6px}.loading-dots span{width:8px;height:8px;border-radius:50%;background:#667eea;animation:loadingDots 1.4s ease-in-out infinite both}.loading-dots span:first-child{animation-delay:-.32s}.loading-dots span:nth-child(2){animation-delay:-.16s}.loading-dots span:nth-child(3){animation-delay:0s}@keyframes loadingDots{0%,80%,to{transform:scale(.8);opacity:.5}40%{transform:scale(1);opacity:1}}.empty-state{text-align:center;padding:3rem;color:#718096;background:#fff;border-radius:16px;border:2px solid #e2e8f0;display:flex;flex-direction:column;align-items:center;gap:1rem}.empty-icon{font-size:3rem;opacity:.7}@media (max-width:768px){body{padding:0}.container{margin:0;padding:1rem}.main-header{padding:1.5rem 1rem;margin-bottom:1.5rem}.main-header h1{font-size:1.5rem;margin-bottom:1rem}.table-of-contents{flex-direction:column;gap:.5rem;text-align:center}.table-of-contents a{padding:1rem}.period-controls{gap:1rem;padding:1.5rem;max-width:none}.period-control,.period-controls{flex-direction:column;align-items:stretch}.period-control{gap:.5rem}.period-control input[type=number],.period-control select{width:100%}.schedule-grid{gap:1.5rem}.schedule-section{padding:1.5rem;margin-bottom:1.5rem;border-radius:16px}.schedule-section-wrapper{gap:1.5rem}table{font-size:.85rem;border-radius:12px}table td,table th{padding:.75rem;font-size:.8rem}.current-shift-info{font-size:1rem;padding:1.25rem}.empty-state,.loading-state{padding:2rem}.empty-icon{font-size:2.5rem}.auth-wrapper{padding:1rem .75rem;min-height:100vh;min-height:100dvh}.auth-card{max-width:100%;padding:2rem 1.5rem;border-radius:20px;margin:0}.auth-icon{width:70px;height:70px;border-radius:18px;margin-bottom:1.25rem}.auth-card h1{font-size:1.5rem;margin-bottom:.75rem}.auth-subtitle{font-size:.9rem;margin-bottom:1.75rem;padding:0 .5rem}.auth-form{gap:1.25rem}.auth-input{padding:.875rem .875rem .875rem 2.75rem;font-size:16px;border-radius:14px}.input-icon{left:.875rem}.btn-primary{padding:.875rem 1.25rem;font-size:1rem;border-radius:14px;min-height:52px}.alert-error{padding:.875rem;border-radius:14px;font-size:.9rem}.auth-footer{margin-top:1.5rem;padding-top:1.25rem}.auth-footer p{font-size:.8rem;padding:0 .5rem}}@media (max-width:480px){.auth-wrapper{padding:.75rem .5rem}.auth-card{padding:1.75rem 1.25rem;border-radius:18px}.auth-icon{width:60px;height:60px;border-radius:16px;margin-bottom:1rem}.auth-card h1{font-size:1.375rem}.auth-subtitle{font-size:.875rem;margin-bottom:1.5rem}.auth-input{padding:.8rem .8rem .8rem 2.5rem;border-radius:12px}.input-icon{left:.8rem}.btn-primary{padding:.8rem 1rem;border-radius:12px;min-height:48px}.alert-error{padding:.8rem;border-radius:12px}}@media (max-width:768px) and (orientation:landscape){.auth-wrapper{padding:.75rem}.auth-card{max-width:480px;padding:1.5rem}.auth-icon{width:60px;height:60px;margin-bottom:1rem}.auth-card h1{font-size:1.375rem;margin-bottom:.5rem}.auth-subtitle{margin-bottom:1.25rem}.auth-form{gap:1rem}.auth-footer{margin-top:1.25rem;padding-top:1rem}}@media (min-width:769px){.schedule-section-wrapper{display:block}.schedule-section.full-width{width:100%}table{font-size:.95rem;border-radius:16px}.schedule-section table{width:100%;margin:0;border-radius:16px}}