.editor-settings{position:relative}.settings-toggle{padding:.5rem 1rem;border:2px solid #e0e0e0;border-radius:6px;background-color:#fff;color:#2c3e50;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.25rem}.settings-toggle:hover{background-color:#3498db;color:#fff;border-color:#3498db;transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.settings-panel{position:absolute;top:100%;right:0;margin-top:.5rem;background-color:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:280px;z-index:1000}.settings-header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e0e0e0}.settings-header h3{margin:0;font-size:1rem;color:#2c3e50}.close-button{background:none;border:none;font-size:1.2rem;color:#7f8c8d;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.close-button:hover{background-color:#f5f5f5;color:#2c3e50}.settings-content{padding:1rem;display:flex;flex-direction:column;gap:1rem}.setting-group{display:flex;flex-direction:column;gap:.5rem}.setting-group label{font-size:.9rem;font-weight:600;color:#2c3e50}.setting-select{padding:.5rem;border:2px solid #e0e0e0;border-radius:6px;font-size:.9rem;background-color:#fff;cursor:pointer;transition:border-color .2s}.setting-select:hover{border-color:#3498db}.setting-select:focus{outline:none;border-color:#3498db;box-shadow:0 0 0 3px #3498db1a}.setting-slider{width:100%;height:6px;border-radius:3px;background:#e0e0e0;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.setting-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:#3498db;cursor:pointer;transition:all .2s}.setting-slider::-webkit-slider-thumb:hover{background:#2980b9;transform:scale(1.1)}.setting-slider::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#3498db;cursor:pointer;border:none;transition:all .2s}.setting-slider::-moz-range-thumb:hover{background:#2980b9;transform:scale(1.1)}.checkbox-label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:400}.setting-checkbox{width:18px;height:18px;cursor:pointer;accent-color:#3498db}@media(max-width:768px){.settings-panel{right:auto;left:0;min-width:260px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow:hidden}.app-container{height:100vh;background-color:#f5f5f5;display:flex;flex-direction:column}.app-header{background-color:#2c3e50;color:#fff;padding:.75rem 1.5rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 4px #0000001a;flex-shrink:0;gap:1rem}.header-left{display:flex;align-items:center;flex-shrink:0}.header-left h1{font-size:1.25rem;margin:0;font-weight:600}.header-right{display:flex;align-items:center;gap:1rem;flex:1;justify-content:flex-end;flex-wrap:wrap}.toolbar{display:none}.example-selector{display:flex;align-items:center;gap:.5rem}.example-selector label{font-weight:500;color:#ffffffe6;font-size:.9rem}.example-select{padding:.4rem .75rem;border:1px solid rgba(255,255,255,.3);border-radius:4px;font-size:.85rem;background-color:#ffffff1a;color:#fff;cursor:pointer;transition:all .2s;min-width:160px}.example-select:hover{background-color:#ffffff26;border-color:#ffffff80}.example-select:focus{outline:none;border-color:#ffffffb3;background-color:#ffffff26}.example-select option{background-color:#2c3e50;color:#fff}.example-description{display:none}.file-actions{display:flex;gap:.4rem;flex-wrap:wrap}.action-button{padding:.4rem .75rem;border:1px solid rgba(255,255,255,.3);border-radius:4px;background-color:#ffffff1a;color:#fff;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:.25rem}.action-button:hover:not(:disabled){background-color:#fff3;border-color:#ffffff80;transform:translateY(-1px)}.action-button:active:not(:disabled){transform:translateY(0)}.action-button:disabled{opacity:.4;cursor:not-allowed}.main-layout{display:flex;flex:1;overflow:hidden;gap:1rem;padding:1rem}.editors-panel{flex:1;display:flex;flex-direction:column;gap:1rem;min-width:0}.monaco-editor-container{flex:1;display:flex;flex-direction:column;background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden;min-height:0}.monaco-editor-container .editor-header{background-color:#34495e;color:#fff;padding:.75rem 1rem;flex-shrink:0}.monaco-editor-container .editor-header h3{font-size:1rem;font-weight:500;margin:0}.monaco-editor-container .editor-wrapper{flex:1;min-height:0;position:relative}.result-panel{flex:1;display:flex;flex-direction:column;background-color:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden;min-width:0}.result-header{background-color:#34495e;color:#fff;padding:.75rem 1rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;flex-shrink:0}.result-header h2{font-size:1rem;font-weight:500;margin:0}.result-stats{display:flex;gap:.75rem;align-items:center;font-size:.85rem}.stat-label{opacity:.8}.stat-item{padding:.25rem .5rem;border-radius:4px;font-weight:600;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,monospace}.stat-item.added{background-color:#2ecc7133;color:#27ae60}.stat-item.deleted{background-color:#e74c3c33;color:#c0392b}.stat-item.modified{background-color:#f1c40f33;color:#f39c12}.stat-item.unchanged{background-color:#95a5a633;color:#7f8c8d}.result-content{flex:1;padding:1rem;overflow:auto;background-color:#fafafa;font-family:Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;font-size:14px}.placeholder{color:#999;text-align:center;padding:2rem}.error-message{color:#e74c3c;background-color:#fadbd8;padding:1rem;border-radius:4px;border-left:4px solid #e74c3c}.json-diff-container{font-family:Monaco,Menlo,Ubuntu Mono,Consolas,monospace;font-size:14px;line-height:1.6}.json-diff-stats{display:flex;gap:1rem;padding:.5rem 0;margin-bottom:1rem;border-bottom:1px solid #e0e0e0}.json-diff-content{padding:.5rem 0}.diff-line{display:flex;align-items:center;padding:2px 0;min-height:24px}.diff-node{margin:0}.toggle-button{margin-right:4px;font-size:12px;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center}.toggle-button:hover{background-color:#0000000d;border-radius:2px}.toggle-button:focus{outline:2px solid #3498db;outline-offset:2px}.key{font-weight:600;margin-right:4px}.value{font-family:Monaco,Menlo,Ubuntu Mono,Consolas,monospace}.old-value{text-decoration:line-through;opacity:.7}.arrow{margin:0 8px;font-weight:700}.new-value{font-weight:600}.children-container{margin-left:0}@media(max-width:1024px){.main-layout{flex-direction:column}.editors-panel,.result-panel{flex:1;min-height:300px}.app-header{flex-direction:column;align-items:flex-start;padding:.75rem 1rem}.header-left{width:100%}.header-right{width:100%;flex-direction:column;align-items:stretch}.example-selector{width:100%}.example-select{flex:1}.file-actions{justify-content:stretch}.action-button{flex:1;justify-content:center}}@media(max-width:768px){.header-left h1{font-size:1.1rem}.result-header{flex-direction:column;align-items:flex-start}.result-stats{width:100%}.file-actions{flex-direction:column}.action-button{width:100%}.main-layout{padding:.5rem;gap:.5rem}}@media(max-width:480px){.app-header{padding:.5rem .75rem}.header-left h1{font-size:1rem}.header-right{gap:.5rem}.example-selector label{font-size:.85rem}.example-select,.action-button{font-size:.8rem;padding:.35rem .6rem}.result-stats{flex-wrap:wrap;gap:.5rem}}
