:root{--site-blue:#003380;--site-ink:#20242a;--site-muted:#66707c;--site-line:#e5e9ee;--duration-fast:250ms;--ease-smooth-out:cubic-bezier(.22,1,.36,1);--modal-open-dur:250ms;--modal-close-dur:150ms;--modal-scale:.96;--modal-scale-close:.96;--modal-ease:cubic-bezier(.22,1,.36,1);--panel-open-dur:400ms;--panel-close-dur:350ms;--panel-translate-y:12px;--panel-blur:2px;--panel-ease:cubic-bezier(.22,1,.36,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:#fdfdfe;color:var(--site-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}a{color:inherit;text-decoration:none}button{border:0;background:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #4b78bb;outline-offset:3px}h1,h2,h3,p{margin:0}svg{display:block}.icon{width:18px;height:18px;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:12px;left:12px;z-index:100;background:white;padding:12px;transform:translateY(-180%)}.skip-link:focus{transform:translateY(0)}[hidden]{display:none!important}
.site-nav{max-width:1240px;padding:24px 32px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:650;letter-spacing:-.04em}.site-nav nav,.nav-actions{display:flex;align-items:center;gap:28px}.site-nav nav{font-size:13px;color:var(--site-muted)}.site-nav nav a:hover{color:var(--site-blue)}.nav-actions{gap:16px}.language{font-size:12px;color:var(--site-muted);padding:6px}.site-button{display:inline-flex;align-items:center;justify-content:center;gap:24px;background:var(--site-blue);color:white;border-radius:999px;min-height:48px;padding:12px 24px;font-size:14px;font-weight:550;transition:background 180ms,transform 180ms}.site-button:hover{background:#174a93;transform:translateY(-1px)}.site-button.compact{min-height:36px;padding:8px 16px;font-size:12px}.site-button.secondary{color:var(--site-ink);background:white;box-shadow:0 0 0 1px var(--site-line)}.site-button.secondary:hover{background:#f3f5f8}.hero{text-align:center;padding:68px 24px 44px}.eyebrow{font-size:11px;letter-spacing:.13em;font-weight:600;color:var(--site-muted);margin-bottom:18px}.hero h1{font-size:clamp(42px,6vw,76px);letter-spacing:-.055em;line-height:1.06;font-weight:650}.blue{color:var(--site-blue)}.hero-copy{font-size:18px;color:var(--site-muted);margin-top:24px}.hero-actions{display:flex;justify-content:center;gap:12px;margin-top:28px}.small-note{font-size:11px;color:var(--site-muted);margin-top:16px}.preview-section{max-width:1280px;margin:auto;padding:0 32px;scroll-margin-top:24px}.preview-caption{display:flex;justify-content:space-between;align-items:center;margin:12px 4px;gap:12px;color:var(--site-muted);font-size:12px}.preview-caption>span{display:flex;align-items:center;gap:8px}.demo-dot{width:5px;height:5px;border-radius:50%;background:#5b819a}.preview-actions{display:flex;gap:8px;align-items:center}.quiet-button{display:flex;align-items:center;gap:8px;padding:6px 10px;min-height:32px;border-radius:8px;font-size:12px;color:var(--site-muted);transition:background 180ms,color 180ms}.quiet-button:hover{background:#edf0f5;color:var(--site-blue)}.preview-hint{text-align:center;color:var(--site-muted);font-size:12px;margin-top:20px}.app-frame{position:relative;border-radius:16px;overflow:hidden;background:var(--canvas);box-shadow:0 0 0 1px #dee3eb,0 24px 70px -20px rgba(33,50,74,.15),0 6px 20px -8px rgba(33,50,74,.1);height:720px;display:flex;flex-direction:column;font-size:13px;line-height:1.5;color:var(--foreground);isolation:isolate}.mac-bar{display:flex;align-items:center;gap:14px;height:32px;min-height:32px;padding:0 14px;background:white;border-bottom:1px solid var(--hairline);font-size:12px;color:var(--muted-foreground)}.traffic{display:flex;gap:6px}.traffic i{display:block;width:9px;height:9px;border-radius:50%;background:#ff6057}.traffic i:nth-child(2){background:#ffbd2e}.traffic i:nth-child(3){background:#28c840}.mac-demo{margin-left:auto;font-size:10px;color:var(--site-muted)}.app-toolbar{display:flex;align-items:center;gap:14px;min-height:52px;padding:0 16px;font-weight:550}.sync-visual{margin-left:auto;display:flex;align-items:center;gap:5px;font-size:12px;font-weight:400;color:var(--muted-foreground)}.icon-button{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}.icon-button:hover{background:var(--bui-hover-2)}.app-layout{display:grid;grid-template-columns:194px minmax(0,1fr);gap:8px;flex:1;min-height:0;padding:0 10px 10px}.app-layout:has(.sidebar-hidden){grid-template-columns:minmax(0,1fr)}.sidebar-hidden{display:none}.app-layout aside{min-height:0;display:flex;flex-direction:column;padding:0 2px;overflow-y:auto}.primary-nav{display:flex;flex-direction:column;gap:3px}.nav-item{display:flex;align-items:center;gap:10px;width:100%;min-height:32px;padding:6px 12px;border-radius:8px;text-align:left;white-space:nowrap;color:var(--muted-foreground);font-size:13px;transition:background 180ms,color 180ms}.nav-item:hover{background:var(--bui-hover-2)}.nav-item.active{background:rgba(0,51,128,.075);color:var(--site-blue);font-weight:600}.nav-item .icon{width:17px;height:17px}.nav-item span{overflow:hidden;text-overflow:ellipsis}.semester-nav{margin-top:24px}.semester-nav>small{display:block;padding:0 12px;margin-bottom:8px;font-size:11px;font-weight:550;color:var(--muted-foreground)}.semester-toggle{padding-left:5px;gap:6px}.semester-toggle>.icon:first-child{width:12px}.course-links{padding-left:20px;margin:4px 0 8px}.course-links .nav-item{font-size:12px;padding-left:6px}.course-links .nav-item:nth-child(1) .icon{color:#4d6fda}.course-links .nav-item:nth-child(2) .icon{color:#e79244}.course-links .nav-item:nth-child(3) .icon{color:#63a486}.settings-nav{margin-top:auto;padding-top:10px;border-top:1px solid var(--hairline);border-radius:0}.settings-nav kbd{font:11px inherit;margin-left:auto}.app-content{position:relative;border-radius:12px;background:var(--background);border:1px solid var(--hairline);padding:28px 32px;overflow:auto;min-width:0;scrollbar-width:thin;container-type:inline-size}.app-content h2{font-size:25px;font-weight:650;letter-spacing:-.03em;line-height:1.2}.app-content h3{font-size:13px;font-weight:600;line-height:20px}.page-header{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:28px}.page-header p{font-size:12px;color:var(--muted-foreground);margin-top:10px}.page-header p:empty{display:none}.visual-select{display:inline-flex;gap:20px;align-items:center;min-height:32px;background:var(--bui-field);padding:4px 12px;border-radius:8px;color:var(--muted-foreground);font-size:12px}.visual-select .icon{width:12px;height:12px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;margin-bottom:12px}.inline-action{font-size:12px;padding:4px 6px;border-radius:5px}.inline-action:hover{color:var(--site-blue);background:var(--bui-hover)}.resume-card{display:flex;align-items:center;gap:20px;border-radius:12px;background:#f0f3f9;padding:16px;box-shadow:var(--bui-shadow-card)}.resume-card>div:nth-child(2){min-width:0;flex:1}.resume-card > div:nth-child(2) strong{display:block;font-size:14px;font-weight:600}.resume-card > div:nth-child(2) small{display:block;color:var(--muted-foreground);font-size:12px;margin-top:6px}.mini-paper{width:96px;height:76px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:white;border-radius:6px;flex-shrink:0;box-shadow:0 1px 4px #00000006}.mini-paper small{font-size:5px;letter-spacing:.08em;margin:0}.mini-paper strong{font-family:Georgia,serif;font-size:19px;color:var(--site-blue)}.mini-paper span{font-size:7px}.app-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:32px;padding:5px 14px;border-radius:999px;background:white;box-shadow:var(--bui-shadow-btn);font-size:12px;transition:background 180ms,color 180ms}.app-button .icon{width:14px;height:14px}.app-button:hover{background:var(--bui-hover)}.app-button.primary{background:var(--site-blue);color:white;box-shadow:none}.app-button.primary:hover{background:#174a93}.app-button.small{min-height:28px;padding:4px 12px}.dashboard-columns{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:28px}.deadline-row{width:100%;display:flex;align-items:center;gap:14px;padding:12px 4px;border-bottom:1px solid var(--hairline);text-align:left;border-radius:5px}.deadline-row:hover,.announcement-row:hover{background:var(--bui-hover)}.deadline-row>span:last-child{min-width:0}.deadline-row strong,.announcement-row strong{font-size:12px;font-weight:500}.deadline-row small,.announcement-row small{display:block;margin-top:5px;font-size:11px;color:var(--muted-foreground)}.date-badge{display:block;background:#edf0f6;color:var(--site-blue);border-radius:8px;padding:8px 10px;min-width:53px;text-align:center;font-size:12px;flex-shrink:0}.date-badge small{margin:0;color:inherit;font-size:10px}.announcement-row{display:block;text-align:left;width:100%;padding:12px 4px;border-bottom:1px solid var(--hairline);border-radius:5px}.dashboard-section{margin-top:28px}.course-grid,.folder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.folder-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.course-card,.folder-card{padding:16px;text-align:left;border-radius:12px;box-shadow:var(--bui-shadow-card);min-width:0;background:white;transition:background 180ms,box-shadow 180ms}.course-card:hover,.folder-card:not(.static-card):hover{background:var(--bui-hover);box-shadow:var(--bui-shadow-hairline)}.course-card strong,.folder-card strong{display:block;font-size:13px;font-weight:550}.course-card small,.folder-card small{display:block;font-size:11px;color:var(--muted-foreground);margin-top:6px}.breadcrumb{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--site-blue);padding:0;margin-bottom:16px}.breadcrumbs{display:flex;align-items:center;gap:8px;color:var(--muted-foreground);font-size:11px;margin-bottom:16px}.breadcrumbs button{padding:0;text-align:left}.breadcrumbs .icon{width:12px;height:12px}.course-tabs{display:flex;gap:24px;margin:-4px 0 24px;border-bottom:1px solid var(--hairline)}.course-tabs button{padding:8px 0 12px;color:var(--muted-foreground);font-size:12px;border-bottom:2px solid transparent}.course-tabs button.active{border-color:var(--site-blue);color:var(--site-blue)}.course-tabs button:hover{color:var(--site-blue)}.file-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.file-toolbar>small{color:var(--muted-foreground)}.file-toolbar>div,.visual-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.passive{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted-foreground);padding:4px 8px;min-height:28px;cursor:default}.passive .icon{width:14px;height:14px}.file-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.file-card{border-radius:12px;padding:8px;text-align:left;min-width:0;background:white;box-shadow:var(--bui-shadow-card);transition:background 180ms}.file-card:hover{background:var(--bui-hover)}.file-preview{height:142px;background:#f4f5f7;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border-radius:8px;color:var(--site-blue);padding:16px}.file-preview small{font-size:7px;color:var(--muted-foreground)}.file-preview strong{font-family:Georgia,serif;font-size:22px;font-weight:400}.file-preview>span{font-size:9px;color:var(--foreground)}.paper-lines{width:62%;display:flex;flex-direction:column;gap:4px}.paper-lines i{height:2px;background:#dce1e8}.paper-lines i:last-child{width:75%}.file-name{display:block;font-size:12px;font-weight:550;margin:12px 4px 0;line-height:18px}.file-card>small{display:block;font-size:10px;color:var(--muted-foreground);margin:4px 4px 6px}.search-field{display:flex;align-items:center;gap:8px;padding:4px 12px;background:var(--bui-field);border-radius:8px;max-width:320px;height:32px;margin-bottom:20px;color:var(--muted-foreground)}.search-field input{border:0;background:transparent;min-width:0;width:100%;font-size:12px;outline:none}.search-field .icon{width:14px;height:14px}.scope-line{display:flex;gap:12px;align-items:center;margin-bottom:20px}.scope-line small{font-size:11px;color:var(--muted-foreground)}.empty-state{text-align:center;padding:56px 24px;color:var(--muted-foreground)}.empty-state p{font-size:12px;margin:8px 0 20px}.empty-state .static-card{max-width:280px;margin:24px auto}.announcement-preview{display:block;width:100%;text-align:left;padding:20px 0;border-bottom:1px solid var(--hairline)}.announcement-preview small{display:block;font-size:11px;color:var(--muted-foreground);margin-bottom:8px}.announcement-preview strong{font-size:14px;font-weight:550}.announcement-preview p{font-size:12px;color:var(--muted-foreground);margin-top:8px}.announcement-preview:hover strong{color:var(--site-blue)}
.calendar-panel{border:1px solid var(--hairline);border-radius:12px;overflow:hidden}.calendar-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px}.calendar-header>div{display:flex;align-items:center;gap:8px}.calendar-week{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:10px;color:var(--muted-foreground);padding:4px 0 12px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-cell{height:88px;padding:5px;border-top:1px solid var(--hairline);border-right:1px solid var(--hairline);min-width:0;overflow:hidden}.calendar-cell:nth-child(7n){border-right:0}.calendar-cell.outside{background:var(--bui-inset)}.day-number{font-size:11px;display:flex;width:22px;height:22px;justify-content:center;align-items:center;margin-bottom:3px}.day-number.today{background:var(--site-blue);color:white;border-radius:50%}.calendar-event{display:flex;align-items:center;gap:4px;width:100%;border-radius:4px;font-size:9px;padding:2px 4px;line-height:14px;margin-bottom:3px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:18px}.calendar-event:hover{filter:brightness(.94)}.event-dot{width:3px;height:3px;background:currentColor;border-radius:50%;flex-shrink:0}.exam{background:#ecedfa;color:#6655a7}.assignment{background:#eaf0fb;color:#295d9b}.class{background:#eaf5ef;color:#42775a}.other{background:#fbf1e7;color:#93692c}.calendar-more{font-size:9px;color:var(--muted-foreground);padding:0 4px;line-height:13px}.calendar-more:hover{color:var(--site-blue)}.calendar-legend{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;padding:12px;font-size:10px;color:var(--muted-foreground)}.calendar-legend>span{display:flex;align-items:center;gap:5px}.calendar-legend i{width:6px;height:6px;border-radius:50%;background:currentColor}.timetable-head{display:grid;grid-template-columns:44px repeat(5,1fr);font-size:11px;color:var(--muted-foreground);text-align:center;padding-bottom:12px}.timetable-body{display:flex}.time-labels{width:44px;flex-shrink:0;display:flex;flex-direction:column;font-size:9px;color:var(--muted-foreground)}.time-labels span{height:48px;line-height:1}.time-grid{position:relative;flex:1;display:grid;grid-template-columns:repeat(5,1fr);grid-template-rows:repeat(9,48px);border-top:1px solid var(--hairline);border-left:1px solid var(--hairline)}.time-grid>i{border-bottom:1px solid var(--hairline);border-right:1px solid var(--hairline)}.class-session{position:absolute;width:calc(20% - 8px);padding:8px;background:color-mix(in srgb,var(--course-color) 13%,white);border-radius:6px;border-left:3px solid var(--course-color);overflow:hidden}.class-session strong{font-size:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:14px;color:color-mix(in srgb,var(--course-color) 65%,black)}.class-session small{display:block;font-size:9px;margin-top:4px;color:var(--muted-foreground)}.class-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:11px;margin-top:20px}.class-legend>span{display:flex;align-items:center;gap:6px}.class-legend i,.settings-sample-courses i{display:inline-block;width:6px;height:6px;border-radius:50%}.class-legend small{color:var(--muted-foreground);font-size:10px}
.app-content[data-screen="study"]{padding:0;background:transparent;border:0;border-radius:0;overflow:hidden}.study-workspace{height:100%;display:grid;grid-template-columns:minmax(0,1fr) 6px minmax(0,1fr);position:relative;gap:0}.pdf-pane,.study-pane{background:white;border-radius:12px;overflow:hidden;border:1px solid var(--hairline);min-width:0;display:flex;flex-direction:column}.pdf-pane{position:relative}.pdf-header{height:48px;min-height:48px;display:flex;align-items:center;gap:6px;padding:0 8px;border-bottom:1px solid var(--hairline)}.pdf-header strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-weight:600}.pdf-extras{display:flex;gap:10px;color:var(--muted-foreground)}.pdf-extras .icon{width:14px;height:14px}.zoom-visual{font-size:10px;color:var(--muted-foreground);white-space:nowrap}.page-count{font-size:10px;color:var(--muted-foreground);white-space:nowrap;border-left:1px solid var(--hairline);padding-left:10px;margin-left:4px}.pdf-scroll{overflow:auto;flex:1;min-height:0;background:#fcfcfd;padding:16px 12px 72px}.pdf-paper{position:relative;background:white;border:1px solid #edf0f5;min-height:500px;padding:24px 22px 40px;box-shadow:0 2px 6px #00000005}.pdf-paper>small{font-size:7px;letter-spacing:.1em;color:#8b96a8}.pdf-paper h2{font-size:26px;margin:20px 0 12px;line-height:1.15;color:var(--site-blue);font-weight:550;letter-spacing:-.035em}.paper-intro{font-size:10px;color:#6b7686;max-width:260px}.vector-diagram{width:100%;height:auto;margin:20px 0 0}.paper-equation{font-family:Georgia,serif;text-align:center;color:var(--site-blue);font-size:30px;margin:4px 0 22px}.paper-bottom{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid var(--site-line);padding-top:16px}.paper-bottom h3{font-size:10px}.paper-bottom p{font-size:9px;line-height:16px;margin-top:5px;color:#6b7686}.paper-example{font-size:10px;line-height:20px;margin-top:24px}.paper-page{position:absolute;bottom:12px;right:22px;color:#8b96a8;font-size:9px}.pdf-dock{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:4px;background:white;border-radius:999px;padding:4px;box-shadow:var(--bui-shadow-overlay)}.pdf-dock span,.pdf-dock button{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:16px;color:var(--muted-foreground)}.pdf-dock .icon{width:16px;height:16px}.pdf-dock .dock-selected{background:#edf2fa;color:var(--site-blue)}.pdf-dock button:hover{background:#e5ebf5}.pdf-dock i{width:14px;height:14px;border-radius:50%;background:var(--site-blue);margin:0 6px}.study-divider{background:transparent}.study-tab-header{min-height:48px;padding:8px 6px;border-bottom:1px solid var(--hairline)}.study-tabs{display:flex;align-items:center;background:var(--bui-field);border-radius:999px;padding:2px}.study-tabs button{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:4px;padding:5px 3px;border-radius:999px;white-space:nowrap;color:var(--muted-foreground);font-size:10px;min-height:28px;transition:background var(--duration-fast),color var(--duration-fast)}.study-tabs .icon{width:12px;height:12px}.study-tabs button.selected{background:white;color:var(--site-blue);box-shadow:var(--bui-shadow-hairline)}.study-tabs button:hover{color:var(--site-blue)}.study-panel-body{flex:1;overflow:auto;min-height:0;scrollbar-width:thin}.artifact-toolbar{min-height:40px;border-bottom:1px solid var(--hairline);padding:4px 8px;display:flex;align-items:center;justify-content:space-between;gap:8px}.artifact-toolbar .passive{padding:0;font-size:10px}.artifact-icons{display:flex;align-items:center;gap:12px;color:var(--muted-foreground)}.artifact-icons .icon{width:14px;height:14px}.study-prose{padding:20px 18px;font-size:12px;line-height:21px}.study-prose h2{font-size:23px;margin-bottom:18px;line-height:1.2}.study-prose h3{margin:22px 0 10px;font-size:13px}.study-prose p{margin:10px 0}.study-prose ul{padding-left:18px;margin:12px 0}.study-prose li{margin:5px 0}.math-block{font-family:Georgia,serif;text-align:center;font-size:24px;padding:16px;margin:16px 0;color:var(--site-blue);background:#f5f7fb;border-radius:8px}.source-link{display:inline-flex;align-items:center;gap:3px;border-radius:6px;background:#edf2fc;color:#3e68ab;font-size:10px;padding:1px 5px;line-height:16px;font-weight:500;vertical-align:middle}.source-link .icon{width:11px;height:11px}.source-link:hover{background:#dce7fa}.cheat-table{border:1px solid var(--hairline);border-radius:8px;margin:20px 0}.cheat-table>div{display:flex;justify-content:space-between;padding:8px 12px;border-bottom:1px solid var(--hairline)}.cheat-table>div:last-child{border-bottom:0}.cheat-table span{color:var(--muted-foreground)}.deck-header,.tutor-header{padding:16px;border-bottom:1px solid var(--hairline);display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:12px}.deck-header small{font-size:10px;color:var(--muted-foreground);display:block;margin-top:4px}.flashcard-review{padding:20px 16px}.review-progress{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted-foreground);margin-bottom:14px}.flashcard-face{height:250px;padding:24px 20px;display:flex;flex-direction:column;justify-content:center;background:#f6f7fa;border:1px solid var(--hairline);border-radius:12px;text-align:center;overflow:auto}.flashcard-face small{font-size:9px;letter-spacing:.1em;color:var(--muted-foreground);margin-bottom:16px}.flashcard-face p{font-size:17px;line-height:28px}.flashcard-actions{height:64px;display:flex;align-items:center;justify-content:center}.card-navigation{display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--muted-foreground);font-size:10px}.question-card{padding:20px}.question-card>small{font-size:9px;color:var(--muted-foreground);letter-spacing:.08em}.question-card h3{font-size:15px;line-height:24px;margin-top:14px}.question-options{display:flex;flex-direction:column;gap:10px;margin:20px 0}.answer-choice{display:flex;align-items:center;gap:10px;text-align:left;border:1px solid var(--hairline);border-radius:8px;padding:12px;font-size:12px}.answer-choice>span{font-size:11px;color:var(--muted-foreground);flex-shrink:0}.answer-choice:hover{background:var(--bui-hover)}.answer-choice.chosen{border-color:#537bb5;background:#f0f4fb}.answer-feedback{padding:14px;border-radius:8px;background:#edf6f0;color:#356248;font-size:12px}.answer-feedback p{margin:8px 0 10px;line-height:20px}.answer-feedback.incorrect{background:#fbf0e7;color:#8a5b2c}.tutor-header strong{font-size:12px}.tutor-header>span{display:flex;gap:4px}.tutor-header .passive{font-size:10px;padding:0 4px}.tutor-body{padding:20px 18px}.context-caption{color:var(--muted-foreground);font-size:10px;margin-bottom:20px}.assistant-message{font-size:13px;line-height:23px}.assistant-message small{display:block;color:var(--muted-foreground);font-size:10px;margin-bottom:8px}.assistant-message .source-link{margin-top:10px}.suggested-questions{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.suggestion{padding:8px 12px;border-radius:8px;border:1px solid var(--hairline);font-size:11px;text-align:left;background:white}.suggestion:hover{background:var(--bui-hover);border-color:var(--bui-line-strong)}.tutor-answer{font-size:12px;line-height:21px;margin-top:20px}.composer{border-radius:20px;border:1px solid var(--bui-line-strong);padding:16px 18px;min-height:82px;display:flex;align-items:flex-start;justify-content:space-between;color:var(--muted-foreground);font-size:12px;background:white}.visual-composer{margin:12px 16px 16px}.send-visual{background:#8ca4c9;color:white;width:26px;height:26px;border-radius:50%;display:flex;justify-content:center;align-items:center;align-self:flex-end}.note-slot{background:#f2f5fc;border:1px solid #dce5f4;padding:8px;margin-top:16px;border-radius:6px}.note-slot label{font-size:9px;color:var(--site-blue)}.note-slot textarea{display:block;width:100%;height:55px;border:0;background:transparent;font-size:11px;resize:vertical;min-height:40px}.mobile-study-tabs{display:none}
.assistant-page{max-width:760px;height:100%;margin:auto;display:flex;flex-direction:column;min-height:480px}.assistant-heading{padding:0 0 20px;border-bottom:1px solid var(--hairline)}.assistant-heading h2{font-size:17px;letter-spacing:-.01em}.assistant-scope{display:grid;grid-template-columns:1fr 18px 1fr;align-items:end;gap:16px;border-bottom:1px solid var(--hairline);padding:16px 0}.assistant-scope label{font-size:11px;color:var(--muted-foreground);display:flex;flex-direction:column;gap:6px}.assistant-scope select{width:100%;min-height:32px;border:1px solid var(--bui-line);border-radius:8px;background:var(--bui-field);padding:4px 10px;color:var(--foreground);font-size:12px}.assistant-scope>.icon{align-self:end;margin-bottom:8px;color:var(--muted-foreground)}.assistant-chat{flex:1;overflow:auto;min-height:0;padding:24px 0}.user-bubble{padding:12px 16px;background:var(--bui-field);border-radius:12px 12px 4px 12px;font-size:13px;margin:0 0 24px auto;max-width:85%;width:fit-content}.assistant-page .composer{margin:12px 0 0;flex-shrink:0;min-height:96px}.assistant-welcome{padding:28px 0 8px;text-align:center}.welcome-symbol{display:inline-flex;background:#f2f5fa;color:var(--site-blue);padding:10px;border-radius:14px;margin-bottom:14px}.welcome-symbol .icon{width:22px;height:22px}.assistant-welcome h3{font-size:19px;line-height:28px}.assistant-welcome p{font-size:12px;margin-top:10px;color:var(--muted-foreground)}.chat-history{margin-top:24px;display:flex;flex-direction:column;gap:12px;padding:0 4px;overflow:auto}.new-chat{width:100%;justify-content:center;flex-shrink:0}.history-search{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted-foreground);padding:8px 6px;background:var(--bui-field);border-radius:8px}.history-search .icon{width:14px;height:14px}.chat-history>small{font-size:10px;color:var(--muted-foreground);padding:4px 8px 0}.history-item{padding:10px 8px;border-radius:8px;text-align:left;font-size:12px;line-height:18px}.history-item.active{background:var(--bui-hover-2)}.history-item:hover{background:var(--bui-hover)}.exam-card{max-width:470px;padding:24px;border-radius:12px;box-shadow:var(--bui-shadow-card)}.exam-tag{background:#f0f3f9;border-radius:6px;padding:4px 8px;font-size:10px;color:var(--site-blue)}.exam-card h3{font-size:19px;margin:20px 0 10px}.exam-card p{font-size:12px;color:var(--muted-foreground)}.exam-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:32px}.exam-card-bottom small{font-size:11px;color:var(--muted-foreground)}.exam-runner{max-width:620px;padding:24px;border-radius:12px;border:1px solid var(--hairline)}.exam-runner>h3{font-size:17px;margin-top:24px;line-height:26px}.settings-sections{max-width:620px;margin:auto}.settings-sections>section{border-bottom:1px solid var(--hairline);padding:24px 0}.settings-sections>section:first-child{padding-top:0}.settings-sections h3{margin-bottom:12px;font-size:13px}.connection{display:flex;gap:8px;align-items:center;font-size:12px}.connection small{font-size:11px;color:var(--muted-foreground)}.status-dot{width:5px;height:5px;background:#63a486;border-radius:50%}.settings-sections p{font-size:12px;line-height:20px;color:var(--muted-foreground);margin-top:10px}.settings-sample-courses{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0;font-size:11px}.settings-sample-courses span{display:flex;gap:6px;align-items:center}.setting-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:16px}.setting-row h3{margin:0}.setting-row .visual-select{min-width:140px;justify-content:space-between}
.benefits{max-width:1180px;margin:100px auto 0;padding:0 32px;display:grid;grid-template-columns:repeat(3,1fr);gap:48px}.benefits h2{font-size:25px;line-height:1.2;letter-spacing:-.035em;font-weight:550}.benefits .eyebrow{margin-bottom:14px}.benefits p:not(.eyebrow){font-size:14px;color:var(--site-muted);margin-top:14px;max-width:280px}.text-link{font-size:12px;color:var(--site-blue);padding:0;margin-top:20px}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.setup-section{max-width:1180px;padding:64px 32px;margin:100px auto 0;border-top:1px solid var(--site-line);border-bottom:1px solid var(--site-line);display:grid;grid-template-columns:1fr 1.6fr;gap:48px}.setup-section h2{font-size:32px;line-height:1.2;letter-spacing:-.04em;font-weight:550}.setup-section p:not(.eyebrow){font-size:14px;color:var(--site-muted);margin-top:16px}.setup-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;list-style:none;padding:0;margin:0}.setup-steps li{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.setup-steps li>span{width:28px;height:28px;display:flex;align-items:center;justify-content:center;background:#edf2fa;border-radius:50%;color:var(--site-blue);font-size:11px;margin-bottom:8px}.setup-steps strong{font-size:14px;font-weight:550}.setup-steps small{font-size:12px;color:var(--site-muted)}.faq-section{max-width:720px;margin:80px auto 0;padding:0 24px}.faq-section h2{font-size:30px;font-weight:550;letter-spacing:-.04em;margin-bottom:28px}.faq-section details{border-bottom:1px solid var(--site-line);padding:18px 0}.faq-section summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;cursor:pointer;font-size:14px;font-weight:500}.faq-section summary::-webkit-details-marker{display:none}.faq-section summary:after{content:'+';font-size:20px;font-weight:300;color:var(--site-muted)}.faq-section details[open] summary:after{content:'−'}.faq-section details p{font-size:13px;line-height:23px;color:var(--site-muted);padding-top:14px}.final-cta{text-align:center;padding:96px 24px}.final-cta img{margin:auto}.final-cta h2{font-size:36px;line-height:1.2;letter-spacing:-.045em;font-weight:550;margin:24px 0}.site-footer{max-width:1240px;margin:auto;padding:28px 32px;border-top:1px solid var(--site-line);display:flex;justify-content:space-between;gap:24px;align-items:center;color:var(--site-muted)}.site-footer .brand{font-size:16px;color:var(--site-ink)}.site-footer .brand small{font-size:10px;font-weight:400;letter-spacing:0}.site-footer nav{display:flex;gap:24px;font-size:12px}.site-footer>small{font-size:10px}.info-page{max-width:760px;margin:64px auto 120px;padding:0 24px;min-height:55vh}.info-page h1{font-size:42px;letter-spacing:-.04em;line-height:1.15;margin:28px 0}.info-page p{font-size:15px;line-height:27px;color:var(--site-muted);margin:16px 0}.info-page h2{font-size:21px;margin-top:36px}.info-page ul{color:var(--site-muted);font-size:14px;line-height:26px}.info-page .site-button{margin-top:24px}
#expanded-preview{width:calc(100vw - 40px);max-width:1600px;height:calc(100dvh - 40px);max-height:none;padding:16px;border:1px solid var(--site-line);border-radius:20px;background:#f4f5f8;overflow:hidden;box-shadow:0 40px 120px #12244126}.expanded-header{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:var(--site-muted);height:34px;margin-bottom:12px}#expanded-host{height:calc(100% - 46px)}#expanded-host .app-frame{height:100%;box-shadow:var(--bui-shadow-hairline)}dialog::backdrop{background:rgba(27,39,59,.3);backdrop-filter:blur(4px)}.detail-dialog{width:min(440px,calc(100vw - 32px));border:1px solid var(--hairline);border-radius:14px;padding:28px;box-shadow:var(--bui-shadow-overlay);color:var(--foreground);font-size:13px;line-height:22px;max-height:80dvh}.close-detail{position:absolute;top:10px;right:10px;color:var(--muted-foreground);font-size:20px}.detail-dialog h2{font-size:21px;letter-spacing:-.03em;line-height:1.3;margin:8px 20px 12px 0}.detail-dialog p{margin:12px 0;color:var(--muted-foreground)}.detail-dialog small{font-size:11px;color:var(--muted-foreground)}.detail-actions{display:flex;gap:8px;margin-top:20px}.detail-event-list{display:flex;flex-direction:column;gap:10px;margin-top:20px}.detail-event-list button{display:flex;justify-content:space-between;text-align:left;align-items:center;padding:10px 12px;border:1px solid var(--hairline);border-radius:8px;font-size:12px}.detail-event-list button:hover{background:var(--bui-hover)}.guide{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;gap:20px;align-items:center;max-width:90%;background:#163967;color:white;padding:12px 16px;border-radius:12px;box-shadow:var(--bui-shadow-overlay);font-size:12px;z-index:3}.guide button{color:white;font-size:20px;padding:0}.page-enter{animation:page-enter 350ms var(--ease-smooth-out)}.source-pulse{animation:source-pulse 850ms var(--ease-smooth-out)}@keyframes page-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes source-pulse{0%{box-shadow:0 0 0 2px #4b78bb}100%{box-shadow:0 0 0 2px transparent}}
.t-modal{transform-origin:center;transform:scale(var(--modal-scale));opacity:0;pointer-events:none;transition:transform var(--modal-open-dur) var(--modal-ease),opacity var(--modal-open-dur) var(--modal-ease);will-change:transform,opacity}.t-modal.is-open{transform:scale(1);opacity:1;pointer-events:auto}.t-modal.is-closing{transform:scale(var(--modal-scale-close));opacity:0;pointer-events:none;transition:transform var(--modal-close-dur) var(--modal-ease),opacity var(--modal-close-dur) var(--modal-ease)}
.t-panel-slide{transform:translateY(var(--panel-translate-y));opacity:0;filter:blur(var(--panel-blur));pointer-events:none;transition:transform var(--panel-close-dur) var(--panel-ease),opacity var(--panel-close-dur) var(--panel-ease),filter var(--panel-close-dur) var(--panel-ease);will-change:transform,opacity,filter}.t-panel-slide[data-open="true"]{transform:translateY(0);opacity:1;filter:blur(0);pointer-events:auto;transition:transform var(--panel-open-dur) var(--panel-ease),opacity var(--panel-open-dur) var(--panel-ease),filter var(--panel-open-dur) var(--panel-ease)}
@container(max-width:670px){.pdf-extras{display:none}.study-tabs .icon{display:none}.study-tabs button{font-size:9px}.pdf-header strong{font-size:10px}.zoom-visual{display:none}.dashboard-columns{gap:20px}.file-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.folder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resume-card{gap:12px}.mini-paper{width:72px;height:64px}}
@media(max-width:1000px){.app-layout{grid-template-columns:170px minmax(0,1fr)}.app-content{padding:24px}.preview-section{padding:0 24px}.benefits{gap:28px}.setup-section{grid-template-columns:1fr}.app-frame{height:690px}.hero{padding-top:48px}}
@media(max-width:700px){html{scroll-padding-top:20px}.site-nav{padding:18px 20px;gap:16px}.site-nav nav{display:none}.nav-actions{gap:8px}.brand{font-size:18px}.site-nav .site-button{font-size:10px;padding:8px 12px}.hero{padding:44px 20px 32px}.hero-copy{font-size:15px;margin-top:20px}.hero-actions{gap:10px}.hero-actions .site-button{font-size:12px;padding:10px 20px;gap:14px;min-height:44px}.preview-section{padding:0 16px}.preview-caption{font-size:10px;gap:6px;align-items:center}.preview-actions{gap:0}.quiet-button{font-size:10px;padding:6px}.preview-actions button span[aria-hidden]{display:none}.app-frame{height:660px;border-radius:12px}.app-layout{grid-template-columns:48px minmax(0,1fr);gap:4px;padding:0 6px 6px}.nav-item{padding:8px;justify-content:center;min-height:36px}.nav-item span,.semester-nav,.settings-nav kbd{display:none}.settings-nav{margin-top:auto}.app-layout aside{overflow:visible;padding:0 1px}.app-content{padding:20px 16px;border-radius:9px}.app-content h2{font-size:21px}.app-toolbar{min-height:44px;padding:0 10px;gap:10px;font-size:12px}.mac-bar{height:28px;min-height:28px}.page-header{margin-bottom:24px;gap:8px}.page-header .visual-select{font-size:9px;padding:4px 8px;gap:8px}.dashboard-columns{grid-template-columns:1fr;gap:24px;margin-top:24px}.dashboard-section{margin-top:24px}.resume-card{flex-wrap:wrap;padding:12px;gap:12px}.resume-card .mini-paper{width:56px;height:58px}.resume-card>div:nth-child(2){min-width:115px}.resume-card > div:nth-child(2) strong{font-size:12px}.resume-card > div:nth-child(2) small{font-size:10px}.resume-card .app-button{margin-left:auto}.course-grid{grid-template-columns:1fr}.course-card,.folder-card{padding:14px}.file-grid{grid-template-columns:1fr 1fr;gap:10px}.file-preview{height:112px;padding:8px}.file-preview strong{font-size:17px}.file-preview>span{font-size:8px}.file-name{font-size:10px;line-height:16px}.file-card>small{font-size:9px}.file-toolbar{flex-direction:column;align-items:flex-start}.visual-actions .passive{font-size:10px;padding-inline:3px}.course-tabs{gap:16px;margin-bottom:20px;overflow:auto;white-space:nowrap}.course-tabs button{font-size:11px}.breadcrumbs{gap:4px;font-size:10px;flex-wrap:wrap}.calendar-header{padding:12px;gap:4px}.calendar-header h3{font-size:12px}.calendar-header>div{gap:2px}.calendar-cell{height:78px;padding:3px}.calendar-event{font-size:0;height:10px;padding:2px;border-radius:3px}.calendar-event .event-dot{width:100%;height:3px;border-radius:2px}.calendar-more{font-size:8px;padding:0}.calendar-week{font-size:8px}.calendar-legend{font-size:9px;gap:10px}.timetable-head{grid-template-columns:28px repeat(5,1fr);font-size:9px}.time-labels{width:28px;font-size:8px}.class-session{padding:5px 3px;left:0;border-left-width:2px}.class-session strong{font-size:8px;line-height:11px}.class-session small{font-size:8px;white-space:nowrap}.class-legend{flex-direction:column;gap:8px}.assistant-scope{gap:8px;grid-template-columns:1fr 12px 1fr}.assistant-scope select{font-size:10px;padding:4px 6px}.assistant-scope>.icon{width:12px}.assistant-scope label{font-size:10px}.assistant-heading h2{font-size:15px}.assistant-welcome h3{font-size:17px}.assistant-message{font-size:12px;line-height:22px}.chat-history{display:none}.assistant-page{min-height:100%}.assistant-chat{padding-top:20px}.assistant-page .composer{min-height:76px;padding:12px}.suggestion{font-size:10px;padding:8px}.setting-row .visual-select{min-width:100px}.setting-row{gap:8px}.settings-sections>section{padding:20px 0}.connection{flex-wrap:wrap;font-size:11px}.settings-sample-courses{gap:10px}.study-workspace{grid-template-columns:1fr;padding-bottom:38px}.study-divider{display:none}.app-content[data-screen="study"][data-pane="pdf"] .study-pane{display:none}.app-content[data-screen="study"][data-pane="tools"] .pdf-pane{display:none}.mobile-study-tabs{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:4px;padding:4px;background:var(--canvas)}.mobile-study-tabs button{padding:4px 12px;border-radius:999px;font-size:11px}.mobile-study-tabs button.active{background:white;color:var(--site-blue)}.pdf-extras{display:none}.page-count{font-size:9px;padding-left:8px}.pdf-header{min-height:44px;height:44px}.pdf-paper{padding:24px 18px}.study-tabs .icon{display:none}.study-tabs button{font-size:10px}.study-prose{font-size:12px;line-height:21px}.flashcard-face{height:240px}.benefits{grid-template-columns:1fr;gap:40px;margin-top:64px;padding:0 24px}.benefits h2{font-size:27px}.benefits p:not(.eyebrow){max-width:none}.setup-section{margin-top:64px;padding:40px 24px;gap:32px}.setup-section h2{font-size:28px}.setup-steps{grid-template-columns:1fr;gap:24px}.setup-steps li{display:grid;grid-template-columns:28px 1fr;gap:4px 14px}.setup-steps li>span{grid-row:span 2;margin:0}.setup-steps small{grid-column:2}.faq-section{margin-top:56px}.faq-section h2{font-size:28px}.final-cta{padding:64px 24px}.final-cta h2{font-size:30px}.site-footer{padding:24px;flex-wrap:wrap}.site-footer nav{gap:16px;flex-wrap:wrap;width:100%;order:3}.site-footer .brand{font-size:16px}#expanded-preview{width:calc(100vw - 12px);height:calc(100dvh - 12px);padding:8px;border-radius:14px}.expanded-header{font-size:11px;margin-bottom:6px}#expanded-host{height:calc(100% - 40px)}.info-page{margin-top:40px}.info-page h1{font-size:34px}.guide{font-size:10px;gap:10px;padding:10px;bottom:12px;max-width:95%;width:max-content}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.t-modal,.t-panel-slide{transition:none!important}}

/* Only changed reading content moves; panel frames and actions retain their geometry. */



.lecture-cover{display:flex;flex-direction:column;justify-content:center;min-height:405px;gap:24px}.lecture-cover>span{font-size:11px;color:var(--muted-foreground)}.lecture-cover h2{margin:0;font-size:32px}.lecture-cover p{font-size:11px;line-height:20px;color:var(--muted-foreground)}.lecture-cover>small{font-size:9px;color:var(--muted-foreground)}.short-course-name{display:none!important}
@media(max-width:700px){.full-course-name{display:none!important}.short-course-name{display:block!important;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.study-tabs{overflow-x:auto;scrollbar-width:none}.study-tabs button{flex:0 0 auto;padding-inline:8px}.study-tabs::-webkit-scrollbar{display:none}}

.mobile-history{display:none}@media(max-width:700px){.mobile-history{display:block;width:100%;min-height:32px;border:1px solid var(--hairline);border-radius:8px;background:var(--bui-field);font-size:11px;padding:4px 8px;margin-top:12px;color:var(--foreground)}}

/* Reply arrival stays inside the reading column; conversation chrome never rerenders. */
.chat-turn{margin-top:24px}.chat-turn .user-bubble{margin-bottom:20px}.chat-thinking{display:flex;align-items:center;gap:8px;color:var(--muted-foreground);min-height:32px}.thinking-dots{display:inline-flex;gap:3px;align-items:center}.thinking-dots i{width:3px;height:3px;border-radius:50%;background:currentColor;animation:thinking-pulse 900ms ease-in-out infinite}.thinking-dots i:nth-child(2){animation-delay:150ms}.thinking-dots i:nth-child(3){animation-delay:300ms}.suggestion:disabled{opacity:.55;cursor:default}.reply-arrive{animation:page-enter 250ms var(--ease-smooth-out)}@keyframes thinking-pulse{0%,80%,100%{opacity:.25}40%{opacity:1}}@media(prefers-reduced-motion:reduce){.thinking-dots i{animation:none;opacity:.6}.reply-arrive{animation:none}}

.suggestion[aria-disabled="true"]{opacity:.55;cursor:default}

/* The document thumbnail owns its type; card metadata never styles its contents. */
.mini-paper{padding:6px;text-align:center;gap:4px;overflow:hidden}.mini-paper small{max-width:100%;font-size:5px;line-height:1.2;white-space:nowrap;margin:0}.mini-paper strong{max-width:100%;font-size:17px;line-height:1.2;font-weight:600;overflow-wrap:anywhere}.mini-paper span{max-width:100%;font-size:6px;line-height:1.3;text-align:center;overflow-wrap:normal}.mini-paper .thumbnail-long-math{font-size:9px}
@container(max-width:670px){.mini-paper strong{font-size:14px}.mini-paper .thumbnail-long-math{font-size:8px}}
@media(max-width:700px){.mini-paper{padding:5px;gap:3px}.mini-paper strong{font-size:11px}.mini-paper small{font-size:4px}.mini-paper span{font-size:5px;line-height:1.2}.mini-paper .thumbnail-long-math{font-size:6px}}

/* The hero eyebrow is a sentence, so it should not use the spaced label treatment used by section tags. */
.hero > .eyebrow{font-size:14px;letter-spacing:.01em;font-weight:550;text-transform:none;margin-bottom:18px}
@media(max-width:700px){.hero > .eyebrow{font-size:12px;letter-spacing:0}}

.release-status{font-size:12px;color:var(--site-muted);margin-top:16px}
.release-status+.small-note{margin-top:6px}
.coming-soon{position:relative;display:inline-grid;cursor:not-allowed;background:#dce2eb;color:#7b879a;gap:0;transform:none}
.coming-soon>span{grid-area:1/1;transition:opacity 160ms ease}
.coming-soon>span:last-child{opacity:0}
.coming-soon:hover{background:#dce2eb;transform:none}
.coming-soon:hover>span:first-child{opacity:0}
.coming-soon:hover>span:last-child{opacity:1}
:lang(ko) :is(.hero,.benefits,.setup-section,.faq-section,.final-cta,.info-page){word-break:keep-all;overflow-wrap:break-word}

/* Website specimen of the current Mac recipes; values follow the desktop gallery. */
.app-frame{color:var(--foreground)}
.app-layout{grid-template-columns:224px minmax(0,1fr)}
.app-toolbar{height:48px;min-height:48px;font-size:13px}
.course-site-visual{margin-left:auto;display:inline-flex;gap:8px;font-size:13px;color:var(--foreground)}
.course-site-visual+.sync-visual{margin-left:12px}
.app-content{padding:32px;background:var(--background);border-radius:10px}
.app-content>.page-header h2{font-size:26px;line-height:1.3;font-weight:600;letter-spacing:-.035em}
.nav-item{font-size:13px;line-height:20px;min-height:32px;gap:6px;border-radius:8px}
.nav-item.active{background:var(--primary-soft);color:var(--primary);font-weight:600}
.course-links{padding-left:20px}
.course-links .nav-item{padding-left:8px}
.semester-toggle>.icon:first-child{width:12px;height:12px;margin-right:2px}
.section-heading h3{font-size:14px;line-height:20px;font-weight:600}
.app-button{font-size:13px;line-height:20px;padding:6px 14px;min-height:32px}
.app-button.primary{background:var(--primary);color:white}
.app-content[data-screen="home"],.app-content[data-screen="course"]{container:dashboard / inline-size}
.dashboard-quick-access{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;margin-bottom:32px}
.dashboard-quick-access>section{display:flex;flex-direction:column;min-width:0}
.resume-card,.schedule-card{background:color-mix(in srgb,var(--primary) 6%,var(--card));border-radius:10px;padding:16px;box-shadow:var(--bui-shadow-card)}
.resume-card>div:nth-child(2) strong{font-size:16px;line-height:24px;overflow-wrap:anywhere}
.schedule-card{flex:1;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0}
.schedule-card>strong{font-size:16px;line-height:24px;margin:4px 0 6px;font-weight:600;overflow-wrap:anywhere}
.schedule-card>small{font-size:12px;line-height:18px;color:var(--muted-foreground)}
.schedule-card>.app-button{margin-top:16px}
.dashboard-columns{grid-template-columns:minmax(0,1fr);gap:24px;margin-top:0}
.deadline-row strong,.announcement-row strong{font-size:13px;line-height:20px}
.deadline-row small,.announcement-row small{font-size:12px;line-height:18px}
.course-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:10px;background:var(--card)}
.course-card>span{min-width:0}
.course-card>.icon{width:14px;height:14px;color:var(--muted-foreground)}
.course-card strong{font-size:14px;line-height:20px}
.course-card small{font-size:12px;line-height:18px}
.folder-card,.file-card{border-radius:10px;background:var(--card)}
.calendar-header{flex-direction:column;justify-content:center;gap:12px;padding-bottom:16px}
.calendar-header h3{font-size:16px;line-height:24px}
.class-session{background:var(--course-color);border-left:0}
.class-session strong,.class-session small{color:white}
.exam-card,.exam-runner,.question-card{padding:20px;border-radius:10px}
.pdf-header,.study-tabs{height:52px;min-height:52px}
.pdf-pane,.study-pane{border-radius:10px;background:var(--background)}
.study-prose{font-size:16px;line-height:28px}
.study-prose h2{font-size:26.4px;line-height:33px;letter-spacing:-.025em}
.study-prose h3{font-size:17.6px;line-height:24.2px}
.study-tabs button{font-size:12px;line-height:18px}
.assistant-message{font-size:14px;line-height:22.4px}
.composer{border-radius:22px;padding:14px;font-size:14px;line-height:20px}
.setting-row .visual-select{width:160px;font-size:13px}
.answer-evidence{margin-top:16px;color:var(--muted-foreground)}
.answer-evidence summary,.shortcut-reference summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;font-size:13px;line-height:20px;padding:8px 0}
.answer-evidence summary::-webkit-details-marker,.shortcut-reference summary::-webkit-details-marker{display:none}
.answer-evidence summary>.icon,.shortcut-reference summary>.icon{width:12px;height:12px;transition:transform 150ms}
.answer-evidence details[open]>summary>.icon,.shortcut-reference[open]>summary>.icon{transform:rotate(90deg)}
.answer-evidence details>div,.answer-evidence details>p,.shortcut-reference>div{margin:0 0 8px 20px}
.shortcut-reference summary{font-size:14px;font-weight:600;color:var(--foreground)}
.shortcut-row{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px}
.shortcut-row kbd{font-family:inherit;color:var(--muted-foreground)}
.thinking-dots{display:grid;grid-template-columns:repeat(4,3px);gap:2px}
.thinking-dots i{border-radius:1px;animation-delay:calc(var(--dot) * 50ms)}
.thinking-dots i:nth-child(1){--dot:0}
.thinking-dots i:nth-child(2){--dot:1}
.thinking-dots i:nth-child(3){--dot:2}
.thinking-dots i:nth-child(4){--dot:3}
.thinking-dots i:nth-child(5){--dot:4}
.thinking-dots i:nth-child(6){--dot:5}
.thinking-dots i:nth-child(7){--dot:6}
.thinking-dots i:nth-child(8){--dot:7}
.thinking-dots i:nth-child(9){--dot:8}
.thinking-dots i:nth-child(10){--dot:9}
.thinking-dots i:nth-child(11){--dot:10}
.thinking-dots i:nth-child(12){--dot:11}
.thinking-dots i:nth-child(13){--dot:12}
.thinking-dots i:nth-child(14){--dot:13}
.thinking-dots i:nth-child(15){--dot:14}
.thinking-dots i:nth-child(16){--dot:15}
@container dashboard (min-width:700px){.dashboard-quick-access{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1000px) and (min-width:701px){.app-layout{grid-template-columns:196px minmax(0,1fr)}.app-content{padding:24px}}
@media(max-width:700px){.app-layout{grid-template-columns:48px minmax(0,1fr)}.app-content{padding:20px 16px}.course-site-visual{font-size:11px}.course-site-visual+.sync-visual{margin-left:0}.dashboard-quick-access{gap:24px}.study-prose{font-size:16px;line-height:28px}.assistant-message{font-size:14px;line-height:22.4px}.study-tabs button{font-size:12px}.course-links{padding-left:0}.course-links .nav-item{padding-left:8px}}

/* First-run demo mirrors the production EtlWelcome and ChatGPTSetup compositions. */
.app-frame[data-setup="true"] .app-toolbar,.app-frame[data-setup="true"] #app-sidebar{display:none}
.app-frame[data-setup="true"] .app-layout{grid-template-columns:minmax(0,1fr);padding:0}
.app-frame[data-setup="true"] .app-content{border:0;border-radius:0;background:var(--background);padding:20px 32px 56px}
.setup-preview{width:100%;height:100%;min-height:0;display:grid;grid-template-rows:28px minmax(0,1fr);gap:16px}
.setup-preview>header{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px}
.setup-preview>header strong{font-size:18px;color:var(--primary)}
.setup-preview>header>span{color:var(--muted-foreground)}
.setup-preview-content{width:min(100%,440px);align-self:safe center;margin:0 auto}
.setup-preview-content h2{font-size:26px;line-height:1.3;letter-spacing:-.035em;font-weight:600}
.setup-preview-content>p{font-size:14px;line-height:24px;color:var(--muted-foreground);margin:12px 0 20px}
.setup-preview-content>.setup-status{color:var(--primary)}
.setup-demo-note{display:block;font-size:11px;line-height:18px;color:var(--muted-foreground);margin-bottom:16px}
.setup-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:500;margin-bottom:16px}
.setup-field input{font-size:13px;line-height:20px;padding:8px 12px;background:var(--bui-field);color:var(--foreground);border:1px solid var(--border);border-radius:8px;min-width:0;width:100%}
.setup-next{width:100%;margin-top:16px}
.setup-course-list{margin:16px 0}
.setup-course-list>div{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--hairline);border-radius:8px;margin-bottom:8px}
.setup-course-list>div>.icon,.setup-course-list>div>span:first-child{color:var(--primary)}
.setup-course-list strong{font-size:13px;font-weight:500}
.setup-course-list small{display:block;font-size:12px;color:var(--muted-foreground);margin-top:4px}
.setup-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:700px){.app-frame[data-setup="true"] .app-content{padding:16px 20px 56px}.setup-preview-content{margin:0 auto}.setup-preview-content h2{font-size:24px}.setup-demo-note{margin-bottom:20px}.setup-steps{grid-template-columns:1fr}}

/* transitions-dev checkbox draw; connection confirmations use the same compact icon. */
:root {
  --check-box: 150ms;
  --check-draw: 350ms;
  --check-delay: 0ms;
  --check-uncheck: 150ms;
  --check-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.t-check {
  transition:
    background var(--check-box) var(--check-ease),
    box-shadow var(--check-box) var(--check-ease);
}
.t-check svg path {
  stroke-dasharray: var(--check-len, 15);
  stroke-dashoffset: var(--check-len, 15);
  transition: stroke-dashoffset var(--check-uncheck) var(--check-ease);
}
.t-check[aria-checked="true"] svg path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset var(--check-draw) var(--check-ease) var(--check-delay);
}
@media (prefers-reduced-motion: reduce) {
  .t-check, .t-check svg path { transition: none !important; }
}
.t-check{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex-shrink:0;border-radius:6px}
.setup-course-list .t-check{box-shadow:inset 0 0 0 1px var(--border)}
.setup-course-list .t-check[aria-checked="true"]{background:var(--primary);color:white;box-shadow:none}
.t-check>.icon{width:14px;height:14px}
.demo-connect{transition:transform 150ms var(--ease-smooth-out),box-shadow 150ms var(--ease-smooth-out)}
.demo-connect.demo-press{transform:scale(.98);box-shadow:0 0 0 3px var(--primary-soft)}
.setup-field input.demo-typing{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}
.demo-spinner{width:14px;height:14px;flex-shrink:0;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:demo-spin 650ms linear infinite}
@keyframes demo-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.demo-spinner{animation:none}.demo-connect.demo-press{transform:none}.demo-connect{transition:none}}

/* Match the desktop recipes across the complete demo, including compact widths. */
.study-tab-header{height:52px;min-height:52px;padding:8px;display:flex;align-items:center}
.study-tabs{height:32px;min-height:32px;width:100%}
.study-tabs button{height:28px;min-height:28px;padding:0 8px;font-size:12px}
.artifact-toolbar{height:44px;min-height:44px;padding:0 12px}
.pdf-dock{bottom:16px}.pdf-dock span,.pdf-dock button{width:28px;height:28px}
.course-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:16px}
.course-card{min-height:88px;padding:16px}.course-card small{margin-top:4px}
.course-tabs{gap:20px;margin:24px 0}.course-tabs button{font-size:13px;line-height:24px;padding:0 0 12px}
.recent-file-row{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:60px;padding:12px 4px;text-align:left;border-bottom:1px solid var(--hairline)}
.recent-file-row strong{font-size:13px;line-height:20px;font-weight:600}.recent-file-row small{display:block;font-size:12px;line-height:18px;margin-top:3px;color:var(--muted-foreground)}
.recent-file-row>.icon{width:14px;height:14px;color:var(--muted-foreground)}
.file-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:20px}
.file-card{padding:12px}.file-preview{aspect-ratio:4/3;height:auto;border:1px solid var(--hairline);border-radius:6px}
.file-name{font-size:14px;line-height:20px;font-weight:600;margin:12px 0 0}.file-card>small{font-size:12px;line-height:18px;margin:4px 0 0}
.calendar-panel{border-radius:10px;padding:20px;overflow:visible}
.calendar-header{padding:0 0 16px;gap:12px}.calendar-header h3{font-size:16px;line-height:24px}
.calendar-week{font-size:11px;padding:0 0 8px}.calendar-grid{gap:4px}
.calendar-cell,.calendar-cell:nth-child(7n){height:112px;min-height:112px;padding:5px 6px;border:1px solid var(--hairline);border-radius:8px}
.day-number.today{background:transparent;color:var(--primary);font-weight:700}
.calendar-event{height:20px;font-size:11px;line-height:16px;padding:0 4px;gap:4px;border-left:3px solid currentColor;border-radius:3px}
.calendar-event-time{color:var(--muted-foreground);flex-shrink:0}.calendar-event-title{overflow:hidden;text-overflow:ellipsis}
.calendar-event.exam{color:#b84b4b;background:#fcf0f0}.calendar-event.other{color:var(--muted-foreground);background:var(--bui-field)}
.calendar-legend{justify-content:flex-start;gap:12px;margin-top:16px;padding:0;font-size:12px}.calendar-legend i{width:7px;height:7px;border-radius:2px}
.calendar-legend .exam{background:#b84b4b}.calendar-legend .assignment{background:var(--primary)}.calendar-legend .class{background:#42775a}.calendar-legend .other{background:var(--muted-foreground)}
.calendar-agenda{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:24px}.calendar-agenda h3{font-size:14px;line-height:20px;margin-bottom:12px}
.timetable-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.timetable-grid-surface{border:1px solid var(--hairline);border-radius:10px;overflow:hidden;padding:12px 0 0}
.timetable-head{padding-bottom:12px}.time-grid{border-left:0}.time-labels span{padding-left:8px}
.class-legend{display:flex;flex-direction:column;gap:8px;margin-top:16px}.class-legend>span{padding:8px 12px;border:1px solid var(--hairline);border-radius:8px;font-size:14px;line-height:20px}.class-legend small{font-size:12px;margin-left:auto}.class-legend .passive{padding:0}
.timetable-add{display:block!important;padding:0!important;overflow:visible!important}.timetable-add h3{font-size:16px;line-height:24px;margin-bottom:16px}.timetable-add>.visual-select{display:flex;justify-content:center;margin-bottom:16px}.timetable-add .search-field{max-width:none}.timetable-add p{font-size:13px;line-height:20px;color:var(--muted-foreground)}
.app-content[data-screen="timetable"]{container:timetable / inline-size}
@container timetable (min-width:700px){.timetable-workspace{grid-template-columns:minmax(0,1fr) 22rem}}
.app-content[data-screen="assistant"]{padding:0;overflow:hidden}
.assistant-page{max-width:none;min-height:0;height:100%;margin:0;--chat-inset:clamp(16px,4%,40px)}
.assistant-heading{padding:12px 16px}.assistant-heading h2{font-size:14px;line-height:20px;font-weight:600}
.assistant-scope{display:flex;gap:8px;padding:12px 16px;align-items:end}.assistant-scope label{font-size:12px;flex:1;min-width:0}.assistant-scope select{font-size:13px}.assistant-scope>.icon{width:12px}
.assistant-chat{padding:16px var(--chat-inset);display:flex;flex-direction:column;font-size:14px;line-height:1.6}
.assistant-chat>.chat-turns{margin-top:auto}.assistant-chat:has(.assistant-welcome)>.chat-turns{margin-top:0}
.assistant-chat>.user-bubble{margin-top:auto}
.assistant-welcome{padding:0;text-align:left;margin-top:auto}.assistant-welcome h3{font-size:18px;line-height:26px;margin-bottom:8px}.assistant-welcome p{font-size:14px;line-height:22.4px;margin:0}
.user-bubble{font-size:14px;max-width:90%}.assistant-message small{font-size:12px;line-height:18px}.suggestion{font-size:13px;line-height:20px}
.assistant-chat>.suggested-questions{margin-top:20px}.chat-turn{margin-top:24px}.chat-turn:first-child{margin-top:0}
.composer-wrap{flex-shrink:0;padding:12px 16px 16px}
.assistant-page>.composer-wrap{padding:8px var(--chat-inset) 16px;border-top:1px solid var(--hairline)}
.visual-composer,.assistant-page .composer{display:flex;flex-direction:column;gap:10px;margin:0;min-height:0;padding:14px;border-radius:22px}
.composer textarea{display:block;min-height:68px;width:100%;padding:8px;border:0;background:transparent;resize:none;color:var(--foreground);font-size:14px;line-height:20px;outline:none}
.composer-actions{display:flex;align-items:center;justify-content:space-between;width:100%}.composer-actions .passive{padding:0}.composer-actions .icon{width:18px;height:18px}
.send-visual{width:auto;height:32px;align-self:auto;border-radius:999px;background:var(--primary);color:white;transition:transform 150ms var(--ease-smooth-out)}.send-visual.demo-press{transform:scale(.96)}
.exam-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px}
.exam-card{display:flex;flex-direction:column;gap:8px;width:100%;max-width:none;padding:20px;text-align:left;border:1px solid var(--hairline);box-shadow:none}
.exam-tile-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.exam-tile-top>small{background:var(--bui-field);border-radius:6px;padding:2px 8px}
.exam-card>strong{font-size:14px;line-height:20px}.exam-card small{font-size:12px;line-height:18px;color:var(--muted-foreground)}.exam-tile-meta{display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:18px;color:var(--muted-foreground);margin-top:8px}
.app-content[data-screen="settings"]>.page-header,.settings-sections{max-width:760px;margin-left:auto;margin-right:auto}
.settings-sections h3{font-size:14px;line-height:20px}.settings-sections p{font-size:13px;line-height:20px;margin:8px 0}.settings-sections>section>small{font-size:12px;color:var(--muted-foreground)}
.settings-account-name{display:block;font-size:13px;line-height:20px;font-weight:600}.settings-account{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.settings-account small{display:block;font-size:12px;color:var(--muted-foreground)}
.settings-course-disclosure{margin:16px 0}.settings-course-disclosure summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;font-size:13px;line-height:20px}.settings-course-disclosure summary>.icon{width:12px;height:12px}.settings-course-disclosure[open] summary>.icon{transform:rotate(90deg)}
.settings-course-row{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid var(--hairline);font-size:13px}.settings-course-row small{display:block;font-size:12px;color:var(--muted-foreground)}
.setting-model{display:grid;grid-template-columns:minmax(0,1fr) 160px;align-items:center;gap:16px;margin-bottom:16px;font-size:13px}.setting-model .visual-select{justify-content:space-between}
@container(max-width:639px){.calendar-panel{padding:12px}.calendar-cell,.calendar-cell:nth-child(7n){min-height:92px;height:92px;padding:5px 3px}.calendar-grid{gap:2px}.calendar-agenda{grid-template-columns:minmax(0,1fr)}.calendar-event-time{display:none}.study-tabs button{padding:0 6px}}
@container(max-width:400px){.assistant-scope{flex-direction:column;align-items:stretch}.assistant-scope>.icon{display:none}.setting-model{grid-template-columns:minmax(0,1fr)}.calendar-event{font-size:9px}.calendar-week{font-size:9px}}
.study-panel-body:has(.tutor-header){display:flex;flex-direction:column;overflow:hidden}
.study-panel-body:has(.tutor-header) .tutor-body{flex:1;min-height:0;overflow:auto;font-size:14px;line-height:22.4px;padding:16px}
.tutor-header{flex-shrink:0;padding:12px 16px}.tutor-header strong{font-size:14px;line-height:20px}.tutor-answer{font-size:14px;line-height:22.4px}
.assistant-chat>*{width:100%;max-width:840px;margin-left:auto;margin-right:auto}.assistant-chat>.user-bubble{width:fit-content;max-width:min(90%,840px);margin-right:0}
.assistant-page .composer{width:100%;max-width:840px;margin:auto}
.composer:focus-within{border-color:var(--ring);box-shadow:0 0 0 2px var(--primary-soft)}
.agenda-empty{font-size:13px;line-height:20px;color:var(--muted-foreground);padding:12px 0}
.question-card{padding:12px;margin:16px;border-radius:10px;background:var(--background);box-shadow:var(--bui-shadow-hairline)}
.question-card>small{font-size:12px;letter-spacing:normal;text-transform:none}.question-card h3,.exam-runner>h3{font-size:16px;line-height:28px;font-weight:600}
.answer-choice{align-items:flex-start;padding:10px 12px;gap:8px;border-color:transparent;background:transparent;font-size:16px;line-height:28px}
.answer-choice>span:first-child{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:18px;height:18px;margin-top:5px;border-radius:50%;font-size:10px;line-height:18px;box-shadow:inset 0 0 0 1.5px var(--bui-line-strong)}
.answer-choice>span:nth-child(2){font-size:16px;line-height:28px;color:var(--foreground)}
.answer-choice.chosen{border-color:transparent;background:var(--primary-soft)}.answer-choice.chosen>span:first-child{background:var(--primary);color:white;box-shadow:none}
.answer-feedback{padding:12px;font-size:14px;line-height:22.4px}.answer-feedback p{line-height:22.4px}
.flashcard-face{min-height:260px;height:auto;padding:24px;border-color:transparent;border-radius:10px;background:var(--background);box-shadow:var(--bui-shadow-card)}
.flashcard-face small{align-self:center;font-size:12px;line-height:20px;letter-spacing:normal;text-transform:none;padding:4px 8px;border-radius:6px;background:var(--primary-soft)}
.flashcard-face p{font-size:16px;line-height:28px}
.study-tab-header{container:study-tabs / inline-size}
@container study-tabs (max-width:500px){.study-tabs .icon{display:none}.study-tabs button{padding:0 6px}}
.timetable-course-form{border:1px solid var(--hairline);border-radius:10px;padding:16px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.timetable-course-form>.setup-field{width:100%;margin:0}.timetable-course-form input{height:36px;background:var(--background)}
.timetable-meeting{display:flex;flex-wrap:wrap;gap:8px}.timetable-meeting label{display:flex;flex-direction:column;gap:6px;font-size:12px;line-height:18px;font-weight:500}.timetable-meeting .visual-select{gap:8px;padding:4px 6px;font-size:13px;color:var(--foreground)}
.timetable-submit{opacity:.5}

/* Page and dashboard geometry comes from the production styles copied by build.mjs. */
.app-layout{grid-template-columns:224px minmax(0,1fr);gap:0;padding:0 12px 12px 0}
.app-layout aside#app-sidebar{padding:8px 8px 12px;overflow-y:auto}
.primary-nav{gap:0;padding:0 2px 12px}.nav-item{margin:1px 0;padding:6px 8px}.nav-item .icon{width:18px;height:18px}
.semester-nav{margin-top:0}.semester-nav>small{padding:0 10px;margin:12px 0 8px}.course-links{padding-left:20px}.course-links .nav-item{padding-left:8px}
.app-layout:has(.sidebar-hidden){padding-left:12px}
.app-content:has(>.demo-page){padding:0}
.demo-page{min-height:100%}.demo-page .page-header{display:block}.page-heading-row [data-page-heading] h2{font-size:26px;line-height:33.8px;font-weight:600;letter-spacing:-.035em;overflow-wrap:anywhere}
.page-header p{margin-top:8px;font-size:12px;line-height:18px}
.breadcrumb,.breadcrumbs{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:12px;line-height:20px}
.page-header>.course-tabs{margin-top:24px;margin-bottom:0}.course-tabs button{line-height:20px}.course-tabs button.active{font-weight:600}
.dashboard-section{margin-top:0}.dashboard-resume .mini-paper{width:100%;height:auto;aspect-ratio:4/3}
.dashboard-resume-copy>small{font-size:12px;line-height:18px;margin-top:6px;color:color-mix(in srgb,var(--foreground) 72%,var(--primary))}
.dashboard-schedule{gap:0}.dashboard .announcement-row{display:flex;flex-direction:column;align-items:flex-start;gap:0;justify-content:center}
.app-content[data-screen="settings"]>.demo-page{--page-max-width:760px}
.settings-sections,.settings-sections+.page-header{max-width:none;margin:0}
.setting-row{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:16px;margin-top:0}
.setting-row .visual-select{min-width:0;width:160px}
.folder-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:12px;margin-bottom:28px}
.folder-card{padding:12px;min-height:76px;display:flex;flex-direction:column;justify-content:center;gap:4px}.folder-card small{margin:0;font-size:12px;line-height:18px}.folder-card strong{font-size:14px;line-height:20px;font-weight:600}
.file-card{display:flex;flex-direction:column;gap:12px}.file-name{margin:0}.file-card>small{margin:0}.file-card .file-meta{display:flex;flex-direction:column;gap:6px;font-size:12px;line-height:18px;color:var(--muted-foreground)}
.calendar-header{flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:12px;padding:0;margin-bottom:20px}.calendar-header h3{font-size:14px;line-height:20px}
.day-number{width:28px;height:28px;min-height:28px;line-height:20px;font-size:13px;margin-bottom:4px}
.calendar-event{align-items:baseline;color:var(--foreground)}.calendar-event.exam{border-left-color:var(--ink-red);color:var(--foreground)}.calendar-event.assignment{border-left-color:var(--primary)}.calendar-event.class{border-left-color:var(--ink-green)}.calendar-event.other{border-left-color:var(--muted-foreground);color:var(--foreground)}
.calendar-agenda .deadline-row{border-radius:8px;padding:12px;min-height:44px}.calendar-agenda .date-badge{display:none}
.study-prose{padding:16px}.study-prose h2{font-size:20px;line-height:27.5px;font-weight:600;letter-spacing:normal;margin:32px 0 10px}.study-prose h3{margin:32px 0 10px}.study-prose>:first-child{margin-top:0}.study-prose>:last-child{margin-bottom:0}.study-prose p,.study-prose ul{margin-block:14px}.study-prose ul{padding-left:20px}.study-prose li{margin:8px 0}
.tutor-header{height:44px;min-height:44px;padding:0 12px}.tutor-header strong{font-size:13px;line-height:20px}.context-caption{padding:8px;margin-bottom:16px;font-size:12px;line-height:18px}
.pdf-header strong{font-size:13px}.pdf-header{gap:8px}.page-count,.zoom-visual{font-size:12px}
.assistant-page>.assistant-heading,.assistant-page>.assistant-scope,.assistant-page>.assistant-chat,.assistant-page>.composer-wrap{width:100%;max-width:840px;margin-inline:auto;padding-inline:var(--chat-inset)}
.assistant-chat>*{max-width:none}.assistant-page .composer{max-width:none}.assistant-heading h2{margin-right:auto}
.chat-turn .user-bubble{margin-bottom:16px}.chat-turn .assistant-message{margin-bottom:28px}
.timetable-grid-surface{padding-top:0}.timetable-head{padding:8px 0;font-size:12px;line-height:16px}.time-labels span{height:64px;font-size:12px;line-height:16px}.time-grid{grid-template-rows:repeat(9,64px)}
.timetable-course-form{border:0;border-radius:0;padding:0}.timetable-course-form input,.setup-field input{height:32px;padding:4px 12px}
.exam-card{border:0;box-shadow:var(--bui-shadow-card);background:var(--card)}
.setup-preview-content{width:min(100%,420px);padding:48px 0}.app-frame[data-setup="true"] .app-content{padding:24px 32px}.setup-preview{gap:0;grid-template-rows:auto minmax(0,1fr)}
.setup-preview-content>p:first-of-type{margin:8px 0 32px}.setup-field{line-height:18px;font-size:12px;font-weight:500}.setup-demo-note{margin-bottom:16px}
@media(max-width:1000px) and (min-width:701px){.app-layout{grid-template-columns:196px minmax(0,1fr)}}
@media(max-width:700px){.app-layout{grid-template-columns:48px minmax(0,1fr);padding:0 6px 6px 0}.app-layout aside#app-sidebar{padding:8px 4px 12px}.primary-nav{padding:0 0 12px}.nav-item{padding:6px;justify-content:center}.course-links{padding-left:0}.app-frame[data-setup="true"] .app-content{padding:20px}.setup-preview-content{padding:32px 0}.setting-row{grid-template-columns:minmax(0,1fr);gap:12px}.setting-row .visual-select{width:100%}}
@container(max-width:639px){.calendar-cell,.calendar-cell:nth-child(7n){height:112px;min-height:92px}.calendar-header h3{font-size:14px}.calendar-event{padding:2px 3px;border-left-width:2px}}
#app-sidebar>.settings-nav{margin-top:auto}
.dashboard .announcement-row.dashboard-row{align-items:flex-start;justify-content:center}
.flashcard-review{padding:12px 16px 16px;display:flex;flex-direction:column;min-height:0}
.flashcard-face{width:100%;max-width:576px;aspect-ratio:5/3;min-height:260px;margin-inline:auto}.flashcard-face small{margin-bottom:12px}
.review-progress,.card-navigation{width:100%;max-width:576px;margin-inline:auto}.review-progress{margin-bottom:12px}.card-navigation{margin-top:8px;display:grid;grid-template-columns:auto 1fr auto;gap:12px;text-align:center;font-size:12px}
.flashcard-actions{height:auto;min-height:52px;margin-top:12px}.flashcard-ratings{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;max-width:448px}
.flashcard-rating{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:6px 16px;border:1px solid var(--hairline);border-radius:8px;background:var(--canvas)}.flashcard-rating strong{font-size:14px;line-height:20px;font-weight:500}.flashcard-rating small{font-size:12px;line-height:18px;color:var(--muted-foreground)}.flashcard-rating.primary{border-color:transparent;background:var(--primary-soft)}
.settings-course-disclosure summary{padding:12px 0;font-size:14px;line-height:20px;font-weight:500}.settings-course-terms{margin-left:20px;padding-bottom:12px}.settings-course-terms details>summary{padding:8px 0;font-weight:400}.settings-course-choices{margin-left:20px;padding-top:8px;display:grid;gap:8px}
.settings-course-row{padding:10px 12px;border:0;border-radius:8px;background:var(--canvas);gap:12px}.settings-course-row>span:first-child .icon{width:16px;height:16px}
.detail-dialog{padding:20px;border:0;background:var(--popover);font-size:13px;line-height:20px}.detail-dialog h2{font-size:16px;line-height:24px;letter-spacing:normal;font-weight:600}.detail-dialog::backdrop{background:color-mix(in srgb,var(--foreground) 18%,transparent);backdrop-filter:none}
.detail-dialog[data-kind="event"]{position:fixed;inset:auto;margin:0;width:min(340px,calc(100vw - 32px));max-height:min(480px,calc(100dvh - 32px));overflow:auto}.detail-dialog[data-kind="event"]::backdrop{background:transparent}.detail-dialog .event-meta{margin-top:16px;font-variant-numeric:tabular-nums}.detail-actions{margin-top:16px}
.page-header [data-page-actions]>.search-field{margin:0;width:224px;max-width:100%}.page-header [data-page-actions]{min-width:0}
.scope-line{gap:8px}.scope-line small{font-size:14px;line-height:20px;font-weight:500}
.announcement-preview{border:0}.announcement-preview small{margin:0;font-size:12px;line-height:18px}.announcement-preview p{font-size:14px;line-height:20px;margin:0}
.app-content[data-screen="exam"]{padding:0}.exam-toolbar{position:sticky;top:0;z-index:1;border-bottom:1px solid var(--hairline);background:var(--background)}.exam-toolbar>div{display:flex;align-items:center;gap:12px;max-width:896px;margin:auto;padding:12px 32px}.exam-toolbar>div>span:first-of-type{margin-left:auto;font-size:13px}
.exam-content{max-width:896px;margin:auto;padding:48px 32px}.exam-content .page-header{margin-bottom:32px;display:block}.exam-content h2{font-size:26px;line-height:33.8px}.exam-question{padding:20px;display:grid;gap:16px;min-width:0;border-radius:10px;box-shadow:var(--bui-shadow-hairline)}.exam-question h3{font-size:16px;line-height:28px}.exam-question .question-options{margin:0}.exam-question .review-progress{margin:0}.exam-submit{margin-top:32px;padding-top:24px;border-top:1px solid var(--hairline)}
.deck-header{height:44px;min-height:44px;padding:0 12px}.deck-header strong{font-size:14px;line-height:20px}.deck-header small{font-size:12px;line-height:18px;margin:0}
.setup-preview-content>p:first-of-type{margin-top:12px}
@media(max-width:1050px){.exam-content{padding:32px 20px}.exam-toolbar>div{padding:12px 20px}}
.app-toolbar{gap:12px;font-weight:600}.icon-button{width:32px;height:32px}.pdf-dock span,.pdf-dock button{width:28px;height:28px}
.app-button{height:32px;min-height:32px;padding:0 16px;font-size:13px;line-height:19.5px;font-weight:500}.app-button .icon{width:16px;height:16px}.app-button.small{height:28px;min-height:28px;padding:0 12px}
.source-link{font-size:12px;line-height:20px}.source-link .icon{width:12px;height:12px}
.dashboard .announcement-row.dashboard-row{gap:0}
.inline-action{display:inline-flex;align-items:center;justify-content:center;height:28px;min-height:28px;padding:0 12px;font-size:13px;line-height:19.5px;font-weight:500}
.course-card>.icon{margin-left:auto}
.app-content[data-screen="library"] .course-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));gap:12px;margin-bottom:28px}
.app-content[data-screen="library"] .course-card{min-height:76px;padding:12px}
.chat-history{margin-top:0;padding:20px 4px 4px}.new-chat{justify-content:flex-start}.history-search{font-size:13px;line-height:20px;min-height:32px}.history-item{padding:8px;font-size:13px;line-height:20px;min-height:36px}.history-item.active{background:var(--primary-soft);color:var(--primary)}
.timetable-head{grid-template-columns:48px repeat(5,minmax(0,1fr))}.time-labels{width:48px}.class-session{width:calc(20% - 4px);padding:4px 6px}.class-session strong{display:block;font-size:11px;line-height:13.75px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.class-session small{font-size:11px;line-height:13.75px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-resume>div.dashboard-resume-copy{min-width:0}
.app-frame:lang(ko){word-break:keep-all;overflow-wrap:break-word}
.answer-choice>span:nth-child(2){min-width:0;flex:1;white-space:normal;overflow-wrap:anywhere}
span.app-button{pointer-events:none}
@media(max-width:700px){.exam-toolbar>div{flex-wrap:wrap;gap:8px}}
.calendar-event.exam{background:color-mix(in srgb,var(--ink-red) 10%,var(--background))}.calendar-event.assignment{background:color-mix(in srgb,var(--primary) 10%,var(--background))}.calendar-event.class{background:color-mix(in srgb,var(--ink-green) 10%,var(--background))}.calendar-event.other{background:color-mix(in srgb,var(--muted-foreground) 10%,var(--background))}
.calendar-legend .exam{background:var(--ink-red)}.calendar-legend .class{background:var(--ink-green)}
.visual-select,.page-header .visual-select{min-height:32px;border:1px solid var(--hairline);padding:4px 10px;font-size:13px;line-height:20px;gap:12px}
.search-field{height:32px;border:1px solid var(--hairline)}.search-field input{font-size:13px;line-height:20px}.search-field .icon{width:16px;height:16px}
.setup-field input{border-color:var(--hairline)}
.visual-select,.page-header .visual-select{gap:8px;color:var(--foreground)}.visual-select .icon{width:14px;height:14px}.setup-preview>header>.visual-select{color:var(--foreground)}

.assistant-scope [data-apeul-native-select]{width:100%}

/* The shell already owns the 12px bottom gutter; do not inset its footer twice. */
.app-layout aside#app-sidebar{padding-bottom:0}.settings-nav{flex-shrink:0}
.study-panel-body[hidden]{display:none!important}

.app-layout aside#app-sidebar{overflow:hidden}.sidebar-scroll{flex:1;min-height:0;overflow:auto;padding-bottom:12px}.sidebar-footer{flex-shrink:0;padding-top:8px;border-top:1px solid var(--hairline)}.sidebar-footer .settings-nav{margin-top:0;padding:6px 8px;border:0;border-radius:8px;min-height:32px}

/* transitions-dev panel reveal, tuned to Beautiful UI's quiet easing. */
.demo-motion-entry{--panel-open-dur:180ms;--panel-close-dur:120ms;--panel-translate-y:6px;--panel-blur:0px;--panel-ease:var(--bui-ease)}
.demo-motion-entry.study-panel-body{--panel-open-dur:150ms;--panel-translate-y:4px}
.motion-snapshot{position:absolute!important;margin:0!important;min-height:0!important;max-width:none!important;overflow:hidden!important;pointer-events:none!important;background:var(--background);z-index:2}
/* transitions-dev sliding tabs recipe. Geometry follows the desktop's 32px bar. */
.t-tabs-pill {
  position: absolute;
  top: 3px;
  left: 0;
  height: 30px;
  width: 0;
  background: var(--tabs-pill-bg);
  border-radius: 48px;
  transform: translateX(0);
  transition:
    transform var(--tabs-dur) var(--tabs-ease),
    width     var(--tabs-dur) var(--tabs-ease);
  will-change: transform, width;
  z-index: 0;
  pointer-events: none;
}
.study-tabs{position:relative;--tabs-dur:180ms;--tabs-ease:var(--bui-ease);--tabs-pill-bg:var(--background)}
.study-tabs>.t-tabs-pill{top:2px;height:28px;box-shadow:var(--bui-shadow-hairline)}
.study-tabs>button{position:relative;z-index:1;transition:color 150ms var(--bui-ease)}
.study-tabs>button.selected{background:transparent;box-shadow:none}
.nav-item,.course-tabs button{transition:background-color 150ms var(--bui-ease),color 150ms var(--bui-ease)}
@media(prefers-reduced-motion:reduce){.t-tabs-pill,.study-tabs>button,.nav-item,.course-tabs button{transition:none!important}.motion-snapshot{display:none}}

.preview-caption,.expanded-header{justify-content:flex-end}

/* Keep navigation at the header center, independent of the widths at either side. */
.site-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.site-nav>.brand{justify-self:start}.site-nav>nav{justify-self:center}.site-nav>.nav-actions{justify-self:end}
.coming-soon{place-items:center;text-align:center}
@media(min-width:701px) and (max-width:900px){.site-nav{grid-template-columns:minmax(0,1fr) auto;row-gap:16px}.site-nav>nav{grid-column:1/-1;grid-row:2}.site-nav>.nav-actions{grid-column:2;grid-row:1}}
@media(max-width:700px){.site-nav{grid-template-columns:auto minmax(0,1fr)}}
