:root{--syntax-base: #2D1B4E;--syntax-comment: #8a7aa8;--syntax-keyword: #E91E8C;--syntax-string: #008f75;--syntax-number: #b8860b;--syntax-function: #c2187a;--syntax-type: #7b5ea7;--syntax-operator: #6b5b8a;--syntax-punctuation: #9a8ab8;--syntax-variable: #2D1B4E;--syntax-builtin: #00C9A7;--syntax-regex: #c9a000;--syntax-tag: #E91E8C;--syntax-attr: #00C9A7;--syntax-selection: rgba(233, 30, 140, .14)}.editor-body .token.comment,.editor-body .token.prolog,.editor-body .token.doctype,.editor-body .token.cdata{color:var(--syntax-comment)}.editor-body .token.punctuation{color:var(--syntax-punctuation)}.editor-body .token.property,.editor-body .token.constant,.editor-body .token.symbol{color:var(--syntax-variable)}.editor-body .token.tag,.editor-body .token.deleted{color:var(--syntax-tag)}.editor-body .token.boolean,.editor-body .token.number{color:var(--syntax-number)}.editor-body .token.selector,.editor-body .token.attr-name,.editor-body .token.string,.editor-body .token.char,.editor-body .token.inserted,.editor-body .token.attr-value{color:var(--syntax-string)}.editor-body .token.builtin{color:var(--syntax-builtin)}.editor-body .token.operator,.editor-body .token.entity,.editor-body .token.url,.editor-body .language-css .token.string,.editor-body .style .token.string{color:var(--syntax-operator)}.editor-body .token.atrule,.editor-body .token.keyword{color:var(--syntax-keyword)}.editor-body .token.function{color:var(--syntax-function)}.editor-body .token.class-name{color:var(--syntax-type)}.editor-body .token.regex,.editor-body .token.important,.editor-body .token.variable{color:var(--syntax-regex)}.editor-body .token.namespace{color:var(--syntax-type);opacity:.85}.editor-body .token.important,.editor-body .token.bold{font-weight:400}.editor-body .token.italic{font-style:italic}.editor-body ::selection,.editor-codemirror ::selection{background:var(--syntax-selection)}body[data-syntax-theme=soft]{--syntax-comment: #a89bc4;--syntax-keyword: #d946a8;--syntax-string: #00a88a;--syntax-number: #d4a017;--syntax-function: #e056a0;--syntax-type: #9370db;--syntax-operator: #8878a8;--syntax-punctuation: #b0a0c8;--syntax-builtin: #2dd4b0;--syntax-regex: #e6b800;--syntax-tag: #d946a8;--syntax-attr: #2dd4b0;--syntax-selection: rgba(0, 201, 167, .16)}.app-page{min-height:100vh;display:flex;flex-direction:column}.app-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:var(--card);border-bottom:2px solid var(--border)}.app-header-left{display:flex;align-items:center;gap:.75rem}.app-header img{width:40px;height:40px}.app-header h1{font-size:1.5rem;color:var(--primary)}.app-main{flex:1;padding:1.5rem;display:flex;flex-direction:column;gap:1rem;max-width:1400px;margin:0 auto;width:100%}.controls{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}.dose-selector{display:flex;gap:.5rem;flex-wrap:wrap}.dose-btn{padding:.6rem 1rem;border:2px solid var(--border);border-radius:999px;background:var(--card);font-family:Fredoka,sans-serif;font-size:.9rem;cursor:pointer;transition:all .15s}.dose-btn:hover{border-color:var(--primary)}.dose-btn.active{background:var(--primary);color:#fff;border-color:var(--primary)}.dose-btn .dose-label{font-weight:700}.dose-btn .dose-desc{display:block;font-size:.7rem;opacity:.85}.lang-select{padding:.5rem .75rem;border:2px solid var(--border);border-radius:8px;font-family:Fredoka,sans-serif;background:var(--card)}.progress-wrap{display:none;align-items:center;gap:1rem}.progress-wrap.visible{display:flex}.progress-bar{flex:1;height:24px;background:var(--border);border-radius:12px;overflow:hidden;position:relative}.progress-fill{height:100%;background:repeating-linear-gradient(90deg,var(--accent) 0px,var(--accent) 8px,#e6c235 8px,#e6c235 16px);border-radius:12px;width:0%;transition:width .3s ease}.progress-label{font-size:.85rem;color:var(--text-muted);white-space:nowrap}.editor-wrap{display:grid;grid-template-columns:1fr 1fr;gap:1rem;flex:1;min-height:400px}.editor-panel{display:flex;flex-direction:column;border:2px solid var(--border);border-radius:12px;overflow:hidden;background:var(--editor-bg)}.editor-panel-header{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.5rem;height:52px;box-sizing:border-box;padding:0 1rem;background:linear-gradient(135deg,#fce4f0,#fff8f0);border-bottom:2px solid var(--border);font-weight:600;font-size:.9rem}.editor-panel-actions{display:flex;gap:.5rem;min-width:11.5rem;justify-content:flex-end;flex-wrap:wrap}.editor-panel-actions .btn{padding:.35rem .75rem;font-size:.8rem}.editor-body{flex:1;display:flex;flex-direction:column;min-height:350px;padding:0;box-sizing:border-box;background:var(--editor-bg);overflow:hidden;--editor-font-size: 14px;--editor-line-height: 22px}.editor-body,.editor-body pre,.editor-body code,.editor-body .token,.editor-codemirror .cm-scroller{font-family:JetBrains Mono,monospace;font-size:var(--editor-font-size);font-weight:400;line-height:var(--editor-line-height);-moz-tab-size:2;tab-size:2;letter-spacing:0;word-spacing:0;font-variant-ligatures:none}.editor-body>.editor-scroll,.editor-codemirror{flex:1;min-height:0}.editor-codemirror{overflow:hidden}.editor-codemirror .cm-editor{height:100%}.editor-scroll{margin:0;padding:1rem;border:0;white-space:pre;overflow:auto;background:var(--editor-bg)}.editor-body code,.editor-body code[class*=language-]{display:block;margin:0!important;padding:0!important;font-size:var(--editor-font-size)!important;line-height:var(--editor-line-height)!important;font-weight:400!important;background:transparent!important;text-shadow:none!important;color:var(--syntax-base)}.editor-body .token,.editor-body .token.bold,.editor-body .token.important{font-size:inherit!important;font-family:inherit!important;line-height:inherit!important;font-weight:400!important;font-style:normal!important;text-shadow:none!important}.editor-body .editor-line{display:block;min-height:var(--editor-line-height)}.editor-body .diff-changed{background:var(--diff-added)}.editor-body .diff-deletion,.editor-body .diff-changed-first{display:flex;align-items:center;gap:.75rem;padding-right:.75rem}.editor-body .diff-deletion{justify-content:flex-end;background:var(--diff-removed)}.editor-body .diff-changed-first .diff-changed-code{flex:1;min-width:0}.diff-reject-btn{margin-left:1rem;padding:0 .4rem;border:1px solid var(--primary);border-radius:4px;background:var(--card);font-family:Fredoka,sans-serif;font-size:.7rem;line-height:1.4;cursor:pointer;color:var(--primary);flex-shrink:0}.diff-reject-btn:hover{background:var(--primary);color:#fff}.drop-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#e91e8c26;border:4px dashed var(--primary);display:none;align-items:center;justify-content:center;font-size:1.5rem;font-weight:700;color:var(--primary);z-index:100;pointer-events:none}.drop-overlay.visible{display:flex}.stats-panel{display:none;gap:1rem;grid-template-columns:repeat(3,minmax(0,1fr))}.stats-panel.visible{display:grid}.stat-card{display:flex;flex-direction:column;gap:.35rem;padding:1rem 1.25rem;background:var(--card);border:2px solid var(--border);border-radius:12px}.stat-card-highlight{border-color:var(--primary);background:#e91e8c0f}.stat-label{font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted)}.stat-value{font-size:1.25rem;font-weight:700;color:var(--primary);line-height:1.2}.stat-value-hero{font-size:2rem}.stat-delta{font-size:.8rem;color:var(--text-muted)}.error-banner{display:none;padding:1rem;background:#fde0e8;border:2px solid var(--primary);border-radius:8px;color:var(--text)}.error-banner.visible{display:block}@media (max-width: 900px){.editor-wrap,.stats-panel.visible{grid-template-columns:1fr}}
