*,:before,:after{box-sizing:border-box;margin:0;padding:0}body{color:#1a1a2e;background:#f8f9fb;min-height:100vh;font-family:Segoe UI,Helvetica Neue,Arial,sans-serif;overflow-x:hidden}input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}select{font-family:inherit}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#ccc;border-radius:3px}@media print{.no-print{display:none!important}body{background:#fff!important}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes fadeIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}button{transition:opacity .15s,background .15s,border-color .15s,box-shadow .15s,transform .1s}button:hover:not(:disabled){opacity:.88}button:active:not(:disabled){transform:scale(.97)}button:disabled{opacity:.5;cursor:not-allowed}input,select,textarea{transition:border-color .2s,box-shadow .2s}input:focus,select:focus,textarea:focus{box-shadow:0 0 0 2px #1a1a2e14;border-color:#1a1a2e!important}a{transition:color .15s}@keyframes pulse{0%,to{opacity:.4}50%{opacity:1}}.loading-text{animation:1.5s ease-in-out infinite pulse}.login-bg{background:linear-gradient(135deg,#1a1a2e 0%,#16213e 50%,#0f3460 100%);justify-content:center;align-items:center;min-height:100vh;display:flex}.login-card{background:#fff;border-radius:16px;width:420px;max-width:90vw;padding:40px;box-shadow:0 20px 60px #0000004d}.role-btn{cursor:pointer;text-align:left;background:#fff;border:2px solid #e8e8ef;border-radius:10px;align-items:center;gap:14px;width:100%;margin-bottom:10px;padding:14px 20px;transition:all .2s;display:flex}.role-btn:hover{background:#fffdf5;border-color:#e2b14c}.profile-card{cursor:pointer;background:#fff;border:1px solid #e8e8ef;border-radius:10px;padding:16px;transition:all .2s}.profile-card:hover{border-color:#e2b14c;box-shadow:0 4px 12px #e2b14c26}.modal-bg{z-index:300;background:#00000080;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.modal-box{background:#fff;border-radius:12px;width:560px;max-width:92vw;max-height:85vh;padding:28px;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.hamburger-btn{display:none}.sidebar-backdrop{z-index:99;cursor:default;background:#00000073;display:none;position:fixed;inset:0}@media (max-width:1141px){.period-bar{flex-wrap:wrap!important;gap:8px!important}.period-select,.class-select{min-width:unset!important;width:100%!important}.period-sel-wrap{flex:1!important;min-width:140px!important}.period-bar-search{flex:1!important;width:auto!important;min-width:0!important}.view-mode-bar{order:1;width:100%}.period-sel-wrap{order:2}.period-bar-search,.period-bar-sort,.period-bar-duration{order:3}.period-bar-progress{order:3;margin-left:auto!important}}@media (max-width:768px){.sidebar{transition:transform .25s;transform:translate(-100%)}.sidebar.sidebar-open{transform:translate(0)}.main-content{margin-left:0!important;padding:16px 12px!important}.hamburger-spacer{height:56px;display:block!important}.hamburger-btn{display:flex!important}.day-tabs-container{-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:2px;overflow-x:auto}.day-tabs-container::-webkit-scrollbar{display:none}.day-tab{flex:none!important;min-width:58px!important;max-width:70px!important}.bulk-btn{min-height:44px!important;padding:8px 12px!important}.status-chip{min-height:44px!important;padding:10px 14px!important}.student-row-inner{min-height:unset!important;flex-wrap:wrap!important;align-items:flex-start!important;padding:10px 12px!important}.student-name-cell{white-space:normal!important;flex-shrink:0!important;width:100%!important;margin-bottom:6px!important}.student-tiles-area{flex:unset!important;width:100%!important}.search-input{box-sizing:border-box!important;width:80px!important;min-width:0!important}.controls-row{flex-wrap:wrap!important}.controls-row>*{flex-shrink:1!important}.responsive-table-wrap{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.grid-2-mobile-1,.grid-3-mobile-1{grid-template-columns:1fr!important}.grid-4-mobile-2{grid-template-columns:repeat(2,1fr)!important}.sidebar-layout-mobile{grid-template-columns:1fr!important}.toolbar-mobile{flex-wrap:wrap!important;gap:8px!important}.toolbar-mobile>*{min-width:0;flex:auto!important}.full-width-mobile{width:100%!important}.card-mobile{padding:14px!important}.h1-mobile{font-size:18px!important}.tabs-scroll{-webkit-overflow-scrolling:touch;overflow-x:auto;flex-wrap:nowrap!important}.tabs-scroll::-webkit-scrollbar{display:none}.bulletin-grid{grid-template-columns:1fr!important}.bulletin-tile{transform:none!important}.student-kpi-row,.student-kpi-row-2,.student-mashkon-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}.student-hero-row{flex-wrap:wrap!important;gap:10px!important}.student-week-grid table{min-width:unset!important;font-size:11px!important}.student-week-grid th,.student-week-grid td{padding:4px 3px!important}.student-week-grid .pill{min-width:30px!important;padding:4px 5px!important;font-size:10px!important}}@media (max-width:400px){.student-kpi-row,.student-kpi-row-2,.student-mashkon-grid{grid-template-columns:1fr!important}.main-content{padding:12px 8px!important}}@keyframes skeleton-pulse{0%,to{opacity:.45}50%{opacity:.9}}.skeleton-block{background:#eeeef3;border-radius:6px;animation:1.3s ease-in-out infinite skeleton-pulse}.page-fade-in{animation:.18s forwards fadeIn}.compact-action-btn{flex-shrink:0;border-radius:10px!important;width:44px!important;height:44px!important}@media (max-width:480px){.compact-action-btn{border-radius:9px!important;width:40px!important;height:40px!important}.compact-action-btn svg{width:17px!important;height:17px!important}.compact-row-pad{gap:6px!important;padding:5px 10px!important}.compact-name{font-size:12px!important}.period-bar{padding:9px 10px!important}.period-select,.class-select{padding:6px 30px 6px 9px!important;font-size:12px!important}}@media (max-width:360px){.compact-action-btn{border-radius:8px!important;width:36px!important;height:36px!important}.compact-action-btn svg{width:15px!important;height:15px!important}}
