:root{font-family:Iowan Old Style,Palatino Linotype,"Noto Serif SC","Source Han Serif SC",Georgia,serif;color:#1f2937;background:#f3f6fb;line-height:1.5;font-weight:400}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;color:#1f2937;background:radial-gradient(circle at top,rgba(37,99,235,.08),transparent 32%),linear-gradient(180deg,#f8fbff,#eef3f9 52%,#e8eef6)}button,select,input{font:inherit}#root{min-height:100vh}.app-shell{width:min(960px,calc(100vw - 32px));margin:0 auto;padding:32px 0 48px;display:grid;gap:16px;color:#1f2937;--enterprise-display-font: "Baskerville", "Times New Roman", "Noto Serif SC", "Source Han Serif SC", serif;--enterprise-body-font: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", serif;--enterprise-ui-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;--app-shell-bg: transparent;--app-shell-panel-bg: rgba(255, 255, 255, .9);--app-shell-panel-border: rgba(148, 163, 184, .24);--app-shell-panel-shadow: 0 16px 36px rgba(15, 23, 42, .08);--app-shell-panel-radius: 20px;--app-shell-panel-padding: 20px;--app-shell-controls-gap: 16px;--app-shell-control-bg: #ffffff;--app-shell-control-border: rgba(148, 163, 184, .42);--app-shell-control-text: #0f172a;--app-shell-chip-bg: rgba(255, 255, 255, .92);--app-shell-chip-border: rgba(148, 163, 184, .32);--app-shell-chip-shadow: 0 6px 18px rgba(15, 23, 42, .06);--app-shell-chip-text: #334155;--app-shell-chip-active-bg: rgba(219, 234, 254, .9);--app-shell-chip-active-border: rgba(37, 99, 235, .42);--app-shell-chip-active-text: #1d4ed8;--app-shell-meta-text: #64748b;--app-shell-meta-pill-bg: rgba(255, 255, 255, .86);--app-shell-meta-pill-border: rgba(148, 163, 184, .24);--app-shell-meta-pill-shadow: 0 6px 18px rgba(15, 23, 42, .05);background:var(--app-shell-bg)}.app-shell--theme-light{--app-shell-bg: transparent;--app-shell-panel-bg: rgba(255, 255, 255, .9);--app-shell-panel-border: rgba(148, 163, 184, .24);--app-shell-panel-shadow: 0 16px 36px rgba(15, 23, 42, .08);--app-shell-control-bg: #ffffff;--app-shell-control-border: rgba(148, 163, 184, .42);--app-shell-control-text: #0f172a;--app-shell-chip-bg: rgba(255, 255, 255, .92);--app-shell-chip-border: rgba(148, 163, 184, .32);--app-shell-chip-shadow: 0 6px 18px rgba(15, 23, 42, .06);--app-shell-chip-text: #334155;--app-shell-chip-active-bg: rgba(219, 234, 254, .9);--app-shell-chip-active-border: rgba(37, 99, 235, .42);--app-shell-chip-active-text: #1d4ed8;--app-shell-meta-text: #64748b;--app-shell-meta-pill-bg: rgba(255, 255, 255, .86);--app-shell-meta-pill-border: rgba(148, 163, 184, .24);--app-shell-meta-pill-shadow: 0 6px 18px rgba(15, 23, 42, .05)}.app-shell--theme-dark{--app-shell-bg: transparent;--app-shell-panel-bg: rgba(15, 23, 42, .82);--app-shell-panel-border: rgba(148, 163, 184, .22);--app-shell-panel-shadow: 0 16px 40px rgba(2, 6, 23, .36);--app-shell-control-bg: rgba(15, 23, 42, .9);--app-shell-control-border: rgba(148, 163, 184, .3);--app-shell-control-text: #e2e8f0;--app-shell-chip-bg: rgba(30, 41, 59, .88);--app-shell-chip-border: rgba(148, 163, 184, .24);--app-shell-chip-shadow: 0 10px 24px rgba(2, 6, 23, .28);--app-shell-chip-text: #cbd5e1;--app-shell-chip-active-bg: rgba(30, 64, 175, .3);--app-shell-chip-active-border: rgba(96, 165, 250, .5);--app-shell-chip-active-text: #dbeafe;--app-shell-meta-text: #94a3b8;--app-shell-meta-pill-bg: rgba(15, 23, 42, .74);--app-shell-meta-pill-border: rgba(148, 163, 184, .2);--app-shell-meta-pill-shadow: 0 10px 24px rgba(2, 6, 23, .2)}.app-shell--theme-enterprise{--app-shell-bg: transparent;--app-shell-panel-bg: rgba(248, 250, 252, .96);--app-shell-panel-border: rgba(148, 163, 184, .3);--app-shell-panel-shadow: 0 18px 40px rgba(15, 23, 42, .1);--app-shell-control-bg: rgba(255, 255, 255, .98);--app-shell-control-border: rgba(100, 116, 139, .34);--app-shell-control-text: #0f172a;--app-shell-chip-bg: rgba(255, 255, 255, .96);--app-shell-chip-border: rgba(148, 163, 184, .36);--app-shell-chip-shadow: 0 8px 20px rgba(15, 23, 42, .08);--app-shell-chip-text: #334155;--app-shell-chip-active-bg: rgba(226, 232, 240, .98);--app-shell-chip-active-border: rgba(37, 99, 235, .36);--app-shell-chip-active-text: #1e3a8a;--app-shell-meta-text: #475569;--app-shell-meta-pill-bg: rgba(255, 255, 255, .96);--app-shell-meta-pill-border: rgba(148, 163, 184, .28);--app-shell-meta-pill-shadow: 0 8px 20px rgba(15, 23, 42, .06)}.app-shell--theme-chalkboard{--app-shell-bg: transparent;--app-shell-panel-bg: linear-gradient(180deg, rgba(15, 35, 28, .94), rgba(9, 24, 20, .98));--app-shell-panel-border: rgba(173, 229, 205, .18);--app-shell-panel-shadow: 0 18px 40px rgba(3, 10, 8, .32);--app-shell-control-bg: rgba(10, 28, 22, .92);--app-shell-control-border: rgba(166, 233, 204, .24);--app-shell-control-text: #edf6ef;--app-shell-chip-bg: rgba(14, 39, 30, .9);--app-shell-chip-border: rgba(164, 230, 201, .22);--app-shell-chip-shadow: 0 10px 24px rgba(1, 8, 7, .24);--app-shell-chip-text: #d9efe4;--app-shell-chip-active-bg: rgba(31, 68, 53, .96);--app-shell-chip-active-border: rgba(244, 215, 117, .42);--app-shell-chip-active-text: #fff0b3;--app-shell-meta-text: #cce6d8;--app-shell-meta-pill-bg: rgba(13, 35, 27, .88);--app-shell-meta-pill-border: rgba(170, 228, 202, .2);--app-shell-meta-pill-shadow: 0 8px 18px rgba(1, 8, 7, .18)}.app-shell--style-standard{--app-shell-panel-radius: 20px;--app-shell-panel-padding: 20px;--app-shell-controls-gap: 16px}.app-shell--style-compact{--app-shell-panel-radius: 16px;--app-shell-panel-padding: 16px;--app-shell-controls-gap: 12px}.app-shell--style-editorial{--app-shell-panel-radius: 24px;--app-shell-panel-padding: 24px;--app-shell-controls-gap: 18px}.panel,.preview-panel,.study-card,.section-card{border:1px solid rgba(148,163,184,.24);border-radius:20px;background:#ffffffe6;box-shadow:0 16px 36px #0f172a14}.panel,.status-panel{padding:20px}.hero-panel h1,.study-card h2,.section-card h3{margin:0}.eyebrow{margin:0 0 8px;text-transform:uppercase;letter-spacing:.08em;font-size:12px;color:#2563eb}.hero-panel h1,.title-block h2,.section-card h3{color:#0f172a}.hero-copy,.status-text,.card-subtitle,.lead-text,.answer-text,.reminder-text,.core-theme,.branch-item,.bullet-points,.ordered-points{margin:8px 0 0;color:#475569}.controls-panel{display:grid;grid-template-columns:minmax(132px,164px) minmax(180px,220px) minmax(0,1fr);gap:var(--app-shell-controls-gap);align-items:start}.hero-panel-enterprise{position:relative;overflow:hidden;padding:36px 40px!important;border-color:#d4c6aab8!important;background:radial-gradient(circle at top right,rgba(221,184,122,.16),transparent 28%),linear-gradient(180deg,#fcf8f1fc,#f6eee1fa)!important;box-shadow:0 24px 48px #78624714!important}.hero-panel-decor{position:absolute;inset:0;pointer-events:none}.hero-panel-decor:before{content:"";position:absolute;top:-52px;right:-36px;width:260px;height:260px;border-radius:40px;background:linear-gradient(135deg,#e1be7d42,#fff0);clip-path:polygon(22% 0%,100% 0%,100% 78%,58% 100%,0% 100%,0% 28%)}.hero-panel-decor:after{content:"";position:absolute;left:40px;right:40px;bottom:24px;height:1px;background:linear-gradient(90deg,#a87c334d,#a87c330d)}.hero-panel-index{position:absolute;top:18px;right:26px;font-size:72px;line-height:1;font-weight:700;letter-spacing:-.06em;color:#a87c3329;pointer-events:none}.hero-panel-enterprise .eyebrow{position:relative;z-index:1;margin-bottom:14px;color:#8b5e1a;letter-spacing:.14em}.hero-panel-enterprise h1,.hero-title-enterprise{position:relative;z-index:1;max-width:10ch;font-family:var(--enterprise-display-font);font-size:clamp(42px,7vw,68px);font-weight:600;line-height:.98;letter-spacing:-.04em;color:#2f261f}.hero-panel-enterprise .hero-copy,.hero-copy-enterprise{position:relative;z-index:1;max-width:40ch;margin-top:18px;font-family:var(--enterprise-body-font);color:#6b5b4d;font-size:17px;font-weight:400;line-height:1.95;letter-spacing:.01em}.controls-panel-enterprise{border-color:#d4c6aab8!important;background:#fffbf5e6!important;box-shadow:0 18px 40px #7862470f!important}.controls-panel-enterprise .control-label{font-family:var(--enterprise-ui-font);font-size:12px;font-weight:700;letter-spacing:.12em;color:#7c6653}.controls-panel-enterprise .preview-toolbar{padding:12px;border:1px solid rgba(212,198,170,.68);border-radius:20px;background:#fcf7f0eb}.controls-panel-enterprise .capture-button{border-color:#a87c336b;background:#f6ecd8fa;color:#7c4a03}.controls-panel-enterprise .capture-error-text{color:#9a3412}.controls-panel-enterprise .preview-toggle-chip,.controls-panel-enterprise .subject-chip{background:#fffbf5fa;border-color:#c9bea5b3;color:#5f4d3f}.controls-panel-enterprise .preview-toggle-chip.is-active,.controls-panel-enterprise .subject-chip.is-active{background:#f6ecd8fa;border-color:#a87c336b;color:#7c4a03}.controls-panel-enterprise .control-input{background:#fffbf5fa;border-color:#c9bea5b8;color:#4b3f35}.control-group{margin:0;border:0;padding:0;min-width:0}.control-label{display:block;margin-bottom:8px;font-size:13px;font-weight:700;letter-spacing:.04em;color:#334155}.preview-toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start;min-width:0}.capture-action-group{display:grid;gap:8px;min-width:0}.app-shell .capture-button{width:100%;min-height:42px;padding:10px 14px;border:1px solid var(--app-shell-chip-active-border);border-radius:14px;background:var(--app-shell-chip-active-bg);color:var(--app-shell-chip-active-text);box-shadow:var(--app-shell-chip-shadow);font-weight:700}.app-shell .capture-button:disabled{cursor:progress;opacity:.78}.capture-error-text{margin:0;color:#b91c1c;font-size:13px;line-height:1.5}.app-shell .control-input{width:100%;border:1px solid var(--app-shell-control-border);border-radius:12px;background:var(--app-shell-control-bg);color:var(--app-shell-control-text);padding:10px 12px;box-shadow:inset 0 1px 2px #0f172a0a}.control-input:focus{outline:2px solid rgba(37,99,235,.18);outline-offset:1px;border-color:#2563eb7a}.subject-options{display:flex;gap:12px;flex-wrap:wrap}.app-shell .subject-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--app-shell-chip-border);border-radius:999px;padding:10px 14px;background:var(--app-shell-chip-bg);color:var(--app-shell-chip-text);box-shadow:var(--app-shell-chip-shadow)}.app-shell .subject-chip.is-active{border-color:var(--app-shell-chip-active-border);background:var(--app-shell-chip-active-bg);color:var(--app-shell-chip-active-text)}.preview-toggle-group{display:grid;gap:6px;min-width:0}.preview-toggle-options{display:flex;flex-wrap:wrap;gap:8px}.app-shell .preview-toggle-chip{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 12px;border:1px solid var(--app-shell-chip-border);border-radius:999px;background:var(--app-shell-chip-bg);color:var(--app-shell-chip-text);box-shadow:var(--app-shell-chip-shadow)}.app-shell .preview-toggle-chip.is-active{border-color:var(--app-shell-chip-active-border);background:var(--app-shell-chip-active-bg);color:var(--app-shell-chip-active-text)}.preview-panel{min-height:280px;padding:0;background:transparent;border:0;box-shadow:none}.app-shell .panel{padding:var(--app-shell-panel-padding);border-radius:var(--app-shell-panel-radius);background:var(--app-shell-panel-bg);border-color:var(--app-shell-panel-border);box-shadow:var(--app-shell-panel-shadow)}.status-panel{min-height:220px;background:#fffffff0}.preview-meta{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:16px;padding:10px 12px;border:1px solid var(--app-shell-meta-pill-border);border-radius:18px;background:linear-gradient(180deg,#ffffffb8,#ffffff80);box-shadow:inset 0 1px #ffffff73;color:var(--app-shell-meta-text);font-size:14px}.preview-meta-enterprise{gap:12px;padding:14px 16px;border-color:#d4c6aab8;border-radius:22px;background:linear-gradient(180deg,#fffbf5f5,#faf3e7eb);box-shadow:0 12px 24px #7862470f}.preview-meta-chalkboard{border-color:#a9e5ca2e;background:linear-gradient(180deg,#0d221be6,#091914f0);box-shadow:inset 0 1px #ecfcf214,0 12px 24px #0108072e}.preview-meta span{display:inline-flex;align-items:center;min-height:34px;padding:6px 12px;border-radius:999px;border:1px solid var(--app-shell-meta-pill-border);background:var(--app-shell-meta-pill-bg);box-shadow:var(--app-shell-meta-pill-shadow)}.preview-meta .preview-meta-memory-path{font-weight:700;color:#7c3aed;background:#f5f3fff5;border-color:#c4b5fd8f}.preview-meta-enterprise span{min-height:36px;padding:7px 13px;font-family:var(--enterprise-ui-font);font-size:13px;border-color:#c9bea5ad;background:#fffbf5f5;color:#5f4d3f;letter-spacing:.01em}.preview-meta-enterprise span:nth-child(1),.preview-meta-enterprise span:nth-child(2){font-weight:700;color:#3f342b}.preview-meta-enterprise .preview-meta-memory-path{color:#7c4a03;background:#f6ecd8fa;border-color:#a87c334d}.preview-meta-chalkboard span{color:#dceee3;border-color:#aae5ca2e;background:#0c201ae0}.preview-meta-chalkboard .preview-meta-memory-path{color:#fff0b3;background:#2f4835e6;border-color:#f4d77552}.study-card{padding:24px;display:grid;gap:20px;background:linear-gradient(180deg,#fffffff5,#f8fafcfa)}.math-card--default{color:#1f2937}.math-card--ms-careers{color:#374151;border-color:#bfdbfe7a;background:radial-gradient(circle at top right,rgba(147,197,253,.22),transparent 36%),linear-gradient(180deg,#fffbebfa,#fcf8e4)}.math-card--ms-careers .meta-pill{border-color:#bfdbfed1;background:#ffffffe0;color:#374151}.math-card--ms-careers .meta-pill-accent{border-color:#60a5fa6b;background:#eff6fff5;color:#1d4ed8}.math-card--ms-careers .math-card-theme-kicker{color:#2563eb;letter-spacing:.12em}.math-card--ms-careers .title-block h2{color:#1f2937}.math-card--ms-careers .math-card-theme-subtitle{color:#6b7280}.math-card--ms-careers .math-card-theme-section{border-color:#e2e8f0f2;background:linear-gradient(180deg,#fffffff7,#fffbf5f0);box-shadow:0 10px 24px #94a3b81f}.math-card--ms-careers .math-card-theme-section h3{color:#1f2937}.math-card--ms-careers .section-card-blue{border-color:#60a5fa47}.math-card--ms-careers .section-card-gold{border-color:#fbbf2447}.math-card--ms-careers .section-card-purple{border-color:#a78bfa3d}.math-card--ms-careers .section-card-green{border-color:#4ade8038}.math-card--ms-careers .section-card-rose{border-color:#fb71853d}.math-card--ms-careers .technique-text{color:#374151}.math-card--ms-careers .answer-text{color:#0f766e}.math-card--ms-careers .reminder-text{color:#9a3412}.math-card--ms-careers .keyword-list-blue .keyword-chip,.math-card--ms-careers .keyword-list-neutral .keyword-chip{background:#eff6ffeb;border-color:#93c5fd9e;color:#1e40af}.math-card--ms-careers .technique-svg{border-color:#bfdbfec7;background:#f8fafce0}.math-card--preview-theme-light{color:#1f2937;background:radial-gradient(circle at top right,rgba(251,191,36,.1),transparent 30%),linear-gradient(180deg,#fffffff7,#f8fafcfa)}.math-card--preview-theme-light .section-card{background:linear-gradient(180deg,#fffffff7,#f8fafcfa)}.math-card--preview-theme-light .section-card-gold{border-color:#d9770638;background:linear-gradient(180deg,#fffbeb,#fff7edf5);box-shadow:0 12px 28px #f59e0b14}.math-card--preview-theme-light .section-card-memory-lead{border-color:#3b82f62e;background:linear-gradient(180deg,#f8fafcfa,#f1f5f9f0);box-shadow:0 10px 22px #3b82f60f}.math-card--preview-theme-light .section-card-memory-anchor{box-shadow:0 16px 32px #f59e0b1f}.math-card--preview-theme-light .section-card-memory-answer{border-color:#10b9813d;background:linear-gradient(180deg,#ecfdf5fa,#f0fdfaf5);box-shadow:0 16px 30px #10b9811a}.math-card--preview-theme-light .section-card-gold h3,.math-card--preview-theme-light .section-card-gold .technique-text{color:#92400e}.math-card--preview-theme-light .section-card-gold .technique-svg{border-color:#f59e0b3d;background:#ffffffe6}.math-card--preview-theme-dark{color:#e2e8f0;border-color:#94a3b847;background:radial-gradient(circle at top right,rgba(59,130,246,.14),transparent 34%),linear-gradient(180deg,#0f172afa,#0f172aeb)}.math-card--preview-theme-dark h2,.math-card--preview-theme-dark h3,.math-card--preview-theme-dark .card-kicker,.math-card--preview-theme-dark .math-card-theme-kicker{color:#f8fafc}.math-card--preview-theme-dark .card-subtitle,.math-card--preview-theme-dark .lead-text,.math-card--preview-theme-dark .technique-text,.math-card--preview-theme-dark .ordered-points,.math-card--preview-theme-dark .bullet-points,.math-card--preview-theme-dark .reminder-text,.math-card--preview-theme-dark .answer-text{color:#cbd5e1}.math-card--preview-theme-dark .meta-pill{border-color:#94a3b842;background:#0f172ab3;color:#e2e8f0}.math-card--preview-theme-dark .meta-pill-accent{border-color:#60a5fa66;background:#1e40af47;color:#dbeafe}.math-card--preview-theme-dark .section-card{border-color:#94a3b838;background:linear-gradient(180deg,#1e293bf5,#0f172ae6);box-shadow:0 12px 28px #02061747}.math-card--preview-theme-dark .technique-svg{border-color:#60a5fa4d;background:#0f172a94}.math-card--preview-theme-chalkboard{color:#edf6ef;border-color:#a7e4c92e;background:radial-gradient(circle at top right,rgba(93,201,166,.14),transparent 34%),linear-gradient(180deg,#10251efa,#091914f5)}.math-card--preview-theme-chalkboard h2,.math-card--preview-theme-chalkboard h3,.math-card--preview-theme-chalkboard .card-kicker,.math-card--preview-theme-chalkboard .math-card-theme-kicker{color:#f5f8ef}.math-card--preview-theme-chalkboard .card-subtitle,.math-card--preview-theme-chalkboard .lead-text,.math-card--preview-theme-chalkboard .technique-text,.math-card--preview-theme-chalkboard .ordered-points,.math-card--preview-theme-chalkboard .bullet-points,.math-card--preview-theme-chalkboard .reminder-text,.math-card--preview-theme-chalkboard .answer-text{color:#d7eadf}.math-card--preview-theme-chalkboard .meta-pill{border-color:#ade4cb2e;background:#0a1e18db;color:#e4f2ea}.math-card--preview-theme-chalkboard .meta-pill-accent{border-color:#f4d77557;background:#463c1775;color:#fff0b3}.math-card--preview-theme-chalkboard .section-card{border-color:#a9e5ca29;background:linear-gradient(180deg,#122a21f0,#0c1e18eb);box-shadow:0 10px 24px #01080738}.math-card--preview-theme-chalkboard .section-card-blue{border-color:#80d6ff47}.math-card--preview-theme-chalkboard .section-card-gold{border-color:#f4d77547}.math-card--preview-theme-chalkboard .section-card-purple{border-color:#d6b5ff42}.math-card--preview-theme-chalkboard .section-card-green{border-color:#84efb83d}.math-card--preview-theme-chalkboard .section-card-rose{border-color:#ffaebc3d}.math-card--preview-theme-chalkboard .section-card-memory-lead:before{background:#1c4942db;border-color:#80d6ff3d;color:#9fe7ff}.math-card--preview-theme-chalkboard .section-card-memory-anchor:before{background:#4d461ed6;border-color:#f4d7753d;color:#ffe79b}.math-card--preview-theme-chalkboard .section-card-memory-answer:before{background:#214830e0;border-color:#84efb838;color:#baf7d1}.math-card--preview-theme-chalkboard .technique-svg{border-color:#f4d77538;background:#0c1e18c2}.math-card--preview-theme-chalkboard .keyword-list-blue .keyword-chip,.math-card--preview-theme-chalkboard .keyword-list-neutral .keyword-chip{background:#1b423de6;border-color:#80d6ff52;color:#a6eaff}.math-card--preview-theme-enterprise{color:#2f261f;border-color:#bfb5a07a;padding:32px;background:radial-gradient(circle at top right,rgba(215,180,115,.18),transparent 32%),linear-gradient(180deg,#fbf7effc,#f6eee1fa)}.math-card--preview-theme-enterprise .meta-pill{border-color:#c9bea5b8;background:#fffbf5fa;color:#4b3f35}.math-card--preview-theme-enterprise .meta-pill-accent{border-color:#a1620738;background:#fff3ddfa;color:#92400e}.math-card--preview-theme-enterprise .section-card{border-color:#d4c6aab3;background:linear-gradient(180deg,#fffbf5fc,#faf3e7fa);box-shadow:0 14px 28px #78624714}.math-card--preview-theme-enterprise .study-card-header{gap:24px;padding-bottom:8px}.math-card--preview-theme-enterprise .card-kicker{font-family:var(--enterprise-ui-font);font-size:12px;font-weight:700;letter-spacing:.14em;color:#8b5e1a}.math-card--preview-theme-enterprise .title-block h2{max-width:12ch;font-family:var(--enterprise-display-font);font-size:clamp(34px,5.8vw,52px);font-weight:600;line-height:1.04;letter-spacing:-.03em}.math-card--preview-theme-enterprise .card-subtitle{font-family:var(--enterprise-body-font);font-size:16px;line-height:1.85;letter-spacing:.01em;color:#6b5b4d}.math-card--preview-theme-enterprise .section-stack{gap:22px}.math-card--preview-theme-enterprise .section-card-memory-lead{border-color:#6c8aa53d;background:linear-gradient(180deg,#f8f8f6fa,#f1efe9f5);box-shadow:0 12px 24px #7c8d9b14}.math-card--preview-theme-enterprise .card-kicker,.math-card--preview-theme-enterprise .title-block h2,.math-card--preview-theme-enterprise .section-card h3{color:#2f261f}.math-card--preview-theme-enterprise .card-subtitle,.math-card--preview-theme-enterprise .lead-text,.math-card--preview-theme-enterprise .ordered-points,.math-card--preview-theme-enterprise .bullet-points,.math-card--preview-theme-enterprise .reminder-text,.math-card--preview-theme-enterprise .answer-text,.math-card--preview-theme-enterprise .technique-text{color:#5b4a3d}.math-card--preview-theme-enterprise .section-card-gold{border-color:#b478143d;background:linear-gradient(180deg,#fff8e8,#faefd9f5)}.math-card--preview-theme-enterprise .section-card-memory-anchor{box-shadow:0 18px 34px #a87c331a}.math-card--preview-theme-enterprise .section-card-memory-answer{border-color:#45765d38;background:linear-gradient(180deg,#f0f8f3fa,#e8f2ecf5);box-shadow:0 16px 30px #58786514}.math-card--preview-theme-enterprise .section-card-gold h3,.math-card--preview-theme-enterprise .section-card-gold .technique-text{color:#7c4a03}.math-card--preview-theme-enterprise .technique-svg{border-color:#b4781433;background:#fffcf6eb}.math-card--preview-style-standard{gap:20px}.math-card--preview-style-standard .section-stack{gap:14px}.math-card--preview-style-standard .section-card{border-radius:20px;padding:18px}.math-card--preview-style-compact{gap:16px}.math-card--preview-style-compact .study-card-header{gap:12px}.math-card--preview-style-compact .section-stack{gap:10px}.math-card--preview-style-compact .section-card{border-radius:16px;padding:14px}.math-card--preview-style-compact .title-block{gap:4px}.math-card--preview-style-compact .title-block h2{font-size:clamp(24px,4.4vw,34px)}.math-card--preview-style-editorial{gap:24px}.math-card--preview-style-editorial .study-card-header,.math-card--preview-style-editorial .section-stack{gap:18px}.math-card--preview-style-editorial .section-card{border-radius:24px;padding:22px}.math-card--preview-style-editorial .title-block{gap:10px}.math-card--preview-style-editorial .title-block h2{font-size:clamp(32px,5.4vw,44px)}.math-card--preview-style-editorial .card-kicker,.math-card--preview-style-editorial .math-card-theme-kicker{letter-spacing:.1em}.history-card--preview-theme-light{color:#1f2937;background:linear-gradient(180deg,#fffffff7,#f8fafcfa)}.history-card--preview-theme-light .section-card{background:linear-gradient(180deg,#fffffff7,#f8fafcfa)}.history-card--preview-theme-dark{color:#e2e8f0;border-color:#94a3b83d;background:radial-gradient(circle at top left,rgba(56,189,248,.12),transparent 32%),linear-gradient(180deg,#0f172afa,#0f172aeb)}.history-card--preview-theme-dark h2,.history-card--preview-theme-dark h3,.history-card--preview-theme-dark .card-kicker{color:#f8fafc}.history-card--preview-theme-dark .card-subtitle,.history-card--preview-theme-dark .core-theme,.history-card--preview-theme-dark .branch-item,.history-card--preview-theme-dark .bullet-points{color:#cbd5e1}.history-card--preview-theme-dark .meta-pill{border-color:#94a3b83d;background:#0f172ab8;color:#e2e8f0}.history-card--preview-theme-dark .meta-pill-accent{border-color:#7dd3fc57;background:#082f4999;color:#bae6fd}.history-card--preview-theme-dark .section-card{border-color:#94a3b838;background:linear-gradient(180deg,#1e293bf5,#0f172ae6);box-shadow:0 12px 28px #02061747}.history-card--preview-theme-dark .branch-item{border-color:#94a3b838;background:#0f172a8f}.history-card--preview-theme-chalkboard{color:#edf6ef;border-color:#a9e5ca2e;background:radial-gradient(circle at top left,rgba(106,210,179,.14),transparent 32%),linear-gradient(180deg,#10251efa,#091914f5)}.history-card--preview-theme-chalkboard h2,.history-card--preview-theme-chalkboard h3,.history-card--preview-theme-chalkboard .card-kicker,.history-card--preview-theme-chalkboard .core-theme{color:#f5f8ef}.history-card--preview-theme-chalkboard .card-subtitle,.history-card--preview-theme-chalkboard .branch-item,.history-card--preview-theme-chalkboard .bullet-points{color:#d8eadf}.history-card--preview-theme-chalkboard .meta-pill{border-color:#ade4cb2e;background:#0a1e18db;color:#e4f2ea}.history-card--preview-theme-chalkboard .meta-pill-accent{border-color:#f4d77557;background:#463c1775;color:#fff0b3}.history-card--preview-theme-chalkboard .section-card{border-color:#a9e5ca29;background:linear-gradient(180deg,#122a21f0,#0c1e18eb);box-shadow:0 10px 24px #01080738}.history-card--preview-theme-chalkboard .branch-item{border-color:#a9e5ca29;background:#0e231ce0}.history-card--preview-theme-chalkboard .section-card-blue{border-color:#80d6ff47}.history-card--preview-theme-chalkboard .section-card-gold{border-color:#f4d77547}.history-card--preview-theme-chalkboard .section-card-purple{border-color:#d6b5ff42}.history-card--preview-theme-chalkboard .section-card-green{border-color:#84efb83d}.history-card--preview-theme-chalkboard .section-card-rose{border-color:#ffaebc3d}.history-card--preview-theme-chalkboard .keyword-list-gold .keyword-chip{background:#4d461ed6;border-color:#f4d77547;color:#ffe79b}.history-card--preview-theme-chalkboard .keyword-list-purple .keyword-chip{background:#382652d6;border-color:#d6b5ff47;color:#ebd4ff}.history-card--preview-theme-enterprise{color:#2f261f;border-color:#bfb5a075;padding:32px;background:radial-gradient(circle at top left,rgba(215,180,115,.16),transparent 30%),linear-gradient(180deg,#fbf7effc,#f6eee1fa)}.history-card--preview-theme-enterprise .meta-pill{border-color:#c9bea5b8;background:#fffbf5fa;color:#4b3f35}.history-card--preview-theme-enterprise .meta-pill-accent{border-color:#a1620738;background:#fff3ddfa;color:#92400e}.history-card--preview-theme-enterprise .card-kicker,.history-card--preview-theme-enterprise .title-block h2,.history-card--preview-theme-enterprise .section-card h3,.history-card--preview-theme-enterprise .core-theme{color:#2f261f}.history-card--preview-theme-enterprise .card-subtitle,.history-card--preview-theme-enterprise .branch-item,.history-card--preview-theme-enterprise .bullet-points{color:#5b4a3d}.history-card--preview-theme-enterprise .section-card{border-color:#d4c6aab3;background:linear-gradient(180deg,#fffbf5fc,#faf3e7fa);box-shadow:0 14px 28px #78624712}.history-card--preview-theme-enterprise .branch-item{border-color:#d4c6aaad;background:#fffbf5fa}.history-card--preview-theme-enterprise .study-card-header{gap:24px;padding-bottom:8px}.history-card--preview-theme-enterprise .card-kicker{font-family:var(--enterprise-ui-font);font-size:12px;font-weight:700;letter-spacing:.14em;color:#8b5e1a}.history-card--preview-theme-enterprise .title-block h2{max-width:12ch;font-family:var(--enterprise-display-font);font-size:clamp(34px,5.8vw,52px);font-weight:600;line-height:1.04;letter-spacing:-.03em}.history-card--preview-theme-enterprise .card-subtitle{font-family:var(--enterprise-body-font);font-size:16px;line-height:1.85;letter-spacing:.01em;color:#6b5b4d}.history-card--preview-theme-enterprise .section-stack{gap:22px}.history-card--preview-style-standard .section-stack{gap:14px}.history-card--preview-style-standard .section-card{border-radius:20px;padding:18px}.history-card--preview-style-compact .study-card-header{gap:12px}.history-card--preview-style-compact .section-stack{gap:10px}.history-card--preview-style-compact .section-card{border-radius:16px;padding:14px}.history-card--preview-style-compact .title-block{gap:4px}.history-card--preview-style-compact .title-block h2{font-size:clamp(24px,4.4vw,34px)}.history-card--preview-style-compact .branch-grid{gap:10px}.history-card--preview-style-compact .branch-item{padding:12px}.history-card--preview-style-editorial .study-card-header,.history-card--preview-style-editorial .section-stack{gap:18px}.history-card--preview-style-editorial .section-card{border-radius:24px;padding:22px}.history-card--preview-style-editorial .title-block{gap:10px}.history-card--preview-style-editorial .title-block h2{font-size:clamp(32px,5.4vw,44px)}.history-card--preview-style-editorial .branch-grid{gap:16px}.history-card--preview-style-editorial .branch-item{border-radius:20px;padding:18px}.study-card-header{display:grid;gap:16px}.meta-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.meta-date{margin-left:auto;color:#94a3b8;font-size:12px;line-height:1.4;font-weight:500}.meta-pill{display:inline-flex;align-items:center;min-height:36px;padding:8px 14px;border-radius:999px;border:1px solid rgba(148,163,184,.22);background:#f8fafcfa;color:#334155;font-size:14px;font-weight:600}.meta-pill-accent{border-color:#2563eb42;background:#eff6fffa;color:#1d4ed8}.title-block{display:grid;gap:6px}.card-kicker{margin:0;color:#2563eb;font-size:13px;font-weight:700;letter-spacing:.06em}.title-block h2{font-size:clamp(28px,5vw,40px);line-height:1.15}.card-subtitle{margin-top:0;color:#64748b}.section-stack{display:grid;gap:14px}.section-card{padding:18px;background:linear-gradient(180deg,#fffffff5,#f8fafcfa)}.section-card h3{font-size:16px;margin-bottom:10px}.section-card-body>:first-child{margin-top:0}.section-card-blue{border-color:#3b82f62e}.section-card-gold{border-color:#f59e0b2e}.section-card-purple{border-color:#8b5cf62e}.section-card-green{border-color:#22c55e2e}.section-card-rose{border-color:#f43f5e2e}.section-card-memory-lead{position:relative;overflow:hidden}.section-card-memory-lead:before{content:"先读题";position:absolute;top:14px;right:16px;padding:4px 10px;border-radius:999px;background:#eff6ffe0;border:1px solid rgba(59,130,246,.16);color:#1d4ed8;font-size:11px;font-weight:700;letter-spacing:.06em}.section-card-memory-anchor{position:relative;overflow:hidden}.section-card-memory-anchor:before{content:"技巧锚点";position:absolute;top:14px;right:16px;padding:4px 10px;border-radius:999px;background:#ffffffd1;border:1px solid rgba(245,158,11,.2);color:#b45309;font-size:11px;font-weight:800;letter-spacing:.08em}.section-card-memory-answer{position:relative;overflow:hidden}.section-card-memory-answer:before{content:"速记答案";position:absolute;top:14px;right:16px;padding:4px 10px;border-radius:999px;background:#ecfdf5eb;border:1px solid rgba(16,185,129,.18);color:#047857;font-size:11px;font-weight:800;letter-spacing:.08em}.section-card-memory-answer .answer-text{font-size:20px;font-weight:800}.lead-text,.answer-text,.reminder-text,.core-theme,.technique-text{font-size:18px;line-height:1.7}.technique-block{display:grid;gap:12px;width:100%;min-width:0}.technique-text{margin:0;color:#1e293b;font-weight:600}.technique-svg{width:100%;min-width:0;overflow:hidden;padding:14px;border-radius:18px;border:1px solid rgba(217,119,6,.18);background:linear-gradient(180deg,#fffbebfa,#fff7edf0)}.technique-svg svg{display:block;width:100%;height:auto;max-width:100%}.technique-svg text{font-size:clamp(12px,2.6vw,16px)}.answer-text{color:#0f766e;font-weight:600}.reminder-text{color:#7c2d12}.core-theme{color:#1e3a8a;font-weight:600}.ordered-points,.bullet-points{padding-left:20px}.ordered-points li+li,.bullet-points li+li{margin-top:10px}.branch-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.branch-item{margin:0;min-height:100%;padding:14px;border-radius:16px;border:1px solid rgba(148,163,184,.2);background:#f8fafceb}.keyword-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}.keyword-chip{display:inline-flex;align-items:center;min-height:38px;padding:8px 14px;border-radius:999px;font-weight:700;letter-spacing:.01em}.keyword-list-neutral .keyword-chip,.keyword-list-blue .keyword-chip{background:#eff6fff5;border:1px solid rgba(147,197,253,.5);color:#1e3a8a}.keyword-list-gold .keyword-chip{background:#fffbebfa;border:1px solid rgba(252,211,77,.48);color:#92400e}.keyword-list-purple .keyword-chip{background:#f5f3fffa;border:1px solid rgba(196,181,253,.52);color:#6b21a8}@media(max-width:900px){.controls-panel,.preview-toolbar{grid-template-columns:1fr}}@media(max-width:640px){.app-shell{width:min(100vw - 24px,960px);padding-top:20px;--app-shell-panel-padding: 16px}.panel,.status-panel,.study-card,.section-card{padding:16px;border-radius:16px}.app-shell .panel{border-radius:var(--app-shell-panel-radius);padding:var(--app-shell-panel-padding)}.study-card{gap:16px}.preview-meta{padding:8px 10px}.lead-text,.answer-text,.reminder-text,.core-theme,.technique-text{font-size:16px}.technique-svg{padding:10px}}.review-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden;color:#172033;background:radial-gradient(circle at top left,rgba(14,165,233,.08),transparent 34%),radial-gradient(circle at top right,rgba(59,130,246,.06),transparent 32%),linear-gradient(180deg,#f8fbff,#eef4fb);font-family:PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}.review-toolbar{flex:0 0 auto;position:sticky;top:0;z-index:10;display:grid;gap:8px;padding:calc(8px + env(safe-area-inset-top)) 12px 8px;border-bottom:1px solid rgba(148,163,184,.28);background:#fafcffeb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 10px 24px #0f172a0d}.review-title-block{display:flex;align-items:center;justify-content:space-between;gap:10px}.review-title-row{min-width:0;display:grid;gap:2px}.review-eyebrow{margin:0;color:#2563eb;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.review-title-main{min-width:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.review-title-block h1{margin:0;color:#0f172a;font-size:17px;font-weight:700;line-height:1.18}.review-inline-status{flex:0 0 auto;color:#1d4ed8;font-size:13px;font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}.review-sumup-link{flex:0 0 auto;min-height:26px;padding:0 9px;border:1px solid rgba(22,163,74,.22);border-radius:999px;color:#047857;background:#f0fdf4f5;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.review-sumup-link.is-active{color:#fff;border-color:#16a34aa6;background:#16a34a}.review-sumup-link:focus-visible{outline:3px solid rgba(22,163,74,.24);outline-offset:2px}.review-controls-toggle{flex:0 0 auto;min-height:34px;padding:0 12px;border:1px solid rgba(37,99,235,.34);border-radius:10px;color:#1d4ed8;background:#eff6fff5;font-size:13px;font-weight:800;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.review-controls-toggle:hover,.review-controls-toggle:focus-visible{border-color:#2563eb94;background:#dbeafefa;box-shadow:0 8px 18px #2563eb1f;outline:none}.review-toolbar-controls,.review-toolbar-actions{display:grid;gap:8px}.review-day-jump{min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 12px;border:1px solid rgba(148,163,184,.24);border-radius:12px;background:#fffffff5;color:#475569;font-size:13px;font-weight:600;cursor:pointer}.review-day-jump select{border:0;color:#0f172a;background:transparent;min-width:92px;text-align:right}.review-exam-reminder{display:grid;gap:8px}.review-exam-tags{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.review-exam-tags::-webkit-scrollbar{display:none}.review-exam-tag{flex:0 0 auto;min-width:104px;min-height:48px;display:grid;align-content:center;gap:2px;padding:7px 10px;border:1px solid rgba(148,163,184,.32);border-radius:12px;color:#334155;background:#fffffff0;font-size:12px;font-weight:700;text-align:left;cursor:pointer;transition:border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease}.review-exam-tag span:first-child{color:#0f172a;font-size:13px}.review-exam-tag span:last-child{color:#64748b;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.review-exam-tag:hover,.review-exam-tag:focus-visible{border-color:#2563eb80;box-shadow:0 8px 18px #2563eb1a;outline:none}.review-exam-tag.is-active{border-color:#2563eb8f;background:linear-gradient(180deg,#eff6fffa,#dbeafef0);color:#1d4ed8}.review-exam-tag.is-active span:first-child{color:#1d4ed8}.review-exam-note{display:grid;gap:3px;padding:10px 12px;border:1px solid rgba(125,151,179,.28);border-left:4px solid #16a34a;border-radius:12px;color:#334155;background:#f8fafcf5;font-size:12px;line-height:1.45}.review-exam-note-time{color:#047857;font-size:11px;font-weight:800;letter-spacing:.04em}.review-exam-note strong{color:#0f172a;font-size:13px;line-height:1.35}.review-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;scroll-snap-type:y mandatory;scroll-padding-top:12px;scroll-padding-bottom:calc(16px + env(safe-area-inset-bottom));scroll-behavior:smooth;scrollbar-width:none}.review-scroll::-webkit-scrollbar{display:none}.review-sumup-panel{min-height:100%;display:grid;place-items:start center;padding:10px 12px 16px;scroll-snap-align:start}.review-sumup-image{width:auto;max-width:100%;height:auto;max-height:100%;display:block;object-fit:contain;border-radius:14px;box-shadow:0 16px 36px #0f172a1a}.review-day-section{min-height:100%;display:grid;grid-template-rows:1fr;padding:10px 0 16px;scroll-snap-align:start;scroll-snap-stop:always}.review-subject-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;min-height:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:none}.review-subject-track::-webkit-scrollbar{display:none}.review-subject-panel{min-width:0;min-height:0;display:grid;grid-template-rows:auto 1fr;gap:10px;padding:0 12px}.review-subject-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.review-subject-pill{min-height:30px;display:inline-flex;align-items:center;padding:0 12px;border-radius:999px;color:#fff;background:#1d4ed8;font-size:13px;font-weight:700}.review-subject-day{color:#64748b;font-size:13px}.review-subject-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0}.review-image-refresh{min-height:30px;padding:0 10px;border:1px solid rgba(37,99,235,.18);border-radius:999px;color:#1d4ed8;background:#eff6ffeb;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.review-image-refresh:focus-visible{outline:3px solid rgba(37,99,235,.25);outline-offset:2px}.review-image-stage{position:relative;min-height:0;display:grid;place-items:start center;overflow:hidden;padding:8px;border:1px solid rgba(148,163,184,.2);border-radius:14px;background:linear-gradient(180deg,#e9f0faf2,#f2f7fceb)}.review-card-image{width:auto;max-width:100%;height:auto;max-height:100%;display:block;object-fit:contain}.review-loading-state{position:absolute;top:12px;left:50%;z-index:1;transform:translate(-50%);width:min(210px,calc(100% - 32px));display:grid;gap:6px;padding:6px 10px;border:1px solid rgba(37,99,235,.14);border-radius:12px;color:#1d4ed8;background:#ffffffeb;font-size:12px;font-weight:700;box-shadow:0 8px 20px #0f172a14;pointer-events:none}.review-loading-track{position:relative;height:4px;overflow:hidden;border-radius:999px;background:#bfdbfed9}.review-loading-bar{position:absolute;inset:0 auto 0 0;width:45%;border-radius:inherit;background:linear-gradient(90deg,#2563eb00,#2563ebeb,#2563eb00);animation:review-loading-sweep 1.1s ease-in-out infinite}@keyframes review-loading-sweep{0%{transform:translate(-110%)}to{transform:translate(245%)}}@media(prefers-reduced-motion:reduce){.review-loading-bar{animation:none;transform:translate(60%)}}.review-missing-state,.review-empty-state{min-height:240px;display:grid;place-items:center;padding:24px;color:#475569;text-align:center}.review-empty-state h1{margin:0 0 8px;color:#0f172a;font-size:22px}.review-empty-state p,.review-missing-state p{margin:0}@media(min-width:720px){.review-shell{width:min(520px,100vw);margin:0 auto;border-right:1px solid rgba(148,163,184,.2);border-left:1px solid rgba(148,163,184,.2)}}
