:root{--bg:#0f172a;--panel:#1e293b;--line:#334155;--fg:#f1f5f9;--mut:#94a3b8;--acc:#6366f1}*{box-sizing:border-box}body{margin:0;font:16px Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--fg);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}button{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:8px 14px;cursor:pointer}button:hover{filter:brightness(1.2)}button.primary{background:var(--acc);border-color:var(--acc);font-weight:700;padding:14px 20px;width:100%}button.ghost{background:none;border:0;font-size:1.2rem}input,textarea,select{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px;width:100%}.wrap{max-width:900px;margin:0 auto;padding:16px}.row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.deck{background:var(--panel);border-radius:14px;padding:16px;margin:12px 0}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:4px 0 18px;padding-bottom:4px}.tab{background:transparent;border:0;border-radius:8px 8px 0 0;color:var(--mut)}.tab.active,.tab:hover{background:var(--panel);color:var(--fg)}.selected{outline:2px solid var(--acc);outline-offset:-2px}.compact{padding:8px 12px!important}.ai-tools{border:1px solid #4f46e5}.ai-preview{margin-top:14px;border-top:1px solid var(--line);padding-top:12px}.ai-prompt-label{display:block;margin:22px 0 8px;color:#aeb8d2;font-weight:600}.ai-prompt{min-height:126px;resize:vertical;padding:16px 17px;border-color:#55648a;background:#0c1527;line-height:1.5;box-shadow:0 12px 35px #00000016}.ai-prompt:focus{outline:2px solid #7c83ff55;border-color:#858bff;box-shadow:0 0 0 5px #7c83ff12,0 16px 40px #0002}.prompt-chips{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 22px}.prompt-chips button{padding:7px 11px;border:1px solid #ffffff18;border-radius:99px;background:#ffffff08;color:#aab5d0;font-size:.82rem;transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease}.prompt-chips button:hover{filter:none;background:#818cf822;border-color:#8c92ff66;color:#eef0ff;transform:translateY(-1px)}.ai-collapsible{margin:12px 0;padding:15px 17px;border:1px solid #ffffff12;background:#151f33;box-shadow:0 12px 30px #00000012}.ai-collapsible>summary,.ai-subsection>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;font-weight:700;color:#e6eaff}.ai-collapsible summary small,.ai-subsection summary small{color:#7f8ba7;font-size:.74rem;font-weight:500}.ai-settings-content{padding-top:18px}.ai-settings-group h3{margin:0 0 12px;font-size:.92rem;color:#aeb8ff;text-transform:uppercase;letter-spacing:.1em}.ai-settings-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ai-settings-fields .field{min-width:0}.ai-settings-fields input,.ai-settings-fields select{background:#0d1729}.checkbox-row{display:flex;align-items:center;gap:8px;align-self:end;min-height:42px;color:#c3cbe0;font-size:.9rem}.checkbox-row input{width:auto}.ai-subsection{margin-top:18px;padding-top:16px;border-top:1px solid #ffffff12}.ai-subsection .ai-settings-fields{padding-top:15px}.ai-material-block{margin-top:18px;padding-top:18px;border-top:1px solid #ffffff12}.ai-material-block textarea{margin-top:7px;background:#0d1729}.ai-or{display:block;margin:16px 0 6px;font-size:.82rem}.generate-action{margin-top:18px}.generate-action .primary{box-shadow:0 14px 35px #6366f14d}.generate-action>span{display:block;margin-top:8px;text-align:center;color:#7886a4;font-size:.76rem}.ai-item{display:flex;gap:10px;align-items:flex-start;padding:10px 0;border-bottom:1px solid var(--line)}.error{color:#fca5a5}.warn{color:#fcd34d}.import-preview{margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.import-samples{margin:12px 0;padding:10px;background:var(--bg);border-radius:8px;display:flex;flex-direction:column;gap:6px}.import-card-sample{display:flex;align-items:center;gap:12px;padding:9px;border-radius:10px;background:#ffffff03}.import-card-sample img{width:80px;height:60px;object-fit:contain;border-radius:7px;background:#080e1b;flex-shrink:0}.import-card-sample>span{min-width:0;overflow-wrap:anywhere;font-size:13px}.import-card-sample small{display:block;margin-top:5px;font-size:11px}.image-tools{border:1px solid #0ea5e9}.image-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-top:14px}.image-result{overflow:hidden;background:var(--bg);border:1px solid var(--line);border-radius:10px}.image-result>img{display:block;width:100%;height:130px;object-fit:cover;background:#020617}.image-result-body{display:flex;flex-direction:column;gap:5px;padding:10px}.image-result-body b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-result-body small{color:var(--mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-result-body a{color:#93c5fd;font-size:.85rem}.source-preview{margin-top:12px;padding:12px;background:var(--bg);border-radius:10px;display:flex;flex-direction:column;gap:6px}.source-text{max-height:180px;overflow:auto;white-space:pre-wrap;line-height:1.45}.source-images{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px}.source-image{border:1px solid var(--line);padding:4px;display:flex;flex-direction:column;gap:4px;text-align:left;overflow:hidden}.source-image.chosen{outline:2px solid var(--acc)}.source-image img{width:100%;height:72px;object-fit:cover;border-radius:5px}.source-image small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deck h3{margin:0 0 4px}.mut{color:var(--mut)}.study{max-width:720px;margin:0 auto;padding:12px;min-height:100vh;display:flex;flex-direction:column;gap:12px}.topbar{display:flex;justify-content:space-between;align-items:center}.bar{height:8px;background:var(--panel);border-radius:9px;overflow:hidden}.bar i{display:block;height:100%;background:var(--acc);transition:width .3s}.flash{flex:1;background:var(--panel);border-radius:18px;padding:28px;text-align:center;display:flex;flex-direction:column;justify-content:center;gap:12px;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;will-change:transform;transition:box-shadow .18s ease,transform .18s ease}.flash:hover{box-shadow:0 18px 46px #00000026}.flash.is-dragging{transition:none;box-shadow:0 24px 55px #0004}.study-history{display:flex;align-items:center;gap:5px;min-height:10px;padding:2px 1px}.history-segment{display:block;flex:1;height:5px;min-width:8px;border-radius:99px;background:#ffffff18;box-shadow:inset 0 0 0 1px #ffffff08;transition:background .25s ease,transform .2s ease}.history-segment.current{background:linear-gradient(90deg,#818cf8,#c084fc);box-shadow:0 0 12px #818cf866;animation:history-pulse 1.8s ease-in-out infinite}.study-card-nav{display:flex;align-items:center;justify-content:space-between;min-height:26px}.study-card-nav button{padding:4px 8px;border:0;background:transparent;color:#aeb8d2;font-size:.8rem}.study-card-nav button:hover:not(:disabled){filter:none;color:#fff}.study-card-nav button:disabled{visibility:hidden}.study-card-nav small{color:#71809d;font-size:.7rem}.q{font-size:1.5rem;margin:0}.a{font-size:1.4rem;color:#86efac;margin:0}.note{color:var(--mut)}.flashcard-notes{margin-top:10px;color:var(--mut);border:1px solid var(--line);border-radius:12px;padding:10px 14px;text-align:left}.flashcard-notes summary{cursor:pointer;color:#b9c2e6;font-size:.86rem;font-weight:600}.flashcard-notes p{margin:10px 0 2px;white-space:pre-wrap;line-height:1.5}.study-notes{margin-top:0;background:#ffffff04}.flashcard-notes summary:focus-visible{outline:2px solid var(--acc);outline-offset:4px;border-radius:4px}.cardimg{max-width:100%;max-height:260px;margin:0 auto;border-radius:10px;object-fit:contain}.rates{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.rates button{color:#fff;text-shadow:0 1px 2px #0007;border:0;padding:12px 4px;display:flex;flex-direction:column;gap:4px;font-size:.7rem}.rates b{font-size:1.4rem}@media (max-width:600px){.rates{grid-template-columns:1fr}.rates button{flex-direction:row;gap:12px;font-size:.95rem;align-items:center;padding:12px}}.summary{max-width:480px;margin:0 auto;padding:24px;display:flex;flex-direction:column;gap:10px}.lvl{display:flex;justify-content:space-between;border-left:6px solid;padding:8px 12px;background:var(--panel);border-radius:8px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.kpi{background:var(--panel);border-radius:12px;padding:12px;color:var(--mut)}.kpi b{display:block;font-size:1.5rem;color:var(--fg)}.dist{display:flex;align-items:center;gap:8px;margin:6px 0}.dist span{width:16px;font-weight:700}.dist i{height:18px;border-radius:6px;min-width:3px;transition:width .3s}.weak{display:flex;width:100%;justify-content:space-between;text-align:left;border-left:6px solid;margin:6px 0}.field{display:flex;flex-direction:column;gap:4px}.off{opacity:.4}.screen-page{min-height:100vh}.screen-nav{display:flex;align-items:center;gap:24px;margin-bottom:30px}.screen-nav .app-tabs{flex:1;margin:0}.back-link{background:transparent;border:0;padding:8px 0;color:#aab4cc;font-weight:700}.back-link:hover{filter:none;color:#fff}.app-tabs{border-bottom:1px solid #ffffff12}.app-tabs .tab{font-weight:700;letter-spacing:-.01em}.app-tabs .tab.active{color:#f7f8ff;box-shadow:inset 0 -2px #858bff}.app-tabs .tab:hover{filter:none}.screen-page>h2{font-size:clamp(1.8rem,3vw,2.55rem);letter-spacing:-.045em;margin-top:0}.screen-page>.mut{max-width:700px}.screen-shell .screen-page{animation:screen-in .55s cubic-bezier(.2,.8,.2,1)}.app-navigation{position:sticky;top:14px;z-index:10;display:flex;align-items:center;gap:22px;min-height:58px;margin-bottom:30px;padding:7px 9px 7px 15px;border:1px solid #ffffff12;border-radius:17px;background:#0e172980;box-shadow:0 12px 35px #00000018;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);opacity:.78;transition:opacity .25s ease,background .25s ease,box-shadow .25s ease,border-color .25s ease}.app-navigation:hover,.app-navigation:focus-within{opacity:1;background:#0e1729e8;border-color:#ffffff24;box-shadow:0 16px 42px #00000035}.brand-mark{display:flex;align-items:center;gap:8px;padding:8px 10px;border:0;background:transparent;color:#e9ebff;letter-spacing:.11em;font-size:.76rem;transition:background .2s ease,transform .2s ease}.brand-mark span{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:linear-gradient(135deg,#858bff,#c084fc);color:#fff;font-size:1rem;box-shadow:0 5px 18px #818cf855}.brand-mark:hover{filter:none;background:#ffffff0c;transform:translateY(-1px)}.app-navigation .app-tabs{flex:1;margin:0;border:0;min-height:44px}.app-navigation .tab{position:relative;border:0;background:transparent;padding:11px 15px;border-radius:11px;color:#8591ac;transition:background .2s ease,color .2s ease,transform .2s ease}.app-navigation .tab:hover{background:#ffffff0d;color:#f1f3ff;transform:translateY(-1px)}.app-navigation .tab.active{background:#ffffff0c;box-shadow:none;color:#f7f8ff}.app-navigation .tab.active:after{content:"";position:absolute;bottom:1px;left:18px;right:18px;height:2px;border-radius:99px;background:linear-gradient(90deg,#818cf8,#c084fc);animation:tab-glow .35s ease both}.nav-status{color:#71809d;font-size:.61rem;letter-spacing:.14em;white-space:nowrap}.app-navigation .app-tabs{display:flex;align-items:center;gap:6px}.nav-icon{display:inline-grid;place-items:center;width:22px;height:22px;margin-right:4px;color:#9ea7ff;transition:transform .25s ease,color .25s ease,filter .25s ease}.app-navigation .tab:hover .nav-icon{transform:translateY(-2px) rotate(-6deg) scale(1.13);color:#fff;filter:drop-shadow(0 0 8px #9ea7ff99)}.app-navigation .tab.active .nav-icon{color:#c9cdff;animation:nav-icon-breathe 2.2s ease-in-out infinite}.nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;margin-left:5px;padding:0 6px;border:1px solid #ffffff1a;border-radius:99px;background:#ffffff0b;color:#aeb8d3;font-size:.68rem;font-weight:800;transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease}.app-navigation .tab:hover .nav-badge,.app-navigation .tab.active .nav-badge{background:#818cf855;color:#fff;transform:scale(1.08);box-shadow:0 0 16px #818cf844}details>:not(summary){animation:section-in .28s ease both}details summary{cursor:pointer;transition:color .2s ease}details summary:hover{color:#c7ccff}@keyframes screen-in{0%{opacity:0;transform:scale(.985) rotateX(.7deg);filter:blur(1px)}to{opacity:1;transform:none;filter:none}}@keyframes section-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}@keyframes tab-glow{0%{opacity:0;transform:scaleX(.45)}to{opacity:1;transform:scaleX(1)}}@keyframes nav-icon-breathe{0%,to{transform:scale(1);filter:drop-shadow(0 0 0 transparent)}50%{transform:scale(1.08);filter:drop-shadow(0 0 7px #9ea7ff66)}}.app-shell{position:relative;isolation:isolate;overflow:hidden;min-height:100vh;background:radial-gradient(circle at 85% -10%,#29316b55 0,transparent 34%),linear-gradient(145deg,#0a1020,#111827 48%,#0b1221)}.app-shell:before{content:"";position:fixed;top:-18%;right:-18%;bottom:-18%;left:-18%;z-index:-1;pointer-events:none;opacity:.34;background-image:radial-gradient(circle at 7% 14%,#fff 0 1px,transparent 1.7px),radial-gradient(circle at 18% 68%,#bfc8ff 0 1px,transparent 1.8px),radial-gradient(circle at 29% 31%,#fff 0 1.4px,transparent 2.1px),radial-gradient(circle at 42% 82%,#d6d9ff 0 1px,transparent 1.7px),radial-gradient(circle at 54% 18%,#fff 0 1.3px,transparent 2px),radial-gradient(circle at 67% 58%,#9ba8ff 0 1px,transparent 1.8px),radial-gradient(circle at 79% 22%,#fff 0 1px,transparent 1.7px),radial-gradient(circle at 91% 76%,#d6d9ff 0 1.2px,transparent 2px),radial-gradient(circle at 35% 56%,#c084fc 0 1px,transparent 1.8px),radial-gradient(circle at 84% 48%,#818cf8 0 1px,transparent 1.8px);background-size:260px 220px;animation:star-drift 38s linear infinite}.app-shell:after{content:"";position:fixed;top:-25%;right:-25%;bottom:-25%;left:-25%;z-index:-1;pointer-events:none;background:radial-gradient(circle at 20% 10%,#7c83ff1c,transparent 26%),radial-gradient(circle at 85% 70%,#c084fc12,transparent 30%),radial-gradient(circle at 52% 42%,#6476ff08,transparent 34%);animation:aurora-drift 18s ease-in-out infinite alternate}.app-shell>*{position:relative;z-index:1}.library-page{max-width:900px;padding:34px 16px 64px}.library-header{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:52px}.library-header h1{font-size:clamp(2rem,4vw,3.4rem);letter-spacing:-.055em;margin:6px 0 8px;background:linear-gradient(120deg,#fff,#b8c3ff);-webkit-background-clip:text;background-clip:text;color:transparent}.library-header p{margin:0;font-size:1.02rem}.eyebrow,.modal-kicker{font-size:.68rem;letter-spacing:.18em;font-weight:800;color:#8d9aff}.study-pulse{display:grid;grid-template-columns:minmax(190px,1.1fr) minmax(300px,1.7fr) auto;align-items:center;gap:20px;margin:-24px 0 48px;padding:17px 18px;border:1px solid #ffffff12;border-radius:17px;background:linear-gradient(110deg,#151f36cc,#111a2dcc);box-shadow:0 14px 38px #00000018}.study-pulse-intro{display:flex;flex-direction:column;gap:5px}.study-pulse-intro strong{font-size:1rem;color:#edf0ff}.study-pulse-intro small{color:#8592ad;line-height:1.35}.study-pulse-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.study-pulse-metrics>div{display:flex;flex-direction:column;gap:2px;padding-left:14px;border-left:1px solid #ffffff12}.study-pulse-metrics b{font-size:1.25rem;color:#f5f6ff}.study-pulse-metrics span{color:#8290ac;font-size:.7rem}.study-pulse-badge{display:flex;align-items:center;gap:8px;max-width:150px;color:#bfc5ff}.study-pulse-badge span{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:#818cf833;color:#d8daff;box-shadow:0 0 18px #818cf833}.study-pulse-badge small{line-height:1.3}.create-deck-button{background:#eef0ff;color:#11162c;border:0;border-radius:14px;padding:13px 18px;font-weight:800;box-shadow:0 12px 30px #6366f133;white-space:nowrap}.create-deck-button:hover{filter:none;transform:translateY(-2px);box-shadow:0 16px 34px #6366f155}.library-page .tabs{border-bottom-color:#ffffff14;margin-bottom:24px;gap:8px}.library-page .tab{padding:10px 14px;color:#8994ae;border-radius:10px}.library-page .tab.active,.library-page .tab:hover{background:#ffffff0d;color:#f8fafc}.library-page .tab span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:5px;padding:0 5px;border-radius:99px;background:#5964d8;color:#fff;font-size:.72rem}.library-overview{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr)) minmax(210px,1.6fr);gap:1px;overflow:hidden;border:1px solid #ffffff12;background:#ffffff12;border-radius:18px;margin-bottom:44px}.library-overview>div{background:#111a2c;padding:17px 20px;display:flex;flex-direction:column;gap:5px}.library-overview b{font-size:1.65rem;letter-spacing:-.04em}.overview-progress{justify-content:center}.overview-progress small{color:#7785a3;font-size:.76rem}.progress-track{height:6px;background:#ffffff12;border-radius:99px;overflow:hidden}.progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6e75f7,#a69cff);transition:width .35s ease}.library-toolbar{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:18px}.library-toolbar h2{margin:0 0 4px;font-size:1.35rem;letter-spacing:-.02em}.deck-search{display:flex;align-items:center;gap:8px;width:230px;padding:9px 12px;background:#ffffff08;border:1px solid #ffffff16;border-radius:12px;color:#8e9ab5;transition:background .2s ease,border-color .2s ease,box-shadow .2s ease}.deck-search:focus-within{background:#ffffff0d;border-color:#7c83ff88;box-shadow:0 0 0 3px #7c83ff1c}.deck-search>span{font-size:1.05rem;line-height:1}.deck-search input{min-width:0;padding:0;border:0;background:transparent;outline:0;color:#edf0ff}.deck-search input::placeholder{color:#7e8aa5}.deck-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.deck-card{min-width:0;overflow:hidden;border:1px solid #ffffff12;border-radius:18px;background:#151f33;box-shadow:0 12px 40px #00000018;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.deck-card:hover{transform:translateY(-5px);border-color:#8c92ff55;box-shadow:0 20px 50px #0005}.deck-cover{position:relative;height:175px;overflow:hidden;background:radial-gradient(circle at 80% 20%,#8d96ff66,transparent 36%),linear-gradient(140deg,#283b70,#4c337a 56%,#da6d8c);background-position:center;background-size:cover}.deck-cover-symbol{position:absolute;top:18px;left:20px;color:#ffffffb5;font-size:2.1rem}.deck-cover-initial{position:absolute;right:20px;bottom:2px;font-size:7.3rem;line-height:1;color:#ffffff18;font-weight:900}.deck-card-shade{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#00000008,#00000062)}.deck-more{position:absolute;top:12px;right:12px;width:34px;height:34px;padding:0;border-radius:11px;border-color:#ffffff2b;background:#0a102088;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);font-size:1.35rem;line-height:1;opacity:0;transition:opacity .2s ease}.deck-card:hover .deck-more{opacity:1}.deck-card-count{position:absolute;bottom:14px;left:16px;color:#fff;font-size:.75rem;font-weight:700;background:#071020aa;border:1px solid #ffffff24;padding:5px 9px;border-radius:99px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.deck-card-body{padding:15px 16px 16px}.deck-card-title-row{display:flex;align-items:center;gap:8px}.deck-card h3{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:1.05rem;margin:0}.deck-pencil{width:28px;height:28px;padding:0;border:0;background:transparent;color:#8792ad;opacity:0}.deck-card:hover .deck-pencil{opacity:1}.deck-card-meta{display:flex;justify-content:space-between;gap:8px;color:#8190aa;font-size:.76rem;margin:8px 0 10px}.deck-study-button{display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:14px;padding:9px 0 0;border:0;border-top:1px solid #ffffff10;border-radius:0;background:transparent;color:#cbd2ff;font-size:.82rem;font-weight:700;text-align:left}.deck-study-button span{font-size:1.1rem;transition:transform .2s}.deck-study-button:hover{filter:none;color:#fff}.deck-study-button:hover span{transform:translate(4px)}.empty-state{grid-column:1/-1;text-align:center;padding:70px 20px;border:1px dashed #ffffff25;border-radius:18px}.empty-state>span{font-size:2rem;color:#9da6ff}.empty-state h3{margin:8px 0 2px}.modal-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#020617bb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);animation:fade-in .18s ease}.modal-card{width:min(480px,100%);max-height:90vh;overflow:auto;padding:26px;border:1px solid #ffffff1c;border-radius:22px;background:linear-gradient(145deg,#1c2840,#101827);box-shadow:0 30px 100px #0008;animation:modal-in .22s ease}.modal-card h2{margin:7px 0 8px;letter-spacing:-.035em}.modal-card>input{margin-top:16px;background:#0a1222;border-color:#ffffff1c}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:20px}.modal-primary{width:auto!important;padding:11px 17px!important}.modal-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.modal-close{width:34px;height:34px;padding:0;border-radius:10px;background:#ffffff0c;border-color:#ffffff12;font-size:1.35rem}.actions-modal{width:min(720px,100%)}.action-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:22px}.action-tile{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-height:105px;padding:14px;border-radius:14px;border:1px solid #ffffff12;background:#ffffff08;text-align:left}.action-tile:hover{filter:none;background:#ffffff12;border-color:#8c92ff66;transform:translateY(-2px)}.action-tile span{color:#aeb5ff;font-size:1.25rem}.action-tile b{font-size:.86rem}.action-tile small{color:#7d8aa5;font-size:.72rem}.action-tile.featured{background:linear-gradient(145deg,#6366f133,#8b5cf622);border-color:#818cf855}.action-tile.danger span,.action-tile.danger b{color:#fca5a5}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}@keyframes history-pulse{0%,to{opacity:.72;transform:scaleY(1)}50%{opacity:1;transform:scaleY(1.35)}}@keyframes card-swipe-left{0%{opacity:.45;transform:translate(34px) rotate(1.5deg)}to{opacity:1;transform:none}}@keyframes card-swipe-right{0%{opacity:.45;transform:translate(-34px) rotate(-1.5deg)}to{opacity:1;transform:none}}.flash.card-swipe-left{animation:card-swipe-left .24s cubic-bezier(.2,.8,.2,1)}.flash.card-swipe-right{animation:card-swipe-right .24s cubic-bezier(.2,.8,.2,1)}@keyframes star-drift{0%{background-position:0 0}to{background-position:260px 220px}}@keyframes aurora-drift{0%{transform:scale(1) translateZ(0)}to{transform:scale(1.08) translate3d(2%,-1%,0)}}@media (max-width:760px){.library-page{padding:18px 16px 44px}.app-navigation{top:8px;margin-bottom:24px;gap:4px;padding-left:8px}.brand-mark b,.nav-status{display:none}.app-navigation .app-tabs{justify-content:center}.app-navigation .tab{padding:10px 9px;font-size:.82rem}.library-header{align-items:flex-start;flex-direction:column;margin-bottom:38px}.create-deck-button{align-self:stretch}.study-pulse{grid-template-columns:1fr;margin-top:-12px;margin-bottom:36px;gap:16px}.study-pulse-metrics{grid-template-columns:repeat(2,1fr);gap:12px}.study-pulse-metrics>div{padding-left:10px}.study-pulse-badge{max-width:none}.library-toolbar{align-items:stretch;flex-direction:column}.deck-search{width:100%}.deck-grid,.ai-settings-fields{grid-template-columns:1fr}.ai-collapsible>summary small,.ai-subsection>summary small{max-width:45%;text-align:right}.action-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:460px){.library-overview>div{padding:13px}.library-overview b{font-size:1.35rem}.action-grid{grid-template-columns:1fr}}.ambient-background{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at 75% 15%,#30387555,transparent 55%),linear-gradient(140deg,#0a1020,#111827 65%,#101329)}.ambient-background:before{content:"";position:absolute;top:-25%;right:-25%;bottom:-25%;left:-25%;background-image:radial-gradient(circle at 15% 25%,#d4d9ff 0 1px,transparent 1.8px),radial-gradient(circle at 65% 70%,#fff 0 1.3px,transparent 2px),radial-gradient(circle at 80% 10%,#a8b5ff 0 .7px,transparent 1.5px);background-size:337px 293px;opacity:.24;animation:ambient-stars 65s linear infinite}.ambient-background:after{content:"";position:absolute;top:-30%;right:-30%;bottom:-30%;left:-30%;background:radial-gradient(ellipse at 28% 35%,#8275f51b,transparent 35%),radial-gradient(ellipse at 75% 65%,#557ac91a,transparent 35%);animation:aurora-drift 26s ease-in-out infinite alternate}@keyframes ambient-stars{to{background-position:337px 293px}}.app-shell{background:transparent;overflow:visible}.app-shell:before,.app-shell:after{display:none}.screen-page,.library-page{padding:24px 16px 64px}.app-navigation{opacity:1;min-height:64px;margin-bottom:30px;background:#0e17297a}.app-navigation .app-tabs{margin:0;gap:6px;padding:0;border:0}.library-page .tab span.nav-icon{margin:0 4px 0 0;padding:0;background:transparent;color:#aab4ef;width:22px;height:22px;font-size:1rem}.app-navigation .tab.active .nav-icon,.screen-shell .screen-page{animation:none}.screen-page>:not(.app-navigation){animation:content-reveal .22s ease both}@keyframes content-reveal{0%{opacity:0}to{opacity:1}}.nav-status{color:#8996b2}.mut{color:#a1aec5}.study-pulse{grid-template-columns:minmax(180px,1fr) auto;gap:14px 24px;background:linear-gradient(100deg,#20264499,#111a2b55);border-color:#b1aaff18}.week-activity{display:flex;gap:9px}.week-activity>div{display:flex;align-items:center;flex-direction:column;gap:6px}.week-activity span{display:grid;place-items:center;width:32px;height:32px;border:1px solid #ffffff12;border-radius:11px;color:#9da9c3;background:#ffffff04}.week-activity small{font-size:.65rem;color:#9caac3}.week-activity .day-active span{background:#8581f333;color:#dedaff;border-color:#a499ff77;box-shadow:0 0 18px #8b7cf51c}.activity-caption{color:#a1aec5;font-size:.8rem}.study-pulse-badge{max-width:none;font-size:.8rem}.study-pulse-badge span{flex-shrink:0}.deck-cover-image{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}.deck-card:hover .deck-cover-image{transform:scale(1.035)}.deck-card:focus-within .deck-more,.deck-card:focus-within .deck-pencil{opacity:1}button:focus-visible,summary:focus-visible,.flash:focus-visible{outline:2px solid #b1a6ff;outline-offset:4px}.deck-editor>h2{font-size:2rem;letter-spacing:-.04em}.editor-tool{border:1px solid #ffffff14;border-radius:15px;background:#172137a3;margin:12px 0;padding:15px 17px}.editor-tool>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;font-weight:650;list-style:none}.editor-tool>summary:after{content:"＋";color:#b0a9ff}.editor-tool[open]>summary:after{content:"−"}.editor-tool summary small{margin-left:auto;color:#9cabc5;font-size:.76rem;font-weight:400}.editor-tool>.deck{background:transparent;margin-bottom:0;padding:14px 0 0}.editor-menu{position:relative}.editor-menu>summary{cursor:pointer;color:#b6bfd6;font-size:.85rem}.editor-menu>div{position:absolute;right:0;top:30px;z-index:12;width:230px;background:#182239;border:1px solid #ffffff24;border-radius:14px;padding:12px;box-shadow:0 18px 45px #0008}.selection-toolbar{position:sticky;top:100px;z-index:8;padding:13px;border:1px solid #ffffff1a;border-radius:14px;background:#142036f5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.editor-card-list .deck{border:1px solid #ffffff0b;background:#152035}.editor-card-list .deck.selected{background:#282950;border-color:#9b94ff77}.editor-card-list .deck:hover{border-color:#a6b1d733}@media (hover:none){.deck-more,.deck-pencil{opacity:1}}@media (max-width:760px){.study-pulse{grid-template-columns:1fr}.week-activity{justify-content:space-between}.editor-tool summary small{display:none}.selection-toolbar{top:87px}.nav-status{display:none}}.ui-icon{width:20px;height:20px;display:inline-block;vertical-align:middle;flex-shrink:0}.deck-more,.deck-pencil{display:grid;place-items:center}.stats-heading{margin:20px 0}.stats-heading h2{font-size:clamp(1.8rem,4vw,2.7rem);letter-spacing:-.04em;margin:7px 0}.stats-heading p{margin:0}.stats-mastery{display:flex;align-items:center;gap:25px;padding:25px;border-radius:20px;background:linear-gradient(115deg,#6860bb33,#152035);border:1px solid #b6aaff22}.stats-mastery>strong{font-size:clamp(2.3rem,6vw,4rem);letter-spacing:-.06em;color:#d2caff}.stats-mastery>div{flex:1;display:flex;flex-direction:column;gap:12px}.stats-details{padding-top:18px}.stats-details .kpi{background:#ffffff04;border:1px solid #ffffff0b}.stats-page .weak{gap:16px;padding:14px;background:#172136}.stats-page .weak .mut{font-size:.8rem}.card-search{display:flex;flex-direction:column;gap:8px;margin:22px 0 16px}.card-search>span{font-size:.85rem;color:#b1bdd2}.card-search input{background:#111c30}.card-row-menu{position:relative}.card-row-menu>summary{list-style:none;cursor:pointer;font-size:1.3rem;padding:3px 10px;border-radius:9px;color:#abb9d2}.card-row-menu>summary:hover{background:#ffffff0b}.card-row-menu>div{position:absolute;right:0;top:35px;z-index:14;display:flex;flex-direction:column;gap:8px;padding:12px;min-width:200px;border:1px solid #ffffff20;border-radius:14px;background:#1b2840;box-shadow:0 15px 35px #0008;animation:content-reveal .15s ease}.card-row-menu>div button{color:#ffb8bc}.editor-card-list>.deck{overflow:visible}.study{padding:24px 16px;gap:14px}.study-mode{color:#9bacc8;font-size:.8rem}.study-completed{text-align:right;font-size:.75rem}.study .flash{background:linear-gradient(140deg,#22304aea,#151d30f5);border:1px solid #ffffff18;border-radius:26px;box-shadow:0 25px 65px #0003;touch-action:pan-y;cursor:grab;min-height:290px}.study .flash.is-dragging{cursor:grabbing}.study .flash .a{animation:answer-reveal .2s ease both}.study .flash hr{width:50%;border:0;border-top:1px solid #a9b4d12a}.study .rates button{border-radius:14px;transition:transform .16s ease,box-shadow .16s ease}.study .rates button:hover{transform:translateY(-3px);box-shadow:0 10px 25px #0003}.summary{margin:40px auto;border:1px solid #ffffff17;border-radius:24px;background:#172139e8;box-shadow:0 25px 70px #0003}.summary h2{font-size:1.6rem;letter-spacing:-.035em}.summary .lvl{background:#ffffff05}.history-segment.current{outline:1px solid #dad5ff;outline-offset:3px}@keyframes answer-reveal{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media (max-width:600px){.stats-mastery{padding:18px;gap:16px}.stats-page .weak{flex-direction:column}.study-card-nav{flex-wrap:wrap;gap:5px}.study .rates{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.study .rates button{flex-direction:column;padding:10px 3px;font-size:.6rem;gap:5px}.study .rates b{font-size:1.2rem}}.study .answer-motion{display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-7px);transition:grid-template-rows .22s ease,opacity .18s ease,transform .22s ease}.study .answer-content{min-height:0;overflow:hidden;visibility:hidden;transition:visibility .22s}.study .answer-open .answer-motion{grid-template-rows:1fr;opacity:1;transform:none}.study .answer-open .answer-content{visibility:visible}.study .answer-content .a{animation:none}.answer-hint{font-size:.7rem;color:#9faec8;margin-top:7px;pointer-events:none}.editor-page{max-width:1280px}.editor-heading{max-width:900px;margin-bottom:26px}.editor-heading h2{font-size:2rem;letter-spacing:-.035em}.editor-workspace{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:28px;align-items:start}.editor-main{min-width:0}.editor-sidebar{position:sticky;top:105px;max-height:calc(100vh - 125px);overflow:auto;padding:18px;border:1px solid #ffffff12;border-radius:22px;background:#111c2acc;scrollbar-width:thin;scrollbar-color:#716fad55 transparent}.sidebar-heading h3{margin:8px 0;font-size:1.15rem}.sidebar-heading p{font-size:.8rem;line-height:1.5;margin:0 0 18px}.editor-sidebar .editor-tool{padding:13px;margin:10px 0}.editor-sidebar .editor-tool summary{font-size:.86rem}.editor-sidebar .editor-tool summary small{display:none}.editor-sidebar input,.editor-sidebar select{min-width:0!important;max-width:100%}.editor-sidebar input[type=file]{font-size:.75rem}.editor-sidebar .image-results{grid-template-columns:1fr}.editor-main .selection-toolbar{margin-top:0!important}.editor-main .selection-toolbar>.row{gap:7px}.editor-main .selection-toolbar button,.editor-main .selection-toolbar select{font-size:.76rem;padding:8px 9px}.editor-main>.mut{font-size:.75rem;line-height:1.5}.card-list-filters{display:flex;gap:12px;margin-bottom:18px}.card-list-filters .field{flex:1;min-width:0;font-size:.8rem}.card-list-filters select{font-size:.85rem}@media (max-width:1000px){.editor-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:18px}}@media (max-width:760px){.editor-workspace{display:flex;flex-direction:column}.editor-main,.editor-sidebar{width:100%}.editor-sidebar{position:static;max-height:none}.editor-main .selection-toolbar{position:static}.card-list-filters{flex-wrap:wrap}}.modal-dialog{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:20px;border:0;background:transparent;color:var(--fg);overflow:auto}.modal-dialog[open]{display:grid;place-items:center}.modal-dialog::backdrop{background:#020617bb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.modal-dialog .modal-card{position:relative;margin:auto;padding-top:38px}.modal-dismiss{position:absolute;right:14px;top:12px;width:32px;height:32px;padding:0;border:1px solid #ffffff12;background:#ffffff08;border-radius:10px;font-size:1.35rem;line-height:1}.library-filters{display:flex;gap:12px;margin:-5px 0 23px}.library-filters .field{font-size:.73rem;color:#a9b6cf;min-width:165px}.library-filters select{padding:8px 10px;background:#ffffff04;border-color:#ffffff14;font-size:.8rem}.workshop-toggle{display:none}@media (max-width:760px){.library-filters .field{flex:1;min-width:0}.library-filters{gap:8px}.workshop-toggle{display:block;width:100%;text-align:left;padding:13px;background:#7771ed22;border-color:#aaa2ff44}.editor-sidebar{display:none;order:-1}.editor-sidebar.workshop-open{display:block}.workshop-toggle{order:-2}.modal-dialog{padding:12px}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}.learning-goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.learning-goal-option{text-align:left;padding:16px;display:flex;flex-direction:column;gap:6px}.learning-goal-option small{color:var(--mut, #94a3b8);line-height:1.5}.learning-goal-option[aria-pressed=true],.prompt-chips button[aria-pressed=true]{border-color:#a78bfa;background:#8b5cf629}@media (max-width: 560px){.learning-goal-grid{grid-template-columns:1fr}}.table-importer{margin-top:18px}.table-crop-surface{position:relative;width:100%;margin-top:16px;touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;border:1px solid #a78bfa55;border-radius:10px;overflow:hidden}.table-crop-surface>img{display:block;width:100%;height:auto;pointer-events:none}.table-crop-box{position:absolute;pointer-events:none;border:1px dashed #ffffff99;background:#0006}.table-crop-box.chosen{background:#8b5cf630;border:2px solid #a78bfa;box-shadow:0 0 12px #8b5cf633}.table-crop-box.adjusting{border:3px solid #34d399;background:#34d39922;z-index:2}.table-crop-box span{position:absolute;top:0;left:0;font-size:11px;background:#5b21b6;padding:1px 5px;border-radius:0 0 5px}.table-bound-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.table-selection{position:absolute;z-index:3;border:2px solid #c4b5fd;cursor:move;touch-action:none;box-shadow:0 0 0 1px #181029,0 0 20px #a78bfa33}.table-selection.correcting{border-color:#34d399;background:#34d39918}.table-resize-handle{position:absolute;width:14px;height:14px;border:2px solid #fff;border-radius:4px;background:#8b5cf6;transform:translate(-50%,-50%);box-shadow:0 2px 8px #0009;touch-action:none}.correcting .table-resize-handle{background:#059669}.table-resize-handle:after{content:"";position:absolute;top:-7px;right:-7px;bottom:-7px;left:-7px}.handle-nw{left:0;top:0;cursor:nwse-resize}.handle-n{left:50%;top:0;cursor:ns-resize}.handle-ne{left:100%;top:0;cursor:nesw-resize}.handle-e{left:100%;top:50%;cursor:ew-resize}.handle-se{left:100%;top:100%;cursor:nwse-resize}.handle-s{left:50%;top:100%;cursor:ns-resize}.handle-sw{left:0;top:100%;cursor:nesw-resize}.handle-w{left:0;top:50%;cursor:ew-resize}.processing .table-selection{pointer-events:none;opacity:.6}.screen-page:has(>.table-workspace[open])>:not(.app-navigation):not(.table-workspace){display:none}.table-step-heading{scroll-margin-top:110px}.table-steps{display:flex;gap:8px;margin:14px 0 22px}.table-steps button{flex:1;padding:9px 8px;border:0;border-bottom:2px solid #ffffff12;background:transparent;color:#8d99b5;font-size:.85rem;text-align:left}.table-steps button.active{border-color:#a78bfa;color:#eee9ff;background:#8b5cf618;border-radius:8px 8px 0 0}.table-steps button:disabled{opacity:.45;cursor:default}.study-card-stage{position:relative;flex:1;display:flex;min-width:0}.study-card-stage .flash{width:100%}.spacing-switch{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px;margin:16px 0;border:1px solid #a69df32b;border-radius:18px;background:linear-gradient(120deg,#8572d515,#142038);cursor:pointer}.spacing-switch span{display:grid;gap:6px}.spacing-switch small{color:#a1adc5;line-height:1.45}.spacing-switch input{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 48px;width:48px;height:28px;border:1px solid #8e9ab344;border-radius:30px;background:#111b2e;cursor:pointer;position:relative;transition:background .18s}.spacing-switch input:before{content:"";position:absolute;width:20px;height:20px;top:3px;left:3px;border-radius:50%;background:#aab6cc;transition:transform .18s}.spacing-switch input:checked{background:#7464df}.spacing-switch input:checked:before{transform:translate(20px);background:#fff}.spacing-switch input:focus-visible{outline:2px solid #b6a9ff;outline-offset:4px}.focus-study .study-card-stage{perspective:1400px}.focus-study .flash{transform-origin:center;backface-visibility:hidden}.focus-study .flash.is-dragging{cursor:grabbing;transition:none;animation:none}.focus-study .flash.card-turn-out{animation:study-turn-out .11s ease-in forwards;pointer-events:none}.focus-study .flash.card-turn-in{animation:study-turn-in .13s ease-out both;pointer-events:none}@keyframes study-turn-out{0%{transform:rotateY(0)}to{transform:rotateY(88deg)}}@keyframes study-turn-in{0%{transform:rotateY(-88deg)}to{transform:rotateY(0)}}.study .cardimg{width:100%;height:clamp(180px,30vh,320px);max-height:none;object-fit:contain}.study-edit-trigger{position:absolute;right:14px;top:14px;z-index:3;opacity:.45;background:#0c1427aa;padding:6px 10px;transition:opacity .18s}.study-card-stage:hover .study-edit-trigger,.study-edit-trigger:focus-visible,.study-edit-trigger[aria-expanded=true]{opacity:1}.study-quick-edit{position:absolute;z-index:4;top:52px;right:12px;width:min(380px,calc(100% - 24px));max-height:calc(100% - 64px);overflow:auto;padding:18px;border:1px solid #858bff55;border-radius:18px;background:#141d31;box-shadow:0 18px 50px #0006;animation:quick-edit-in .16s ease-out}.study-quick-edit .field{margin:10px 0}@keyframes quick-edit-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.study-quick-edit{animation:none}}@media (hover:none){.study-edit-trigger{opacity:.85}}.table-step-actions{display:flex;gap:12px;margin-top:20px;align-items:center}.table-step-actions .primary{flex:1}.table-extra{margin:18px 0}.card-select-zone{display:flex;align-items:center;gap:14px;flex:1;min-width:180px;text-align:left;padding:14px 10px;border:1px solid transparent;background:transparent;color:inherit;-webkit-user-select:none;user-select:none}.card-select-zone:hover{filter:none;background:#8b5cf614;border-color:#a78bfa33}.card-select-zone:focus-visible{outline:2px solid #c4b5fd;outline-offset:2px}.card-select-mark{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:2px solid #8793b5;border-radius:11px;font-size:22px;color:#c4b5fd;background:#ffffff08}.card-select-zone[aria-checked=true] .card-select-mark{background:#8b5cf6;border-color:#c4b5fd;color:#fff}.card-select-zone img{max-width:100px;object-fit:contain}.selection-toolbar{position:sticky;top:96px;z-index:5;background:#111c30f5;border:1px solid #ffffff18;border-radius:16px;padding:14px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.reset-undo{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:12px;margin:12px 0;border:1px solid #a78bfa55;border-radius:12px}.selection-more{width:100%}.selection-more>summary{color:#b4bfda;padding:8px 0;cursor:pointer}.selection-more>.row{margin:8px 0}.ai-quality-summary{display:flex;flex-direction:column;gap:6px;padding:14px 16px;margin:12px 0;border:1px solid #a78bfa55;border-radius:12px;background:#8b5cf610}.ai-quality-summary span{font-size:.85rem;color:#aeb8d2}.ai-quality-warning{padding:12px 14px;margin-bottom:14px;border:1px solid #fbbf2455;border-radius:10px;background:#fbbf2410;color:#f8dc99}.ai-quality-warning ul{margin:8px 0;padding-left:20px;font-size:.9rem}.ai-image-review{margin-top:12px;padding:10px 12px;border:1px solid #a78bfa33;border-radius:10px}.ai-image-review p{margin:0 0 8px}.ai-quality-warning .checkbox-row,.ai-image-review .checkbox-row{align-items:flex-start;line-height:1.4}@media (max-width:600px){.selection-toolbar{position:static}.card-select-zone{flex-basis:100%}}.table-importer .table-column-labels{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.table-importer .table-column-label{padding:10px}.table-column-labels,.table-preview-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.table-column-label,.table-preview-card{padding:14px;border:1px solid #ffffff15;border-radius:14px;background:#ffffff04}.table-preview-card>img{display:block;width:100%;height:190px;object-fit:contain;background:#080e1b;border-radius:8px;margin-bottom:12px}.table-preview-card .field{margin:10px 0}.table-preview-question{font-size:1.15rem;font-weight:700;margin:12px 0;color:#eef0ff}.table-preview-answer{font-size:1.05rem;color:#a8e6c2;font-weight:600;margin:12px 0}.table-preview-actions{margin-top:14px;gap:8px}.table-preview-actions>button:first-child{background:#8b5cf620;border-color:#a78bfa50}.table-preview-edit{margin-top:12px;border-top:1px solid #ffffff12;padding-top:10px}.table-preview-edit>summary{font-size:.8rem;color:#a6b0c5;cursor:pointer}@media (max-width:650px){.table-importer .table-resize-handle.handle-n,.table-importer .table-resize-handle.handle-e,.table-importer .table-resize-handle.handle-s,.table-importer .table-resize-handle.handle-w,.crop-studio-stage .table-resize-handle.handle-n,.crop-studio-stage .table-resize-handle.handle-e,.crop-studio-stage .table-resize-handle.handle-s,.crop-studio-stage .table-resize-handle.handle-w{display:none}.crop-studio-tools{gap:6px}.crop-studio-tools button{padding:9px 11px}}.table-scan-line{position:absolute;left:0;right:0;height:3px;background:#c4b5fd;box-shadow:0 0 25px 5px #8b5cf6aa;pointer-events:none;animation:table-scan 1.4s linear infinite}@keyframes table-scan{0%{top:0}to{top:100%}}@media (max-width:560px){.table-bound-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.table-preview-grid,.table-column-labels{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.table-scan-line{animation:none;top:50%}}.table-saved-row{position:absolute;pointer-events:none;border:2px dashed #34d399;background:#34d39914}.table-saved-row span{position:absolute;top:-18px;left:0;font-size:11px;line-height:16px;color:#a7f3d0;background:#064e3b;padding:0 5px;border-radius:4px}.table-row-list{margin:18px 0;padding:14px;border:1px solid #ffffff18;border-radius:14px}.table-row-item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 0;border-bottom:1px solid #ffffff12}.table-row-item.active{color:#c4b5fd}.table-category-badge{display:inline-block;padding:4px 9px;margin-bottom:10px;border-radius:20px;background:#8b5cf622;color:#c4b5fd;font-size:.8rem}.card-tag-list{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.card-tag-list span{font-size:.7rem;padding:2px 7px;border-radius:12px;background:#8b5cf61c;color:#b7b2ee}.source-images{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin-top:12px}.source-image{position:relative;border-radius:12px;background:#080e1c;padding:9px;gap:8px}.source-image img,.source-photo-thumb{display:block;width:100%;height:150px;object-fit:contain!important;background:#070d19;border-radius:9px}.source-image small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.4}.source-enlarge{display:block;font-size:.75rem;color:#c4c7ff;padding:6px 0}.source-card-picker{margin-top:16px;padding:14px;border:1px solid #ffffff18;border-radius:14px;background:#080e1c55}.source-picker-heading{display:flex;justify-content:space-between;gap:12px;font-size:.82rem;margin-bottom:10px}.source-selected-photo{display:block;width:100%;padding:6px;background:#070d19;border:1px solid #ffffff12;border-radius:12px;margin:10px 0;text-align:center}.source-selected-photo .source-photo-thumb{height:220px}.source-photo-large{display:block;width:100%;height:min(48vh,440px);object-fit:contain;background:#070d19;border-radius:12px;margin:12px 0}.source-photo-caption{font-size:.85rem;color:#aebdd4;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;max-height:120px;overflow:auto}.source-picker-filters{margin:14px 0}.source-picker-filters .prompt-chips{margin:0 0 10px}.source-picker-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.source-picker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:9px;max-height:340px;overflow:auto;padding:3px}.source-picker-tile{min-width:0;padding:6px;border:1px solid #ffffff1c;border-radius:12px;background:#080e1c;text-align:left}.source-picker-tile.chosen{border-color:#a69bff;box-shadow:0 0 0 2px #a69bff55;background:#8b5cf619}.source-picker-tile .source-photo-thumb{height:100px}.source-picker-tile small{display:block;color:#c4c7ff;font-size:.7rem;margin:7px 0 4px}.source-picker-tile>span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.72rem;line-height:1.4;color:#aebdd4}.source-picker-inspect .source-photo-large{height:260px;margin:0}.source-picker-inspect .source-selected-photo{margin:0 0 9px}.source-photo-error{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:100px;color:#fca5a5;font-size:.8rem;text-align:center;padding:12px}.source-crop-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;align-items:start}.source-crop-surface{overflow:visible;margin:10px 0 16px;border-radius:0}.source-crop-selection{box-shadow:0 0 0 1px #181029,0 0 12px #a78bfa88;background:#8b5cf614}.source-crop-move{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:move}.source-crop-selection .table-resize-handle{padding:0;min-width:14px;z-index:1}.source-crop-selection button:hover{transform:translate(-50%,-50%)}.source-crop-selection .source-crop-move:hover{transform:none;background:#8b5cf618}.source-crop-preview{padding:10px;background:#070d19;border:1px solid #ffffff14;border-radius:12px;text-align:center}.source-crop-preview strong{font-size:.8rem;color:#aebdd4}.source-crop-preview img{display:block;width:100%;max-height:340px;object-fit:contain;margin-top:10px}.source-card-picker>.row+.row{margin-top:8px}@media (max-width:560px){.source-crop-layout{grid-template-columns:1fr}.source-crop-preview img{max-height:180px}}@media (max-width:560px){.source-picker-layout{grid-template-columns:1fr}.source-picker-grid{max-height:240px}.source-picker-inspect .source-photo-large{height:190px}.source-picker-heading{flex-wrap:wrap}.source-photo-large{height:35vh}.source-card-picker .row{gap:8px}}.creation-heading{margin:42px 0 28px}.creation-wayfinder{display:flex;align-items:center;gap:18px;margin:24px 0;padding:10px;background:#101a2b70;border:1px solid #ffffff0e;border-radius:18px}.creation-back{display:flex;align-items:center;gap:10px;border-radius:12px;background:#a78bfa16;border-color:#a78bfa33}.creation-back>span{transition:transform .18s ease}.creation-back:hover>span{transform:translate(-3px)}.creation-wayfinder nav{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#8794b0;font-size:.83rem}.creation-wayfinder nav button{border:0;padding:6px 8px;background:transparent;color:#c1c8e0}.creation-wayfinder nav button:hover{color:#fff;background:#a78bfa16}.creation-steps>button{display:flex;align-items:center;gap:10px;border:0;border-radius:12px;padding:10px 12px;color:#8290aa;background:transparent;transition:background .2s,color .2s}.creation-steps>button>span{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#ffffff08;font-size:.78rem}.creation-steps>button[aria-current]{color:#e0d5ff;background:#a78bfa16;box-shadow:inset 0 -2px #a78bfa}.creation-steps>button[aria-current]>span{background:#a78bfa35}.creation-steps>button:disabled{opacity:.5;cursor:default}.geo-table-shortcut{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;margin:18px 0;border-radius:16px;border:1px solid #a78bfa33;background:linear-gradient(115deg,#49316c33,#193c4833)}.geo-table-shortcut small{display:block;margin-top:7px;color:#96a6bf}.geo-table-shortcut button{white-space:nowrap}.image-review-help{margin-top:6px;font-size:.76rem;color:#8995ae}.image-review-help summary{cursor:pointer}@media (max-width: 600px){.creation-wayfinder{align-items:flex-start;gap:8px}.creation-steps{gap:4px}.creation-steps>button{padding:8px 6px;gap:6px}.geo-table-shortcut{flex-direction:column;align-items:flex-start}}.geo-goal-menu{display:flex;flex-direction:column;gap:4px;margin:24px 0}.creation-wayfinder.creation-wayfinder-quiet{position:relative;background:none;border:0;box-shadow:none;padding:4px 0;margin:10px 0;min-height:32px;justify-content:space-between}.creation-wayfinder-quiet .creation-back{background:transparent;border-color:transparent;padding:5px 8px;color:#9daac5;font-size:.8rem}.creation-path-menu{position:relative;color:#9daac5;font-size:.76rem}.creation-path-menu>summary{padding:7px 8px;cursor:pointer}.creation-path-menu nav{position:absolute;top:100%;right:0;z-index:5;min-width:180px;padding:10px;display:flex;flex-direction:column;align-items:stretch;border:1px solid #ffffff18;border-radius:14px;background:#141d31;box-shadow:0 14px 30px #0004}.ai-review-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.ai-review-heading small{color:#94a6bf;font-size:.72rem}.creation-review-nav.review-navigation{justify-content:center;gap:22px;padding:12px;background:#ffffff03;border:1px solid #ffffff0c;border-radius:18px;margin:16px 0}.review-navigation>button{width:42px;height:42px;padding:0;border-radius:50%;background:#ffffff08;font-size:1.2rem;transition:background .18s,transform .18s}.review-navigation>button:not(:disabled):hover{transform:translate(2px)}.review-navigation>button:first-child:not(:disabled):hover{transform:translate(-2px)}.review-navigation>span{text-align:center;min-width:90px;color:#a9b6cf;font-size:.85rem}.review-navigation b{color:#eeeaff;font-size:1.15rem}.review-navigation small{display:block;margin-top:3px;font-size:.65rem}.ai-photo-edit{display:block;width:100%;text-align:center;padding:12px 16px;margin:12px 0;border-radius:13px;color:#d4cdff;border-color:#a78bfa40;background:#8b5cf610;font-weight:650}.ai-review-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px;margin-top:14px;border-radius:16px;background:#0c142580;border:1px solid #ffffff0c}.ai-review-confirm{display:flex;flex-direction:column;align-items:center;gap:10px;margin-top:16px}.ai-review-confirm>small{font-size:.73rem;line-height:1.5;text-align:center}.ai-review-confirm>button.primary{background:linear-gradient(115deg,#6863e1,#906bd9);border:0;border-radius:15px;padding:14px 20px;box-shadow:0 8px 24px #7163ed26}.ai-review-actions>button{background:transparent;border:0;color:#aebbd1;padding:9px 12px;border-radius:10px;font-size:.82rem}.ai-review-actions>button:first-child{color:#d7d6f5}.ai-review-more{position:relative;margin-left:auto;font-size:.8rem;color:#aebbd1}.ai-review-more>summary{cursor:pointer;padding:9px 12px}.ai-review-more>button{position:absolute;right:0;bottom:calc(100% + 8px);z-index:3;min-width:200px;background:#141d31;box-shadow:0 12px 30px #0005}@media (prefers-reduced-motion:reduce){.review-navigation>button{transition:none;transform:none!important}}.creation-steps.creation-capsule{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:5px;margin:22px 0 26px;border:1px solid #ffffff12;border-radius:19px;background:#0c142580}.creation-capsule-marker{position:absolute;z-index:-1;left:5px;top:5px;bottom:5px;width:calc((100% - 10px)/3);border-radius:14px;background:linear-gradient(120deg,#6665de,#956bdd);box-shadow:0 4px 18px #7c65ed33;transition:transform .34s cubic-bezier(.2,.85,.25,1)}.creation-steps.creation-capsule>button{justify-content:center;min-width:0;min-height:48px;background:transparent;box-shadow:none;color:#a4b0cc;padding:9px 8px}.creation-steps.creation-capsule>button[aria-current]{color:#fff;background:transparent;box-shadow:none}.creation-steps.creation-capsule>button[aria-current]>span{background:#ffffff18}.creation-steps.creation-capsule>button:focus-visible{outline:2px solid #dad5ff;outline-offset:-2px}.ai-activity{position:relative;display:grid;place-items:center;min-height:190px;margin:18px 0 24px;overflow:hidden;border-radius:20px;background:radial-gradient(ellipse at center,#7166d413,transparent 65%)}.ai-activity-lines{position:absolute;width:100%;height:100%;max-height:220px;pointer-events:none}.ai-activity-track{stroke:#acb7db24;stroke-width:1}.ai-activity-pulse{stroke-width:2.5;stroke-linecap:round;stroke-dasharray:.07 .93;animation:ai-energy-travel 2.6s linear infinite;filter:drop-shadow(0 0 4px #9383ff)}.ai-activity-center{z-index:1;display:flex;flex-direction:column;align-items:center;gap:7px;max-width:85%;padding:14px 22px;border:1px solid #9286ed30;border-radius:22px;background:#141d31;box-shadow:0 0 36px #8370ec12;text-align:center}.ai-activity-center strong{font-size:1rem;color:#ebeaff}.ai-activity-center small{color:#a6b3d1;font-size:.76rem;line-height:1.45;overflow-wrap:anywhere}.ai-activity-spark{color:#b1a2ff;font-size:1.3rem}@keyframes ai-energy-travel{0%{stroke-dashoffset:1;opacity:0}12%{opacity:1}88%{opacity:1}to{stroke-dashoffset:0;opacity:0}}@media (max-width:500px){.creation-steps.creation-capsule>button{gap:5px;font-size:.78rem}.creation-steps.creation-capsule>button>span{width:21px;height:21px;flex-shrink:0}.ai-activity{min-height:160px}.ai-activity-center{padding:12px 16px}}@media (prefers-reduced-motion:reduce){.creation-capsule-marker{transition:none}.ai-activity-pulse{animation:none;stroke-dashoffset:.3;opacity:.45;filter:none}}.geo-goal-item{--goal-color:#68d9ef;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:98px;padding:16px 18px;border:1px solid transparent;border-radius:16px;background:transparent;text-align:left;filter:none;transition:background .22s ease,border-color .22s ease}.geo-goal-item.geo-region{--goal-color:#ff91ba}.geo-goal-item.geo-compare{--goal-color:#f7ce65}.geo-goal-item.geo-clues{--goal-color:#8bdf9a}.geo-goal-icon{color:var(--goal-color);display:grid;place-items:center;width:40px;height:40px;opacity:.6;transform:scale(.9);transition:opacity .22s ease,transform .28s cubic-bezier(.2,.8,.2,1)}.geo-goal-icon .ui-icon{width:28px;height:28px}.geo-goal-copy{display:flex;flex-direction:column;gap:7px;min-width:0;transition:transform .28s cubic-bezier(.2,.8,.2,1)}.geo-goal-title{color:#b3bdd4;font-size:clamp(1.15rem,2.5vw,1.65rem);font-weight:750;line-height:1.25;transition:color .22s ease}.geo-goal-title sup{display:inline-block;margin-left:9px;color:#8c99b6;font-size:.65rem;font-weight:500;vertical-align:super}.geo-goal-hint{color:#96a6c1;font-size:.8rem;line-height:1.5}.geo-goal-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;color:#9baac6;font-size:.72rem;white-space:nowrap}.geo-goal-selected{color:#aebbd4}.geo-goal-item[aria-pressed=true]{background:linear-gradient(100deg,#ffffff07,#ffffff02);border-color:#ffffff16}.geo-goal-item[aria-pressed=true] .geo-goal-title{color:#f1f3ff}.geo-goal-item[aria-pressed=true] .geo-goal-selected{color:var(--goal-color)}.geo-goal-item[aria-pressed=true] .geo-goal-icon{opacity:1;transform:scale(1)}.geo-goal-item:focus-visible{outline:2px solid var(--goal-color);outline-offset:3px}.geo-goal-item:focus-visible .geo-goal-copy{transform:translate(6px)}.geo-goal-item:focus-visible .geo-goal-icon{opacity:1;transform:scale(1.08)}.geo-goal-item:disabled{opacity:.55;cursor:wait}@media (hover:hover){.geo-goal-item:hover:not(:disabled){filter:none;background:#ffffff06}.geo-goal-item:hover:not(:disabled) .geo-goal-copy{transform:translate(6px)}.geo-goal-item:hover:not(:disabled) .geo-goal-title{color:#f1f3ff}.geo-goal-item:hover:not(:disabled) .geo-goal-icon{opacity:1;transform:scale(1.08)}}@media (max-width:600px){.geo-goal-item{grid-template-columns:32px minmax(0,1fr);gap:12px;padding:14px 10px}.geo-goal-icon{width:32px;height:32px}.geo-goal-icon .ui-icon{width:25px;height:25px}.geo-goal-meta{grid-column:2;flex-direction:row;justify-content:space-between;align-items:center;white-space:normal}}@media (prefers-reduced-motion:reduce){.geo-goal-item,.geo-goal-icon,.geo-goal-copy,.geo-goal-title{transition:none}.geo-goal-menu .geo-goal-copy,.geo-goal-menu .geo-goal-icon{transform:none!important}}.geo-preview-photo{display:block;width:100%;max-height:340px;object-fit:contain;border-radius:14px;margin-top:18px;background:#0a1020}.study-notes{border:0;padding:5px 8px;background:transparent}.study-notes summary{color:#8994ab;font-size:.72rem;font-weight:400}.study-notes p{font-size:.8rem}.creation-heading>span{font-size:11px;letter-spacing:.18em}.creation-categories{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:16px}.creation-category{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:16px;padding:28px;border-radius:22px;min-height:260px;background:#141c30d1;border:1px solid rgba(167,153,255,.2);transition:border-color .2s,background .2s}.creation-category:hover{background:#2e284ee6;border-color:#a799ff}.creation-category.featured{background:linear-gradient(140deg,#5a41a3a6,#16263be6)}.creation-category strong{font-size:25px}.creation-category>span:not(.creation-symbol){color:#a8b4cb;line-height:1.6}.creation-category small{margin-top:auto;color:#c5baff}.creation-symbol{font-size:32px;color:#c8bbff}.creation-toolbar,.creation-source-summary,.creation-review-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0}.creation-toolbar>span{color:#c5baff;font-weight:700}.creation-steps{display:flex;gap:30px;margin:30px 0}.creation-steps>span{display:flex;align-items:center;gap:10px;color:#8290aa}.creation-steps>span[aria-current]{color:#d0c5ff}.creation-steps b{font-size:13px}[hidden]{display:none!important}.study-pulse{position:relative}.study-pulse-trigger{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;padding:0;border:1px solid transparent;border-radius:inherit;background:transparent}.study-pulse-trigger:hover{background:#a69bff05;border-color:#b5a6ff44;filter:none}.study-pulse-trigger:focus-visible{outline:2px solid #b5a6ff;outline-offset:4px}.study-pulse-more{display:block;margin-top:10px;color:#c4b9ff;font-size:12px}.learning-history header p{margin:10px 0 20px}.learning-range{display:flex;gap:8px;margin-bottom:22px}.learning-range button{background:#ffffff05;font-size:12px;padding:9px 14px;border-radius:999px}.learning-range button[aria-pressed=true]{background:#9682ff20;border-color:#b4a3ff66;color:#e3dcff}.learning-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.learning-summary>div{display:flex;flex-direction:column;gap:6px}.learning-summary strong{font-size:26px;letter-spacing:-.03em;color:#ebe7ff}.learning-summary strong small{font-size:13px;color:#7d8ba4}.learning-summary>div>span{color:#98a7c0;font-size:12px}.learning-streak{color:#d4c9ff;background:#9e89ff0b;padding:15px;border-radius:12px;margin:24px 0}.learning-streak small{display:block;margin-top:6px;color:#8d9db8;font-size:11px}.learning-history h3{font-size:15px;margin:22px 0 13px}.learning-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.learning-calendar button{display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;border-radius:12px;background:#ffffff03;border-color:#ffffff0e}.learning-calendar button>span{font-size:12px;color:#bec8da}.learning-calendar button>i{font-style:normal;color:#c3b7ff}.learning-calendar button>small{font-size:10px;color:#7f8fa8}.learning-calendar .has-activity{background:#9c89ff11;border-color:#b09cff22}.learning-calendar button[aria-pressed=true]{border-color:#c4b4ff;background:#9c89ff26}.learning-calendar.month{gap:6px}.learning-calendar.month button{padding:7px 4px}.learning-session-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.learning-session-heading button{font-size:11px;padding:6px 9px}.learning-sessions{display:grid;gap:8px}.learning-sessions>button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:14px;background:#ffffff04;border-color:#ffffff0e;border-radius:12px}.learning-sessions strong{display:block;color:#d5dff0;font-size:13px}.learning-sessions small{display:block;margin-top:5px;color:#8d9db8;font-size:11px}.learning-empty{padding:16px;color:#98a7c0;font-size:13px;background:#ffffff03;border-radius:12px}.learning-achievements{margin:24px 0 18px;border-top:1px solid #ffffff0e;padding-top:18px}.learning-achievements summary{cursor:pointer;font-size:13px;color:#c4cee2}.learning-achievements summary>span{color:#9c8fd0;margin-left:8px}.learning-achievements>div{display:flex;gap:12px;align-items:center;padding:14px 0 0;color:#7989a2}.learning-achievements .earned{color:#cabcff}.learning-achievements strong{font-size:12px}.learning-achievements small{display:block;font-size:11px;color:#8c9ab3;margin-top:4px}.learning-footnote{display:block;font-size:10px;line-height:1.6;color:#7e8ba3}@media (max-width: 600px){.learning-summary{gap:10px}.learning-summary strong{font-size:21px}.learning-calendar{gap:4px}.learning-range button{flex:1}}.creation-step-track{height:2px;margin:-16px 0 30px;background:#ffffff09;overflow:hidden;border-radius:4px}.creation-step-track>span{display:block;height:100%;background:linear-gradient(90deg,#7769f4,#bdabff);transition:width .3s ease}.geo-quick-start{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 28px;color:#91a0ba;font-size:13px}.geo-quick-start button{border-radius:999px;padding:7px 12px;font-size:12px;color:#cec5ff;background:#9e89ff0b;border-color:#9e89ff30}.geo-quick-start small{font-size:11px;color:#7f8ba4}.geo-material-panel{padding:28px;border:1px solid #ac9eff25;border-radius:22px;background:linear-gradient(135deg,#202942e6,#141d2ee6);box-shadow:0 18px 50px #02061126}.geo-material-panel>header{display:flex;align-items:center;gap:15px;margin-bottom:24px}.geo-material-panel h3{margin:0 0 6px;font-size:21px}.geo-material-panel header p{margin:0;font-size:13px;color:#9aa9c2;line-height:1.5}.geo-material-symbol{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:14px;background:#9e89ff14;color:#c9bbff;font-size:24px}.geo-material-modes{display:flex;gap:6px;padding:5px;background:#080f204a;border-radius:13px;margin-bottom:24px}.geo-material-modes button{flex:1;padding:11px 8px;background:transparent;border:1px solid transparent;border-radius:9px;color:#92a0ba;font-size:13px}.geo-material-modes button[aria-pressed=true]{color:#f0edff;background:#ad99ff17;border-color:#b7a2ff26;box-shadow:0 2px 8px #0002}.geo-source-entry{display:grid;gap:10px}.geo-source-entry label{color:#cbd5e8;font-size:13px;font-weight:600}.geo-source-entry input,.geo-source-entry textarea{width:100%;box-sizing:border-box;padding:15px;border-radius:12px;background:#0911218c}.geo-source-entry small,.geo-source-footer small{font-size:12px;color:#8797b0;line-height:1.6}.geo-material-ready{display:flex;align-items:center;gap:12px;margin-top:20px;color:#badacb;font-size:13px}.geo-material-ready small{display:block;margin-top:4px;color:#92a0b7}.geo-alternative-label{text-align:center;font-size:12px;color:#718099;margin:16px 0}.geo-table-shortcut.geo-table-secondary{margin:0;padding:16px 20px;background:#18213655;border-color:#ffffff0d;border-radius:16px}.geo-table-secondary strong{font-size:13px;font-weight:600;color:#bac6db}.geo-table-secondary small{font-size:12px}.geo-table-secondary button{font-size:12px;background:transparent;border-color:#ffffff18;padding:9px 12px}.geo-source-footer{display:grid;gap:12px;margin:26px 0 16px;text-align:center}.geo-source-footer .primary{padding:16px;border-radius:13px}@media (max-width: 600px){.geo-material-panel{padding:20px 16px}.geo-material-modes button{font-size:12px}.geo-table-secondary{flex-direction:column;align-items:flex-start}.creation-steps{gap:5px}.creation-steps>button{padding:8px}}@media (prefers-reduced-motion: reduce){.creation-step-track>span{transition:none}}@media (max-width: 720px){.creation-categories{grid-template-columns:1fr}.creation-category{min-height:180px;padding:22px}.creation-steps{gap:18px}.creation-review-nav{gap:8px;flex-wrap:wrap}}.country-picker{display:grid;gap:12px}.country-picker>label{font-size:1.05rem;font-weight:700}.country-picker>input{font-size:16px;min-height:50px}.country-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.country-results>button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 16px;text-align:left;border-radius:14px;background:#ffffff04}.country-results>button[aria-pressed=true]{background:#8b7ef522;border-color:#a79cff;color:#f4f1ff}.country-results>button>span:last-child{color:#b8adff}.country-picker>small{color:var(--mut)}.country-show-more{justify-self:start;background:transparent}.geo-custom-source{margin-top:24px;border-top:1px solid var(--line);padding-top:16px}.geo-custom-source>summary{cursor:pointer;color:var(--mut);font-size:.9rem}.geo-custom-source .geo-material-modes{margin-top:16px}.geo-portion-summary{display:grid;gap:7px;margin:16px 0;padding:16px 20px;border:1px solid #9f8dff26;border-radius:16px;background:#8b7ef509}.geo-portion-summary>span{color:var(--mut);font-size:.86rem;line-height:1.5}@media (max-width:480px){.country-results{grid-template-columns:1fr}.country-picker>label{font-size:1rem}}.ai-save-target select{min-width:0;max-width:100%}.fullscreen-dialog{top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#0d1527!important}.fullscreen-dialog>.modal-card{width:100%;max-width:none;height:100%;max-height:none;padding:0;border-radius:0;overflow:hidden}.fullscreen-dialog .modal-dismiss{z-index:5;top:16px;right:16px}.crop-studio{height:100%;display:flex;flex-direction:column;min-height:0}.crop-studio>header{padding:18px 60px 12px 20px}.crop-studio h2{font-size:1.2rem;margin:5px 0}.crop-studio header small{font-size:.65rem;color:#b6aaff;letter-spacing:.15em}.crop-studio-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:0 16px 12px}.crop-studio-tools button{min-height:44px}.crop-studio-tools button[aria-pressed=true]{background:#8b5cf638;border-color:#b5a0ff}.crop-studio-tools output{min-width:48px;text-align:center;font-size:.85rem}.crop-studio-stage{flex:1;min-height:0;overflow:auto;touch-action:none;padding:16px;background:#060c18;overscroll-behavior:contain}.crop-studio-stage.mode-pan,.crop-studio-stage.mode-pan .table-crop-surface,.crop-studio-stage.mode-pan .table-selection{cursor:grab}.crop-studio-stage .table-crop-surface{margin:0;max-width:none;flex:none;overflow:visible}.crop-studio-stage .table-resize-handle{width:20px;height:20px}.crop-studio-stage .table-resize-handle:after{top:-12px;right:-12px;bottom:-12px;left:-12px}.crop-studio>footer{padding:12px 16px max(12px,env(safe-area-inset-bottom));border-top:1px solid #ffffff18;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.crop-studio footer small{color:#98a4bc;font-size:.75rem}.crop-studio footer>div{display:flex;gap:8px}.crop-studio footer button{min-height:44px}.crop-studio footer .primary{width:auto}.table-open-studio{width:100%;margin-top:16px;min-height:48px;background:#8b5cf618;border-color:#a78bfa77}.answerimg{display:block;width:min(100%,360px);max-height:110px;object-fit:contain;margin:10px auto;border-radius:8px}.table-answer-source{margin:16px 0;padding:16px;border:1px solid #7376bc55;border-radius:16px;background:#818cf808}.table-answer-preview{padding:12px;border-radius:12px;background:#0c132a;margin-top:12px}.table-answer-preview small{color:#b5a7ef}.table-importer [aria-pressed=true]{background:#7763dc40;border-color:#9b89ff}.column-boundary{position:absolute;z-index:8;transform:translate(-50%);width:28px;min-height:28px;padding:0;border:0;border-radius:8px;background:#a78bfa80;border-left:2px solid #e0d6ff;cursor:ew-resize;touch-action:none;font-size:14px;color:#fff}.work-feedback{position:fixed;right:16px;bottom:max(10px,env(safe-area-inset-bottom));z-index:100;display:grid;gap:6px;max-width:calc(100vw - 32px);pointer-events:none}.work-feedback>small{justify-self:end;font-size:10px;opacity:.7;pointer-events:auto;background:#0b1227bd;border-radius:12px;padding:4px 8px}.work-feedback>div{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#202840;border:1px solid #a78bfa55;border-radius:16px;box-shadow:0 8px 32px #0008;pointer-events:auto}.work-feedback button{min-height:32px;padding:4px 8px;font-size:12px}.resume-study{margin:0 0 24px;min-height:56px;text-align:left;padding:16px 20px}.study-image{max-width:100%;width:100%}.study-image-stage{position:relative;display:table;margin:0 auto;max-width:100%}.image-zoom-trigger{position:absolute;right:8px;bottom:8px;min-width:36px;min-height:36px;border:1px solid #ffffff20;padding:4px 8px;background:#101729b0;border-radius:8px;opacity:.65}.image-zoom-trigger:hover,.image-zoom-trigger:focus-visible{opacity:1;background:#272f4c}.study-image .cardimg{width:min(100%,480px);max-width:100%;height:auto;max-height:45vh;object-fit:contain}.study-image .answerimg{width:min(100%,480px);max-height:25vh;object-fit:contain}.study-image-full{display:block;width:100%;max-height:75vh;object-fit:contain;touch-action:pan-x pan-y pinch-zoom}.image-failure{padding:16px;display:grid;gap:12px;color:#fbbf24}.card-image-tools{margin:12px 0}.card-image-tools>section{padding:12px 0;border-bottom:1px solid #ffffff18}.study-quick-edit{max-height:75vh;overflow:auto}.mobile-selection-start,.mobile-selection-bar{display:none}@media (max-width:650px){.desktop-selection-help,.selection-toolbar>.row{display:none}.mobile-selection-start{display:grid;gap:8px;margin:16px 0}.mobile-selection-start small{font-size:12px;color:#98a4bc}.mobile-selection-bar{display:flex;align-items:center;gap:8px;position:fixed;left:12px;right:12px;bottom:max(30px,env(safe-area-inset-bottom));padding:12px;z-index:50;border:1px solid #a78bfa55;border-radius:20px;background:#161d36f5;box-shadow:0 8px 40px #0009}.mobile-selection-bar strong{font-size:12px;white-space:nowrap}.mobile-selection-bar button{min-height:44px;font-size:12px}.mobile-selection-bar .primary{width:auto;flex:1}.editor-card-list.selecting{padding-bottom:100px}.editor-card-list.selecting>.deck>button:not(.card-select-zone),.editor-card-list.selecting .card-row-menu{display:none}.work-feedback>div{font-size:12px}.work-feedback:has(>div){bottom:110px}.study-image .cardimg{max-height:38vh}}@media (prefers-reduced-motion:reduce){.resume-study,.image-zoom-trigger{transition:none}}.deck-editor .editor-workspace{grid-template-columns:minmax(0,1fr);gap:14px}.deck-editor .editor-workspace.workshop-expanded{grid-template-columns:minmax(0,1fr) 320px;gap:22px}.deck-editor .workshop-toggle{display:block;grid-column:1/-1;justify-self:end;order:0;width:auto;padding:10px 15px;background:#a78bfa0e;border-color:#a78bfa30;font-size:.85rem}.deck-editor .editor-sidebar{display:none}.deck-editor .editor-sidebar.workshop-open{display:block}.editor-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 18px}.editor-list-heading h3{margin:0;font-size:1.3rem;white-space:nowrap}.editor-list-heading h3 span{display:inline-block;margin-left:8px;font-size:.8rem;font-weight:500;color:#a9b5ce;padding:4px 9px;border-radius:20px;background:#ffffff08;vertical-align:middle}.editor-list-actions{display:flex;align-items:center;gap:8px}.editor-list-actions button{font-size:.85rem;min-height:42px}.editor-list-actions .primary{width:auto;min-width:125px;padding:10px 18px}.editor-search-row{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px}.editor-search-row>input{flex:1;min-width:0;background:#ffffff04}.editor-filters{flex:0 0 auto;position:relative}.editor-filters>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:18px;padding:12px 14px;border:1px solid #ffffff18;border-radius:12px;font-size:.85rem;color:#c1cbe0;background:#ffffff04}.editor-filters>summary::-webkit-details-marker{display:none}.editor-filters[open]>summary{background:#a78bfa19;border-color:#a78bfa55}.editor-filters>.card-list-filters{position:absolute;z-index:15;right:0;top:calc(100% + 8px);display:grid;width:280px;max-width:calc(100vw - 48px);padding:18px;gap:14px;margin:0;border:1px solid #ffffff20;border-radius:16px;background:#182238;box-shadow:0 18px 50px #0006}.editor-selection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;margin:0 0 16px;border:1px solid #a78bfa35;border-radius:14px;background:#a78bfa0c}.editor-selection-actions strong{font-size:.8rem;color:#c4b5fd;margin-right:auto}.editor-selection-actions button,.editor-selection-actions summary{font-size:.8rem}.editor-selection-actions .selection-more{position:relative;width:auto}.editor-selection-actions .selection-more>summary{cursor:pointer;padding:10px;list-style:none}.editor-selection-actions .selection-more>div{position:absolute;right:0;top:100%;z-index:20;display:grid;min-width:240px;padding:14px;border-radius:14px;background:#1b2840;border:1px solid #ffffff20;box-shadow:0 12px 30px #0008}.editor-selection-actions .selection-more small{color:#9ba9c4;font-size:.7rem;line-height:1.5}.editor-card-list:not(.selecting) .card-select-mark{border-color:#ffffff20;color:#a9b4ce;background:transparent}.editor-card-list>.deck{padding:10px 14px;margin-bottom:10px}.editor-card-list .card-select-zone{padding:8px 4px}.editor-card-content{flex:1;min-width:0;overflow-wrap:anywhere}.editor-card-thumbnails{display:flex;flex:0 0 88px;flex-direction:column;align-items:center;gap:4px;width:88px}.card-select-zone .editor-card-thumbnails img{width:100%;max-width:88px;height:48px;object-fit:contain;border-radius:6px}@media (max-width:760px){.deck-editor .editor-workspace.workshop-expanded{display:flex;gap:16px}.deck-editor .workshop-toggle{order:-2;align-self:flex-end}.editor-list-heading{gap:10px;flex-wrap:wrap}.editor-list-heading h3{font-size:1.1rem}.editor-list-actions button{font-size:.78rem;padding:10px}.editor-list-actions .primary{min-width:0;padding:10px 12px}.editor-selection-actions{gap:6px}.editor-selection-actions .selection-more>div{right:0}.editor-search-row{gap:8px}.editor-filters>summary{gap:8px}.editor-card-list>.deck{padding:10px}.editor-card-thumbnails{width:64px;flex-basis:64px}.editor-card-list .card-select-zone{gap:10px;min-width:0;max-width:100%}.editor-card-list .card-select-mark{width:28px;height:28px;flex-basis:28px;border-radius:9px;font-size:18px}}@media (max-width:650px){.editor-selection-actions>strong,.editor-selection-actions>button{display:none}.editor-selection-actions{justify-content:flex-end;padding:2px 8px;margin-top:-6px;border:0;background:transparent}.editor-list-heading:has([aria-pressed=true]) .primary{display:none}}.pwa-status{max-width:1000px;margin:0 auto;padding:calc(7px + env(safe-area-inset-top)) 16px 0;color:#b8c3db;font-size:.75rem}.pwa-status:has(small:empty){display:none}@media (max-width:650px){html{min-height:100%}body{padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}input,textarea,select{font-size:16px!important}.modal-card{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto}.screen-page{padding-bottom:calc(30px + env(safe-area-inset-bottom))}.editor-tool .row{flex-wrap:wrap}.editor-tool .field{min-width:0;max-width:100%}}.library-page .app-navigation{padding:8px 14px;margin-bottom:20px;min-height:54px}.library-page .library-header{margin:0 0 18px;align-items:center;gap:16px}.library-page .library-header h1{font-size:clamp(1.8rem,3.5vw,2.7rem);margin:0 0 5px}.library-page .library-header p{margin:0;font-size:.9rem}.library-page .create-deck-button{padding:10px 16px;min-height:44px;font-size:.85rem}.library-review-strip{display:flex;gap:10px;overflow:auto;max-width:100%;margin-bottom:20px;padding-bottom:4px}.library-review-strip>button{display:grid;gap:5px;min-width:200px;max-width:280px;flex:1;text-align:left;padding:12px 16px;background:#a78bfa0d;border-color:#a78bfa30}.library-review-strip>button>span{color:#c4b5fd;font-size:.8rem}.library-review-strip small{color:#a8b4cc;font-size:.73rem}.library-page .library-toolbar{margin-top:0;margin-bottom:14px}.library-page .library-toolbar h2{font-size:1.2rem;margin:0 0 4px}.library-page .study-pulse{margin:28px 0 0}.library-page .deck-cover{height:140px}.library-page .deck-grid{gap:16px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}.library-page .deck-card-meta{font-size:.72rem;gap:6px;flex-wrap:wrap}.mastery-study{width:min(100%,820px);max-width:820px;margin:0 auto;padding:18px 18px 190px;gap:8px}.mastery-study .topbar{margin-bottom:0}.mastery-batch-heading{display:grid;gap:5px;margin:4px 0;font-size:.85rem}.mastery-batch-heading>span{color:#a5b4ce;font-size:.75rem}.mastery-study .study-history{gap:6px;margin:4px 0}.mastery-study .history-segment{display:grid;place-items:center;height:20px;border-radius:6px;font-size:10px;color:#c5cde0;background:#ffffff08}.mastery-study .history-segment.mastered{background:#34d39925;color:#86efac;border:1px solid #34d39966}.mastery-study .history-segment.current{outline:2px solid #a78bfa;outline-offset:2px}.mastery-study .flash{height:auto;min-height:clamp(170px,24vh,300px);padding:30px 24px 20px;border-radius:24px;display:flex;flex-direction:column;justify-content:center;gap:12px;touch-action:pan-y}.mastery-study .flash .q{font-size:clamp(1.1rem,2.3vw,1.55rem);margin:0;line-height:1.35}.mastery-study .flash .a{font-size:clamp(1.2rem,2.5vw,1.7rem);margin:12px 0;color:#b6f2cf}.mastery-study .study-image .cardimg{width:100%;max-width:700px;min-height:160px;height:auto;max-height:44dvh;object-fit:contain}.mastery-study .study-image-stage{display:block;width:100%}.mastery-study .study-image .answerimg{width:100%;max-width:600px;max-height:24dvh;object-fit:contain}.mastery-study .image-zoom-trigger{min-width:44px;min-height:44px;opacity:.9}.mastery-card-status{display:block;color:#aab8d1;font-size:.75rem;margin:12px 0;line-height:1.5}.mastery-study .study-card-stage{flex:0 0 auto}.mastery-study .study-card-nav{min-height:20px;margin:0}.mastery-study .study-card-nav button{min-height:44px}.mastery-study .study-card-nav button:disabled{display:none}.mastery-study .study-card-nav small{margin-left:auto}.mastery-options{color:#9daec8;font-size:.75rem;margin:12px 0}.mastery-options button{margin-top:8px;font-size:.8rem;min-height:44px}.study-bottom-panel{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(100%,820px);z-index:40;padding:12px 18px calc(26px + env(safe-area-inset-bottom));border-top:1px solid #a78bfa22;background:#111a2ef5;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:20px 20px 0 0}.mastery-ratings{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.mastery-ratings>button{display:grid;gap:4px;place-items:center;min-height:60px;padding:9px 4px;border-radius:12px;color:#edf2ff;background:#ffffff06;border-color:#ffffff20}.mastery-ratings>button b{font-size:1.1rem}.mastery-ratings>button span{font-size:.72rem;line-height:1.2}.mastery-ratings .rating-1{border-bottom:3px solid #f87171}.mastery-ratings .rating-2{border-bottom:3px solid #fb923c}.mastery-ratings .rating-3{border-bottom:3px solid #facc15}.mastery-ratings .rating-4{border-bottom:3px solid #4ade80}.mastery-ratings .rating-5{border-bottom:3px solid #93c5fd}.mastery-ratings>button:hover,.mastery-ratings>button:focus-visible{background:#a78bfa25;border-color:#c4b5fd}.rating-guide{font-size:.72rem;color:#b5c0d4;margin-top:8px}.rating-guide>summary{cursor:pointer;padding:6px;text-align:center}.rating-guide p{max-height:110px;overflow:auto;line-height:1.5;margin:8px 4px}.mastery-wait{padding:36px 24px;margin:22px 0;border:1px solid #a78bfa30;border-radius:24px;background:#a78bfa09}.mastery-wait>span{font-size:2rem;color:#c4b5fd}.mastery-wait p{color:#bcc8dd;line-height:1.6}.mastery-wait>small{display:block;color:#a4b4ce;margin-bottom:20px}body:has(.mastery-study) .work-feedback{bottom:calc(4px + env(safe-area-inset-bottom));left:18px;right:18px;z-index:60;pointer-events:none}body:has(.mastery-study) .work-feedback>small{pointer-events:auto;justify-self:center;font-size:9px;background:transparent}body:has(.mastery-study) .work-feedback>div{position:absolute;bottom:160px;right:0}@media (max-width:650px){.mastery-study{padding:12px 12px 190px}.mastery-study .flash{padding:30px 14px 18px;min-height:180px}.study-bottom-panel{padding:10px 12px calc(26px + env(safe-area-inset-bottom))}.mastery-ratings{gap:5px}.mastery-ratings>button span{font-size:.65rem}.library-page .app-navigation{margin-bottom:16px}.library-page .library-header p{display:none}.library-page .deck-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.library-page .deck-cover{height:100px}}@media (prefers-reduced-motion:reduce){.mastery-study .flash{animation:none!important;transition:none!important}}@media (max-width:650px){.library-page .library-header{flex-direction:row;align-items:center}.library-page .library-header h1{font-size:1.5rem}.library-page .create-deck-button{align-self:auto;flex-shrink:0;padding:10px 12px}.mastery-study .topbar>button{min-width:44px;min-height:44px}.rating-guide summary{min-height:36px}}.library-page .rhythm-overview{display:grid;grid-template-columns:1fr 1.15fr;gap:34px;margin:8px 0 20px;padding:24px 28px;border:1px solid #aa9ef526;border-radius:24px;background:radial-gradient(ellipse at 8% 0%,#8b73de20,transparent 65%),linear-gradient(115deg,#20283e,#151d31);box-shadow:0 12px 40px #070c191f}.rhythm-intro h2{margin:6px 0 16px;font-size:1.4rem;letter-spacing:-.04em}.rhythm-intro h2>span{margin-left:10px;font-size:1rem;color:#9b95b7}.rhythm-overview .week-activity{justify-content:flex-start;gap:10px}.rhythm-overview .week-activity>div>span{width:30px;height:30px;border-radius:10px}.rhythm-overview .week-activity small{font-size:.65rem}.rhythm-caption{display:block;margin-top:14px;font-size:.72rem;color:#92a0b9}.rhythm-caption i{font-style:normal;margin:0 7px;color:#586680}.rhythm-ratings{align-self:center;padding-left:30px;border-left:1px solid #c8c3ef13}.rhythm-rating-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:16px;color:#c5cde0;font-size:.8rem}.rhythm-rating-heading strong{font-size:1.4rem;color:#edf0ff;font-variant-numeric:tabular-nums}.rhythm-rating-heading strong small{font-size:.7rem;font-weight:400;color:#8f9db7}.rating-spectrum{display:flex;gap:4px;height:10px;border-radius:8px;overflow:hidden;background:#ffffff06}.rating-spectrum>span{flex-basis:0;min-width:0;border-radius:2px}.rating-spectrum>.spectrum-empty{flex:1;background:#ffffff08}.spectrum-1{background:#d9707c}.spectrum-2{background:#d99968}.spectrum-3{background:#d4bd75}.spectrum-4{background:#70b49d}.spectrum-5{background:#8b9ee8}.rating-legend{display:flex;justify-content:space-between;gap:10px;margin-top:18px}.rating-legend>div{display:flex;align-items:center;gap:8px}.rating-dot{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;color:#111827;font-size:.67rem;font-weight:800}.rating-legend strong{font-size:.95rem;font-weight:600;font-variant-numeric:tabular-nums}.library-review-strip>button{min-width:180px;max-width:260px;padding:10px 13px;gap:4px;border-color:#ffffff0e;background:#ffffff03}.library-review-strip>button>small{display:none}.library-review-strip>button>b{font-size:.8rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.library-review-strip>button>span{font-size:.72rem}.focus-study{gap:0;padding-top:14px;padding-bottom:130px}.focus-study .topbar{height:44px;margin:0}.focus-study .topbar>.ghost{background:transparent;border:0;color:#8794ae}.focus-position{font-size:.8rem;color:#9eabc3;font-weight:500;font-variant-numeric:tabular-nums}.focus-menu{position:relative;z-index:45}.focus-menu>summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:44px;height:44px;font-size:1.4rem;color:#8794ae}.focus-menu>summary::-webkit-details-marker{display:none}.focus-menu[open]>summary{color:#e3dfff}.focus-menu-content{position:absolute;right:0;top:46px;width:290px;max-width:calc(100vw - 32px);padding:20px;border-radius:18px;border:1px solid #b5a6ff28;background:#182236;box-shadow:0 18px 50px #0006;font-size:.8rem;color:#a8b5cd}.focus-menu-content>strong{color:#e6ebf8}.focus-menu-content p{line-height:1.6}.focus-menu-content summary{cursor:pointer;padding:10px 0;color:#c6cde1}.focus-menu-content button{margin-top:12px;min-height:44px;width:100%}.focus-study .study-history{gap:5px;margin:2px 0 8px;padding:0;min-height:32px}.focus-study .history-segment{position:relative;height:32px;min-height:32px;padding:14px 0;border:0;border-radius:0;background-clip:content-box!important;animation:none!important;box-shadow:none!important;outline:none;opacity:.85;transform:none!important}.focus-study .history-segment:disabled{opacity:.65;cursor:default}.focus-study .history-segment.current{background-color:#a2aac0;outline:none}.focus-study .history-segment.current:after{content:"";position:absolute;bottom:3px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#d5dcef}.focus-study .history-segment:focus-visible{outline:1px solid #9ba7c0;outline-offset:0}.focus-study .study-card-nav{margin:-6px 0 4px;min-height:0}.focus-study .study-card-nav>button{padding:0 12px;color:#8e9cb6;background:transparent}.focus-study .focus-return{margin:auto;font-size:.7rem}.focus-study .flash{padding:42px 24px 26px;min-height:clamp(220px,42dvh,500px);border:1px solid #ffffff13;box-shadow:0 24px 60px #070b172e;cursor:pointer}.focus-study .flash:hover{box-shadow:0 24px 60px #070b172e}.focus-study .flash:focus:not(:focus-visible){outline:none}.focus-study .flash:focus-visible{outline:1px solid #8794b3;outline-offset:3px}.focus-study .study-edit-trigger{top:6px;right:6px;padding:0;width:44px;height:44px;border:0;background:transparent;opacity:.18;color:#aab7d0}.focus-study .study-card-stage:hover .study-edit-trigger{opacity:.3}.focus-study .study-edit-trigger:hover,.focus-study .study-edit-trigger:focus-visible,.focus-study .study-edit-trigger[aria-expanded=true]{opacity:1}.focus-study .study-image .cardimg{max-height:49dvh}.focus-study .image-zoom-trigger{opacity:.25;border:0;background:#111a2866}.focus-study .image-zoom-trigger:hover,.focus-study .image-zoom-trigger:focus-visible{opacity:1}.focus-study .study-bottom-panel{width:min(100%,740px);padding:12px 18px calc(14px + env(safe-area-inset-bottom));border:0;border-radius:0;background:linear-gradient(transparent,#10182beb 40%);-webkit-backdrop-filter:none;backdrop-filter:none;text-align:center}.focus-study .reveal-answer{width:auto;min-width:180px;min-height:46px;padding:10px 24px;border-radius:99px;font-size:.85rem;background:#222a435c;border-color:#b8afff22;color:#c8cde8}.focus-study .mastery-ratings>button{background:#192337ef;border-radius:14px}.focus-study .study-notes{margin-top:12px}body:has(.focus-study) .work-feedback>small[data-save-state=saved]{display:none}@media (max-width:650px){.library-page .rhythm-overview{grid-template-columns:1fr;gap:20px;padding:20px;margin-bottom:14px}.rhythm-intro h2{font-size:1.3rem}.rhythm-overview .week-activity{justify-content:space-between;gap:5px}.rhythm-ratings{padding:18px 0 0;border-left:0;border-top:1px solid #ffffff0e}.rhythm-rating-heading{margin-bottom:12px}.rating-legend{margin-top:14px}.rhythm-caption{margin-top:10px}.focus-study .flash{padding:42px 14px 22px}.focus-study .study-edit-trigger{opacity:.35}.focus-study .study-bottom-panel{padding-right:12px;padding-left:12px}}
