[data-account-open] { display:inline-flex; align-items:center; justify-content:center; flex:none; min-width:44px; min-height:44px; padding:7px; border:1.5px solid var(--line,#191922); border-radius:50%; background:var(--surface,#fffbed); color:var(--ink,#191922); cursor:pointer; }
[data-account-open] svg { display:block; width:20px; height:20px; }
#comma-account-dialog { width:min(440px,calc(100% - 32px)); max-height:min(88dvh,740px); margin:auto; overflow:auto; padding:0; border:2px solid var(--line,#191922); border-radius:9px; background:var(--surface,#fffbed); color:var(--ink,#191922); box-shadow:5px 6px 0 var(--shadow,#191922); }
#comma-account-dialog::backdrop { background:rgb(20 17 29 / 65%); }
.acct-head { display:flex; align-items:center; gap:13px; padding:16px 20px; border-bottom:2px solid var(--line,#191922); }
.acct-head h2 { flex:1; margin:0; font:900 clamp(28px,5vw,38px)/.98 var(--display,Arial,sans-serif); }
.acct-feedback { font-size:13px; font-weight:700; color:inherit; text-underline-offset:3px; }
.acct-close { display:grid; place-items:center; flex:none; min-width:44px; min-height:44px; background:var(--surface,#fffbed); border:1.5px solid var(--line,#191922); border-radius:50%; color:inherit; font:26px/1 system-ui,sans-serif; cursor:pointer; }
.acct-body { display:grid; gap:16px; padding:20px; }
.acct-copy,.acct-name { margin:0; font:16px/1.45 system-ui,sans-serif; overflow-wrap:anywhere; }
.acct-name { font-weight:700; }
.acct-body form { display:grid; gap:16px; }
.acct-field { display:grid; gap:5px; font-weight:700; }
.acct-field input { width:100%; min-width:0; min-height:44px; padding:8px 10px; color:inherit; background:var(--paper,#f7f4e9); border:1.5px solid var(--line,#191922); border-radius:4px; font:16px/1.35 system-ui,sans-serif; }
.acct-field small { font:13px/1.4 system-ui,sans-serif; }
.acct-action,.acct-secondary { min-height:44px; padding:9px 14px; border:2px solid var(--fixed-ink,#191922); border-radius:5px; font:700 15px/1.2 system-ui,sans-serif; cursor:pointer; }
.acct-action { color:var(--fixed-ink,#191922); background:var(--acid,#dbff46); box-shadow:2px 2px var(--fixed-ink,#191922); }
.acct-action.acct-danger { background:var(--pink,#ff83be); }
.acct-secondary { background:var(--surface,#fffbed); color:inherit; border-color:var(--line,#191922); }
.acct-link { background:none; color:inherit; border:0; text-align:left; font:700 14px/1.4 system-ui,sans-serif; text-decoration:underline; text-underline-offset:3px; padding:6px 0; cursor:pointer; }
.acct-links { display:flex; align-items:center; flex-wrap:wrap; gap:4px 18px; }
.acct-code { white-space:normal; overflow-wrap:anywhere; user-select:all; padding:13px; border:1px dashed var(--line,#191922); background:var(--paper,#f7f4e9); color:inherit; font:700 17px/1.5 var(--mono,monospace); }
.acct-message { margin:0; padding:0 20px 17px; font:700 14px/1.4 system-ui,sans-serif; }
.acct-message:empty { display:none; }
.acct-flash { position:fixed; z-index:30; bottom:max(18px,env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); width:max-content; max-width:calc(100% - 32px); color:var(--on-head,#fff8e7); background:var(--head,#191922); border-radius:6px; opacity:0; pointer-events:none; text-align:center; font:700 14px/1.35 system-ui,sans-serif; }
.acct-flash-visible { opacity:1; padding:10px 15px; }
#comma-account-dialog [hidden] { display:none; }
.acct-native-import { min-height:44px; padding:4px 0; border:0; background:none; color:inherit; font:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.acct-feedback, .acct-link { display: inline-flex; align-items: center; min-height: 44px; }
