/* Native radio state also reflects drafts restored without change events. */
.builder-theme { --preview-bg:#f5f5f5; --preview-curve:#e5e5e5; --preview-ink:#262626; --preview-button:#525252; border:0; padding:0; margin:0; min-width:0; }
.builder-theme legend { font-size:14px; font-weight:600; color:#3f3f46; padding:0; }
.builder-theme-help,.builder-theme-note { font-size:12px; line-height:1.6; color:#71717a; margin:6px 0 14px; }
.builder-theme-note { margin:8px 0 0; }
.builder-theme-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
.builder-theme-option { position:relative; display:flex; align-items:center; gap:8px; min-height:48px; padding:10px; border:1px solid #e4e4e7; border-radius:10px; cursor:pointer; background:#fff; font-size:12px; line-height:1.4; color:#3f3f46; }
.builder-theme-option input { width:14px; height:14px; flex-shrink:0; margin:0; accent-color:#27272a; }
.builder-theme-option small { display:block; font-size:10px; color:#71717a; }
.builder-theme-option:has(input:checked) { border-color:#52525b; box-shadow:0 0 0 1px #52525b; }
.builder-theme-option:has(input:focus-visible) { outline:3px solid #a1a1aa; outline-offset:3px; }
.builder-theme-dot { width:16px; height:16px; flex-shrink:0; border-radius:50%; background:#525252; }
.builder-theme-option[data-preset="sage-green"] .builder-theme-dot { background:#53664b; }
.builder-theme-option[data-preset="slate-blue"] .builder-theme-dot { background:#4c6075; }
.builder-theme-option[data-preset="sand-beige"] .builder-theme-dot { background:#6d5b44; }
.builder-theme:has(input[value="sage-green"]:checked) { --preview-bg:#eef1e9; --preview-curve:#dde3d5; --preview-ink:#2d3c27; --preview-button:#53664b; }
.builder-theme:has(input[value="slate-blue"]:checked) { --preview-bg:#edf1f5; --preview-curve:#dce4ec; --preview-ink:#29394b; --preview-button:#4c6075; }
.builder-theme:has(input[value="sand-beige"]:checked) { --preview-bg:#f4efe6; --preview-curve:#e8dfd0; --preview-ink:#403325; --preview-button:#6d5b44; }
.builder-theme-preview { position:relative; isolation:isolate; overflow:hidden; display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:16px; padding:24px; background:var(--preview-bg); color:var(--preview-ink); border-radius:12px; }
.builder-theme-preview::after { content:""; position:absolute; z-index:-1; width:170px; height:170px; right:-35px; top:-110px; border-radius:50%; background:var(--preview-curve); }
.builder-theme-eyebrow { font-size:10px; letter-spacing:.04em; }
.builder-theme-preview p { margin:5px 0; font-size:19px; line-height:1.4; font-weight:500; }
.builder-theme-caption { font-size:12px; }
.builder-theme-preview-button { flex-shrink:0; padding:11px 14px; border-radius:5px; font-size:12px; color:white; background:var(--preview-button); }
.builder-theme-preview-button span { margin-left:8px; }
@media(max-width:640px) {
 .builder-theme-options { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .builder-theme-preview { padding:20px; flex-direction:column; align-items:flex-start; }
 .builder-theme-preview p { font-size:18px; }
}
