:root{--primary-color: #2d5a4a;--accent-color: #1e4336;--bg-color: #f6f4f0;--nav-bg-color: #ffffff;--text-primary: #2c2c2c;--text-muted: #5c5c5c;--border-color: #e5e2dc}*{box-sizing:border-box}body{margin:0;font-family:PT Sans,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg-color);color:var(--text-primary);line-height:1.5}#root{min-height:100vh}a{color:var(--primary-color);text-decoration:none}a:hover{text-decoration:underline}input,button{font:inherit}.container{max-width:900px;margin:0 auto;padding:1rem;width:100%}.card{background:var(--nav-bg-color);border-radius:4px;border:1px solid var(--border-color);box-shadow:0 1px 2px #0000000a;padding:1.5rem;margin-bottom:1rem}.btn{display:inline-block;padding:.5rem 1rem;border-radius:6px;border:none;cursor:pointer;font-weight:500}.btn-primary{background:var(--primary-color);color:#fff}.btn-primary:hover{background:var(--accent-color)}.btn-secondary{background:#e5e7eb;color:#374151}.btn-secondary:hover{background:#d1d5db}.btn-danger{background:#b91c1c;color:#fff}.btn-danger:hover{background:#991b1b}.form-group{margin-bottom:1rem}.form-group label{display:block;margin-bottom:.25rem;font-weight:500}.form-group input{width:100%;padding:.5rem;border:1px solid #d1d5db;border-radius:6px}.form-group input:focus{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #2d5a4a40}.form-group input:focus-visible{outline:none;border-color:var(--primary-color);box-shadow:0 0 0 2px #2d5a4a59}.btn:focus-visible,button:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}a:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px;border-radius:2px}.nav a:focus-visible,.staff-sidebar-link:focus-visible,.student-sidebar a:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px;text-decoration:none}.error{color:#dc2626;font-size:.875rem;margin-top:.25rem}.nav{background:var(--nav-bg-color);border-bottom:1px solid var(--border-color);padding:.75rem 1rem}.nav-inner{max-width:100%;margin:0 auto;padding:0 .5rem;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem}.nav a{margin-right:.5rem}.nav-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem}.nav-site-name{word-break:break-word}.nav .user{color:var(--text-muted);font-size:.875rem}.user-menu-trigger:hover .user,.user-menu-trigger:hover{color:var(--primary-color)}.user-menu-item:hover{background:var(--bg-color)}.nav-badge{background:#dc2626;color:#fff;font-size:.7rem;font-weight:700;min-width:1.15rem;height:1.15rem;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;padding:0 .25rem;line-height:1}.nav-badge-attention{background:#dc2626}.nav-logo{height:36px;width:auto;vertical-align:middle;object-fit:contain}.home-hero{text-align:center;padding:3rem 1.5rem 2.5rem;max-width:640px;margin:0 auto}.home-hero h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(1.75rem,4vw,2.25rem);font-weight:400;color:var(--text-primary);margin:0 0 .5rem;letter-spacing:.02em}.home-subtitle{font-size:1.125rem;color:var(--text-muted);margin:0 0 1.5rem}.home-hero .btn{margin-top:.5rem}.card.hero-card{background:var(--nav-bg-color);border:1px solid var(--border-color);box-shadow:none;border-radius:4px}.home-hero-banner{background-size:cover;background-position:center;background-repeat:no-repeat;border-radius:8px;overflow:hidden;min-height:280px;display:flex;align-items:center;justify-content:center;margin-bottom:1rem}.home-hero-overlay{text-align:center;padding:2.5rem 1.5rem;max-width:560px;background:#ffffffeb;border-radius:8px;margin:1rem;box-shadow:0 4px 20px #00000014}.home-hero-overlay h1{font-family:Georgia,Times New Roman,serif;font-size:clamp(1.75rem,4vw,2.25rem);font-weight:400;color:var(--text-primary);margin:0 0 .5rem;letter-spacing:.02em}.home-hero-overlay .home-subtitle{font-size:1.125rem;color:var(--text-muted);margin:0 0 1.5rem}.home-hero-overlay .btn{margin-top:.5rem}.student-sidebar{width:220px;min-width:220px;background:var(--primary-color);color:#fff;padding:1rem 0;display:flex;flex-direction:column;gap:.5rem}.student-sidebar a{color:#fffffff2;text-decoration:none}.student-sidebar a:hover{color:#fff;text-decoration:none;background:#ffffff1f}.student-sidebar-user{display:flex;align-items:center;gap:.6rem;padding:0 1rem .75rem;border-bottom:1px solid rgba(255,255,255,.2);margin-bottom:.25rem}.student-sidebar-avatar{width:36px;height:36px;border-radius:50%;background:var(--accent-color);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;flex-shrink:0}.student-sidebar-name{font-weight:600;font-size:.9rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-sidebar-nav{display:flex;flex-direction:column;gap:.15rem}.student-sidebar-link{display:flex;align-items:center;gap:.75rem;padding:.65rem 1rem;border-radius:0;transition:background .15s ease}.student-sidebar-link-active{background:#ffffff2e;font-weight:600}.student-sidebar-link-active:hover{background:#ffffff38}.student-sidebar-link-attention{font-weight:600}.student-sidebar-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;opacity:.95}.student-layout-main{flex:1;min-width:0;display:flex;flex-direction:column}.student-layout-wrap{display:flex;min-height:calc(100vh - 56px);flex:1}.staff-sidebar{width:220px;min-width:200px;background:var(--nav-bg-color);border-right:1px solid var(--border-color);padding:1rem 0;flex-shrink:0}.staff-sidebar-nav{display:flex;flex-direction:column;gap:.15rem}.staff-sidebar-link{display:block;padding:.5rem 1rem;color:var(--text-primary);text-decoration:none;font-size:.9rem;border-left:3px solid transparent;transition:background .15s ease}.staff-sidebar-link:hover{background:#0000000a;text-decoration:none;color:var(--primary-color)}.staff-sidebar-link-active{background:#2d5a4a14;border-left-color:var(--primary-color);color:var(--primary-color);font-weight:500}.staff-layout-wrap{display:flex;min-height:calc(100vh - 56px);flex:1}.staff-layout-main{flex:1;min-width:0;overflow-x:auto}.course-tabs-select{display:none}@media (max-width: 768px){.student-sidebar{width:72px;min-width:72px;padding:.75rem 0}.student-sidebar-user{flex-direction:column;padding:0 .5rem .5rem;text-align:center}.student-sidebar-name{font-size:.7rem;white-space:normal;line-height:1.2}.student-sidebar-link{flex-direction:column;gap:.25rem;padding:.6rem .5rem;text-align:center;font-size:.75rem}.student-sidebar-icon{margin:0 auto}.staff-layout-wrap{flex-direction:column}.staff-sidebar{width:100%;min-width:0;border-right:none;border-bottom:1px solid var(--border-color);padding:.5rem 0}.staff-sidebar-nav{flex-direction:row;flex-wrap:wrap;gap:.25rem;padding:0 .5rem}.staff-sidebar-link{padding:.4rem .6rem;font-size:.8rem;border-left:none;border-radius:4px}.staff-sidebar-link-active{border-left:none;background:#2d5a4a1f}.course-tabs-buttons{display:none}.course-tabs-select{display:block;width:100%;max-width:320px;margin-bottom:.75rem;padding:.5rem;font:inherit;border:1px solid var(--border-color);border-radius:6px;background:var(--nav-bg-color)}.container{padding:.75rem}.nav-inner{padding:.5rem}.nav .user{font-size:.8rem}.btn{padding:.4rem .75rem;font-size:.9rem}}@media (max-width: 480px){.container{padding:.5rem}.card{padding:1rem}}img,video,iframe{max-width:100%;height:auto}pre,.card pre{overflow-x:auto;-webkit-overflow-scrolling:touch}table{display:block;overflow-x:auto}@media (min-width: 901px){.nav-inner{max-width:900px}}@keyframes skeleton-shimmer{0%{opacity:.6}50%{opacity:1}to{opacity:.6}}.skeleton-block{background:var(--border-color);border-radius:4px;animation:skeleton-shimmer 1.2s ease-in-out infinite}.skeleton-card{background:var(--nav-bg-color);border:1px solid var(--border-color);border-radius:4px;padding:1rem;margin-bottom:1rem}.skeleton-card .skeleton-block{height:1rem;margin-bottom:.5rem}.skeleton-card .skeleton-block:last-child{width:60%;margin-bottom:0}.back-to-top{position:fixed;bottom:1.5rem;right:1.5rem;z-index:100;width:2.5rem;height:2.5rem;padding:0;border-radius:50%;border:1px solid var(--border-color);background:var(--nav-bg-color);box-shadow:0 2px 8px #0000001a;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.25rem;line-height:1;color:var(--primary-color)}.back-to-top:hover{background:var(--bg-color);color:var(--accent-color)}.back-to-top:focus-visible{outline:2px solid var(--primary-color);outline-offset:2px}
