.options,.toolbar{display:flex;align-items:center}.toolbar{flex-wrap:wrap;gap:8px;padding:12px;background:#fff;border:1px solid #ddd;border-radius:8px 8px 0 0}.toolbar button{padding:8px 15px;background:#fff;border:1px solid #ccc;border-radius:5px;font-size:14px;cursor:pointer}.toolbar button:hover{background:#f1f1f1}.btn-primary{background:#0d6efd!important;color:#fff;border-color:#0d6efd!important}.editor-panel:first-child,.status{border-right:1px solid #ddd}.editor-header,.status{border-bottom:1px solid #ddd}.btn-primary:hover{background:#0b5ed7!important}.btn-success{color:#198754}.btn-danger{color:#dc3545}.options label,.status{color:#555;font-size:13px}.toolbar-divider{width:1px;height:28px;background:#ddd;margin:0 5px}.options{gap:15px;margin-left:auto}.editor-header,.legend{align-items:center;display:flex}.options label{cursor:pointer}.options input{vertical-align:middle;margin-right:4px}.status{padding:9px 14px;background:#fff;border-left:1px solid #ddd}.added-count{color:#198754;font-weight:600}.removed-count{color:#dc3545;font-weight:600}.modified-count{color:#996c00;font-weight:600}.editors{display:grid;grid-template-columns:1fr 1fr;background:#fff;border:1px solid #ddd;border-top:0;min-height:600px}.editor-panel{min-width:0}.editor-header{height:43px;justify-content:space-between;padding:0 14px;background:#f8f9fa;font-size:14px;font-weight:600}.original-title{color:#555}.modified-title{color:#0d6efd}.editor-info{color:#777;font-size:11px;font-weight:400}.editor-wrapper{height:600px}.CodeMirror{height:100%;border:0;font-family:Consolas,Monaco,"Courier New",monospace;font-size:14px;line-height:1.5}.word-added,.word-removed{border-radius:2px;padding:1px 2px}.diff-gutter{width:22px;background:#f7f7f7}.diff-marker{width:100%;height:100%}.diff-marker-added{background:#2da44e}.diff-marker-removed{background:#cf222e}.diff-marker-modified{background:#d4a72c}.CodeMirror-linebackground.diff-added{background:#e6ffed!important}.CodeMirror-linebackground.diff-removed{background:#ffeef0!important}.CodeMirror-linebackground.diff-modified{background:#fff8c5!important}.word-added{background:#acf2bd;color:#155724}.word-removed{background:#fdb8c0;color:#721c24;text-decoration:line-through}.legend{justify-content:center;flex-wrap:wrap;gap:18px;padding:10px;background:#fff;border:1px solid #ddd;border-top:0;color:#666;font-size:12px}.legend-item{display:flex;align-items:center;gap:5px}.legend-color{width:16px;height:16px;border-radius:3px;border:1px solid rgba(0,0,0,.1)}.legend-added{background:#e6ffed}.legend-removed{background:#ffeef0}.legend-modified{background:#fff8c5}@media (max-width:800px){.editors{grid-template-columns:1fr}.editor-panel:first-child{border-right:0;border-bottom:1px solid #ddd}.options{width:100%;margin-left:0}.page-title{font-size:24px}}