/* Private Owl web: all styling lives here (CSP: style-src 'self'; no inline styles anywhere). */
:root {
  color-scheme: light dark;
  --bg: #f5f7fa; --surface: #ffffff; --fg: #0f172a; --muted: #5b6b80; --line: #e3e8ef; --accent: #2457d6;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0f14; --surface: #121821; --fg: #e6ebf2; --muted: #93a1b5; --line: #243041; --accent: #7aa2ff; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 400 1rem/1.5 var(--font); color: var(--fg); background: var(--bg); min-height: 100vh;
       display: flex; flex-direction: column; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 .5rem; }
.top { background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { max-width: 72rem; margin: 0 auto; padding: .625rem 1rem; }
.brand { font-weight: 700; color: var(--fg); }
main { flex: 1; max-width: 72rem; width: 100%; margin: 0 auto; padding: 1.5rem 1rem; }
.card { max-width: 28rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem; }
.error-code { font-size: 2.5rem; font-weight: 700; color: var(--muted); }
.btn { display: inline-block; padding: .4375rem .875rem; border: 1px solid var(--line); border-radius: 8px; color: var(--fg); }
footer { padding: 1rem; text-align: center; font-size: .8125rem; color: var(--muted); }
.top-in { display: flex; align-items: center; gap: 1rem; }
.nav { flex: 1; }
.logout { margin: 0; }
button.btn { font: inherit; background: var(--surface); cursor: pointer; }
.btn-tg { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn:disabled { opacity: .6; cursor: default; }
.flash { color: #b42318; margin: .5rem 0; }
.fine { font-size: .8125rem; color: var(--muted); }
