:root {
  color-scheme: light;
  --navy: #00205b;
  --red: #ba0c2f;
  --blue: #315c9b;
  --ink: #1d2939;
  --muted: #667085;
  --line: #d9e2f0;
  --surface: #ffffff;
  --background: #f5f8fc;
  --warning: #fff8e7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--ink);
  background: var(--background);
}

a { color: var(--blue); font-weight: 650; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

.shell { max-width: 880px; margin: 0 auto; padding: 32px 20px 56px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.brand { color: var(--navy); font-size: 18px; font-weight: 800; }
.flag { display: inline-flex; gap: 4px; align-items: center; }
.flag::before, .flag::after { content: ""; display: block; height: 4px; border-radius: 9px; }
.flag::before { width: 28px; background: var(--red); }
.flag::after { width: 18px; background: var(--navy); }

nav { display: flex; flex-wrap: wrap; gap: 12px 18px; font-size: 14px; }

main {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 14px 40px rgba(0, 32, 91, 0.07);
}

h1, h2, h3 { color: var(--navy); line-height: 1.22; }
h1 { margin: 0 0 8px; font-size: clamp(30px, 5vw, 42px); }
h2 { margin: 34px 0 12px; font-size: 22px; }
h3 { margin: 24px 0 8px; font-size: 17px; }
p, li { font-size: 15px; }
ul, ol { padding-left: 23px; }
.subtitle { margin: 0 0 4px; color: var(--muted); }

.notice, .card, .warning {
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
}
.notice, .card { background: #f8fbff; border: 1px solid var(--line); }
.notice { border-left: 5px solid var(--red); }
.warning { background: var(--warning); border: 1px solid #efd596; }
.notice > :first-child, .card > :first-child, .warning > :first-child { margin-top: 0; }
.notice > :last-child, .card > :last-child, .warning > :last-child { margin-bottom: 0; }

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
}
.button:hover, .button:focus-visible { background: var(--blue); text-decoration: none; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 18px 0; min-width: 560px; }
th, td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; vertical-align: top; }
th { background: #edf3fb; color: var(--navy); }
.deleted { color: #9c1830; font-weight: 750; }
.retained { color: #7b5600; font-weight: 750; }

footer { margin-top: 32px; color: var(--muted); font-size: 13px; text-align: center; }
footer p { font-size: 13px; }

@media (max-width: 640px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .shell { padding: 20px 12px 36px; }
  main { border-radius: 14px; padding: 24px 18px; }
}
