.app-icon,.subject-icon{display:block;flex-shrink:0;color:inherit}.subject-icon__soft{fill:rgba(var(--accent-rgb, 184, 107, 82),.14)}.subject-icon__ink{fill:currentColor;stroke:currentColor}.subject-icon__ink--stroke{fill:none;stroke:currentColor}.stack-tooltip-trigger{display:inline-flex}.stack-tooltip-content-anchor{position:fixed;z-index:600;pointer-events:none}.stack-tooltip-content{max-width:18rem;padding:.375rem .75rem;border-radius:.375rem;border:1px solid var(--nx-divider-solid);background:var(--nx-bg);color:var(--nx-text);font-size:.75rem;line-height:1.25rem;font-weight:500;white-space:nowrap;pointer-events:none;box-shadow:var(--nx-shadow-pop)}.stack-tooltip-content--dock{box-shadow:none;border-radius:.375rem;padding:.375rem .75rem;font-size:.75rem;line-height:1.25rem;background:var(--nx-bg, #ffffff);border-color:#e9e9e7;color:var(--nx-text, #37352f)}html.theme-dark .stack-tooltip-content--dock{background:#37352f;border-color:#4a4a4a;color:#f0f0f0}.stack-tooltip-content p{margin:0}html.theme-dark .stack-tooltip-content{border-color:var(--nx-divider);background:var(--nx-hover-solid);color:var(--nx-text)}.spot-ill{--spot-ink: var(--ink, #6a5f56);--spot-accent: var(--rust-accent, #b86b52);display:block;flex-shrink:0;margin-inline:auto;margin-bottom:1.15rem;object-fit:contain;object-position:center;color:var(--spot-ink)}.spot-ill--sm{width:88px;height:88px;margin-bottom:.85rem}.spot-ill--md{width:120px;height:120px}.spot-ill--lg{width:132px;height:132px;margin-bottom:1.25rem}.spot-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.spot-empty .spot-ill{margin-bottom:1rem}.spot-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:100%}.spot-stage--fill{flex:1 1 auto;align-self:stretch;min-height:min(480px,calc(100dvh - 11rem));padding:1.25rem 1rem}.spot-stage .spot-ill--lg,.spot-stage--hero .spot-ill{width:clamp(128px,14vw,152px);height:clamp(128px,14vw,152px);margin-bottom:1.1rem}.spot-ill--inline{margin-bottom:0}.spot-ill--xs{width:56px;height:56px;margin-bottom:.5rem}.toast-stack{position:fixed;left:50%;bottom:calc(28px + env(safe-area-inset-bottom,0px));transform:translate(-50%);z-index:10000;display:flex;flex-direction:column;gap:10px;align-items:center;pointer-events:none}.toast{pointer-events:auto;display:inline-flex;align-items:center;gap:14px;max-width:min(540px,calc(100vw - 32px));padding:11px 14px 11px 18px;border-radius:14px;border:1px solid rgba(106,95,86,.16);background:#261e18f5;color:#fdf6ec;font-family:var(--font);font-size:13.5px;font-weight:500;letter-spacing:.005em;box-shadow:0 12px 36px #140e0852,0 1px #ffffff0f inset;animation:toast-in .24s cubic-bezier(.23,1,.32,1) both}.toast:nth-child(2){animation-delay:40ms}.toast:nth-child(3){animation-delay:80ms}.toast:nth-child(4){animation-delay:.12s}.toast--out{animation:toast-out .18s cubic-bezier(.23,1,.32,1) both;animation-delay:0ms}.toast--success{background:linear-gradient(180deg,#6a5f56,#1f1813)}.toast--warn{background:linear-gradient(180deg,#6a2e1b,#4a1f12)}.toast__msg{flex:1;min-width:0;line-height:1.4}.toast__action{appearance:none;border:none;background:transparent;color:#f4c089;font:inherit;font-weight:700;font-size:13px;letter-spacing:.04em;text-transform:uppercase;padding:4px 8px;border-radius:8px;cursor:pointer;transition:background-color .16s ease,color .16s ease}.toast__action:hover{background:#f4c08929;color:#ffd8a8}.toast__close{appearance:none;border:none;background:transparent;color:#fdf6eca6;width:24px;height:24px;display:grid;place-items:center;border-radius:999px;font-size:18px;line-height:1;cursor:pointer;transition:background-color .16s ease,color .16s ease}.toast__close:hover{background:#fdf6ec1f;color:#fdf6ec}@keyframes toast-in{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes toast-out{0%{opacity:1;transform:translateY(0) scale(1)}to{opacity:0;transform:translateY(8px) scale(.98)}}@media(prefers-reduced-motion:reduce){.toast{animation:none}.toast--out{animation:none;opacity:0}}.error-boundary{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:clamp(16px,4vw,32px);background:var(--cream-page);backdrop-filter:blur(4px)}.error-boundary__card{max-width:460px;width:100%;padding:28px 28px 24px;border-radius:20px;border:1px solid rgba(160,80,52,.32);background:var(--paper-panel);box-shadow:0 20px 48px #3028221f;color:var(--brown-title, #6a5f56)}.error-boundary__card .spot-ill{margin-bottom:.75rem}.error-boundary__kicker{margin:0;font-family:var(--font, sans-serif);font-size:11px;font-weight:700;letter-spacing:.32em;text-transform:uppercase;color:var(--rust-accent-deep, #a05034)}.error-boundary__title{margin:8px 0 12px;font-family:var(--font-ui, var(--font)),system-ui,sans-serif;font-size:1.5rem;font-weight:600;letter-spacing:-.02em;line-height:1.2;color:var(--brown-title, #6a5f56)}.error-boundary__body{margin:0 0 18px;font-family:var(--font, sans-serif);font-size:14.5px;line-height:1.55;color:var(--sidebar-muted, rgba(106, 95, 86, .74))}.error-boundary__detail{margin:0 0 18px;padding:10px 12px;border-radius:10px;background:#6a5f560d;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:12px;line-height:1.5;color:#6a5f56bf;max-height:140px;overflow:auto;white-space:pre-wrap}.error-boundary__actions{display:flex;gap:10px;flex-wrap:wrap}.error-boundary__btn{appearance:none;border:1px solid #864428;background:#a05034;color:#fefdfb;font:inherit;font-family:var(--font);font-size:13.5px;font-weight:600;letter-spacing:.01em;padding:10px 18px;border-radius:12px;cursor:pointer;transition:filter .16s ease,background-color .16s ease,color .16s ease}.error-boundary__btn:hover{filter:brightness(1.05)}.error-boundary__btn--ghost{background:transparent;color:var(--brown-title, #6a5f56);border-color:#6a5f5633}.error-boundary__btn--ghost:hover{background:#6a5f560d}.offline-banner{display:flex;align-items:flex-start;gap:.5rem;margin-bottom:.75rem;padding:.625rem .75rem;border:1px solid rgba(234,67,53,.28);border-radius:var(--m3-radius-sm, 6px);background:#ea433514;font-family:var(--font-ui, var(--m3-font-family));font-size:.8125rem;line-height:1.45;color:var(--hybrid-ink, #37352f)}.offline-banner--compact{margin-bottom:.5rem;padding:.45rem .65rem;font-size:.75rem}.offline-banner__dot{flex-shrink:0;width:.5rem;height:.5rem;margin-top:.35rem;border-radius:50%;background:#ea4335}.offline-banner--compact .offline-banner__dot{margin-top:.28rem}.offline-banner__text{flex:1;min-width:0}html.theme-dark .offline-banner,html.dark .offline-banner{background:#ea433524;border-color:#ea433559;color:var(--home-ink, #e8eaed)}.stack-empty-state{position:relative;display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:min(68vh,32rem);padding:2.5rem 1.5rem 3rem;text-align:center;overflow:hidden;box-sizing:border-box}.stack-empty-state--fill{flex:1;width:100%;min-height:100%;align-self:stretch}.stack-empty-state__grid{position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(to right,color-mix(in srgb,var(--nx-text) 8%,transparent) 1px,transparent 1px),linear-gradient(to bottom,color-mix(in srgb,var(--nx-text) 8%,transparent) 1px,transparent 1px);background-size:28px 28px;mask-image:radial-gradient(ellipse 58% 48% at 50% 46%,black 18%,transparent 78%);opacity:.55}.stack-empty-state__content{position:relative;z-index:1;width:min(100%,24rem);animation:stack-empty-enter .2s cubic-bezier(.23,1,.32,1) both}@keyframes stack-empty-enter{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.stack-empty-state__illustration-spacer{display:block;width:min(100%,180px);height:140px;margin:0 auto 18px}.stack-empty-state__illustration{display:block;width:min(100%,180px);height:auto;margin:0 auto 18px}.stack-empty-state__title{margin:0 0 8px;font-size:1rem;font-weight:600;letter-spacing:-.02em;line-height:1.35;color:var(--nx-text)}.stack-empty-state__description{margin:0 0 16px;font-size:.875rem;line-height:1.55;color:var(--nx-text-secondary)}.stack-empty-state__action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:8px 14px;border-radius:var(--nx-radius-sm, 6px);font-size:.875rem;font-weight:600;cursor:pointer;transition:background var(--nx-t-hover, .14s ease),border-color var(--nx-t-hover, .14s ease),transform var(--nx-t-press, 70ms cubic-bezier(.2, 0, 0, 1))}.stack-empty-state__action--primary{border:none;background:var(--nx-blue, #2563eb);color:#fff;box-shadow:none}.stack-empty-state__action--primary:hover{background:color-mix(in srgb,var(--nx-blue, #2563eb) 88%,#fff)}.stack-empty-state__action:active{transform:scale(.97)}.stack-empty-state__action:focus-visible{outline:2px solid var(--nx-blue, #2383e2);outline-offset:2px}.stack-empty-state__actions{display:flex;flex-direction:column;align-items:stretch;gap:.5rem;width:100%}.stack-empty-state__action-icon{display:inline-flex;flex:0 0 auto}.stack-empty-state__action--ghost{background:transparent;color:var(--nx-text);border:1px solid var(--nx-divider-solid);box-shadow:none}.stack-empty-state__action--ghost:hover{background:var(--nx-hover)}.subject-shell__reader-empty.stack-empty-state{width:100%;min-height:100%;flex:1;align-self:stretch}.stack-empty-state-host,.subject-shell__reader-empty:not(.stack-empty-state),.subject-shell__empty-state-host{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:100%;text-align:center;box-sizing:border-box}@media(prefers-reduced-motion:reduce){.stack-empty-state__content{animation:none}}.stack-load-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:12rem;padding:1.5rem;color:var(--nx-text-secondary, #787774)}.stack-load-panel--section{min-height:8rem;padding:1.25rem}.stack-load-panel__label{margin:0;font-size:.8125rem;font-weight:500;color:var(--nx-text-secondary, #787774)}.stack-load-spinner{width:6rem;height:6rem;color:var(--nx-text-secondary, #787774)}.stack-load-spinner--sm{width:2.5rem;height:2.5rem}.stack-load-spinner--lg{width:6rem;height:6rem}.stack-load-inline{display:inline-flex;align-items:center;gap:8px;color:var(--nx-text-secondary, #787774)}.stack-load-inline__label{font-size:.8125rem;font-weight:500}.stack-load-section{display:flex;align-items:center;justify-content:center;min-height:7rem}.fc-import{position:fixed;inset:0;z-index:240;display:flex;align-items:center;justify-content:center;padding:1.25rem}.fc-import__backdrop{position:absolute;inset:0;border:0;background:#6a5f5657;cursor:pointer}.fc-import__panel{position:relative;width:min(32rem,100%);max-height:min(88dvh,40rem);overflow:auto;padding:1.15rem 1.2rem 1rem;border-radius:4px;border:1px solid var(--hybrid-border, rgba(60, 64, 67, .14));background:var(--cream-page, #f7f4ef);box-shadow:0 8px 24px #3a30281f}.fc-import__head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.85rem}.fc-import__title{margin:0;font-family:var(--m3-font-family);font-size:1.1rem;font-weight:600;color:var(--brown-title, #292524)}.fc-import__close{border:none;background:transparent;font-size:1.35rem;line-height:1;color:var(--brown-muted, #78716c);cursor:pointer;padding:.15rem .35rem;border-radius:4px}.fc-import__close:hover{color:var(--brown-title, #292524);background:#3c40430f}.fc-import__tabs{display:flex;gap:.35rem;margin-bottom:.85rem;padding:.2rem;border-radius:4px;border:1px solid var(--hybrid-border, rgba(60, 64, 67, .12));background:#ffffff80}.fc-import__tab{flex:1;border:none;border-radius:4px;padding:.45rem .55rem;font-family:var(--m3-font-family);font-size:.8rem;font-weight:500;color:var(--brown-muted, #78716c);background:transparent;cursor:pointer}.fc-import__tab--active{color:var(--brown-title, #292524);background:#fff;box-shadow:0 1px 2px #3a30280f}.fc-import__field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.75rem}.fc-import__label{font-family:var(--m3-font-family);font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--brown-muted, #78716c)}.fc-import__input,.fc-import__select,.fc-import__textarea{width:100%;padding:.55rem .65rem;border-radius:4px;border:1px solid var(--hybrid-border, rgba(60, 64, 67, .16));background:#fff;font-family:var(--m3-font-family);font-size:.875rem;color:var(--brown-title, #292524)}.fc-import__textarea{resize:vertical;min-height:7rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8125rem;line-height:1.45}.fc-import__drop{display:flex;flex-direction:column;align-items:center;gap:.55rem;padding:1.5rem 1rem;border-radius:4px;border:1px dashed var(--hybrid-border, rgba(60, 64, 67, .22));background:#ffffff73;margin-bottom:.75rem}.fc-import__drop--over{border-color:var(--rust-accent, #b45309);background:#b453090a}.fc-import__drop-lead{margin:0;font-family:var(--m3-font-family);font-size:.875rem;color:var(--brown-muted, #78716c)}.fc-import__file-input{display:none}.fc-import__mapping-row{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.fc-import__hint{margin:0 0 .55rem;font-family:var(--m3-font-family);font-size:.8125rem;color:var(--brown-muted, #78716c)}.fc-import__preview-wrap{margin-bottom:.75rem}.fc-import__preview{width:100%;border-collapse:collapse;border-radius:4px;border:1px solid var(--hybrid-border, rgba(60, 64, 67, .16));overflow:hidden;font-family:var(--m3-font-family);font-size:.8125rem}.fc-import__preview th,.fc-import__preview td{padding:.45rem .55rem;border:1px solid var(--hybrid-border, rgba(60, 64, 67, .12));text-align:left;vertical-align:top}.fc-import__preview th{font-weight:600;background:#ffffffa6;color:var(--brown-muted, #78716c)}.fc-import__preview td{color:var(--brown-title, #44403c);background:#fff}.fc-import__errors{margin:0 0 .65rem;padding:.55rem .7rem;border-radius:4px;border:1px solid rgba(180,83,9,.25);background:#b453090f;list-style:none;font-family:var(--m3-font-family);font-size:.8125rem;color:var(--rust-accent-deep, #9a3412)}.fc-import__actions{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:.5rem}.fc-import__actions-end{display:flex;flex-wrap:wrap;gap:.45rem;margin-left:auto}.fc-home{width:100%;max-width:min(100%,36rem);margin-inline:auto;display:flex;flex-direction:column;gap:1.25rem;animation:fc-home-enter .4s cubic-bezier(.22,1,.36,1) both}@keyframes fc-home-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.fc-home__head{text-align:left;display:flex;flex-direction:column;gap:.15rem}.fc-home__head .rd-pref-lead{margin-top:.25rem}.fc-home__primary{display:flex;flex-direction:column;gap:.5rem}.fc-home__continue{margin:0;align-items:flex-start}.fc-home__continue .rd-resume__btn{align-self:flex-start}.fc-home__cta{align-self:flex-start;min-height:42px;padding-inline:1.1rem}.fc-home__caught-up-title{margin:0;font-size:1rem;font-weight:600;color:var(--brown-title, #6a5f56)}.fc-home__caught-up-copy{margin:.25rem 0 0;font-size:.875rem;color:#6a5f568c}.fc-home__note-cta,.fc-home__mix,.fc-home__import{align-self:flex-start;padding:.35rem 0;border:none;background:none;font:inherit;font-size:.8125rem;font-weight:500;color:var(--rust-accent-deep, #9e624c);cursor:pointer;text-decoration:underline;text-underline-offset:2px}.fc-home__mix-row{display:flex;flex-direction:column;gap:.45rem}.fc-home__mix-hint{margin:0;font-size:.8125rem;color:#6a5f568c}.fc-home__mix-actions{display:flex;flex-wrap:wrap;gap:.45rem}.fc-home__topic-btn--selected .fc-home__topic-name{color:var(--rust-accent-deep, #9e624c)}.fc-home__topic-btn--disabled{opacity:.45;cursor:not-allowed}.fc-home__topics-label{margin:0 0 .5rem;font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#6a5f566b}.fc-home__topic-list{list-style:none;margin:0;padding:0;border-top:1px solid rgba(106,95,86,.08)}.fc-home__topic-btn{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;width:100%;padding:.7rem 0;border:none;border-bottom:1px solid rgba(106,95,86,.08);background:transparent;text-align:left;font:inherit;cursor:pointer}.fc-home__topic-btn:hover .fc-home__topic-name{color:var(--rust-accent, #b86b52)}.fc-home__topic-name{font-size:.9375rem;font-weight:550;color:var(--brown-title, #6a5f56);transition:color .14s ease}.fc-home__topic-meta{font-size:.75rem;color:#6a5f567a}.fc-home__empty{margin:0;font-size:.875rem;color:#6a5f568c}html.theme-dark .fc-home__title,html.theme-dark .fc-home__caught-up-title,html.theme-dark .fc-home__topic-name{color:var(--c-fg, #cccccc)}html.theme-dark .fc-home__kicker,html.theme-dark .fc-home__stats,html.theme-dark .fc-home__caught-up-copy,html.theme-dark .fc-home__topics-label,html.theme-dark .fc-home__topic-meta,html.theme-dark .fc-home__empty,html.theme-dark .fc-home__mix-hint{color:var(--c-fg-muted, #9d9d9d)}html.theme-dark .fc-home__topic-list,html.theme-dark .fc-home__topic-btn{border-color:#ffffff1a}@media(prefers-reduced-motion:reduce){.fc-home{animation:none}}.fc-export{position:relative}.fc-export__backdrop{position:fixed;inset:0;z-index:1;border:0;background:transparent;cursor:default}.fc-export__menu{position:absolute;top:calc(100% + 4px);right:0;z-index:2;min-width:11.5rem;padding:.35rem;border-radius:4px;border:1px solid var(--hybrid-border, rgba(60, 64, 67, .14));background:var(--cream-page, #f7f4ef);box-shadow:0 6px 18px #3a30281a}.fc-export__item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.5rem .55rem;border:none;border-radius:4px;background:transparent;font-family:var(--m3-font-family);font-size:.8125rem;font-weight:500;color:var(--brown-title, #292524);text-align:left;cursor:pointer}.fc-export__item:hover:not(:disabled){background:#3c40430f}.fc-export__item:disabled{opacity:.55;cursor:not-allowed}.fc-m3-icon-btn{position:relative;display:inline-grid;place-items:center;width:var(--m3-touch-target, 44px);height:var(--m3-touch-target, 44px);padding:0;border:none;border-radius:999px;background:transparent;color:#6a5f568c;cursor:pointer;flex-shrink:0;transition:background-color .2s cubic-bezier(.2,0,0,1),color .2s cubic-bezier(.2,0,0,1),box-shadow .2s cubic-bezier(.2,0,0,1)}.fc-m3-icon-btn:before{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;background:var(--m3-state-on-surface-hover, rgba(31, 31, 31, .08));transition:opacity var(--m3-duration-short, .2s) var(--m3-ease-standard, cubic-bezier(.2, 0, 0, 1))}.fc-m3-icon-btn:hover:before,.fc-m3-icon-btn:focus-visible:before{opacity:1}.fc-m3-icon-btn:hover{color:var(--brown-title, #6a5f56)}.fc-m3-icon-btn:focus-visible{outline:2px solid var(--rust-accent, #b86b52);outline-offset:2px}.fc-m3-icon-btn:disabled{opacity:.35;cursor:not-allowed;pointer-events:none}.fc-m3-icon-btn--on{color:var(--rust-accent, #b86b52)}.fc-m3-icon-btn--on:before{background:color-mix(in srgb,var(--rust-accent, #b86b52) 12%,transparent);opacity:1}.fc-m3-icon-btn svg{position:relative;z-index:1}.fc-m3-label-small{font-family:var(--m3-font-family, var(--font-ui, var(--font)), system-ui, sans-serif);font-size:var(--m3-label-small-size, .6875rem);font-weight:var(--m3-label-small-weight, 600);letter-spacing:var(--m3-label-small-tracking, .05rem);line-height:var(--m3-label-small-line, 1.2);text-transform:uppercase;color:var(--m3-on-surface-muted, #5f6368)}.fc-m3-headline-small{font-family:var(--m3-font-family, var(--font-ui, var(--font)), system-ui, sans-serif);font-size:var(--m3-headline-small-size, 1.5rem);font-weight:var(--m3-headline-small-weight, 500);line-height:var(--m3-headline-small-line, 1.3);letter-spacing:0;color:var(--m3-on-surface, #1f1f1f)}.fc-m3-title-medium{font-family:var(--m3-font-family, var(--font-ui, var(--font)), system-ui, sans-serif);font-size:var(--m3-title-medium-size, 1rem);font-weight:var(--m3-title-medium-weight, 500);line-height:var(--m3-title-medium-line, 1.35);letter-spacing:0;color:var(--m3-on-surface, #1f1f1f)}.fc-m3-body-medium{font-family:var(--m3-font-family, var(--font-ui, var(--font)), system-ui, sans-serif);font-size:var(--m3-body-medium-size, .875rem);font-weight:var(--m3-body-medium-weight, 400);line-height:var(--m3-body-medium-line, 1.5);color:var(--m3-on-surface-variant, #444746)}.fc-m3-action-btn{display:inline-flex;align-items:center;gap:.65rem;min-height:2.5rem;padding:.5rem 1rem .5rem 1.1rem;border-radius:999px;border:1px solid rgba(106,95,86,.14);background:color-mix(in srgb,var(--cream-page, #fdfcfa) 88%,rgba(106,95,86,.06));color:var(--brown-title, #6a5f56);font:inherit;cursor:pointer;box-shadow:0 1px 2px #6a5f560a;transition:background-color .2s cubic-bezier(.2,0,0,1),border-color .2s cubic-bezier(.2,0,0,1),box-shadow .2s cubic-bezier(.2,0,0,1),transform .15s cubic-bezier(.2,0,0,1)}.fc-m3-action-btn:hover{border-color:#6a5f5638;background:color-mix(in srgb,var(--cream-page, #fdfcfa) 76%,rgba(106,95,86,.08));box-shadow:0 2px 6px #6a5f5614}.fc-m3-action-btn:active{transform:translateY(1px)}.fc-m3-action-btn:focus-visible{outline:2px solid var(--rust-accent, #b86b52);outline-offset:2px}.fc-m3-action-btn--tonal{border-color:color-mix(in srgb,var(--rust-accent, #b86b52) 22%,transparent);background:color-mix(in srgb,var(--rust-accent, #b86b52) 10%,var(--cream-page, #fdfcfa))}.fc-m3-action-btn--active{border-color:color-mix(in srgb,var(--rust-accent, #b86b52) 38%,transparent);background:color-mix(in srgb,var(--rust-accent, #b86b52) 14%,var(--cream-page, #fdfcfa))}.fc-m3-action-btn--filled{border-color:#262626;background:#262626;color:#fff;box-shadow:0 1px 3px #0000001f}.fc-m3-action-btn--filled:hover{border-color:#323232;background:#323232;box-shadow:0 2px 6px #00000029}.fc-m3-action-btn--filled .fc-m3-action-btn__lead{color:#ffffffb8}.fc-m3-action-btn--filled .fc-m3-action-btn__detail,.fc-m3-action-btn--filled .fc-m3-action-btn__icon{color:#fff}.fc-m3-action-btn__copy{display:flex;flex-direction:column;align-items:flex-start;gap:.05rem;min-width:0;text-align:left}.fc-m3-action-btn__lead{font-size:.6875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#6a5f5680}.fc-m3-action-btn__detail{font-size:.875rem;font-weight:600;line-height:1.25;color:var(--brown-title, #6a5f56)}.fc-m3-action-btn__icon{flex-shrink:0;color:var(--rust-accent, #b86b52);opacity:.9}.subject-shell__study-pills-row--m3{display:flex;flex-wrap:wrap;justify-content:center;gap:.65rem}html.theme-dark .fc-m3-icon-btn{color:var(--c-fg-muted, #9d9d9d)}html.theme-dark .fc-m3-icon-btn:before{background:#ffffff14}html.theme-dark .fc-m3-icon-btn:hover{color:var(--c-fg, #cccccc)}html.theme-dark .fc-m3-label-small,html.theme-dark .fc-m3-body-medium,html.theme-dark .fc-m3-action-btn__lead{color:var(--c-fg-muted, #9d9d9d)}html.theme-dark .fc-m3-headline-small,html.theme-dark .fc-m3-title-medium,html.theme-dark .fc-m3-action-btn__detail{color:var(--c-fg, #cccccc)}html.theme-dark .fc-m3-action-btn{border-color:#ffffff1f;background:var(--c-bg-secondary, #252526);color:var(--c-fg, #cccccc)}html.theme-dark .fc-m3-action-btn--active,html.theme-dark .fc-m3-action-btn--tonal{border-color:color-mix(in srgb,var(--rust-accent, #b86b52) 35%,transparent);background:color-mix(in srgb,var(--rust-accent, #b86b52) 16%,var(--c-bg-secondary, #252526))}.fc-stage{width:100%;max-width:min(100%,36rem);margin-inline:auto;display:flex;flex-direction:column;align-items:stretch;gap:.75rem;animation:fc-stage-enter .35s cubic-bezier(.22,1,.36,1) both}@keyframes fc-stage-enter{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.fc-stage__top{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.fc-stage__top-leading{min-width:0;flex:1 1 auto}.fc-stage__deck-title{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fc-stage__progress-text{margin:.2rem 0 0}.fc-stage__toolbar{display:flex;align-items:center;gap:.15rem;flex-shrink:0}.fc-stage__bar{height:3px;border-radius:999px;background:#6a5f5614;overflow:hidden}.fc-stage__bar-fill{display:block;height:100%;border-radius:inherit;background:var(--rust-accent, #b86b52);transition:width .25s ease}.fc-stage__card{width:100%;min-height:260px;margin:.15rem 0 0;padding:0;border:none;background:transparent;cursor:pointer;border-radius:18px;transition:transform .25s cubic-bezier(.2,0,0,1),filter .25s cubic-bezier(.2,0,0,1)}.fc-stage__card:hover{transform:translateY(-2px)}.fc-stage__card:focus-visible{outline:2px solid var(--rust-accent, #b86b52);outline-offset:4px}.fc-stage__card-scene{display:block;width:100%;height:100%;min-height:inherit;border-radius:18px;perspective:1200px}.fc-stage__card-inner{position:relative;display:block;width:100%;height:100%;min-height:inherit;transform-style:preserve-3d;transform:rotateY(0);transition:transform .55s cubic-bezier(.34,1.15,.64,1)}.fc-stage__card--flipped .fc-stage__card-inner{transform:rotateY(180deg)}.fc-stage__face{position:absolute;inset:0;backface-visibility:hidden;-webkit-backface-visibility:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1.5rem 1.35rem;border-radius:18px;background:var(--cream-page, #fdfcfa);border:1px solid rgba(106,95,86,.12);box-shadow:0 1px 2px #6a5f560f,0 4px 12px #6a5f5614;text-align:center;transition:box-shadow .25s cubic-bezier(.2,0,0,1),border-color .25s cubic-bezier(.2,0,0,1)}.fc-stage__card:hover .fc-stage__face,.fc-stage__card:focus-visible .fc-stage__face{border-color:#6a5f562e;box-shadow:0 2px 4px #6a5f5614,0 8px 20px #6a5f561f}.fc-stage__face--front{transform:rotateY(0)}.fc-stage__face--back{transform:rotateY(180deg);background:color-mix(in srgb,var(--cream-page, #fdfcfa) 88%,#e8dfd4)}.fc-stage__face--back .fc-stage__face-label{opacity:0;transform:translate(-50%) translateY(8px)}.fc-stage__face--back .fc-stage__face-body{opacity:0;transform:translateY(8px)}.fc-stage__card--flipped .fc-stage__face--back .fc-stage__face-label{animation:fc-back-reveal-label .42s cubic-bezier(.34,1.15,.64,1) .18s forwards}.fc-stage__card--flipped .fc-stage__face--back .fc-stage__face-body{animation:fc-back-reveal .42s cubic-bezier(.34,1.15,.64,1) .3s forwards}@keyframes fc-back-reveal-label{0%{opacity:0;transform:translate(-50%) translateY(8px)}to{opacity:1;transform:translate(-50%) translateY(0)}}@keyframes fc-back-reveal{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.fc-stage__face-label{position:absolute;top:1rem;left:50%;transform:translate(-50%)}.fc-stage__face-body{flex:0 1 auto;width:100%;max-width:34rem;margin:0 auto;padding-top:1.25rem;text-align:center}.fc-stage__rate{display:flex;flex-direction:column;gap:.55rem;animation:fc-stage-enter .28s ease both}.fc-stage__rate-prompt{margin:0;text-align:center;font-size:.8125rem;color:#6a5f568c}.fc-stage__rate-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}.fc-stage__rate-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;min-height:48px;padding:.55rem .4rem;border:1px solid rgba(106,95,86,.1);border-radius:12px;background:transparent;font:inherit;cursor:pointer;transition:background .14s ease,border-color .14s ease,color .14s ease}.fc-stage__rate-btn:hover{background:#6a5f560a;border-color:#6a5f562e}.fc-stage__rate-btn:active{border-color:var(--rust-accent, #b86b52);color:var(--rust-accent-deep, #9e624c);transform:translateY(1px)}.fc-stage__rate-btn:focus-visible{outline:2px solid var(--rust-accent, #b86b52);outline-offset:2px}.fc-stage__rate-label{font-size:.875rem;font-weight:600;color:var(--brown-title, #6a5f56)}.fc-stage__remaining{margin:0;text-align:center;font-size:.75rem;color:#6a5f566b}.fc-stage__skip-row,.fc-stage__rate-footer{display:flex;flex-direction:column;align-items:center;gap:.35rem}.fc-stage__skip-btn{display:inline-flex;align-items:center;gap:.35rem;margin:0;padding:.35rem .65rem;border:none;border-radius:999px;background:transparent;font:inherit;font-size:.8125rem;font-weight:500;color:var(--m3-on-surface-muted, #5f6368);cursor:pointer;transition:background .14s ease,color .14s ease}.fc-stage__skip-btn:hover{background:#6a5f560f;color:var(--m3-on-surface, #1f1f1f)}.fc-stage__skip-btn:focus-visible{outline:2px solid var(--m3-primary, #1a73e8);outline-offset:2px}.fc-stage__advance{display:flex;flex-direction:column;align-items:center;gap:.65rem;animation:fc-stage-enter .28s ease both}.fc-stage__advance-btn{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:42px;padding:.55rem 1.1rem;border:none;border-radius:999px;background:var(--m3-primary, #1a73e8);color:#fff;font-size:.9375rem;font-weight:600;cursor:pointer;transition:background .15s ease,transform .15s ease}.fc-stage__advance-btn:hover{background:color-mix(in srgb,var(--m3-primary, #1a73e8) 88%,#000)}.fc-stage__advance-btn:focus-visible{outline:2px solid var(--m3-primary, #1a73e8);outline-offset:2px}.fc-stage__skip-hint{font-size:.6875rem;color:#6a5f566b}html.theme-dark .fc-stage__rate-prompt,html.theme-dark .fc-stage__remaining{color:var(--c-fg-muted, #9d9d9d)}html.theme-dark .fc-stage__face{background:var(--c-bg-secondary, #252526);border-color:#ffffff1f;box-shadow:0 1px 2px #00000040}html.theme-dark .fc-stage__card:hover .fc-stage__face,html.theme-dark .fc-stage__card:focus-visible .fc-stage__face{box-shadow:0 10px 28px #00000059}html.theme-dark .fc-stage__face--back{background:var(--c-bg-tertiary, #2d2d30)}html.theme-dark .fc-stage__rate-label{color:var(--c-fg, #cccccc)}html.theme-dark .fc-stage__bar{background:#ffffff1a}html.theme-dark .fc-stage__rate-btn{border-color:#ffffff1f}html.theme-dark .fc-stage__rate-btn:hover{background:#ffffff0f}@media(prefers-reduced-motion:reduce){.fc-stage,.fc-stage__rate,.fc-stage__card,.fc-stage__card-inner,.fc-stage__face,.fc-stage__face--back .fc-stage__face-label,.fc-stage__face--back .fc-stage__face-body{animation:none;transition:none}.fc-stage__card:hover{transform:none}.fc-stage__face--back .fc-stage__face-label,.fc-stage__face--back .fc-stage__face-body{opacity:1;transform:none}}.fc-shell__study{height:100%;display:flex;flex-direction:column;padding:var(--sb-pad-y) var(--sb-pad-x);overflow-y:auto;background:var(--sb-bg)}.fc-shell__study-frame{width:100%;max-width:var(--stack-page-max, min(40rem, 100%));margin-inline:auto;display:flex;flex-direction:column;flex:1;min-height:0;align-items:center;box-sizing:border-box}.fc-shell__study-frame>*{width:100%;max-width:min(100%,36rem)}.fc-shell__empty-stage-title{margin:0;font-size:.875rem;line-height:1.45;color:var(--ink-55, var(--sb-text-secondary))}.fc-shell__bold{font-weight:600}.fc-summary{width:100%;max-width:min(100%,36rem);margin-inline:auto;display:flex;flex-direction:column;gap:1rem;animation:fc-summary-enter .4s cubic-bezier(.22,1,.36,1) both}@keyframes fc-summary-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.fc-summary__kicker{margin:0;font-size:.6875rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#6a5f566b}.fc-summary__title{margin:0;font-family:var(--font-ui, var(--font)),system-ui,sans-serif;font-size:clamp(1.35rem,1.15rem + .6vw,1.65rem);font-weight:600;letter-spacing:-.02em;color:var(--brown-title, #6a5f56)}.fc-summary__stats{margin:0;font-size:.875rem;color:#6a5f568c}.fc-summary__breakdown{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem 1rem;font-size:.8125rem;color:#6a5f568c}.fc-summary__due{margin:0;font-size:.8125rem;color:#6a5f568c}.fc-summary__module{margin:0;font-size:.875rem;font-weight:600;color:var(--rust-accent-deep, #9e624c)}.fc-summary__actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.25rem}html.theme-dark .fc-summary__title{color:var(--c-fg, #cccccc)}html.theme-dark .fc-summary__kicker,html.theme-dark .fc-summary__stats,html.theme-dark .fc-summary__breakdown,html.theme-dark .fc-summary__due{color:var(--c-fg-muted, #9d9d9d)}html.theme-dark .fc-summary__module{color:var(--rust-accent, #b86b52)}@media(prefers-reduced-motion:reduce){.fc-summary{animation:none}}.magic-dock{margin-inline:auto;display:flex;height:58px;width:max-content;max-width:100%;align-items:center;justify-content:center;gap:.5rem;padding:.5rem;border-radius:1rem;box-sizing:border-box;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.magic-dock--top{align-items:flex-start}.magic-dock--middle{align-items:center}.magic-dock--bottom{align-items:flex-end}.magic-dock-icon{display:flex;aspect-ratio:1 / 1;cursor:pointer;align-items:center;justify-content:center;border-radius:9999px;flex-shrink:0;box-sizing:border-box}.magic-dock-icon--static:hover{background:var(--nx-hover)}.subject-mode-dock-wrap{position:absolute;left:0;right:0;bottom:calc(1.1rem + env(safe-area-inset-bottom,0px));z-index:24;display:flex;justify-content:center;pointer-events:none;padding-inline:1rem;will-change:transform,opacity}.subject-mode-dock{pointer-events:auto;border:1px solid var(--nx-divider-solid);background:#f9f9f9b8}html.theme-dark .subject-mode-dock{border-color:var(--nx-divider);background:var(--nx-bg-sidebar);backdrop-filter:none;-webkit-backdrop-filter:none}.subject-mode-dock__slot{display:flex;align-items:center;justify-content:center;overflow:visible;flex-shrink:0}.subject-mode-dock__btn{appearance:none;position:relative;display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:2.5rem;min-height:2.5rem;padding:0;border:none;border-radius:9999px;background:transparent;color:var(--nx-icon-strong);cursor:pointer;transition:color .15s ease}.subject-mode-dock__btn:hover,.subject-mode-dock__btn--active{color:var(--nx-text);background:transparent}.subject-mode-dock__btn--step,html.theme-dark .subject-mode-dock__btn--step{box-shadow:none}.subject-mode-dock__btn .rd-sidebar__menu-icon{width:1rem;height:1rem}html.nx-shell.rd-subject-shell .subject-shell--sidebar-collapsed .subject-shell__notion-canvas,html.nx-shell.rd-subject-shell .subject-shell--sidebar-collapsed .subject-shell__reader-scroll--flashcards,html.nx-shell.rd-subject-shell .subject-shell--sidebar-collapsed .subject-shell__reader-scroll--progress{margin-inline:auto}html.nx-shell.rd-subject-shell .rd-subject-main{position:relative}html.nx-shell.rd-subject-shell .rd-subject-main--with-dock .subject-shell__reader{padding-bottom:calc(5.25rem + env(safe-area-inset-bottom,0px))}html.nx-shell.rd-subject-shell .rd-subject-main .subject-shell__notion-canvas,html.nx-shell.rd-subject-shell .subject-shell--sidebar-collapsed .subject-shell__reader-scroll--flashcards .fc-shell,html.nx-shell.rd-subject-shell .subject-shell--sidebar-collapsed .subject-shell__reader-scroll--flashcards .fc-shell__study{margin-inline:auto}html.nx-shell .rd-subject-mode-strip{display:none!important}@media(prefers-reduced-motion:reduce){.subject-mode-dock__btn{transition:none}}.reader-scroll-progress{position:sticky;top:0;z-index:2;height:2px;margin:0;background:color-mix(in srgb,var(--nx-text) 8%,transparent)}.reader-scroll-progress__bar{height:100%;background:var(--nx-blue, #2383e2);transition:width .12s ease-out,background .2s ease}.reader-scroll-progress--complete .reader-scroll-progress__bar{background:color-mix(in srgb,var(--nx-blue, #2383e2) 55%,#22c55e)}.module-strip{margin:0 0 .85rem;border-bottom:1px solid rgba(106,95,86,.08);background:transparent;overflow:visible}.module-strip--ready{border-bottom-color:#a0503447}.module-strip--off{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem .75rem;padding:.4rem 0 .65rem;border-bottom:1px solid rgba(106,95,86,.08)}.module-strip__off-line{margin:0;font-family:var(--font-ui, var(--font));font-size:.8125rem;color:#6a5f569e}.module-strip__chip-row{display:flex;flex-wrap:wrap;gap:.4rem}.module-strip__toggle{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:.3rem .65rem;width:100%;padding:.15rem 0 .55rem;border:none;background:transparent;cursor:pointer;text-align:left}.module-strip__toggle-main{display:flex;flex-direction:column;gap:.12rem;min-width:0}.module-strip__task{font-family:var(--font-ui, var(--font));font-size:.875rem;font-weight:550;letter-spacing:-.015em;color:var(--brown-title, #6a5f56);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.module-strip__meta{font-family:var(--font-ui, var(--font));font-size:.6875rem;letter-spacing:.02em;color:#6a5f5673}.module-strip__bar{grid-column:1 / -1;height:2px;border-radius:999px;background:#6a5f5614;overflow:hidden}.module-strip__bar-fill{display:block;height:100%;border-radius:inherit;background:var(--rust-accent, #b86b52);transition:width .25s ease}.module-strip__chev{grid-row:1;grid-column:2;align-self:center;font-size:.65rem;color:#6a5f5659}.module-strip__body{padding:.55rem 0 .75rem;border-top:1px solid rgba(106,95,86,.06)}.module-strip__session{margin:0 0 .15rem;font-family:var(--font-ui, var(--font));font-size:.6875rem;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:#6a5f566b}.module-strip__progress-text{margin:0 0 .45rem;font-family:var(--font-ui, var(--font));font-size:.75rem;color:#6a5f5685}.module-strip__hint{margin:0;padding:.35rem 0 0;font-family:var(--font-ui, var(--font));font-size:.8125rem;color:#6a5f5685}.module-strip__link{margin-top:.55rem;padding:0;border:none;background:none;font-family:var(--font-ui, var(--font));font-size:.75rem;font-weight:500;color:var(--rust-accent-deep, #9e624c);cursor:pointer;text-decoration:underline;text-underline-offset:2px}.module-strip__link:hover{color:var(--rust-accent, #b86b52)}.module-strip__body .rd-tutor-checkin{margin-top:.25rem;padding-top:.4rem;border-top:none}.module-strip__body .rd-tutor-checkin__prompt{font-size:.8125rem}html.theme-dark .module-strip,html.theme-dark .module-strip--off{border-bottom-color:#ffffff1a}html.theme-dark .module-strip__task{color:var(--c-fg, #cccccc)}html.theme-dark .module-strip__meta,html.theme-dark .module-strip__session,html.theme-dark .module-strip__progress-text,html.theme-dark .module-strip__hint,html.theme-dark .module-strip__off-line,html.theme-dark .module-strip__chev{color:var(--c-fg-muted, #9d9d9d)}html.theme-dark .module-strip__bar{background:#ffffff1a}html.theme-dark .module-strip__body{border-top-color:#ffffff14}.note-study{margin:var(--m3-space-6, 1.5rem) 0 0;padding:var(--m3-space-6, 1.5rem) var(--m3-space-5, 1.25rem) var(--m3-space-5, 1.25rem);border-radius:var(--m3-radius-lg, 16px);border:var(--m3-outline-width, 1px) solid var(--m3-outline, #e1e3e1);background:var(--m3-surface, #ffffff);box-shadow:var(--m3-elevation-1)}html.rd-subject-shell .subject-shell .note-study{margin:var(--m3-space-6, 1.5rem) 0 0;padding:var(--m3-space-6, 1.5rem) var(--m3-space-5, 1.25rem) var(--m3-space-5, 1.25rem);border:none;border-radius:0;background:transparent;box-shadow:none}.note-study--empty,.note-study--complete{text-align:center}.note-study.spot-stage--fill{min-height:min(380px,52vh);margin-top:28px;padding:2rem 1.5rem;border:none;background:transparent}.note-study--empty{padding:32px 24px}.note-study__empty-title{margin:0;font-size:16px;font-weight:700;color:var(--sb-text, var(--brown-title))}.note-study__empty-sub{margin:8px 0 0;font-size:14px;color:var(--sb-text-secondary, var(--ref-muted))}.note-study__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.note-study__kicker{margin:0;font-size:11px;font-weight:700;letter-spacing:.32em;text-transform:uppercase;color:var(--sb-accent, var(--rust-accent))}.note-study__title{margin:6px 0 0;font-family:var(--font-ui, var(--font)),system-ui,sans-serif;font-size:1.25rem;font-weight:600;letter-spacing:-.02em;color:var(--sb-text, var(--brown-title))}.note-study__sub{margin:8px 0 0;font-size:14px;color:var(--sb-text-secondary, var(--ref-muted))}.note-study__breakdown{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem 1rem;font-size:13px;color:var(--sb-text-secondary, var(--ref-muted))}.note-study__module{margin:12px 0 0;font-size:14px;font-weight:600;color:var(--rust-accent-deep, #9e624c)}.note-study__progress{margin:6px 0 0;font-size:13px;color:var(--sb-text-secondary, var(--ref-muted))}.note-study__tools{display:flex;align-items:center;gap:10px;flex-shrink:0}.note-study__score{font-size:13px;color:var(--sb-text-secondary, var(--ref-muted))}.note-study__score strong{color:var(--sb-accent-deep, var(--rust-accent-deep))}.note-study__btn{height:38px;padding:0 14px;border-radius:12px;border:1px solid var(--sb-border, rgba(106, 95, 86, .11));background:var(--sb-canvas, var(--cream-page));font:inherit;font-size:13px;font-weight:600;color:var(--sb-text, var(--brown-title));cursor:pointer;transition:background-color .18s ease,border-color .18s ease,color .18s ease}.note-study__btn:hover:not(:disabled){border-color:rgba(var(--sb-rgb-accent, 160, 80, 52),.32);background:var(--sb-hover-surface, rgba(160, 80, 52, .085));color:var(--sb-accent-deep, var(--rust-accent-deep))}.note-study__btn:disabled{opacity:.45;cursor:not-allowed}.note-study__btn--primary{background:var(--sb-accent, var(--rust-accent));border-color:transparent;color:#fff}.note-study__btn--primary:hover:not(:disabled){background:var(--sb-accent-deep, var(--rust-accent-deep));color:#fff}.note-study__btn--small{height:32px;padding:0 12px;font-size:12px}.note-study__icon-btn{width:var(--m3-touch-target, 44px);height:var(--m3-touch-target, 44px);min-width:var(--m3-touch-target, 44px);min-height:var(--m3-touch-target, 44px);border-radius:999px;border:1px solid var(--sb-border, rgba(106, 95, 86, .11));background:var(--sb-canvas, var(--cream-page));font-size:14px;color:var(--sb-text-secondary, var(--ref-muted));cursor:pointer}.note-study__icon-btn--on{color:var(--sb-accent, var(--rust-accent));border-color:rgba(var(--sb-rgb-accent, 160, 80, 52),.35)}.note-study__card{width:100%;min-height:240px;padding:0;border:none;background:transparent;cursor:pointer;perspective:1200px}.note-study__card-inner{display:block;position:relative;width:100%;height:100%;min-height:inherit;transform-style:preserve-3d;transition:transform .42s cubic-bezier(.33,1,.68,1)}.note-study__card--flipped .note-study__card-inner{transform:rotateY(180deg)}.note-study__face{position:absolute;inset:0;backface-visibility:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:22px 24px;border-radius:16px;border:1px solid var(--sb-border, rgba(106, 95, 86, .11));background:var(--sb-canvas, var(--cream-page));text-align:center}.note-study__face--back{transform:rotateY(180deg);background:#f9f1e48c}.note-study__face-label{position:absolute;top:1rem;left:50%;transform:translate(-50%);font-size:10px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:var(--sb-accent, var(--rust-accent));margin:0}.note-study__face-body{width:100%;max-width:34rem;margin:0 auto;padding-top:.75rem;font-size:16px;line-height:1.55;color:var(--sb-text, var(--brown-title));text-align:center}.note-study__controls,.note-study__rate-row,.note-study__actions,.note-study__nav{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px}.note-study__actions--continue,.note-study__rate-row{flex-direction:column}.note-study__rate-prompt{margin:0;font-size:13px;color:var(--sb-text-secondary, var(--ref-muted))}.note-study__rate-buttons{display:flex;gap:10px;width:100%}.note-study__rate-btn{flex:1;height:44px;border-radius:12px;border:1px solid var(--sb-border, rgba(106, 95, 86, .11));background:var(--sb-canvas, var(--cream-page));font:inherit;font-size:13px;font-weight:600;cursor:pointer}.note-study__rate-btn--again:hover{border-color:#c45;color:#a33}.note-study__rate-btn--good:hover{border-color:var(--sb-accent-muted, var(--rust-accent-soft));color:var(--sb-accent, var(--rust-accent))}.note-study__rate-btn--easy:hover{border-color:#6a8;color:#486}.note-study__quiz-card{padding:4px 0 0}.note-study__q-marks{margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:.24em;text-transform:uppercase;color:var(--sb-accent, var(--rust-accent))}.note-study__q-text{margin:0 0 16px;font-size:17px;line-height:1.5;font-weight:600;color:var(--sb-text, var(--brown-title))}.note-study__answer-label{display:block;margin:0 0 8px;font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--sb-text-label, rgba(138, 130, 120, .92))}.note-study__answer-input{width:100%;box-sizing:border-box;padding:14px 16px;border-radius:14px;border:1px solid var(--sb-border, rgba(106, 95, 86, .11));background:var(--sb-canvas, var(--cream-page));font:inherit;font-size:15px;line-height:1.5;color:var(--sb-text, var(--brown-title));resize:vertical;min-height:120px}.note-study__answer-input:focus{outline:none;border-color:rgba(var(--sb-rgb-accent, 160, 80, 52),.4);box-shadow:0 0 0 3px rgba(var(--sb-rgb-accent, 160, 80, 52),.14)}.note-study__ms{margin-top:18px;padding-top:18px;border-top:1px solid var(--sb-border, rgba(106, 95, 86, .11))}.note-study__ms-head{margin:0 0 12px;font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--sb-accent, var(--rust-accent))}.note-study__ms-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.note-study__ms-row{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid var(--sb-border, rgba(106, 95, 86, .11));background:var(--sb-canvas, var(--cream-page));font-size:14px;line-height:1.45;cursor:pointer}.note-study__ms-row--checked{border-color:rgba(var(--sb-rgb-accent, 160, 80, 52),.35);background:#f9f1e4b3}.note-study__ms-mark{margin-left:auto;font-size:11px;font-weight:700;color:var(--sb-accent, var(--rust-accent))}.note-study__ms-total{margin:12px 0 0;font-size:14px;color:var(--sb-text-secondary, var(--ref-muted))}.note-study__nav-progress{font-size:13px;color:var(--sb-text-secondary, var(--ref-muted))}.note-study__summary{margin-top:20px;padding-top:18px;border-top:1px solid var(--sb-border, rgba(106, 95, 86, .11));text-align:center}.note-study__summary-title{margin:0 0 14px;font-size:16px;color:var(--sb-text, var(--brown-title))}.note-study__bold{font-weight:700}.note-study__bullet,.note-study__step{display:block;margin-top:4px}.note-study--quiz{margin-top:28px;padding:0;border:none;background:transparent;box-shadow:none}@keyframes subject-shell-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.subject-shell{animation:none!important}.subject-shell *{transition-duration:.01ms!important}}.subject-shell{--sb-col-sidebar: 280px;--sb-col-mid: 400px;--sb-shell-inset: 0px;--sb-rgb-accent: 184, 107, 82;--sb-rgb-ink: 45, 37, 32;--sb-shell-outline: rgba(var(--sb-rgb-accent), .24);--sb-divider-col: rgba(var(--sb-rgb-accent), .18);--sb-canvas: var(--stack-canvas, #f0f4f9);--sb-bg: var(--stack-canvas, #f0f4f9);--sb-panel: var(--paper-panel, #ffffff);--sb-panel-2: #ffffff;--sb-accent: var(--rust-accent);--sb-accent-muted: var(--rust-accent-soft);--sb-accent-deep: var(--rust-accent-deep);--sb-text: var(--brown-title);--sb-text-secondary: var(--ref-muted);--sb-text-label: rgba(138, 130, 120, .92);--sb-text-faint: rgba(92, 83, 74, .55);--sb-border: rgba(var(--sb-rgb-ink), .11);--sb-nav-active: var(--cream-warm);--sb-progress-track: var(--segment-track);--sb-note-active: var(--cream-warm);--sb-tag-pill: var(--paper-panel);--sb-section-mid: rgba(var(--sb-rgb-accent), .32);--sb-body: var(--brown-title);--sb-interactive-duration: .2s;--sb-interactive-ease: cubic-bezier(.33, 1, .68, 1);--sb-sidebar-gap: 24px;--sb-pad-x: 24px;--sb-pad-y: 28px;--sb-control-h: 44px;--sb-radius: var(--m3-radius-md, 12px);--sb-radius-lg: var(--m3-radius-lg, 16px);--sb-gap-list: 8px;--sb-label-size: 11px;--sb-label-tracking: .24em;--sb-hover-surface: rgba(var(--sb-rgb-accent), .085);--sb-pressed-surface: rgba(var(--sb-rgb-accent), .14);--sb-strong-hover-surface: rgba(var(--sb-rgb-accent), .11);--sb-focus-ring: 0 0 0 3px rgba(var(--sb-rgb-accent), .28);position:fixed;inset:0;z-index:100;box-sizing:border-box;width:100vw;height:100vh;height:100dvh;margin:0;padding:0;overflow:hidden;overscroll-behavior:none;background-color:var(--sb-canvas);color:var(--sb-text);font-family:var(--font),system-ui,sans-serif;font-size:16px;line-height:1.5;animation:subject-shell-in .42s var(--ease-out-soft) both;display:grid;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);row-gap:8px}.subject-shell__app-bar{flex-shrink:0;display:flex;align-items:center;gap:1rem;padding:calc(clamp(1rem,2.5vh,1.4rem) + env(safe-area-inset-top,0px)) clamp(1.45rem,5.5vw,3.75rem) 0;min-height:0;font-family:var(--font),system-ui,sans-serif}.subject-shell__chrome{position:relative;z-index:1;width:100%;height:100%;min-height:0;box-sizing:border-box;display:grid;grid-template-columns:var(--sb-col-sidebar) var(--sb-col-mid) minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:stretch;overflow:hidden;border:none;border-radius:0;background:var(--sb-canvas)}.subject-shell__chrome--mode-flashcards{grid-template-columns:var(--sb-col-sidebar) minmax(0,1fr)}.subject-shell__chrome--mode-flashcards .subject-shell__reader{grid-column:2 / 3}.subject-shell__chrome--flashcards{grid-template-columns:var(--sb-col-sidebar) var(--sb-col-mid) minmax(0,1fr)}.subject-shell__reader--flashcards{padding:0;overflow:hidden;background:var(--sb-bg)}.subject-shell__chrome--flashcards>.subject-shell__reader:only-child,.subject-shell__workspace.subject-shell__chrome--flashcards>.subject-shell__reader:only-child{grid-column:1 / -1}.subject-shell__reader-scroll--progress .rd-progress{max-width:52rem;margin-inline:auto}.subject-shell__chrome:before{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.035;border-radius:inherit;mix-blend-mode:multiply;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)'/%3E%3C/svg%3E");background-size:220px 220px}.subject-shell__chrome>*{position:relative;z-index:1;min-height:0;min-width:0}.subject-shell *,.subject-shell *:before,.subject-shell *:after{box-sizing:border-box}.subject-shell button:focus-visible{outline:none;box-shadow:var(--sb-focus-ring)}.subject-shell button:focus:not(:focus-visible){box-shadow:none}.subject-shell__sidebar{width:280px;height:100%;padding:var(--sb-pad-y) var(--sb-pad-x);position:relative;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid var(--sb-divider-col);background:var(--stack-sidebar-bg, #ffffff)}.subject-shell__sidebar-upper{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden}.subject-shell__brand{flex-shrink:0}.subject-shell__brand-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 var(--sb-sidebar-gap)}.subject-shell__glyph{width:36px;height:36px;display:grid;place-items:center;color:var(--sb-accent);background:none;border:none;padding:0;flex-shrink:0}.subject-shell__glyph svg{width:36px;height:36px}.subject-shell__glyph--morph{animation:none;transform-origin:50% 50%}@keyframes subject-glyph-morph{0%{transform:translate(var(--morph-dx, 0px),var(--morph-dy, 0px)) scale(var(--morph-sx, 1),var(--morph-sy, 1));opacity:.55}60%{opacity:1}to{transform:translate(0) scale(1);opacity:1}}.subject-shell--morph-active{animation:none}@keyframes subject-shell-morph-fade{0%{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.subject-shell__glyph--morph,.subject-shell--morph-active{animation:none!important}}.subject-shell__back-round{width:var(--m3-touch-target, 44px);height:var(--m3-touch-target, 44px);min-width:var(--m3-touch-target, 44px);min-height:var(--m3-touch-target, 44px);flex-shrink:0;border-radius:var(--sb-radius);border:1px solid var(--sb-border);background:var(--sb-panel-2);display:grid;place-items:center;color:var(--sb-accent);cursor:pointer;padding:0;box-shadow:0 1px 2px rgba(var(--sb-rgb-ink),.05);transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),border-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease),box-shadow var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__back-round:hover{background:var(--sb-hover-surface);border-color:var(--sb-accent-muted);color:var(--sb-accent-deep)}.subject-shell__back-round:active{background:var(--sb-pressed-surface);border-color:var(--sb-accent-deep);color:var(--sb-accent-deep)}.subject-shell__title-block{margin:0;width:100%;display:flex;flex-direction:column;gap:12px}.subject-shell__title-block:before{content:"";display:block;width:20px;height:4px;border-radius:3px;background:var(--sb-accent);opacity:.85;margin-bottom:2px}.subject-shell__title{margin:0;width:100%;font-family:var(--font-ui, var(--font)),system-ui,sans-serif;font-size:clamp(1.35rem,1.15rem + .6vw,1.65rem);font-weight:600;line-height:1.2;letter-spacing:-.02em;color:var(--sb-text)}.subject-shell__tagline{margin:0;width:100%;font-family:var(--font),sans-serif;font-size:16px;font-weight:500;color:var(--sb-accent);line-height:1.55}.subject-shell__progress-block{margin-top:34px;width:240px;max-width:100%}.subject-shell__progress-label{height:18px;line-height:18px;font-size:14px;font-weight:600;color:var(--sb-text-secondary)}.subject-shell__progress-bar{margin-top:12px;width:236px;max-width:100%;height:8px;border-radius:999px;background:var(--sb-progress-track);overflow:hidden}.subject-shell__progress-fill{display:block;height:100%;border-radius:inherit;background:var(--sb-accent)}.subject-shell__board{margin-top:28px;width:240px;max-width:100%;display:flex;flex-direction:column;gap:8px}.subject-shell__board-label{font-size:10px;font-weight:700;letter-spacing:.32em;text-transform:uppercase;color:var(--sb-text-label)}.subject-shell__board-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;border-radius:12px;border:1px solid var(--sb-border);background:var(--sb-panel)}.subject-shell__board-tab{display:inline-flex;align-items:center;justify-content:center;height:30px;padding:0 6px;border:none;background:transparent;border-radius:8px;font:inherit;font-size:12px;font-weight:600;color:var(--sb-text-secondary);cursor:pointer;transition:background-color .16s ease,color .16s ease}.subject-shell__board-tab:hover:not(.subject-shell__board-tab--active){background:var(--sb-hover-surface);color:var(--sb-accent-deep)}.subject-shell__board-tab--active{background:var(--sb-accent);color:var(--paper-panel);box-shadow:0 1px 2px rgba(var(--sb-rgb-ink),.1)}.subject-shell__board-overlay{margin-top:28px;padding:16px 18px;border-radius:14px;border:1px dashed rgba(var(--sb-rgb-accent),.32);background:rgba(var(--sb-rgb-accent),.05);max-width:900px}.subject-shell__board-overlay-kicker{margin:0 0 6px;font-size:10.5px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:var(--sb-accent)}.subject-shell__board-overlay-body{margin:0;font-size:14.5px;line-height:1.55;color:var(--sb-text)}.subject-shell__nav{margin-top:var(--sb-sidebar-gap);width:100%;display:flex;flex-direction:column;gap:var(--sb-gap-list)}.subject-shell__nav-btn{width:100%;height:var(--sb-control-h);padding:0 12px;border-radius:var(--sb-radius);display:flex;align-items:center;gap:14px;border:none;background:transparent;color:var(--sb-text);font:inherit;font-size:15px;font-weight:500;cursor:pointer;text-align:left;transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__nav-btn-icon{flex:0 0 18px;width:18px;height:18px;display:flex;align-items:center;justify-content:center}.subject-shell__nav-btn-icon svg{width:18px;height:18px;transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__nav-btn--active{background:var(--sb-nav-active);color:var(--sb-text)}.subject-shell__nav-btn--active .subject-shell__nav-btn-icon svg{color:var(--sb-accent)}.subject-shell__nav-btn--active svg{opacity:1}.subject-shell__nav-btn:hover:not(.subject-shell__nav-btn--active){background:var(--sb-hover-surface);color:var(--sb-accent-deep)}.subject-shell__nav-btn:active:not(.subject-shell__nav-btn--active){background:var(--sb-pressed-surface)}.subject-shell__nav-btn--active:hover{background:var(--sb-strong-hover-surface);color:var(--sb-accent-deep)}.subject-shell__nav-btn--active:active{background:var(--sb-pressed-surface)}.subject-shell__sidebar-lists{margin-top:var(--sb-sidebar-gap);flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column}.subject-shell__mini-list ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--sb-gap-list)}.subject-shell__mini-list--pinned{margin-top:0;flex-shrink:0}.subject-shell__mini-heading{margin:0 0 12px;height:14px;line-height:14px;font-size:var(--sb-label-size);font-weight:700;letter-spacing:var(--sb-label-tracking);text-transform:uppercase;color:var(--sb-text-label)}.subject-shell__mini-empty{font-size:13px;color:var(--sb-text-secondary);padding:4px 0;line-height:1.35}.subject-shell__mini-row{display:flex;align-items:center;gap:10px;width:100%;height:var(--sb-control-h);min-height:var(--sb-control-h);padding:0 12px;border:none;border-radius:var(--sb-radius);background:transparent;font:inherit;font-size:14px;color:var(--sb-text);cursor:pointer;text-align:left;transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__mini-row svg{width:16px;height:16px;flex-shrink:0;color:var(--sb-text-secondary);opacity:.92;transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__mini-row:hover{background:var(--sb-hover-surface);color:var(--sb-accent-deep)}.subject-shell__mini-row:hover svg{color:var(--sb-accent);opacity:1}.subject-shell__mini-row:active{background:var(--sb-pressed-surface)}.subject-shell__mini-text{flex:1;min-width:0;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.subject-shell__mini-row--pinned .subject-shell__pin-marker{flex-shrink:0;color:var(--sb-accent);opacity:.7;display:flex}.subject-shell__mini-row--pinned .subject-shell__pin-marker svg{width:14px;height:14px}.subject-shell__sidebar-foot{margin-top:auto;flex-shrink:0;display:flex;flex-direction:column;align-items:stretch;gap:var(--sb-sidebar-gap);width:100%;padding-top:var(--sb-sidebar-gap)}.subject-shell__sidebar-search{position:relative;display:flex;align-items:center;gap:10px;width:100%;height:var(--sb-control-h);padding:0 12px;border-radius:var(--sb-radius);border:1px solid var(--sb-border);background:var(--sb-panel);transition:border-color var(--sb-interactive-duration) var(--sb-interactive-ease),box-shadow var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__sidebar-search:focus-within{border-color:var(--sb-accent-muted);box-shadow:0 0 0 3px rgba(var(--sb-rgb-accent),.12)}.subject-shell__sidebar-search-icon{display:flex;flex-shrink:0;color:var(--sb-text-secondary)}.subject-shell__sidebar-search input{flex:1;min-width:0;height:100%;padding:0;border:none;background:transparent;font:inherit;font-size:15px;font-weight:500;color:var(--sb-text);outline:none}.subject-shell__sidebar-search input::placeholder{color:var(--sb-text-secondary)}.subject-shell__sidebar-search-kbd{display:inline-flex;align-items:center;gap:3px;flex-shrink:0;pointer-events:none}.subject-shell__sidebar-search-kbd kbd{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:5px;border:1px solid var(--sb-border);background:rgba(var(--sb-rgb-ink),.04);font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:10px;font-weight:600;color:var(--sb-text-secondary)}.subject-shell__settings{margin-top:0;height:var(--sb-control-h);display:flex;align-items:center;gap:10px;padding:0 12px;width:100%;border:none;border-radius:var(--sb-radius);background:transparent;font:inherit;font-size:15px;font-weight:500;color:var(--sb-text-secondary);cursor:pointer;text-align:left;transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__settings:hover{color:var(--sb-accent-deep);background:var(--sb-hover-surface)}.subject-shell__settings:hover>svg{color:var(--sb-accent)}.subject-shell__settings:active{background:var(--sb-pressed-surface);color:var(--sb-accent-deep)}.subject-shell__settings:hover .subject-shell__settings-chev{opacity:.65;color:var(--sb-accent-muted)}.subject-shell__settings>svg{width:18px;height:18px;flex-shrink:0;transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__settings-chev{margin-left:auto;display:flex;align-items:center;opacity:.4;transition:opacity var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__settings-chev svg{width:16px;height:16px}.subject-shell__topics{width:400px;height:100%;padding:var(--sb-pad-y) var(--sb-pad-x);position:relative;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid var(--sb-divider-col);background:var(--sb-panel, #ffffff)}.subject-shell__topics--connected{background:var(--sb-panel, #ffffff)}.subject-shell__topics-context{flex-shrink:0;margin:0 calc(-1 * var(--sb-pad-x)) var(--sb-sidebar-gap);padding:0 var(--sb-pad-x) 10px;border-bottom:1px solid var(--sb-divider-col);font-size:12px;line-height:1.45;color:var(--sb-text-faint)}.subject-shell__topics-context-subject{font-weight:600;color:var(--sb-text-secondary)}.subject-shell__topics-context-sep{margin:0 .35em;opacity:.55}.subject-shell__topics-context-mode{font-weight:600;color:var(--sb-accent-deep, var(--sb-text))}.subject-shell__topics-context-hint{margin:4px 0 0;font-size:11px;color:var(--sb-text-faint);letter-spacing:.01em}.subject-shell__topics-intro{position:relative;flex-shrink:0}.subject-shell__topics-intro-sync{visibility:hidden;pointer-events:none;user-select:none}.subject-shell__topics-intro-sync .subject-shell__back-round--layout{border-color:transparent;box-shadow:none;background:transparent}.subject-shell__topics-intro-sync .subject-shell__title,.subject-shell__topics-intro-sync .subject-shell__tagline{display:block}.subject-shell__topics-heading{position:absolute;left:0;right:0;bottom:0;margin:0;font-size:var(--sb-label-size);font-weight:700;letter-spacing:var(--sb-label-tracking);text-transform:uppercase;color:var(--sb-text-label);line-height:1}.subject-shell__topics-body{flex:1;display:flex;flex-direction:column;min-height:0;overflow:hidden;margin-top:var(--sb-sidebar-gap)}.subject-shell__topics-foot{flex-shrink:0;margin-top:var(--sb-sidebar-gap);padding-top:var(--sb-sidebar-gap);border-top:1px solid var(--sb-border)}.subject-shell__topics-manage{width:100%;height:var(--sb-control-h);display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:var(--sb-radius);border:1px solid var(--sb-border);background:var(--sb-panel);font:inherit;font-size:14px;font-weight:600;color:var(--sb-text-secondary);cursor:pointer;transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),border-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__topics-manage:hover{border-color:rgba(var(--sb-rgb-accent),.32);color:var(--sb-accent-deep);background:var(--sb-hover-surface)}.subject-shell__topics-manage svg{width:16px;height:16px}.subject-shell__topics-search{display:flex;align-items:center;gap:12px}.subject-shell__topics-search input{width:calc(100% - 64px);height:52px;border-radius:14px;background:var(--sb-panel);border:1px solid var(--sb-border);padding:0 18px;font:inherit;font-size:15px;outline:none;color:var(--sb-text);transition:border-color var(--sb-interactive-duration) var(--sb-interactive-ease),box-shadow var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__topics-search input:hover:not(:focus){border-color:rgba(var(--sb-rgb-accent),.32)}.subject-shell__topics-search input::placeholder{color:var(--sb-text-secondary)}.subject-shell__topics-search input:focus{border-color:var(--sb-accent-muted);box-shadow:var(--sb-focus-ring)}.subject-shell__filter-btn{width:52px;height:52px;flex-shrink:0;border-radius:14px;border:1px solid var(--sb-border);background:var(--sb-panel);display:grid;place-items:center;cursor:pointer;color:var(--sb-text-secondary);transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),border-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__filter-btn:hover{border-color:var(--sb-accent-muted);color:var(--sb-accent);background:var(--sb-hover-surface)}.subject-shell__filter-btn:active{background:var(--sb-pressed-surface);border-color:var(--sb-accent-deep);color:var(--sb-accent-deep)}.subject-shell__filter-btn svg{width:18px;height:18px}.subject-shell__topics-area{margin:34px 0 0;height:16px;line-height:16px;font-size:11px;letter-spacing:.42em;font-weight:600;text-transform:uppercase;color:var(--sb-text-label)}.subject-shell__topics-scroll{flex:1;min-height:0;display:flex;flex-direction:column;gap:0;overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}.subject-shell__accordion{display:flex;flex-direction:column;gap:var(--sb-gap-list);margin-top:0}.subject-shell__acc-item+.subject-shell__acc-item{margin-top:0}.subject-shell__acc-check{display:inline-flex;align-items:center;justify-content:center;width:1rem;height:1rem;border-radius:4px;border:1px solid rgba(106,95,86,.18);font-size:.65rem;line-height:1;color:transparent;flex-shrink:0}.subject-shell__acc-check--on{color:var(--rust-accent, #b86b52);border-color:#b86b5273;background:#b86b5214}.subject-shell__acc-item--picked .subject-shell__acc-trigger{background:#b86b520f}.subject-shell__multi-toggle{margin:.35rem 0 .15rem;padding:.35rem .65rem;border:1px solid rgba(106,95,86,.1);border-radius:999px;background:transparent;font-family:var(--font-ui, var(--font));font-size:.75rem;font-weight:500;color:var(--sidebar-muted, rgba(106, 95, 86, .62));cursor:pointer;transition:color .15s ease,border-color .15s ease,background .15s ease}.subject-shell__multi-toggle:hover{color:var(--brown-title);border-color:#6a5f562e}.subject-shell__multi-toggle--on{color:var(--brown-title);border-color:#b86b5259;background:#b86b5214}.subject-shell__acc-item{position:relative;border-radius:var(--sb-radius)}.subject-shell__acc-item--active:before,.subject-shell__note-pill--active:before{content:"";position:absolute;left:0;top:4px;bottom:4px;width:2px;border-radius:0 2px 2px 0;background:var(--sb-accent);pointer-events:none}.subject-shell__note-pill{position:relative}.subject-shell__acc-trigger{width:100%;min-height:var(--sb-control-h);height:var(--sb-control-h);padding:0 12px;margin:0;border:none;border-radius:var(--sb-radius);background:transparent;display:flex;flex-direction:row;align-items:center;gap:0;font:inherit;font-size:15px;font-weight:600;color:var(--sb-text);cursor:default;text-align:left;transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__acc-trigger-top{display:flex;align-items:center;gap:8px;min-height:22px;width:100%;min-width:0}.subject-shell__acc-chev-btn{flex-shrink:0;display:inline-grid;place-items:center;width:var(--m3-touch-target, 44px);height:var(--m3-touch-target, 44px);min-width:var(--m3-touch-target, 44px);min-height:var(--m3-touch-target, 44px);margin:0;padding:0;border:none;border-radius:var(--m3-radius-sm, 8px);background:transparent;color:inherit;cursor:pointer}.subject-shell__acc-chev-btn:hover{background:var(--sb-hover-surface)}.subject-shell__acc-chev-btn--open .subject-shell__acc-chev-text{transform:rotate(90deg)}.subject-shell__acc-select{flex:1;min-width:0;display:inline-flex;align-items:center;gap:8px;margin:0;padding:.2rem .35rem;border:none;border-radius:8px;background:transparent;font:inherit;font-size:inherit;font-weight:inherit;color:inherit;cursor:pointer;text-align:left}.subject-shell__acc-select:hover{background:var(--sb-hover-surface)}.subject-shell__acc-trigger-label{flex:1;min-width:0;text-align:left}.subject-shell__topic-progress-track{align-self:stretch;margin-left:28px;height:3px;border-radius:999px;background:var(--sb-progress-track);overflow:hidden}.subject-shell__topic-progress-fill{display:block;height:100%;border-radius:inherit;background:var(--sb-accent)}.subject-shell__acc-trigger:hover{background:transparent;color:var(--sb-text)}.subject-shell__acc-trigger:active{background:transparent}.subject-shell__acc-trigger--active,.subject-shell__acc-item--active .subject-shell__acc-trigger{background:var(--sb-hover-surface);color:var(--sb-accent-deep)}.subject-shell__accordion--select-only .subject-shell__acc-trigger{padding-left:14px;border-radius:var(--sb-radius)}.subject-shell__accordion--select-only .subject-shell__acc-item--active .subject-shell__acc-trigger{background:var(--sb-note-active, var(--sb-hover-surface))}.subject-shell__acc-trigger:hover .subject-shell__acc-chev-text{color:var(--sb-accent-muted)}.subject-shell__acc-chev-text{width:16px;flex:0 0 16px;text-align:center;font-size:10px;color:var(--sb-text-faint);transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__acc-panel{list-style:none;margin:0;padding:4px 0 0;display:flex;flex-direction:column;gap:var(--sb-gap-list)}.subject-shell__note-pill{width:100%;height:var(--sb-control-h);min-height:var(--sb-control-h);padding:0 12px;border-radius:var(--sb-radius);border:none;background:transparent;display:flex;align-items:center;justify-content:space-between;gap:12px;font:inherit;cursor:pointer;text-align:left;color:var(--sb-text);transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__note-pill:hover:not(.subject-shell__note-pill--active){background:var(--sb-hover-surface);color:var(--sb-accent-deep)}.subject-shell__note-pill:active:not(.subject-shell__note-pill--active){background:var(--sb-pressed-surface)}.subject-shell__note-pill:hover:not(.subject-shell__note-pill--active) .subject-shell__note-pill-left>svg{color:var(--sb-accent)}.subject-shell__note-pill--active{background:var(--sb-note-active)}.subject-shell__note-pill--active:hover{background:var(--sb-note-active);box-shadow:inset 0 0 0 1px rgba(var(--sb-rgb-accent),.28);color:var(--sb-accent-deep)}.subject-shell__note-pill--active:hover .subject-shell__note-pill-left>svg{color:var(--sb-accent)}.subject-shell__note-pill--active:active{box-shadow:inset 0 0 0 1px rgba(var(--sb-rgb-accent),.38);background:var(--sb-strong-hover-surface)}.subject-shell__note-pill-left{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.subject-shell__note-pill-left>svg{width:16px;height:16px;flex-shrink:0;color:var(--sb-text-secondary);transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__note-pill-text{font-size:14px;font-weight:500;line-height:1.3;min-width:0}.subject-shell__note-dot{width:8px;height:8px;margin-right:2px;border-radius:999px;background:var(--sb-accent);flex-shrink:0}.subject-shell__topics-scroll>*:first-child{flex:1 1 auto;min-height:0}.subject-shell__placeholder-col.spot-empty{align-items:center;text-align:center;padding:24px 0}.subject-shell__placeholder-col{padding:18px 0}.subject-shell__placeholder-title{margin:0;font-family:var(--font-ui, var(--font)),system-ui,sans-serif;font-size:1.25rem;font-weight:600;letter-spacing:-.02em;color:var(--sb-text)}.subject-shell__placeholder-sub{margin:12px 0 0;font-size:15px;line-height:1.6;color:var(--sb-text-secondary)}.subject-shell__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:6rem;margin:0;padding:1rem .75rem;font-size:15px;line-height:1.6;text-align:center;color:var(--sb-text-secondary);border-radius:12px;background:var(--sb-panel);border:1px solid var(--sb-border)}.subject-shell__empty code{font-size:.9em}.subject-shell__reader{grid-column:3;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:var(--sb-panel, #ffffff)}.subject-shell__reader-scroll{height:100%;min-height:0;flex:1;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:var(--sb-pad-y) var(--sb-pad-x) 40px}.subject-shell__reader-scroll--article{position:relative}.subject-shell__article-frame{width:100%;max-width:var(--stack-page-max, min(50rem, 100%));padding-bottom:40px}.subject-shell__reader-scroll--idle{display:flex;flex-direction:column;flex:1;min-height:0;height:100%;padding-block:0}.subject-shell__reader-scroll--idle .subject-shell__reader-fill{width:100%;max-width:none;margin:0;flex:1 1 auto}.subject-shell__reader-empty--pick .subject-shell__reader-empty-title{margin:0;max-width:20rem;font-family:var(--font-ui, var(--font)),system-ui,sans-serif;font-size:clamp(1.25rem,1.1rem + .4vw,1.45rem);font-weight:600;letter-spacing:-.02em;line-height:1.25}.subject-shell__reader-empty--pick .subject-shell__reader-empty-sub{margin:.65rem 0 0;max-width:22rem;font-size:.875rem;line-height:1.5}.subject-shell__reader-fill{width:100%;max-width:none;flex:1;min-height:0;align-self:stretch}.subject-shell__reader-empty{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;width:100%;min-height:100%;text-align:center;color:var(--sb-text-secondary)}.subject-shell__reader-empty-title{margin:0;font-family:var(--font-ui, var(--font)),system-ui,sans-serif;font-size:clamp(1.35rem,1.15rem + .6vw,1.65rem);font-weight:600;letter-spacing:-.02em;color:var(--sb-text)}.subject-shell__reader-empty-sub{margin:12px 0 0;max-width:24rem;font-size:16px;line-height:1.6}.subject-shell__article-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-height:44px;padding-bottom:4px}.subject-shell__crumbs{display:flex;flex-wrap:wrap;align-items:center;width:auto;max-width:min(100%,34rem);overflow:visible;font-family:var(--font),system-ui,sans-serif;font-size:clamp(.72rem,.55rem + .55vw,.8125rem);font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:rgba(var(--sb-rgb-ink),.72);line-height:1.45;gap:0}.subject-shell__crumb{display:inline;overflow:visible;text-overflow:unset;white-space:normal}.subject-shell__crumb--current{color:var(--sb-accent);font-weight:700}.subject-shell__crumb-sep{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;margin:0 .2rem;color:var(--sb-text-faint)}.subject-shell__crumb-sep svg{width:14px;height:14px;opacity:.55}.subject-shell__article-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.subject-shell__more-wrap{position:relative}.subject-shell__more-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:50;min-width:208px;padding:6px;border-radius:14px;border:1px solid var(--sb-border);background:var(--sb-panel);box-shadow:0 4px 24px rgba(var(--sb-rgb-ink),.08),0 0 1px rgba(var(--sb-rgb-ink),.05)}.subject-shell__more-item{display:block;width:100%;padding:10px 12px;border:none;border-radius:12px;background:transparent;font:inherit;font-size:14px;font-weight:500;color:var(--sb-text);text-align:left;cursor:pointer;transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__more-item:hover{background:var(--sb-hover-surface);color:var(--sb-accent-deep)}.subject-shell__more-item:active{background:var(--sb-pressed-surface);color:var(--sb-accent-deep)}.subject-shell__pin-pill{box-sizing:border-box;height:var(--sb-control-h);padding:0 16px;border-radius:var(--sb-radius);border:1px solid var(--sb-border);background:var(--sb-panel);display:inline-flex;align-items:center;gap:8px;font:inherit;font-size:14px;font-weight:600;color:var(--sb-text-secondary);cursor:pointer;transition:border-color var(--sb-interactive-duration) var(--sb-interactive-ease),background-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__pin-pill svg{width:16px;height:16px;transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__pin-pill:hover{border-color:var(--sb-accent-muted);color:var(--sb-accent);background:var(--sb-hover-surface)}.subject-shell__pin-pill:hover svg{color:var(--sb-accent)}.subject-shell__pin-pill:active{border-color:var(--sb-accent-deep);background:var(--sb-pressed-surface);color:var(--sb-accent-deep)}.subject-shell__pin-pill--on{background:var(--sb-tag-pill);border-color:rgba(var(--sb-rgb-accent),.35);color:var(--sb-accent)}.subject-shell__pin-pill--on svg{color:var(--sb-accent)}.subject-shell__pin-pill--on:hover{border-color:var(--sb-accent-deep);background:var(--sb-hover-surface);color:var(--sb-accent-deep)}.subject-shell__pin-pill--on:active{background:var(--sb-pressed-surface)}.subject-shell__icon-btn{width:var(--sb-control-h);height:var(--sb-control-h);border-radius:999px;border:1px solid var(--sb-border);background:var(--sb-panel);display:grid;place-items:center;cursor:pointer;color:var(--sb-text-secondary);padding:0;transition:border-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease),background-color var(--sb-interactive-duration) var(--sb-interactive-ease),box-shadow var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__icon-btn:hover{border-color:var(--sb-accent-muted);color:var(--sb-accent);background:var(--sb-hover-surface)}.subject-shell__icon-btn:active{border-color:var(--sb-accent-deep);color:var(--sb-accent-deep);background:var(--sb-pressed-surface)}.subject-shell__icon-btn svg{width:18px;height:18px}.subject-shell__pin-btn--on{border-color:var(--sb-accent-muted);color:var(--sb-accent);background:var(--sb-hover-surface)}.subject-shell__pin-btn--on:hover{border-color:var(--sb-accent);color:var(--sb-accent-deep)}.subject-shell__article{margin:0;padding:var(--sb-sidebar-gap) 0 0;max-width:52rem;border:none;background:transparent;border-radius:0;box-shadow:none}.subject-shell__article-kicker{color:var(--sb-text-secondary);font-size:12px;font-weight:600;font-family:var(--font),sans-serif;letter-spacing:.08em;text-transform:uppercase}.subject-shell__article-title{margin:20px 0 0;width:100%;max-width:900px;font-family:var(--font-ui, var(--font)),system-ui,sans-serif;font-size:clamp(1.5rem,1.25rem + .8vw,2rem);font-weight:600;line-height:1.15;letter-spacing:-.02em;color:var(--sb-text)}.subject-shell__meta-chips{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:1rem 0 0;padding:0;border:none}.subject-shell__meta-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .65rem;border-radius:999px;background:var(--sb-hover-surface);font-size:.6875rem;font-weight:600;line-height:1.4;letter-spacing:.05em;text-transform:uppercase;color:var(--sb-text-secondary)}.subject-shell__meta-chip svg{width:13px;height:13px;flex-shrink:0;opacity:.7}.subject-shell__rule{display:block;margin:0;padding:0;border:none;width:100%;height:1px;background:var(--sb-border)}.subject-shell__rule--meta{margin-top:34px}.subject-shell__rule--mid{margin-top:38px;background:rgba(var(--sb-rgb-accent),.2)}.subject-shell__md{margin-top:0;padding:0 0 18px}.subject-shell__md .note-reader-modal__simple-md{display:flex;flex-direction:column;gap:0}.subject-shell__md .note-reader-modal__h{margin:34px 0 0;height:24px;line-height:24px;font-family:var(--font),sans-serif;font-size:18px;font-weight:700;color:var(--sb-accent)}.subject-shell__md .note-reader-modal__h:first-child{margin-top:34px}.subject-shell__md .note-reader-modal__p{margin:18px 0 0;font-family:var(--font),sans-serif;font-size:18px;line-height:1.8;max-width:780px;color:var(--sb-body)}.subject-shell__md .note-reader-modal__p:first-of-type{margin-top:18px}.subject-shell__md .note-reader-modal__ul{margin:18px 0;padding-left:1.25rem;display:flex;flex-direction:column;gap:18px;max-width:780px}.subject-shell__md .note-reader-modal__ul li{font-size:18px;line-height:1.7;color:var(--sb-body)}.subject-shell__md .note-reader-modal__bq{margin:1rem 0 1.25rem;padding:1rem 1.125rem;border:none;border-left:3px solid var(--sb-accent-muted);background:var(--sb-panel);border-radius:12px;max-width:100%}.subject-shell__md .note-reader-modal__pre{margin:0 0 18px;border-radius:12px;border:1px solid var(--sb-border);max-width:780px}.subject-shell__md .note-reader-modal__pre code{font-size:15px}.subject-shell__md .note-reader-modal__img-placeholder{border-radius:14px;border:1px solid var(--sb-border)}.subject-shell__md .note-reader-modal__math--block{margin:22px 0;padding:18px 22px;border-radius:12px;background:var(--sb-panel);border:1px solid var(--sb-border);font-size:18px;overflow-x:auto;max-width:780px}.subject-shell__md .note-reader-modal__math--inline{font-size:1em}.subject-shell__md .note-reader-modal__table-wrap{margin:22px 0;overflow-x:auto;max-width:780px}.subject-shell__md .note-reader-modal__table{width:100%;border-collapse:collapse;font-size:14.5px}.subject-shell__md .note-reader-modal__table th,.subject-shell__md .note-reader-modal__table td{padding:10px 14px;border:1px solid var(--sb-border);text-align:left;vertical-align:top;color:var(--sb-body)}.subject-shell__md .note-reader-modal__table th{background:var(--sb-panel);font-weight:600;color:var(--sb-text)}.subject-shell__md .note-reader-modal__ol{margin:18px 0;padding-left:1.5rem;display:flex;flex-direction:column;gap:12px;max-width:780px}.subject-shell__md .note-reader-modal__ol li{font-size:18px;line-height:1.7;color:var(--sb-body)}.subject-shell__continue{margin:34px 0 0;padding:0;border:none}.subject-shell__continue-card--active{border-color:rgba(var(--sb-rgb-accent),.42);background:var(--sb-note-active);box-shadow:0 6px 22px rgba(var(--sb-rgb-accent),.1)}.subject-shell__continue-card--active h3{color:var(--sb-accent-deep)}.subject-shell__preview{margin:0}.subject-shell__preview-head{margin:28px 0 12px;font-family:var(--font-ui, var(--font)),system-ui,sans-serif;font-size:.875rem;font-weight:600;letter-spacing:-.01em;color:var(--sb-accent-deep)}.subject-shell__preview-head:first-child{margin-top:0}.subject-shell__preview-overview{margin:0;font-size:16px;line-height:1.65;color:var(--sb-body)}.subject-shell__preview-list{margin:0;padding:0 0 0 1.15rem;display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.55;color:var(--sb-body)}.subject-shell__preview-list li{padding-left:.15rem}.subject-shell__preview-list li::marker{color:var(--sb-accent)}.subject-shell__article-footer--accordions{display:flex;flex-direction:column;gap:8px}.subject-shell__footer-acc{border:1px solid var(--sb-border);border-radius:12px;background:var(--sb-canvas)}.subject-shell__footer-acc-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--sb-text-secondary);cursor:pointer;list-style:none}.subject-shell__footer-acc-summary::-webkit-details-marker{display:none}.subject-shell__footer-acc-count{font-size:10px;letter-spacing:.12em;color:var(--sb-text-secondary)}.subject-shell__footer-acc .subject-shell__resource-table,.subject-shell__footer-acc .subject-shell__up-next-list,.subject-shell__footer-acc .subject-shell__up-next-empty{padding:8px 16px 14px;margin:0}.subject-shell__footer-acc-icon{color:var(--rust-accent, #b86b52);font-size:11px;letter-spacing:0;text-transform:none}.subject-shell__ai-summary{padding:4px 16px 16px}.subject-shell__ai-summary-text{margin:0;font-family:var(--font),sans-serif;font-size:15px;line-height:1.7;color:var(--sb-body)}.subject-shell__ai-summary-loading{display:inline-flex;align-items:center;gap:5px;padding:6px 0}.subject-shell__ai-summary-dot{width:5px;height:5px;border-radius:50%;background:var(--rust-accent, #b86b52);animation:subject-shell-ai-summary-pulse 1s ease-in-out infinite}.subject-shell__ai-summary-dot:nth-child(2){animation-delay:.15s}.subject-shell__ai-summary-dot:nth-child(3){animation-delay:.3s}@keyframes subject-shell-ai-summary-pulse{0%,80%,to{opacity:.3;transform:scale(.85)}40%{opacity:1;transform:scale(1)}}.subject-shell__ai-summary-error{margin:0;font-size:13px;color:var(--rust-accent-deep, #9e624c);display:flex;align-items:center;gap:8px}.subject-shell__ai-summary-retry{border:none;background:none;color:var(--rust-accent, #b86b52);font-weight:600;text-decoration:underline;cursor:pointer;padding:0}.subject-shell__reader-scroll--browse{padding-block:0}.subject-shell__topics-inline{width:100%;padding-bottom:40px}.subject-shell__article-footer{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 32px;margin:40px 0 0;align-items:start}.subject-shell__continue-head{margin:0;font-family:var(--font),sans-serif;font-size:11px;font-weight:600;letter-spacing:.34em;text-transform:uppercase;height:24px;line-height:24px;color:var(--sb-accent)}.subject-shell__continue-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:22px}.subject-shell__continue-card{position:relative;height:124px;box-sizing:border-box;padding:20px;border-radius:18px;border:1px solid var(--sb-border);background:var(--sb-canvas);transition:border-color var(--sb-interactive-duration) var(--sb-interactive-ease),background-color var(--sb-interactive-duration) var(--sb-interactive-ease),box-shadow var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__continue-card:hover{border-color:rgba(var(--sb-rgb-accent),.32);background:var(--sb-hover-surface);box-shadow:0 6px 22px rgba(var(--sb-rgb-accent),.08)}.subject-shell__continue-card:hover h3{color:var(--sb-accent-deep)}.subject-shell__continue-card:hover .subject-shell__continue-arrow{opacity:.9;color:var(--sb-accent-deep)}.subject-shell__continue-card svg{width:22px;height:22px;color:var(--sb-accent);margin-bottom:8px;transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__continue-card:hover svg{color:var(--sb-accent-deep)}.subject-shell__continue-card h3{margin:0;font-family:var(--font),sans-serif;font-size:16px;font-weight:700;color:var(--sb-text);transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__continue-card p{margin:6px 0 0;font-size:13px;line-height:1.45;color:var(--sb-text-secondary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.subject-shell__continue-arrow{position:absolute;right:20px;bottom:18px;font-size:16px;color:var(--sb-accent);opacity:.55;transition:opacity var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__resources-section{margin:0;padding:0;max-width:none}.subject-shell__resources-head{margin:0 0 18px;font-family:var(--font),sans-serif;font-size:11px;font-weight:600;letter-spacing:.32em;text-transform:uppercase;height:24px;line-height:24px;color:var(--sb-accent)}.subject-shell__resource-table{list-style:none;margin:0;padding:0}.subject-shell__resource-row{width:100%;box-sizing:border-box;height:56px;padding:0 14px;border:none;border-bottom:1px solid var(--sb-border);background:transparent;display:flex;align-items:center;justify-content:space-between;gap:12px;font:inherit;font-size:15px;font-weight:500;color:var(--sb-text);cursor:pointer;text-align:left;border-radius:12px;transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__resource-table>li:last-child .subject-shell__resource-row{border-bottom:none}.subject-shell__resource-row:hover{color:var(--sb-accent-deep);background:var(--sb-hover-surface)}.subject-shell__resource-row:hover .subject-shell__resource-row-left svg{color:var(--sb-accent)}.subject-shell__resource-row:hover .subject-shell__resource-tag{color:var(--sb-accent-muted)}.subject-shell__resource-row:active{background:var(--sb-pressed-surface);color:var(--sb-accent-deep)}.subject-shell__resource-row-left{display:flex;align-items:center;gap:12px;min-width:0}.subject-shell__resource-row-left svg{width:18px;height:18px;flex-shrink:0;color:var(--sb-text-secondary);transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__resource-tag{font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--sb-text-label);transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__up-next{margin:0;padding:24px 22px 22px;max-width:none;border-radius:18px;border:1px solid var(--sb-border);background:var(--sb-canvas)}.subject-shell__up-next-head{margin:0 0 16px;font-family:var(--font),sans-serif;font-size:11px;font-weight:600;letter-spacing:.28em;text-transform:uppercase;color:var(--sb-accent)}.subject-shell__up-next-empty{margin:0;font-size:15px;line-height:1.55;color:var(--sb-text-secondary)}.subject-shell__up-next-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.subject-shell__up-next-row{width:100%;display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border-radius:14px;border:1px solid transparent;background:rgba(var(--sb-rgb-accent),.05);font:inherit;font-weight:500;color:var(--sb-text);cursor:pointer;text-align:left;transition:background-color var(--sb-interactive-duration) var(--sb-interactive-ease),border-color var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__up-next-title{font-size:15px;line-height:1.35;color:var(--sb-text);transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__up-next-line{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px}.subject-shell__up-next-sku{font-size:13px;font-weight:700;letter-spacing:.02em;color:var(--sb-accent);transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__up-next-row:hover{background:var(--sb-hover-surface);border-color:rgba(var(--sb-rgb-accent),.28);color:var(--sb-accent-deep)}.subject-shell__up-next-row:hover .subject-shell__up-next-title,.subject-shell__up-next-row:hover .subject-shell__up-next-sku{color:var(--sb-accent-deep)}.subject-shell__up-next-row:hover svg:first-of-type{color:var(--sb-accent)}.subject-shell__up-next-row:hover svg:last-of-type{opacity:.6;color:var(--sb-accent)}.subject-shell__up-next-row:active{background:var(--sb-pressed-surface);border-color:rgba(var(--sb-rgb-accent),.38)}.subject-shell__up-next-row svg:first-of-type{width:18px;height:18px;flex-shrink:0;color:var(--sb-text-secondary);margin-top:2px;transition:color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__up-next-row svg:last-of-type{margin-left:auto;width:16px;height:16px;opacity:.35;flex-shrink:0;margin-top:4px;transition:opacity var(--sb-interactive-duration) var(--sb-interactive-ease),color var(--sb-interactive-duration) var(--sb-interactive-ease)}.subject-shell__reader-scroll--flashcards{padding:28px clamp(24px,4vw,48px) 48px}.subject-shell__article-frame--wide{max-width:1080px;padding-right:0;padding-bottom:48px}.subject-shell__flashcards-intro{margin-top:20px;display:flex;flex-direction:column;gap:14px;max-width:760px}.subject-shell__article-title--compact{margin:6px 0 0;font-size:clamp(2.5rem,calc(1.6rem + 2.8vw),4.5rem)}.subject-shell__flashcards-blurb{margin:0;max-width:640px;font-family:var(--font),sans-serif;font-size:17px;line-height:1.55;color:var(--sb-text-secondary)}.subject-shell__continue-card--button{display:block;width:100%;text-align:left;font:inherit;cursor:pointer;-webkit-appearance:none;appearance:none}.subject-shell__continue-card--button:focus-visible{outline:none;box-shadow:0 0 0 2px var(--sb-canvas),0 0 0 4px rgba(var(--sb-rgb-accent),.32)}@media(max-width:1279px){.subject-shell{padding:0;height:100vh;height:100dvh;width:100vw;row-gap:0}.subject-shell__app-bar{padding-inline:8px}.subject-shell__app-bar-breadcrumb{display:none}.subject-shell__chrome{grid-template-columns:minmax(0,1fr);grid-auto-rows:auto;border-radius:0}.subject-shell__chrome--mode-flashcards{grid-template-columns:minmax(0,1fr)}.subject-shell__chrome--mode-flashcards .subject-shell__reader{grid-column:1}.subject-shell__sidebar{width:100%;height:auto;max-height:min(42dvh,420px);border-right:none;border-bottom:1px solid var(--sb-divider-col)}.subject-shell__topics{width:100%;height:auto;max-height:min(38dvh,420px);border-right:none;border-bottom:1px solid var(--sb-divider-col)}.subject-shell__reader{grid-column:1;min-height:min(52dvh,560px)}.subject-shell__article-frame{padding-bottom:28px;max-width:none;padding-right:0}.subject-shell__continue-grid,.subject-shell__article-footer{grid-template-columns:1fr}.subject-shell__crumbs{max-width:calc(100% - 108px)}}@media(max-width:860px){.subject-shell__sidebar{max-height:min(36dvh,320px)}.subject-shell__topics{max-height:min(32dvh,280px)}.subject-shell__reader{min-height:min(58dvh,640px)}.subject-shell__reader-scroll--progress{overflow-y:auto;-webkit-overflow-scrolling:touch}html.rd-subject-shell .subject-shell--rd .subject-shell__nav{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;scrollbar-width:none}html.rd-subject-shell .subject-shell--rd .subject-shell__nav::-webkit-scrollbar{display:none}html.rd-subject-shell .subject-shell--rd .subject-shell__nav-btn{flex:0 0 auto;min-width:4.75rem}.subject-shell__sidebar-foot{flex-wrap:wrap;gap:.45rem}.subject-shell__sidebar-foot .subject-shell__sidebar-search{flex:1 1 100%}}.subject-shell__nav-btn--coming{opacity:.65}.subject-shell__nav-btn--coming:hover{background:var(--sb-hover-surface);color:var(--sb-text-secondary)}.subject-shell__nav-btn-badge{margin-left:auto;padding:2px 7px;font-size:9.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;border-radius:999px;background:rgba(var(--sb-rgb-accent),.12);color:var(--sb-accent);border:1px solid rgba(var(--sb-rgb-accent),.22)}.subject-shell__nav-btn[aria-selected=true] .subject-shell__nav-btn-badge{background:#ffffff2e;color:var(--paper-panel);border-color:#ffffff52}.subject-shell__progress-detail{display:block;margin-top:2px;font-size:10.5px;font-weight:500;letter-spacing:.04em;text-transform:none;color:var(--sb-text-faint)}.subject-shell__topics-area{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.subject-shell__topics-count{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--sb-text-faint)}.subject-shell__topics-search{position:relative}.subject-shell__search-clear,.subject-shell__search-kbd{position:absolute;right:8px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:4px;pointer-events:none}.subject-shell__search-clear{pointer-events:auto;width:22px;height:22px;display:grid;place-items:center;border-radius:8px;border:1px solid transparent;background:transparent;font-size:16px;color:var(--sb-text-faint);cursor:pointer;transition:color .16s ease,background-color .16s ease,border-color .16s ease}.subject-shell__search-clear:hover{color:var(--sb-accent);background:rgba(var(--sb-rgb-accent),.08);border-color:rgba(var(--sb-rgb-accent),.22)}.subject-shell__search-kbd kbd{display:inline-block;padding:1px 5px;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:9.5px;font-weight:700;color:var(--sb-text-faint);background:#6a5f560a;border:1px solid var(--sb-border);border-radius:5px}.subject-shell__acc-item{content-visibility:auto;contain-intrinsic-size:auto 52px}.subject-shell__acc-panel-wrap{overflow:hidden}.subject-shell__acc-panel-wrap>.subject-shell__acc-panel{animation:subject-acc-panel-in .24s cubic-bezier(.22,1,.36,1) both;will-change:transform,opacity}@keyframes subject-acc-panel-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.subject-shell__acc-chev-text{display:inline-block;transition:transform .2s ease;transform-origin:50% 50%;font-size:9px;color:var(--sb-text-faint)}.subject-shell__acc-chev-text--open{transform:rotate(90deg);color:var(--sb-accent)}.subject-shell__crumb--link{appearance:none;border:none;background:transparent;padding:0;font:inherit;color:var(--sb-text-secondary);cursor:pointer;text-decoration:none;border-bottom:1px dashed transparent;transition:color .16s ease,border-color .16s ease}.subject-shell__crumb--link:hover{color:var(--sb-accent);border-bottom-color:rgba(var(--sb-rgb-accent),.5)}.subject-shell__reader-mode-fader{animation:mode-fade-in .28s cubic-bezier(.22,1,.36,1) both;will-change:transform,opacity}@keyframes mode-fade-in{0%{opacity:.85;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.subject-shell__reader-empty-kicker{margin:0;font-family:var(--font);font-size:11px;font-weight:700;letter-spacing:.32em;text-transform:uppercase;color:var(--sb-accent)}.subject-shell__reader-empty--mode .subject-shell__reader-empty-title{font-family:var(--font-ui, var(--font)),system-ui,sans-serif;font-size:clamp(1.25rem,1.1rem + .4vw,1.5rem);font-weight:600;letter-spacing:-.02em;color:var(--sb-text);margin-top:8px}.subject-shell__reader-empty-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:6px}.subject-shell__primary-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 22px;border-radius:12px;border:1px solid var(--sb-accent-deep);background:var(--sb-accent);color:var(--paper-panel);font:inherit;font-family:var(--font);font-size:13px;font-weight:600;letter-spacing:.01em;cursor:pointer;transition:filter .16s ease,background-color .16s ease}.subject-shell__primary-btn:hover{filter:brightness(1.05)}.subject-shell__ghost-btn{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 22px;border-radius:12px;border:1px solid var(--sb-border);background:var(--sb-panel);color:var(--sb-text);font:inherit;font-family:var(--font);font-size:13px;font-weight:600;letter-spacing:.01em;cursor:pointer;transition:border-color .16s ease,color .16s ease,background-color .16s ease}.subject-shell__ghost-btn:hover{border-color:var(--sb-accent-muted);color:var(--sb-accent);background:var(--sb-hover-surface)}.subject-shell__pin-marker{margin-left:auto;color:var(--sb-accent);display:inline-flex;align-items:center;justify-content:center}.subject-shell__mini-empty{padding:6px 8px;font-size:11px;color:var(--sb-text-faint);line-height:1.4;border-radius:8px}@media print{body.stack-print-mode .hero-stage,body.stack-print-mode .system-strip__nav,body.stack-print-mode .system-strip__edge,body.stack-print-mode .system-strip__lines,body.stack-print-mode .subject-shell__app-bar,body.stack-print-mode .subject-shell__sidebar,body.stack-print-mode .subject-shell__topics,body.stack-print-mode .subject-shell__reader-top,body.stack-print-mode .subject-shell__up-next,body.stack-print-mode .subject-shell__continue,body.stack-print-mode .toast-stack,body.stack-print-mode .kbd-help{display:none!important}body.stack-print-mode .subject-shell,body.stack-print-mode .subject-shell__chrome{position:static!important;height:auto!important;width:auto!important;box-shadow:none!important;border:none!important;background:#fff!important;display:block!important;overflow:visible!important}body.stack-print-mode .subject-shell__reader,body.stack-print-mode .subject-shell__reader-scroll,body.stack-print-mode .subject-shell__article-frame,body.stack-print-mode .subject-shell__article{width:auto!important;max-width:none!important;padding:0!important;overflow:visible!important}body.stack-print-mode .subject-shell__article-title{color:#000!important}}@media(prefers-reduced-motion:reduce){.subject-shell__reader-mode-fader,.subject-shell__acc-panel-wrap>.subject-shell__acc-panel,.subject-shell__acc-chev-text{transition:none;animation:none;will-change:auto}}.subject-shell.subject-bio{--sb-rgb-accent: 52, 211, 153;--sb-accent: #34d399;--sb-accent-muted: rgba(52, 211, 153, .55);--sb-accent-deep: #059669;--accent-rgb: 52, 211, 153;--rust-accent: #34d399;--rust-accent-soft: rgba(52, 211, 153, .55);--rust-accent-deep: #059669}.subject-shell.subject-chem{--sb-rgb-accent: 251, 113, 133;--sb-accent: #fb7185;--sb-accent-muted: rgba(251, 113, 133, .55);--sb-accent-deep: #e11d48;--accent-rgb: 251, 113, 133;--rust-accent: #fb7185;--rust-accent-soft: rgba(251, 113, 133, .55);--rust-accent-deep: #e11d48}.subject-shell.subject-math{--sb-rgb-accent: 56, 189, 248;--sb-accent: #38bdf8;--sb-accent-muted: rgba(56, 189, 248, .55);--sb-accent-deep: #0284c7;--accent-rgb: 56, 189, 248;--rust-accent: #38bdf8;--rust-accent-soft: rgba(56, 189, 248, .55);--rust-accent-deep: #0284c7}.subject-shell.subject-phys{--sb-rgb-accent: 252, 211, 77;--sb-accent: #fcd34d;--sb-accent-muted: rgba(252, 211, 77, .65);--sb-accent-deep: #d97706;--accent-rgb: 252, 211, 77;--rust-accent: #fcd34d;--rust-accent-soft: rgba(252, 211, 77, .65);--rust-accent-deep: #d97706}
