.local-swatches { display:flex; flex-wrap:wrap; gap:7px; padding:10px 0 4px; }
.local-swatches button,.local-custom-color { position:relative; width:26px; height:26px; min-width:26px; padding:0; border:1px solid #b9bcc3; border-radius:50%; background:var(--swatch); cursor:pointer; }
.local-swatches button[hidden] { display:none; }
.local-swatches button[aria-pressed=true] { outline:2px solid #2865b4; outline-offset:2px; }
.local-swatches .transparent { background:linear-gradient(135deg,white 45%,#db3434 46%,#db3434 54%,white 55%); }
.local-custom-color { display:grid!important; place-items:center; margin:0!important; background:white; font-size:20px; color:#434752; overflow:hidden; }
.local-custom-color input[type=color] { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; margin:0; padding:0; }
.local-colors-more { display:block; width:100%; padding:7px; border:0!important; background:transparent; text-align:right; font-size:12px; color:#2865b4; }
.form-style-section { border-top:1px solid #e1e2e6; padding-top:8px; }
.form-style-section summary { font-weight:600; cursor:pointer; }
.form-style-section select { width:100%; padding:6px; margin-top:5px; font:inherit; border:1px solid #bfc1ca; border-radius:4px; }
.form-style-section input[type=range] { padding:0!important; accent-color:#2865b4; }
.form-style-flags { display:flex; gap:8px; flex-wrap:wrap; }
.ed-style-panel { width:100%; min-width:0; box-sizing:border-box; }
.ed-style-panel h2 { margin:0 0 12px; font-size:20px; }
.ed-style-panel label { display:block; margin:8px 0; font-size:13px; }
.ed-style-panel select,.ed-style-panel input[type=number] { display:block; box-sizing:border-box; width:100%; padding:7px 9px; margin:6px 0 10px; border:1px solid #bfc1ca; border-radius:4px; color:inherit; background:white; font:inherit; }
.ed-style-panel input[type=range] { width:calc(100% - 48px); accent-color:#2865b4; vertical-align:middle; }
.ed-style-panel output { display:inline-block; width:40px; text-align:right; font-size:13px; }
.ed-style-panel > button { display:flex; gap:5px; align-items:center; margin-top:14px; padding:8px 12px; border:1px solid #d0d1d8; border-radius:4px; background:white; font:inherit; }
.ed-style-panel summary { font-weight:600; cursor:pointer; padding:5px 0; }
