#lp-root{display:flex;flex-direction:column;gap:18px}#lp-root .lp-grid{margin:0}#lp-root .tool-actions{margin:0;align-items:center}#lp-root .tool-help{margin:0}#lp-root textarea{width:100%;resize:vertical;min-height:100px}#lp-root .lp-check{display:flex;gap:10px;align-items:center;padding:8px 12px}#lp-root .tool-select{appearance:none;min-height:46px}#lp-root progress{width:100%;height:12px}#lp-root .lp-preview{overflow:auto;background:var(--site-surface-muted,#eef1f6);padding:16px;border:1px solid var(--site-border,#dce3ef);border-radius:10px}#lp-root canvas{display:block;max-width:100%;height:auto;margin:auto;background:white;box-shadow:0 2px 10px #0002}#lp-root .lp-preview:has(canvas[width="0"]){display:none}.lp-text-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--site-surface-muted,#eef1f6);padding:16px;border-radius:8px;min-height:60px}.lp-study{min-height:180px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.5rem;background:var(--site-surface,#fff);color:var(--site-text,#172033);border:1px solid var(--site-border,#dce3ef);border-radius:12px;padding:24px;width:100%;text-align:center}.lp-chapters{display:flex;flex-direction:column;gap:14px;max-height:700px;overflow:auto}.lp-chapter{padding:16px;border:1px solid var(--site-border,#dce3ef);border-radius:10px;background:var(--site-surface,#fff)}.lp-chapter textarea{margin-top:12px}.lp-chapter-head{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.lp-chapter-head input{flex:1;min-width:130px}.lp-sort-handle{touch-action:none;cursor:grab;min-width:46px;min-height:46px}.lp-chapter.is-reorder-source{opacity:.35}.lp-chapter.is-reorder-before{border-top:3px solid #2563eb}.lp-chapter.is-reorder-after{border-bottom:3px solid #2563eb}.lp-sort-preview{position:fixed;z-index:9999;max-width:280px;pointer-events:none;padding:12px;background:var(--site-surface,#fff);border:1px solid #2563eb;border-radius:8px;overflow-wrap:anywhere}.lp-chapter-head .tool-secondary-button{min-width:46px}#lp-download[hidden],#lp-root [hidden]{display:none!important}#lp-status:empty{display:none}#lp-root input,#lp-root select,#lp-root textarea{max-width:100%}#lp-root .tool-form-field{min-width:0}@media(max-width:520px){#lp-root .lp-preview{padding:8px}.lp-chapter{padding:10px}}
#lp-root #lp-cover{background:var(--site-surface);color:var(--site-text)}#lp-root #lp-cover::file-selector-button{background:var(--site-surface-muted);color:var(--site-text);border-color:var(--site-border)}html[data-theme="dark"] #lp-root #lp-cover{color-scheme:dark}
