/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--shadow-sm:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.mt-2{margin-top:calc(var(--spacing)*2)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.border-collapse{border-collapse:collapse}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize{resize:both}.items-center{align-items:center}.gap-2{gap:calc(var(--spacing)*2)}.border{border-style:var(--tw-border-style);border-width:1px}.p-4{padding:calc(var(--spacing)*4)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.uppercase{text-transform:uppercase}.italic{font-style:italic}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}:root{--primary-color:#667eea;--primary-gradient:linear-gradient(135deg,#667eea 0%,#764ba2 100%);--secondary-color:#f093fb;--secondary-gradient:linear-gradient(135deg,#f093fb 0%,#f5576c 100%);--accent-color:#4facfe;--success-color:#00d4aa;--warning-color:#ffb74d;--error-color:#ff6b6b;--gray-50:#fafafa;--gray-100:#f5f5f5;--gray-200:#eee;--gray-300:#e0e0e0;--gray-400:#bdbdbd;--gray-500:#9e9e9e;--gray-600:#757575;--gray-700:#616161;--gray-800:#424242;--gray-900:#212121;--space-xs:.25rem;--space-sm:.5rem;--space-md:1rem;--space-lg:1.5rem;--space-xl:2rem;--space-2xl:3rem;--radius-sm:.375rem;--radius-md:.5rem;--radius-lg:.75rem;--radius-xl:1rem;--shadow-sm:0 1px 2px 0 #0000000d;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;--shadow-xl:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color-scheme:light;color:var(--gray-800);background-color:var(--gray-50);font-family:Inter,SF Pro Display,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;font-weight:400;line-height:1.6}*{box-sizing:border-box}body{background:var(--gray-50);min-width:320px;min-height:100vh;color:var(--gray-800);margin:0;font-family:inherit}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--gray-100);border-radius:var(--radius-sm)}::-webkit-scrollbar-thumb{background:var(--gray-300);border-radius:var(--radius-sm)}::-webkit-scrollbar-thumb:hover{background:var(--gray-400)}:focus{outline:2px solid var(--primary-color);outline-offset:2px}button{font:inherit;cursor:pointer;outline:inherit;background:0 0;border:none;padding:0}.ant-layout{background:var(--gray-50)!important}.ant-layout-header{-webkit-backdrop-filter:blur(20px)!important;backdrop-filter:blur(20px)!important;border-bottom:1px solid var(--gray-200)!important;background:#fffc!important}.ant-layout-sider{-webkit-backdrop-filter:blur(20px)!important;backdrop-filter:blur(20px)!important;border-right:1px solid var(--gray-200)!important;background:#fffffff2!important}.ant-menu{background:0 0!important;border:none!important}.ant-menu-item{border-radius:var(--radius-md)!important;margin:2px 8px!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important}.ant-menu-item:hover{transform:translate(2px);color:var(--gray-800)!important;background:#667eea1a!important}.ant-menu-item-selected{background:var(--primary-gradient)!important;color:#fff!important}.ant-menu-item-selected .anticon,.ant-menu-item-selected span{color:#fff!important}.ant-menu-inline-collapsed .ant-menu-item{margin:4px 8px!important;padding-left:16px!important;padding-right:16px!important}.ant-menu-inline-collapsed .ant-menu-item-selected{background:var(--primary-gradient)!important}.ant-menu-inline-collapsed .ant-menu-item:hover{transform:scale(1.05);color:var(--gray-800)!important;background:#667eea1a!important}.ant-menu-inline-collapsed .ant-menu-item .ant-menu-title-content{opacity:0!important;transition:opacity .3s!important}.ant-menu-inline-collapsed .ant-menu-item:hover .ant-menu-title-content{opacity:1!important}.ant-card{border-radius:var(--radius-lg)!important;border:1px solid var(--gray-200)!important;box-shadow:var(--shadow-sm)!important;transition:all .3s cubic-bezier(.4,0,.2,1)!important}.ant-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)!important}.ant-btn{border-radius:var(--radius-md)!important;font-weight:500!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important}.ant-btn-primary{background:var(--primary-gradient)!important;box-shadow:var(--shadow-md)!important;border:none!important}.ant-btn-primary:hover{box-shadow:var(--shadow-lg)!important;transform:translateY(-1px)!important}.ant-table{border-radius:var(--radius-lg)!important}.ant-table-thead>tr>th{background:var(--gray-50)!important;border-bottom:2px solid var(--gray-200)!important;font-weight:600!important}.ant-input,.ant-select-selector{border-radius:var(--radius-md)!important;border:1px solid var(--gray-300)!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important}.ant-input:focus,.ant-select-focused .ant-select-selector{border-color:var(--primary-color)!important;box-shadow:0 0 0 2px #667eea1a!important}.glass-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-radius:var(--radius-xl);background:#ffffff40;border:1px solid #fff3}.gradient-text{background:var(--primary-gradient);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.fade-in{animation:.6s cubic-bezier(.4,0,.2,1) fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.slide-up{animation:.5s cubic-bezier(.4,0,.2,1) slideUp}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.quick-action-card:hover{transform:translateY(-2px)!important;box-shadow:0 8px 15px -3px #0000001a!important}.admin-user-button:hover{transform:translateY(-2px)!important;box-shadow:0 8px 20px #00000026!important}.admin-user-button:hover .ant-space>div:last-child{transform:rotate(180deg)!important}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.8;transform:scale(1.1)}}@keyframes ping{0%{opacity:1;transform:scale(1)}75%,to{opacity:0;transform:scale(2)}}@keyframes glow{0%{box-shadow:0 0 2px #667eea80}to{box-shadow:0 0 6px #667eeacc,0 0 12px #764ba299}}.admin-user-button{position:relative;overflow:hidden}.admin-user-button:before{content:"";background:linear-gradient(90deg,#0000,#fff3,#0000);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}.admin-user-button:hover:before{left:100%}.admin-user-button:hover .admin-bg-effect{opacity:1!important}.admin-status-indicator{position:relative}.admin-status-indicator:after{content:"";border:2px solid #00d4aa4d;border-radius:50%;width:120%;height:120%;animation:2s infinite statusPulse;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(0)}@keyframes statusPulse{0%{opacity:1;transform:translate(-50%,-50%)scale(0)}70%{opacity:.5;transform:translate(-50%,-50%)scale(1)}to{opacity:0;transform:translate(-50%,-50%)scale(1.2)}}.ant-dropdown .ant-dropdown-menu{border-radius:20px!important;padding:8px!important;overflow:hidden!important}.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item{border-radius:12px!important;margin:2px 0!important;transition:all .2s cubic-bezier(.4,0,.2,1)!important}.ant-dropdown .ant-dropdown-menu .ant-dropdown-menu-item:hover{background:linear-gradient(135deg,#667eea14,#764ba214)!important;transform:translate(2px)!important}@media (max-width:768px){.admin-user-button{padding:10px 12px!important}.admin-user-button .ant-avatar{width:32px!important;height:32px!important}.admin-user-button .ant-space{gap:8px!important}.ant-layout-content{padding:12px 8px!important}.ant-table-wrapper{overflow-x:auto!important}.ant-table{min-width:600px!important}.ant-form-item{margin-bottom:16px!important}.ant-btn{min-width:44px!important;min-height:44px!important}.ant-modal{max-width:calc(100vw - 16px)!important;margin:8px!important}.ant-modal-content{border-radius:12px!important}.ant-card{margin:8px 0!important}.ant-card-body{padding:16px!important}.ant-menu-item{border-radius:8px!important;margin:4px 8px!important}.mobile-drawer{width:280px!important}}@media (min-width:769px) and (max-width:1024px){.ant-layout-sider{width:200px!important}.ant-layout-sider-collapsed{width:72px!important}}@media (pointer:coarse){.ant-btn{min-width:44px!important;min-height:44px!important}.ant-input,.ant-select-selector{min-height:44px!important}.ant-menu-item{margin:4px 8px!important;padding:12px 16px!important}}@media (max-width:896px) and (orientation:landscape){.ant-layout-header{height:48px!important}.ant-layout-content{margin-top:48px!important}}@media (max-width:480px){.ant-modal{max-width:calc(100vw - 8px)!important;margin:4px!important}.ant-card-body{padding:12px!important}.ant-form-item-label{text-align:left!important}.mobile-hide-480{display:none!important}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.routine-grid-wrapper{width:100%}.routine-grid-card{overflow-x:auto;margin-bottom:16px}.routine-grid-container{min-width:100%;overflow-x:auto}.routine-grid-table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;border:2px solid #666666;border-radius:0;overflow:hidden;background-color:#fff}.routine-cell{position:relative;transition:background-color .2s ease}.routine-cell:hover{background-color:#f9f9f9!important}.routine-cell.empty-content:hover{background-color:#f5f5f5!important}.routine-cell.multi-group{position:relative;background:#fff!important;border:2px solid #d9d9d9!important}.routine-cell.multi-group:hover{background:#f9f9f9!important;border:2px solid #bfbfbf!important}.routine-cell.multi-group.alternate-weeks{background:#fff!important;border:2px solid #d9d9d9!important}.routine-cell.multi-group.alternate-weeks:hover{background:#f9f9f9!important;border:2px solid #bfbfbf!important}.multi-period-master-cell{position:relative;background:#fff!important;border:2px solid #d9d9d9!important;vertical-align:middle!important;text-align:center!important}.span-marker{position:absolute;top:4px;left:4px;background:#333;color:#fff;padding:2px 6px;font-size:11px;border-radius:3px;font-weight:700}.multi-period-indicator{position:absolute;top:8px;left:8px;background:#666666e6;color:#fff;padding:4px 8px;font-size:12px;font-weight:700;border-radius:12px;text-transform:uppercase;letter-spacing:.5px;z-index:20}.single-period-cell{border:1px solid #d9d9d9}.multi-period-content{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;height:100%;position:relative;padding:16px}.span-marker{position:absolute;top:2px;right:2px;width:8px;height:8px;background:#666;border-radius:50%;opacity:.8}.routine-grid-table thead th{background:#fff;border:1px solid #c0c0c0;padding:12px;text-align:center;font-weight:600;color:#333;position:sticky;top:0;z-index:15;font-size:14px}.routine-grid-table thead th:first-child{position:sticky;left:0;top:0;z-index:25;background:#fff;width:150px;min-width:150px;max-width:150px;font-size:15px;font-weight:600}.routine-grid-table thead th:last-child{border-right:1px solid #c0c0c0}.day-row{border-bottom:1px solid #f0f0f0;background-color:#fff}.day-row:hover{background-color:#f8f9fa}.day-cell{background:#fafafa!important;border-right:1px solid #d9d9d9;position:sticky;left:0;z-index:5;box-shadow:2px 0 4px #0000001a}.routine-grid-table thead th:last-child{border-right:none}.day-header{background:#fafafa!important;min-width:120px;position:sticky;left:0;z-index:11}.time-slot-header{min-width:180px;max-width:200px}.time-slot-info{display:flex;flex-direction:column;gap:4px}.slot-label{font-weight:600;color:#333}.time-display{font-size:11px;color:#666}.day-row{border-bottom:1px solid #c0c0c0}.day-row:hover{background-color:#f9f9f9}.day-name{font-size:14px;font-weight:700;color:#333}.day-index{font-size:12px;color:#999;margin-top:2px}.class-cell-container{border-right:1px solid #e8e8e8;padding:4px;height:120px;vertical-align:top;position:relative;cursor:pointer;transition:background-color .2s ease;background-color:#fff}.class-cell-container:last-child{border-right:none}.class-cell-container:hover{background-color:#f8f9fa}.empty-cell-container{background-color:#fafafa}.empty-cell-container:hover{background-color:#f5f5f5}.has-class{background-color:#fff;border-left:2px solid #d9d9d9}.break-cell-container{background-color:#f5f5f5;cursor:not-allowed;text-align:center;padding:8px;color:#666;font-style:italic}.break-cell-container:hover{background-color:#f5f5f5}.empty-cell{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.add-class-btn{border-style:dashed;color:#666;border-color:silver;font-size:12px;height:30px;background:transparent}.add-class-btn:hover{background-color:#f9f9f9;border-color:#d9d9d9;color:#666}.break-cell{display:flex;align-items:center;justify-content:center;height:100%;width:100%}.break-label{color:#666;font-weight:500;font-size:12px;text-transform:capitalize}.class-cell{height:100%;width:100%;padding:6px;display:flex;flex-direction:column;gap:4px}.class-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.class-type-tag{font-size:12px;font-weight:500;padding:2px 6px;border-radius:4px;margin:0;background:#f5f5f5;color:#666;border:1px solid #e8e8e8}.edit-btn{padding:2px;height:20px;width:20px;color:#999;border:none;background:transparent}.edit-btn:hover{color:#666;background-color:#f8f9fa}.class-content{flex:1;display:flex;flex-direction:column;gap:3px}.subject-info{margin-bottom:4px}.subject-name{font-weight:600;font-size:13px;color:#262626;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}.subject-code{font-size:12px;color:#999;margin-top:2px}.class-details{flex:1;display:flex;flex-direction:column;gap:2px}.teacher-info,.room-info,.notes-info{display:flex;flex-direction:column;gap:1px}.teacher-info .label,.room-info .label,.notes-info .label{font-size:11px;color:#999;font-weight:500;text-transform:uppercase;letter-spacing:.3px}.teacher-info .value,.room-info .value,.notes-info .value{font-size:12px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.grid-legend{background:#fafafa;border-top:1px solid #e8e8e8}.legend-content{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.legend-title{font-weight:600;color:#333;margin-right:8px}.legend-items{display:flex;gap:12px;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:4px;font-size:12px;color:#666}@media (max-width: 1200px){.routine-grid-table{font-size:11px;min-width:900px}.time-slot-header{min-width:130px;max-width:150px;padding:12px 6px}.routine-cell{height:85px;min-width:130px}.day-cell{min-width:110px;padding:12px 8px}}@media (max-width: 768px){.routine-grid-table{font-size:12px;min-width:800px}.time-slot-header{min-width:120px;max-width:130px;padding:10px 4px}.routine-cell{height:80px;min-width:120px}.day-cell{min-width:100px;padding:10px 6px;font-size:11px}.routine-grid-table thead th{padding:12px 8px;font-size:12px}}@media (max-width: 480px){.routine-grid-container{margin:0 -12px}.routine-grid-table{font-size:11px;min-width:700px}.time-slot-header{min-width:100px;max-width:110px;padding:8px 2px}.routine-cell{height:75px;min-width:100px}.day-cell{min-width:80px;padding:8px 4px;font-size:12px}}@media print{.routine-grid-table{font-size:8px;border:2px solid #000;background:#fff!important}.routine-grid-table thead th{background:#f0f0f0!important;border:1px solid #000!important;color:#000!important;padding:8px 4px;font-size:8px}.routine-cell{height:60px;border:1px solid #000!important;background:#fff!important}.day-cell{background:#f0f0f0!important;border:1px solid #000!important;color:#000!important;font-size:8px}.break-cell{background:#f5f5f5!important;border:1px solid #000!important}.routine-actions,.add-class-btn,.span-marker{display:none!important}*{color:#000!important}}.routine-grid-table td{border:1px solid #c0c0c0;position:relative;min-width:160px;width:auto}.routine-grid-table td.day-cell{background:#f5f5f5;width:150px;min-width:150px;max-width:150px;position:sticky;left:0;z-index:10;font-size:13px;font-weight:600}.routine-grid-table td:not(.day-cell){z-index:1}.multi-period-cell+.multi-period-cell{border-left:none!important}@media (max-width: 768px){.ant-card{margin-bottom:16px!important}.ant-card-body{padding:16px!important}.ant-card-head{padding:12px 16px!important;min-height:auto!important}.ant-card-head-title{font-size:16px!important;padding:0!important}.ant-statistic{text-align:center!important}.ant-statistic-title{font-size:12px!important;margin-bottom:4px!important}.ant-statistic-content{font-size:20px!important}.ant-list-item{padding:12px 0!important;flex-direction:column!important;align-items:flex-start!important}.ant-list-item-meta{margin-bottom:8px!important}.ant-list-item-action{margin-left:0!important;margin-top:8px!important}.ant-btn{min-height:44px!important;padding:8px 16px!important;font-size:14px!important}.ant-btn-sm{min-height:36px!important;padding:6px 12px!important;font-size:12px!important}.ant-select{font-size:16px!important}.ant-select-selector{min-height:44px!important;padding:8px 11px!important}.ant-input{min-height:44px!important;padding:8px 11px!important;font-size:16px!important}.ant-input-affix-wrapper{min-height:44px!important;padding:8px 11px!important}.ant-typography h1{font-size:24px!important;margin-bottom:16px!important}.ant-typography h2{font-size:20px!important;margin-bottom:12px!important}.ant-typography h3{font-size:18px!important;margin-bottom:8px!important}.ant-typography h4{font-size:16px!important;margin-bottom:8px!important}}@media (min-width: 768px) and (max-width: 1024px){.ant-card-body{padding:20px!important}.ant-btn{min-height:40px!important;padding:6px 14px!important}.ant-select-selector,.ant-input{min-height:40px!important}}@media (max-width: 768px){.dashboard-header{padding:20px 16px!important;margin-bottom:20px!important}.dashboard-stats .ant-col{margin-bottom:16px!important}.dashboard-content .ant-col{margin-bottom:20px!important}.quick-actions-list .ant-list-item{padding:16px!important;border-radius:8px!important;background:#f9f9f9!important;margin-bottom:8px!important}.getting-started-mobile .step-card{background:#fafafa!important;border:1px solid #e5e5e5!important;border-radius:8px!important;padding:12px!important;margin-bottom:8px!important;display:flex!important;align-items:flex-start!important;gap:12px!important}.getting-started-mobile .step-card.active{background:#f0f9ff!important;border-color:#0ea5e9!important}.getting-started-mobile .step-number{width:28px!important;height:28px!important;border-radius:50%!important;background:#d1d5db!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:12px!important;font-weight:700!important;flex-shrink:0!important}.getting-started-mobile .step-number.active{background:#0ea5e9!important}.getting-started-mobile .step-content{flex:1!important}.getting-started-mobile .step-title{font-weight:600!important;font-size:14px!important;color:#1f2937!important;margin-bottom:4px!important;line-height:1.3!important}.getting-started-mobile .step-description{font-size:12px!important;color:#6b7280!important;line-height:1.4!important;margin:0!important}.getting-started-mobile .tip-card{text-align:center!important;margin-top:12px!important;padding:8px!important;background:#f8fafc!important;border-radius:6px!important;font-size:11px!important;color:#64748b!important}.mobile-quick-action-btn{height:56px!important;border-radius:12px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;text-align:left!important;margin-bottom:8px!important}.mobile-quick-action-content{margin-left:8px!important;text-align:left!important}.mobile-quick-action-title{font-weight:600!important;font-size:14px!important;margin-bottom:2px!important}.mobile-quick-action-desc{font-size:12px!important;opacity:.8!important}.dashboard-mobile-actions{position:fixed!important;bottom:20px!important;right:20px!important;z-index:1000!important}.dashboard-stats .ant-statistic{text-align:center!important}.dashboard-stats .ant-statistic-title{font-size:11px!important;margin-bottom:2px!important}.dashboard-stats .ant-statistic-content{font-size:18px!important}.dashboard-welcome{padding:16px!important;text-align:center!important}.dashboard-welcome h1{font-size:22px!important;margin-bottom:8px!important}.dashboard-welcome p{font-size:13px!important;margin-bottom:16px!important}}@media (max-width: 768px){.ant-table-wrapper{overflow-x:auto!important}.ant-table{min-width:600px!important}.ant-table-thead>tr>th{padding:8px 6px!important;font-size:12px!important}.ant-table-tbody>tr>td{padding:8px 6px!important;font-size:12px!important}.ant-table-thead>tr>th:nth-child(n+4),.ant-table-tbody>tr>td:nth-child(n+4){display:none!important}.mobile-table .ant-table-thead>tr>th:nth-child(-n+3),.mobile-table .ant-table-tbody>tr>td:nth-child(-n+3){display:table-cell!important}}@media (max-width: 768px){.routine-grid-container{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.routine-grid table{min-width:800px!important;font-size:10px!important}.routine-grid th,.routine-grid td{padding:4px 2px!important;font-size:10px!important;line-height:1.2!important}.routine-grid .time-slot{min-width:60px!important}.routine-grid .class-cell{min-width:80px!important;max-width:120px!important}}@media (max-width: 768px){.ant-form-item{margin-bottom:16px!important}.ant-form-item-label{padding-bottom:4px!important}.ant-form-item-label>label{font-size:14px!important;font-weight:500!important}.ant-modal{padding:16px!important;margin:0!important;top:20px!important}.ant-modal-content{border-radius:12px!important}.ant-modal-header{padding:16px 20px 12px!important}.ant-modal-body{padding:16px 20px!important;max-height:calc(100vh - 200px)!important;overflow-y:auto!important}.ant-modal-footer{padding:12px 20px 16px!important}}@media (max-width: 768px){.ant-space{width:100%!important}.ant-space-item{display:block!important;width:100%!important;margin-bottom:8px!important}.ant-space-horizontal .ant-space-item:not(:last-child){margin-right:0!important;margin-bottom:8px!important}.mobile-stack .ant-row{flex-direction:column!important}.mobile-stack .ant-col{width:100%!important;max-width:100%!important;flex:none!important}}@media (max-width: 768px){.ant-tag{font-size:12px!important;padding:2px 6px!important;margin:2px!important}.ant-avatar{width:32px!important;height:32px!important;font-size:14px!important}.ant-avatar-lg{width:40px!important;height:40px!important;font-size:16px!important}}@media (max-width: 768px){.ant-alert{padding:12px 16px!important;margin-bottom:16px!important}.ant-alert-message{font-size:14px!important;margin-bottom:4px!important}.ant-alert-description{font-size:12px!important}}@media (max-width: 768px){.ant-dropdown{width:100%!important}.ant-dropdown-menu{min-width:200px!important}.ant-dropdown-menu-item{padding:12px 16px!important;font-size:14px!important}}@media (max-width: 768px){.ant-spin-container{min-height:200px!important}.ant-progress{margin-bottom:16px!important}.ant-progress-text{font-size:12px!important}}@media (max-width: 768px){.admin-page-header{padding:16px 0!important}.admin-page-header .ant-typography h1{font-size:20px!important;margin-bottom:8px!important}.admin-actions{flex-direction:column!important;align-items:stretch!important}.admin-actions .ant-btn{width:100%!important;margin-bottom:8px!important;margin-right:0!important}.admin-filters{flex-direction:column!important}.admin-filters .ant-select,.admin-filters .ant-input-search{width:100%!important;margin-bottom:8px!important}}@media (max-width: 768px){.routine-controls{flex-direction:column!important;gap:12px!important}.routine-controls .ant-select{width:100%!important}.routine-actions{flex-wrap:wrap!important;gap:8px!important}.routine-actions .ant-btn{flex:1!important;min-width:calc(50% - 4px)!important}}@media (max-width: 768px){.teacher-selector{width:100%!important;margin-bottom:16px!important}.teacher-info{text-align:center!important;padding:16px!important}.teacher-info .ant-avatar{margin-bottom:8px!important}}.mobile-hidden{display:none!important}.mobile-full-width{width:100%!important}.mobile-center{text-align:center!important}.mobile-stack-vertical{flex-direction:column!important}.mobile-no-margin{margin:0!important}.mobile-small-padding{padding:8px!important}@media (min-width: 769px){.mobile-hidden{display:block!important}.desktop-hidden{display:none!important}}@media (max-width: 480px){.ant-card-body{padding:12px!important}.ant-btn{font-size:12px!important;padding:6px 12px!important}.ant-typography h1{font-size:20px!important}.ant-typography h2{font-size:18px!important}.ant-table-thead>tr>th:nth-child(n+3),.ant-table-tbody>tr>td:nth-child(n+3){display:none!important}.routine-grid table{font-size:8px!important}.routine-grid th,.routine-grid td{padding:2px 1px!important;font-size:8px!important}}@media (hover: none) and (pointer: coarse){.ant-btn:hover,.ant-card:hover{transform:none!important}.ant-btn,.ant-select-selector,.ant-input,button,[role=button]{min-height:44px!important;min-width:44px!important}}@media screen and (max-height: 500px) and (orientation: landscape){.ant-modal{top:10px!important}.ant-modal-body{max-height:calc(100vh - 120px)!important}.dashboard-header{padding:12px 16px!important}}.ant-menu-inline .ant-menu-item,.ant-menu-inline-collapsed .ant-menu-item{border-radius:6px!important;margin:4px 8px!important;transition:all .2s ease!important;padding-left:24px!important;border:none!important;outline:none!important;box-shadow:none!important;height:40px!important;line-height:40px!important;width:calc(100% - 16px)!important}.ant-menu-inline-collapsed .ant-menu-item{padding:0!important;display:flex!important;justify-content:center!important;align-items:center!important}.ant-menu-inline-collapsed .ant-menu-item .ant-menu-title-content{opacity:0!important;display:none!important}.ant-menu-inline-collapsed .ant-menu-item .anticon{margin:0!important;font-size:20px!important}.ant-menu-inline .ant-menu-item:hover:not(.ant-menu-item-selected),.ant-menu-inline-collapsed .ant-menu-item:hover:not(.ant-menu-item-selected){background:#667eea1a!important;color:#333!important;transform:none!important;border:none!important;outline:none!important;box-shadow:none!important;border-radius:6px!important;margin-left:8px!important;margin-right:8px!important;width:calc(100% - 16px)!important}.ant-menu-inline .ant-menu-item-selected:hover,.ant-menu-inline-collapsed .ant-menu-item-selected:hover{background:#667eea!important;color:#fff!important}.ant-menu-inline .ant-menu-item-selected,.ant-menu-inline-collapsed .ant-menu-item-selected{background:#667eea!important;border:none!important;outline:none!important;box-shadow:none!important;font-weight:700!important;color:#fff!important;padding-left:24px!important;border-radius:6px!important;margin-left:8px!important;margin-right:8px!important;width:calc(100% - 16px)!important}.ant-menu-inline-collapsed .ant-menu-item-selected{padding:0!important}.ant-menu-inline .ant-menu-item-selected .ant-menu-title-content,.ant-menu-inline-collapsed .ant-menu-item-selected .ant-menu-title-content,.ant-menu-inline .ant-menu-item-selected .anticon,.ant-menu-inline-collapsed .ant-menu-item-selected .anticon{color:#fff!important}.ant-menu-inline .ant-menu-item-selected:after,.ant-menu-inline-collapsed .ant-menu-item-selected:after{display:none!important}.ant-menu-item-group-title{position:relative!important;padding-left:24px!important;color:#667eea!important;font-weight:600!important;font-size:12px!important;letter-spacing:.5px!important;text-transform:uppercase!important}.ant-menu-item:hover:not(.ant-menu-item-selected) span,.ant-menu-item:hover:not(.ant-menu-item-selected) .ant-menu-title-content{color:#333!important}.ant-menu-item,.ant-menu-item-selected,.ant-menu-item:hover,.ant-menu-item:focus{border:none!important;outline:none!important;box-shadow:none!important}.ant-menu.ant-menu-inline{border-right:none!important}.ant-menu-item:before,.ant-menu-item:after{display:none!important}.ant-layout-sider{box-shadow:none!important}.ant-menu-inline .ant-menu-item:hover:not(.ant-menu-item-selected){padding-left:24px!important}.ant-menu-light .ant-menu-item-selected{border:none!important;box-shadow:none!important}
