:root {
  color-scheme: light;
  --ink: #10243e;
  --muted: #607086;
  --paper: #ffffff;
  --canvas: #f4f7fb;
  --line: #dce4ee;
  --accent: #d88a18;
  --good: #1f7a56;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--canvas); min-height: 100vh; }
button, input { font: inherit; }
.site-header { min-height: 64px; padding: max(12px, env(safe-area-inset-top)) 20px 12px; display: flex; align-items: center; justify-content: space-between; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 760; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--ink); color: #f7b84b; }
.page-shell { width: min(720px, 100%); margin: 0 auto; padding: 40px 20px calc(40px + env(safe-area-inset-bottom)); }
.feed-header { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 8px; font-size: clamp(2rem, 8vw, 3.2rem); line-height: 1; letter-spacing: -0.04em; }
h2 { margin-bottom: 10px; font-size: 1.35rem; }
.eyebrow { margin-bottom: 10px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lede { color: var(--muted); line-height: 1.55; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; white-space: nowrap; border: 1px solid #b8dfce; border-radius: 999px; background: #edf9f4; color: var(--good); font-size: .78rem; font-weight: 700; }
.status-pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--good); }
.empty-state, .auth-card { padding: 34px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 18px 45px rgba(16, 36, 62, .08); }
.empty-state { text-align: center; }
.empty-state p { max-width: 470px; margin: 0 auto; color: var(--muted); line-height: 1.6; }
.empty-icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 18px; background: #edf9f4; color: var(--good); font-size: 1.5rem; font-weight: 900; }
.auth-card { width: min(440px, 100%); margin: 5vh auto 0; }
.form-stack { display: grid; gap: 10px; }
.form-stack label { margin-top: 7px; font-size: .86rem; font-weight: 700; }
.form-stack input { width: 100%; padding: 13px 14px; border: 1px solid #bfcbd9; border-radius: 12px; background: #fff; color: var(--ink); }
.form-stack input:focus { outline: 3px solid rgba(216, 138, 24, .2); border-color: var(--accent); }
.primary-button { margin-top: 12px; padding: 13px 18px; border: 0; border-radius: 12px; background: var(--ink); color: white; font-weight: 760; cursor: pointer; }
.text-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 700; }
.form-error { padding: 11px 13px; border-radius: 10px; background: #fff0f0; color: #9b2c2c; }

@media (max-width: 560px) {
  .page-shell { padding-top: 28px; }
  .feed-header { display: block; }
  .status-pill { margin-top: 8px; }
  .empty-state, .auth-card { padding: 26px 20px; border-radius: 20px; }
}
