.accounts-page { min-height: 100vh; padding: clamp(1rem, 4vw, 3rem); }
.account-panel, .admin-panel { margin: 0 auto; background: white; border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.25rem, 4vw, 2.5rem); }
.account-panel { max-width: 36rem; }
.admin-panel { max-width: 80rem; }
.account-brand { color: var(--accent-ink); font-weight: 750; font-size: 1.15rem; text-decoration: none; }
.account-nav { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.accounts-page h1 { margin: 1.25rem 0 .5rem; }
.accounts-page p { line-height: 1.55; }
#account-form label { display: block; margin: 1rem 0 .4rem; font-weight: 650; }
#account-form input[type="text"] { width: 100%; border: 1px solid #b7cbe9; border-radius: 7px; padding: .75rem; font: inherit; }
.account-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin: 1rem 0; }
.accounts-page .main-button, .accounts-page .toolbar-button { min-height: 44px; display: inline-flex; align-items: center; padding: .55rem .8rem; text-decoration: none; white-space: nowrap; }
.accounts-page [hidden] { display: none !important; }
.table-scroll { overflow: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { text-align: left; border-bottom: 1px solid #e1eaf8; padding: .6rem .7rem; white-space: nowrap; }
th { background: #eaf3ff; }

.account-panel, .admin-panel { box-shadow: 0 12px 35px #18396312; }
.accounts-page h1 { letter-spacing: -.025em; }
.accounts-page p { color: var(--muted); }
#account-form .check-row, .check-row { display: flex; gap: .6rem; align-items: center; margin: .85rem 0; }
.check-row input { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); flex: none; }
.cookie-settings { margin-top: 1.5rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.cookie-settings h2 { font-size: 1.15rem; margin-bottom: .3rem; }

.sign-in-page {
  display: grid;
  align-items: center;
  background: #f3f5f9;
  min-height: 100svh;
}
.sign-in-page .account-panel {
  width: min(100%, 440px);
  border-color: #e0e4ec;
  border-radius: 17px;
  padding: clamp(1.25rem, 5vw, 2.35rem);
  box-shadow: 0 14px 32px #25334716, 0 1px 4px #2533470b;
}
.login-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #eef2ff;
  color: #204ad9;
}
.sign-in-page h1 { color: #131c2d; font-size: 1.75rem; line-height: 1.15; margin: 1.25rem 0 .55rem; }
.sign-in-page #account-summary { margin: 0 0 1.35rem; color: #596579; }
#account-form label:not(.check-row), .login-form > label:not(.check-row) { font-weight: 600; color: #303d53; margin: .95rem 0 .28rem; }
#account-form input:not([type="checkbox"]), .login-form > input {
  width: 100%;
  min-height: 45px;
  border: 1px solid #cbd3e0;
  border-radius: 10px;
  color: #152136;
  background: #fff;
  padding: .55rem .8rem;
  font: inherit;
  font-size: 16px;
}
.login-form input::placeholder { color: #76839a; }
.password-entry { position: relative; }
#account-form .password-entry input { padding-right: 4.3rem; }
#password-visibility {
  position: absolute;
  inset: 0 .4rem 0 auto;
  border: 0;
  background: transparent;
  color: #36455d;
  padding-inline: .45rem;
  font-weight: 600;
}
#account-form .check-row { margin: .9rem 0 1rem; font-weight: 500; color: #303d53; }
.sign-in-page .login-submit { width: 100%; display: block; min-height: 43px; background: #204bd4; border-color: #204bd4; border-radius: 10px; }
.auth-footer { text-align: center; margin-top: 1.35rem; padding-top: .9rem; border-top: 1px solid #e0e4ec; }
.auth-footer p { margin: .15rem 0 .4rem; }
.auth-footer .text-button { color: #204bd4; font-weight: 600; text-decoration: none; }
.auth-footer .text-button:hover { text-decoration: underline; }
#passkey-switch { font-size: .82rem; }
.sign-in-page .password-help { font-size: .84rem; margin: .3rem 0 0; }
.password-setup { margin-top: 1.5rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.password-setup h2 { font-size: 1.15rem; margin-bottom: .35rem; }
.password-setup p { margin: 0; }
.password-setup .toolbar-button { margin-top: .65rem; }
#account-feedback { margin-top: 1rem; }
