.app{width:100%;max-width:none;margin:0;padding:20px 28px 90px}.app-header h1{font-size:20px;margin:0 0 4px}.subtitle{margin:0 0 16px;color:#666;font-size:13px}.bar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:8px 0;border-bottom:1px solid #eee}.bar-label{font-size:12px;color:#888;margin-right:2px}.btn-group{display:flex;gap:4px;margin-right:12px}.bar button,.section-actions button{padding:6px 12px;font-size:13px;border:1px solid #d5d5d5;background:#fafafa;border-radius:6px;color:#333;cursor:pointer}.bar button:hover,.section-actions button:hover{background:#f0f0f0}.bar button.active{border-color:#2563eb;background:#2563eb;color:#fff;font-weight:600}.bar button.toggle.on{border-color:#16a34a;color:#16a34a;background:#f0fdf4;font-weight:600}.toolbar{gap:6px}.color-pick,.height-slider{display:inline-flex;align-items:center;gap:6px;margin-right:6px}.color-pick input[type=color]{width:32px;height:26px;padding:0;border:1px solid #d5d5d5;border-radius:6px;background:none;cursor:pointer}.height-slider input[type=range]{width:130px}.color-code{font-size:12px;color:#888;font-variant-numeric:tabular-nums}.warning{margin:12px 0 0;padding:8px 12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:6px;font-size:13px;color:#9a3412}.sections{display:flex;flex-direction:column;gap:28px;margin-top:20px}.editor-section{width:100%;max-width:none;border:1px solid #e5e5e5;border-radius:10px;padding:14px 16px 16px;background:#fff}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}.section-title-wrap{display:flex;align-items:baseline;gap:10px}.section-title-wrap h2{font-size:16px;margin:0}.stats{font-size:12px;color:#999;display:flex;gap:5px}.section-actions{display:flex;gap:6px}.section-actions button{padding:4px 12px;font-size:12px}.cm-host{width:100%}.cm-editor{width:100%;height:var(--editor-height, 480px);font-size:var(--editor-font-size, 26px);line-height:1.65;border:1px solid #ddd;border-radius:8px;background:#fff}.cm-editor.cm-focused{outline:none;border-color:#2563eb}.cm-editor .cm-scroller{overflow:auto;font-family:inherit;line-height:1.65}.cm-content{font-family:inherit;white-space:pre-wrap;color:#222;padding:14px 16px}.hl-text .cm-diff-og,.hl-textbg .cm-diff-og{color:var(--diff-og-color)}.hl-text .cm-diff-oc,.hl-textbg .cm-diff-oc{color:var(--diff-oc-color)}.hl-text .cm-diff-gc,.hl-textbg .cm-diff-gc{color:var(--diff-gc-color)}.bold-on .cm-diff,.all-bold .cm-content{font-weight:700}.cm-sync{background-color:color-mix(in srgb,var(--sync-color) 32%,transparent);border-radius:3px;box-shadow:0 0 0 1px color-mix(in srgb,var(--sync-color) 45%,transparent)}.hl-bg .cm-diff-og,.hl-textbg .cm-diff-og{background-color:color-mix(in srgb,var(--diff-og-color) 22%,transparent);border-radius:3px}.hl-bg .cm-diff-oc,.hl-textbg .cm-diff-oc{background-color:color-mix(in srgb,var(--diff-oc-color) 22%,transparent);border-radius:3px}.hl-bg .cm-diff-gc,.hl-textbg .cm-diff-gc{background-color:color-mix(in srgb,var(--diff-gc-color) 22%,transparent);border-radius:3px}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Malgun Gothic,Apple SD Gothic Neo,system-ui,sans-serif;color:#222;background:#fff}*{box-sizing:border-box}body{margin:0;background:#fff}button{font-family:inherit}
