.account-sheet { box-sizing:border-box; position:fixed; inset:0; width:min(440px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:0; border:1px solid var(--line-strong); border-radius:14px; background:var(--surface); color:var(--text); font:inherit; color-scheme:dark; box-shadow:0 24px 80px #0006; overflow:auto; }
.account-sheet[open] { display:block; }
.account-sheet::backdrop { background:#08090bc2; backdrop-filter:blur(5px); }
.account-sheet * { box-sizing:border-box; }
.account-sheet-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:24px; border-bottom:1px solid #ffffff0c; }
.account-sheet-heading { min-width:0; }
.account-sheet h2 { margin:0; color:var(--text); font-size:22px; font-weight:550; line-height:28px; letter-spacing:-.6px; }
.account-sheet .account-sheet-caption { margin:7px 0 0; color:var(--muted); font-size:13px; font-weight:450; line-height:18px; }
.account-sheet .account-sheet-dismiss { appearance:none; display:grid; place-items:center; flex:0 0 28px; width:28px; height:28px; min-height:0; margin:0 -4px 0 0; padding:0; border:0; border-radius:7px; background:transparent; color:var(--muted); box-shadow:none; font:inherit; font-size:23px; line-height:1; cursor:pointer; }
.account-sheet .account-sheet-dismiss:hover { background:#ffffff09; color:var(--text); }
.account-sheet-form, .account-sheet-content { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; margin:0; padding:22px 24px 24px; }
.account-sheet .account-sheet-field { display:grid; grid-template-columns:minmax(0,1fr); gap:6px; margin:0; padding:0; text-align:left; }
.account-sheet .account-sheet-field > span { display:block; margin:0; padding:0; color:var(--soft); font-size:13px; font-weight:550; line-height:16px; }
.account-sheet .account-sheet-field > input { display:block; width:100%; min-width:0; height:42px; min-height:42px; margin:0; padding:0 13px; border:1px solid var(--line-strong); border-radius:9px; outline:0; background:#ffffff04; color:var(--text); box-shadow:none; font:inherit; font-size:14px; font-weight:450; line-height:normal; letter-spacing:normal; }
.account-sheet .account-sheet-field > input::placeholder { color:#748189; font-size:13px; font-weight:450; }
.account-sheet .account-sheet-field > input:focus { border-color:var(--accent); box-shadow:0 0 0 3px var(--accent)0a; }
.account-sheet .account-sheet-reveal { display:flex; align-items:center; justify-content:flex-start; gap:8px; min-height:18px; margin:-2px 0 0; padding:0; color:var(--muted); font-size:13px; font-weight:450; cursor:pointer; }
.account-sheet .account-sheet-reveal input { appearance:auto; flex:0 0 15px; width:15px; height:15px; min-height:0; margin:0; padding:0; accent-color:var(--accent); box-shadow:none; }
.account-sheet .account-sheet-error { margin:0; padding:0; color:var(--red); font-size:13px; line-height:18px; overflow-wrap:anywhere; }
.account-sheet .account-sheet-error:empty { display:none; }
.account-sheet .account-sheet-expiry { margin:0; color:var(--muted); font-size:13px; line-height:18px; }
.account-sheet-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:10px; margin-top:2px; padding-top:20px; border-top:1px solid #ffffff0c; }
.account-sheet .account-sheet-button { appearance:none; display:inline-flex; align-items:center; justify-content:center; min-height:42px; margin:0; padding:0 17px; border:1px solid transparent; border-radius:9px; background:var(--accent); color:#102b20; box-shadow:none; font:inherit; font-size:13px; font-weight:550; line-height:18px; text-decoration:none; white-space:nowrap; cursor:pointer; transition:background .15s ease; }
.account-sheet .account-sheet-button:hover { background:#95e9c6; }
.account-sheet .account-sheet-button.secondary { border-color:var(--line-strong); background:transparent; color:var(--soft); }
.account-sheet .account-sheet-button.secondary:hover { background:#ffffff05; }
.account-sheet button:disabled { opacity:.5; cursor:wait; }
.account-sheet :focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
@media (max-width:520px) { .account-sheet-head { padding:20px; } .account-sheet-form, .account-sheet-content { padding:20px; } .account-sheet-actions > * { flex:1; } }
