*{box-sizing:border-box}body{margin:0}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #7c3aed;outline-offset:3px}
.student-app{min-height:100dvh;background:radial-gradient(ellipse at 90% 8%,#f4c7e8 0,transparent 42%),radial-gradient(ellipse at 10% 80%,#bbecdf 0,transparent 48%),#e8e3fa;background-attachment:fixed;color:#292344}
.student-sidebar{position:fixed;inset:0 auto 0 0;width:260px;z-index:40;background:#f6f2ffed;border-right:1px solid #d8ceef;display:flex;flex-direction:column;gap:26px;padding:32px 20px;overflow-y:auto}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:800;color:#413481;line-height:1.2}.brand small{display:block;font-size:10px;letter-spacing:4px;margin-top:6px}.brand-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:0;background:transparent;box-shadow:none;color:inherit;font-size:32px}.sidebar-profile{display:flex;align-items:center;gap:10px;padding:15px 10px;border-radius:18px;background:#e7dff8}.sidebar-profile>span{font-size:30px}.sidebar-profile strong{overflow-wrap:anywhere}.sidebar-profile small{display:block;font-size:11px;margin-top:4px;color:#70638b}.student-sidebar nav{display:grid;gap:8px}.student-sidebar nav a{display:flex;gap:12px;align-items:center;min-height:50px;padding:12px;border-radius:15px;font-size:14px;font-weight:600;color:#645677}.student-sidebar nav a:hover{background:#e8def9}.student-sidebar nav a[aria-current]{background:#6550b7;color:white;box-shadow:0 7px 18px #6851b52b}.student-sidebar nav a span{font-size:20px}.sidebar-note{margin-top:auto;background:#e6e8ce;padding:18px;border-radius:18px;font-size:13px;line-height:1.8;color:#596333}.logout-button{padding:12px;width:100%;text-align:left;color:#675a7b}
.student-main{max-width:1400px;margin-left:260px!important;padding:32px!important;min-width:0}.student-main .bg-white{background:#faf6ffdb;border-color:#dcd1ee;box-shadow:0 4px 18px #685a9010}.student-main input,.student-main select,.student-main textarea{background:#fffcff;max-width:100%;min-width:0}.student-main .fun-gradient{background:linear-gradient(120deg,#6654bd,#9972ca 65%,#d38fba)}.page-intro{margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:#82709f}.page-intro h1{font-size:clamp(25px,4vw,36px);font-weight:800;letter-spacing:-1px;margin:8px 0}.page-intro p{color:#716580;font-size:14px;line-height:1.7}
.week-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#f8f3ff;padding:14px;border-radius:18px;margin-bottom:18px}.week-toolbar a,.week-toolbar button{padding:10px;font-size:13px;color:#594390;font-weight:700;min-height:44px}.week-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}.week-picker input{padding:8px;border:1px solid #d4c5eb;border-radius:10px;min-height:44px;min-width:0}.schedule-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.day-card{border:1px solid #d7cbea;border-radius:22px;background:#f6f0ff;overflow:hidden;min-width:0}.day-card:nth-child(3n+2){background:#e8f4ec;border-color:#cde3d5}.day-card:nth-child(3n){background:#fcf0df;border-color:#efddc1}.day-card.is-today{outline:2px solid #8460ca;outline-offset:2px}.day-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:17px;border-bottom:1px solid #8f7c9d22}.day-heading h2{font-weight:800;font-size:16px}.day-heading span{font-size:11px;color:#77677f}.day-content{padding:18px;min-height:160px;font-size:14px;line-height:1.9;overflow-wrap:anywhere}.day-card textarea{display:block;margin:12px;width:calc(100% - 24px);resize:vertical;padding:12px;border:1px solid #d8cfe2;border-radius:12px;background:#ffffffb3;font-size:14px;line-height:1.8}.save-bar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-top:22px;font-size:13px;color:#77677f}.primary-button{background:#6550b7;color:white;padding:14px 20px;border-radius:14px;font-weight:700;min-height:48px}.mobile-header{display:none}.menu-overlay[hidden]{display:none}.menu-overlay{position:fixed;inset:64px 0 0;background:#21193466;z-index:30;width:100%;border:0}table{min-width:560px}main{min-width:0}header nav{flex-wrap:wrap}
@media(min-width:1400px){.schedule-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1023px){.mobile-header{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:0;z-index:50;background:#f5eeffed;backdrop-filter:blur(16px);padding:10px 16px;min-height:64px;border-bottom:1px solid #daceee;font-weight:800;color:#514184}.mobile-header button{padding:10px;border-radius:12px;background:#e6dcf5;font-size:13px;min-height:44px}.student-sidebar{top:64px;transform:translateX(-100%);transition:transform .2s;width:min(290px,85vw);padding:24px 18px}.menu-open .student-sidebar{transform:translateX(0)}.menu-open{overflow:hidden}.student-main{margin-left:0!important;padding:24px!important}.schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.student-main{padding:18px 14px calc(24px + env(safe-area-inset-bottom))!important}.schedule-grid{grid-template-columns:minmax(0,1fr)}.day-content{min-height:100px}.week-picker{order:3;flex-basis:100%}.week-picker input{flex:1;width:125px}.mobile-header a{font-size:15px}.student-main input,.student-main select,.student-main textarea{font-size:16px}.save-bar .primary-button{width:100%}.student-main .p-5{padding:16px}header>div>div{flex-wrap:wrap}header nav{gap:10px!important}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
