/* ── Modal ──────────────────────────────────────────────── */ .modal-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; z-index: 100; backdrop-filter: blur(2px); } .modal { background: var(--bg-surface); border: 1px solid var(--border); border-radius: 12px; width: 650px; max-width: 96vw; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); } .modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 0; } .modal-header h2 { font-size: 18px; font-weight: 700; } .modal-close { background: none; border: none; font-size: 22px; color: var(--text-muted); cursor: pointer; line-height: 1; padding: 0; } .modal-close:hover { color: var(--text); } .modal-form { padding: 20px; display: flex; flex-direction: column; gap: 16px; } .form-group { display: flex; flex-direction: column; gap: 6px; flex: 1; } .form-group label { font-size: 13px; font-weight: 500; color: var(--text-muted); } .form-input, .form-textarea { background: var(--bg-surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); font-size: 14px; padding: 10px 12px; outline: none; transition: border-color 0.15s; font-family: inherit; width: 100%; } .form-input[type="range"] { padding: 0; cursor: pointer; } .form-input:focus, .form-textarea:focus { border-color: var(--accent); } .form-textarea { resize: vertical; min-height: 80px; } .modal-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 4px; }