/* AlertsIQ pages on responseiq.ai: the app's own colours (AlertIQ/Views/Theme.swift), light and dark. */
:root { --bg: #f4f6fb; --surface: #ffffff; --ink: #263347; --muted: #5c6979; --border: #d9e0ed; --accent: #0a5ede; --tint: #e8f2ff; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f141c; --surface: #171e29; --ink: #e6ebf3; --muted: #9aa6b6; --border: #2a3444; --accent: #5b9bff; --tint: #13233d; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif; }
main { max-width: 720px; margin: 0 auto; padding: 40px 20px 64px; }
header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
header img { width: 44px; height: 44px; border-radius: 10px; }
header .name { font-weight: 700; font-size: 20px; line-height: 1.2; }
header .by { color: var(--muted); font-size: 14px; }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -0.01em; }
.updated { color: var(--muted); margin: 0 0 28px; font-size: 15px; }
h2 { font-size: 21px; margin: 36px 0 10px; }
p, li { max-width: 68ch; }
ul { padding-left: 1.2em; }
li { margin: 6px 0; }
a { color: var(--accent); text-underline-offset: 2px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin: 20px 0; }
.card p { margin: 6px 0; }
.lead { font-size: 19px; color: var(--ink); }
.muted { color: var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { background: var(--tint); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
footer { margin-top: 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); padding-top: 16px; }
