.message[data-tone="success"] { color: var(--success); border-color: #345546; background: #1d2b26; }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 58px; }
.reveal { position: absolute; inset: 1px 2px auto auto; height: 44px; min-width: 46px; background: transparent; border: 0; border-radius: 4px; color: var(--muted); font-size: 12px; }
.reveal[aria-pressed="true"] { color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--accent); margin-bottom: 12px; }
.eyebrow svg { width: 15px; height: 15px; }
.account-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-block: 1px solid var(--line); margin-top: 20px; padding: 13px 0; font-size: 12px; color: var(--muted); }
.account-row .account-name { color: var(--text); }
.hint, .after-note { color: var(--muted); font-size: 12px; }
.after-note { text-align: center; margin-top: 13px; }
h2 { margin: 0; }
[aria-disabled="true"] { cursor: default; opacity: .55; }
/* 首次改密是登录页内的模态窗口，背景不可操作。 */
.password-dialog {
  width: min(440px, calc(100% - 36px));
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: 28px;
  border: 1px solid #41444f;
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 24px 80px #0008;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.password-dialog::backdrop { background: #090a0dc4; backdrop-filter: blur(3px); }
.password-dialog h2 { font-size: 23px; line-height: 1.4; font-weight: 650; letter-spacing: -.4px; }
body:has(.password-dialog[open]) { overflow: hidden; }
input[aria-invalid="true"] { border-color: #c17e87; }
@media (max-width: 480px) {
  .panel { padding: 24px 21px; }
  .password-dialog { padding: 24px 21px; }
  .password-dialog h2 { font-size: 22px; }
}

