:root{--surface: #ffffff;--surface-subtle: #f9fafb;--surface-hover: #f3f4f6;--line: #e5e7eb;--line-strong: #d1d5db;--text: #111827;--text-strong: #374151;--text-second: #4b5563;--text-muted: #6b7280;--text-faint: #9ca3af;--accent: #1a56db;--accent-surface: #eff6ff;--ok-text: #065f46;--ok-surface: #ecfdf5;--ok-line: #a7f3d0;--warn-text: #92400e;--warn-surface: #fffbeb;--warn-line: #fde68a;--danger-line: #b45309;--error-text: #991b1b;--error-surface: #fef2f2;--error-line: #fecaca;--diff-removed: #fef2f2;--diff-added: #ecfdf5}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--surface: #111827;--surface-subtle: #1a2333;--surface-hover: #243044;--line: #334155;--line-strong: #475569;--text: #e8edf5;--text-strong: #cbd5e1;--text-second: #cbd5e1;--text-muted: #a3b1c6;--text-faint: #8595ab;--accent: #7cb0ff;--accent-surface: #1c2f4a;--ok-text: #7ee2b8;--ok-surface: #10291f;--ok-line: #1f5c45;--warn-text: #f5c26b;--warn-surface: #2e2410;--warn-line: #6b5220;--danger-line: #b1793a;--error-text: #fca5a5;--error-surface: #33191a;--error-line: #7f2c2c;--diff-removed: #33191a;--diff-added: #10291f}}:root[data-theme=dark]{--surface: #111827;--surface-subtle: #1a2333;--surface-hover: #243044;--line: #334155;--line-strong: #475569;--text: #e8edf5;--text-strong: #cbd5e1;--text-second: #cbd5e1;--text-muted: #a3b1c6;--text-faint: #8595ab;--accent: #7cb0ff;--accent-surface: #1c2f4a;--ok-text: #7ee2b8;--ok-surface: #10291f;--ok-line: #1f5c45;--warn-text: #f5c26b;--warn-surface: #2e2410;--warn-line: #6b5220;--danger-line: #b1793a;--error-text: #fca5a5;--error-surface: #33191a;--error-line: #7f2c2c;--diff-removed: #33191a;--diff-added: #10291f}body{margin:0;background:var(--surface);color:var(--text)}input,textarea,select,button{color:var(--text)}input,textarea,select{background:var(--surface)}button{padding:5px 9px;border:1px solid var(--line-strong);background:var(--surface);border-radius:5px;cursor:pointer;font:inherit;font-size:13px}button[disabled]{color:var(--text-faint);cursor:not-allowed}button.danger{border-color:var(--danger-line);color:var(--warn-text);font-weight:500}button.danger:disabled{opacity:.5;cursor:default}.danger-box{border:1px solid var(--error-line);background:var(--error-surface);border-radius:6px;padding:12px 14px;font-size:13px}.danger-box ul{margin:6px 0;padding-left:20px}.danger-box label{display:block;margin-top:10px}.danger-box input{margin-top:4px;max-width:260px}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea,:root[data-theme=dark] button{color-scheme:dark}@media(prefers-color-scheme:dark){:root:not([data-theme=light]) input,:root:not([data-theme=light]) select,:root:not([data-theme=light]) textarea,:root:not([data-theme=light]) button{color-scheme:dark}}
