/* Login/register presentation only; the shared account page keeps its own theme. */
body.site-theme.site-shell-theme[data-auth-minimal] {
  --color-text: #373b37;
  --color-muted: #697064;
  --color-primary: #66765a;
  --color-primary-hover: #526347;
  --color-copy-muted: #697064;
  --color-bg-soft: #edf0e6;
  --site-page-bar-background: #faf8f2;
  --site-page-bar-foreground: #373b37;
  color-scheme: light;
  background: #faf8f2;
  color: #373b37;
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}
body.site-theme.site-shell-theme[data-auth-minimal]::before { content: none; }
[data-auth-minimal] site-shell { --paper: #faf8f2; --ink: #373b37; --muted: #767b72; --accent: #66765a; --line: #e7e8e0; --hover: #edf0e6; }
body[data-auth-minimal] .auth-input:focus-visible { outline: 2px solid #66765a; outline-offset: 2px; }
[data-auth-minimal] .site-shell.site-shell--page {
  width: min(100% - 40px, 1000px);
  min-height: calc(100vh - 44px);
  min-height: calc(100dvh - 44px);
  padding: 0;
}
[data-auth-minimal] .auth-wrap { padding: 48px 0 56px; }
[data-auth-minimal] .auth-card {
  box-sizing: border-box;
  max-width: 440px;
  padding: 36px;
  border: 1px solid #e3e5da;
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
[data-auth-minimal] .auth-title {
  margin-bottom: 12px;
  color: #373b37;
  font-size: 28px;
  font-weight: 550;
  letter-spacing: .03em;
  line-height: 1.45;
  text-align: left;
}
[data-auth-minimal] .auth-subtitle { margin-bottom: 30px; text-align: left; font-size: 13px; }
[data-auth-minimal] .auth-field { margin-bottom: 20px; }
[data-auth-minimal] .auth-label { margin-bottom: 8px; font-weight: 500; font-size: 14px; }
[data-auth-minimal] .auth-input {
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d8ddd0;
  border-radius: 9px;
  background: #fffefb;
  color: #373b37;
  font: inherit;
  font-size: 16px;
}
[data-auth-minimal] .auth-input::placeholder { color: #7a8075; opacity: 1; }
[data-auth-minimal] .auth-input:focus { border-color: #66765a; box-shadow: 0 0 0 3px #66765a1f; background: #fff; }
[data-auth-minimal] .auth-btn {
  min-height: 48px;
  border-radius: 9px;
  background: #66765a;
  color: #fff;
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
}
[data-auth-minimal] .auth-btn:hover { background: #526347; transform: none; box-shadow: none; }
[data-auth-minimal] .auth-btn-outline { background: #edf0e6; color: #526347; }
[data-auth-minimal] .auth-btn-outline:hover { background: #e3e8d9; color: #526347; }
[data-auth-minimal] .auth-links { padding-top: 22px; border-top: 1px solid #e7e8e0; gap: 8px 14px; line-height: 1.8; }
[data-auth-minimal] .auth-links a { font-weight: 400; padding: 6px 0; }
[data-auth-minimal] a:hover { text-decoration: underline; text-underline-offset: 4px; }
[data-auth-minimal] a:focus-visible, [data-auth-minimal] button:focus-visible { outline: 2px solid #66765a; outline-offset: 4px; }
[data-auth-minimal] .auth-error, [data-auth-minimal] .auth-success { border-radius: 9px; text-align: left; font-size: 13px; overflow-wrap: anywhere; }
[data-auth-minimal] .auth-error { background: #faf0ed; border-color: #e8cfc7; color: #984b3d; }
[data-auth-minimal] .auth-success { background: #edf2e8; border-color: #d7e2ce; color: #4e6743; }
[data-auth-minimal] .auth-logged-in-text { font-size: 23px; font-weight: 550; }
[data-auth-minimal] .auth-logged-in-sub { overflow-wrap: anywhere; line-height: 1.8; }
[data-auth-minimal] .auth-logged-in-actions { gap: 12px; }
body[data-auth-minimal] .auth-logged-in-actions a.auth-btn { color: #fff; }
[data-auth-minimal] .site-shell--page > .site-footer { margin-top: 0; padding: 22px 0; border-top: 1px solid #e7e8e0; color: #697064; font-size: 12px; background: none; }
[data-auth-minimal] .site-footer a { font-weight: 400; }
[data-auth-minimal] .footer-links, [data-auth-minimal] .footer-meta { line-height: 1.9; }
@media (max-width: 480px) {
  [data-auth-minimal] .auth-wrap { padding: 28px 0 36px; align-items: start; }
  [data-auth-minimal] .auth-card { padding: 28px 22px; border-radius: 14px; }
  [data-auth-minimal] .auth-title { font-size: 24px; }
  [data-auth-minimal] .auth-links { flex-direction: row; gap: 6px 10px; font-size: 12px; }
  [data-auth-minimal] .auth-logged-in-actions { flex-direction: column; }
  [data-auth-minimal] .auth-logged-in-actions .auth-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  [data-auth-minimal] .auth-input, [data-auth-minimal] .auth-btn { transition: none; }
}
