:root {
  color-scheme: light;
  --bg: #f7f8fb;
  --ink: #17202a;
  --muted: #687586;
  --line: #d8dee8;
  --brand: #006d77;
  --accent: #f4a261;
  --panel: #ffffff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}
main { min-height: 100vh; }
.portal-shell, .admin-shell {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(23, 32, 42, 0.08);
}
h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.1; }
p { color: var(--muted); line-height: 1.5; }
.form-grid { display: grid; gap: 14px; margin-top: 24px; }
label { display: grid; gap: 6px; font-weight: 600; }
input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
}
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 20px; }
.status-item { border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #fff; }
.status-item strong { display: block; font-size: 22px; }

.alert { border: 1px solid #f4a261; border-radius: 6px; padding: 10px 12px; color: #8a4b08; background: #fff7ed; }

.helper { font-size: 14px; }
code { background: #eef3f7; border-radius: 4px; padding: 2px 5px; }
