:root{--primary-50:#eff6ff;--primary-100:#dbeafe;--primary-200:#bfdbfe;--primary-300:#93c5fd;--primary-400:#60a5fa;--primary-500:#3b82f6;--primary-600:#2563eb;--primary-700:#1d4ed8;--primary-800:#1e40af;--primary-900:#1e3a8a;--secondary-50:#f0f9ff;--secondary-100:#e0f2fe;--secondary-200:#bae6fd;--secondary-300:#7dd3fc;--secondary-400:#38bdf8;--secondary-500:#0ea5e9;--secondary-600:#0284c7;--secondary-700:#0369a1;--secondary-800:#075985;--secondary-900:#0c4a6e;--success-50:#f0fdf4;--success-100:#dcfce7;--success-200:#bbf7d0;--success-300:#86efac;--success-400:#4ade80;--success-500:#22c55e;--success-600:#16a34a;--success-700:#15803d;--success-800:#166534;--success-900:#14532d;--warning-50:#fefce8;--warning-100:#fef3c7;--warning-200:#fde68a;--warning-300:#fcd34d;--warning-400:#fbbf24;--warning-500:#f59e0b;--warning-600:#d97706;--warning-700:#b45309;--warning-800:#92400e;--warning-900:#78350f;--error-50:#fef2f2;--error-100:#fee2e2;--error-200:#fecaca;--error-300:#fca5a5;--error-400:#f87171;--error-500:#ef4444;--error-600:#dc2626;--error-700:#b91c1c;--error-800:#991b1b;--error-900:#7f1d1d;--gray-50:#f9fafb;--gray-100:#f3f4f6;--gray-200:#e5e7eb;--gray-300:#d1d5db;--gray-400:#9ca3af;--gray-500:#6b7280;--gray-600:#4b5563;--gray-700:#374151;--gray-800:#1f2937;--gray-900:#111827;--slate-50:#f8fafc;--slate-100:#f1f5f9;--slate-200:#e2e8f0;--slate-300:#cbd5e1;--slate-400:#94a3b8;--slate-500:#64748b;--slate-600:#475569;--slate-700:#334155;--slate-800:#1e293b;--slate-900:#0f172a;--radius-sm:0.375rem;--radius:0.5rem;--radius-md:0.75rem;--radius-lg:1rem;--radius-xl:1.5rem;--radius-2xl:2rem;--radius-full:9999px;--space-xs:0.25rem;--space-sm:0.5rem;--space-md:1rem;--space-lg:1.5rem;--space-xl:2rem;--space-2xl:3rem;--space-3xl:4rem;--font-size-xs:0.75rem;--font-size-sm:0.875rem;--font-size-base:1rem;--font-size-lg:1.125rem;--font-size-xl:1.25rem;--font-size-2xl:1.5rem;--font-size-3xl:1.875rem;--font-size-4xl:2.25rem;--font-size-5xl:3rem;--font-size-6xl:3.75rem;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--font-weight-black:900;--line-height-tight:1.25;--line-height-snug:1.375;--line-height-normal:1.5;--line-height-relaxed:1.625;--line-height-loose:2;--button-font-size:14px;--button-font-weight:700;--app-min-height:calc(100vh - var(--header-height, 64px))}:root,[data-theme=light]{--background:#3b82f6;--surface:#3b82f6;--surface-elevated:#ffffff;--border:#5a8ec8;--border-light:#7ba5dc;--text-primary:#1a2332;--text-secondary:#2d3e5a;--text-muted:#4a5f7f;--header-bg:#ffffff;--header-bg-fallback:#ffffff;--header-border:var(--gray-200);--header-height:64px;--card-bg:var(--surface);--card-border:var(--border);--input-bg:var(--surface-elevated);--input-border:#5a8ec8;--input-focus:#4a7eb8;--sidebar-bg:#ffffff;--sidebar-active-bg:var(--primary-50);--sidebar-active-text:var(--primary-700);--sidebar-active-border:var(--primary-200);--gradient-primary:linear-gradient(135deg,#5a8ec8,#7ba5d6);--gradient-success:linear-gradient(135deg,#10b981,#059669);--gradient-hero:linear-gradient(135deg,#7ba5d6,#5a8ec8);--gradient-cta:linear-gradient(135deg,#5a8ec8,#7ba5d6);--gradient-study:linear-gradient(135deg,#10b981,#059669);--gradient-header:linear-gradient(90deg,#7ba5d6,#5a8ec8);--gradient-main:linear-gradient(90deg,#6b9bd6,#7ba5dc);--shadow-study:0 6px 16px rgba(16,185,129,0.30);--shadow-study-hover:0 10px 22px rgba(16,185,129,0.40);--shadow-sm:0 1px 2px 0 rgba(90,142,200,0.08);--shadow:0 1px 3px 0 rgba(90,142,200,0.12),0 1px 2px 0 rgba(90,142,200,0.08);--shadow-md:0 4px 6px -1px rgba(90,142,200,0.12),0 2px 4px -1px rgba(90,142,200,0.08);--shadow-lg:0 10px 15px -3px rgba(90,142,200,0.15),0 4px 6px -2px rgba(90,142,200,0.08);--shadow-xl:0 20px 25px -5px rgba(90,142,200,0.18),0 10px 10px -5px rgba(90,142,200,0.08);--shadow-2xl:0 25px 50px -12px rgba(90,142,200,0.25);--gold-50:#fff8e1;--gold-200:#ffe08a;--gold-400:#f2c94c;--gold-500:#e6b634;--gold-600:#d4a11f;--gold-700:#b88916;--gradient-gold:linear-gradient(135deg,#fff0b3,#efc84a 35%,#e2b737 65%,#d9b231);--gradient-gold-hover:linear-gradient(135deg,#fff0b3,#eac24f 35%,#d9ab26 65%,#bf921a);--shadow-gold:0 8px 24px rgba(212,161,31,0.35);--logo-shadow:none}[data-theme=dark]{--background:#000000;--surface:#0a0a0a;--surface-elevated:#141414;--border:#2a2a2a;--border-light:#1a1a1a;--text-primary:#ffffff;--text-secondary:#e5e7eb;--text-muted:#cbd5e1;--sidebar-bg:#000000;--sidebar-active-bg:#262626;--sidebar-active-text:#ffffff;--sidebar-active-border:#3a3a3a;--header-bg:#000000;--header-bg-fallback:#000000;--header-gradient:radial-gradient(ellipse 900px 150px at 550px 50%,rgba(255,255,255,0.20) 0%,rgba(255,255,255,0.10) 40%,transparent 70%);--header-border:#3a3a3a;--card-bg:var(--surface);--card-border:var(--border);--input-bg:var(--surface-elevated);--input-border:#2a2a2a;--input-focus:#7ba5d6;--gradient-primary:linear-gradient(135deg,#2d4560,#1a2533);--gradient-success:linear-gradient(135deg,#059669,#047857);--gradient-hero:linear-gradient(135deg,#1a2533,#000000);--gradient-cta:linear-gradient(135deg,#3d5a7a,#5a8ec8);--gradient-study:linear-gradient(135deg,#059669,#047857);--gradient-header:linear-gradient(90deg,#1f1f1f,#121212);--gradient-main:linear-gradient(90deg,#000000,#0a0a0a);--shadow-study:0 6px 16px rgba(5,150,105,0.40);--shadow-study-hover:0 10px 22px rgba(5,150,105,0.50);--shadow-sm:0 1px 2px 0 rgba(0,0,0,0.5);--shadow:0 1px 3px 0 rgba(0,0,0,0.6),0 1px 2px 0 rgba(0,0,0,0.5);--shadow-md:0 4px 6px -1px rgba(0,0,0,0.6),0 2px 4px -1px rgba(0,0,0,0.5);--shadow-lg:0 10px 15px -3px rgba(0,0,0,0.7),0 4px 6px -2px rgba(0,0,0,0.5);--shadow-xl:0 20px 25px -5px rgba(0,0,0,0.8),0 10px 10px -5px rgba(0,0,0,0.6);--shadow-2xl:0 25px 50px -12px rgba(0,0,0,0.9);--gold-50:#2b2410;--gold-200:#4a3b14;--gold-400:#b38728;--gold-500:#c89c2b;--gold-600:#d4a11f;--gold-700:#e1b84e;--gradient-gold:linear-gradient(135deg,#8a6f26,#c89c2b 35%,#e1b84e 65%,#ecd06b);--gradient-gold-hover:linear-gradient(135deg,#806820,#bf932d 35%,#d9b231 65%,#e6c463);--shadow-gold:0 12px 28px rgba(212,161,31,0.45);--logo-shadow:drop-shadow(0 1px 2px rgba(255,255,255,0.15)) drop-shadow(0 0 8px rgba(255,255,255,0.08))}html{transition:background-color .3s ease,color .3s ease}.btn,.card,.input,body,footer,header{transition:background-color .3s ease,color .3s ease,border-color .3s ease}[data-theme=dark] .hero-gradient{background:radial-gradient(ellipse 1200px 260px at 50% 38%,rgba(255,255,255,.08) 0,rgba(255,255,255,.04) 35%,transparent 70%),radial-gradient(ellipse 1300px 280px at 50% 62%,rgba(255,255,255,.08) 0,rgba(255,255,255,.04) 35%,transparent 72%),#000000!important}.hero-title-spotlight{position:relative;display:inline-block}[data-theme=dark] .hero-title-spotlight{background:linear-gradient(180deg,#f5f5f6,#e7e7e8 40%,#d8d9da 70%,#c4c5c7),radial-gradient(120% 60% at 50% 45%,rgba(255,255,255,.35) 0,rgba(255,255,255,.1) 40%,transparent 60%);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}[data-theme=dark] .hero-title-spotlight:before{display:none}.hero-spotlight-lower{position:absolute;left:50%;transform:translateX(-50%);pointer-events:none;z-index:0}[data-theme=dark] .hero-spotlight-lower{top:58%;width:min(96vw,1200px);height:380px;background:radial-gradient(ellipse 1000px 220px at 50% 55%,rgba(255,255,255,.08) 0,rgba(255,255,255,.04) 35%,transparent 70%)}.hero-spotlight-upper{position:absolute;left:50%;transform:translateX(-50%);pointer-events:none;z-index:0}[data-theme=dark] .hero-spotlight-upper{top:40%;width:min(96vw,1200px);height:300px;background:radial-gradient(ellipse 1000px 220px at 50% 45%,rgba(255,255,255,.08) 0,rgba(255,255,255,.04) 35%,transparent 70%)}.bg-theme-primary{background:var(--background)}.bg-theme-surface{background:var(--surface)}.bg-theme-elevated{background:var(--surface-elevated)}.bg-gradient-header{background:var(--gradient-header);color:white}.bg-gradient-main{background:var(--gradient-main);color:var(--text-primary)}.bg-dark-primary{background:var(--surface-elevated);color:var(--text-primary)}.bg-dark-secondary{background:var(--surface);color:var(--text-primary)}.bg-dark-content{background:var(--background);color:var(--text-primary)}.bg-logo-light{background:#7ba5d6;color:white}[data-theme=dark] .bg-logo-light{background:#5a8ec8;color:white}.bg-logo-dark{background:#3d5a7a;color:white}[data-theme=dark] .bg-logo-dark{background:#2d4560;color:#e8f2fc}[data-theme=dark] .account-notion-icon{filter:invert(1) grayscale(1) brightness(1.2)}.text-theme-primary{color:var(--text-primary)}.text-theme-secondary{color:var(--text-secondary)}.text-theme-muted{color:var(--text-muted)}.text-logo-accent{color:#5a8ec8}[data-theme=dark] .text-logo-accent{color:#7ba5d6}.border-theme{border-color:var(--border)}.border-theme-light{border-color:var(--border-light)}.card-theme{background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-lg);padding:var(--space-xl);box-shadow:var(--shadow)}.button-theme{background:var(--surface-elevated);color:var(--text-primary);border:1px solid var(--border);padding:var(--space-md) var(--space-lg);border-radius:var(--radius);cursor:pointer;transition:all .2s ease}.button-theme:hover{background:var(--surface);border-color:var(--border);transform:translateY(-1px);box-shadow:var(--shadow-md)}.button-logo-primary{background:linear-gradient(135deg,#5a8ec8,#7ba5d6);color:white;border:none;padding:var(--space-md) var(--space-lg);border-radius:var(--radius);cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px rgba(90,142,200,.25)}.button-logo-primary:hover{background:linear-gradient(135deg,#4a7eb8,#6b95c6);transform:translateY(-1px);box-shadow:0 4px 12px rgba(90,142,200,.35)}.btn-gold{background:linear-gradient(135deg,#3b82f6,#2563eb 50%,#1d4ed8);color:#ffffff;border:none;padding:var(--space-md) var(--space-lg);border-radius:var(--radius);cursor:pointer;font-weight:var(--font-weight-extrabold);letter-spacing:.02em;position:relative;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;box-shadow:0 8px 24px rgba(37,99,235,.45)}.btn-gold:hover{background:linear-gradient(135deg,#2563eb,#1d4ed8 50%,#1e40af);transform:translateY(-2px);box-shadow:0 16px 34px rgba(37,99,235,.6)}.btn-gold:active{transform:translateY(0);filter:brightness(.98) saturate(1.02)}.btn-gold:focus-visible{outline:3px solid rgba(59,130,246,.5);outline-offset:2px}.btn,.btn-danger-action,.btn-gold,.btn-plain,.btn-primary,.btn-primary-action,.btn-secondary-action,.btn-success,.btn-success-action,.button-logo-primary,.button-theme,.menu-item,[role=button],button{font-size:var(--button-font-size);line-height:1.2;font-family:inherit}.btn-gold-cta{position:relative;overflow:hidden}.btn-gold-cta:after{content:"";position:absolute;top:-50%;left:-30%;width:40%;height:200%;background:linear-gradient(120deg,rgba(255,255,255,0),rgba(255,255,255,.5) 50%,rgba(255,255,255,0));transform:skewX(-20deg);filter:blur(4px);opacity:0;pointer-events:none}.btn-gold-cta:hover:after{animation:blueShine 1s ease forwards}@keyframes blueShine{0%{left:-30%;opacity:0}20%{opacity:.7}to{left:130%;opacity:0}}.badge-gold{background:var(--gradient-gold);color:#111827;font-weight:var(--font-weight-bold);border-radius:999px;padding:4px 10px;box-shadow:0 4px 10px rgba(212,161,31,.25)}.badge-pro-gold{background:linear-gradient(135deg,#ffe9a6,#f7d052 35%,#e0aa3e 65%,#b57d1a);color:#1a1206;font-weight:800;text-transform:uppercase;letter-spacing:.06em;border-radius:9999px;padding:6px 10px;line-height:1;font-size:11px;display:inline-flex;align-items:center;gap:6px;box-shadow:0 4px 12px rgba(212,161,31,.35),inset 0 1px 0 rgba(255,255,255,.6);position:relative}.badge-pro-gold:before{content:none}.badge-pro-gold:after{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0) 40%);pointer-events:none}.badge-pro-gold:hover{filter:saturate(1.05)}[data-theme=dark] .button-logo-primary{background:linear-gradient(135deg,#3d5a7a,#5a8ec8);box-shadow:0 2px 8px rgba(61,90,122,.4)}[data-theme=dark] .button-logo-primary:hover{background:linear-gradient(135deg,#4d6a8a,#6a9ed8);box-shadow:0 4px 12px rgba(61,90,122,.5)}.input-theme{background:var(--input-bg);border:1px solid var(--input-border);color:var(--text-primary);border-radius:var(--radius);padding:var(--space-md);transition:all .2s ease}.input-theme:focus{outline:none;border-color:var(--input-focus);box-shadow:0 0 0 3px rgba(90,142,200,.15)}[data-theme=dark] .input-theme:focus{box-shadow:0 0 0 3px rgba(123,165,214,.2)}.icon-button-theme{background:transparent;color:var(--text-primary);border:none;border-radius:8px;cursor:pointer}[data-theme=light] .icon-button-theme:hover{background:rgba(0,0,0,.06)}[data-theme=dark] .icon-button-theme:hover{background:rgba(255,255,255,.08)}.menu-surface{background:var(--surface-elevated);border:1px solid var(--border);border-radius:8px;box-shadow:var(--shadow-xl)}.menu-item,.menu-surface{color:var(--text-primary)}.menu-item{width:100%;text-align:left;padding:8px 10px;background:transparent;border:0;border-radius:6px;display:inline-flex;align-items:center;gap:8px;cursor:pointer}[data-theme=light] .menu-item:hover{background:rgba(0,0,0,.05)}[data-theme=dark] .menu-item:hover{background:rgba(255,255,255,.08)}.menu-separator{height:1px;background:var(--border);margin:6px 0}.flashcard-item-theme{background:var(--surface-elevated);transition:background-color .16s ease,box-shadow .16s ease}[data-theme=light] .flashcard-item-theme:hover{background:rgba(123,165,214,.12)}[data-theme=dark] .flashcard-item-theme:hover{background:rgba(31,41,55,.6)}.flashcard-item-theme.active{background:var(--primary-50);box-shadow:0 0 0 2px rgba(59,130,246,.25);border-bottom:1px solid var(--primary-200)}[data-theme=dark] .flashcard-item-theme.active{background:#1a202c;box-shadow:0 0 0 2px rgba(123,165,214,.25);border-bottom-color:rgba(123,165,214,.35)}.border-top-theme{border-top:1px solid var(--border)}.page-title-bar{background:var(--surface-elevated);color:var(--text-primary);padding:12px 16px;border:0;border-radius:0;border-bottom:1px solid var(--border)}[data-theme=light] .policy-page{background:#ffffff}[data-theme=light] .policy-page .card,[data-theme=light] .policy-page .page-title-bar{background:#ffffff;border-color:var(--gray-200)}[data-theme=light] .policy-page .card{border-left:none;border-right:none;border-radius:0}[data-theme=dark] .policy-page .card{background:var(--surface)}.callout-info{border-radius:8px}[data-theme=light] .callout-info{background:#f0f9ff;border:1px solid #0ea5e9}[data-theme=dark] .callout-info{background:rgba(123,165,214,.12);border:1px solid rgba(123,165,214,.35)}.policy-page .card.callout-info{border-top-left-radius:0;border-top-right-radius:0;border-left:none;border-right:none}.callout-warning{border-radius:8px}[data-theme=light] .callout-warning{background:#fffbeb;border:1px solid #fbbf24;color:#92400e}[data-theme=dark] .callout-warning{background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.45);color:#fde68a}.link-accent{color:#0b6bcb;text-decoration:underline}[data-theme=dark] .link-accent{color:#7ba5d6}.file-drop-area{border:2px dashed var(--border);border-radius:var(--radius-xl);padding:clamp(24px,5vw,48px);text-align:center;background:linear-gradient(135deg,rgba(255,255,255,.7),rgba(245,249,253,.9) 50%,rgba(232,242,252,.85));backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);min-height:clamp(200px,30vh,280px);display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;overflow:hidden;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 8px 32px rgba(90,142,200,.12),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -1px 0 rgba(90,142,200,.05)}[data-theme=dark] .file-drop-area{background:linear-gradient(135deg,rgba(20,20,20,.6),rgba(26,37,51,.7) 50%,rgba(36,50,67,.65));box-shadow:0 8px 32px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.05),inset 0 -1px 0 rgba(0,0,0,.2);border-color:rgba(90,142,200,.2)}.file-drop-area:hover{border-color:var(--input-focus);transform:translateY(-2px)}[data-theme=light] .file-drop-area:hover{background:linear-gradient(135deg,rgba(255,255,255,.85),rgba(245,249,253,.95) 50%,rgba(232,242,252,.9));box-shadow:0 12px 40px rgba(90,142,200,.18),inset 0 1px 0 rgba(255,255,255,1)}[data-theme=dark] .file-drop-area:hover{background:linear-gradient(135deg,rgba(26,37,51,.75),rgba(36,50,67,.85) 50%,rgba(45,69,96,.75));box-shadow:0 12px 40px rgba(90,142,200,.25),inset 0 1px 0 rgba(90,142,200,.1)}.file-drop-area.drag-over,.file-drop-area:active{border-color:var(--primary-500);border-style:solid;transform:scale(.99)}[data-theme=light] .file-drop-area.drag-over,[data-theme=light] .file-drop-area:active{background:linear-gradient(135deg,rgba(90,142,200,.08),rgba(123,165,214,.12));box-shadow:0 8px 32px rgba(90,142,200,.25),inset 0 0 60px rgba(90,142,200,.08)}[data-theme=dark] .file-drop-area.drag-over,[data-theme=dark] .file-drop-area:active{background:linear-gradient(135deg,rgba(45,69,96,.5),rgba(90,142,200,.15));box-shadow:0 8px 32px rgba(90,142,200,.35),inset 0 0 60px rgba(90,142,200,.1)}.file-drop-area:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at center,rgba(90,142,200,.08) 0,transparent 70%);opacity:0;transition:opacity .4s ease;pointer-events:none}.file-drop-area:hover:before{opacity:1}[data-theme=dark] .file-drop-area:before{background:radial-gradient(circle at center,rgba(90,142,200,.12) 0,transparent 70%)}.file-drop-icon{font-size:clamp(3rem,8vw,4rem);margin-bottom:20px;opacity:.7;transition:all .3s ease;filter:grayscale(20%)}.file-drop-area:hover .file-drop-icon{transform:scale(1.1) rotate(5deg);opacity:1;filter:grayscale(0)}.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);display:grid;place-items:center;z-index:10000}[data-theme=dark] .modal-overlay{background:rgba(0,0,0,.7)}.modal-content{background:var(--surface-elevated);color:var(--text-primary);border-radius:12px;border:1px solid var(--border);box-shadow:var(--shadow-2xl);padding:16px;transition:background .3s,color .3s,border-color .3s}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.modal-title{margin:0;font-size:18px;font-weight:800;color:var(--text-primary)}.modal-close-btn{background:transparent;border:0;font-size:18px;cursor:pointer;color:var(--text-muted);transition:color .2s}.modal-close-btn:hover{color:var(--text-primary)}.divider{height:1px;margin:4px 0}.divider,.loading-dot{background:var(--border)}.loading-dot{width:4px;height:4px;border-radius:2px;display:block}[data-theme=dark] .loading-dot{background:#ffffff}.btn-primary-action{background:var(--gradient-primary);color:white;border:none;border-radius:8px;padding:8px 12px;font-weight:700;cursor:pointer;transition:transform .2s,box-shadow .2s}.btn-primary-action:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}.btn-success-action{background:var(--gradient-success);color:white;border:none;border-radius:8px;padding:8px 12px;font-weight:700;cursor:pointer;transition:transform .2s,box-shadow .2s}.btn-success-action:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}.btn-danger-action{background:var(--error-600);color:white;border:none;border-radius:8px;padding:8px 12px;font-weight:800;cursor:pointer;transition:background .2s}.btn-danger-action:hover{background:var(--error-700)}.btn-secondary-action{background:var(--surface);color:var(--text-primary);border:0;border-radius:8px;padding:8px 12px;font-weight:800;cursor:pointer;transition:background .2s}.btn-secondary-action:hover{background:var(--surface-elevated)}.search-highlight{background-color:#fef08a;padding:2px 0;border-radius:2px}[data-theme=dark] .search-highlight{background-color:#ca8a04;color:#fef3c2}.study-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;background:var(--gradient-header);padding:24px 20px 24px 32px;border-radius:0;position:relative;overflow:hidden;flex-wrap:wrap}[data-theme=light] .study-header{background:var(--background)}[data-theme=dark] .study-header{background:#000000}.study-header-v2{background:var(--gradient-header);padding:32px 20px 32px 32px;border-radius:0;box-shadow:0 8px 32px rgba(102,126,234,.25)}[data-theme=light] .study-header-v2{background:var(--background)}[data-theme=dark] .study-header-v2{background:#000000;box-shadow:0 8px 32px rgba(0,0,0,.5)}.study-back-button{padding:8px 16px;background:rgba(255,255,255,.2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border:1px solid rgba(255,255,255,.3);border-radius:12px;font-weight:600;font-size:13px;color:white;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);white-space:nowrap;flex-shrink:0}.study-back-button:hover{background:rgba(255,255,255,.3);transform:translateX(-4px)}.study-back-button-v2{padding:10px 18px;background:rgba(255,255,255,.25);border:1.5px solid rgba(255,255,255,.4);border-radius:14px;font-weight:700;box-shadow:0 4px 16px rgba(0,0,0,.1)}.study-back-button-v2:hover{background:rgba(255,255,255,.35);transform:translateX(-4px) translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.15)}.study-deck-title{font-weight:800;margin-bottom:16px;color:white;text-shadow:0 2px 10px rgba(0,0,0,.2);letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;outline:none;padding:4px;border-radius:3px;cursor:text}.study-deck-title:hover{background:rgba(255,255,255,.08)}.study-deck-title:focus{background:rgba(255,255,255,.12)}.study-deck-title-v2{font-size:28px;text-shadow:0 3px 15px rgba(0,0,0,.3),0 1px 3px rgba(0,0,0,.2);border-radius:6px;animation:float 8s ease-in-out infinite}.study-mode-toggle{display:inline-flex;gap:0;background:rgba(255,255,255,.15);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:16px;padding:5px;border:2px solid rgba(255,255,255,.25);box-shadow:0 6px 24px rgba(0,0,0,.15),inset 0 1px 0 rgba(255,255,255,.2)}[data-theme=dark] .study-mode-toggle{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.15)}.study-mode-button{padding:10px 24px;background:transparent;color:rgba(255,255,255,.95);border:none;border-radius:12px;font-weight:800;font-size:13px;cursor:pointer;transition:all 1s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;gap:8px;text-shadow:0 1px 2px rgba(0,0,0,.2)}.study-mode-button:hover{background:rgba(255,255,255,.12);transform:translateY(-2px)}.study-mode-button.active{box-shadow:0 4px 12px rgba(0,0,0,.2),inset 0 1px 2px rgba(255,255,255,.2);text-shadow:none}.study-mode-button.active,[data-theme=dark] .study-mode-button.active{background:linear-gradient(135deg,#667eea,#5568d3);color:#ffffff}.study-job-status{width:100%;margin-bottom:12px;padding:10px 14px;background:rgba(255,255,255,.15);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.25);border-radius:12px;color:white;font-size:13px;font-weight:600;text-align:center}[data-theme=dark] .study-job-status{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.15)}[data-theme=dark] .edit-button-theme{background:#000000!important;color:#ffffff!important}[data-theme=dark] .edit-link-theme{background:#1a1a1a!important;border-color:#333333!important;color:#ffffff!important}[data-theme=dark] .customize-button-theme{background:#000000!important;color:#ffffff!important;border-color:#333333!important}.study-card{background:var(--surface-elevated);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-xl);box-shadow:var(--shadow-lg);color:var(--text-primary)}[data-theme=dark] .study-card{background:var(--surface);border-color:var(--border);box-shadow:var(--shadow-xl)}.study-button-primary{background:linear-gradient(135deg,#5a8ec8,#7ba5d6);color:white;border:none;padding:12px 24px;border-radius:12px;font-weight:700;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 8px rgba(90,142,200,.25)}.study-button-primary:hover{background:linear-gradient(135deg,#4a7eb8,#6b95c6);transform:translateY(-1px);box-shadow:0 4px 12px rgba(90,142,200,.35)}[data-theme=dark] .study-button-primary{background:linear-gradient(135deg,#3d5a7a,#5a8ec8);box-shadow:0 2px 8px rgba(61,90,122,.4)}[data-theme=dark] .study-button-primary:hover{background:linear-gradient(135deg,#4d6a8a,#6a9ed8);box-shadow:0 4px 12px rgba(61,90,122,.5)}.study-fullscreen-bg{background:#2d3748}[data-theme=dark] .study-fullscreen-bg{background:#000000}[data-theme=light] .bg-theme-elevated,[data-theme=light] .menu-surface,[data-theme=light] .study-card,[data-theme=light] .study-content-surface,[data-theme=light] .study-root{background:var(--surface-elevated)}.page-ref-link{background:transparent;border:none;color:#0b6bcb;text-decoration:underline;cursor:pointer;padding:0;font:inherit}[data-theme=dark] .page-ref-link{color:#7ba5d6}.cloze-answer{color:#3b82f6;font-weight:700;background:rgba(59,130,246,.12);padding:0 2px;border-radius:2px}[data-theme=dark] .cloze-answer{color:#ffffff;background:#000000}.cloze-hidden{color:#3b82f6;font-weight:700}[data-theme=dark] .cloze-hidden{color:#60a5fa}.cloze-hint{color:#93c5fd}[data-theme=dark] .cloze-hint{color:#60a5fa}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--background);color:var(--text-primary);line-height:var(--line-height-normal);-webkit-touch-callout:default}.pdfFrame,.pdfFrame *,embed[type="application/pdf"],object[type="application/pdf"]{-webkit-user-select:text!important;-moz-user-select:text!important;user-select:text!important;-webkit-touch-callout:default!important}.pro-gold-border{color:#000000;text-transform:none;font-weight:800;text-shadow:0 1px 0 #d4af37,1px 0 0 #d4af37,0 -1px 0 #d4af37,-1px 0 0 #d4af37,1px 1px 0 #b98a00,-1px 1px 0 #e6c14a,1px -1px 0 #e6c14a,-1px -1px 0 #b98a00}[data-theme=dark] .pro-gold-border{color:#000000}.container{width:100%;max-width:1100px;margin:0 auto;padding:0 var(--space-xl)}@media (max-width:768px){.container{padding:0 var(--space-lg)}}@media (max-width:480px){.container{padding:0 var(--space-md)}}.btn{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:var(--font-weight-medium);cursor:pointer;line-height:1}.btn-plain{color:var(--secondary-900);background:rgba(255,255,255,.9);border:1px solid var(--gray-200);border-radius:var(--radius-full);padding:10px 14px;box-shadow:var(--shadow-sm);transition:all .2s ease}.btn-plain:hover{background:#ffffff;border-color:var(--gray-300);box-shadow:var(--shadow);transform:translateY(-1px);text-decoration:none;color:var(--secondary-900)}.btn-plain:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(14,165,233,.25),var(--shadow)}.btn-plain:active{transform:translateY(0);box-shadow:var(--shadow-sm)}.btn-primary{background:var(--gradient-primary);color:white;border:none;padding:var(--space-md) var(--space-lg);border-radius:var(--radius-md);font-weight:var(--font-weight-semibold);cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow)}.btn-primary:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}.btn-success{background:var(--gradient-success);color:white;border:none;padding:var(--space-md) var(--space-lg);border-radius:var(--radius-md);font-weight:var(--font-weight-semibold);cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow)}.btn-success:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}.card{background:var(--card-bg);border:1px solid var(--card-border);border-radius:var(--radius-lg);padding:var(--space-xl);box-shadow:var(--shadow)}.faq-page{padding-top:16px;background:var(--surface-elevated)}.faq-page .faq-title{border:1px solid var(--card-border);box-shadow:var(--shadow);padding:20px;margin:0 auto}.faq-page .card,.faq-page .faq-title{background:var(--surface-elevated);border-radius:0}.faq-page .card{margin:0;border-left:none;border-right:none}.faq-page .card+.card{border-top:none}[data-theme=light] .stats-page{background:#ffffff}[data-theme=light] .stats-page .card{background:#ffffff;border-color:var(--gray-200)}.faq-page .input{background:#ffffff;border-color:var(--border);color:var(--gray-900)}[data-theme=dark] .faq-page details>summary{color:#ffffff!important}[data-theme=dark] .faq-page details>summary::-webkit-details-marker,[data-theme=dark] .faq-page details>summary::marker{color:#ffffff}[data-theme=dark] .faq-page a:not(.btn){color:#93c5fd;text-decoration:underline;text-underline-offset:2px}[data-theme=dark] .faq-page a:not(.btn):hover{color:#bfdbfe;-webkit-text-decoration-color:#bfdbfe;text-decoration-color:#bfdbfe}.faq-highlight{background:#fde68a;color:#0f172a;padding:0 2px;border-radius:2px}.card-elevated{background:var(--surface-elevated);border:1px solid var(--border-light);border-radius:var(--radius-xl);padding:var(--space-2xl);box-shadow:var(--shadow-xl);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.input{background:var(--input-bg);border:1px solid var(--input-border);border-radius:var(--radius);padding:var(--space-md);font-size:var(--font-size-base);transition:border-color .2s ease;color:var(--text-primary)}.input:focus{outline:none;border-color:var(--input-focus);box-shadow:0 0 0 3px rgba(59,130,246,.1)}.input::placeholder{color:var(--text-muted)}[data-theme=dark] .input::placeholder{color:var(--text-muted)}[data-theme=dark] .deck-search-input::placeholder{color:#ffffff}[data-theme=dark] .input select,[data-theme=dark] select.input{color:var(--text-primary);background:var(--input-bg)}[data-theme=dark] .input option,[data-theme=dark] option,[data-theme=dark] select.input option{color:var(--text-primary)!important;background:var(--surface-elevated)!important}#phone .input{line-height:var(--line-height-normal);height:calc(var(--line-height-normal) * var(--font-size-base) + (2 * var(--space-md)))}.text-primary{color:var(--text-primary)}.text-secondary{color:var(--text-secondary)}.text-muted{color:var(--text-muted)}.gradient-text{background:var(--gradient-primary);-webkit-background-clip:text;background-clip:text}.gradient-text,.silver-text{-webkit-text-fill-color:transparent}.silver-text{background:linear-gradient(135deg,#ffffff,#fbfdff 12%,#eef3f8 28%,#ffffff 45%,#ecf1f7 62%,#f9fbfe 80%,#ffffff);-webkit-background-clip:text;background-clip:text;text-shadow:0 0 1px rgba(255,255,255,.6),0 2px 8px rgba(255,255,255,.35),0 1px 2px rgba(0,0,0,.08)}.hero-gradient{background:var(--background)}@supports (height:100dvh){:root{--app-min-height:calc(100dvh - var(--header-height, 64px))}}.fade-in-up{animation:fadeInUp .8s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.pulse-hover:hover{animation:pulse .6s ease-in-out}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.05)}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.card-shuffle-loader{position:relative;width:140px;height:180px;margin:0 auto;perspective:800px;z-index:2}.card-shuffle-loader .card{position:absolute;inset:0;border-radius:12px;background:linear-gradient(180deg,#ffffff,#f3f4f6);border:1px solid rgba(0,0,0,.06);box-shadow:0 10px 25px rgba(0,0,0,.08),0 2px 6px rgba(0,0,0,.05);transform-origin:center center;-webkit-backface-visibility:hidden;backface-visibility:hidden;will-change:transform,opacity}[data-theme=dark] .card-shuffle-loader .card{background:linear-gradient(180deg,#1f2937,#111827);border:1px solid rgba(255,255,255,.1);box-shadow:0 10px 25px rgba(0,0,0,.5),0 2px 6px rgba(0,0,0,.3)}#email-subscription>div>div>div{background:#ffffff}[data-theme=dark] #email-subscription>div>div>div{background:var(--background)}.card-shuffle-loader .card:first-child{transform:translateZ(0) rotate(0deg)}.card-shuffle-loader .card:nth-child(2){transform:translateZ(-2px) rotate(-.5deg)}.card-shuffle-loader .card:nth-child(3){transform:translateZ(-4px) rotate(.7deg)}.card-shuffle-loader .card:nth-child(4){transform:translateZ(-6px) rotate(-1deg)}.card-shuffle-loader .card:nth-child(5){transform:translateZ(-8px) rotate(.3deg)}.card-shuffle-loader .card:nth-child(6){transform:translateZ(-10px) rotate(-.3deg)}.card-shuffle-loader .card{animation:cardShuffle 2s ease-in-out infinite}.card-shuffle-loader .card:nth-child(2){animation-delay:.08s}.card-shuffle-loader .card:nth-child(3){animation-delay:.16s}.card-shuffle-loader .card:nth-child(4){animation-delay:.24s}.card-shuffle-loader .card:nth-child(5){animation-delay:.32s}.card-shuffle-loader .card:nth-child(6){animation-delay:.4s}@keyframes cardShuffle{0%{transform:translateZ(0) rotate(0deg) scale(1);filter:brightness(1)}12%{transform:translate3d(-24px,-6px,20px) rotate(-12deg) scale(1.02);filter:brightness(1.02)}25%{transform:translate3d(-42px,0,40px) rotate(-18deg) scale(1.03)}38%{transform:translate3d(0,4px,0) rotate(-2deg) scale(1)}50%{transform:translate3d(42px,0,40px) rotate(18deg) scale(1.03);filter:brightness(1.02)}62%{transform:translate3d(24px,-6px,20px) rotate(12deg) scale(1.02)}75%{transform:translateZ(0) rotate(0deg) scale(1)}to{transform:translateZ(0) rotate(0deg) scale(1);filter:brightness(1)}}.card-shuffle-aura{position:relative;width:200px;height:220px;margin:0 auto}.card-shuffle-aura:after,.card-shuffle-aura:before{content:"";position:absolute;left:50%;top:50%;width:220px;height:260px;transform:translate(-50%,-50%);border:1px solid rgba(59,130,246,.25);border-radius:18px;pointer-events:none;z-index:0}.card-shuffle-aura:before{filter:blur(8px);box-shadow:0 0 40px rgba(59,130,246,.35),inset 0 0 40px rgba(14,165,233,.25)}.card-shuffle-aura:after{border-image:linear-gradient(135deg,rgba(59,130,246,.45),rgba(14,165,233,.45)) 1;animation:auraPulse 2.2s ease-in-out infinite}@keyframes auraPulse{0%,to{opacity:.35}50%{opacity:.65}}@keyframes loadingDot{0%,80%,to{opacity:.3;transform:scale(1)}40%{opacity:1;transform:scale(1.2)}}.drag-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(37,99,235,.1);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:1000;display:flex;align-items:center;justify-content:center;pointer-events:none}.drag-message{background:var(--background);border:3px dashed var(--primary-500);border-radius:var(--radius-xl);padding:var(--space-2xl);text-align:center;box-shadow:var(--shadow-2xl)}.status-success{background:var(--success-50);border:1px solid var(--success-200);color:var(--success-700)}.status-error{background:var(--error-50);border:1px solid var(--error-200);color:var(--error-700)}.status-info{border:1px solid var(--primary-200)}.status-info,.welcome-badge{background:var(--primary-50);color:var(--primary-700)}.welcome-badge{padding:var(--space-sm) var(--space-md);border-radius:var(--radius-full);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);border:1px solid var(--primary-200);box-shadow:var(--shadow-sm)}.credit-card{background:linear-gradient(135deg,var(--slate-50) 0,var(--slate-200) 100%);border:2px solid var(--slate-200);border-radius:var(--radius-xl);padding:var(--space-xl);box-shadow:var(--shadow-lg)}.credit-icon{background:var(--gradient-primary);color:white;padding:var(--space-md);border-radius:var(--radius-md);font-size:var(--font-size-lg);font-weight:var(--font-weight-bold);box-shadow:0 4px 12px rgba(59,130,246,.3)}.small{color:var(--text-muted);font-size:var(--font-size-xs)}.footer-nav{justify-content:flex-start}@media (max-width:768px){.footer-nav{justify-content:center}}@media (max-width:640px){.container{padding:0 10px}.card-elevated{padding:14px;margin:0 6px;border-radius:var(--radius-lg)}.btn-primary,.btn-success{min-height:48px;padding:14px 18px;font-size:16px;width:100%;max-width:100%;margin:0 auto}.btn-plain{min-height:44px;padding:12px 16px;font-size:16px;width:-moz-fit-content;width:fit-content}h1{font-size:clamp(1.75rem,6vw,3.75rem)!important;line-height:1.2!important;margin-bottom:16px!important}h2{font-size:clamp(1.25rem,5vw,2.25rem)!important}h2,h3{line-height:1.3!important}h3{font-size:clamp(1.1rem,4vw,1.875rem)!important}body{font-size:16px;line-height:1.5}}@media (pointer:coarse){[role=button],a,button{min-height:44px;min-width:44px}}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive table{min-width:600px}@media (max-width:640px){[role=menu]{position:fixed!important;top:var(--header-height)!important;left:var(--space-md)!important;right:var(--space-md)!important;width:auto!important;min-width:auto!important}}.header-with-backdrop{background:var(--header-bg-fallback);box-shadow:var(--shadow),0 1px 0 rgba(0,0,0,.05)}@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) or (-webkit-backdrop-filter:blur(1px)){.header-with-backdrop{background:var(--header-bg);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:var(--shadow)}}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.header-with-backdrop{background:var(--header-bg-fallback);box-shadow:var(--shadow),0 1px 0 rgba(0,0,0,.05)}}.sidebar-container{color:var(--text-secondary)}@supports not (font-size:clamp(1rem,2vw,2rem)){h1{font-size:1.75rem!important;line-height:1.2!important}h2{font-size:1.25rem!important}h2,h3{line-height:1.3!important}h3{font-size:1.1rem!important}}@media (max-width:640px){.mobile-only{display:initial!important}.desktop-only{display:none!important}}body.study-no-rounded *,body.study-no-rounded :after,body.study-no-rounded :before{border-radius:0!important}.mobile-sticky-cta{position:fixed;left:0;right:0;bottom:0;z-index:10000;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border-top:0;display:flex;align-items:center;justify-content:center;gap:8px}.sticky-footer-spacer{height:72px}.touch-target{min-height:44px;min-width:44px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.o-layout{display:grid;grid-template-columns:1fr;grid-gap:32px;gap:32px}@media (min-width:1024px){.o-layout{grid-template-columns:280px 1fr;gap:40px}}.o-sidebar{display:none}@media (min-width:1024px){.o-sidebar{display:block}}.o-main{min-width:0}.o-card{padding:0;overflow:hidden}.o-nav{display:flex;flex-direction:column;gap:8px}.o-nav-item{display:inline-flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid transparent;border-radius:12px;color:var(--text-secondary);text-decoration:none;transition:all .2s ease}.o-nav-item:hover{background:#fff;border-color:var(--border);box-shadow:var(--shadow-sm);transform:translateY(-1px)}.o-number-badge{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:var(--primary-100);color:var(--primary-700);font-size:13px;font-weight:700;flex-shrink:0}.o-toc-mobile{background:var(--slate-50);border:1px solid var(--border);border-radius:16px;padding:24px;margin-bottom:32px}@media (min-width:1024px){.o-toc-mobile{display:none}}.tiptap-editor{outline:none;min-height:80px;cursor:text;color:var(--text-primary)}[data-theme=dark] .tiptap-editor{color:#ffffff}[data-theme=dark] .tiptap-editor *{color:inherit}[data-theme=dark] .tiptap-editor div:not([style*="color: rgb"]):not([style*="color:#"]):not([style*="color: #"]),[data-theme=dark] .tiptap-editor p:not([style*="color: rgb"]):not([style*="color:#"]):not([style*="color: #"]),[data-theme=dark] .tiptap-editor span:not([style*="color: rgb"]):not([style*="color:#"]):not([style*="color: #"]){color:#ffffff}[data-theme=dark] .tiptap-editor div[style*="color: #000"],[data-theme=dark] .tiptap-editor div[style*="color: #000000"],[data-theme=dark] .tiptap-editor div[style*="color: #111827"],[data-theme=dark] .tiptap-editor div[style*="color: #1f2937"],[data-theme=dark] .tiptap-editor div[style*="color: black"],[data-theme=dark] .tiptap-editor div[style*="color: rgb(0, 0, 0)"],[data-theme=dark] .tiptap-editor div[style*="color: rgb(17, 24, 39)"],[data-theme=dark] .tiptap-editor div[style*="color: rgb(31, 41, 55)"],[data-theme=dark] .tiptap-editor div[style*="color:#000"],[data-theme=dark] .tiptap-editor div[style*="color:#000000"],[data-theme=dark] .tiptap-editor div[style*="color:#111827"],[data-theme=dark] .tiptap-editor div[style*="color:#1f2937"],[data-theme=dark] .tiptap-editor p[style*="color: #000"],[data-theme=dark] .tiptap-editor p[style*="color: #000000"],[data-theme=dark] .tiptap-editor p[style*="color: #111827"],[data-theme=dark] .tiptap-editor p[style*="color: #1f2937"],[data-theme=dark] .tiptap-editor p[style*="color: black"],[data-theme=dark] .tiptap-editor p[style*="color: rgb(0, 0, 0)"],[data-theme=dark] .tiptap-editor p[style*="color: rgb(17, 24, 39)"],[data-theme=dark] .tiptap-editor p[style*="color: rgb(31, 41, 55)"],[data-theme=dark] .tiptap-editor p[style*="color:#000"],[data-theme=dark] .tiptap-editor p[style*="color:#000000"],[data-theme=dark] .tiptap-editor p[style*="color:#111827"],[data-theme=dark] .tiptap-editor p[style*="color:#1f2937"],[data-theme=dark] .tiptap-editor span[style*="color: #000"],[data-theme=dark] .tiptap-editor span[style*="color: #000000"],[data-theme=dark] .tiptap-editor span[style*="color: #111827"],[data-theme=dark] .tiptap-editor span[style*="color: #1f2937"],[data-theme=dark] .tiptap-editor span[style*="color: black"],[data-theme=dark] .tiptap-editor span[style*="color: rgb(0, 0, 0)"],[data-theme=dark] .tiptap-editor span[style*="color: rgb(17, 24, 39)"],[data-theme=dark] .tiptap-editor span[style*="color: rgb(31, 41, 55)"],[data-theme=dark] .tiptap-editor span[style*="color:#000"],[data-theme=dark] .tiptap-editor span[style*="color:#000000"],[data-theme=dark] .tiptap-editor span[style*="color:#111827"],[data-theme=dark] .tiptap-editor span[style*="color:#1f2937"]{color:#ffffff!important}[data-theme=dark] .tiptap-editor span[style*="background: #fff7d6"],[data-theme=dark] .tiptap-editor span[style*="background: rgb(255,247,214)"],[data-theme=dark] .tiptap-editor span[style*="background:#fff7d6"],[data-theme=dark] .tiptap-editor span[style*="background:rgb(255,247,214)"]{background:#000000!important;color:#ffffff!important}.tiptap-editor p.is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;height:0}[data-theme=dark] .tiptap-editor p.is-editor-empty:first-child:before{color:#6b7280}.tiptap-paragraph{margin:.5em 0}.tiptap-paragraph:first-child{margin-top:0}.tiptap-paragraph:last-child{margin-bottom:0}.flashcard-content h1{font-size:1.5em;font-weight:700;margin:.5em 0;line-height:1.3}.flashcard-content h2{font-size:1.3em}.flashcard-content h2,.flashcard-content h3{font-weight:600;margin:.5em 0;line-height:1.3}.flashcard-content h3{font-size:1.1em}.flashcard-content ol,.flashcard-content ul{margin:.5em 0;padding-left:1.5em}.flashcard-content li{margin:.25em 0}.flashcard-content strong{font-weight:700}.flashcard-content em{font-style:italic}.flashcard-content u{text-decoration:underline}.flashcard-content mark{background-color:#fef08a;padding:0 2px;border-radius:2px}.flashcard-content p{margin:.5em 0}.flashcard-content p:first-child{margin-top:0}.flashcard-content p:last-child{margin-bottom:0}.flashcard-content.mcq-question p{margin:.2em 0}.flashcard-content.mcq-question p:first-child{margin-top:0}.flashcard-content.mcq-question p:last-child{margin-bottom:0}.flashcard-content code{background:#f3f4f6;padding:.15em .3em;border-radius:3px;font-family:Monaco,Menlo,Courier New,monospace;font-size:.9em}.flashcard-content pre{background:#f3f4f6;padding:1em;border-radius:6px;overflow-x:auto;margin:.5em 0}.flashcard-content pre code{background:none;padding:0}.flashcard-content img{max-width:100%;height:auto;border-radius:4px;max-height:min(70vh,70dvh)}.flashcard-content{color:#111827}.flashcard-content *{color:inherit}:root .flashcard-content [style*="color: #fff"],:root .flashcard-content [style*="color: #ffffff"],:root .flashcard-content [style*="color: rgb(255, 255, 255)"],:root .flashcard-content [style*="color: white"],:root .flashcard-content [style*="color:#fff"],:root .flashcard-content [style*="color:#ffffff"],:root .flashcard-content [style*="color:rgb(255, 255, 255)"],[data-theme=light] .flashcard-content [style*="color: #fff"],[data-theme=light] .flashcard-content [style*="color: #ffffff"],[data-theme=light] .flashcard-content [style*="color: rgb(255, 255, 255)"],[data-theme=light] .flashcard-content [style*="color: white"],[data-theme=light] .flashcard-content [style*="color:#fff"],[data-theme=light] .flashcard-content [style*="color:#ffffff"],[data-theme=light] .flashcard-content [style*="color:rgb(255, 255, 255)"]{color:#111827!important}[data-theme=dark] .flashcard-content{color:#ffffff}[data-theme=dark] .flashcard-content *{color:inherit}[data-theme=dark] .flashcard-content div[style*="color: #000"],[data-theme=dark] .flashcard-content div[style*="color: #000000"],[data-theme=dark] .flashcard-content div[style*="color: #111827"],[data-theme=dark] .flashcard-content div[style*="color: #1f2937"],[data-theme=dark] .flashcard-content div[style*="color: black"],[data-theme=dark] .flashcard-content div[style*="color: rgb(0, 0, 0)"],[data-theme=dark] .flashcard-content div[style*="color: rgb(17, 24, 39)"],[data-theme=dark] .flashcard-content div[style*="color: rgb(31, 41, 55)"],[data-theme=dark] .flashcard-content div[style*="color:#000"],[data-theme=dark] .flashcard-content div[style*="color:#000000"],[data-theme=dark] .flashcard-content div[style*="color:#111827"],[data-theme=dark] .flashcard-content div[style*="color:#1f2937"],[data-theme=dark] .flashcard-content p[style*="color: #000"],[data-theme=dark] .flashcard-content p[style*="color: #000000"],[data-theme=dark] .flashcard-content p[style*="color: #111827"],[data-theme=dark] .flashcard-content p[style*="color: #1f2937"],[data-theme=dark] .flashcard-content p[style*="color: black"],[data-theme=dark] .flashcard-content p[style*="color: rgb(0, 0, 0)"],[data-theme=dark] .flashcard-content p[style*="color: rgb(17, 24, 39)"],[data-theme=dark] .flashcard-content p[style*="color: rgb(31, 41, 55)"],[data-theme=dark] .flashcard-content p[style*="color:#000"],[data-theme=dark] .flashcard-content p[style*="color:#000000"],[data-theme=dark] .flashcard-content p[style*="color:#111827"],[data-theme=dark] .flashcard-content p[style*="color:#1f2937"],[data-theme=dark] .flashcard-content span[style*="color: #000"],[data-theme=dark] .flashcard-content span[style*="color: #000000"],[data-theme=dark] .flashcard-content span[style*="color: #111827"],[data-theme=dark] .flashcard-content span[style*="color: #1f2937"],[data-theme=dark] .flashcard-content span[style*="color: black"],[data-theme=dark] .flashcard-content span[style*="color: rgb(0, 0, 0)"],[data-theme=dark] .flashcard-content span[style*="color: rgb(17, 24, 39)"],[data-theme=dark] .flashcard-content span[style*="color: rgb(31, 41, 55)"],[data-theme=dark] .flashcard-content span[style*="color:#000"],[data-theme=dark] .flashcard-content span[style*="color:#000000"],[data-theme=dark] .flashcard-content span[style*="color:#111827"],[data-theme=dark] .flashcard-content span[style*="color:#1f2937"]{color:#ffffff!important}[data-theme=dark] .flashcard-content code,[data-theme=dark] .flashcard-content pre{background:#1a1a1a;color:#e5e7eb}[data-theme=dark] .flashcard-content mark{background-color:#854d0e;color:#fef3c7}.ProseMirror{outline:none;min-height:inherit;color:var(--text-primary)}[data-theme=dark] .ProseMirror{color:#ffffff}[data-theme=dark] .ProseMirror *{color:inherit}[data-theme=dark] .ProseMirror div:not([style*="color: rgb"]):not([style*="color:#"]):not([style*="color: #"]),[data-theme=dark] .ProseMirror p:not([style*="color: rgb"]):not([style*="color:#"]):not([style*="color: #"]),[data-theme=dark] .ProseMirror span:not([style*="color: rgb"]):not([style*="color:#"]):not([style*="color: #"]){color:#ffffff}[data-theme=dark] .ProseMirror div[style*="color: #000"],[data-theme=dark] .ProseMirror div[style*="color: #000000"],[data-theme=dark] .ProseMirror div[style*="color: #111827"],[data-theme=dark] .ProseMirror div[style*="color: #1f2937"],[data-theme=dark] .ProseMirror div[style*="color: black"],[data-theme=dark] .ProseMirror div[style*="color: rgb(0, 0, 0)"],[data-theme=dark] .ProseMirror div[style*="color: rgb(17, 24, 39)"],[data-theme=dark] .ProseMirror div[style*="color: rgb(31, 41, 55)"],[data-theme=dark] .ProseMirror div[style*="color:#000"],[data-theme=dark] .ProseMirror div[style*="color:#000000"],[data-theme=dark] .ProseMirror div[style*="color:#111827"],[data-theme=dark] .ProseMirror div[style*="color:#1f2937"],[data-theme=dark] .ProseMirror p[style*="color: #000"],[data-theme=dark] .ProseMirror p[style*="color: #000000"],[data-theme=dark] .ProseMirror p[style*="color: #111827"],[data-theme=dark] .ProseMirror p[style*="color: #1f2937"],[data-theme=dark] .ProseMirror p[style*="color: black"],[data-theme=dark] .ProseMirror p[style*="color: rgb(0, 0, 0)"],[data-theme=dark] .ProseMirror p[style*="color: rgb(17, 24, 39)"],[data-theme=dark] .ProseMirror p[style*="color: rgb(31, 41, 55)"],[data-theme=dark] .ProseMirror p[style*="color:#000"],[data-theme=dark] .ProseMirror p[style*="color:#000000"],[data-theme=dark] .ProseMirror p[style*="color:#111827"],[data-theme=dark] .ProseMirror p[style*="color:#1f2937"],[data-theme=dark] .ProseMirror span[style*="color: #000"],[data-theme=dark] .ProseMirror span[style*="color: #000000"],[data-theme=dark] .ProseMirror span[style*="color: #111827"],[data-theme=dark] .ProseMirror span[style*="color: #1f2937"],[data-theme=dark] .ProseMirror span[style*="color: black"],[data-theme=dark] .ProseMirror span[style*="color: rgb(0, 0, 0)"],[data-theme=dark] .ProseMirror span[style*="color: rgb(17, 24, 39)"],[data-theme=dark] .ProseMirror span[style*="color: rgb(31, 41, 55)"],[data-theme=dark] .ProseMirror span[style*="color:#000"],[data-theme=dark] .ProseMirror span[style*="color:#000000"],[data-theme=dark] .ProseMirror span[style*="color:#111827"],[data-theme=dark] .ProseMirror span[style*="color:#1f2937"]{color:#ffffff!important}.ProseMirror>*+*{margin-top:.75em}.ProseMirror ol,.ProseMirror ul{padding:0 1.5rem;margin:.5rem 0}.ProseMirror ol li,.ProseMirror ul li{margin:.25rem 0}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3{line-height:1.3;margin-top:.75em;margin-bottom:.5em;font-weight:600}.ProseMirror h1{font-size:1.5em;font-weight:700}.ProseMirror h2{font-size:1.3em}.ProseMirror h3{font-size:1.1em}.ProseMirror code{background-color:rgba(97,97,97,.1);color:#616161;padding:.2em .4em;border-radius:3px;font-size:.9em;font-family:Monaco,Menlo,Courier New,monospace}[data-theme=dark] .ProseMirror code{background-color:rgba(255,255,255,.1);color:#d1d5db}.ProseMirror pre{background:#f3f4f6;color:#1f2937;font-family:Monaco,Menlo,Courier New,monospace;padding:.75rem 1rem;border-radius:.5rem;overflow-x:auto;margin:.5rem 0}[data-theme=dark] .ProseMirror pre{background:#1a1a1a;color:#e5e7eb}.ProseMirror pre code{color:inherit;padding:0;background:none;font-size:.9rem}.ProseMirror mark{background-color:#fef08a;padding:.1em .2em;border-radius:2px}[data-theme=dark] .ProseMirror mark{background-color:#854d0e;color:#fef3c7}.ProseMirror img{max-width:100%;height:auto;border-radius:4px}.ProseMirror blockquote{padding-left:1rem;border-left:3px solid rgba(13,13,13,.15);margin:.5rem 0}[data-theme=dark] .ProseMirror blockquote{border-left-color:rgba(255,255,255,.2)}.ProseMirror hr{border:none;border-top:2px solid rgba(13,13,13,.1);margin:1rem 0}[data-theme=dark] .ProseMirror hr{border-top-color:rgba(255,255,255,.1)}.ProseMirror p.is-editor-empty:first-child:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}[data-theme=dark] .ProseMirror p.is-editor-empty:first-child:before{color:#6b7280}body.fullscreen-mode{padding-top:0!important;padding-left:0!important}body.fullscreen-mode #header-fallback,body.fullscreen-mode .header-with-backdrop,body.fullscreen-mode .sidebar-container,body.fullscreen-mode footer,body.fullscreen-mode header{display:none!important}body.fullscreen-mode .flashcard-content{color:#e2e8f0;background:transparent!important}body.fullscreen-mode .flashcard-content [style*="color: #000"],body.fullscreen-mode .flashcard-content [style*="color: #000000"],body.fullscreen-mode .flashcard-content [style*="color: black"],body.fullscreen-mode .flashcard-content [style*="color: rgb(0, 0, 0)"],body.fullscreen-mode .flashcard-content [style*="color:#000"],body.fullscreen-mode .flashcard-content [style*="color:#000000"],body.fullscreen-mode .flashcard-content [style*="color:rgb(0, 0, 0)"]{color:#e2e8f0!important}body.study-dark{background:#000000!important;color:#ffffff!important}body.study-dark .flashcard-content{color:#ffffff}body.study-dark .flashcard-content *{color:inherit}body.study-dark .flashcard-content [style*="color: #000"],body.study-dark .flashcard-content [style*="color: #000000"],body.study-dark .flashcard-content [style*="color: black"],body.study-dark .flashcard-content [style*="color: rgb(0, 0, 0)"],body.study-dark .flashcard-content [style*="color:#000"],body.study-dark .flashcard-content [style*="color:#000000"],body.study-dark .flashcard-content [style*="color:rgb(0, 0, 0)"],body.study-dark .flashcard-content div[style*="color: #000"],body.study-dark .flashcard-content div[style*="color: #000000"],body.study-dark .flashcard-content div[style*="color: #111827"],body.study-dark .flashcard-content div[style*="color: #1f2937"],body.study-dark .flashcard-content div[style*="color: black"],body.study-dark .flashcard-content div[style*="color: rgb(0, 0, 0)"],body.study-dark .flashcard-content div[style*="color: rgb(17, 24, 39)"],body.study-dark .flashcard-content div[style*="color: rgb(31, 41, 55)"],body.study-dark .flashcard-content div[style*="color:#000"],body.study-dark .flashcard-content div[style*="color:#000000"],body.study-dark .flashcard-content div[style*="color:#111827"],body.study-dark .flashcard-content div[style*="color:#1f2937"],body.study-dark .flashcard-content p[style*="color: #000"],body.study-dark .flashcard-content p[style*="color: #000000"],body.study-dark .flashcard-content p[style*="color: #111827"],body.study-dark .flashcard-content p[style*="color: #1f2937"],body.study-dark .flashcard-content p[style*="color: black"],body.study-dark .flashcard-content p[style*="color: rgb(0, 0, 0)"],body.study-dark .flashcard-content p[style*="color: rgb(17, 24, 39)"],body.study-dark .flashcard-content p[style*="color: rgb(31, 41, 55)"],body.study-dark .flashcard-content p[style*="color:#000"],body.study-dark .flashcard-content p[style*="color:#000000"],body.study-dark .flashcard-content p[style*="color:#111827"],body.study-dark .flashcard-content p[style*="color:#1f2937"],body.study-dark .flashcard-content span[style*="color: #000"],body.study-dark .flashcard-content span[style*="color: #000000"],body.study-dark .flashcard-content span[style*="color: #111827"],body.study-dark .flashcard-content span[style*="color: #1f2937"],body.study-dark .flashcard-content span[style*="color: black"],body.study-dark .flashcard-content span[style*="color: rgb(0, 0, 0)"],body.study-dark .flashcard-content span[style*="color: rgb(17, 24, 39)"],body.study-dark .flashcard-content span[style*="color: rgb(31, 41, 55)"],body.study-dark .flashcard-content span[style*="color:#000"],body.study-dark .flashcard-content span[style*="color:#000000"],body.study-dark .flashcard-content span[style*="color:#111827"],body.study-dark .flashcard-content span[style*="color:#1f2937"]{color:#ffffff!important}body.study-dark .flashcard-content a{color:#93c5fd}body.study-dark .flashcard-content a:hover{color:#bfdbfe}body.fullscreen-mode .flashcard-content a{color:#93c5fd}body.fullscreen-mode .flashcard-content img{max-width:100%;height:auto;border-radius:4px;max-height:min(85vh,85dvh)}.flashcard-content-dark{color:#e2e8f0}.flashcard-content-dark h1,.flashcard-content-dark h2,.flashcard-content-dark h3{color:#f7fafc}.flashcard-content-dark strong{color:#f7fafc;font-weight:700}.flashcard-content-dark ol,.flashcard-content-dark ul{color:#e2e8f0}.flashcard-content-dark code{background:#1a202c;color:#90cdf4}.flashcard-content-dark pre{background:#1a202c;color:#e2e8f0}.flashcard-content-dark mark{background-color:#dd6b20;color:#fefefe}.flashcard-content-dark a{color:#63b3ed;text-decoration:underline}.flashcard-content-dark a:hover{color:#90cdf4}.textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;opacity:1;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0 0}[data-theme=dark] .textLayer :is(span,br){color:rgba(255,255,255,.9)!important}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:rgba(180,0,170,.25);border-radius:4px}.textLayer .highlight.appended{position:static}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:rgba(0,100,0,.25)}.textLayer ::selection{background:rgba(0,100,255,.25)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}