.tafel-page { display: grid; gap: 16px; max-width: 1100px; }
.tafel-page h2 { font-family: Georgia, "Iowan Old Style", serif; font-weight: 500; font-size: 1.45rem; margin: 8px 0 0; }
.tafel-page form, .tafel-form { display: grid; gap: 12px; max-width: 640px; }
.tafel-page label, .tafel-form label { display: grid; gap: 6px; font-size: .92rem; }
.tafel-page input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.tafel-page select, .tafel-page textarea,
.tafel-form input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.tafel-form select, .tafel-form textarea {
  width: 100%; min-height: 42px; padding: 8px 12px; border-radius: 12px;
  border: 1px solid #ddcfc0; background: #fff; color: #1b1612; font: inherit;
}
.tafel-page input[type="checkbox"], .tafel-page input[type="radio"],
.tafel-form input[type="checkbox"], .tafel-form input[type="radio"] {
  width: 1.15rem; height: 1.15rem; min-height: 0; margin: 0; padding: 0;
  accent-color: #b8431f; flex: 0 0 auto;
}
.tafel-page label:has(input[type="checkbox"]), .tafel-page label:has(input[type="radio"]),
.tafel-form label:has(input[type="checkbox"]), .tafel-form label:has(input[type="radio"]) {
  display: flex; align-items: center; gap: 10px; grid-template-columns: auto 1fr;
}
.tafel-page button, .tafel-form button, .board-card button, .call-row button {
  border: 1px solid #ddcfc0; background: #fff; color: #1b1612; border-radius: 999px; padding: 8px 14px;
  font: inherit; cursor: pointer; min-height: 36px;
}
.tafel-page button.btn-solid, .tafel-page button[type="submit"],
.tafel-form button[type="submit"], .board-card button.btn-solid, .btn-solid {
  background: #b8431f; color: #fff8f3; border-color: transparent;
}
.dark .tafel-page button, .dark .tafel-form button, .dark .board-card button, .dark .call-row button {
  background: #2c2622; color: #f6f1e8; border-color: #8a7564;
}
.dark .tafel-page button.btn-solid, .dark .tafel-page button[type="submit"],
.dark .tafel-form button[type="submit"], .dark .board-card button.btn-solid, .dark .btn-solid {
  background: #e08a3c; color: #1c1612; border-color: transparent;
}
.dark .tafel-page input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.dark .tafel-page select, .dark .tafel-page textarea,
.dark .tafel-form input:not([type="checkbox"]):not([type="radio"]):not([type="color"]),
.dark .tafel-form select, .dark .tafel-form textarea {
  background: #1c1917; color: #f6f1e8; border-color: #8a7564;
}
.dark .tafel-page input[type="checkbox"], .dark .tafel-page input[type="radio"],
.dark .tafel-form input[type="checkbox"], .dark .tafel-form input[type="radio"] {
  accent-color: #e08a3c;
}
.tafel-note { color: #6d645c; margin: 0; }
.tafel-list { display: grid; gap: 8px; }
.tafel-row, .call-row {
  display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 12px 14px; border: 1px solid #e6ddd2; border-radius: 14px; background: #fff;
}
.hours-grid { display: grid; grid-template-columns: 140px 1fr 1fr; gap: 8px; align-items: center; }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.board-col { background: #f7f1e6; border-radius: 18px; padding: 12px; min-height: 180px; }
.board-col h3 { margin: 0 0 10px; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: #6d645c; }
.board-card { background: #fff; border-radius: 14px; padding: 12px; margin-bottom: 8px; box-shadow: 0 8px 20px rgba(28, 22, 18, .05); }
.board-card strong { font-variant-numeric: tabular-nums; }
.line { display: flex; justify-content: space-between; gap: 8px; font-size: .92rem; padding-top: 4px; }
.line span { color: #6d645c; }
.stat-line { font-size: 1.05rem; }
.announce { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #ddcfc0; border-radius: 14px; background: #fbf6ee; }
.link-grid { display: grid; gap: 10px; }
.link-card {
  display: grid; gap: 8px; padding: 14px 16px; border: 1px solid #e6ddd2; border-radius: 16px;
  background: #fff; color: #1b1612;
}
.link-row { display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.link-row > div { min-width: 0; }
.link-url, .link-card a { color: #9c3819; word-break: break-all; }
.link-card button { flex: 0 0 auto; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.dark .link-card { background: #1c1917; color: #f6f1e8; border-color: #8a7564; }
.dark .link-url, .dark .link-card a { color: #e08a3c; }
.dark .link-card .tafel-note { color: #d9cfc4; }
@media (min-width: 900px) {
  .link-grid { grid-template-columns: 1fr 1fr; }
}
.locale-switch { display: inline-flex; border: 1px solid #ddcfc0; border-radius: 999px; overflow: hidden; margin-inline-end: 8px; background: #fff; }
.locale-switch button { border: 0; background: transparent; padding: 6px 10px; font: inherit; cursor: pointer; color: #6d645c; }
.locale-switch button.on { background: #1b1612; color: #f6f1e8; }
.dark .locale-switch { border-color: #8a7564; background: transparent; }
.dark .locale-switch button { color: #f6f1e8; }
.dark .locale-switch button.on { background: #f6f1e8; color: #1c1612; }
@media (max-width: 800px) {
  .board { grid-template-columns: 1fr; }
  .hours-grid { grid-template-columns: 1fr; }
}
