html,body,#root{width:100%;height:100%;margin:0;padding:0;font-family:Plus Jakarta Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-theme=dark]{--bg: #050505;--card-bg: #0b0b0b;--text: #ffffff;--muted: #9aa7b8;--border: #1b1b1b;--hover: #111213;--shadow: rgba(0, 0, 0, .6)}.theme-toggle{position:fixed;top:16px;right:16px;z-index:9999;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--card-bg);color:var(--text);border:1px solid var(--border);cursor:pointer;box-shadow:0 6px 18px var(--shadow);transition:background .25s ease,color .25s ease,transform .15s ease}.theme-toggle:hover{transform:scale(1.05)}.theme-toggle svg{width:18px;height:18px;display:block}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--bg)}::-webkit-scrollbar-thumb{background:var(--border);border-radius:6px}[data-theme=dark] ::-webkit-scrollbar-thumb{background:#2a2a2a}:root{--bg: #f7fbff;--card-bg: #ffffff;--text: #0b3a66;--muted: #5b7fa6;--border: #d6ebff;--hover: #eaf6ff;--shadow: rgba(10, 40, 80, .08)}[data-theme=dark]{--bg: #050505;--card-bg: #0b0b0b;--text: #ffffff;--muted: #98a9bf;--border: #1b1b1b;--hover: #111213;--shadow: rgba(0, 0, 0, .6)}body{background:var(--bg);color:var(--text);transition:background .25s ease,color .25s ease}.routines-container{max-width:1200px;margin:2rem auto;padding:0 1rem}.routines-header{text-align:center;margin-bottom:2rem}.routines-header h1{font-size:2.4rem;font-weight:700;color:var(--text)}.routines-header p{color:var(--muted);font-weight:500}.routine-toolbar{display:flex;align-items:center;gap:16px;margin-bottom:1.5rem}.routine-select{width:320px}.routine-select__control{min-height:44px;border-radius:999px;border:2px solid var(--border);background:var(--card-bg);box-shadow:none;padding-left:6px}.routine-select__control--is-focused{border-color:#4f8cff;box-shadow:0 0 0 3px #4f8cff59}.routine-select__single-value{color:var(--text);font-weight:600}.routine-select__placeholder,.routine-select__indicator{color:var(--muted)}.routine-select__indicator-separator{display:none}.routine-select__menu{background:var(--card-bg);border-radius:14px;box-shadow:0 12px 32px var(--shadow);border:1px solid var(--border);overflow:hidden}.routine-select__menu-list{padding:6px}.routine-select__option{border-radius:10px;padding:10px 12px;color:var(--text);cursor:pointer}.routine-select__option--is-focused{background:var(--hover)}.routine-select__option--is-selected{background:#cfe6ff;color:#0b3a66;font-weight:600}[data-theme=dark] .routine-select__control,[data-theme=dark] .routine-select__menu{background:#0b0b0b;border-color:#222}[data-theme=dark] .routine-select__option--is-focused{background:#161616}[data-theme=dark] .routine-select__option--is-selected{background:#1f3a5f;color:#fff}.table-container{background:var(--card-bg);border-radius:14px;padding:1.5rem;border:1px solid var(--border);box-shadow:0 10px 30px var(--shadow)}.table-title{text-align:center;font-size:1.8rem;font-weight:700;margin-bottom:1.5rem}.table-wrapper{overflow-x:auto;border-radius:12px;border:1px solid var(--border);background:var(--card-bg)}.routine-table{width:100%;border-collapse:collapse;min-width:900px}.routine-table thead th{padding:12px;font-size:.85rem;font-weight:700;background:var(--hover);color:var(--text);border-bottom:1px solid var(--border);border-right:1px solid var(--border);text-align:center}.routine-table td{padding:12px;text-align:center;background:var(--card-bg);color:var(--text);border-bottom:1px solid var(--border);border-right:1px solid var(--border)}.routine-table th:last-child,.routine-table td:last-child{border-right:none}.day-column,.day-cell{background:var(--hover);color:var(--text);font-weight:700;border-right:2px solid var(--border)}.routine-table th.day-column,.routine-table td.day-cell{background:var(--hover)!important;color:var(--text)!important}.routine-table th.day-column *,.routine-table td.day-cell *{color:inherit}.routine-table tr:hover td{background:var(--hover)}.cell-content{display:flex;flex-direction:column;gap:2px}.subject-name{font-weight:700}.subject-code,.teacher-name,.room-name{font-size:.75rem;color:var(--muted)}.cell-empty{color:var(--muted);font-style:italic}.lunch-header,.lunch-cell{background:#fff7e6!important;color:#9c6b1a}[data-theme=dark] .lunch-header,[data-theme=dark] .lunch-cell{background:#2b230f!important;color:#ffd98a}.loading-box{display:flex;flex-direction:column;align-items:center;gap:12px;padding:2rem 0}.loading-text{font-size:.95rem;font-weight:600;color:var(--muted)}.throbber-ring{width:36px;height:36px;border-radius:50%;border:3px solid rgba(255,255,255,.12);border-top-color:var(--text);animation:ring-spin .9s linear infinite}@keyframes ring-spin{to{transform:rotate(360deg)}}.offline-overlay{position:fixed;inset:0;background:#00000073;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:4000}.offline-dialog{background:var(--card-bg);border-radius:18px;padding:2rem 2.5rem;text-align:center;border:1px solid var(--border);box-shadow:0 20px 45px var(--shadow);animation:offlinePop .26s ease-out both}.offline-icon{font-size:2.2rem;margin-bottom:.5rem}@keyframes offlinePop{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
