.cz-fill-panel{padding:12px;border-bottom:1px solid var(--cz-border,#d5dfce)}
.cz-fill-panel h2,.cz-template-fills h3{font-size:13px;margin:0 0 12px;line-height:1.5}
.cz-fill-panel label{display:flex;gap:8px;align-items:center}
.cz-selection-color{display:grid;grid-template-columns:36px minmax(0,1fr);gap:6px;margin-bottom:8px}
.cz-selection-color input[type=color]{box-sizing:border-box;width:36px;height:32px;min-width:0;padding:3px;cursor:pointer}
#cz-selection-fill button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px}
#cz-selection-fill button img{width:16px;height:16px;flex:none;filter:var(--cz-icon,none)}
#cz-selection-fill[hidden],#cz-selection-file[hidden]{display:none!important}
.cz-fill-controls{display:grid;gap:12px;min-width:0;margin-top:12px}
.cz-fill-controls>label{display:grid;grid-template-columns:1fr;gap:6px;font-size:12px;min-width:0}
.cz-fill-controls input:not([type=range]),.cz-fill-controls select,.cz-template-fills>select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.cz-fill-commands{display:flex;flex-wrap:wrap;gap:6px}
.cz-fill-commands button{flex:1;white-space:nowrap}
.cz-fill-commands input[hidden]{display:none!important}
.cz-fill-range{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:8px;align-items:center}
.cz-fill-range input{min-width:0;width:100%;margin:0;accent-color:var(--cz-accent,var(--hp-theme-primary,#416e2c))}
.cz-fill-range output{font-size:11px;text-align:right}
.cz-template-fills{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid var(--hp-theme-border,#d5dfce)}
.cz-template-fills button,.cz-template-fills select,.cz-template-fills input:not([type=range]){font:inherit;font-size:12px;border:1px solid var(--hp-theme-border,#d5dfce);background:var(--hp-theme-surface,#fff);color:inherit;border-radius:4px;padding:7px 9px;min-height:32px}
.cz-template-fills button{cursor:pointer}.cz-template-fills button:disabled{opacity:.5;cursor:default}
.cz-template-fills button:hover:not(:disabled){border-color:currentColor}
.cz-fill-error{font-size:12px;line-height:1.6;margin:10px 0}
html[data-hp-theme=night] .cz-template-fills button,html[data-hp-theme=night] .cz-template-fills select,html[data-hp-theme=night] .cz-template-fills input:not([type=range]){background:#222923;border-color:#414b3f;color:#e1e6de}
