/* Editor colour controls are scoped; the editor itself retains its familiar styling. */
.theme-colour-fields{display:flex;gap:20px;flex-wrap:wrap}.theme-colour-input{display:flex;align-items:center;gap:10px}.theme-colour-input input[type=color]{padding:3px;width:64px;height:42px;cursor:pointer;border:1px solid #cbd5e1;border-radius:8px}.theme-colour-input output{font:12px monospace;color:#556272}.theme-sample{border:1px solid #e2e5e9;border-radius:15px;overflow:hidden;margin-top:16px;background:#faf7f1}.theme-sample-top,.theme-sample-footer{padding:12px 18px;background:linear-gradient(90deg,var(--lbt-secondary),var(--lbt-primary));color:var(--lbt-on-primary);font-size:12px;font-weight:700}.theme-sample-middle{margin:18px;padding:22px;border-radius:12px;background:linear-gradient(135deg,var(--lbt-primary),var(--lbt-secondary));color:var(--lbt-on-primary);display:flex;align-items:flex-start;flex-direction:column;gap:10px}.theme-sample-middle>small{color:var(--lbt-label);font-size:10px;font-weight:800;letter-spacing:.1em}.theme-sample-middle>b{font:700 26px Georgia,serif}.theme-sample-button{display:inline-block;background:var(--lbt-accent);color:var(--lbt-on-accent);padding:10px 15px;border-radius:9px;font-size:11px;font-weight:800}.theme-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px}.theme-actions .hint{margin:0}
/* Applied only when a draft explicitly uses colours other than the original palette. */
body.lbt-themed{--navy:var(--lbt-primary);--navy2:var(--lbt-secondary);--gold:var(--lbt-accent);--gold-soft:var(--lbt-accent-soft)}
.lbt-themed .topbar,.lbt-themed footer{background:linear-gradient(90deg,var(--lbt-secondary),var(--lbt-primary));color:var(--lbt-on-primary)}
.lbt-themed .footer-in small,.lbt-themed footer a{color:var(--lbt-on-primary)}
.lbt-themed .final-cta,.lbt-themed .affiliate-recruit-card{background:linear-gradient(135deg,var(--lbt-primary),var(--lbt-secondary));color:var(--lbt-on-primary);box-shadow:0 18px 48px #0002}
.lbt-themed .final-cta h2,.lbt-themed .final-cta p,.lbt-themed .affiliate-recruit-card h2,.lbt-themed .affiliate-recruit-card p,.lbt-themed .affiliate-login-link,.lbt-themed .affiliate-points span{color:var(--lbt-on-primary)!important}
.lbt-themed .affiliate-kicker{color:var(--lbt-label)}
.lbt-themed .affiliate-points span{background:transparent;border-color:currentColor}
.lbt-themed .final-cta a,.lbt-themed .affiliate-cta,.lbt-themed .lbu-button.gold{background:var(--lbt-accent);color:var(--lbt-on-accent)!important;border-color:var(--lbt-accent)}
.lbt-themed .btn-main,.lbt-themed .sticky a,.lbt-themed .pay,.lbt-themed .lbu-button.primary{background:linear-gradient(180deg,var(--lbt-secondary),var(--lbt-primary));color:var(--lbt-on-primary);border-color:var(--lbt-primary);box-shadow:0 12px 25px #0002}
.lbt-themed .how-num,.lbt-themed .step span,.lbt-themed .lbu-step>b,.lbt-themed .bundle-chip{background:var(--lbt-primary);color:var(--lbt-on-primary)}
.lbt-themed .price-row strong,.lbt-themed .lbu-store h3,.lbt-themed .lbu-totals strong{color:var(--lbt-heading)}
.lbt-themed .quote-heading,.lbt-themed .pricing-table th{background:linear-gradient(135deg,var(--lbt-primary),var(--lbt-secondary));color:var(--lbt-on-primary)}
.lbt-themed .quote-heading h2,.lbt-themed .quote-heading p{color:var(--lbt-on-primary)}
.lbt-themed .quote-kicker{color:var(--lbt-label)}
.lbt-themed .lbu-check input{accent-color:var(--lbt-primary)}
.lbt-themed .lbu-variant[aria-pressed=true]{border-color:var(--lbt-primary);box-shadow:0 0 0 2px var(--lbt-accent-soft)}
@media(max-width:620px){.theme-sample-middle{margin:12px;padding:18px}.theme-colour-fields{gap:16px}.theme-colour-input input[type=color]{height:44px}}
.lbt-themed .cta-old-price{color:var(--lbt-on-primary)}
.lbt-themed .cta-new-price{color:var(--lbt-label)}
.lbt-themed .cta-save{background:var(--lbt-accent);color:var(--lbt-on-accent);border-color:var(--lbt-accent)}
