body.v2-active.study-shell,.v2-auth.study-shell{--surface-muted: #F6F7F9;--card-bg: #FFFFFF;--surface-2: #F9FAFB;--surface-3: #F1F3F6;--sidebar-bg: #FFFFFF;--border: #E4E7EC;--border-strong: #D0D5DD;--border-soft: rgba(228, 231, 236, .7);--text-primary: #14161B;--text-secondary:#363B47;--text-muted: #5B6271;--faint: #6A7181;--accent: #4338CA;--accent-hover: #3730A3;--accent-ink: #3730A3;--accent-tint: #EEF0FD;--accent-tint-soft: #F5F6FE;--accent-border: #C7CCF8;--accent-ring: rgba(67, 56, 202, .18);--button-bg: #4338CA;--scrim: rgba(20, 22, 27, .72);--input-bg: #FFFFFF;--input-border: #D0D5DD;--green-text: #067647;--green-bg: #ECFDF3;--green-border: #ABEFC6;--amber-text: #93370D;--amber-bg: #FEF6E7;--amber-border: #FBD38D;--red-text: #B42318;--red-bg: #FEF3F2;--red-border: #FECDCA;--blue-text: #1849A9;--blue-bg: #EFF4FF;--blue-border: #C3D5FD;--xs: 6px;--sm: 8px;--md: 12px;--lg: 16px;--full: 9999px;--shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .04);--shadow-md: 0 4px 8px -2px rgba(16, 24, 40, .08), 0 2px 4px -2px rgba(16, 24, 40, .04);--shadow-lg: 0 20px 24px -4px rgba(16, 24, 40, .1), 0 8px 8px -4px rgba(16, 24, 40, .04);--font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;--text-caption: .75rem;--text-label: .8125rem;--text-callout: .875rem;--tool: var(--accent);--tool-tint: var(--accent-tint)}body.study-shell{font-family:var(--font-body);font-size:15px;line-height:1.5;color:var(--text-primary);background:var(--surface-muted);font-feature-settings:"cv11","ss01";-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.study-shell [data-tool=home],body.study-shell[data-tool=home]{--tool: #4338CA;--tool-tint: #EEF0FD}.study-shell [data-tool=studyMaterials],body.study-shell[data-tool=studyMaterials]{--tool: #1D4ED8;--tool-tint: #E8F0FE}.study-shell [data-tool=flashcards],body.study-shell[data-tool=flashcards]{--tool: #6D28D9;--tool-tint: #F1EBFE}.study-shell [data-tool=quizzes],body.study-shell[data-tool=quizzes]{--tool: #B45309;--tool-tint: #FDF3DC}.study-shell [data-tool=tutor],body.study-shell[data-tool=tutor]{--tool: #0F766E;--tool-tint: #DDF5F1}.study-shell [data-tool=audioRecaps],body.study-shell[data-tool=audioRecaps]{--tool: #BE185D;--tool-tint: #FCE8EF}.study-shell [data-tool=studyPlan],body.study-shell[data-tool=studyPlan]{--tool: #0369A1;--tool-tint: #DFF3FA}.study-shell [data-tool=teacherSpace],body.study-shell[data-tool=teacherSpace]{--tool: #475569;--tool-tint: #ECEEF2}.study-tool-icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;border-radius:10px;background:var(--tool-tint);color:var(--tool)}.study-tool-icon--sm{width:28px;height:28px;border-radius:8px}.study-tool-icon--lg{width:44px;height:44px;border-radius:12px}.study-tool-icon--streak{--tool: #C2410C;--tool-tint: #FFEDE0}.study-shell .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}@media(prefers-reduced-motion:reduce){.study-shell *,.study-shell *:before,.study-shell *:after{transition:none!important;animation:none!important}}.study-shell [data-tool=home],body.study-shell[data-tool=home]{--tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234338CA' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8'/%3E%3Cpath d='M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E")}.study-shell [data-tool=studyMaterials],body.study-shell[data-tool=studyMaterials]{--tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D4ED8' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v16'/%3E%3Cpath d='M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z'/%3E%3C/svg%3E")}.study-shell [data-tool=flashcards],body.study-shell[data-tool=flashcards]{--tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D28D9' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z'/%3E%3Cpath d='M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12'/%3E%3Cpath d='M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17'/%3E%3C/svg%3E")}.study-shell [data-tool=quizzes],body.study-shell[data-tool=quizzes]{--tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B45309' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 5h8'/%3E%3Cpath d='M13 12h8'/%3E%3Cpath d='M13 19h8'/%3E%3Cpath d='m3 17 2 2 4-4'/%3E%3Cpath d='m3 7 2 2 4-4'/%3E%3C/svg%3E")}.study-shell [data-tool=tutor],body.study-shell[data-tool=tutor]{--tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 14.286V4a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/%3E%3Cpath d='M20 9a2 2 0 0 1 2 2v10.286a.71.71 0 0 1-1.212.502l-2.202-2.202A2 2 0 0 0 17.172 19H10a2 2 0 0 1-2-2v-1'/%3E%3C/svg%3E")}.study-shell [data-tool=audioRecaps],body.study-shell[data-tool=audioRecaps]{--tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BE185D' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3'/%3E%3C/svg%3E")}.study-shell [data-tool=studyPlan],body.study-shell[data-tool=studyPlan]{--tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369A1' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v3'/%3E%3Cpath d='M16 2v3'/%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='m9 15 2 2 4-4'/%3E%3C/svg%3E")}.study-shell [data-tool=teacherSpace],body.study-shell[data-tool=teacherSpace]{--tool-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4'/%3E%3Cpath d='M2 6h4'/%3E%3Cpath d='M2 10h4'/%3E%3Cpath d='M2 14h4'/%3E%3Cpath d='M2 18h4'/%3E%3Cpath d='M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z'/%3E%3C/svg%3E")}.study-shell .v2-page{max-width:1180px;padding:32px 40px 64px;margin:0 auto;box-sizing:border-box}.study-shell .v2-page h1{font-family:var(--font-display);font-size:1.625rem;font-weight:650;line-height:1.2;letter-spacing:-.022em;margin:0 0 4px;color:var(--text-primary)}.study-shell .v2-page .v2-subtitle{color:var(--text-muted);font-size:.9375rem;margin:0 0 24px;line-height:1.5}.study-shell .v2-page-head{align-items:center;margin-bottom:20px;gap:20px}.study-shell .v2-page-head .v2-subtitle{margin:0}.study-shell .v2-page h2,.study-shell .v2-page h3{letter-spacing:-.012em;color:var(--text-primary)}.study-shell .v2-row-meta{color:var(--text-muted);font-size:.8125rem}.study-shell .v2-toolbar{gap:10px;margin-bottom:16px}.study-shell .v2-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 16px;box-sizing:border-box;font-family:var(--font-body);font-size:.875rem;font-weight:600;line-height:1.2;letter-spacing:-.005em;color:#fff;background:var(--accent);border:1px solid var(--accent);border-radius:10px;box-shadow:var(--shadow-xs),inset 0 1px #ffffff1f;text-decoration:none;cursor:pointer;transition:background .12s ease,border-color .12s ease,box-shadow .12s ease}.study-shell .v2-btn:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.study-shell .v2-btn.v2-btn--ghost{color:var(--text-secondary);background:var(--card-bg);border-color:var(--border-strong);box-shadow:var(--shadow-xs)}.study-shell .v2-btn.v2-btn--ghost:hover{background:var(--surface-2);color:var(--text-primary);border-color:var(--border-strong)}.study-shell .v2-btn.v2-btn--danger{background:var(--red-text);border-color:var(--red-text)}.study-shell .v2-btn.v2-btn--danger:hover{background:#912018;border-color:#912018}.study-shell .v2-btn.v2-btn--sm{min-height:32px;padding:5px 12px;font-size:.8125rem;border-radius:8px}.study-shell .v2-btn:focus-visible,.study-shell .v2-icon-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.study-shell .v2-btn:disabled,.study-shell .v2-btn[aria-disabled=true]{opacity:.55}.study-shell .v2-btn.v2-btn--ghost[class*=-danger],.study-shell .v2-btn[class*=-danger]:not(.v2-btn--danger){color:var(--red-text);background:var(--card-bg);border-color:var(--border-strong)}.study-shell .v2-btn[class*=-danger]:not(.v2-btn--danger):hover{background:var(--red-bg);border-color:var(--red-border)}.study-shell .v2-icon-btn{color:var(--text-muted);border-radius:8px}.study-shell .v2-icon-btn:hover{background:var(--surface-3);color:var(--text-primary)}.study-shell .v2-field{margin-bottom:16px}.study-shell .v2-field label{font-size:.8125rem;font-weight:600;color:var(--text-secondary);margin-bottom:6px}.study-shell .v2-input,.study-shell .v2-textarea,.study-shell .v2-select,.study-shell .v2-page select,.study-shell .v2-modal select{font-family:var(--font-body);font-size:.9375rem;color:var(--text-primary);background:var(--input-bg);border:1px solid var(--input-border);border-radius:10px;min-height:40px;padding:8px 12px;box-sizing:border-box;box-shadow:var(--shadow-xs);transition:border-color .12s ease,box-shadow .12s ease}.study-shell textarea.v2-input,.study-shell .v2-textarea{line-height:1.55}.study-shell .v2-input:focus,.study-shell .v2-textarea:focus,.study-shell .v2-select:focus,.study-shell .v2-page select:focus,.study-shell .v2-modal select:focus{outline:2px solid transparent;border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring)}.study-shell .v2-input::placeholder,.study-shell .v2-textarea::placeholder{color:var(--faint)}.study-shell input[type=checkbox],.study-shell input[type=radio]{accent-color:var(--accent)}.study-shell input[type=file]{font-family:var(--font-body);font-size:.875rem;color:var(--text-muted)}.study-shell input[type=file]::file-selector-button{margin-right:12px;padding:7px 14px;font:inherit;font-weight:600;color:var(--text-secondary);cursor:pointer;background:var(--card-bg);border:1px solid var(--border-strong);border-radius:8px;box-shadow:var(--shadow-xs)}.study-shell input[type=file]::file-selector-button:hover{background:var(--surface-2)}.study-shell .v2-pill{gap:4px;padding:2px 8px;border-radius:6px;font-size:.75rem;font-weight:600;letter-spacing:0;line-height:1.4}.study-shell .v2-pill:before{display:none}.study-shell .v2-pill--neutral{color:var(--text-secondary);background:var(--surface-3);border-color:transparent}.study-shell .v2-pill--blue{color:var(--blue-text);background:var(--blue-bg);border-color:transparent}.study-shell .v2-pill--green{color:var(--green-text);background:var(--green-bg);border-color:transparent}.study-shell .v2-pill--amber{color:var(--amber-text);background:var(--amber-bg);border-color:transparent}.study-shell .v2-pill--red{color:var(--red-text);background:var(--red-bg);border-color:transparent}.study-shell .v2-banner{display:block;padding:11px 14px;margin-bottom:16px;border-radius:10px;font-size:.875rem;line-height:1.5;color:var(--text-secondary);background:var(--card-bg);border:1px solid var(--border)}.study-shell .v2-banner--ok{color:var(--green-text);background:var(--green-bg);border-color:var(--green-border)}.study-shell .v2-banner--warn{color:var(--amber-text);background:var(--amber-bg);border-color:var(--amber-border)}.study-shell .v2-banner--busy{color:var(--accent-ink);background:var(--accent-tint);border-color:var(--accent-border)}.study-shell .v2-error{border-radius:10px;padding:11px 14px;font-size:.875rem;line-height:1.5}.study-shell .v2-page>:is(.v2-fc-privacy,.v2-qz-privacy,.v2-sm-privacy,.v2-ar-privacy,.v2-tu-privacy,.v2-ts-privacy,.v2-plan-privacy){display:flex;align-items:flex-start;gap:8px;padding:0;margin:-8px 0 22px;background:none;border:0;border-radius:0;color:var(--text-muted);font-size:.8125rem}.study-shell .v2-page>:is(.v2-fc-privacy,.v2-qz-privacy,.v2-sm-privacy,.v2-ar-privacy,.v2-tu-privacy,.v2-ts-privacy,.v2-plan-privacy):before{content:"";flex-shrink:0;width:14px;height:14px;margin-top:2px;background:currentColor;-webkit-mask:var(--lock-icon) center / contain no-repeat;mask:var(--lock-icon) center / contain no-repeat}.study-shell{--lock-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='16' r='1'/%3E%3Crect x='3' y='10' width='18' height='12' rx='2'/%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3'/%3E%3C/svg%3E")}.study-shell .v2-page .v2-empty{padding:44px 20px;color:var(--text-muted);font-size:.9375rem;line-height:1.55;background:var(--card-bg);border:1px dashed var(--border-strong);border-radius:14px}.study-shell .v2-modal .v2-empty{border:0;background:none;padding:24px 10px}.study-shell .v2-seg{background:var(--surface-3);border:1px solid var(--border);border-radius:10px;padding:3px;gap:2px}.study-shell .v2-seg-tab{border-radius:7px;font-size:.875rem;font-weight:600;color:var(--text-muted);padding:6px 14px}.study-shell .v2-seg-tab:hover:not(.v2-seg-tab--on){background:#fff9;color:var(--text-primary)}.study-shell .v2-seg-tab--on{background:var(--card-bg);color:var(--text-primary);box-shadow:var(--shadow-sm)}.study-shell .v2-viewer-tabs{border-bottom:1px solid var(--border);gap:4px}.study-shell .v2-viewer-tab{font-weight:600;font-size:.875rem;color:var(--text-muted);padding:10px 12px}.study-shell .v2-viewer-tab:hover{color:var(--text-primary)}.study-shell .v2-viewer-tab--active{color:var(--accent-ink);box-shadow:inset 0 -2px 0 var(--accent);border-bottom-color:var(--accent)}.study-shell .v2-card{background:var(--card-bg);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-xs)}.study-shell .v2-card-title{font-weight:650;letter-spacing:-.01em}.study-shell .v2-table th{font-size:.75rem;font-weight:600;color:var(--text-muted);background:var(--surface-2)}.study-shell .v2-modal-backdrop{background:#1012187a;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}.study-shell .v2-modal{border:1px solid var(--border);border-radius:18px;padding:26px 28px;box-shadow:var(--shadow-lg)}.study-shell .v2-modal:focus{outline:none}.study-shell .v2-modal h2,.study-shell .v2-modal h3{font-family:var(--font-display);font-weight:650;font-size:1.1875rem;letter-spacing:-.018em;line-height:1.3}.study-shell .v2-modal-actions{margin-top:22px;padding-top:16px;border-top:1px solid var(--border);gap:10px}@media(max-width:860px){.study-shell .v2-page{padding:20px 16px 48px}.study-shell .v2-page-head{align-items:stretch}.study-shell .v2-page h1{font-size:1.375rem}.study-shell .v2-modal{padding:20px 18px;border-radius:16px}}.study-app{display:flex;height:100vh;overflow:hidden;background:var(--surface-muted)}.study-main{flex:1;min-width:0;height:100vh;overflow-y:auto}.study-sidebar{box-sizing:border-box;width:252px;flex-shrink:0;height:100vh;display:flex;flex-direction:column;padding:18px 12px 12px;background:var(--sidebar-bg);border-right:1px solid var(--border)}.study-sidebar__brand{display:flex;align-items:center;gap:10px;padding:2px 8px 18px;font-weight:700;font-size:1.0625rem;letter-spacing:-.02em;color:var(--text-primary)}.study-brand-mark{color:var(--accent);flex-shrink:0;display:block}.study-sidebar .study-sidebar__close{display:none}.study-nav{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:2px}.study-nav__group{display:flex;flex-direction:column;gap:2px;margin-top:18px}.study-nav__label{padding:0 10px 6px;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--faint)}.study-nav__item{display:flex;align-items:center;gap:11px;min-height:38px;padding:0 10px;border-radius:9px;color:var(--text-secondary);font-size:.9rem;font-weight:550;text-decoration:none;transition:background .12s ease,color .12s ease}.study-nav__item svg{color:var(--faint);flex-shrink:0;transition:color .12s ease}.study-nav__item:hover{background:var(--surface-3);color:var(--text-primary)}.study-nav__item:hover svg{color:var(--text-secondary)}.study-nav__item.is-active{background:var(--accent-tint);color:var(--accent-ink);font-weight:600}.study-nav__item.is-active svg{color:var(--accent)}.study-nav__item:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.study-sidebar__user{display:flex;align-items:center;gap:4px;margin-top:12px;padding:10px 0 0;border-top:1px solid var(--border)}.study-sidebar__me{display:flex;align-items:center;gap:10px;flex:1;min-width:0;padding:6px;border:0;border-radius:10px;background:none;font:inherit;color:inherit;text-align:start;cursor:pointer;transition:background .12s ease}.study-sidebar__me:hover{background:var(--surface-3)}.study-sidebar__me:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.study-sidebar__gear{flex-shrink:0;color:var(--faint)}.study-sidebar__who{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.3}.study-sidebar__name,.study-sidebar__email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.study-sidebar__name{font-size:.875rem;font-weight:600;color:var(--text-primary)}.study-sidebar__email{font-size:.75rem;color:var(--text-muted)}.study-avatar{width:34px;height:34px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.8125rem;font-weight:650;letter-spacing:.01em;color:var(--accent-ink);background:var(--accent-tint);border:1px solid var(--accent-border)}.study-avatar--sm{width:30px;height:30px;font-size:.75rem}.study-icon-btn{width:32px;height:32px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:transparent;color:var(--text-muted);cursor:pointer;transition:background .12s ease,color .12s ease}.study-icon-btn:hover{background:var(--surface-3);color:var(--text-primary)}.study-icon-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.study-notice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 40px;font-size:.875rem;line-height:1.45;color:var(--text-secondary);background:var(--card-bg);border-bottom:1px solid var(--border)}.study-notice__icon{flex-shrink:0;color:var(--text-muted)}.study-notice__text{flex:1 1 320px;min-width:0}.study-notice strong{font-weight:600;color:var(--text-primary)}.study-notice--warn{background:#fffaeb;border-bottom-color:#fedf89;color:#6b3b0a}.study-notice--warn .study-notice__icon{color:#b54708}.study-notice--warn strong{color:#4e2a06}.study-notice--error{background:var(--red-bg);border-bottom-color:var(--red-border);color:var(--red-text)}.study-topbar,.study-backdrop{display:none}@media(max-width:860px){.study-app{display:block;height:auto;min-height:100vh;overflow:visible}.study-main{height:auto;overflow:visible}.study-topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:10px;height:56px;padding:0 12px;box-sizing:border-box;background:#ffffffeb;border-bottom:1px solid var(--border);backdrop-filter:saturate(1.4) blur(8px);-webkit-backdrop-filter:saturate(1.4) blur(8px)}.study-topbar__brand{display:flex;align-items:center;gap:9px;flex:1;font-weight:700;letter-spacing:-.02em}.study-topbar__brand .study-brand-mark{color:var(--accent)}.study-sidebar{position:fixed;top:0;left:0;bottom:0;z-index:50;width:min(288px,86vw);transform:translate(-100%);visibility:hidden;box-shadow:var(--shadow-lg);transition:transform .2s ease,visibility 0s linear .2s}.study-sidebar.is-open{transform:none;visibility:visible;transition:transform .2s ease,visibility 0s}.study-sidebar .study-sidebar__close{display:inline-flex;margin-left:auto}.is-nav-open .study-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;background:#10121866}.study-notice{padding:10px 16px}}.study-home__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:24px}.study-home__date{margin:0 0 4px;font-size:.8125rem;font-weight:600;color:var(--text-muted)}.study-shell .study-home h1{font-size:1.875rem;margin:0;letter-spacing:-.028em}.study-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.study-stat{display:flex;align-items:flex-start;gap:14px;padding:18px;min-width:0;background:var(--card-bg);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-xs);color:inherit;text-decoration:none;transition:border-color .12s ease,box-shadow .12s ease}.study-stat:hover{border-color:var(--border-strong);box-shadow:var(--shadow-sm)}.study-stat:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.study-stat__body{display:flex;flex-direction:column;min-width:0}.study-stat__value{font-size:1.5rem;font-weight:650;letter-spacing:-.025em;line-height:1.15;color:var(--text-primary);font-variant-numeric:tabular-nums}.study-stat__label{margin-top:2px;font-size:.8125rem;font-weight:600;color:var(--text-secondary)}.study-stat__sub{font-size:.75rem;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.study-home__grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(0,1fr);gap:20px;align-items:start}.study-home__col{display:flex;flex-direction:column;gap:20px;min-width:0}.study-panel{background:var(--card-bg);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-xs);padding:18px 18px 10px}.study-panel__head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.study-shell .study-panel h2{margin:0;font-size:.9375rem;font-weight:650;letter-spacing:-.01em}.study-panel__more{display:inline-flex;align-items:center;gap:2px;font-size:.8125rem;font-weight:600;color:var(--accent-ink);text-decoration:none}.study-panel__more:hover{text-decoration:underline}.study-panel__note{margin:4px 0 10px;font-size:.875rem;color:var(--text-muted);line-height:1.5}.study-panel__empty{display:flex;align-items:center;gap:12px;padding:12px 2px 14px;color:var(--green-text)}.study-panel__empty div{display:flex;flex-direction:column}.study-panel__empty strong{color:var(--text-primary);font-size:.9rem;font-weight:600}.study-panel__empty span{color:var(--text-muted);font-size:.8125rem}.study-list{list-style:none;margin:0 -8px;padding:0}.study-list__row{display:flex;align-items:center;gap:12px;padding:9px 8px;border-radius:10px;color:inherit;text-decoration:none;transition:background .12s ease}.study-list__row:hover{background:var(--surface-2)}.study-list__row:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.study-list__main{flex:1;min-width:0;display:flex;flex-direction:column}.study-list__title{font-size:.9rem;font-weight:600;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.study-list__meta{font-size:.8125rem;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.study-list__when{flex-shrink:0;font-size:.75rem;color:var(--faint)}.study-list--tools .study-list__meta{white-space:normal}.study-list li+li{border-top:1px solid var(--border-soft)}.study-list--tools li+li{border-top:0}.study-tag{flex-shrink:0;padding:2px 8px;border-radius:6px;font-size:.75rem;font-weight:600;color:var(--text-secondary);background:var(--surface-3)}.study-tag--test{color:var(--red-text);background:var(--red-bg)}.study-tag--due{color:var(--amber-text);background:var(--amber-bg)}.study-tag--review{color:var(--blue-text);background:var(--blue-bg)}.study-week{list-style:none;display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin:4px 0 10px;padding:0}.study-week li{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:.6875rem;font-weight:600;color:var(--faint)}.study-week__dot{width:26px;height:26px;border-radius:50%;background:var(--surface-3);border:1px solid var(--border);box-sizing:border-box}.study-week li.is-studied{color:#c2410c}.study-week li.is-studied .study-week__dot{border-color:#fdba8c;background:#ffede0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat}.study-start{margin-bottom:20px;padding:20px 22px 14px;border-radius:16px;background:linear-gradient(180deg,var(--accent-tint-soft),var(--card-bg) 70%);border:1px solid var(--accent-border);box-shadow:var(--shadow-xs)}.study-start__head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.study-shell .study-start h2{margin:0;font-size:1.0625rem;font-weight:650;letter-spacing:-.015em}.study-start__head p{margin:2px 0 0;font-size:.875rem;color:var(--text-muted)}.study-start__count{flex-shrink:0;font-size:.8125rem;font-weight:600;color:var(--accent-ink)}.study-start__bar{height:6px;margin:14px 0 6px;border-radius:99px;background:var(--surface-3);overflow:hidden}.study-start__bar span{display:block;height:100%;border-radius:99px;background:var(--accent);transform-origin:left center;transition:transform .3s ease}[dir=rtl] .study-start__bar span{transform-origin:right center}.study-start__steps{list-style:none;margin:0 -8px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 12px}.study-start__step{display:flex;align-items:center;gap:12px;padding:10px 8px;border-radius:10px;color:inherit;text-decoration:none}.study-start__step:hover{background:#fffc}.study-start__step:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}.study-start__num{width:26px;height:26px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:.8125rem;font-weight:650;color:var(--accent-ink);background:var(--card-bg);border:1px solid var(--accent-border)}.study-start__text{flex:1;min-width:0;display:flex;flex-direction:column}.study-start__text strong{font-size:.9rem;font-weight:600}.study-start__text span{font-size:.8125rem;color:var(--text-muted)}.study-start__go{color:var(--accent);flex-shrink:0}.study-start li.is-done .study-start__num{background:var(--green-text);border-color:var(--green-text);color:#fff}.study-start li.is-done strong{color:var(--text-muted);text-decoration:line-through;text-decoration-color:var(--border-strong)}.study-privacy{display:flex;align-items:center;gap:8px;margin:28px 0 0;font-size:.8125rem;color:var(--text-muted)}.study-skeleton-list{display:flex;flex-direction:column;gap:10px;padding:6px 0 12px}.study-skeleton-list span{height:38px;border-radius:10px;background:linear-gradient(90deg,var(--surface-3),var(--surface-2),var(--surface-3));background-size:200% 100%;animation:study-shimmer 1.4s ease infinite}@keyframes study-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}@media(max-width:1100px){.study-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:860px){.study-home__grid,.study-start__steps{grid-template-columns:1fr}.study-home__head{align-items:flex-start;flex-direction:column}.study-shell .study-home h1{font-size:1.5rem}}@media(max-width:420px){.study-stats{gap:10px}.study-stat{padding:14px;gap:10px}.study-stat .study-tool-icon{display:none}}.study-auth{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--card-bg);color:var(--text-primary);font-family:var(--font-body)}.study-auth__side{display:flex;align-items:center;justify-content:center;padding:40px 24px;box-sizing:border-box}.study-auth__card{width:100%;max-width:400px}.study-auth__brand{display:flex;align-items:center;gap:10px;margin-bottom:40px;font-weight:700;font-size:1.125rem;letter-spacing:-.02em}.study-auth h1{font-family:var(--font-display);font-size:1.75rem;font-weight:650;letter-spacing:-.028em;line-height:1.2;margin:0 0 8px}.study-auth__sub{color:var(--text-muted);margin:0 0 28px;line-height:1.55;font-size:.9375rem}.study-auth form .v2-field{margin-bottom:16px}.study-auth form .v2-btn{width:100%;min-height:44px;margin-top:8px;font-size:.9375rem}.study-auth__note{margin:16px 0 0;color:var(--text-muted);font-size:.8125rem;line-height:1.55}.study-auth__footer{margin-top:28px;padding-top:20px;border-top:1px solid var(--border);color:var(--text-muted);font-size:.875rem;text-align:center}.study-auth a{color:var(--accent-ink);font-weight:600;text-decoration:none}.study-auth a:hover{text-decoration:underline}.study-auth__showcase{display:flex;align-items:center;justify-content:center;padding:48px;box-sizing:border-box;background:radial-gradient(120% 90% at 100% 0%,#E4E7FC 0%,transparent 55%),var(--accent-tint-soft);border-left:1px solid var(--border)}.study-auth__showcase-inner{max-width:440px}.study-auth__eyebrow{margin:0 0 10px;font-size:.8125rem;font-weight:600;color:var(--accent-ink)}.study-auth__showcase h2{margin:0 0 28px;font-size:1.75rem;font-weight:650;letter-spacing:-.028em;line-height:1.25;color:var(--text-primary)}.study-auth__features{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.study-auth__features li{display:flex;align-items:flex-start;gap:14px;padding:14px 16px;background:#ffffffd9;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-xs)}.study-auth__features span{display:flex;flex-direction:column;gap:2px;font-size:.875rem;color:var(--text-muted);line-height:1.5}.study-auth__features strong{font-size:.9375rem;font-weight:600;color:var(--text-primary)}@media(max-width:1000px){.study-auth{grid-template-columns:1fr;background:var(--surface-muted)}.study-auth__showcase{display:none}.study-auth__card{background:var(--card-bg);border:1px solid var(--border);border-radius:18px;padding:32px 28px;box-shadow:var(--shadow-sm)}.study-auth__brand{margin-bottom:28px}}@media(max-width:480px){.study-auth__side{padding:20px 16px;align-items:flex-start}.study-auth__card{padding:24px 20px}}.study-shell .v2-page>.v2-page-head>div:first-child{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:16px;align-items:center}.study-shell .v2-page>.v2-page-head>div:first-child:before,.study-shell .v2-page>.v2-page-head>h2:before{content:"";grid-row:span 2;align-self:start;width:48px;height:48px;border-radius:13px;background:var(--tool-tint) var(--tool-icon, none) center / 24px no-repeat}.study-shell .v2-page>.v2-page-head>div:first-child>h1{align-self:end}.study-shell .v2-page>.v2-page-head>h2{display:flex;align-items:center;gap:16px;margin:0;font-size:1.625rem;font-weight:650;letter-spacing:-.022em}.study-shell .v2-fc-grid,.study-shell .v2-qz-grid,.study-shell .v2-sm-grid,.study-shell .v2-ar-grid,.study-shell .v2-ts-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}.study-shell .v2-fc-tile,.study-shell .v2-qz-tile,.study-shell .v2-sm-tile,.study-shell .v2-ar-tile,.study-shell .v2-ts-tile{position:relative;gap:8px;padding:18px 18px 16px;min-height:128px;box-sizing:border-box;background:var(--card-bg);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-xs);transition:border-color .12s ease,box-shadow .12s ease,transform .12s ease}.study-shell .v2-fc-tile:hover,.study-shell .v2-qz-tile:hover,.study-shell .v2-sm-tile:hover,.study-shell .v2-ar-tile:hover,.study-shell .v2-ts-tile:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);transform:translateY(-1px)}.study-shell .v2-fc-tile:focus-visible,.study-shell .v2-qz-tile:focus-visible,.study-shell .v2-sm-tile:focus-visible,.study-shell .v2-ar-tile:focus-visible,.study-shell .v2-ts-tile:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.study-shell .v2-fc-tile:after,.study-shell .v2-qz-tile:after,.study-shell .v2-sm-tile:after,.study-shell .v2-ar-tile:after,.study-shell .v2-ts-tile:after{content:"";position:absolute;top:16px;inset-inline-end:16px;width:32px;height:32px;border-radius:9px;background:var(--tool-tint) var(--tool-icon, none) center / 17px no-repeat}.study-shell .v2-fc-tile-top,.study-shell .v2-qz-tile-top,.study-shell .v2-sm-tile-top,.study-shell .v2-ar-tile-top,.study-shell .v2-ts-tile-top{padding-inline-end:44px;min-height:32px;align-content:center}.study-shell .v2-fc-tile-title,.study-shell .v2-qz-tile-title,.study-shell .v2-sm-tile-title,.study-shell .v2-ar-tile-title,.study-shell .v2-ts-tile-title{font-size:1rem;font-weight:600;line-height:1.35;letter-spacing:-.01em;color:var(--text-primary)}.study-shell .v2-sm-tile-preview,.study-shell .v2-ts-tile-preview{font-size:.8125rem;line-height:1.5}.study-shell .v2-fc-card{min-height:260px;padding:32px 28px;margin:12px 0 18px;gap:16px;background:var(--card-bg);border:1px solid var(--border);border-radius:18px;box-shadow:var(--shadow-md)}.study-shell .v2-fc-card--back{background:linear-gradient(180deg,var(--card-bg),var(--tool-tint));border-color:var(--border)}.study-shell .v2-fc-card-side{font-size:.75rem;font-weight:600;letter-spacing:.06em;color:var(--tool)}.study-shell .v2-fc-card-text{font-family:var(--font-display);font-size:1.5rem;font-weight:600;letter-spacing:-.02em;line-height:1.35}.study-shell .v2-fc-card-answer{font-size:1.125rem;line-height:1.55;color:var(--text-secondary);border-top-color:var(--border);padding-top:16px}.study-shell .v2-fc-grades{gap:10px}.study-shell .v2-fc-grades .v2-btn{min-height:56px;border-radius:12px;box-shadow:none;font-weight:650}.study-shell .v2-fc-grades .v2-btn:nth-child(1){color:#9f1239;background:#fff1f3;border-color:#fecdd6}.study-shell .v2-fc-grades .v2-btn:nth-child(2){color:#93370d;background:#fef6e7;border-color:#fbd38d}.study-shell .v2-fc-grades .v2-btn:nth-child(3){color:#1849a9;background:#eff4ff;border-color:#c3d5fd}.study-shell .v2-fc-grades .v2-btn:nth-child(4){color:#067647;background:#ecfdf3;border-color:#abefc6}.study-shell .v2-fc-grades .v2-btn:hover{filter:brightness(.97)}.study-shell .v2-fc-grade-hint{font-weight:500;opacity:.85}.study-shell .v2-fc-streak{color:#c2410c}.study-shell .v2-fc-match-tile{border-radius:12px;min-height:96px;font-weight:500}.study-shell .v2-fc-match-tile.is-picked{border-color:var(--tool);background:var(--tool-tint)}.study-shell .v2-fc-clock{color:var(--tool);font-weight:600}.study-shell .v2-fc-cardlist li{padding:10px 0}.study-shell .v2-qz-take{list-style:none;padding-left:0;counter-reset:study-q}.study-shell .v2-qz-take>li{padding:18px 0;counter-increment:study-q}.study-shell .v2-qz-take-prompt{font-size:1rem;font-weight:600;line-height:1.5;margin-bottom:12px}.study-shell .v2-qz-take-prompt:before{content:counter(study-q) ". ";color:var(--text-muted);font-variant-numeric:tabular-nums}.study-shell .v2-qz-choices{gap:8px}.study-shell .v2-qz-choice{min-height:46px;padding:10px 14px;gap:12px;box-sizing:border-box;border:1px solid var(--border-strong);border-radius:12px;background:var(--card-bg);transition:border-color .12s ease,background .12s ease,box-shadow .12s ease}.study-shell .v2-qz-choice:hover{border-color:var(--accent-border);background:var(--accent-tint-soft)}.study-shell .v2-qz-choice--on{border-color:var(--accent);background:var(--accent-tint);box-shadow:0 0 0 1px var(--accent) inset}.study-shell .v2-qz-fieldset .v2-qz-choice{min-height:38px;padding:6px 12px}.study-shell .v2-qz-timer{font-weight:600;border-radius:8px}.study-shell .v2-qz-score{font-size:2.25rem;font-weight:650;letter-spacing:-.03em}.study-shell .v2-qz-q{border-radius:12px;padding:16px}.study-shell .v2-tu-layout{grid-template-columns:300px minmax(0,1fr);gap:20px}.study-shell .v2-tu-list{gap:4px}.study-shell .v2-tu-item{padding:12px 14px;border-radius:12px;border-color:transparent;background:transparent}.study-shell .v2-tu-item:hover{background:var(--card-bg);border-color:var(--border)}.study-shell .v2-tu-item--on{background:var(--card-bg);border-color:var(--border-strong);box-shadow:var(--shadow-xs)}.study-shell .v2-tu-pane{padding:0;gap:0;border-radius:16px;box-shadow:var(--shadow-xs);overflow:hidden}.study-shell .v2-tu-head{padding:14px 18px;border-bottom:1px solid var(--border)}.study-shell .v2-tu-log{padding:20px 18px;gap:18px;min-height:320px}.study-shell .v2-tu-bubble{font-size:.9375rem;line-height:1.65}.study-shell .v2-tu-msg--person .v2-tu-bubble{background:var(--surface-3);border:0;border-radius:16px 16px 4px;padding:10px 14px}.study-shell .v2-tu-msg--tutor{max-width:100%}.study-shell .v2-tu-msg--tutor .v2-tu-bubble{background:none;border:0;padding:0}.study-shell .v2-tu-cite{font-family:var(--font-body);font-weight:600;color:var(--tool);background:var(--tool-tint);border:0;border-radius:6px;padding:1px 7px}.study-shell .v2-tu-composer{padding:14px 18px;border-top:1px solid var(--border);background:var(--surface-2)}.study-shell .v2-tu-composer textarea{border-radius:12px}.study-shell .v2-tu-list>.v2-empty{background:none;border:0;padding:10px 4px;text-align:start;font-size:.875rem}.study-shell .v2-tu-main>.v2-tu-none{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:var(--card-bg);border:1px solid var(--border);border-radius:16px}.study-shell .v2-tu-main>.v2-tu-none:before{content:"";width:56px;height:56px;border-radius:16px;background:var(--tool-tint) var(--tool-icon, none) center / 28px no-repeat}.study-shell .v2-plan-streak{padding:20px 22px;gap:20px}.study-shell .v2-plan-streak-count{width:72px;height:72px;border-radius:18px;background:#ffede0;color:#c2410c}.study-shell .v2-plan-streak-count strong{font-family:var(--font-display);font-weight:650;letter-spacing:-.03em}.study-shell .v2-plan-week-dot{width:22px;height:22px;border-width:1px;background:var(--surface-3)}.study-shell .v2-plan-week li.is-studied{color:#c2410c}.study-shell .v2-plan-week li.is-studied .v2-plan-week-dot{background:#fb923c;border-color:#f97316}.study-shell .v2-plan-day{padding:18px 20px 8px}.study-shell .v2-plan-day--overdue{border:1px solid var(--red-border);background:#fffbfa}.study-shell .v2-plan-item{padding:12px 0;gap:12px}.study-shell .v2-plan-title{font-weight:600}.study-shell .v2-plan-kind--revise,.study-shell .v2-plan-kind--review{color:var(--blue-text);background:var(--blue-bg)}.study-shell .v2-sm-page-text{padding:20px 22px;border-radius:12px;font-size:1rem;line-height:1.75;color:var(--text-secondary);background:var(--surface-2)}.study-shell .v2-ar-player audio{border-radius:12px}.study-shell .v2-ar-script summary{color:var(--accent-ink)}@media(max-width:860px){.study-shell .v2-page>.v2-page-head>div:first-child{grid-template-columns:40px minmax(0,1fr);column-gap:12px}.study-shell .v2-page>.v2-page-head>div:first-child:before,.study-shell .v2-page>.v2-page-head>h2:before{width:40px;height:40px;border-radius:11px;background-size:20px}.study-shell .v2-page>.v2-page-head>div:first-child .v2-subtitle{grid-column:1 / -1;margin-top:10px}.study-shell .v2-page>.v2-page-head>div:first-child:before{grid-row:span 1;align-self:center}.study-shell .v2-page>.v2-page-head>h2{font-size:1.375rem}.study-shell .v2-tu-layout{grid-template-columns:1fr}.study-shell .v2-fc-card{min-height:220px;padding:24px 18px}.study-shell .v2-fc-card-text{font-size:1.25rem}}
