/* Colour depth and cost panel in the decorative editor (colour-cost.js). Built for the narrow settings column. */
.nl-colour-cost{display:grid;gap:10px;margin-top:14px;min-width:0}
.nl-colour-cost h3{margin:0}
.nl-colour-cost .cc-fields{display:grid;gap:4px;min-width:0}
.nl-colour-cost .cc-fields label{margin:6px 0 0}
.nl-colour-cost .cc-fields label:first-child{margin-top:0}
.nl-colour-cost .cc-fields select{width:100%;min-width:0;max-width:100%;margin:0;text-overflow:ellipsis}
.nl-colour-cost .cc-fields input[type=color]{width:72px;height:32px;padding:2px;margin:0}
.nl-colour-cost .cc-guard{display:flex;gap:8px;align-items:flex-start;margin:0;padding:8px 10px;border-radius:8px;border:1px solid color-mix(in srgb,#e8a33a 55%,transparent);background:color-mix(in srgb,#e8a33a 12%,transparent);font-size:12.5px;line-height:1.45}
.nl-colour-cost .cc-swatch{flex:none;width:16px;height:16px;border-radius:4px;border:1px solid color-mix(in srgb,currentColor 35%,transparent);margin-top:1px}
.nl-colour-cost .cc-summary{margin:0;display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center;font-size:13px;line-height:1.45}
.nl-colour-cost .cc-chip{font-size:12px;font-weight:600;padding:2px 9px;border-radius:999px;border:1px solid currentColor;white-space:nowrap}
.nl-colour-cost .cc-none{color:#2f9e72}
.nl-colour-cost .cc-some{color:#c8891a}
.nl-colour-cost .cc-many{color:#d4534a}
.nl-colour-cost .cc-rows{display:grid;gap:6px}
.nl-colour-cost .cc-row{display:grid;gap:6px;padding:8px 10px;border-radius:8px;border:1px solid color-mix(in srgb,currentColor 16%,transparent)}
.nl-colour-cost .cc-current{border-color:color-mix(in srgb,#2f7bff 70%,transparent);background:color-mix(in srgb,#2f7bff 10%,transparent)}
.nl-colour-cost .cc-row-head{display:flex;gap:8px;align-items:center;justify-content:space-between;font-size:13px}
.nl-colour-cost .cc-row-head strong{font-weight:600;min-width:0}
.nl-colour-cost .cc-figs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;font-variant-numeric:tabular-nums}
.nl-colour-cost .cc-fig{display:flex;flex-direction:column;justify-content:space-between;gap:1px;min-width:0}
.nl-colour-cost .cc-fig small{font-size:10.5px;line-height:1.2;opacity:.72;hyphens:auto}
.nl-colour-cost .cc-fig b{font-size:13px;font-weight:600;white-space:nowrap}
.nl-colour-cost .cc-now{font-size:11.5px;font-weight:600;opacity:.85;white-space:nowrap}
.nl-colour-cost .cc-use{font-size:12px;padding:3px 10px;margin:0;min-height:0;white-space:nowrap;flex:none}
.nl-colour-cost .cc-locked{opacity:.75}
.nl-colour-cost .cc-foot{font-size:11.5px}
