/* Trang đồng ý của cha mẹ (BE-ID-04) — 1 cột, đọc tốt ở 360 px, không JS. */
:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #1f2933;
  --muted: #52606d;
  --line: #d9e2ec;
  --brand: #0f766e;
  --brand-ink: #ffffff;
  --warn-bg: #fff4e5;
  --warn: #8a4b00;
  --ok-bg: #e6f6f2;
  --danger: #b42318;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111827;
    --card: #1f2937;
    --text: #f3f4f6;
    --muted: #cbd2d9;
    --line: #374151;
    --brand: #2dd4bf;
    --brand-ink: #062a27;
    --warn-bg: #3b2a12;
    --warn: #fbd38d;
    --ok-bg: #12332e;
    --danger: #f87171;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
main { max-width: 560px; margin: 0 auto; padding: 16px; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--brand); }
.brand img { width: 32px; height: 32px; }
.lang { color: var(--brand); font-size: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px 16px; }
h1 { font-size: 22px; line-height: 1.3; margin: 0 0 12px; }
h2 { font-size: 16px; margin: 18px 0 4px; }
p { margin: 0 0 10px; overflow-wrap: anywhere; }
.muted { color: var(--muted); font-size: 14px; }
.note { border-radius: 8px; padding: 10px 12px; margin: 0 0 14px; }
.note.warn { background: var(--warn-bg); color: var(--warn); }
.note.ok { background: var(--ok-bg); }
form { margin-top: 18px; }
label.check { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
label.check input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--brand); }
.actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
button {
  font: inherit; font-weight: 600; min-height: 48px; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--brand); width: 100%; cursor: pointer;
}
button.primary { background: var(--brand); color: var(--brand-ink); }
button.secondary { background: transparent; color: var(--text); border-color: var(--line); }
button.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
a { color: var(--brand); }
footer { text-align: center; margin: 20px 0 8px; }
@media (min-width: 480px) {
  .actions { flex-direction: row-reverse; }
  .actions button { width: auto; flex: 1; }
}
