/* PanelIQ neutral white-label theme. Rebrand by overriding --accent. */
:root {
  --accent: #2f6fdd;
  --bg: #f7f7f5; --surface: #ffffff; --text: #1c1c1a; --muted: #6b6b66; --border: #e2e2dd;
  --danger: #b42318; --ok: #1f7a3d; --radius: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #141414; --surface: #1d1d1c; --text: #ececea; --muted: #9a9a94; --border: #2e2e2c; --danger: #f97066; --ok: #4ade80; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #141414; --surface: #1d1d1c; --text: #ececea; --muted: #9a9a94; --border: #2e2e2c; --danger: #f97066; --ok: #4ade80; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--accent); }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-bottom: 1px solid var(--border); background: var(--surface); }
header.top nav a { margin-right: 16px; text-decoration: none; color: var(--text); }
header.top nav a.brand { font-weight: 600; }
main { max-width: 1040px; margin: 32px auto; padding: 0 24px; }
.narrow { max-width: 400px; margin: 72px auto; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
h1 { font-size: 22px; margin: 0 0 16px; } h2 { font-size: 17px; margin: 24px 0 8px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 4px; }
input[type=text], input[type=email], input[type=password] { width: 100%; padding: 9px 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); font: inherit; }
button, .button { display: inline-block; margin-top: 18px; padding: 9px 16px; border: 0; border-radius: var(--radius); background: var(--accent); color: #fff; font: inherit; cursor: pointer; text-decoration: none; }
button.link { background: none; color: var(--text); padding: 0; margin: 0 0 0 16px; }
.error { color: var(--danger); font-size: 14px; margin-top: 8px; }
.muted { color: var(--muted); } code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
table { width: 100%; border-collapse: collapse; } th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--border); font-size: 14px; } th { color: var(--muted); font-weight: 500; }
dl.facts { display: grid; grid-template-columns: 180px 1fr; gap: 6px 16px; } dl.facts dt { color: var(--muted); } dl.facts dd { margin: 0; }
ul.codes { columns: 2; font-family: ui-monospace, Menlo, monospace; }
.breakall { word-break: break-all; } form.inline { display: inline; }
