/* Only the public account flows and email confirmation load this stylesheet. */
.access-design .wtm-content{display:flex;align-items:center;justify-content:center;min-height:100dvh;padding:55px 20px;background:var(--bg)}
.access-design.access-embedded .wtm-content{min-height:calc(100dvh - 52px);padding:35px 20px}
.access-wrap{width:100%;max-width:460px;color:var(--text)}
.access-brand{display:flex;align-items:center;justify-content:center;gap:11px;margin:0 0 26px;color:var(--text)}
.access-brand img{filter:invert(1)}
[data-theme=dark] .access-brand img{filter:none}
.access-brand>span{font-size:24px;font-weight:700;letter-spacing:-.7px;line-height:1.2}
.access-brand small{display:block;font-size:10px;font-weight:400;letter-spacing:0;color:var(--text-muted);margin-top:5px}
.access-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:32px;box-shadow:0 3px 20px #28223c06;color:var(--text)}
.access-eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:1.6px;color:var(--accent);font-weight:600;margin:0 0 13px}
.access-card h1{font-size:27px;font-weight:650;letter-spacing:-.8px;margin:0 0 13px;line-height:1.25;overflow-wrap:anywhere}
.access-intro{font-size:13px;line-height:1.85;color:var(--text-muted);margin:0 0 25px;overflow-wrap:anywhere}
.access-intro strong{color:var(--text);font-weight:500}
.access-card label{display:block;font-size:12px;font-weight:500;color:var(--text);margin:18px 0 8px}
.access-card input:not([type=hidden]){width:100%;border:1px solid var(--border-2);background:var(--surface-2);color:var(--text);min-height:44px;border-radius:7px;padding:10px 12px;font:13px var(--font);outline-offset:2px}
.access-card input:focus{outline:2px solid var(--accent)}
.access-card input:disabled{color:var(--text-muted);opacity:1}
.access-card input::placeholder{color:var(--text-muted)}
.access-label-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 8px}
.access-label-row label{margin:0}
.access-label-row a{font-size:11px;color:var(--accent)}
.access-password{position:relative}
.access-password input{padding-right:47px!important}
.access-password>button{position:absolute;right:4px;top:4px;bottom:4px;width:36px;border:0;background:none;color:var(--text-muted);cursor:pointer;border-radius:5px}
.access-primary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:12px 16px;width:100%;background:var(--accent);color:var(--accent-fg);font:500 12px var(--font);border:0;border-radius:7px;cursor:pointer;margin-top:23px;text-decoration:none}
.access-primary:hover{background:var(--accent-h);color:var(--accent-fg)}
.access-field-help{font-size:11px;color:var(--text-muted);margin:7px 0 0}
.access-note{display:flex;align-items:baseline;gap:10px;background:var(--accent-s);border-radius:8px;padding:14px;margin-top:22px;color:var(--accent)}
.access-note p{font-size:11px;line-height:1.8;color:var(--text-muted);margin:0}
.access-note>i{font-size:12px}
.access-return{display:block;text-align:center;font-size:12px;margin-top:22px;color:var(--text-muted)}
.access-return i{margin-right:5px}
.access-footer{text-align:center;font-size:10px;color:var(--text-muted);margin:22px 0 0}
.access-state-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:11px;background:var(--accent-s);color:var(--accent);font-size:20px;margin-bottom:24px}
.access-hint{font-size:12px;line-height:1.8;color:var(--text-muted);padding:15px;background:var(--surface-2);border-radius:8px;margin:0 0 18px}
.access-theme{position:fixed;right:20px;top:18px;width:38px;height:38px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-muted);cursor:pointer;z-index:10}
.access-design[data-theme=dark]{--text-muted:#aaa9a3;--text-xmuted:#8a8984}
.access-design button:focus-visible,.access-design a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:600px){.access-design .wtm-content{padding:66px 19px 30px;align-items:center}.access-card{padding:27px 23px}.access-card h1{font-size:26px}.access-card input:not([type=hidden]){font-size:16px}.access-brand{margin-bottom:23px}.access-label-row{gap:8px}.access-label-row a{font-size:10px}.access-theme{right:18px;top:15px}}

/* Match service actions and preserve readable white labels in dark mode. */
.access-design[data-theme="dark"] .access-primary{background:#7c3aed}
.access-design[data-theme="dark"] .access-primary:hover,
.access-design[data-theme="dark"] .access-primary:focus-visible{background:#6d28d9}
