/* BURN Policy Portal – one small stylesheet, mobile-first, no web fonts.
   Brand: BURN orange accent, grey ink, white background. */
:root {
  --orange: #F5821F;
  --orange-deep: #E06D00;
  --ink: #3A3A3C;
  --mute: #6D6E71;
  --line: #E6E7E8;
  --soft: #FAFAFA;
  --ok: #1E7B34;
  --warn: #9A5B00;
  --bad: #B3261E;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0; background: #fff; color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 3px solid var(--orange); padding: 12px 0; }
header.site .brand { font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
header.site .brand b { color: var(--orange-deep); }
main { padding: 20px 0 40px; }
h1 { font-size: 1.45rem; line-height: 1.25; margin: .2em 0 .6em; }
h2 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
a { color: #8A4500; }
p, li { max-width: 40rem; }
.muted { color: var(--mute); font-size: .92rem; }
.card { border: 1px solid var(--line); background: var(--soft); border-radius: 8px; padding: 14px 16px; margin: 12px 0; }
.card > :first-child { margin-top: 0; } .card > :last-child { margin-bottom: 0; }
.btn {
  display: inline-block; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 8px;
  background: var(--orange); color: #1d1d1f; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid #1d1d1f; outline-offset: 2px; }
.btn.secondary { background: #fff; border: 2px solid var(--ink); }
input[type=text], input[type=password], input[type=email], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit;
  border: 1px solid #9a9b9e; border-radius: 6px; background: #fff;
}
.badge { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: .82rem; font-weight: 600; }
.badge.ok { background: #E3F2E6; color: var(--ok); }
.badge.warn { background: #FFF1DC; color: var(--warn); }
.badge.bad { background: #FBE4E2; color: var(--bad); }
footer.site { border-top: 1px solid var(--line); padding: 14px 0 24px; color: var(--mute); font-size: .85rem; }
.flash { border-radius: 8px; padding: 10px 14px; margin: 0 0 12px; border: 1px solid; }
.flash.ok { background: #E3F2E6; border-color: #BFE0C6; color: #154F23; }
.flash.bad { background: #FBE4E2; border-color: #F1BDB8; color: #7A1A14; }
/* Tick boxes and round buttons: white with a dark outline; green with a white tick when chosen (same in dark mode). */
input[type=checkbox], input[type=radio] { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px;
  border: 2px solid var(--ink); border-radius: 5px; background: #fff; display: inline-grid; place-content: center; cursor: pointer; margin: 0; vertical-align: middle; }
input[type=radio] { border-radius: 50%; }
input[type=checkbox]:checked, input[type=radio]:checked { background: var(--ok); border-color: var(--ok); }
input[type=checkbox]:checked::before, input[type=radio]:checked::before { content: ""; width: 11px; height: 6px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: translateY(-2px) rotate(-45deg); }
input[type=checkbox]:disabled, input[type=radio]:disabled { border-color: #C4C5C7; background: #F2F2F2; cursor: not-allowed; }
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: 3px solid #1d1d1f; outline-offset: 2px; }
