/* Current signature controls share the editor palette; CV paper colours are untouched. */
html:root body.v40-builder .signature-editor{--r34-surface:#fff;--r34-raised:#f4f6fc;--r34-text:#19233a;--r34-muted:#52637d;--r34-line:#d6deed;--r34-active:#eef2ff;--r34-accent:#304bdc;background:var(--r34-surface)!important;border:1px solid var(--r34-line)!important;color:var(--r34-text)!important;border-radius:18px!important;padding:16px!important;gap:14px!important}
html:root.v30-dark body.v40-builder .signature-editor{--r34-surface:#17243c;--r34-raised:#202e48;--r34-text:#eff3fc;--r34-muted:#bec9dd;--r34-line:#43516a;--r34-active:#293861;--r34-accent:#bac7ff}
html:root body.v40-builder .signature-editor :is(.signature-preview,.v4134-signature-tools){background:var(--r34-raised)!important;border-color:var(--r34-line)!important;border-radius:14px!important;box-shadow:none!important}
html:root body.v40-builder .signature-editor :is(b,.v4134-signature-tools-copy b){color:var(--r34-text)!important;font-size:15px!important;line-height:1.55!important}
html:root body.v40-builder .signature-editor :is(small,.v4134-signature-tools-copy small){color:var(--r34-muted)!important;font-size:13px!important;line-height:1.7!important}
html:root body.v40-builder .signature-editor :is(input,.photo-actions button,.v4134-signature-buttons button){min-height:46px!important;border-radius:12px!important;background:var(--r34-surface)!important;color:var(--r34-text)!important;border:1px solid var(--r34-line)!important;font-size:14px!important}
html:root body.v40-builder .signature-editor .v416-signature-toggle{background:var(--r34-surface)!important;color:var(--r34-text)!important;border:1px solid var(--r34-line)!important;border-radius:14px!important;box-shadow:none!important;min-height:76px!important}
html:root body.v40-builder .signature-editor .v416-signature-toggle.active{background:var(--r34-active)!important;border-color:var(--r34-accent)!important;color:var(--r34-text)!important}
html:root body.v40-builder .signature-editor .v416-signature-toggle>span:first-child{background:var(--r34-raised)!important;color:var(--r34-accent)!important}
html:root body.v40-builder .signature-editor .v416-signature-toggle.active>span:first-child{background:#304bdc!important;color:#fff!important}
html:root body.v40-builder .signature-editor .v416-signature-toggle em{color:var(--r34-muted)!important;background:var(--r34-raised)!important}
html:root body.v40-builder .signature-editor :is(.v4134-signature-state,.v4134-signature-state.active){background:var(--r34-active)!important;color:var(--r34-text)!important;font-size:13px!important;border-radius:12px!important}
html:root body.v40-builder .signature-editor .v4134-signature-buttons button.active{background:#304bdc!important;color:#fff!important;border-color:#304bdc!important;box-shadow:none!important}
html:root body.v40-builder .signature-editor :is(button,input):focus-visible{outline:3px solid #91a3ff!important;outline-offset:3px!important}
.vault-r32 .vault-tabs{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.vault-r32 .vault-tabs button{flex:1 1 140px;min-height:46px}
@media(max-width:480px){html:root body.v40-builder .signature-editor{grid-template-columns:76px minmax(0,1fr)!important;padding:12px!important}.signature-editor .v416-signature-toggle{grid-template-columns:36px minmax(0,1fr)!important}.signature-editor .v416-signature-toggle em{grid-column:2;text-align:start;width:max-content}}
@media(prefers-reduced-motion:reduce){.signature-editor *{transition:none!important;animation:none!important}}
