@font-face{font-family:Geist;src:url('assets/geist.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{--ink:#252347;--muted:#68667e;--blue:#3732dc;--blue-dark:#2621ad;--lavender:#ecebff;--line:#dedde9;--bg:#f8f8fc;--coral:#ffac94;--yellow:#ffda65;--green:#d2ead8;--radius:20px;color-scheme:light;font-family:Geist,Arial,sans-serif;font-size:16px;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #e56829;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{letter-spacing:-.045em}button{border:0}img{max-width:100%}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}button .icon{pointer-events:none}button svg{pointer-events:none}.skip{position:absolute;top:-70px;left:15px;z-index:100;background:white;padding:14px}.skip:focus{top:10px}.loading{padding:70px;text-align:center}.shell{max-width:1264px;padding:0 42px;margin:auto}.topbar{height:94px;display:flex;align-items:center;gap:42px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);background:none;padding:0;text-align:left}.brand img{width:37px;height:37px}.brand strong{display:block;font-size:28px;letter-spacing:-1.4px;line-height:1.1;font-weight:750}.brand small{font-size:9px;letter-spacing:1.8px;text-transform:uppercase;font-weight:650;display:block;margin-top:5px}.nav{display:flex;gap:7px;margin-left:auto}.nav button{background:none;display:flex;gap:8px;align-items:center;border-radius:10px;font-size:13px;font-weight:550;padding:12px 15px;min-height:44px}.nav button.active{background:var(--lavender);color:var(--blue)}.local-badge{font-size:11px;display:flex;align-items:center;gap:7px;color:var(--muted)}.dot{height:6px;width:6px;background:#368164;border-radius:50%;display:inline-block}.main{padding-top:34px;padding-bottom:32px}.hero{position:relative;display:grid;grid-template-columns:1.1fr .9fr;border-radius:24px;overflow:hidden;background:var(--blue);color:#fff;min-height:282px}.hero-copy{padding:30px 38px;z-index:1}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;text-transform:uppercase;line-height:1.5}.hero .eyebrow{color:#d5d2ff}.hero h1{font-size:55px;line-height:1.02;font-weight:650;margin:13px 0 15px}.hero h1 em{font-family:Georgia,serif;font-weight:400;color:var(--yellow)}.hero p{font-size:13px;color:#e7e5ff;line-height:1.6;max-width:370px}.hero .btn{margin-top:23px}.hero-art{position:relative;min-height:280px;overflow:hidden}.hero-art .cover-art{width:540px;max-width:none;height:315px;position:absolute;left:-20px;top:-6px;transform:rotate(-4deg)}.hero-art .art-note{position:absolute;bottom:23px;right:29px;font-size:9px;letter-spacing:1.5px;opacity:.75}.btn{border-radius:10px;min-height:44px;padding:12px 18px;display:inline-flex;justify-content:center;align-items:center;gap:10px;line-height:1.2;font-weight:600;font-size:13px;background:var(--blue);color:#fff;text-decoration:none;transition:transform .15s,background .15s}.btn:hover{background:var(--blue-dark);transform:translateY(-1px)}.btn.yellow{background:var(--yellow);color:#282147}.btn.yellow:hover{background:#ffe289}.btn.secondary{background:#fff;color:var(--ink);border:1px solid var(--line)}.btn.secondary:hover{background:#eeedf7}.btn.ghost{color:var(--ink);background:transparent}.btn.ghost:hover{background:#eeedf7}.btn.danger{background:#b53236;color:white}.btn.wide{width:100%}.text-btn{background:none;padding:10px 0;font-size:12px;font-weight:650;color:var(--blue);display:inline-flex;gap:8px;align-items:center;min-height:44px}.summary-strip{display:flex;align-items:center;gap:30px;padding:24px 6px 25px;border-bottom:1px solid var(--line)}.summary-item{display:flex;gap:10px;align-items:baseline}.summary-item strong{font-size:23px;letter-spacing:-1px}.summary-item span{font-size:11px;color:var(--muted)}.summary-strip .text-btn{margin-left:auto}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:29px 0 20px}.section-head h2{font-size:27px;font-weight:650}.section-head p{font-size:12px;color:var(--muted);margin-top:6px}.section-tools{display:flex;gap:10px;align-items:center}.search{position:relative;display:flex;align-items:center;gap:8px;color:var(--muted)}.search input{padding-left:38px;width:218px;font-size:12px;background:white}.search .icon{position:absolute;left:12px;width:16px;pointer-events:none}input,select,textarea{width:100%;border:1px solid #cbc9dc;border-radius:9px;padding:12px 13px;min-height:44px;color:var(--ink);background:#fff}textarea{resize:vertical;min-height:110px;line-height:1.5}.filters{display:flex;align-items:center;gap:8px;margin-bottom:23px;flex-wrap:wrap}.chip{padding:9px 15px;min-height:40px;border:1px solid var(--line);background:transparent;border-radius:24px;font-size:11px;font-weight:550}.chip.active{background:var(--ink);border-color:var(--ink);color:white}.filters select{width:auto;max-width:180px;margin-left:auto;font-size:11px;min-height:38px;padding:8px 30px 8px 12px}.collection-label{font-size:10px;text-transform:uppercase;letter-spacing:1.7px;color:var(--muted);font-weight:600;margin:25px 0 14px;display:flex;gap:9px;align-items:center}.collection-label span{height:1px;background:var(--line);flex:1}.deck-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.deck-tile{min-width:0}.deck-cover{width:100%;height:198px;position:relative;overflow:hidden;border-radius:15px;display:block;padding:0;border:1px solid #00000008;text-align:left;transition:transform .2s,box-shadow .2s}.deck-cover:hover{transform:translateY(-4px);box-shadow:0 12px 25px #27205019}.deck-cover.orbit{background:#6259d9}.deck-cover.type{background:#ffac94}.deck-cover.sun{background:#b6d9bd}.deck-cover .cover-art{width:100%;height:100%;transition:transform .25s}.deck-cover:hover .cover-art{transform:scale(1.035)}.cover-number{position:absolute;top:14px;left:16px;font-size:9px;letter-spacing:2px;font-weight:550;color:white;z-index:1}.type .cover-number,.sun .cover-number{color:#373043}.cover-badge{position:absolute;right:13px;bottom:13px;background:#ffffffeb;border-radius:20px;font-size:9px;padding:6px 10px;font-weight:600;color:#38314d}.deck-body{padding:15px 2px 6px}.deck-body h3{font-size:20px;font-weight:650;margin-bottom:6px;letter-spacing:-.65px}.deck-title{background:none;padding:0;text-align:left}.deck-body p{font-size:11px;color:var(--muted);line-height:1.6;min-height:36px}.deck-meta{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:10px;color:var(--muted)}.deck-meta .text-btn{margin-left:auto;font-size:11px}.empty-inline{display:flex;gap:16px;align-items:center;background:#f0effa;border:1px dashed #bcb9d7;border-radius:15px;padding:23px;margin-top:23px}.empty-inline .icon{color:var(--blue)}.empty-inline h3{font-size:15px;letter-spacing:-.3px}.empty-inline p{font-size:12px;color:var(--muted);margin-top:5px}.empty-inline .btn{margin-left:auto;white-space:nowrap}.footer{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:14px;padding:22px 0;margin-top:30px;color:var(--muted);font-size:10px;line-height:1.6}.footer button{background:none;text-decoration:underline;font-size:10px;color:var(--muted);min-height:35px}.footer-brand{display:flex;gap:8px;align-items:center}.footer img{height:22px;width:22px}.study-wrap{max-width:910px;margin:0 auto;padding:31px 0 30px}.study-top{display:flex;align-items:center;gap:16px}.study-top h1{font-size:18px;letter-spacing:-.5px}.study-top .tag{margin-left:auto}.icon-btn{height:44px;min-width:44px;border:1px solid var(--line);border-radius:50%;background:#fff;display:inline-flex;align-items:center;justify-content:center}.tag{display:inline-block;border-radius:6px;padding:6px 9px;background:#ecebfb;color:#494283;font-size:10px;font-weight:600;white-space:nowrap}.progress-row{display:flex;gap:20px;align-items:center;margin:27px 0 23px;font-size:11px;color:var(--muted)}.progress-track{background:#e2e0ef;height:5px;border-radius:6px;flex:1;overflow:hidden}.progress-fill{height:100%;background:var(--blue);transition:width .35s;border-radius:6px}.study-stage{position:relative;isolation:isolate;margin:0 13px}.study-stage:before,.study-stage:after{content:'';position:absolute;inset:5px 4px -8px;background:#ddd9ff;z-index:-1;border-radius:25px;border:1px solid #c4bfee;transform:rotate(-2deg)}.study-stage:after{inset:3px 4px -7px;transform:rotate(1.8deg);background:#eeecff}.flashcard{position:relative;display:flex;flex-direction:column;text-align:center;align-items:center;justify-content:center;width:100%;background:#fffdf5;border:1px solid #e6dfc8;border-radius:23px;box-shadow:0 17px 45px #3330640d;min-height:372px;padding:64px 76px 55px;color:var(--ink);cursor:pointer;overflow-wrap:anywhere;animation:card-in .4s ease}.flashcard.answer{background:#eae8ff;border-color:#d9d4fa;animation:reveal .35s ease}.card-label{position:absolute;top:24px;left:27px;text-transform:uppercase;font-size:9px;letter-spacing:1.7px;color:#696177;display:flex;gap:7px;align-items:center}.card-label .dot{background:#d5a33b}.answer .card-label .dot{background:#6458c5}.card-corner{position:absolute;top:20px;right:25px;color:#aaa0c4;font-family:Georgia,serif;font-style:italic;font-size:20px}.card-text{font-size:clamp(25px,3.1vw,39px);font-weight:500;letter-spacing:-1.2px;line-height:1.28;white-space:pre-wrap;max-width:100%}.answer .card-text{font-size:clamp(22px,2.7vw,31px);line-height:1.4}.card-text.long{font-size:20px;line-height:1.55;letter-spacing:-.3px}.card-image{max-height:190px;object-fit:contain;margin:0 auto 20px;display:block;border-radius:10px}.card-hint{font-size:10px;letter-spacing:.5px;color:#746980;margin-top:28px}.study-bottom{margin-top:31px;text-align:center}.reveal-btn{min-width:245px;padding:17px 24px;font-size:14px}.keyboard-hint{font-size:10px;color:var(--muted);margin-top:15px;line-height:1.8}kbd{font-family:inherit;font-size:9px;border:1px solid #ceccdf;border-radius:4px;padding:2px 5px;background:white;display:inline-block;line-height:1.3}.ratings{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:700px;margin:0 auto}.rating{position:relative;padding:13px 8px 12px;min-height:70px;border:1px solid transparent;border-radius:11px;display:flex;flex-direction:column;gap:5px;align-items:center;font-size:14px;font-weight:600}.rating small{font-size:10px;font-weight:450}.rating kbd{position:absolute;left:9px;top:10px;opacity:.55}.rating.again{background:#ffe0d7;color:#853628}.rating.hard{background:#fff0bf;color:#705419}.rating.good{background:#e1defc;color:#40398a}.rating.easy{background:#d6eee0;color:#24563c}.rating:hover{border-color:currentColor;transform:translateY(-2px)}.session-note{font-size:11px;color:var(--muted);margin:17px 0 0;text-align:center}.complete{max-width:700px;margin:25px auto;text-align:center;position:relative}.completion-art{width:200px;height:178px;margin:0 auto;position:relative}.completion-ring{width:140px;height:140px;position:absolute;top:12px;left:30px;border-radius:50%;border:18px solid var(--blue);background:#eeedff;display:grid;place-items:center;transform:rotate(-10deg)}.completion-ring .icon{width:58px;height:58px;stroke-width:1.7;transform:rotate(10deg);color:var(--blue)}.confetti{position:absolute;background:var(--coral);width:12px;height:26px;transform:rotate(28deg);border-radius:3px;animation:confetti .7s ease}.confetti.c1{left:0;top:50px}.confetti.c2{right:0;top:27px;background:var(--yellow);transform:rotate(-30deg)}.confetti.c3{right:12px;bottom:17px;width:13px;height:13px;border-radius:50%;background:#b6d9bd}.complete .eyebrow{color:var(--blue);margin:7px 0 13px}.complete h1{font-size:49px;line-height:1.1;font-weight:650}.complete h1 em{font-family:Georgia,serif;font-weight:400}.complete>p{font-size:13px;color:var(--muted);line-height:1.7;margin:15px auto;max-width:430px}.result-stats{display:grid;grid-template-columns:repeat(3,1fr);margin:31px auto 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 0;max-width:520px}.result-stats div+div{border-left:1px solid var(--line)}.result-stats strong{font-size:31px;font-weight:650;display:block;letter-spacing:-1px}.result-stats span{font-size:10px;color:var(--muted);display:block;margin-top:5px}.rating-breakdown{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin-bottom:26px}.rating-breakdown i{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px}.next-note{max-width:520px;background:var(--lavender);border-radius:13px;text-align:left;padding:18px 20px;margin:23px auto;display:flex;align-items:center;gap:14px;font-size:12px;line-height:1.6}.next-note .icon{color:var(--blue)}.complete-actions{display:flex;gap:10px;justify-content:center;margin-top:25px}.detail-hero{display:grid;grid-template-columns:280px 1fr;gap:35px;align-items:center;margin:23px 0 31px}.detail-hero .deck-cover{height:220px}.detail-hero h1{font-size:36px;margin:10px 0}.detail-hero p{font-size:13px;color:var(--muted);line-height:1.7;max-width:520px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.detail-counts{display:flex;gap:20px;font-size:12px;color:var(--muted);margin-top:14px}.card-list{display:flex;flex-direction:column;gap:10px}.card-row{display:grid;grid-template-columns:28px 1fr 1fr 60px;gap:20px;align-items:center;background:white;border:1px solid var(--line);border-radius:12px;padding:18px 20px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.card-row .number{font-size:10px;color:var(--muted)}.card-row .front{font-weight:600}.card-row .back{color:var(--muted);white-space:pre-wrap}.card-row img{max-height:75px;display:block;margin:8px 0}.card-row .tags{grid-column:2/4;display:flex;gap:5px;flex-wrap:wrap}.card-row .tags:empty{display:none}.card-row button{background:#f0effa;border-radius:7px;padding:9px;min-height:40px}.card-row .tag{font-size:9px}.detail-source{font-size:11px;color:var(--muted);line-height:1.6;margin:16px 0}.empty{padding:48px 24px;text-align:center;border:1px dashed #bcb9d7;border-radius:16px;background:#f1f0fa}.empty h3{font-size:23px;margin-bottom:10px}.empty p{font-size:13px;color:var(--muted);line-height:1.6}.empty .btn{margin-top:20px}.page-title{font-size:39px;margin:5px 0 10px}.intro{font-size:13px;line-height:1.7;color:var(--muted);max-width:660px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}.stat{border-radius:16px;background:var(--lavender);padding:22px}.stat:nth-child(2){background:#ffeadc}.stat:nth-child(3){background:#e1efe5}.stat:nth-child(4){background:#fff1c6}.stat strong{display:block;font-size:40px;letter-spacing:-1.5px}.stat span{font-size:12px}.activity-chart{display:grid;grid-template-columns:repeat(7,1fr);gap:15px;align-items:end;height:180px;padding:25px 15px 5px}.chart-day{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:end;height:100%;gap:9px;font-size:10px;color:var(--muted)}.chart-bar{width:100%;max-width:60px;background:#7365dd;border-radius:7px 7px 0 0;min-height:2px}.history-row{display:grid;grid-template-columns:1fr 100px 130px 100px;gap:12px;padding:17px 4px;border-top:1px solid var(--line);font-size:12px;align-items:center}.history-row strong{font-weight:550}.history-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:27px 0}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:25px}.panel h2{font-size:22px;margin-bottom:12px}.panel p,.panel li{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:12px}.panel ul{padding-left:20px}.panel .btn{margin:3px 5px 4px 0}.schedule-table{width:100%;border-collapse:collapse;font-size:11px}.schedule-table th,.schedule-table td{padding:12px 7px;text-align:left;border-bottom:1px solid var(--line)}.schedule-table th{font-weight:650}.fine{font-size:11px;color:var(--muted);line-height:1.7}.status-box{padding:13px;background:var(--lavender);border-radius:9px;font-size:11px;line-height:1.7;margin:15px 0}dialog{width:min(590px,calc(100% - 32px));max-height:90dvh;border:1px solid var(--line);border-radius:22px;padding:0;background:#fcfcff;color:var(--ink);box-shadow:0 24px 100px #1c18482b}dialog::backdrop{background:#18152e70;backdrop-filter:blur(5px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:24px 28px 0}.modal-head h2{font-size:26px;line-height:1.15}.modal-head .icon-btn{background:transparent;flex-shrink:0}.modal-body{padding:22px 28px 28px}.modal-body p{font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:18px}.field{display:block;margin-bottom:18px;font-size:12px;font-weight:600}.field>span{display:block;margin-bottom:8px}.field small{display:block;font-size:10px;font-weight:400;color:var(--muted);margin-top:6px;line-height:1.5}.field input,.field textarea,.field select{font-size:13px;font-weight:400}.form-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cover-options{display:flex;gap:10px}.cover-option{padding:0;width:95px;height:63px;border-radius:9px;border:3px solid transparent;overflow:hidden;background:#6259d9}.cover-option .cover-art{width:100%;height:100%}.cover-option.selected{outline:2px solid var(--blue);outline-offset:3px}.cover-option.type{background:var(--coral)}.cover-option.sun{background:#b6d9bd}.check-field{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;margin:17px 0}.check-field input{width:18px;height:18px;min-height:0;accent-color:var(--blue)}.mode-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.mode-option{border:1px solid var(--line);background:white;border-radius:12px;padding:17px;text-align:left;font-size:13px}.mode-option.active{border:2px solid var(--blue);padding:16px;background:var(--lavender)}.mode-option span{display:block;font-size:10px;color:var(--muted);line-height:1.6;margin-top:7px}.error{background:#ffe7e0;border:1px solid #e0b2a4;color:#8c2b22!important;border-radius:9px;padding:12px;font-size:12px;line-height:1.6;margin:12px 0}.file-input{font-size:11px!important;padding:9px;min-height:44px}.file-input::file-selector-button{background:var(--lavender);border:0;border-radius:5px;color:var(--blue);padding:7px;margin-right:10px}.image-preview{max-height:100px;margin:8px 0;border-radius:7px}.upload-fields{border-top:1px solid var(--line);padding-top:16px;margin-top:15px}details>summary{cursor:pointer;font-size:12px;font-weight:600;padding:10px 0;min-height:40px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);max-width:calc(100% - 30px);background:var(--ink);color:white;font-size:12px;border-radius:10px;padding:14px 20px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:500;box-shadow:0 5px 20px #1a183333}#toast.show{opacity:1;transform:translate(-50%,0)}.save-error{background:#ffe2d8;color:#762b24;padding:16px;line-height:1.6;font-size:13px}.save-error button{margin-left:12px}.offline-banner{padding:8px;text-align:center;background:#fff0bf;color:#6f531d;font-size:11px}.hidden{display:none!important}
@keyframes card-in{from{opacity:0;transform:translateY(8px) rotate(.7deg)}to{opacity:1;transform:none}}@keyframes reveal{from{opacity:.35;transform:perspective(1000px) rotateY(-12deg)}to{opacity:1;transform:none}}@keyframes confetti{from{opacity:0;translate:0 -18px}to{opacity:1;translate:0 0}}
@media(min-width:1400px){.shell{max-width:1320px}.hero{min-height:295px}.hero-copy{padding:35px 42px}.hero-art .cover-art{left:10px;top:0}.deck-cover{height:218px}}
@media(max-width:900px){.shell{padding:0 24px}.topbar{gap:18px}.local-badge{display:none}.hero h1{font-size:47px}.hero-copy{padding:30px}.hero-art .cover-art{width:470px;left:-50px}.deck-grid{gap:17px}.deck-cover{height:165px}.deck-body h3{font-size:18px}.section-tools .search input{width:180px}.detail-hero{grid-template-columns:240px 1fr;gap:25px}.detail-hero h1{font-size:30px}.guide-grid{gap:16px}.card-row{gap:12px}.flashcard{padding:70px 45px 55px}}
@media(max-width:640px){.shell{padding:0 20px}.topbar{height:78px;gap:10px}.brand{gap:8px}.brand img{width:28px;height:28px}.brand strong{font-size:24px}.brand small{font-size:7px;letter-spacing:1.1px}.nav{gap:3px}.nav button{font-size:0;width:40px;padding:10px;min-height:40px}.nav .icon{width:18px;height:18px}.main{padding-top:22px}.hero{grid-template-columns:1fr;border-radius:20px;min-height:0;overflow:hidden}.hero-copy{padding:27px 25px 28px}.hero .eyebrow{font-size:8px;letter-spacing:1.7px}.hero h1{font-size:44px;max-width:290px;margin-top:14px}.hero p{max-width:240px;font-size:12px}.hero .btn{margin-top:20px;position:relative}.hero-art{position:absolute;right:-62px;top:68px;width:185px;min-height:190px;opacity:.34;pointer-events:none}.hero-art .cover-art{width:300px;height:200px;left:-60px;top:0}.hero-art .art-note{display:none}.summary-strip{gap:17px;padding:20px 0;justify-content:space-between;flex-wrap:wrap}.summary-item{flex-direction:column;gap:2px}.summary-item strong{font-size:25px}.summary-item span{font-size:10px}.summary-strip .text-btn{display:none}.section-head{flex-wrap:wrap;gap:15px;margin:24px 0 16px}.section-head h2{font-size:26px}.section-head p{font-size:11px}.section-tools{width:100%;flex-wrap:wrap}.section-tools .search{flex:1;min-width:140px}.section-tools .search input{width:100%}.section-tools .btn{font-size:12px;padding:12px 14px}.filters{gap:6px;margin-bottom:18px}.chip{padding:8px 12px;font-size:10px;min-height:38px}.filters select{max-width:135px;flex:1;margin-left:0}.deck-grid{grid-template-columns:1fr;gap:24px}.deck-cover{height:210px}.deck-body{padding:14px 2px 0}.deck-body h3{font-size:22px}.deck-body p{font-size:12px;min-height:0}.deck-meta{font-size:11px;margin-top:5px}.deck-meta .text-btn{font-size:12px}.collection-label{font-size:9px;letter-spacing:1.5px}.empty-inline{flex-wrap:wrap;padding:20px}.empty-inline>div{flex:1}.empty-inline .btn{margin:0 0 0 36px}.footer{margin-top:25px;flex-direction:column;align-items:flex-start;gap:4px;font-size:10px;padding-bottom:25px}.study-wrap{padding-top:8px}.study-top{gap:10px;flex-wrap:wrap}.study-top h1{font-size:16px;flex:1}.study-top .tag{font-size:9px;margin:0}.study-top .icon-btn{height:37px;min-width:37px}.progress-row{margin:24px 0 23px;font-size:10px;gap:15px}.study-stage{margin:0 5px}.flashcard{min-height:348px;padding:65px 25px 48px;border-radius:19px}.card-text{font-size:29px;letter-spacing:-1px}.answer .card-text{font-size:24px;line-height:1.4}.card-text.long{font-size:18px;line-height:1.5}.card-label{left:20px;top:22px;font-size:8px}.card-corner{right:20px}.card-hint{font-size:9px;margin-top:25px}.study-bottom{margin-top:30px}.ratings{gap:7px}.rating{min-height:75px;font-size:12px;padding:17px 4px 12px}.rating kbd{display:none}.rating small{font-size:9px}.keyboard-hint{display:none}.session-note{font-size:10px;line-height:1.6;margin-top:16px}.complete{margin:16px auto}.completion-art{transform:scale(.9);margin-bottom:-5px}.complete h1{font-size:40px}.complete>p{font-size:12px}.complete .eyebrow{font-size:9px}.result-stats{padding:20px 0;margin-top:25px}.result-stats strong{font-size:29px}.result-stats span{font-size:9px}.rating-breakdown{gap:12px;font-size:9px}.complete-actions{flex-direction:column}.next-note{font-size:11px}.detail-hero{grid-template-columns:1fr;gap:18px;margin:18px 0 25px}.detail-hero .deck-cover{height:180px}.detail-hero h1{font-size:31px}.detail-hero .actions .btn{flex:1}.detail-counts{font-size:11px;gap:15px}.card-row{grid-template-columns:20px 1fr 43px;padding:16px 13px;gap:8px 13px}.card-row .back{grid-column:2;grid-row:2}.card-row button{grid-column:3;grid-row:1/3;font-size:0;width:40px;height:40px}.card-row button .icon{width:16px}.card-row .tags{grid-column:2/4}.stats-grid{grid-template-columns:1fr 1fr;gap:12px;margin:23px 0}.stat{padding:20px}.stat strong{font-size:36px}.stat span{font-size:11px}.page-title{font-size:33px}.history-row{grid-template-columns:1fr 65px;gap:6px;font-size:11px}.history-row>span:last-child{grid-column:2;grid-row:2;font-size:10px}.history-row>span:nth-child(3){font-size:10px}.guide-grid{grid-template-columns:1fr}.panel{padding:21px}.field-row{grid-template-columns:1fr;gap:0}.modal-head{padding:20px 20px 0}.modal-head h2{font-size:25px}.modal-body{padding:18px 20px 23px}dialog{max-height:91dvh}.form-actions .btn{flex:1}.mode-option{font-size:12px}.mode-option span{font-size:10px}.schedule-table{font-size:10px}.schedule-table th,.schedule-table td{padding:10px 4px}.search input{min-width:0}.detail-source{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.deck-cover:hover,.rating:hover,.btn:hover{transform:none}}

.row-preview{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.expanded .row-preview{display:block}.card-row .expand-card{grid-column:2/4;grid-row:auto;font-size:11px;width:auto;height:auto;justify-self:start;background:transparent;color:var(--blue);padding:3px 0;min-height:32px;text-decoration:underline}.card-row:has(.expand-card)>.tags{grid-row:auto}
.main:focus{outline:none}
/* Recall library expansion: preserve the original palette, typography and tactile study cards. */
.deck-cover.botanic,.cover-option.botanic{background:#b8d8af}.deck-cover.wave,.cover-option.wave{background:#2c5594}.deck-cover.compass,.cover-option.compass{background:#f4cf64}.deck-cover.speech,.cover-option.speech{background:#c7c2f4}.deck-cover.music,.cover-option.music{background:#efbfd2}.deck-cover.book,.cover-option.book{background:#413c85}.deck-cover.shapes,.cover-option.shapes{background:#efe6d2}.deck-cover.shield,.cover-option.shield{background:#3c827b}.deck-cover.lens,.cover-option.lens{background:#514a91}
.botanic .cover-number,.compass .cover-number,.speech .cover-number,.music .cover-number,.shapes .cover-number{color:var(--ink)}
.cover-number{max-width:90%;line-height:1.4;text-transform:uppercase}.cover-options{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cover-option{width:100%;height:68px}.deck-level{display:flex;gap:7px;margin:0 0 7px;font-size:9px;color:#605c7c;text-transform:uppercase;letter-spacing:.9px}.deck-level span+span{border-left:1px solid #bdb8d5;padding-left:7px}.deck-meta{gap:12px}.deck-meta>span{line-height:1.5}.deck-meta .text-btn{white-space:nowrap}.deck-body p{min-height:36px}
.returning-hero{position:relative;background:var(--blue);border-radius:22px;color:white;padding:29px 34px;display:flex;align-items:center;gap:24px;justify-content:space-between;overflow:hidden}.returning-hero:before{content:'';position:absolute;width:260px;height:260px;border:1px solid #ffffff25;border-radius:50%;right:55px;top:-130px;pointer-events:none}.returning-hero .eyebrow{color:#d8d5ff;font-size:9px}.returning-hero h1{font-size:35px;line-height:1.2;margin:9px 0}.returning-hero p{color:#e6e4ff;font-size:12px}.returning-actions{display:flex;gap:9px;align-items:center;padding-right:0;padding-bottom:8px}.btn.light{background:#514ce3;color:white;border:1px solid #8b87f1}.btn.light:hover{background:#625dec}.welcome-toggle{background:none;color:#dedbff;text-decoration:underline;text-underline-offset:3px;font-size:10px;position:absolute;bottom:8px;right:22px;padding:7px;min-height:30px}.hero-copy .welcome-toggle{right:auto;left:38px;bottom:8px}.hero:has(.welcome-toggle) .hero-copy{padding-bottom:52px}
.local-notice{display:flex;align-items:center;gap:12px;padding:14px 0;color:#625d78;font-size:11px;line-height:1.65}.local-notice>svg{color:var(--blue);width:17px;min-width:17px}.local-notice strong{color:#46415f;font-weight:650}.local-notice .text-btn{white-space:nowrap;margin-left:auto;font-size:11px}.local-notice.compact{padding:12px 0}.backup-reminder{border:1px solid #d8d2ed;border-radius:13px;background:#eeecfa;padding:17px 20px;display:flex;align-items:center;gap:20px;margin:5px 0 20px}.backup-reminder strong{font-size:13px}.backup-reminder p{font-size:11px;line-height:1.6;margin-top:5px;color:var(--muted)}.backup-actions{display:flex;gap:16px;align-items:center;margin-left:auto}.backup-actions .text-btn{font-size:10px;white-space:nowrap}.backup-actions .btn{white-space:nowrap;font-size:11px}.form-storage{padding:12px;background:#eeecfa;border-radius:9px;font-size:11px!important;line-height:1.6!important}.study-storage{font-size:10px;color:#68627a;line-height:1.6;text-align:center;margin-top:9px}.study-source{font-size:10px;margin:0 auto;min-height:32px}.scope-note{padding:13px 16px;background:#eeecfa;border-radius:9px;font-size:12px;line-height:1.65;color:#514b6a;margin-bottom:17px}
.library-tabs{margin-bottom:13px}.difficulty-label{display:flex;align-items:center;margin-left:auto;gap:9px;font-size:10px;color:var(--muted)}.difficulty-label select{margin:0;max-width:170px}.category-strip{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 28px}.category-chip{display:flex;align-items:center;gap:10px;background:#eeeefa;border:1px solid #dedbec;border-radius:9px;padding:10px 12px;font-size:10px;min-height:42px;white-space:nowrap}.category-chip span{color:#625c7e;font-size:9px}.category-chip.selected{background:var(--blue);border-color:var(--blue);color:white}.category-chip.selected span{color:#edeaff}.category-chip:hover{border-color:var(--blue)}.results-heading{display:flex;align-items:center;gap:15px;justify-content:space-between;margin:16px 0 21px}.results-heading h3{font-size:19px;letter-spacing:-.4px}.results-heading p{font-size:11px;color:var(--muted);margin-top:6px}.pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:24px 0 4px}.pagination .icon-btn{width:37px;min-width:37px;height:37px;border-radius:9px}.pagination span{font-size:10px;color:var(--muted)}.results-heading .pagination{margin:0}.deck-sources{background:#efedf8;border:1px solid #e0dced;border-radius:12px;padding:10px 18px;margin:16px 0 20px}.deck-sources summary{font-size:12px}.deck-sources p,.deck-sources li{font-size:11px;color:#5c5671;line-height:1.75}.deck-sources ul{padding-left:20px;margin:13px 0}.deck-sources li{margin-bottom:12px}.deck-sources li span{display:block}.deck-sources a{font-weight:550}.source-list{padding-left:18px;font-size:13px;line-height:1.7}.source-list li{margin:12px 0}.card-row .card-source-button{min-height:32px;font-size:10px;color:var(--blue);background:transparent;text-decoration:underline;padding:5px;width:auto;grid-row:auto;grid-column:auto}.card-row .tags{align-items:center}.main #library-heading:focus{outline:none}
@media(max-width:1040px){.returning-hero{align-items:flex-start;flex-direction:column;gap:20px;padding-bottom:38px}.returning-actions{flex-wrap:wrap}.backup-reminder{flex-wrap:wrap}.backup-actions{margin-left:0}}
@media(max-width:640px){.returning-hero{padding:24px 23px 39px;gap:20px}.returning-hero h1{font-size:30px}.returning-hero p{font-size:11px}.returning-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0}.returning-actions>.btn:first-child{grid-column:1/-1}.returning-actions .btn{font-size:11px;padding:12px 10px}.local-notice{align-items:flex-start;flex-wrap:wrap;font-size:10px;gap:8px}.local-notice>div{flex:1;min-width:200px}.local-notice .text-btn{margin:-5px 0 0 25px;min-height:30px;font-size:10px}.backup-reminder{padding:16px;gap:8px}.backup-reminder strong{font-size:12px}.backup-reminder p{font-size:10px}.backup-actions{width:100%;gap:12px;flex-wrap:wrap}.backup-actions .text-btn{font-size:10px}.category-strip{gap:7px;margin-bottom:20px;max-width:100%}.category-chip{font-size:10px;min-height:40px;padding:9px 10px;gap:8px}.difficulty-label{width:100%;margin:3px 0 0;font-size:11px;justify-content:space-between}.difficulty-label select{max-width:160px;flex:0 1 auto;font-size:11px}.results-heading{gap:10px;align-items:flex-start}.results-heading h3{font-size:18px}.results-heading p{font-size:10px;line-height:1.5}.pagination{gap:8px}.pagination .icon-btn{min-width:34px;width:34px;height:36px}.pagination span{font-size:9px;white-space:nowrap}.results-heading .pagination{gap:7px}.deck-level{font-size:9px}.deck-body p{min-height:0}.cover-options{grid-template-columns:repeat(3,1fr)}.deck-sources{padding:10px 14px}.card-row .card-source-button{grid-column:auto;grid-row:auto;min-height:34px;height:auto;font-size:10px;width:auto}.scope-note{font-size:11px}.study-storage{font-size:9px;margin-top:12px}}

/* Legible secondary text on both sides of the study card. */
.card-corner{color:#6a5a87}.card-hint{color:#675971}

.brand img.recall-mark{width:45px;height:45px}@media(max-width:640px){.brand img.recall-mark{width:37px;height:37px}}
