/* Website-only behavior and account surfaces. Shared vocabulary visuals live in shared.css. */
.site-nav { position: sticky; top: 0; z-index: 20; }
.site-nav nav { display: flex; align-items: center; gap: 14px; color: #424245; font-size: 13px; }
.site-nav nav a { color: inherit; text-decoration: none; }
.site-nav nav button,
.signed-out button,
.button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 12px;
  background: #fff;
  color: #424245;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.page-actions .button { min-height: 34px; padding: 0 12px; border-radius: 10px; font-size: 12px; }
.signed-out {
  width: min(720px,100%);
  margin: 12vh auto 0;
  padding: clamp(34px,6vw,72px);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 30px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 20px 60px rgba(0,0,0,.06);
  text-align: center;
}
.signed-out h1 { margin: 0; font-size: clamp(42px,6vw,70px); line-height: 1.02; letter-spacing: -.055em; }
.signed-out > p:not(.eyebrow,.field-error,.local-only) { margin: 24px auto 30px; color: #6e6e73; font-size: 17px; line-height: 1.65; }
.signed-out .large { min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: #0071e3; color: #fff; font-size: 16px; }
.google-signin { width: min(100%,360px); min-height: 44px; display: flex; justify-content: center; margin: 28px auto 0; overflow: hidden; }
.sign-in-progress {
  width: min(100%,360px);
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px auto 0;
  padding: 12px 18px;
  border: 1px solid rgba(0,113,227,.18);
  border-radius: 18px;
  background: #f0f7ff;
  color: #1d1d1f;
  text-align: left;
}
.sign-in-progress[hidden] { display: none; }
.signed-out.is-loading {
  width: auto;
  margin-top: 18vh;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.signed-out.is-loading > :not(.sign-in-progress,.field-error) { display: none; }
.signed-out.is-loading .sign-in-progress {
  width: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}
.sign-in-progress strong { display: block; font-size: 15px; }
.sign-in-spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 2px solid rgba(0,113,227,.18);
  border-top-color: #0071e3;
  border-radius: 50%;
  animation: sign-in-spin .75s linear infinite;
}
@keyframes sign-in-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sign-in-spinner { animation-duration: 1.5s; } }
.field-error,
.local-only { margin: 18px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.field-error { background: #fff1ef; color: #a52b20; }
.local-only { background: #edf5ff; color: #245f91; }
.banner { margin: -8px 0 22px; padding: 14px 16px; border: 1px solid rgba(196,43,28,.16); border-radius: 14px; background: #fff1ef; color: #a52b20; font-size: 13px; }
.banner.expired { border-color: rgba(255,159,10,.2); background: #fff6e5; color: #7a4b00; }
.item-action:disabled { cursor: default; opacity: .5; }
.review-answer[hidden] { display: none; }
.review-tools:empty { display: none; }

@media (max-width:680px) {
  .site-nav nav { gap: 9px; }
  #accountState { display: none; }
  .signed-out { margin-top: 5vh; padding: 34px 22px; border-radius: 24px; }
  .signed-out h1 { font-size: 44px; }
}
