.config-panel { display: none; flex-direction: column; gap: 0; overflow-y: auto; flex: 1; } .config-panel.visible { display: flex; } .config-section { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); } .config-section-title { font-size: 14px; font-weight: 600; color: var(--fg); margin-bottom: 0.625rem; } .color-field { display: flex; align-items: center; justify-content: space-between; padding: 0.3rem 0; } .color-field-label { font-size: 0.8rem; color: var(--fg); flex: 1; } .color-edit-btn { display: flex; align-items: center; gap: 0.4rem; height: 28px; padding: 0 0.5rem 0 0.35rem; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; color: var(--fg2); font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; cursor: pointer; transition: border-color 0.15s, background 0.15s; min-width: 100px; justify-content: flex-end; } .color-edit-btn:hover { border-color: rgba(255,255,255,0.2); } :root.light .color-edit-btn:hover { border-color: rgba(0,0,0,0.2); } .color-swatch { width: 18px; height: 18px; border-radius: 4px; border: 1px solid rgba(0,0,0,0.15); flex-shrink: 0; background: transparent; } .padding-field { padding: 0.3rem 0; } .padding-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; } .padding-row label { font-size: 0.8rem; color: var(--fg); } .padding-num { width: 56px; height: 28px; padding: 0 0.4rem; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; color: var(--fg); font-size: 0.8rem; font-family: 'JetBrains Mono', monospace; text-align: right; outline: none; } .padding-num:focus { border-color: var(--blue); } .padding-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--bg3); outline: none; cursor: pointer; } .padding-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--blue); cursor: pointer; border: 2px solid var(--bg2); box-shadow: 0 1px 4px rgba(0,0,0,0.3); } .padding-slider::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); cursor: pointer; border: 2px solid var(--bg2); }