:root {
  color-scheme: light only;
  --paper: #f6f8f3; --surface: #fff; --ink: #203f32; --muted: #52685a;
  --line: #d8e4d9; --accent: #244a3d; --accent-soft: #e0ebe0;
  --on-accent: #fff; --error-ink: #9b221a; --disabled-bg: #d8e4d9;
  --card: var(--surface);
  font-family: var(--ui-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
  background: var(--paper); color: var(--ink);
}
*, *::before, *::after { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--ui-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif); overflow-wrap: anywhere; }
h1, h2, h3 { font-family: var(--ui-font-display, Georgia, serif); }
a { color: var(--ink); }
.card { background: var(--surface); border-color: var(--line); border-radius: 22px; }
.list-state-error .list-state-icon { color: var(--error-ink); }
/* Buttons, fields and notices: classes .ui-btn, .ui-input, .ui-notice from aithere-ui.css (own focus ring). */
:where(a:not(.ui-btn), input:not(.ui-input), select:not(.ui-input), textarea:not(.ui-input)):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input, select, textarea { max-width: 100%; font-size: 16px; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.method-row input, .method-row select { min-width: 0; }

/* Sign-in guidance is an info notice (aithere-ui .ui-notice); its content sits in .signin-body. */
[hidden] { display: none !important; }
:root[data-theme="light"] { color-scheme: light; }
.signin-notice::before { display: none; }
.signin-body { display: grid; gap: 8px; justify-items: start; flex: 1 1 auto; min-width: 0; }
.signin-body h2 { margin: 0; font-size: 18px; line-height: 1.3; }
.signin-body p { margin: 0; color: var(--ui-muted); }
