/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:host,:root{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.static{position:static}.z-5{z-index:5}.z-79{z-index:79}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:0}.m-7{margin:calc(var(--spacing) * 7)}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.table{display:table}.h-3{height:calc(var(--spacing) * 3)}.h-full{height:100%}.min-h-full{min-height:100%}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.flex-col{flex-direction:column}.italic{font-style:italic}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}}*{box-sizing:border-box}body,html{background:var(--bg);min-height:100%;color:var(--text);margin:0}button,input{font:inherit}button{color:inherit}svg{width:21px;height:21px}.app-shell{background:radial-gradient(circle at 70% -10%,#19152c 0,transparent 28%),var(--bg);min-height:100vh}.sidebar{border-right:1px solid var(--line);z-index:10;background:#0d0d11;flex-direction:column;width:238px;padding:26px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px 30px;font-size:20px;display:flex}.brand span,.mobile-brand{background:linear-gradient(135deg,var(--purple),#5d4bd6);border-radius:9px;place-items:center;width:32px;height:32px;font-weight:900;display:grid}.sidebar nav{gap:7px;display:grid}.sidebar nav button{color:#9897a4;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:10px;align-items:center;gap:12px;height:45px;padding:0 13px;display:flex}.sidebar nav button.active,.sidebar nav button:hover{color:#fff;background:#1c1a29}.sidebar-bottom{border-top:1px solid var(--line);align-items:center;gap:10px;margin-top:auto;padding:16px 8px 2px;display:flex}.avatar{color:#bbb6ee;background:#25232e;border-radius:50%;place-items:center;width:36px;height:36px;font-size:12px;font-weight:800;display:grid}.sidebar-bottom b,.sidebar-bottom small{font-size:12px;display:block}.sidebar-bottom small{color:var(--muted);margin-top:3px}.main{min-height:100vh;margin-left:238px}header{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:5;background:#0b0b0ecc;justify-content:flex-end;gap:18px;height:82px;padding:0 4vw;position:sticky;top:0}.search,header{align-items:center;display:flex}.search{border:1px solid var(--line);color:#777581;background:#111116;border-radius:11px;gap:10px;width:min(390px,42vw);height:42px;padding:0 13px}.search input{color:#fff;background:0 0;outline:0;width:100%}.primary,.search input{border:0;font-size:13px}.primary{background:linear-gradient(135deg,var(--purple),var(--purple2));cursor:pointer;border-radius:10px;align-items:center;gap:8px;height:42px;padding:0 17px;font-weight:700;display:flex;box-shadow:0 8px 28px #725fff2a}.primary svg{width:17px}.page{max-width:1160px;margin:auto;padding:58px 4vw 80px}.eyebrow{color:#85838f;letter-spacing:.16em;text-transform:uppercase;font-size:11px;font-weight:800}.hero-title{justify-content:space-between;align-items:end;margin:12px 0 38px;display:flex}.hero-title h1,.page-heading h1{letter-spacing:-.04em;margin:0 0 9px;font-size:38px}.hero-title p,.page-heading p{color:var(--muted);margin:0;font-size:15px}.streak{border:1px solid var(--line);background:#111116;border-radius:13px;align-items:center;gap:11px;padding:11px 15px;display:flex}.streak span{font-size:22px}.streak b,.streak small{display:block}.streak small{color:var(--muted);margin-top:3px;font-size:10px}.review-banner{background:linear-gradient(115deg,#1a1628,#121218 65%);border:1px solid #37304e;border-radius:20px;align-items:center;gap:32px;min-height:185px;padding:32px 36px;display:flex;position:relative;overflow:hidden}.stack-art{flex:none;width:125px;height:110px;position:relative}.stack-art i{background:#242033;border:1px solid #51486f;border-radius:12px;width:82px;height:102px;position:absolute;left:12px;transform:rotate(-12deg)}.stack-art i:nth-child(3){background:linear-gradient(140deg,#8172ed,#5847c8);place-items:center;display:grid;left:34px;transform:rotate(5deg)}.review-banner>div:nth-child(2){flex:1}.pill{color:#b2a9ff;background:#8b7cf61c;border-radius:99px;padding:7px 10px;font-size:9px;font-weight:800;display:inline-block}.review-banner p{color:var(--muted);margin:0;font-size:13px}.review-banner>button{color:#17151d;cursor:pointer;background:#fff;border:0;border-radius:11px;align-items:center;gap:12px;height:45px;padding:0 18px;font-size:13px;font-weight:800;display:flex}.review-banner>button svg{width:16px}.section-head{justify-content:space-between;align-items:end;margin:48px 0 20px;display:flex}.section-head h2{margin:0 0 7px;font-size:19px}.section-head p{color:var(--muted);margin:0;font-size:12px}.section-head button{color:#9d93f7;cursor:pointer;background:0 0;border:0;align-items:center;gap:5px;font-size:12px;display:flex}.section-head svg{width:14px}.subject-grid{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.subject-card{text-align:left;border:1px solid var(--line);cursor:pointer;background:linear-gradient(145deg,#15151b,#111116);border-radius:15px;padding:21px;transition:all .2s}.subject-card:hover{border-color:#494653;transform:translateY(-3px)}.subject-icon{border-radius:11px;place-items:center;width:42px;height:42px;display:grid}.subject-card p{color:var(--muted);margin:0;font-size:11px}.subject-meta{border-top:1px solid var(--line);color:#aaa9b4;justify-content:space-between;align-items:center;margin-top:19px;padding-top:15px;font-size:11px;display:flex}.mini-arrow{background:#24232b;border-radius:7px;place-items:center;width:25px;height:25px;display:grid}.mini-arrow svg{width:13px}.page-heading{margin-bottom:36px}.page-heading h1{margin-top:10px}.library-list{gap:14px;display:grid}.library-subject{border:1px solid var(--line);background:#111116;border-radius:16px;overflow:hidden}.library-subject-head{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:14px;width:100%;padding:18px 20px;display:flex}.library-subject-head>div{flex:1}.library-subject-head h2{margin:0 0 4px;font-size:15px}.library-subject-head p{color:var(--muted);margin:0;font-size:11px}.chevron{color:var(--muted);transition:all .2s}.chevron.down{transform:rotate(90deg)}.chapters{gap:12px;padding:0 20px 20px 76px;display:grid}.chapter{background:#17171d;border:1px solid #25242d;border-radius:12px;padding:16px}.chapter-head{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.chapter-head small{color:#73717d;letter-spacing:.12em;font-size:8px;font-weight:800}.chapter-head h3{margin:4px 0 0;font-size:14px}.ghost{cursor:pointer;background:#1c1b23;border:1px solid #34323e;border-radius:8px;align-items:center;gap:5px;padding:7px 10px;font-size:10px;display:flex}.ghost svg{width:13px}.set-row{border-top:1px solid #292832;align-items:center;gap:12px;padding:12px 0;display:flex}.set-row>span{color:#9387f4}.set-row>div{flex:1}.set-row b,.set-row small{font-size:12px;display:block}.set-row small{color:var(--muted);margin-top:4px;font-size:9px}.study-small{cursor:pointer;background:#7869e8;border:0;border-radius:7px;padding:7px 10px;font-size:10px;font-weight:700}.study-small:disabled{opacity:.35;cursor:not-allowed}.empty-line{color:#777581;font-size:11px}.add-chapter{color:#9f95f5;cursor:pointer;background:0 0;border:0;justify-self:start;align-items:center;gap:5px;padding:6px 0;font-size:11px;display:flex}.add-chapter svg{width:14px}.review-page{max-width:880px}.review-top{justify-content:space-between;align-items:end;display:flex}.review-top h1{margin:8px 0 0;font-size:23px}.progress-label{color:#787681;font-size:12px}.progress-label b{color:#fff}.progress{background:#25242c;border-radius:4px;height:3px;margin:20px 0 55px;overflow:hidden}.progress i{height:100%;transition:all .25s;display:block}.swipe-zone{-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;height:400px;display:flex;position:relative}.flashcard{perspective:1000px;cursor:grab;touch-action:none;width:min(560px,70vw);height:350px;transition:transform .15s}.flashcard:active{cursor:grabbing;transition:none}.card-inner{width:100%;height:100%;transform-style:preserve-3d;transition:transform .45s;position:relative}.flashcard.flipped .card-inner{transform:rotateY(180deg)}.card-face{backface-visibility:hidden;text-align:center;background:radial-gradient(circle at 80% 0,#29223f,#0000 40%),#17171e;border:1px solid #3a3748;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;padding:50px;display:flex;position:absolute;inset:0;box-shadow:0 30px 80px #0006}.card-face.back{background:radial-gradient(circle at 20% 100%,#24203b,#0000 45%),#17171e;transform:rotateY(180deg)}.card-face small{color:#9288e9;letter-spacing:.17em;font-size:9px;font-weight:900}.card-face p{margin:28px 0;font-size:24px;line-height:1.45}.card-face span{color:#6f6d78;font-size:10px;position:absolute;bottom:25px}.decision{opacity:0;border:2px solid;border-radius:8px;padding:9px 12px;font-size:12px;font-weight:900;transition:all .15s;position:absolute;top:55px}.decision.show{opacity:1}.decision.left{color:#f17483;left:0;transform:rotate(-8deg)}.decision.right{color:#50d5a4;right:0;transform:rotate(8deg)}.review-actions{justify-content:center;gap:18px;margin-top:34px;display:flex}.review-actions button{border:1px solid var(--line);cursor:pointer;text-align:left;background:#131319;border-radius:12px;align-items:center;gap:12px;min-width:190px;padding:12px 17px;display:flex}.review-actions span{flex:1}.review-actions b,.review-actions small{display:block}.review-actions b{font-size:12px}.review-actions small{color:var(--muted);margin-top:4px;font-size:9px}.review-again svg{color:#ee7180}.done{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:65vh;display:flex}.done>div{color:#a99efc;background:#282340;border-radius:50%;place-items:center;width:62px;height:62px;font-size:26px;display:grid}.done h1{margin:22px 0 8px;font-size:26px}.done p{color:var(--muted);font-size:13px}.done .primary{margin-top:16px}.modal-backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:50;background:#000a;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#15151b;border:1px solid #35333f;border-radius:18px;width:min(430px,100%);padding:30px;box-shadow:0 30px 90px #000}.modal-icon{color:#9e92f5;background:#292441;border-radius:12px;place-items:center;width:46px;height:46px;display:grid}.modal h2{margin:20px 0 8px;font-size:21px}.modal p{color:var(--muted);margin:0 0 25px;font-size:12px}.modal label{margin-bottom:8px;font-size:11px;font-weight:700;display:block}.modal>input{color:#fff;background:#0e0e13;border:1px solid #34323e;border-radius:9px;outline:0;width:100%;height:44px;padding:0 13px}.modal-actions{justify-content:flex-end;gap:10px;margin-top:25px;display:flex}.modal-actions>button:not(.primary){color:#aaa8b2;cursor:pointer;background:0 0;border:0;padding:0 12px}.mobile-brand,.mobile-nav{display:none}@media (max-width:800px){.sidebar{display:none}.main{margin:0}.mobile-nav{z-index:20;border-top:1px solid var(--line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#111116ef;justify-content:space-around;height:68px;display:flex;position:fixed;inset:auto 0 0}.mobile-nav button{color:#74727d;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;display:flex}.mobile-nav button.active{color:#a99eff}.mobile-nav svg{width:19px}.mobile-nav small{font-size:9px}.mobile-brand{display:grid}header{justify-content:space-between;height:70px;padding:0 18px}.search{display:none}.primary{padding:0 12px}.page{padding:40px 20px 100px}.hero-title{align-items:start}.hero-title h1{font-size:31px}.streak{display:none}.review-banner{padding:25px;display:block}.stack-art{display:none}.review-banner>button{margin-top:24px}.subject-grid{grid-template-columns:1fr 1fr}.chapters{padding:0 12px 15px}.set-row{flex-wrap:wrap}.set-row>div{min-width:45%}.swipe-zone{height:350px}.flashcard{width:88vw;height:315px}.card-face{padding:34px}.card-face p{font-size:20px}.decision{z-index:2}.review-actions{gap:10px}.review-actions button{flex:1;min-width:0}.review-page{padding-left:12px;padding-right:12px}.progress{margin-bottom:34px}}@media (max-width:520px){.subject-grid{grid-template-columns:1fr}.hero-title h1{font-size:28px}.review-banner h2{font-size:21px}.review-actions small{display:none}.chapter-head{align-items:start;gap:8px}.ghost{white-space:nowrap}}:root{--bg:#0b0c10;--panel:#14161b;--line:#23262d;--muted:#8a8a86;--text:#d7d7d5;--purple:#66fcf1;--purple2:#36c9bf}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.app-shell,.sidebar{background:var(--bg)}.sidebar{width:224px;padding:24px 18px}.main{margin-left:224px}.brand{text-align:left;padding:0 8px 34px}.brand>div{flex-direction:column;gap:2px;display:flex}.brand strong{letter-spacing:.01em;font-size:15px}.brand small{color:var(--muted);font:10px ui-monospace,SFMono-Regular,Menlo,monospace;display:block}.brand span,.mobile-brand{border:1px solid var(--purple);width:31px;height:31px;color:var(--purple);background:0 0;border-radius:4px;font:700 14px ui-monospace,SFMono-Regular,Menlo,monospace}.sidebar nav{gap:3px}.sidebar nav:before{content:"NAVIGATION";color:var(--muted);letter-spacing:.1em;padding:0 10px 10px;font:600 9px ui-monospace,SFMono-Regular,Menlo,monospace}.sidebar nav button{border:1px solid #0000;border-radius:4px;height:40px;padding:0 10px;font-size:12px}.sidebar nav button:hover{color:var(--text);border-color:var(--line);background:0 0}.sidebar nav button.active{color:var(--purple);background:var(--panel);border-color:var(--line)}.sidebar nav button.active svg{color:var(--purple)}.sidebar nav svg{width:17px}.avatar{border:1px solid var(--line);background:var(--panel);width:32px;height:32px;color:var(--muted);border-radius:4px;font:700 10px ui-monospace,SFMono-Regular,Menlo,monospace}header{background:#0b0c10ed;gap:14px;height:76px;padding:0 3vw}.header-label{flex-direction:column;gap:4px;margin-right:auto;display:flex}.header-label span{letter-spacing:.1em;color:var(--muted);font:600 9px ui-monospace,SFMono-Regular,Menlo,monospace}.header-label b{font-size:12px;font-weight:500}.search{width:min(270px,30vw);height:36px;color:var(--muted);background:0 0;border-radius:4px;padding:0 11px}.search svg{width:15px}.search input{color:var(--text);font-size:11px}.primary{border:1px solid var(--purple);height:36px;color:var(--purple);box-shadow:none;background:0 0;border-radius:4px;padding:0 13px;font-size:11px}.primary:hover{background:#66fcf10c}.page{max-width:960px;padding:56px 4vw 80px}.eyebrow{color:var(--muted);letter-spacing:.12em;font:600 10px ui-monospace,SFMono-Regular,Menlo,monospace}.hero-title{margin:14px 0 42px}.hero-title h1,.page-heading h1{letter-spacing:-.025em;font-size:30px}.hero-title p,.page-heading p{font-size:13px}.streak{border:0;border-left:1px solid var(--line);background:0 0;border-radius:0;padding:4px 0 4px 18px}.streak span{color:var(--purple);font:600 24px ui-monospace,SFMono-Regular,Menlo,monospace}.streak b{font-size:11px}.streak small{font-size:9px}.review-banner{border-color:var(--line);background:var(--panel);border-radius:6px;gap:28px;min-height:164px;padding:28px 30px}.review-banner:before{content:"";background:var(--purple);width:2px;position:absolute;inset:0 auto 0 0}.stack-art{width:105px;height:88px}.stack-art i{background:#101217;border-color:#363a43;border-radius:4px;width:67px;height:82px;left:10px;transform:rotate(-8deg)}.stack-art i:nth-child(2){background:#12151a;left:19px;transform:rotate(-3deg)}.stack-art i:nth-child(3){color:var(--purple);background:#181b20;left:28px;transform:rotate(3deg)}.stack-art svg{width:25px;height:25px}.pill{color:var(--purple);letter-spacing:.12em;background:0 0;padding:0;font:600 9px ui-monospace,SFMono-Regular,Menlo,monospace}.review-banner h2{margin:13px 0 7px;font-size:21px}.review-banner p{font-size:11px}.review-banner>button{border:1px solid var(--line);height:38px;color:var(--text);background:0 0;border-radius:4px;font-size:11px}.review-banner>button:hover{color:var(--purple);border-color:var(--purple)}.section-head{margin-top:44px}.section-head button{color:var(--purple)}.subject-grid{gap:10px}.subject-card{border-color:var(--line);background:0 0;border-radius:5px;padding:18px}.subject-card:hover{background:var(--panel);border-color:#3a3e46;transform:none}.subject-icon svg{width:16px}.subject-card h3{margin:23px 0 5px;font-size:14px}.subject-meta{font:10px ui-monospace,SFMono-Regular,Menlo,monospace}.mini-arrow{border:1px solid var(--line);background:0 0;border-radius:3px;width:22px;height:22px}.library-subject{background:0 0;border-radius:5px}.library-subject-head{padding:16px 18px}.chapters{padding-left:66px}.chapter{background:var(--panel)}.chapter,.ghost{border-color:var(--line);border-radius:4px}.ghost,.study-small{background:0 0}.study-small{border:1px solid var(--purple);border-radius:4px}.add-chapter,.study-small{color:var(--purple)}.progress i{background:var(--purple)}.flashcard{width:min(570px,70vw)}.card-face{background:var(--panel);border-color:#30343b;border-radius:7px;box-shadow:0 24px 60px #0005}.card-face.back{background:#111319}.card-face small{color:var(--purple);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.review-actions button{background:0 0;border-radius:4px}.review-actions button:hover{background:var(--panel)}.review-ok svg{color:var(--purple)}.modal{border-color:var(--line);background:var(--panel);border-radius:6px}.modal-icon{border:1px solid var(--purple);color:var(--purple);background:0 0;border-radius:4px}.modal>input{border-color:var(--line);background:var(--bg);border-radius:4px}.modal>input:focus{border-color:var(--purple)}@media (max-width:800px){.main{margin:0}.header-label{display:none}.mobile-nav{background:#0b0c10f2}.mobile-nav button.active{color:var(--purple)}.page{padding-top:40px}.review-banner{border-radius:5px}.app-shell,.main{min-height:100dvh}header{height:calc(62px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0}.mobile-brand{width:30px;height:30px}.primary{min-height:38px}.mobile-nav{height:calc(62px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.mobile-nav button{min-width:72px;min-height:54px}.page{width:100%;max-width:520px;padding:32px 18px calc(90px + env(safe-area-inset-bottom))}.hero-title{margin:12px 0 30px}.hero-title h1,.page-heading h1{font-size:27px}.review-banner{min-height:0;padding:22px}.review-banner>button{justify-content:space-between;width:100%;min-height:44px}.section-head{margin-top:36px}.subject-card{min-height:150px}.library-subject-head{min-height:68px}.add-chapter,.ghost,.study-small{min-height:36px}.review-top h1{font-size:19px}.progress{margin:16px 0 25px}.swipe-zone{height:min(55dvh,430px)}.flashcard{width:calc(100vw - 36px);height:min(48dvh,390px)}.card-face{padding:32px 25px}.card-face p{font-size:clamp(19px,5.5vw,24px)}.review-actions{bottom:calc(72px + env(safe-area-inset-bottom));margin-top:16px;position:sticky}.review-actions button{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0b0c10e8;min-height:52px}.modal-backdrop{padding:16px 16px calc(16px + env(safe-area-inset-bottom))}.modal{border-radius:6px;align-self:end;width:100%;padding:24px}.modal>input{height:48px}.modal-actions .primary{min-height:44px}}@media (max-width:420px){.primary{font-size:10px}.subject-grid{grid-template-columns:1fr}.subject-card{min-height:138px}.review-actions b{font-size:11px}}.review-banner{border-color:#353941;transition:box-shadow .18s,border-color .18s;transform:translateY(-4px);box-shadow:0 16px 34px #0005}.review-banner:before{display:none}.review-banner:hover{border-color:#3e434c;box-shadow:0 19px 40px #0006}.mobile-nav{gap:clamp(70px,24vw,150px);justify-content:center!important}.library-page{max-width:820px}.back-link{color:var(--muted);cursor:pointer;background:0 0;border:0;padding:0 0 24px;font-size:11px}.back-link:hover{color:var(--purple)}.section-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-bottom:14px;padding-bottom:12px;display:flex}.section-toolbar>span{color:var(--muted);letter-spacing:.1em;font:600 9px ui-monospace,SFMono-Regular,Menlo,monospace}.course-sections{gap:30px;display:grid}.course-section{min-width:0}.course-section-title{justify-content:space-between;align-items:baseline;margin-bottom:11px;display:flex}.course-section-title h2{margin:0;font-size:15px}.course-section-title span{color:var(--muted);font-size:10px}.chapter-grid,.library-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.chapter-card,.library-subject-card{border:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;border-radius:5px;align-items:center;gap:12px;min-width:0;min-height:76px;padding:13px;display:flex}.chapter-card:hover,.library-subject-card:hover{background:var(--panel);border-color:#3a3e46}.chapter-card>div,.library-subject-card>div{flex:1;min-width:0}.chapter-card b,.chapter-card span,.library-subject-card b,.library-subject-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.chapter-card b,.library-subject-card b{font-size:12px}.chapter-card span,.library-subject-card small{color:var(--muted);margin-top:5px;font-size:9px}.chapter-card>svg,.library-subject-card>svg{width:14px;color:var(--muted);flex:none}.chapter-card>small{color:var(--purple);font:600 10px ui-monospace,SFMono-Regular,Menlo,monospace}.set-list{gap:8px;display:grid}.set-card{border:1px solid var(--line);border-radius:5px;align-items:center;gap:11px;min-width:0;min-height:68px;padding:12px 14px;display:flex}.set-card>span{color:var(--purple);flex:none}.set-card>span svg{width:17px}.set-card>div{flex:1;min-width:0}.set-card b,.set-card small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.set-card b{font-size:12px}.set-card small{color:var(--muted);margin-top:4px;font-size:9px}.library-empty{border:1px dashed var(--line);color:var(--muted);text-align:center;border-radius:5px;grid-column:1/-1;padding:26px;font-size:11px}@media (max-width:600px){.chapter-grid,.library-subject-grid{grid-template-columns:1fr}.course-sections{gap:26px}.chapter-card,.library-subject-card{width:100%;max-width:100%;min-height:70px}.set-card{grid-template-columns:auto minmax(0,1fr) auto;display:grid}.set-card .ghost{grid-column:2}.set-card .study-small{grid-area:1/3}.section-toolbar{gap:12px}.section-toolbar .ghost{flex:none}.review-banner{transform:translateY(-3px);box-shadow:0 14px 30px #0007}}.toolbar-actions{gap:8px;display:flex}.ghost:disabled{opacity:.35;cursor:not-allowed}.card-manager{gap:8px;display:grid}.managed-card{border:1px solid var(--line);border-radius:5px;align-items:center;gap:11px;min-width:0;min-height:70px;padding:10px 12px;display:flex}.managed-card>small{color:var(--purple);font:600 9px ui-monospace,SFMono-Regular,Menlo,monospace}.managed-card>img{object-fit:cover;border:1px solid var(--line);border-radius:4px;width:48px;height:48px}.managed-card>div{flex:1;min-width:0}.managed-card b,.managed-card span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.managed-card b{font-size:11px}.managed-card span{color:var(--muted);margin-top:5px;font-size:9px}.delete-button{color:#e67883;cursor:pointer;background:0 0;border:0;font-size:18px}.card-editor{width:min(680px,100%);max-height:calc(100dvh - 32px);overflow:auto}.face-editor{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.face-editor>label{margin-bottom:7px;font-size:10px;font-weight:600;display:block}.face-editor textarea{resize:vertical;border:1px solid var(--line);background:var(--bg);width:100%;min-height:78px;color:var(--text);border-radius:4px;outline:0;padding:11px}.face-editor textarea:focus{border-color:var(--purple)}.image-field{margin-top:8px}.image-field>label{cursor:pointer;border:1px dashed #343942;border-radius:4px;flex-direction:column;justify-content:center;align-items:center;min-height:78px;display:flex}.image-field>label:hover{border-color:var(--purple)}.image-field label span{color:var(--purple);font-size:10px}.image-field label small{color:var(--muted);margin-top:5px;font-size:8px}.image-field input{display:none}.image-field>img{object-fit:contain;border:1px solid var(--line);background:#08090c;border-radius:4px;width:100%;max-height:190px}.image-field>button{color:#e67883;cursor:pointer;background:0 0;border:0;margin-top:6px;font-size:9px;display:block}.review-fullscreen{z-index:100;background:var(--bg);padding:max(14px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));flex-direction:column;display:flex;position:fixed;inset:0;overflow:hidden}.review-screen-head{grid-template-columns:auto 1fr auto;align-items:center;gap:13px;width:100%;max-width:900px;margin:0 auto;display:grid}.review-close{border:1px solid var(--line);width:38px;height:38px;color:var(--muted);cursor:pointer;background:0 0;border-radius:4px;font-size:22px}.review-screen-head>div:nth-child(2){min-width:0}.review-screen-head b,.review-screen-head span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.review-screen-head>div:nth-child(2) span{color:var(--muted);text-transform:uppercase;font:8px ui-monospace,SFMono-Regular,Menlo,monospace}.review-screen-head>div:nth-child(2) b{margin-top:4px;font-size:12px}.zoom-controls{border:1px solid var(--line);border-radius:4px;align-items:center;display:flex}.zoom-controls button{width:34px;height:34px;color:var(--text);cursor:pointer;background:0 0;border:0}.zoom-controls button:disabled{opacity:.3}.zoom-controls span{text-align:center;min-width:46px;color:var(--muted);font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.review-progress{background:var(--line);width:min(900px,100%);height:2px;margin:13px auto 0}.review-progress i{background:var(--purple);height:100%;transition:all .2s;display:block}.review-fullscreen .swipe-zone{flex:1;height:auto;min-height:0}.review-fullscreen .flashcard{width:min(620px,100vw - 40px);height:min(58dvh,530px)}.review-fullscreen .card-face{overflow:hidden}.card-face img{object-fit:contain;border-radius:4px;max-width:100%;max-height:55%;margin:16px 0 0}.card-face img+p{margin-top:14px}.review-counter{text-align:center;color:var(--muted);font:9px ui-monospace,SFMono-Regular,Menlo,monospace}.review-fullscreen .review-actions{margin:10px auto 0}.review-fullscreen .done{min-height:100%;margin:auto}.review-fullscreen .done .primary{align-self:center}.flashcard{transform-origin:50%;will-change:transform}@media (max-width:600px){.toolbar-actions{gap:5px}.toolbar-actions .ghost{padding:7px;font-size:9px}.managed-card{grid-template-columns:auto minmax(0,1fr) auto;display:grid}.managed-card>img{grid-area:2/2}.managed-card .ghost{grid-area:1/3}.managed-card .delete-button{grid-area:2/3}.review-screen-head{grid-template-columns:auto minmax(0,1fr) auto}.zoom-controls button{width:31px}.zoom-controls span{min-width:40px}.review-fullscreen .swipe-zone{height:auto}.review-fullscreen .flashcard{width:calc(100vw - 34px);height:min(62dvh,510px)}.review-fullscreen .review-actions{width:100%;margin-top:9px;position:static}.review-fullscreen .review-actions button{background:var(--panel)}.card-face img{max-height:52%}.card-editor{max-height:calc(100dvh - env(safe-area-inset-top) - 20px)}}.library-subject-item{border:1px solid var(--line);border-radius:5px;min-width:0;overflow:hidden}.library-subject-item.open{background:var(--panel);grid-column:1/-1}.library-subject-item .library-subject-card{border:0;border-radius:0;width:100%}.library-subject-item:not(.open):hover{border-color:#3a3e46}.subject-toggle{color:var(--muted);place-items:center;transition:transform .18s;display:grid}.subject-toggle svg{width:14px}.library-subject-item.open .subject-toggle{color:var(--purple);transform:rotate(90deg)}.inline-chapters{border-top:1px solid var(--line);gap:7px;width:100%;padding:4px 13px 13px;display:grid}.inline-chapters-head{justify-content:space-between;align-items:center;height:40px;display:flex}.inline-chapters-head>span{color:var(--muted);letter-spacing:.1em;font:600 8px ui-monospace,SFMono-Regular,Menlo,monospace}.inline-chapters-head button{color:var(--purple);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;font-size:9px;display:flex}.inline-chapters-head svg{width:12px}.inline-chapter-card{border:1px solid var(--line);background:var(--bg);text-align:left;cursor:pointer;border-radius:4px;align-items:center;gap:11px;width:100%;min-width:0;min-height:56px;padding:10px 12px;display:flex}.inline-chapter-card:hover{border-color:#3a3e46}.inline-chapter-card>small{color:var(--purple);font:600 9px ui-monospace,SFMono-Regular,Menlo,monospace}.inline-chapter-card>div{flex:1;min-width:0}.inline-chapter-card b,.inline-chapter-card span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.inline-chapter-card b{font-size:11px}.inline-chapter-card span{color:var(--muted);margin-top:4px;font-size:8px}.inline-chapter-card>svg{width:13px;color:var(--muted);flex:none}.inline-chapters>p{color:var(--muted);margin:10px 0;font-size:10px}@media (max-width:600px){.library-subject-item{grid-column:1/-1;width:100%;max-width:100%}.inline-chapters{padding-left:10px;padding-right:10px}.inline-chapter-card{max-width:100%}}.subject-card{border-color:var(--subject-color);position:relative;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.subject-card{border-color:color-mix(in srgb,var(--subject-color) 24%,var(--line))}}.subject-card{background:var(--subject-color)}@supports (color:color-mix(in lab,red,red)){.subject-card{background:color-mix(in srgb,var(--subject-color) 5%,var(--bg))}}.subject-card:before{content:"";background:var(--subject-color);height:2px;position:absolute;inset:0 0 auto}.subject-card:hover{border-color:var(--subject-color)}@supports (color:color-mix(in lab,red,red)){.subject-card:hover{border-color:color-mix(in srgb,var(--subject-color) 55%,var(--line))}}.subject-card:hover{background:var(--subject-color)}@supports (color:color-mix(in lab,red,red)){.subject-card:hover{background:color-mix(in srgb,var(--subject-color) 9%,var(--bg))}}.subject-icon{border:0;border-radius:3px 5px 5px;width:38px;height:31px;background:var(--subject-color)!important}@supports (color:color-mix(in lab,red,red)){.subject-icon{background:color-mix(in srgb,var(--subject-color) 17%,transparent)!important}}.subject-icon{position:relative}.subject-icon:before{content:"";opacity:.75;background:currentColor;border-radius:3px 3px 0 0;width:17px;height:6px;position:absolute;top:-5px;left:0}.subject-icon svg{stroke-width:1.7px;width:19px;height:19px}.subject-card h3{margin-top:20px}.subject-card .mini-arrow{color:var(--subject-color)}.library-subject-item{border-color:var(--subject-color)}@supports (color:color-mix(in lab,red,red)){.library-subject-item{border-color:color-mix(in srgb,var(--subject-color) 20%,var(--line))}}.library-subject-item{background:var(--subject-color)}@supports (color:color-mix(in lab,red,red)){.library-subject-item{background:color-mix(in srgb,var(--subject-color) 3%,transparent)}}.library-subject-item.open{border-color:var(--subject-color)}@supports (color:color-mix(in lab,red,red)){.library-subject-item.open{border-color:color-mix(in srgb,var(--subject-color) 42%,var(--line))}}.library-subject-item.open{background:var(--subject-color)}@supports (color:color-mix(in lab,red,red)){.library-subject-item.open{background:color-mix(in srgb,var(--subject-color) 6%,var(--panel))}}.library-subject-item.open .subject-icon{color:var(--subject-color)!important}.pinch-hint{text-align:right;min-width:52px;color:var(--muted);letter-spacing:.1em;font:600 8px ui-monospace,SFMono-Regular,Menlo,monospace}.card-photo{transform-origin:50%;will-change:transform;z-index:2;justify-content:center;align-items:center;width:100%;height:min(64%,330px);margin:14px 0 0;transition:transform 80ms linear;display:flex}.card-photo img{object-fit:contain;pointer-events:none;border-radius:4px;width:100%;max-width:none;height:100%;max-height:none;margin:0}.card-photo+p{z-index:3;background:#14161bd9;border-radius:4px;margin-top:12px;padding:4px 8px;position:relative}@media (max-width:800px){.mobile-nav{height:calc(49px + env(safe-area-inset-bottom));padding:0 0 env(safe-area-inset-bottom);background:#0b0c10f5;gap:clamp(52px,20vw,105px)}.mobile-nav button{gap:2px;min-width:58px;min-height:48px;padding:3px 8px 2px}.mobile-nav svg{width:17px;height:17px}.mobile-nav small{font-size:8px}.page{padding-bottom:calc(68px + env(safe-area-inset-bottom))}.review-actions{bottom:calc(56px + env(safe-area-inset-bottom))}}@media (max-width:600px){.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.subject-card{min-height:132px;padding:15px}.subject-card h3{margin:18px 0 4px;font-size:13px}.subject-meta{margin-top:13px;padding-top:11px}.library-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-subject-card{align-items:flex-start;min-height:82px;padding:12px}.library-subject-card .subject-icon{flex:none}.library-subject-card b{white-space:normal;line-height:1.25}.library-subject-item.open{grid-column:1/-1}.review-fullscreen .card-face{padding:23px 16px}.card-photo{height:min(68%,350px);margin-top:12px}.card-face p{max-height:24%;overflow:auto}.pinch-hint{min-width:45px;font-size:7px}}html{overscroll-behavior:none;background:var(--bg);height:100%}body,html{overflow-x:hidden}body{overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent;min-height:100%}.app-shell{overflow-x:clip}.app-shell,.main{min-height:100dvh}button{-webkit-tap-highlight-color:transparent}@media (max-width:800px){.mobile-nav{-webkit-backdrop-filter:none;box-shadow:none;overscroll-behavior:none;position:fixed;inset:auto 0 0;transform:translateZ(0)}.mobile-nav button{appearance:none;outline:none}.mobile-nav button:focus:not(:focus-visible){outline:none}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}