/* Registration uses the same saved light/dark preference as the wallet. */
.wp-register-v7 .register-topbar{grid-template-columns:44px 1fr 44px 74px}
.wp-register-v7 .registration-theme-toggle{
 display:grid;place-items:center;width:44px;height:44px;padding:0;
 border:1px solid var(--line);border-radius:50%;background:transparent;
 color:var(--text);font-size:22px;cursor:pointer;
}
.wp-register-v7 .registration-theme-toggle:focus-visible{outline:3px solid #ff7b32;outline-offset:3px}
html[data-theme="light"] body.wp-register-v7{
 --text:#111315;--muted:#625a54;--line:#d9d0c8;--danger:#9b2c20;
 color-scheme:light;color:var(--text);background:#f7f5f2;
}
html[data-theme="light"] .wp-register-v7 .register-shell{
 background:#f7f5f2;box-shadow:none;
}
html[data-theme="light"] .wp-register-v7 .register-shell::after{display:none}
html[data-theme="light"] .wp-register-v7 :is(.register-topbar,.choice-view,.form-stage,.form-card,.success-card){
 background:#fff;color:#111315;border-color:#e2d8cf;box-shadow:none;
}
html[data-theme="light"] .wp-register-v7 :is(.intro,.optional,label small,.security-note,.existing-copy,.accountant-link){color:#625a54}
html[data-theme="light"] .wp-register-v7 label{color:#302923}
html[data-theme="light"] .wp-register-v7 :is(input,select){
 color-scheme:light;color:#111315;background-color:#fff;border-color:#cbbfb5;box-shadow:none;
}
html[data-theme="light"] .wp-register-v7 input::placeholder{color:#746a61}
html[data-theme="light"] .wp-register-v7 :is(input,select):focus{border-color:#a43d00;box-shadow:0 0 0 3px #ff7b3233}
html[data-theme="light"] .wp-register-v7 :is(.eyebrow,.signin-link,.existing-copy a){color:#a43d00}
html[data-theme="light"] .wp-register-v7 :is(.back-link,.secondary,.registration-theme-toggle){
 background:#fff;color:#111315;border-color:#d9d0c8;
}
html[data-theme="light"] .wp-register-v7 .error{background:#fff0ee;color:#9b2c20;border-color:#e9b5ac}
.wp-register-v7 .primary{color:#19100a}
/* Artwork cards keep their dark scrim and white copy in both themes. */
html[data-theme="light"] .wp-register-v7 .role-card{--muted:#d6cbc3;background:#171315;color:#fff}
@media(min-width:900px){html[data-theme="light"] .wp-register-v7 .register-shell::before{border-color:#e2d8cf}}


/* Registration owns its complete palette; generic marketing styles must not leak in. */
.wp-register-v7 :is(h1,h2,h3){color:var(--text)}
.wp-register-v7 :is(input,select){font-size:16px;min-height:50px}
.wp-register-v7 input::placeholder{color:#b5b0aa;opacity:1}
.wp-register-v7 :is(label small,.optional,.security-note,.existing-copy,.accountant-link){color:var(--muted)}
.wp-register-v7 label{font-size:12px}
.wp-register-v7 label small,.wp-register-v7 .security-note{font-size:11px;line-height:1.5}
.wp-register-v7 .signin-link{display:flex;align-items:center;justify-content:center;min-height:44px}
.wp-register-v7 .back-link{min-width:44px;min-height:44px}
.wp-register-v7 :is(a,button,input,select):focus-visible{outline:3px solid var(--orange);outline-offset:3px}
html[data-theme="dark"] body.wp-register-v7{--muted:#b5b0aa;--text:#f7f7f4}
html[data-theme="light"] .wp-register-v7 .role-card strong{color:#fff}

.wp-register-v7 .wp-password-toggle{height:44px;min-width:58px;color:#ff9a42!important}
html[data-theme="light"] .wp-register-v7 .wp-password-toggle{color:#a33d00!important}
.wp-register-v7 .location-grid .optional{display:inline;font-size:11px;margin-left:4px}
