/* 快账工具原样式，选择器限定在工具内容。 */
:where(.study-tools-embed) .recognition-editor{margin-top:16px;min-width:0}:where(.study-tools-embed) .recognition-editor label{display:block;font-weight:600;margin-bottom:8px}:where(.study-tools-embed) .recognition-editor textarea{box-sizing:border-box;width:100%;min-height:260px;resize:vertical;padding:12px;border:1px solid #d9e1ea;border-radius:8px;font:14px/1.7 "PingFang SC","Microsoft YaHei",sans-serif;background:#fff;color:#24354a}:where(.study-tools-embed) .recognition-editor textarea:focus{outline:2px solid #93c5fd;outline-offset:1px}:where(.study-tools-embed) .recognition-table-wrap{max-width:100%;overflow:auto;max-height:460px;border:1px solid #d9e1ea;border-radius:8px}:where(.study-tools-embed) .recognition-table{border-collapse:collapse;width:100%;font-size:13px}:where(.study-tools-embed) .recognition-table th{background:#f5f7fa;color:#64748b;font-weight:500}:where(.study-tools-embed) .recognition-table th, :where(.study-tools-embed) .recognition-table td{border:1px solid #e2e8f0;min-width:84px;padding:0}:where(.study-tools-embed) .recognition-table th{padding:5px 8px;min-width:28px}:where(.study-tools-embed) .recognition-table input{box-sizing:border-box;border:0!important;box-shadow:none!important;border-radius:0!important;min-width:90px;width:100%;padding:8px!important;font-size:13px!important;background:#fff!important}:where(.study-tools-embed) .recognition-row-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}:where(.study-tools-embed) .recognition-pages{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}:where(.study-tools-embed) .recognition-page-btn[aria-pressed=true]{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}:where(.study-tools-embed) .recognition-preview{overflow:auto;padding:14px 8px;margin-top:12px;min-height:60px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}:where(.study-tools-embed) .recognition-preview .katex-display{margin:0}:where(.study-tools-embed) .recognition-empty-note{color:#a16207;font-size:13px;line-height:1.7}:where(.study-tools-embed) .recognition-tool-view .file-outputs, :where(.study-tools-embed).recognition-tool-view .file-outputs{min-width:0}:where(.study-tools-embed) .recognition-tool-view .file-output-actions, :where(.study-tools-embed).recognition-tool-view .file-output-actions{flex-wrap:wrap}:where(.study-tools-embed) .recognition-page-source{display:block;margin:8px 0;font-size:12px;color:#64748b}
@media(min-width:1050px){:where(.study-tools-embed) .recognition-tool-view .file-workspace, :where(.study-tools-embed).recognition-tool-view .file-workspace{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}}
@media(max-width:640px){:where(.study-tools-embed) .recognition-editor textarea{min-height:220px}:where(.study-tools-embed) .recognition-table input{min-width:76px}:where(.study-tools-embed) .recognition-preview{padding:12px 4px}}
