/* NutriAile - Theme Editor Panel */
/* Dark mode devre dışı — ileride CSS variables ile yeniden uygulanacak */
/* ── THEME EDITOR ── */
.theme-editor{position:fixed;top:0;right:-360px;width:340px;bottom:0;display:flex;flex-direction:column;background:var(--bg-primary);border-left:1px solid var(--border-mid);box-shadow:-4px 0 24px rgba(0,0,0,.1);z-index:10000;transition:right .25s ease}
.theme-editor.open{right:0}
.te-header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--border-light);background:var(--bg-primary);flex-shrink:0;z-index:1}
.te-header h3{font-size:15px;font-weight:700;letter-spacing:-.3px}
.te-close{width:28px;height:28px;border-radius:50%;border:1px solid var(--border-light);background:var(--bg-secondary);cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center}
.te-close:hover{background:var(--bg-tertiary)}
.te-body{flex:1 1 0;min-height:0;padding:14px 18px 80px 18px;overflow-y:scroll;-webkit-overflow-scrolling:touch;touch-action:pan-y}
.te-group{margin-bottom:18px}
.te-group-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.6px;color:var(--text-tertiary);margin-bottom:10px}
.te-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.te-row label{font-size:12px;font-weight:500;color:var(--text-secondary);flex:1;min-width:0}
.te-row input[type="color"]{width:30px;height:30px;border:2px solid var(--border-light);border-radius:6px;cursor:pointer;padding:1px;background:var(--bg-primary)}
.te-row input[type="text"]{width:72px;font-size:11px;font-family:'Inter',monospace;padding:4px 8px;border:1px solid var(--border-light);border-radius:var(--radius-sm);background:var(--bg-secondary);color:var(--text-primary);text-transform:uppercase}
.te-actions{display:flex;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border-light);flex-shrink:0}
.te-btn{flex:1;padding:8px;border-radius:var(--radius-md);font-size:12px;font-weight:600;cursor:pointer;border:1px solid var(--border-light);background:var(--bg-secondary);color:var(--text-primary);font-family:inherit;transition:all .15s}
.te-btn:hover{background:#e0e0de;color:#1a1a18}
.te-btn-primary{background:#1D9E75;color:white;border-color:#1D9E75}
.te-btn-primary:hover{background:#178a65;color:white}
.te-overlay{position:fixed;inset:0;background:rgba(0,0,0,.2);z-index:9999;display:none}
.te-overlay.open{display:block}
@media(max-width:480px){.theme-editor{width:100%;right:-100%}}
