/* Public Firebase account UI: no third-party CSS, no trackers. */
[hidden] { display: none !important; }
.account-layout {
  max-width: 1260px; margin: 0 auto; padding: 80px 5vw 125px;
  display: grid; grid-template-columns: .98fr 1.02fr;
  gap: clamp(36px, 7vw, 108px); align-items: start;
  min-height: 690px;
}
.account-intro { padding-top: 30px; }
.account-intro h1 {
  margin: 30px 0 23px; line-height: 1.06;
  font-size: clamp(56px, 5.1vw, 81px);
}
.account-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.8; color: #586679;
}
.account-facts { margin: 36px 0 28px; display: grid; gap: 22px; }
.account-facts p { display: flex; flex-direction: column; margin: 0; gap: 6px; }
.account-facts strong { font-size: 13px; }
.account-facts span { color: #788393; font-size: 13px; line-height: 1.6; }
.account-small { color: #83909d; font-size: 12px; line-height: 1.7; }
.account-card {
  padding: clamp(22px, 3.2vw, 43px); border: 1px solid #eeebe7;
  background: #fff; border-radius: 18px;
  box-shadow: 0 28px 90px rgba(14,25,40,.10);
}
.account-tabs {
  display: flex; gap: 3px; padding: 4px; margin-bottom: 18px;
  background: #f4f4f3; border-radius: 10px;
}
.account-tabs button {
  appearance: none; border: 0; background: transparent; border-radius: 7px;
  padding: 13px 8px; flex: 1; color: #6c7787;
  font: 700 11px/1.4 inherit; font-size: 11px;
  cursor: pointer; transition: background .16s,color .16s;
}
.account-tabs button[aria-selected="true"] {
  background: white; color: var(--navy); box-shadow: 0 2px 12px rgba(11,25,40,.08);
}
.account-tabs button:disabled { opacity: .6; cursor: wait; }
.account-message {
  color: #61718b; font-size: 12px; line-height: 1.6;
  min-height: 26px; margin: 4px 0 19px;
}
.account-message[data-kind="error"] { color: #ae3e42; }
.account-message[data-kind="success"] { color: #267a58; }
.auth-panel h2 {
  font-family: Georgia, serif; font-size: clamp(30px, 3.4vw, 39px);
  font-weight: normal; letter-spacing: -.035em; margin: 12px 0 15px;
}
.panel-subtext { line-height: 1.75; color: #687789; font-size: 13px; margin-bottom: 23px; }
.auth-panel form { display: grid; gap: 16px; }
.auth-panel form > label {
  display: flex; flex-direction: column; color: #2b3648; font-size: 12px;
  font-weight: 750; gap: 8px;
}
.auth-panel form > label > span { color: #86919d; font-size: 11px; font-weight: normal; }
.auth-panel input[type="email"],
.auth-panel input[type="password"],
.auth-panel input[type="text"] {
  width: 100%; min-width: 0; min-height: 48px; border: 1px solid #dfe4e8;
  background: #fdfdfd; border-radius: 8px; padding: 12px 14px; color: var(--navy);
  font: 14px/1.4 inherit; font-size: 14px; font-weight: 400;
}
.auth-panel input:focus-visible { outline: 3px solid #a1bddd; border-color: #6790b5; }
.auth-panel form > label.account-checkbox {
  flex-direction: row; align-items: flex-start; gap: 10px;
  color: #566476; line-height: 1.6; font-weight: normal;
}
.account-checkbox input { margin: 3px 0 0; }
.account-checkbox span { color: #566476 !important; font-size: 12px !important; }
.account-checkbox a { text-underline-offset: 3px; color: #4a6d99; }
.account-submit { width: 100%; margin-top: 8px; }
button.button { cursor: pointer; border: none; }
button.button.subtle { border: 1px solid #ddd; background: white; }
button.button:disabled { cursor: wait; opacity: .58; }
.account-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 15px; }
.delete-hint { font-size: 11px; color: #84909b; line-height: 1.65; }
.account-bottom {
  border-top: 1px solid #eeefef; padding-top: 22px; margin-top: 34px;
  color: #9099a4; line-height: 1.7; font-size: 10px;
}
@media (max-width: 950px) {
  .account-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 46px; }
  .account-intro { padding-top: 0; }
  .account-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
}
@media (max-width: 700px) {
  .account-layout { padding: 40px 5vw 70px; }
  .account-intro h1 { font-size: clamp(51px, 10.8vw, 70px); }
  .account-facts { grid-template-columns: 1fr; }
  .account-card { padding: 24px 19px; }
  .account-tabs button { font-size: 10px; padding: 12px 6px; }
  .account-actions { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .account-tabs button { transition: none; }
}
