/* Background Remover — settings panel: sections, rows, sliders, swatches, model picker, export block. */
.props { grid-area: props; display: flex; flex-direction: column; min-height: 0; background: var(--panel); border-left: 1px solid var(--line); overflow-y: auto; scrollbar-width: thin; }
.pp-title { display: flex; align-items: center; gap: 8px; padding: 12px 14px 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 2; }
.pp-title h2 { margin: 0; font: 800 14px var(--font-display); flex: 1; }
.pp-title .ic { color: var(--accent-line); }
.pp-sec { padding: 12px 14px 14px; border-bottom: 1px solid var(--line); }
.pp-sec[data-off="1"] > :not(.pp-h) { opacity: .45; pointer-events: none; }
.pp-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.pp-h .pp-h-x { margin-left: auto; text-transform: none; letter-spacing: 0; }
.pp-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 44px; align-items: center; gap: 8px; min-height: 30px; }
.pp-row + .pp-row { margin-top: 4px; }
.pp-row > span:first-child { color: var(--dim); font-size: var(--fs-s); }
.pp-row.wide { grid-template-columns: 92px minmax(0, 1fr); }
.pp-row input[type="range"] { width: 100%; accent-color: var(--accent-line); }
.pp-val { font: 600 11px var(--mono); color: var(--dim); text-align: right; white-space: nowrap; }
.pp-note { margin: 8px 0 0; color: var(--faint); font-size: 11.5px; line-height: 1.45; }
.pp-note b { color: var(--dim); }
.pp-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chk { display: flex; align-items: center; gap: 8px; min-height: 28px; color: var(--fg); font-size: var(--fs-s); cursor: pointer; }
.chk input { accent-color: var(--accent-line); width: 15px; height: 15px; margin: 0; }
.inp { height: 28px; padding: 0 8px; border-radius: var(--radius-s); border: 1px solid var(--line-2); background: var(--input); color: var(--fg); min-width: 0; width: 100%; }
select.inp { padding-right: 4px; }
.color { display: inline-flex; align-items: center; gap: 6px; }
.color input[type="color"] { width: 32px; height: 26px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius-s); background: none; cursor: pointer; }
.swatches { display: flex; flex-wrap: wrap; gap: 5px; }
.sw { width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 2px solid var(--line-2); cursor: pointer; }
.sw.on { border-color: var(--accent-line); box-shadow: 0 0 0 2px var(--panel), 0 0 0 3px var(--accent-line); }
.sw.transparent { background: repeating-conic-gradient(#999 0 25%, #fff 0 50%) 0 0 / 8px 8px; }

/* model picker */
.models { display: grid; gap: 6px; }
.model { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; padding: 8px 10px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--panel-2); text-align: left; }
.model:hover { border-color: var(--faint); }
.model.on { border-color: var(--accent-line); background: var(--sel-bg); }
.model input { grid-row: span 2; accent-color: var(--accent-line); margin: 0; }
.model b { font-size: 12.5px; }
.model .m-size { font: 600 10.5px var(--mono); color: var(--faint); }
.model .m-size.cached { color: var(--ok); }
.model small { grid-column: 2 / -1; color: var(--faint); font-size: 11px; line-height: 1.35; }
.pp-engine { margin-top: 8px; font: 500 10.5px var(--mono); color: var(--faint); }

/* export */
.no-wm { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 10px; border-radius: var(--radius-s); background: var(--accent-soft); color: var(--accent-line); font: 600 11px var(--mono); }
.no-wm .ic { width: 14px; height: 14px; }

/* bulk editing (js/ui/panel-head.js, kit.js): the header, the note, and a setting whose values differ ("Mixed") */
.pp-title .pp-menu { margin-left: auto; }
.pp-title.bulk h2 { color: var(--accent-line); }
.pp-bulk { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-bottom: 1px solid var(--line); background: var(--accent-soft); color: var(--fg); font-size: 12px; line-height: 1.4; }
.pp-bulk[hidden] { display: none; }
.pp-bulk span { flex: 1; }
.btn.sm { min-height: 26px; padding: 0 10px; font-size: 12px; }
.pp-row.mixed .pp-val { color: var(--faint); font-style: italic; }
.pp-row.mixed input[type="range"] { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px; background: var(--line-2); }
.pp-row.mixed input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--faint); background: var(--panel); }
.pp-row.mixed input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--faint); background: var(--panel); }
.pp-mixed { display: none; color: var(--faint); font: italic 600 11px var(--mono); }
.pp-row.mixed .pp-mixed { display: inline; }
.pp-row.mixed input[type="color"] { opacity: .45; }
.seg.mixed { box-shadow: inset 0 0 0 1px var(--faint); }
.pp-mixed-note[hidden] { display: none; }
