/* mintu.dk: one stylesheet, system fonts, nothing from outside
   (_headers allows only 'self'). The colours follow the app and the mails. */
:root {
  --bg: #f4f6f1;
  --card: #ffffff;
  --text: #1f3a24;
  --muted: #4a5a4c;
  --sage: #8fa98c;
  --line: #dfe5da;
  --note: #fff3d6;
  --note-line: #e6c977;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--text); text-underline-offset: 2px; }
.top {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 24px; max-width: 760px; margin: 0 auto; padding: 24px 16px 8px;
}
.brand {
  font: 600 28px/1.2 Georgia, "Times New Roman", serif; text-decoration: none;
}
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; }
.note {
  width: min(760px, 100% - 24px); margin: 12px auto 0;
}
.note p {
  margin: 0; padding: 12px 16px; border-radius: 12px;
  background: var(--note); border: 1px solid var(--note-line); font-size: 15px;
}
main {
  width: min(760px, 100% - 24px); margin: 16px auto; padding: 24px 16px 32px;
  background: var(--card); border-radius: 16px;
}
@media (min-width: 792px) { main { padding: 32px 40px 40px; } }
h1 { font: 600 32px/1.2 Georgia, "Times New Roman", serif; margin: 0 0 16px; }
h2 { font: 600 22px/1.3 Georgia, "Times New Roman", serif; margin: 32px 0 8px; }
h3 { font-size: 18px; margin: 24px 0 8px; }
p, ul, ol { margin: 0 0 12px; }
li { margin: 4px 0; }
blockquote { margin: 0 0 12px; padding-left: 12px; border-left: 3px solid var(--sage); color: var(--muted); }
table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
/* On a phone each row becomes a small card with its labels. */
@media (max-width: 640px) {
  thead { display: none; }
  table, tbody, tr, td { display: block; width: 100%; }
  tr { padding: 8px 0; border-bottom: 1px solid var(--line); }
  td { border: 0; padding: 4px 0; }
  td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
}
footer { max-width: 760px; margin: 0 auto; padding: 8px 16px 32px; color: var(--muted); font-size: 14px; }
