/* Server-rendered public pages share the saved theme and original branding. */
:root {
  color-scheme: light;
  --native-bg: #f5f7f5;
  --native-card: #fff;
  --native-ink: #16352c;
  --native-muted: #4c625a;
  --native-border: #cbd8cf;
  --native-link: #176443;
  --native-hover: #a44712;
  --native-soft: #e8f5ee;
  --native-danger: #a12424;
}
[data-theme="dark"] {
  color-scheme: dark;
  --native-bg: #14141b;
  --native-card: #1d1d27;
  --native-ink: #f3f2fa;
  --native-muted: #bbb9ca;
  --native-border: #555366;
  --native-link: #7ed9ae;
  --native-hover: #ffb088;
  --native-soft: #203b32;
  --native-danger: #ffaaa5;
}
.public-native { margin: 0; background: var(--native-bg); color: var(--native-ink); font: 16px/1.6 system-ui, sans-serif; overflow-wrap: anywhere; }
.public-native *, .public-native *::before, .public-native *::after { box-sizing: border-box; }
.public-native a { color: var(--native-link); text-underline-offset: 3px; }
.public-native a:hover { color: var(--native-hover); }
.public-native :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #e68a3b; outline-offset: 3px; }
.public-native :is(input:not([type="checkbox"]):not([type="hidden"]):not([type="radio"]), select, textarea) { max-width: 100%; padding: 12px; border: 1px solid var(--native-border); border-radius: 9px; background: var(--native-card); color: var(--native-ink); font: inherit; }
.public-native :is(input[type="checkbox"], input[type="radio"]) { width: 22px; height: 22px; vertical-align: middle; accent-color: #176443; }
.public-native button, .public-native .native-button { border: 0; border-radius: 9px; padding: 12px 20px; background: #176443; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.public-native .secondary { background: var(--native-soft); color: var(--native-link); }
.public-native a.button { color: #fff; }
.public-native a.button.secondary { color: var(--native-link); }
.public-native footer { padding-bottom: 76px; }
.native-wrap { max-width: 960px; margin: auto; padding: 24px; }
.native-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; text-decoration: none; }
.native-brand img { width: 44px; height: 44px; flex: none; }
.native-card { margin: 24px 0; padding: 24px; border: 1px solid var(--native-border); border-radius: 16px; background: var(--native-card); }
.native-card h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.2; }
.native-card h2 { font-size: 22px; line-height: 1.35; }
.native-card textarea { width: 100%; }
.native-card label { display: block; margin-bottom: 6px; font-weight: 600; }
.native-card .helptext { display: block; color: var(--native-muted); font-size: 14px; }
.native-card .errorlist { color: var(--native-danger); }
.public-native .native-theme-toggle { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 46px; height: 46px; padding: 0; border: 1px solid var(--native-border); border-radius: 50%; background: var(--native-card); color: var(--native-ink); font-size: 22px; box-shadow: 0 3px 12px #0002; }
@media (max-width: 600px) { .native-wrap { padding: 16px; } .native-card { padding: 18px; } }
