.social-avatar{flex-shrink:0}.social-avatar-material,.profile-card .avatar.social-avatar-material{color:var(--dashboard-material-ink);background:var(--dashboard-material-bg)}.social-avatar-level,.profile-card .avatar.social-avatar-level{color:var(--dashboard-level-ink);background:var(--dashboard-level-bg)}.social-avatar-next,.profile-card .avatar.social-avatar-next{color:var(--dashboard-next-ink);background:var(--dashboard-next-bg)}.social-avatar-streak,.profile-card .avatar.social-avatar-streak{color:var(--dashboard-streak-ink);background:var(--dashboard-streak-bg)}.social-avatar-xp,.profile-card .avatar.social-avatar-xp{color:var(--dashboard-xp-ink);background:var(--dashboard-xp-bg)}.social-avatar-quiz,.profile-card .avatar.social-avatar-quiz{color:var(--dashboard-quiz-ink);background:var(--dashboard-quiz-bg)}.leaderboard-page{gap:24px;max-width:1100px;margin:0 auto;display:grid}.leaderboard-page .page-heading{margin-bottom:0}.leaderboard-badge{color:var(--text);background:var(--dashboard-xp-bg);white-space:nowrap;border-radius:14px;align-items:center;gap:9px;padding:12px 16px;font-size:13px;display:flex}.leaderboard-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.leaderboard-period{background:var(--soft);border:1px solid var(--line);border-radius:14px;gap:4px;padding:4px;display:inline-flex}.leaderboard-period button{color:var(--muted);background:0 0;border:0;border-radius:10px;padding:10px 25px;font-weight:600}.leaderboard-period button[aria-pressed=true]{background:var(--surface);color:var(--text);box-shadow:0 1px 3px #00000012}.leaderboard-period-label{color:var(--muted);margin-top:-13px;font-size:13px}.leaderboard-own{border:1px solid var(--line);background:var(--soft);border-radius:18px;align-items:center;gap:18px;padding:22px;display:flex}.leaderboard-own-rank{min-width:58px;height:58px;color:var(--dashboard-level-ink);background:var(--dashboard-level-bg);border-radius:16px;place-items:center;font-size:23px;font-weight:750;display:grid}.leaderboard-own p{color:var(--muted);font-size:13px}.leaderboard-own-xp{text-align:right;white-space:nowrap;margin-left:auto;display:grid}.leaderboard-own-xp strong{font-size:24px}.leaderboard-own-xp span{color:var(--muted);font-size:12px}.social-profile-link{text-underline-offset:3px;font-size:13px;text-decoration:underline;display:inline-block}.leaderboard-podium{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:16px;padding-top:14px;display:grid}.podium-card{text-align:center;border:1px solid var(--line);background:var(--surface);border-radius:20px;flex-direction:column;align-items:center;gap:14px;min-width:0;padding:28px 16px;display:flex}.podium-place{color:var(--muted);flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;font-size:12px;font-weight:600;display:flex}.podium-card h3{overflow-wrap:anywhere;min-height:38px;font-size:16px}.podium-1{border:1px solid var(--dashboard-xp-ink);background:linear-gradient(180deg,var(--dashboard-xp-bg),var(--surface) 65%);order:2;padding-top:38px;padding-bottom:38px}.podium-1 .podium-place{color:var(--text)}.podium-1 .podium-place svg{color:var(--dashboard-xp-ink)}.podium-2{order:1}.podium-3{order:3}.podium-xp{letter-spacing:-.5px;font-size:24px}.podium-xp small{color:var(--muted);font-size:12px;font-weight:500}.social-you{background:var(--dashboard-level-bg);width:fit-content;color:var(--dashboard-level-ink);border-radius:6px;padding:2px 7px;font-size:11px;font-weight:650;display:inline-block}.leaderboard-list{overflow:hidden}.leaderboard-list .section-title{align-items:center;gap:12px;margin-bottom:16px}.leaderboard-list table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:14px}.leaderboard-list th{color:var(--muted);text-align:left;border-bottom:1px solid var(--line);padding:12px 10px;font-size:12px;font-weight:500}.leaderboard-list th:first-child{width:88px}.leaderboard-list th:last-child{width:145px}.leaderboard-list td{border-bottom:1px solid var(--line);padding:14px 10px}.leaderboard-list tr:last-child td{border-bottom:0}.leaderboard-list th:last-child,.leaderboard-list td:last-child{text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.leaderboard-list td:last-child small{color:var(--muted);font-size:11px}.leaderboard-rank{width:32px;height:32px;color:var(--muted);border-radius:9px;place-items:center;font-weight:650;display:inline-grid}.top-rank{color:var(--text);background:var(--dashboard-xp-bg)}.leaderboard-person{align-items:center;gap:12px;min-width:0;display:flex}.leaderboard-person>span:last-child{overflow-wrap:anywhere;min-width:0}.leaderboard-person .social-you{margin-left:7px}.leaderboard-is-me{background:var(--soft)}.leaderboard-empty{text-align:center;justify-items:center;gap:20px;padding:52px 25px;display:grid}.leaderboard-empty p{max-width:440px;color:var(--muted)}.leaderboard-empty-icon{width:88px;height:88px;color:var(--dashboard-xp-ink);background:var(--dashboard-xp-bg);border-radius:26px;place-items:center;display:grid}.leaderboard-footnote{color:var(--muted);align-items:flex-start;gap:8px;font-size:12px;display:flex}.leaderboard-footnote svg{flex-shrink:0;margin-top:2px}.leaderboard-skeleton{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.leaderboard-skeleton>div{background:var(--soft);border-radius:20px;height:240px}.leaderboard-skeleton p{color:var(--muted);grid-column:1/-1}.profile-social{gap:24px;display:grid}.profile-social>.section-title{margin:0}.profile-social h3{font-size:17px}.profile-social .muted{font-size:14px}.social-avatar-editor{border-bottom:1px solid var(--line);gap:14px;padding-bottom:24px;display:grid}.social-avatar-choices{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.social-avatar-choices button{background:var(--surface);min-width:0;color:var(--text);border:1px solid var(--line);border-radius:13px;align-content:center;justify-items:center;gap:8px;padding:14px 5px;font-size:12px;display:grid}.social-avatar-choices button[aria-pressed=true]{outline:2px solid var(--focus);outline-offset:1px;background:var(--soft)}.social-avatar-editor>.button{justify-self:start}.social-privacy-form{gap:18px;display:grid}.social-opt-in{cursor:pointer;align-items:flex-start;gap:12px;display:flex}.social-opt-in input{width:20px;height:20px;accent-color:var(--text);margin-top:4px}.social-opt-in strong{font-size:14px}.social-opt-in small{color:var(--muted);font-size:12px;display:block}.social-privacy-note{color:var(--muted);align-items:flex-start;gap:8px;font-size:12px;display:flex}.social-privacy-note svg{flex-shrink:0;margin-top:2px}.nav-link[data-tone=leaderboard]>svg{color:var(--dashboard-xp-ink)}@media (max-width:900px){.leaderboard-badge{display:none}.leaderboard-page{gap:20px}.podium-card{padding:22px 10px}.podium-1{padding:30px 10px}}@media (max-width:560px){.leaderboard-page{gap:18px}.leaderboard-period button{padding:9px 18px}.leaderboard-toolbar>.button{padding:8px;font-size:12px}.leaderboard-own{flex-wrap:wrap;gap:12px;padding:16px}.leaderboard-own-rank{min-width:44px;height:44px;font-size:19px}.leaderboard-own>div:nth-child(2){flex:1;min-width:160px}.leaderboard-own-xp{text-align:left;width:100%;padding-left:56px}.leaderboard-own-xp strong{font-size:20px}.leaderboard-podium{gap:8px;padding-top:8px}.podium-card{border-radius:15px;gap:10px;padding:18px 7px}.podium-1{padding-top:26px;padding-bottom:26px}.podium-place{font-size:10px}.podium-card .avatar-large{width:52px;height:52px}.podium-card .avatar svg{width:28px;height:28px}.podium-card h3{font-size:12px;line-height:1.5}.podium-xp{font-size:17px}.podium-xp small{font-size:10px}.leaderboard-list{padding:16px 10px}.leaderboard-list .section-title{padding:0 4px}.leaderboard-list .section-title h2{font-size:18px}.leaderboard-list .section-title span{font-size:11px}.leaderboard-list th{padding:10px 5px;font-size:10px}.leaderboard-list th:first-child{width:58px}.leaderboard-list th:last-child{width:88px}.leaderboard-list td{padding:12px 5px;font-size:12px}.leaderboard-person{gap:8px}.leaderboard-person .avatar{width:32px;height:32px}.leaderboard-person .social-you{margin:4px 0 0;display:block}.profile-social>.section-title{flex-direction:column;align-items:flex-start;gap:8px}.social-avatar-choices{gap:9px}}
.tutor-workspace{--tutor-accent:#19733c;--tutor-accent-bg:color-mix(in srgb, var(--brand-accent) 11%, var(--surface));color:var(--text);width:100%;min-width:0}html[data-theme=dark] .tutor-workspace{--tutor-accent:#b6d994}.tutor-topbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;padding:8px 0 24px;display:flex}.tutor-hero{align-items:center;gap:16px;min-width:0;display:flex}.tutor-hero h1{letter-spacing:-.045em;margin:1px 0 5px;font-size:clamp(1.8rem,3vw,2.5rem)}.tutor-hero>div{min-width:0}.tutor-hero p:last-child{color:var(--muted);max-width:750px;font-size:.91rem;line-height:1.55}.tutor-hero-eyebrow{letter-spacing:.09em;color:var(--tutor-accent);align-items:center;gap:5px;font-size:.68rem;font-weight:700;display:flex}.tutor-mascot-avatar{border:2px solid color-mix(in srgb,var(--brand-accent) 35%,var(--line));box-shadow:0 0 0 3px color-mix(in srgb,var(--brand-accent) 6%,transparent);background:#e6f2d8;border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex;overflow:hidden}.tutor-mascot-avatar img{object-fit:cover;width:100%;height:100%;display:block}.tutor-mascot-small{width:42px;height:42px}.tutor-mascot-medium{width:58px;height:58px}.tutor-mascot-large{width:70px;height:70px}.tutor-panel-toggle{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--text);border-radius:999px;flex:none;justify-content:center;align-items:center;gap:8px;padding:10px 14px;font-size:.8rem;font-weight:550;display:inline-flex}.tutor-panel-toggle:hover,.tutor-composer-chip:hover,.tutor-suggestions button:hover{background:var(--hover)}.tutor-layout-v2{grid-template-columns:minmax(0,1fr) minmax(260px,290px);align-items:start;gap:24px;min-width:0;display:grid}.tutor-layout-v2.tutor-layout-wide{grid-template-columns:minmax(0,1fr)}.tutor-main-column,.tutor-source-rail{min-width:0}.tutor-source-rail{align-content:start;gap:16px;display:grid}.tutor-source-rail[hidden]{display:none!important}.tutor-source-rail .tutor-scope-panel{border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:22px}.tutor-rail-heading{align-items:center;gap:10px;margin-bottom:12px;display:flex}.tutor-rail-heading h2{letter-spacing:-.02em;margin:0;font-size:1.05rem}.tutor-rail-icon{background:var(--soft);width:34px;height:34px;color:var(--text);border-radius:11px;place-items:center;display:grid}.tutor-source-rail .field-help{color:var(--muted);font-size:.81rem;line-height:1.65}.tutor-source-rail .tutor-scope-fields{grid-template-columns:minmax(0,1fr);gap:14px;margin:20px 0 14px;display:grid}.tutor-source-rail .field{gap:6px}.tutor-source-rail .field>span{color:var(--text);font-size:.78rem;font-weight:600}.tutor-source-rail select{background:var(--surface);min-height:42px;padding:10px 12px;font-size:.84rem}.tutor-source-rail .tutor-scope-panel>.button{text-align:left;white-space:normal;justify-content:flex-start;width:100%;padding:8px;font-size:.76rem;line-height:1.5}.tutor-rail-scope-info{border-top:1px solid var(--line);color:var(--muted);align-items:flex-start;gap:8px;margin-top:17px;padding-top:16px;font-size:.75rem;line-height:1.5;display:flex}.tutor-rail-scope-info svg{flex:none}.tutor-tip-card{border:1px solid color-mix(in srgb,var(--brand-accent) 24%,var(--line));background:color-mix(in srgb,var(--brand-accent) 6%,var(--surface));border-radius:19px;align-items:flex-start;gap:12px;padding:18px 15px;display:flex}.tutor-tip-card h3{margin:2px 0 8px;font-size:.9rem;line-height:1.35}.tutor-tip-card p{color:var(--text);margin:0 0 8px;font-size:.77rem;line-height:1.62}.tutor-tip-card span:not(.tutor-mascot-avatar){color:var(--muted);font-size:.69rem;line-height:1.6}.tutor-main-column .tutor-chat-v2{overflow-wrap:anywhere;flex-direction:column;gap:17px;min-height:min(78dvh,850px);padding:0 0 6px;display:flex}.tutor-chat-v2 .tutor-heading{justify-content:space-between;align-items:center;gap:12px;margin:0;padding:0 0 2px;display:flex}.tutor-chat-v2 .tutor-heading-title{align-items:center;gap:10px;min-width:0;display:flex}.tutor-chat-v2 .tutor-heading-title>div{align-items:start;gap:2px;display:grid}.tutor-chat-v2 .tutor-heading-title h2{letter-spacing:-.015em;color:var(--text);margin:0;font-size:.99rem}.tutor-chat-v2 .tutor-heading-title span{color:var(--muted);font-size:.69rem;font-weight:450}.tutor-chat-v2 .tutor-heading .button{color:var(--muted);padding:8px 11px;font-size:.76rem}.tutor-chat-v2 .tutor-context{color:var(--muted);margin:0;font-size:.79rem;line-height:1.4}.tutor-chat-v2 .tutor-context strong{color:var(--text)}.tutor-chat-v2 .tutor-quota{background:var(--soft);border:1px solid var(--line);border-radius:15px;gap:10px;padding:12px 15px;display:grid}.tutor-quota-main{align-items:center;gap:11px;display:flex}.tutor-quota-main>div{gap:2px;display:grid}.tutor-chat-v2 .tutor-quota p{margin:0;font-size:.82rem}.tutor-chat-v2 .tutor-quota-main span{color:var(--muted);font-size:.7rem}.tutor-chat-v2 .tutor-quota-main strong:last-child{color:var(--tutor-accent)}.tutor-quota-icon{background:color-mix(in srgb,var(--brand-accent) 14%,var(--surface));width:35px;height:35px;color:var(--tutor-accent);border-radius:50%;place-items:center;display:grid}.tutor-quota progress{background:var(--line);width:100%;height:6px;accent-color:var(--tutor-accent);border:0;border-radius:999px}.tutor-quota progress::-webkit-progress-bar{background:var(--line);border-radius:999px}.tutor-quota progress::-webkit-progress-value{background:var(--tutor-accent);border-radius:999px}.tutor-quota progress::-moz-progress-bar{background:var(--tutor-accent);border-radius:999px}.tutor-chat-v2 .tutor-history{flex-direction:column;flex:1;gap:18px;min-height:180px;max-height:none;padding:4px 1px 14px;display:flex;overflow:visible}.tutor-welcome{text-align:center;align-self:center;max-width:650px;padding:28px 10px}.tutor-welcome .tutor-mascot-avatar{margin:0 auto 15px}.tutor-welcome h3{margin-bottom:9px;font-size:clamp(1.35rem,2vw,1.8rem)}.tutor-welcome>p{color:var(--muted);font-size:.91rem;line-height:1.65}.tutor-suggestions{flex-wrap:wrap;justify-content:center;gap:9px;margin-top:20px;display:flex}.tutor-suggestions button{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:999px;padding:9px 13px;font-size:.78rem;line-height:1.4}.tutor-suggestions button:disabled{opacity:.5;cursor:not-allowed}.tutor-chat-v2 .tutor-turn{border:0;flex-direction:column;gap:22px;padding:0 0 23px;display:flex}.tutor-chat-v2 .tutor-question{background:0 0;border:0;border-radius:0;align-self:flex-end;max-width:min(88%,610px);margin:0;padding:0;display:flex}.tutor-user-bubble{background:var(--soft);border:1px solid var(--line);border-radius:18px 18px 5px;min-width:0;max-width:100%;padding:13px 18px}.tutor-user-label{color:var(--muted);margin-bottom:6px;font-size:.7rem;font-weight:600;display:block}.tutor-chat-v2 .tutor-question p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:.91rem;line-height:1.65}.tutor-user-bubble>span{color:var(--muted);margin-top:9px;font-size:.67rem;display:block}.tutor-chat-v2 .tutor-answer{border:1px solid var(--line);background:var(--surface);border-radius:19px;min-width:0;margin:0;padding:18px 22px 20px}.tutor-answer-author{align-items:center;gap:10px;margin-bottom:16px;display:flex}.tutor-answer-author>div{gap:3px;display:grid}.tutor-answer-author strong{color:var(--tutor-accent);font-size:.86rem}.tutor-answer-author>div>span{color:var(--muted);font-size:.69rem}.tutor-chat-v2 .tutor-markdown{font-size:.91rem;line-height:1.78}.tutor-chat-v2 .tutor-markdown>:first-child{margin-top:0}.tutor-chat-v2 .tutor-markdown h1,.tutor-chat-v2 .tutor-markdown h2,.tutor-chat-v2 .tutor-markdown h3{margin:16px 0 7px;font-size:1rem}.tutor-chat-v2 .tutor-markdown blockquote{border-left:3px solid var(--brand-accent);background:var(--soft);border-radius:4px 12px 12px 4px;margin:12px 0;padding:9px 13px}.tutor-chat-v2 .tutor-sources{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.tutor-chat-v2 .tutor-sources h3{font-size:.79rem}.tutor-chat-v2 .tutor-citations>li{background:var(--soft);border:1px solid var(--line)}.tutor-chat-v2 .tutor-form.tutor-composer{z-index:5;border:1px solid var(--control-border);background:var(--surface);box-shadow:0 8px 24px color-mix(in srgb,var(--text) 5%,transparent);border-radius:22px;flex-direction:column;gap:0;padding:11px 12px 9px;display:flex;position:sticky;bottom:12px}.tutor-composer .tutor-question-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.tutor-chat-v2 .tutor-composer textarea{box-shadow:none;color:var(--text);resize:vertical;background:0 0;border:0;border-radius:12px;outline:0;width:100%;min-height:66px;max-height:280px;padding:8px 7px 10px;font-size:16px;line-height:1.55}.tutor-chat-v2 .tutor-composer textarea:focus-visible{box-shadow:none;outline:none}.tutor-chat-v2 .tutor-composer:focus-within{border-color:var(--focus)}.tutor-composer-controls{align-items:center;gap:8px;min-width:0;display:flex}.tutor-composer-chip,.tutor-mode-control{max-width:100%;min-height:40px;color:var(--text);border-radius:999px;align-items:center;gap:6px;padding:8px 10px;font-size:.77rem;line-height:1.2;display:inline-flex}.tutor-composer-chip{border:1px solid var(--line);background:var(--surface)}.tutor-composer-chip span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tutor-composer-chip svg,.tutor-mode-control svg{color:var(--muted);flex:none}.tutor-composer-static{opacity:.85;cursor:default}.tutor-mode-control{border:1px solid var(--line);gap:3px;min-width:0;position:relative}.tutor-mode-control select{min-width:0;max-width:142px;color:var(--text);appearance:none;cursor:pointer;background:0 0;border:0;outline:0;padding:1px 2px;font-size:.77rem;line-height:1.2}.tutor-mode-control select:disabled{opacity:.55;cursor:not-allowed}.tutor-mode-control select option{background:var(--surface);color:var(--text)}.tutor-compose-spacer{flex:auto}.tutor-compose-remaining{color:var(--muted);white-space:nowrap;font-size:.7rem}.tutor-send-button{color:#fff;background:#176a38;border:0;border-radius:50%;flex:none;place-items:center;width:41px;height:41px;display:grid}.tutor-send-button:hover:not(:disabled){background:#0f512a}html[data-theme=dark] .tutor-send-button{color:#151b14;background:#a6d688}html[data-theme=dark] .tutor-send-button:hover:not(:disabled){background:#c9efa7}.tutor-send-button:disabled{opacity:.42;cursor:not-allowed}.tutor-chat-v2 .tutor-composer-help{color:var(--muted);margin:6px 5px 0;font-size:.66rem;line-height:1.4}.tutor-chat-v2 .tutor-composer-plan{color:var(--muted);margin:3px 5px 0;font-size:.66rem}.tutor-text-link{color:var(--tutor-accent);align-items:center;gap:6px;margin-top:14px;font-size:.85rem;display:inline-flex}.tutor-no-sources{max-width:850px}.sidebar-upgrade-card,.sidebar-pro-card{border-radius:16px;align-items:flex-start;gap:11px;min-width:0;margin-bottom:16px;padding:14px 12px;display:flex}.sidebar-upgrade-card{color:#231d0c;background:linear-gradient(135deg,#fffdf3,#fff6d8);border:1px solid #eedc9a;transition:border-color .17s,transform .17s;position:relative}.sidebar-upgrade-card:hover{border-color:#d9b64e;transform:translateY(-1px)}.sidebar-promo-icon{color:#a26e00;background:#ffe9a0;border-radius:50%;flex:none;place-items:center;width:35px;height:35px;display:grid}.sidebar-promo-copy{flex:1;gap:6px;min-width:0;display:grid}.sidebar-promo-copy strong{color:inherit;font-size:.82rem;font-weight:700}.sidebar-promo-copy>span{color:#534a35;font-size:.72rem;line-height:1.52}.sidebar-promo-chevron{color:#8a6f38;flex:none;align-self:flex-end}.sidebar-pro-card{background:color-mix(in srgb,var(--brand-accent) 9%,var(--surface));border:1px solid color-mix(in srgb,var(--brand-accent) 30%,var(--line));color:var(--text);font-size:.8rem}.sidebar-pro-card>svg{color:var(--brand-accent);flex:none}.sidebar-pro-card>span{gap:4px;display:grid}.sidebar-pro-card strong{font-size:.83rem}.sidebar-pro-card>span>span{color:var(--muted);font-size:.71rem;line-height:1.45}html[data-theme=dark] .sidebar-upgrade-card{color:#f7e7b8;background:linear-gradient(135deg,#302a1c,#232018);border-color:#73632e}html[data-theme=dark] .sidebar-upgrade-card:hover{border-color:#a58a40}html[data-theme=dark] .sidebar-promo-icon{color:#ffd476;background:#4e3d13}html[data-theme=dark] .sidebar-promo-copy>span{color:#dccba5}html[data-theme=dark] .sidebar-promo-chevron{color:#e0c075}.reader-tutor-panel .tutor-chat-v2{gap:14px;min-height:0}.reader-tutor-panel .tutor-chat-v2 .tutor-form{position:static}.reader-tutor-panel .tutor-chat-v2 .tutor-answer{padding:14px}@media (max-width:1180px){.tutor-layout-v2{grid-template-columns:minmax(0,1fr) 260px;gap:16px}.tutor-source-rail .tutor-scope-panel{padding:18px}}@media (max-width:1050px){.tutor-layout-v2{grid-template-columns:minmax(0,1fr)}.tutor-source-rail{grid-row:1}.tutor-source-rail .tutor-scope-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.tutor-tip-card{display:none}}@media (max-width:760px){.tutor-topbar{flex-wrap:wrap;margin-bottom:14px;padding-top:0}.tutor-hero{gap:11px}.tutor-mascot-large{width:54px;height:54px}.tutor-hero h1{font-size:1.7rem}.tutor-hero p:last-child{font-size:.82rem}.tutor-panel-toggle{justify-content:center;width:100%}.tutor-source-rail .tutor-scope-fields{grid-template-columns:minmax(0,1fr)}.tutor-main-column .tutor-chat-v2{min-height:65dvh}.tutor-chat-v2 .tutor-answer{padding:15px}.tutor-chat-v2 .tutor-history{gap:12px}.tutor-chat-v2 .tutor-question{max-width:94%}.tutor-chat-v2 .tutor-quota{padding:10px}.tutor-chat-v2 .tutor-composer{bottom:max(5px,env(safe-area-inset-bottom))}.tutor-compose-remaining{display:none}.sidebar-upgrade-card,.sidebar-pro-card{margin-top:3px}}@media (max-width:390px){.tutor-topbar .tutor-hero-eyebrow{font-size:.6rem}.tutor-chat-v2 .tutor-heading-title>div>span{display:none}.tutor-chat-v2 .tutor-composer{padding:8px}.tutor-composer-controls{gap:4px}.tutor-composer-chip,.tutor-mode-control{gap:4px;padding:7px;font-size:.7rem}.tutor-mode-control select{max-width:112px;font-size:.7rem}.tutor-send-button{width:38px;height:38px}}@media (prefers-reduced-motion:reduce){.sidebar-upgrade-card{transition:none}.sidebar-upgrade-card:hover{transform:none}}.tutor-workspace .tutor-layout-v2{align-items:stretch;height:calc(100dvh - 204px);min-height:520px}.tutor-workspace .tutor-main-column{flex-direction:column;min-height:0;display:flex}.tutor-workspace .tutor-main-column .tutor-chat-v2{flex:1;gap:12px;height:100%;min-height:0;padding-bottom:0;overflow:hidden}.tutor-workspace .tutor-chat-v2 .tutor-heading{border-bottom:1px solid var(--line);flex:none;padding:0 0 12px}.tutor-heading-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.tutor-workspace .tutor-heading-title h1{letter-spacing:-.025em;color:var(--text);font-size:1.08rem;font-weight:650}.tutor-workspace .tutor-chat-v2 .tutor-context,.tutor-workspace .tutor-chat-v2 .tutor-quota,.tutor-workspace .tutor-chat-v2>.tutor-state{flex:none}.tutor-workspace .tutor-chat-v2 .tutor-history{overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-gutter:stable;flex:auto;min-height:0;max-height:none;padding:10px 8px 18px 1px;overflow:hidden auto}.tutor-workspace .tutor-chat-v2 .tutor-form.tutor-composer{flex:none;align-self:center;width:min(100%,740px);margin-inline:auto;position:static;bottom:auto}.tutor-workspace .tutor-source-rail{overscroll-behavior-y:contain;scrollbar-width:thin;align-self:start;max-height:calc(100dvh - 36px);padding:1px 2px 5px;position:sticky;top:18px;overflow-y:auto}@media (max-width:1050px){.tutor-workspace .tutor-layout-v2{height:auto;min-height:0}.tutor-workspace .tutor-main-column .tutor-chat-v2{flex:none;height:max(490px,100dvh - 188px)}.tutor-workspace .tutor-source-rail{grid-row:auto;max-height:none;padding:0;position:static;overflow:visible}}@media (max-width:760px){.tutor-workspace .tutor-main-column .tutor-chat-v2{gap:9px;height:max(465px,100dvh - 133px)}.tutor-workspace .tutor-chat-v2 .tutor-heading{gap:8px}.tutor-workspace .tutor-chat-v2 .tutor-heading-title .tutor-mascot-avatar{width:36px;height:36px}.tutor-workspace .tutor-heading-title h1{font-size:.94rem}.tutor-workspace .tutor-chat-v2 .tutor-heading-actions{flex:100%;justify-content:flex-start}.tutor-workspace .tutor-panel-toggle{width:auto;min-height:36px;padding:7px 10px;font-size:.73rem}.tutor-workspace .tutor-chat-v2 .tutor-form.tutor-composer{width:100%;padding:8px}.tutor-workspace .tutor-chat-v2 .tutor-history{padding-right:5px}}@media (max-height:600px){.tutor-workspace .tutor-layout-v2{height:auto;min-height:0}.tutor-workspace .tutor-main-column .tutor-chat-v2{height:auto;min-height:0;overflow:visible}.tutor-workspace .tutor-chat-v2 .tutor-history{flex:none;height:min(32dvh,240px);min-height:100px}.tutor-workspace .tutor-chat-v2 .tutor-form.tutor-composer{bottom:max(5px, env(safe-area-inset-bottom));position:sticky}}.tutor-workspace .tutor-main-column .tutor-chat-v2{gap:9px}.tutor-workspace .tutor-heading-line{flex-wrap:wrap;align-items:center;gap:8px 12px;min-width:0;display:flex}.tutor-workspace .tutor-chat-v2 .tutor-quota.tutor-quota-pill{border:1px solid color-mix(in srgb,var(--brand-accent) 22%,var(--line));background:color-mix(in srgb,var(--brand-accent) 7%,var(--surface));width:auto;min-height:30px;box-shadow:none;white-space:nowrap;color:var(--text);border-radius:999px;flex:none;align-items:center;gap:7px;padding:5px 11px;font-size:.75rem;font-weight:600;line-height:1.25;display:inline-flex}.tutor-workspace .tutor-quota-pill>svg{color:var(--tutor-accent);flex:none}.tutor-workspace .tutor-chat-v2 .tutor-heading-title .tutor-quota-numbers,.tutor-workspace .tutor-chat-v2 .tutor-heading-title .tutor-quota-numbers>span{color:var(--text);font-size:.75rem;font-weight:600}.tutor-workspace .tutor-chat-v2 .tutor-heading-title .tutor-quota-numbers>span{color:var(--muted);font-weight:400}.tutor-workspace .tutor-chat-v2 .tutor-heading-title .tutor-quota-plan{border-left:1px solid var(--line);color:var(--tutor-accent);padding-left:8px;font-size:.75rem;font-weight:700}.tutor-workspace .tutor-chat-v2 .tutor-context{font-size:.76rem;line-height:1.4}.tutor-workspace .tutor-chat-v2 .tutor-quota-notices{flex:none;gap:7px;font-size:.79rem;display:grid}.tutor-workspace .tutor-chat-v2 .tutor-quota-notices .tutor-upgrade{padding:6px 2px}.tutor-workspace .tutor-chat-v2 .tutor-welcome{margin:auto;padding:18px 7px}.tutor-workspace .tutor-chat-v2 .tutor-welcome h3{font-size:clamp(1.25rem,2.2vw,1.65rem)}.tutor-workspace .tutor-chat-v2 .tutor-suggestions{gap:7px;margin-top:15px}.tutor-workspace .tutor-chat-v2 .tutor-suggestions button{padding:8px 11px;font-size:.76rem}.tutor-workspace .tutor-chat-v2 .tutor-form.tutor-composer{z-index:5;width:min(100%,740px);box-shadow:none;background:0 0;border:none;border-radius:0;flex:none;grid-template-columns:minmax(0,1fr) auto;align-self:center;gap:6px 12px;margin-inline:auto;padding:0;display:grid;position:relative;bottom:auto}.tutor-workspace .tutor-chat-v2 .tutor-composer-main{border:1px solid var(--control-border);background:var(--surface);border-radius:28px;grid-column:1/-1;align-items:center;gap:8px;min-width:0;min-height:54px;padding:7px 8px 7px 16px;transition:border-color .15s;display:flex}.tutor-workspace .tutor-chat-v2 .tutor-composer-main:focus-within{border-color:var(--focus);outline:1px solid var(--focus)}.tutor-workspace .tutor-chat-v2 .tutor-composer-main textarea{resize:none;width:100%;min-width:0;height:24px;min-height:24px;max-height:120px;box-shadow:none;color:var(--text);background:0 0;border:0;border-radius:0;outline:0;flex:auto;padding:0 4px;font-size:16px;line-height:24px;overflow-y:auto}.tutor-workspace .tutor-chat-v2 .tutor-composer-main textarea:focus-visible{box-shadow:none;outline:none}.tutor-workspace .tutor-chat-v2 .tutor-composer-main .tutor-send-button{flex:none;width:38px;height:38px}.tutor-workspace .tutor-chat-v2 .tutor-composer-controls{flex-wrap:wrap;grid-column:1;align-items:center;gap:6px;min-width:0;display:flex}.tutor-workspace .tutor-chat-v2 .tutor-composer-chip,.tutor-workspace .tutor-chat-v2 .tutor-mode-control{min-height:32px;padding:5px 9px;font-size:.73rem;line-height:1.2}.tutor-workspace .tutor-chat-v2 .tutor-mode-control select{max-width:140px;font-size:.73rem}.tutor-workspace .tutor-chat-v2 .tutor-composer-help{color:var(--muted);white-space:nowrap;grid-column:2;align-self:center;margin:0;font-size:.68rem;line-height:1.25}.tutor-workspace .tutor-chat-v2 .tutor-composer-plan{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:1180px){.tutor-workspace .tutor-chat-v2 .tutor-form.tutor-composer{grid-template-columns:minmax(0,1fr)}.tutor-workspace .tutor-chat-v2 .tutor-composer-controls{grid-column:1}.tutor-workspace .tutor-chat-v2 .tutor-composer-help{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}@media (max-width:760px){.tutor-workspace .tutor-chat-v2 .tutor-form.tutor-composer{row-gap:5px;width:100%;padding:0}.tutor-workspace .tutor-chat-v2 .tutor-composer-main{min-height:52px;padding:6px 7px 6px 13px}.tutor-workspace .tutor-chat-v2 .tutor-heading-title .tutor-quota-pill{gap:5px;min-height:27px;padding:4px 8px}.tutor-workspace .tutor-chat-v2 .tutor-heading-title .tutor-quota-numbers,.tutor-workspace .tutor-chat-v2 .tutor-heading-title .tutor-quota-numbers>span,.tutor-workspace .tutor-chat-v2 .tutor-heading-title .tutor-quota-plan{font-size:.69rem}.tutor-workspace .tutor-chat-v2 .tutor-composer-chip,.tutor-workspace .tutor-chat-v2 .tutor-mode-control{min-height:30px;padding:5px 8px}.tutor-workspace .tutor-chat-v2 .tutor-welcome{padding:10px 5px}}@media (max-width:390px){.tutor-workspace .tutor-chat-v2 .tutor-heading-title .tutor-quota-pill{max-width:100%}.tutor-workspace .tutor-chat-v2 .tutor-composer-controls{gap:5px}.tutor-workspace .tutor-chat-v2 .tutor-mode-control select{max-width:110px;font-size:.69rem}}:is(html:has(.app-layout-tutor),body:has(.app-layout-tutor)){overscroll-behavior:none;height:100%;overflow:hidden}.app-layout-tutor{overscroll-behavior:none;height:100dvh;min-height:0;max-height:100dvh;overflow:hidden}.app-layout-tutor .app-main{height:100%;min-height:0;max-height:100%;overflow:hidden}.app-layout-tutor .workspace{flex-direction:column;flex:auto;height:100%;min-height:0;max-height:100%;padding:16px 28px 14px;display:flex;overflow:hidden}.app-layout-tutor .tutor-workspace{flex-direction:column;flex:auto;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.app-layout-tutor .tutor-workspace:not(:has(.tutor-layout-v2)){overflow-y:auto}.app-layout-tutor .tutor-workspace .tutor-layout-v2{flex:auto;grid-template-rows:minmax(0,1fr);align-items:stretch;width:100%;height:100%;min-height:0;overflow:hidden}.app-layout-tutor .tutor-workspace .tutor-main-column{flex-direction:column;grid-area:1/1;height:100%;min-height:0;display:flex;overflow:hidden}.app-layout-tutor .tutor-workspace .tutor-main-column .tutor-chat-v2{flex:auto;gap:9px;height:100%;min-height:0;max-height:100%;overflow:hidden}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-heading,.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-context,.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-quota-notices,.app-layout-tutor .tutor-workspace .tutor-chat-v2>.tutor-state{flex:none}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-history{overscroll-behavior:contain;flex:auto;height:auto;min-height:0;max-height:none;padding-bottom:16px;overflow:hidden auto}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-form.tutor-composer{flex:none;margin-top:auto;margin-bottom:0;position:static;bottom:auto}.app-layout-tutor .tutor-workspace .tutor-source-rail{overscroll-behavior:contain;scrollbar-width:thin;grid-area:1/2;align-self:stretch;height:100%;min-height:0;max-height:none;padding:0 3px 3px 0;position:static;overflow:hidden auto}@media (max-width:1050px){.app-layout-tutor .tutor-workspace .tutor-layout-v2{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr);gap:10px}.app-layout-tutor .tutor-workspace .tutor-layout-v2:not(.tutor-layout-wide){grid-template-rows:minmax(0,clamp(110px,24dvh,190px)) minmax(0,1fr)}.app-layout-tutor .tutor-workspace .tutor-main-column{grid-area:1/1}.app-layout-tutor .tutor-workspace .tutor-layout-v2:not(.tutor-layout-wide) .tutor-main-column{grid-row:2}.app-layout-tutor .tutor-workspace .tutor-source-rail{grid-area:1/1;overflow-y:auto}.app-layout-tutor .tutor-source-rail .tutor-scope-panel{padding:13px 16px}}@media (max-width:760px){.app-layout-tutor{flex-direction:column;height:100dvh;max-height:100dvh;display:flex}.app-layout-tutor .mobile-top{z-index:30;flex:none;position:relative;top:auto}.app-layout-tutor .app-main{flex:auto;width:100%;height:auto;min-height:0;max-height:none;margin-left:0;overflow:hidden}.app-layout-tutor .workspace{height:100%;min-height:0;padding:10px 15px max(12px, env(safe-area-inset-bottom));flex:auto}.app-layout-tutor .tutor-workspace .tutor-main-column .tutor-chat-v2{gap:7px;height:100%;min-height:0;overflow:hidden}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-history{min-height:0;padding-top:7px}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-form.tutor-composer{flex:none;margin-top:0;margin-bottom:0}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-heading{padding-bottom:8px}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-context{font-size:.74rem;line-height:1.25}}@media (max-height:600px){.app-layout-tutor .tutor-workspace .tutor-layout-v2{height:100%;min-height:0}.app-layout-tutor .tutor-workspace .tutor-main-column .tutor-chat-v2{height:100%;min-height:0;overflow:hidden}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-history{flex:auto;height:auto;min-height:0;max-height:none}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-form.tutor-composer{position:static;bottom:auto}}.tutor-dropdown{min-width:0;position:relative}.tutor-dropdown--scope{width:100%}.tutor-dropdown .tutor-dropdown-trigger{border:1px solid var(--control-border);background:var(--surface);width:100%;min-width:0;min-height:46px;color:var(--text);text-align:left;cursor:pointer;border-radius:15px;align-items:center;gap:10px;padding:10px 12px;font-size:.84rem;font-weight:500;line-height:1.3;transition:border-color .15s,background .15s,box-shadow .15s;display:flex}.tutor-dropdown .tutor-dropdown-trigger:hover:not(:disabled){background:color-mix(in srgb, var(--success-bg) 25%, var(--surface));border-color:var(--success-border)}.tutor-dropdown .tutor-dropdown-trigger:focus-visible,.tutor-dropdown .tutor-dropdown-trigger[aria-expanded=true]{border-color:var(--success-border);box-shadow:0 0 0 3px color-mix(in srgb, var(--success-border) 23%, transparent);outline:none}.tutor-dropdown .tutor-dropdown-trigger:disabled{cursor:not-allowed;opacity:.62}.tutor-dropdown .tutor-dropdown-trigger>svg:first-child{color:var(--success);flex:none}.tutor-dropdown .tutor-dropdown-trigger-copy{white-space:nowrap;text-overflow:ellipsis;flex:auto;min-width:0;display:block;overflow:hidden}.tutor-dropdown .tutor-dropdown-chevron{color:var(--muted);flex:none;transition:transform .15s}.tutor-dropdown .tutor-dropdown-trigger[aria-expanded=true] .tutor-dropdown-chevron{transform:rotate(180deg)}.tutor-dropdown-menu{z-index:90;overscroll-behavior:contain;border:1px solid color-mix(in srgb, var(--success-border) 25%, var(--line));background:var(--surface);scrollbar-width:thin;border-radius:17px;flex-direction:column;gap:3px;padding:6px;animation:.12s ease-out tutor-dropdown-reveal;display:flex;overflow:hidden auto;box-shadow:0 14px 36px #00000026,0 4px 10px #00000012}.tutor-dropdown-option{width:100%;min-width:0;min-height:42px;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;flex:none;align-items:center;gap:10px;padding:9px 10px;font-size:.8rem;line-height:1.35;display:flex}.tutor-dropdown-option>svg:first-child{color:var(--muted);flex:none}.tutor-dropdown-option-copy{overflow-wrap:anywhere;flex:auto;gap:3px;min-width:0;display:grid}.tutor-dropdown-option-copy small{color:var(--muted);font-size:.69rem;line-height:1.35}.tutor-dropdown-option.is-highlighted:not(.is-selected),.tutor-dropdown-option:hover:not(.is-selected){background:var(--soft)}.tutor-dropdown-option.is-selected{background:var(--success-bg);color:var(--success);font-weight:650}.tutor-dropdown-option.is-selected>svg:first-child,.tutor-dropdown-option .tutor-dropdown-check{color:var(--success)}.tutor-dropdown-option:focus-visible{outline:2px solid var(--success-border);outline-offset:-2px}.tutor-dropdown .tutor-dropdown-trigger[aria-expanded=true]{background:color-mix(in srgb, var(--success-bg) 25%, var(--surface))}.tutor-workspace .tutor-chat-v2 .tutor-dropdown--mode.tutor-mode-control{background:0 0;border:0;border-radius:999px;width:fit-content;min-width:0;max-width:100%;min-height:0;margin:0;padding:0;display:block}.tutor-workspace .tutor-chat-v2 .tutor-dropdown--mode .tutor-dropdown-trigger{border-color:var(--line);border-radius:999px;gap:6px;min-height:32px;padding:6px 10px;font-size:.73rem;font-weight:550;line-height:1.2}.tutor-dropdown-menu--mode{border-radius:16px;min-width:0}.tutor-dropdown-menu--mode .tutor-dropdown-option{min-height:46px}@keyframes tutor-dropdown-reveal{0%{opacity:.7;transform:translateY(2px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.tutor-dropdown-menu{animation:none}.tutor-dropdown .tutor-dropdown-trigger,.tutor-dropdown .tutor-dropdown-chevron{transition:none}}@media (max-width:390px){.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-composer-controls{flex-wrap:nowrap;min-width:0}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-composer-chip{flex:0 auto;min-width:0;max-width:calc(100% - 138px)}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-dropdown--mode.tutor-mode-control{flex:0 132px;width:132px;max-width:132px}.app-layout-tutor .tutor-workspace .tutor-chat-v2 .tutor-dropdown--mode .tutor-dropdown-trigger{gap:4px;width:100%;min-width:0;padding:5px 7px}.reader-tutor-panel .tutor-chat-v2 .tutor-composer-controls{grid-template-columns:minmax(0,1fr) 38px;align-items:center;gap:6px 8px;display:grid}.reader-tutor-panel .tutor-chat-v2 .tutor-composer-controls>.tutor-composer-chip{grid-area:1/1;justify-self:start;max-width:100%}.reader-tutor-panel .tutor-chat-v2 .tutor-composer-controls>.tutor-dropdown--mode.tutor-mode-control{flex:none;grid-area:2/1;justify-self:start;width:min(100%,165px);min-width:0;max-width:100%}.reader-tutor-panel .tutor-chat-v2 .tutor-composer-controls>.tutor-dropdown--mode .tutor-dropdown-trigger{width:100%;min-width:0}.reader-tutor-panel .tutor-chat-v2 .tutor-composer-controls>.tutor-compose-spacer{display:none}.reader-tutor-panel .tutor-chat-v2 .tutor-composer-controls>.tutor-compose-remaining{grid-area:3/1/auto/-1;justify-self:start}.reader-tutor-panel .tutor-chat-v2 .tutor-composer-controls>.tutor-send-button{flex:none;grid-area:1/2/span 2;place-self:center end;width:38px;height:38px}}.chapter-reader-grid{grid-template-columns:minmax(0,1fr) minmax(310px,340px);align-items:start;gap:20px;min-width:0;display:grid}.chapter-reader-primary{min-width:0}.chapter-reader-primary>.page-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:15px;min-width:0;margin-bottom:23px;display:flex}.chapter-reader-primary>.page-heading>div:first-child{flex:260px;min-width:0}.chapter-reader-primary>.page-heading h1{font-size:clamp(1.6rem,2.15vw,2.05rem)}.chapter-reader-primary .reader-quiz-link{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin:0;display:flex}.chapter-reader-primary .reader-quiz-link .button{border:1px solid color-mix(in srgb, var(--success-border) 55%, var(--line));min-height:42px;color:var(--success);background:var(--success-bg);white-space:nowrap;border-radius:12px;align-items:center;gap:7px;padding:10px 11px;font-size:.69rem;font-weight:650;line-height:1.3;display:inline-flex}.chapter-reader-primary .reader-quiz-link .button:hover{border-color:var(--success-border);background:color-mix(in srgb, var(--success-bg) 80%, var(--surface))}.chapter-reader-primary .reader-quiz-link .button:focus-visible{outline:2px solid var(--success);outline-offset:2px}.chapter-reader-primary>.reader-layout{min-width:0;display:block}.chapter-reader-primary>.reader-layout>.material-reader{width:100%}.chapter-reader-primary .subchapter-toolbar{align-items:center;gap:12px}.chapter-reader-primary .reader-subchapter-selector{flex:auto;min-width:0}.chapter-reader-primary .reader-subchapter-selector .tutor-dropdown-label{color:var(--text);margin:0 0 7px;font-size:.8rem;font-weight:700;display:block}.chapter-reader-primary .reader-subchapter-selector .tutor-dropdown-trigger{border:1px solid color-mix(in srgb, var(--success-border) 50%, var(--line));min-height:54px;color:var(--text);background:var(--surface);border-radius:15px;gap:11px;padding:8px 13px;font-size:.82rem;font-weight:600}.chapter-reader-primary .reader-subchapter-selector .tutor-dropdown-trigger>svg:first-child{box-sizing:content-box;width:19px;height:19px;color:var(--success);background:var(--success-bg);border-radius:10px;padding:8px}.tutor-dropdown-menu--reader{box-shadow:var(--shadow-overlay);border-radius:17px}.tutor-dropdown-menu--reader .tutor-dropdown-option{border-radius:12px;min-height:49px;padding:9px 12px}.tutor-dropdown-menu--reader .tutor-dropdown-option>svg:first-child{box-sizing:content-box;width:18px;height:18px;color:var(--muted);background:var(--soft);border-radius:10px;padding:7px}.tutor-dropdown-menu--reader .tutor-dropdown-option.is-selected>svg:first-child{background:var(--success-bg);color:var(--success)}.chapter-reader-grid>.reader-tutor-panel{z-index:9;width:100%;height:var(--reader-tutor-height,calc(100dvh - 185px));border:1px solid var(--line);background:var(--surface);border-radius:20px;flex-direction:column;align-self:start;min-height:0;max-height:calc(100dvh - 36px);padding:16px;display:flex;position:sticky;top:18px;overflow:hidden}.chapter-reader-grid .reader-tutor-content{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow:hidden}.chapter-reader-grid .reader-tutor-panel .tutor-chat-v2{flex-direction:column;flex:auto;gap:10px;height:100%;min-height:0;display:flex;overflow:hidden}.chapter-reader-grid .reader-tutor-panel .tutor-heading{flex:none;gap:8px}.chapter-reader-grid .reader-tutor-panel .tutor-heading h2{margin:0;font-size:.96rem}.chapter-reader-grid .reader-tutor-panel .tutor-heading-title{align-items:center;gap:9px}.chapter-reader-grid .reader-tutor-panel .tutor-context{border:1px solid color-mix(in srgb, var(--success-border) 35%, var(--line));background:color-mix(in srgb, var(--success-bg) 35%, var(--surface));color:var(--muted);overflow-wrap:anywhere;border-radius:14px;flex:none;margin:0;padding:11px 12px;font-size:.72rem;line-height:1.5}.chapter-reader-grid .reader-tutor-panel .tutor-context strong{color:var(--success);margin-bottom:3px;font-size:.75rem;display:block}.chapter-reader-grid .reader-tutor-panel .tutor-quota{border-radius:14px;flex:none;gap:7px;padding:10px 11px}.chapter-reader-grid .reader-tutor-panel .tutor-history{overscroll-behavior:contain;scrollbar-width:thin;flex-direction:column;flex:auto;min-height:0;max-height:none;padding:3px 3px 8px;display:flex;overflow:hidden auto}.chapter-reader-grid .reader-tutor-panel .tutor-welcome{text-align:left;align-self:stretch;width:100%;max-width:100%;margin:0;padding:0}.chapter-reader-grid .reader-tutor-panel .tutor-welcome>.tutor-mascot-avatar,.chapter-reader-grid .reader-tutor-panel .tutor-welcome h3,.chapter-reader-grid .reader-tutor-panel .tutor-welcome>p{display:none}.chapter-reader-grid .reader-tutor-panel .tutor-suggestions{justify-content:stretch;gap:7px;margin:0;display:grid}.chapter-reader-grid .reader-tutor-panel .tutor-suggestions:before{content:"Coba tanyakan:";color:var(--text);margin-bottom:2px;font-size:.73rem;font-weight:650;display:block}.chapter-reader-grid .reader-tutor-panel .tutor-suggestions button{background:var(--surface);text-align:left;border-radius:999px;width:100%;min-height:34px;padding:8px 10px;font-size:.7rem;line-height:1.35}.chapter-reader-grid .reader-tutor-panel .tutor-form.tutor-composer{box-shadow:none;border-radius:17px;flex:none;gap:6px;padding:10px;position:static;bottom:auto}.chapter-reader-grid .reader-tutor-panel .tutor-composer textarea{resize:vertical;min-height:64px;max-height:115px;padding:7px;font-size:14px;line-height:1.5}.chapter-reader-grid .reader-tutor-panel .tutor-composer-controls{flex-wrap:wrap;gap:5px}.chapter-reader-grid .reader-tutor-panel .tutor-composer-help{margin:2px 3px 0;font-size:.62rem}.reader-tutor-backdrop{display:none}@media (max-width:1260px){.chapter-reader-grid{display:block}.chapter-reader-grid>.reader-tutor-panel{z-index:62;width:auto;max-width:calc(100vw - 32px);height:auto;min-height:0;max-height:none;box-shadow:none;background:0 0;border:0;padding:0;display:block;position:fixed;inset:auto 16px 16px auto;overflow:visible}.chapter-reader-grid>.reader-tutor-panel[data-open=true]{border:1px solid var(--line);background:var(--surface);width:min(440px,100vw - 24px);height:min(770px,100dvh - 24px);max-height:calc(100dvh - 24px);box-shadow:var(--shadow-overlay);border-radius:19px;flex-direction:column;padding:14px;display:flex;bottom:12px;right:12px;overflow:hidden}.chapter-reader-grid .reader-tutor-toggle{border:1px solid var(--success-border);background:var(--success-bg);width:100%;min-height:45px;color:var(--success);border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:11px 16px;font-weight:700;display:flex;box-shadow:0 6px 22px #00000017}.chapter-reader-grid>.reader-tutor-panel[data-open=true] .reader-tutor-toggle{min-height:40px;box-shadow:none;flex:none;margin-bottom:10px}.chapter-reader-grid .reader-tutor-content[data-open=false]{display:none}.chapter-reader-grid .reader-tutor-content[data-open=true]{flex:auto;min-height:0;margin:0;display:flex}.reader-tutor-backdrop{z-index:61;background:var(--backdrop);border:0;padding:0;display:block;position:fixed;inset:0}.chapter-reader-primary>.page-heading{margin-bottom:18px}}@media (max-width:760px){.chapter-reader-primary>.page-heading{gap:12px}.chapter-reader-primary .reader-quiz-link{justify-content:flex-start}.chapter-reader-primary .reader-quiz-link .button{white-space:normal;min-height:40px}.chapter-reader-primary .subchapter-toolbar{flex-wrap:wrap;gap:7px}.chapter-reader-primary .subchapter-toolbar .pill{align-self:flex-start}.chapter-reader-primary .reader-subchapter-selector{width:100%}.chapter-reader-grid>.reader-tutor-panel{right:12px;bottom:max(12px, env(safe-area-inset-bottom))}.chapter-reader-grid>.reader-tutor-panel[data-open=false]{z-index:31;top:17px;bottom:auto;right:68px}}@media (max-width:480px){.chapter-reader-grid>.reader-tutor-panel[data-open=false] .reader-tutor-toggle{gap:3px;min-height:40px;padding:8px 4px;font-size:.7rem}}.chapter-reader-grid .reader-tutor-panel .tutor-heading{min-height:0;padding-bottom:1px}.chapter-reader-grid .reader-tutor-panel .tutor-heading .tutor-mascot-avatar{width:38px;height:38px}.chapter-reader-grid .reader-tutor-panel .tutor-heading-title>div{min-width:0}.chapter-reader-grid .reader-tutor-panel .tutor-heading-subtitle{font-size:.66rem}.chapter-reader-grid .reader-tutor-panel .tutor-context{min-height:0;padding:8px 10px;font-size:.7rem;line-height:1.35}.chapter-reader-grid .reader-tutor-panel .tutor-context strong{margin-bottom:2px;font-size:.72rem}.chapter-reader-grid .reader-tutor-panel .tutor-context-value{-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chapter-reader-grid .reader-tutor-panel .tutor-quota{gap:5px;padding:8px 10px}.chapter-reader-grid .reader-tutor-panel .tutor-quota p{font-size:.73rem;line-height:1.35}.chapter-reader-grid .reader-tutor-panel .tutor-quota-main>div>span{font-size:.64rem;line-height:1.25}.chapter-reader-grid .reader-tutor-panel .tutor-quota-icon{flex:none;width:30px;height:30px}.chapter-reader-grid .reader-tutor-panel .tutor-quota progress{height:4px}.chapter-reader-grid .reader-tutor-panel .tutor-history{overscroll-behavior:contain;scrollbar-width:thin;flex:1 1 0;min-height:0;padding:2px 2px 5px;overflow:hidden auto}.chapter-reader-grid .reader-tutor-panel .tutor-welcome{min-height:0}.chapter-reader-grid .reader-tutor-panel .tutor-suggestions button{min-height:30px;padding:6px 9px;font-size:.69rem}.chapter-reader-grid .reader-tutor-panel .tutor-form.tutor-composer{border:1px solid var(--control-border);background:var(--surface);border-radius:15px;flex:none;gap:5px;min-width:0;padding:8px 9px 7px}.chapter-reader-grid .reader-tutor-panel .tutor-composer-main{min-width:0}.chapter-reader-grid .reader-tutor-panel .tutor-composer-controls{align-items:center;gap:6px;min-width:0}.chapter-reader-grid .reader-tutor-panel .tutor-composer-help{margin:0 2px;font-size:.61rem;line-height:1.2}@media (min-width:1261px){.chapter-reader-grid .reader-tutor-panel .tutor-form.tutor-composer{position:relative}.chapter-reader-grid .reader-tutor-panel .tutor-composer-main textarea{resize:vertical;width:100%;height:66px;min-height:66px;max-height:105px;padding:7px 49px 7px 7px;font-size:14px;line-height:1.4;display:block}.chapter-reader-grid .reader-tutor-panel .tutor-composer-controls>.tutor-send-button{z-index:2;width:35px;height:35px;padding:0;position:absolute;top:24px;right:16px}.chapter-reader-grid .reader-tutor-panel .tutor-composer-controls>.tutor-compose-spacer,.chapter-reader-grid .reader-tutor-panel .tutor-composer-controls>.tutor-compose-remaining{display:none}.chapter-reader-grid .reader-tutor-panel .tutor-dropdown--mode.tutor-mode-control{flex:0 auto;min-width:0;max-width:100%}}@media (max-width:1260px){.chapter-reader-grid .reader-tutor-panel .tutor-composer-main textarea{max-height:110px}.chapter-reader-grid .reader-tutor-panel .tutor-form.tutor-composer{max-width:100%}}@media (max-height:650px) and (min-width:1261px){.chapter-reader-grid .reader-tutor-panel .tutor-context{padding:6px 9px}.chapter-reader-grid .reader-tutor-panel .tutor-quota-main>div>span{display:none}.chapter-reader-grid .reader-tutor-panel .tutor-suggestions button{min-height:28px}}.chapter-reader-grid .reader-tutor-panel .tutor-chat-v2{gap:7px}.chapter-reader-grid .reader-tutor-panel .tutor-heading{gap:8px}.chapter-reader-grid .reader-tutor-panel .tutor-context{padding:7px 9px;font-size:.69rem;line-height:1.3}.chapter-reader-grid .reader-tutor-panel .tutor-context strong{margin-bottom:1px}.chapter-reader-grid .reader-tutor-panel .tutor-quota{border-radius:11px;gap:3px;padding:7px 9px}.chapter-reader-grid .reader-tutor-panel .tutor-quota-icon{width:25px;height:25px}.chapter-reader-grid .reader-tutor-panel .tutor-quota-main{gap:7px}.chapter-reader-grid .reader-tutor-panel .tutor-quota-main p{font-size:.68rem;line-height:1.3}.chapter-reader-grid .reader-tutor-panel .tutor-quota-main>div>span{font-size:.59rem}.chapter-reader-grid .reader-tutor-panel .tutor-quota progress{display:none}.chapter-reader-grid .reader-tutor-panel .tutor-history{scrollbar-width:thin;overscroll-behavior:contain;border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-direction:column;flex:1 1 0;gap:9px;min-height:0;padding:8px 3px;display:flex;overflow:hidden auto}.chapter-reader-grid .reader-tutor-panel .tutor-reader-history-label{color:var(--muted);letter-spacing:.02em;flex:none;font-size:.65rem;font-weight:700;display:block}.chapter-reader-grid .reader-tutor-panel .tutor-welcome{text-align:left;min-height:0;margin:0;padding:0}.chapter-reader-grid .reader-tutor-panel .tutor-welcome h3{letter-spacing:0;margin:2px 0 3px;font-size:.82rem;line-height:1.3;display:block}.chapter-reader-grid .reader-tutor-panel .tutor-welcome>p{margin:0 0 8px;font-size:.68rem;line-height:1.35;display:block}.chapter-reader-grid .reader-tutor-panel .tutor-suggestions{gap:5px}.chapter-reader-grid .reader-tutor-panel .tutor-suggestions:before{display:none}.chapter-reader-grid .reader-tutor-panel .tutor-suggestions button{border-radius:13px;min-height:30px;padding:6px 10px;font-size:.68rem;line-height:1.25}.chapter-reader-grid .reader-tutor-panel .tutor-form.tutor-composer{border:1px solid var(--control-border);background:var(--surface);width:100%;min-width:0;box-shadow:0 2px 8px color-mix(in srgb, var(--text) 4%, transparent);border-radius:19px;flex-direction:column;flex:none;align-self:stretch;gap:6px;padding:9px 10px 7px;display:flex}.chapter-reader-grid .reader-tutor-panel .tutor-form.tutor-composer:focus-within{border-color:var(--focus)}.chapter-reader-grid .reader-tutor-panel .tutor-composer-main{width:100%;min-width:0;box-shadow:none;background:0 0;border:0;align-items:flex-end;gap:5px;padding:0;display:flex;position:relative}.chapter-reader-grid .reader-tutor-panel .tutor-composer-main textarea{resize:none;width:100%;min-width:0;height:68px;min-height:68px;max-height:min(120px,24dvh);box-shadow:none;background:0 0;border:0;outline:0;flex:auto;padding:9px 5px 7px;font-size:14px;line-height:1.45;display:block;overflow-y:auto}.chapter-reader-grid .reader-tutor-panel .tutor-composer-main .tutor-send-button{z-index:auto;border-radius:50%;flex:none;width:34px;height:34px;margin:0 0 3px;position:static}.chapter-reader-grid .reader-tutor-panel .tutor-composer-controls{flex-wrap:nowrap;justify-content:flex-start;align-items:center;gap:4px;width:100%;min-height:28px;padding:0 0 0 1px;display:flex}.chapter-reader-grid .reader-tutor-panel .tutor-dropdown--mode.tutor-mode-control{background:0 0;border:0;flex:none;width:fit-content;min-width:0;max-width:min(100%,190px);min-height:0;margin:0;padding:0;display:block}.chapter-reader-grid .reader-tutor-panel .tutor-dropdown--mode .tutor-dropdown-trigger{border:1px solid var(--line);background:var(--surface);border-radius:999px;gap:5px;width:auto;min-height:28px;padding:4px 8px;font-size:.68rem;font-weight:550;line-height:1.15;display:flex}.chapter-reader-grid .reader-tutor-panel .tutor-dropdown--mode .tutor-dropdown-trigger>svg:first-child,.chapter-reader-grid .reader-tutor-panel .tutor-dropdown--mode .tutor-dropdown-chevron{width:13px;height:13px}.chapter-reader-grid .reader-tutor-panel .tutor-composer-help{clip:rect(0, 0, 0, 0);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.chapter-reader-grid .reader-tutor-panel .tutor-composer-plan{margin:0 0 2px;font-size:.63rem}@media (min-width:1261px){.chapter-reader-grid .reader-tutor-panel .tutor-composer-main textarea{resize:none;width:100%;height:68px;min-height:68px;max-height:min(120px,24dvh);padding:9px 5px 7px;font-size:14px;line-height:1.45}.chapter-reader-grid .reader-tutor-panel .tutor-composer-main .tutor-send-button{width:34px;height:34px;position:static;top:auto;right:auto}}@media (max-width:1260px){.chapter-reader-grid>.reader-tutor-panel[data-open=true]{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}.chapter-reader-grid .reader-tutor-panel .tutor-composer-main textarea{height:68px;min-height:68px;max-height:min(120px,24dvh)}}@media (max-width:390px){.chapter-reader-grid .reader-tutor-panel .tutor-composer-controls{flex-wrap:nowrap;grid-template-columns:none;gap:4px;min-width:0;display:flex}.chapter-reader-grid .reader-tutor-panel .tutor-composer-controls>.tutor-dropdown--mode.tutor-mode-control{flex:none;grid-area:auto;width:fit-content;max-width:min(100%,190px)}}@media (max-height:630px){.chapter-reader-grid .reader-tutor-panel .tutor-context{padding:5px 8px}.chapter-reader-grid .reader-tutor-panel .tutor-heading-subtitle,.chapter-reader-grid .reader-tutor-panel .tutor-quota-main>div>span{display:none}.chapter-reader-grid .reader-tutor-panel .tutor-composer-main textarea{height:54px;min-height:54px}}
.tutor-workspace .tutor-layout-v2.tutor-layout-compact{flex-direction:column;align-items:stretch;gap:12px;width:100%;height:100%;min-height:0;display:flex}.tutor-workspace .tutor-layout-compact .tutor-main-column{flex-direction:column;flex:1 1 0;width:100%;min-height:0;display:flex}.tutor-workspace .tutor-layout-compact .tutor-main-column .tutor-chat-v2{flex:1 1 0;gap:9px;width:100%;height:100%;min-height:0}.tutor-layout-compact .tutor-composer-chip[aria-expanded=true]{border-color:var(--success-border);background:var(--success-bg);color:var(--success)}.tutor-layout-compact .tutor-composer-chip[aria-expanded=true]>svg:last-child{transform:rotate(180deg)}.tutor-layout-compact .tutor-composer-chip span{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:200px;overflow:hidden}@media (max-width:1050px){.app-layout-tutor .tutor-workspace .tutor-layout-v2.tutor-layout-compact{height:100%;min-height:0}.app-layout-tutor .tutor-layout-compact .tutor-main-column .tutor-chat-v2{flex:1 1 0;height:100%;min-height:0;overflow:hidden}}@media (max-width:760px){.tutor-layout-compact .tutor-heading-actions .tutor-panel-toggle{display:none}.tutor-layout-compact .tutor-composer-chip span{max-width:135px}}@media (max-width:390px){.tutor-layout-compact .tutor-composer-chip span{max-width:104px}}.tutor-material-layer{z-index:120;isolation:isolate;pointer-events:none;position:fixed;inset:0}.tutor-material-backdrop{pointer-events:auto;background:#08100c6b;border:none;border-radius:0;width:100%;padding:0;position:absolute;inset:0}.tutor-material-dialog{pointer-events:auto;border:1px solid var(--line);background:var(--surface);width:min(720px,100vw - 32px);min-height:0;max-height:min(84dvh,740px);color:var(--text);border-radius:23px;flex-direction:column;padding:18px;display:flex;position:absolute;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 20px 55px #00000035}.tutor-material-dialog--anchored{border-radius:19px;padding:14px;top:auto;transform:none}.tutor-material-grabber{display:none}.tutor-material-heading{flex:none;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.tutor-material-title{align-items:flex-start;gap:10px;min-width:0;display:flex}.tutor-material-title>svg{color:var(--success);flex:none;margin-top:3px}.tutor-material-title h2{letter-spacing:-.03em;margin:0 0 5px;font-size:1.04rem}.tutor-material-title p{color:var(--muted);font-size:.75rem;line-height:1.45}.tutor-material-close{border:1px solid var(--line);background:var(--soft);width:34px;height:34px;color:var(--text);border-radius:50%;flex:0 0 34px;place-items:center;padding:0;display:grid}.tutor-material-close:focus-visible{outline:2px solid var(--focus)}.tutor-material-options{overscroll-behavior:contain;scrollbar-width:thin;border:0;flex-direction:column;flex:auto;gap:5px;min-height:0;margin:0;padding:0 3px 3px 0;display:flex;overflow:auto}.tutor-material-option{border:1px solid var(--line);background:var(--surface);min-width:0;min-height:58px;color:var(--text);cursor:pointer;border-radius:13px;flex:none;align-items:center;gap:12px;padding:9px 12px;display:flex}.tutor-material-option:hover{background:var(--hover)}.tutor-material-option.is-selected{border-color:var(--success-border);background:color-mix(in srgb, var(--success-bg) 75%, var(--surface))}.tutor-material-option input[type=radio]{width:18px;height:18px;accent-color:var(--success);cursor:pointer;flex:0 0 18px;margin:0}.tutor-material-option>svg{color:var(--muted);flex:none}.tutor-material-option.is-selected>svg{color:var(--success)}.tutor-material-option-copy{flex:auto;gap:2px;min-width:0;display:grid}.tutor-material-option-copy strong{overflow-wrap:anywhere;font-size:.79rem;font-weight:650;line-height:1.3}.tutor-material-option-copy small{color:var(--muted);overflow-wrap:anywhere;font-size:.7rem;line-height:1.35}.tutor-material-option--chapter{padding-left:20px}.tutor-material-option-chevron{color:var(--muted)}.tutor-material-actions{background:var(--surface);flex:none;padding-top:13px}.tutor-material-apply{border:1px solid var(--success-border);background:var(--success);color:#fff;border-radius:13px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:44px;padding:10px 18px;font-size:.83rem;font-weight:700;display:inline-flex}.tutor-material-apply:not(:disabled):hover{filter:brightness(1.06)}.tutor-material-apply:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.tutor-material-apply:disabled{opacity:.48;cursor:not-allowed}html[data-theme=dark] .tutor-material-apply{color:#fff;background:#247b50}html[data-theme=dark] .tutor-material-backdrop{background:#00000094}@media (min-width:1024px){.tutor-material-backdrop{background:0 0}.tutor-material-dialog--anchored{box-shadow:0 12px 35px #00000026}}@media (max-width:767px){.tutor-material-dialog{width:100%;max-height:min(82dvh,700px);padding:12px 14px max(12px, env(safe-area-inset-bottom));border-radius:23px 23px 0 0;inset:auto 0 0;transform:none}.tutor-material-grabber{background:var(--line);border-radius:999px;flex:none;align-self:center;width:42px;height:5px;margin:0 0 12px;display:block}.tutor-material-title h2{font-size:.99rem}.tutor-material-title p{font-size:.72rem}.tutor-material-option{gap:9px;min-height:56px;padding:8px 9px}.tutor-material-option--chapter{padding-left:15px}}@media (max-height:540px){.tutor-material-dialog{max-height:90dvh}.tutor-material-title p{font-size:.68rem}.tutor-material-heading{margin-bottom:8px}}@media (prefers-reduced-motion:no-preference){.tutor-material-dialog{animation:.16s ease-out tutor-material-open}@keyframes tutor-material-open{0%{opacity:.82}to{opacity:1}}}.tutor-material-reset-note{color:var(--muted);margin:0 0 8px;font-size:.69rem;line-height:1.3}
.editor-layout-sources{grid-template-columns:minmax(0,700px)}.editor-registered{gap:16px;min-width:0;display:grid}.editor-registered-heading{border:1px solid var(--line);background:var(--surface);border-radius:20px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 24px;display:flex}.editor-registered-heading>div{flex:280px;min-width:0}.editor-registered-heading h2{color:var(--ink);letter-spacing:-.025em;margin:0 0 7px;font-size:1.19rem}.editor-registered-heading p{color:var(--muted);max-width:720px;font-size:.83rem;line-height:1.58}.editor-registered-heading small{color:var(--muted);margin-top:9px;font-size:.73rem;display:inline-block}.editor-registered-heading>.button{background:var(--success);color:var(--surface);flex:none}html[data-theme=dark] .editor-registered-heading>.button{color:#fff;background:#267c54}.editor-registered-filters{grid-template-columns:minmax(190px,1fr) minmax(150px,220px) minmax(150px,220px) auto;align-items:center;gap:10px;display:grid}.editor-registered-search{border:1px solid var(--line);min-width:0;min-height:42px;color:var(--muted);background:var(--surface);border-radius:11px;align-items:center;gap:8px;padding:0 12px;display:flex}.editor-registered-search:focus-within{outline:2px solid var(--focus);outline-offset:1px}.editor-registered-search svg{flex:none}.editor-registered-search input{width:100%;min-width:0;color:var(--ink);background:0 0;border:none;outline:none;padding:9px 0;font-size:.78rem}.editor-registered-search input:focus{box-shadow:none;outline:none}.editor-registered-select{min-width:0}.editor-registered-select select{width:100%;min-width:0;min-height:42px;color:var(--ink);border:1px solid var(--line);background:var(--surface);border-radius:11px;padding:8px 11px;font-size:.78rem}.editor-registered-archive-toggle{white-space:nowrap;cursor:pointer;color:var(--muted);align-items:center;gap:7px;font-size:.75rem;font-weight:600;display:inline-flex}.editor-registered-archive-toggle input{width:16px;height:16px;accent-color:var(--success)}.editor-registered-layout{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (min-width:1180px){.editor-registered-layout.has-inspector{grid-template-columns:minmax(0,1.25fr) minmax(335px,.85fr)}}.editor-registered-tree,.editor-registered-inspector{background:var(--surface);border:1px solid var(--line);min-width:0;box-shadow:0 2px 8px color-mix(in srgb, var(--ink) 3%, transparent);border-radius:19px;padding:15px}.editor-registered-tree{gap:9px;display:grid}.editor-registered-tree details{border-radius:13px;min-width:0;overflow:clip}.editor-registered-tree details>summary{cursor:pointer;align-items:center;gap:10px;min-width:0;padding:11px 12px;list-style:none;display:flex}.editor-registered-tree details>summary::-webkit-details-marker{display:none}.editor-registered-metadata summary::-webkit-details-marker{display:none}.editor-registered-tree details>summary:focus-visible,.editor-registered-chunk-trigger:focus-visible,.editor-registered-action:focus-visible,.editor-registered-inspector button:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.editor-registered-tree details>summary:hover{background:var(--hover)}.editor-registered-course{border:1px solid var(--line);background:var(--soft)}.editor-registered-book{border:1px solid var(--line);background:var(--surface)}.editor-registered-chapter{border:1px solid var(--line);background:color-mix(in srgb, var(--soft) 43%, var(--surface))}.editor-registered-children{border-left:1px solid var(--line);gap:7px;margin:0 8px 9px 18px;padding-left:11px;display:grid}.editor-registered-icon{border-radius:10px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid}.editor-registered-icon.course{color:#c0841b;background:color-mix(in srgb, #eab862 15%, var(--surface))}.editor-registered-icon.book{color:var(--success);background:var(--success-bg)}.editor-registered-icon.chapter{color:#4885cf;background:color-mix(in srgb, #63a1f2 13%, var(--surface))}.editor-registered-node-copy{flex:1 1 0;gap:3px;min-width:0;display:grid}.editor-registered-node-copy strong{color:var(--ink);overflow-wrap:anywhere;font-size:.83rem;line-height:1.35}.editor-registered-node-copy small{color:var(--muted);overflow-wrap:anywhere;font-size:.69rem;line-height:1.4}.editor-registered-chevron{color:var(--muted);flex:none;transition:transform .18s}.editor-registered-tree details[open]>summary .editor-registered-chevron{transform:rotate(180deg)}.editor-registered-documents{gap:4px;margin:0 8px 8px;display:grid}.editor-registered-document{background:var(--surface);border:1px solid #0000;border-radius:10px;flex-wrap:wrap;align-items:center;gap:9px;min-width:0;padding:10px 9px;display:flex}.editor-registered-document:hover{border-color:var(--line)}.editor-registered-document.selected{border-color:var(--success-border);background:var(--success-bg)}.editor-registered-document>svg{color:var(--muted);flex:none}.editor-registered-document-copy{flex:160px;gap:4px;min-width:130px;display:grid}.editor-registered-document-copy strong{color:var(--ink);overflow-wrap:anywhere;font-size:.76rem;line-height:1.3}.editor-registered-document-copy span{color:var(--muted);font-size:.66rem;line-height:1.4}.editor-registered-document-actions{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.editor-registered-action{cursor:pointer;border:1px solid var(--line);background:var(--surface);min-height:33px;color:var(--ink);border-radius:9px;justify-content:center;align-items:center;gap:5px;padding:6px 9px;font-size:.69rem;font-weight:650;line-height:1.2;display:inline-flex}.editor-registered-action:not(:disabled):hover{background:var(--soft)}.editor-registered-action:disabled{cursor:not-allowed;opacity:.45}.editor-registered-action.danger{color:#c43d42;border-color:color-mix(in srgb, #c43d42 26%, var(--line));background:color-mix(in srgb, #d54c4c 8%, var(--surface))}html[data-theme=dark] .editor-registered-action.danger{color:#f38e8e}.editor-registered-empty{text-align:center;min-height:160px;color:var(--muted);align-content:center;justify-items:center;gap:8px;padding:20px;display:grid}.editor-registered-empty strong{color:var(--ink);font-size:.9rem}.editor-registered-empty span{font-size:.79rem}.editor-registered-inspector{gap:12px;display:grid}.editor-registered-inspector-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.editor-registered-inspector-top>div{gap:5px;min-width:0;display:grid}.editor-registered-inspector-top strong{font-size:.9rem}.editor-registered-inspector-top span{color:var(--muted);overflow-wrap:anywhere;font-size:.71rem}.editor-registered-inspector-top>button{border:1px solid var(--line);width:32px;height:32px;color:var(--ink);background:var(--soft);border-radius:9px;flex:0 0 32px;place-items:center;padding:0;display:grid}.editor-registered-inspector h3{color:var(--ink);overflow-wrap:anywhere;font-size:1rem}.editor-registered-inspector>p{color:var(--muted);font-size:.75rem}.editor-registered-inspector-buttons{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.editor-registered-inspector-buttons .button{min-height:35px;padding:7px 10px;font-size:.71rem}.editor-registered-rag{border:1px solid var(--success-border);background:var(--success-bg);color:var(--ink);border-radius:11px;gap:4px;padding:10px 12px;display:grid}.editor-registered-rag strong{font-size:.75rem}.editor-registered-rag span,.editor-registered-rag small{color:var(--muted);overflow-wrap:anywhere;font-size:.68rem}.editor-registered-metadata{border:1px solid var(--line);border-radius:11px;overflow:hidden}.editor-registered-metadata summary{cursor:pointer;color:var(--ink);justify-content:space-between;align-items:center;gap:6px;padding:10px 12px;font-size:.76rem;font-weight:650;list-style:none;display:flex}.editor-registered-metadata[open] summary svg{transform:rotate(180deg)}.editor-registered-metadata>div{border-top:1px solid var(--line);gap:6px;padding:10px 12px;display:grid}.editor-registered-metadata>div>span{color:var(--muted);font-size:.69rem}.editor-registered-metadata code{overflow-wrap:anywhere;background:var(--soft);max-width:100%;color:var(--ink);border-radius:8px;padding:7px;font-size:.66rem;line-height:1.5;display:block}.editor-registered-chunking{border:1px solid var(--line);border-radius:12px;min-width:0;overflow:hidden}.editor-registered-chunk-trigger{background:var(--soft);width:100%;min-width:0;color:var(--ink);text-align:left;cursor:pointer;border:0;justify-content:space-between;align-items:center;gap:10px;padding:12px;font-size:.8rem;font-weight:700;display:flex}.editor-registered-chunk-trigger>span{align-items:center;gap:8px;min-width:0;display:inline-flex}.editor-registered-chunk-trigger>svg{flex:none;transition:transform .18s}.editor-registered-chunk-trigger>svg.open{transform:rotate(180deg)}.editor-registered-chunk-body{gap:10px;min-width:0;padding:12px;display:grid}.editor-registered-chunk-body>p{color:var(--muted);font-size:.7rem;line-height:1.5}.editor-registered-chunk-list{overscroll-behavior:contain;scrollbar-width:thin;gap:5px;max-height:360px;display:grid;overflow:auto}.editor-registered-chunk-row{background:var(--soft);border:1px solid var(--line);border-radius:9px;align-items:center;gap:9px;min-width:0;padding:8px 9px;display:flex}.editor-registered-chunk-row>svg{color:var(--muted);flex:none}.editor-registered-chunk-row>div{flex:1 1 0;gap:3px;min-width:0;display:grid}.editor-registered-chunk-row strong{overflow-wrap:anywhere;font-size:.73rem}.editor-registered-chunk-row span,.editor-registered-chunk-row>small{color:var(--muted);font-size:.66rem}.editor-registered-chunk-row>small{text-align:right;flex:none}.editor-registered-chunk-empty{color:var(--muted);font-size:.73rem}.editor-registered-inspector-footer{border-top:1px solid var(--line);justify-items:start;gap:7px;padding-top:10px;display:grid}.editor-registered-inspector-footer small{color:var(--muted);font-size:.68rem;line-height:1.5}@media (max-width:1160px){.editor-registered-filters{grid-template-columns:minmax(180px,1fr) minmax(150px,1fr)}}@media (max-width:800px){.editor-registered-heading{padding:17px}.editor-registered-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.editor-registered-filters .editor-registered-search{grid-column:1/-1}.editor-registered-tree,.editor-registered-inspector{padding:12px}}@media (max-width:520px){.editor-registered-heading{flex-direction:column;align-items:stretch}.editor-registered-heading>.button{align-self:flex-start}.editor-registered-filters{grid-template-columns:minmax(0,1fr)}.editor-registered-filters .editor-registered-search{grid-column:auto}.editor-registered-tree,.editor-registered-inspector{border-radius:15px;padding:9px}.editor-registered-tree details>summary{gap:7px;padding:9px 7px}.editor-registered-children{margin-left:8px;margin-right:4px;padding-left:7px}.editor-registered-icon{flex-basis:29px;width:29px;height:29px}.editor-registered-document{padding:8px 6px}.editor-registered-document-actions{flex:100%;padding-left:24px}.editor-registered-document-actions .editor-registered-action{min-height:36px}.editor-registered-chunk-row>small{display:none}}@media (prefers-reduced-motion:reduce){.editor-registered-chevron,.editor-registered-chunk-trigger svg{transition:none}}
.editor-quality-dialog{box-sizing:border-box;background:var(--surface);width:min(560px,100% - 24px);max-height:calc(100dvh - 32px);color:var(--text);border:1px solid var(--line);overflow-wrap:anywhere;border-radius:18px;padding:24px;overflow-y:auto}.editor-quality-dialog::backdrop{background:#00000080}.editor-quality-dialog fieldset{border:0;min-width:0;margin:0;padding:0}.editor-quality-dialog input{box-sizing:border-box;width:100%;min-width:0}.editor-quality-actions{flex-wrap:wrap;gap:8px;margin-top:16px;display:flex}.editor-quality-toolbar{flex-wrap:wrap;align-items:end;gap:12px;margin:16px 0;display:flex}.editor-quality-toolbar label{flex:1;min-width:min(220px,100%)}.editor-quality-toolbar input,.editor-quality-toolbar select{box-sizing:border-box;background:var(--surface);width:100%;color:inherit;border:1px solid var(--line);border-radius:8px;padding:10px}.editor-tree-actions{flex-wrap:wrap;gap:6px;max-width:100%}.editor-tree-row>div{overflow-wrap:anywhere;min-width:0}.smart-catalog [data-canonical]{color:var(--muted);font-size:.85rem}.smart-catalog button:focus-visible,.editor-quality-dialog button:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@media (max-width:600px){.editor-quality-dialog{padding:16px}.editor-tree-indent{margin-left:4px;padding-left:10px}.editor-tree-actions .button{white-space:normal}}.editor-form>fieldset{display:contents}fieldset.fb-shell,.smart-catalog form>fieldset{border:0;min-width:0;margin:0;padding:0}.fb-tabs{flex-wrap:wrap;overflow-x:visible}.fb-tab{white-space:normal;flex:auto}.editor-quiz-shortcut{flex-wrap:wrap;gap:8px;min-width:0}.editor-quiz-shortcut .button{white-space:normal;min-width:0;max-width:100%}.course-cover-editor{border:1px solid var(--line);background:var(--surface);border-radius:14px;min-width:0;margin:18px 0 22px;padding:18px}.course-cover-editor h3{margin:0 0 8px}.course-cover-editor>p{color:var(--muted);line-height:1.5}.course-cover-editor>label{margin:14px 0;display:block}.course-cover-editor select,.course-cover-editor input[type=file]{box-sizing:border-box;width:100%;min-width:0;max-width:460px;margin-top:7px;display:block}.course-icon-picker{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:10px;margin-top:12px;display:grid}.course-icon-choice{border:1px solid var(--line);background:var(--surface);min-height:106px;color:var(--text);border-radius:12px;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;display:flex}.course-icon-choice .course-visual{margin:0}.course-icon-choice.is-selected{border:2px solid var(--primary);background:var(--mint)}.course-icon-choice span:last-child{text-align:center;font-size:.82rem}.course-cover-editor .course-cover-hint{font-size:.85rem}.course-cover-preview{flex-wrap:wrap;align-items:center;gap:16px;display:flex}@media (max-width:600px){.course-cover-editor{padding:12px}.course-icon-picker{grid-template-columns:repeat(auto-fill,minmax(84px,1fr))}}
.dashboard-interests-section{border:1px solid color-mix(in srgb, var(--success-border) 46%, var(--line));background:color-mix(in srgb, var(--success-bg) 42%, var(--surface));border-radius:21px;padding:22px}.dashboard-interests-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.dashboard-interests-heading-main{align-items:flex-start;gap:12px;min-width:0;display:flex}.dashboard-interests-heading-icon{width:34px;height:34px;color:var(--success);flex:none;place-items:center;display:grid}.dashboard-interests-heading h2{color:var(--text);letter-spacing:-.017em;margin:0 0 4px;font-size:clamp(1.06rem,1.5vw,1.23rem)}.dashboard-interests-heading p{color:var(--muted);margin:0;font-size:.8rem;line-height:1.55}.dashboard-interests-heading .button{border-color:var(--success-border);min-height:41px;color:var(--success);background:var(--surface);border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;gap:8px;padding:8px 13px;font-size:.77rem;font-weight:680;display:inline-flex}.dashboard-interests-heading .button:hover{background:var(--success-bg)}.dashboard-interest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.dashboard-interest-card{border:1px solid var(--line);background:var(--surface);border-radius:17px;align-items:flex-start;gap:15px;min-width:0;padding:19px;display:flex}.dashboard-interest-icon{background:var(--success-bg);width:56px;height:56px;color:var(--success);border-radius:15px;flex:0 0 56px;place-items:center;display:grid}.dashboard-interest-icon-1{background:var(--dashboard-course-bg);color:var(--dashboard-course-ink)}.dashboard-interest-icon-2{background:var(--dashboard-level-bg);color:var(--dashboard-level-ink)}.dashboard-interest-details{flex:1 1 0;min-width:0}.dashboard-interest-title{flex-wrap:wrap;align-items:center;gap:7px;margin:1px 0 8px;display:flex}.dashboard-interest-title h3{color:var(--text);margin:0;font-size:.93rem;line-height:1.35}.dashboard-interest-pill{background:var(--success-bg);color:var(--success);white-space:nowrap;border-radius:99px;padding:4px 10px;font-size:.64rem;font-weight:650}.dashboard-interest-details p{color:var(--muted);margin:0 0 13px;font-size:.75rem;line-height:1.55}.dashboard-interest-meta{color:var(--muted);align-items:center;gap:7px;font-size:.7rem;display:inline-flex}.dashboard-interest-arrow{width:38px;height:38px;color:var(--success);background:var(--success-bg);border-radius:50%;flex:0 0 38px;align-self:flex-end;place-items:center;transition:transform .15s,background .15s;display:grid}.dashboard-interest-arrow:hover{background:color-mix(in srgb, var(--success-border) 32%, var(--success-bg));transform:translate(2px)}.dashboard-interest-arrow:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.dashboard-all-courses-link{width:100%;color:var(--success);justify-content:flex-end;align-items:center;gap:6px;padding:15px 2px 0;font-size:.77rem;font-weight:660;display:inline-flex}.dashboard-all-courses-link:hover{text-underline-offset:4px;text-decoration:underline}.dashboard-interest-empty{border:1px dashed var(--success-border);background:var(--surface);border-radius:15px;justify-items:start;gap:10px;padding:21px;display:grid}.dashboard-interest-empty>svg{color:var(--success)}.dashboard-interest-empty h3{margin:0;font-size:.96rem}.dashboard-interest-empty p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.55}.dashboard-interest-empty-actions{flex-wrap:wrap;gap:8px;display:flex}.dashboard-interest-empty-actions .button{min-height:38px;padding:8px 13px;font-size:.77rem}.dashboard-interests-loading{min-height:182px}.dashboard-interests-skeleton{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:13px;display:grid}.dashboard-interests-skeleton span{background:var(--soft);border-radius:16px;min-height:126px;animation:1.4s ease-in-out infinite alternate interest-skeleton-pulse}@keyframes interest-skeleton-pulse{0%{opacity:.5}to{opacity:.95}}.profile-interests-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.profile-interests-header .icon-line{margin:0}.profile-interests-header .button{min-height:38px;color:var(--success);border-color:var(--success-border);align-items:center;gap:7px;font-size:.78rem;display:inline-flex}.profile-interests-panel .tag-list{margin:17px 0}.learning-interests-overlay{z-index:120;background:var(--backdrop);place-items:center;padding:18px;display:grid;position:fixed;inset:0}.learning-interests-dialog{overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:min(680px,100%);max-height:calc(100dvh - 36px);box-shadow:var(--shadow-overlay);color:var(--text);border-radius:22px;gap:20px;padding:clamp(17px,3vw,28px);display:grid;overflow-y:auto}.learning-interests-dialog-head{align-items:flex-start;gap:12px;display:flex}.learning-interests-dialog-symbol{width:42px;height:42px;color:var(--success);background:var(--success-bg);border-radius:13px;flex:0 0 42px;place-items:center;display:grid}.learning-interests-dialog-head>div{flex:1;min-width:0}.learning-interests-dialog-head h2{margin:0 0 7px;font-size:1.21rem;line-height:1.3}.learning-interests-dialog-head p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.55}.learning-interests-close{width:34px;height:34px;color:var(--muted);border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:10px;flex:0 0 34px;place-items:center;display:grid}.learning-interests-close:hover{color:var(--text);background:var(--soft)}.learning-interests-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.learning-interests-choice{border:1px solid var(--line);background:var(--surface);cursor:pointer;border-radius:15px;align-items:center;gap:11px;min-height:73px;padding:15px;font-size:.84rem;line-height:1.35;display:flex}.learning-interests-choice:hover{border-color:var(--success-border)}.learning-interests-choice.is-selected{background:color-mix(in srgb, var(--success-bg) 65%, var(--surface));border-color:var(--success-border)}.learning-interests-choice input{accent-color:var(--success);flex:0 0 18px;width:18px;height:18px}.learning-interests-choice input:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.learning-interests-choice-name{flex:1;min-width:0;font-weight:590}.learning-interests-choice>svg{color:var(--success);flex:none}.learning-interests-dialog-actions{border-top:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:10px;padding-top:16px;display:flex}.learning-interests-counter{color:var(--muted);font-size:.76rem}.learning-interests-dialog-actions>.button-ghost{min-height:36px;font-size:.75rem}.learning-interests-dialog-buttons{flex-wrap:wrap;gap:8px;margin-left:auto;display:flex}.learning-interests-dialog-buttons .button{min-height:40px;padding:9px 17px}@media (max-width:1060px){.dashboard-interest-grid{grid-template-columns:1fr}}@media (max-width:700px){.dashboard-interests-section{border-radius:17px;padding:16px}.dashboard-interests-heading{align-items:flex-start}.dashboard-interests-heading .button{flex:none}.dashboard-interest-card{gap:11px;padding:15px}.dashboard-interest-icon{flex-basis:45px;width:45px;height:45px}.dashboard-interest-arrow{flex-basis:35px;width:35px;height:35px}.dashboard-interests-skeleton,.learning-interests-choices{grid-template-columns:1fr}.learning-interests-dialog{border-radius:18px;gap:15px}.learning-interests-dialog-buttons{justify-content:flex-end;width:100%;margin-left:0}}@media (prefers-reduced-motion:reduce){.dashboard-interest-arrow{transition:none}.dashboard-interests-skeleton span{animation:none}}
