:root {
  --ink: #172033;
  --muted: #657084;
  --line: #dfe5df;
  --paper: #fbfbf7;
  --orange: #f39200;
  --orange-soft: #fff2dc;
  --green: #286c5b;
  --green-soft: #e7f1ec;
  --blue: #315a82;
  --yellow: #f3c85b;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.radar-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px min(5vw, 56px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.radar-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  font-weight: 800;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.radar-brand span {
  color: var(--orange);
}

.radar-brand small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.radar-brand img {
  display: block;
  width: auto;
  height: 20px;
  max-width: 158px;
  object-fit: contain;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: flex-end;
  align-items: center;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

nav a.active {
  color: var(--orange);
}

nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  margin-top: -6px;
  border-radius: 6px;
  color: white;
  background: var(--orange);
}

nav a[data-page-link="/rechtliches"] {
  order: 10;
}

#public-login-link,
.public-user-menu {
  flex: 0 0 auto;
  order: 120;
  margin-left: 0;
}

#public-login-link[hidden],
.public-user-menu[hidden] {
  display: none;
}

#public-login-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-user-menu {
  position: relative;
  z-index: 1002;
}

.public-user-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  background: #fff;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-user-menu summary::-webkit-details-marker {
  display: none;
}

.public-user-menu summary::after {
  content: "⌄";
  margin-left: 7px;
  color: var(--orange);
  font-size: 13px;
}

.public-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(280px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.14);
  background: #fff;
}

.public-user-meta {
  padding: 5px 8px 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  text-overflow: ellipsis;
}

.public-user-modules {
  display: grid;
  gap: 4px;
  padding: 8px 0;
}

.public-user-modules a,
.public-user-modules span,
.public-user-logout {
  display: block;
  padding: 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.public-user-modules a:hover,
.public-user-logout:hover {
  background: var(--soft);
}

.public-user-logout {
  border-top: 1px solid var(--line);
  color: var(--blue);
}

.dialect-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: stretch;
  gap: 0;
  min-height: 28px;
  min-width: 158px;
  padding: 2px;
  margin: -3px 0 0 auto;
  order: 20;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(23, 32, 51, 0.03);
  overflow: hidden;
  opacity: 0.88;
  order: 100;
}

.dialect-toggle[aria-pressed="true"] {
  border-color: rgba(243, 146, 0, 0.55);
}

.dialect-toggle:focus-visible {
  outline: 3px solid rgba(243, 146, 0, 0.35);
  outline-offset: 2px;
}

.dialect-toggle-option {
  position: relative;
  z-index: 1;
  flex: 1 1 50%;
  min-width: 0;
  padding: 5px 8px;
  text-align: center;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.dialect-toggle-option[data-dialect-option="standard"] {
  flex-basis: 62%;
}

.dialect-toggle-option[data-dialect-option="platt"] {
  flex-basis: 38%;
}

.dialect-toggle-thumb {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 2px;
  width: calc(62% - 2px);
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 1px 5px rgba(23, 32, 51, 0.16);
  transition: transform 0.18s ease;
}

.dialect-toggle[aria-pressed="true"] .dialect-toggle-thumb {
  left: 62%;
  width: calc(38% - 2px);
}

.dialect-toggle[aria-pressed="false"] [data-dialect-option="standard"],
.dialect-toggle[aria-pressed="true"] [data-dialect-option="platt"] {
  color: var(--white);
}

.dialect-toggle[aria-pressed="false"] [data-dialect-option="platt"],
.dialect-toggle[aria-pressed="true"] [data-dialect-option="standard"] {
  color: var(--ink);
}

.dialect-notice {
  position: fixed;
  right: min(5vw, 32px);
  bottom: 24px;
  z-index: 3000;
  width: min(420px, calc(100% - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(243, 146, 0, 0.5);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(23, 32, 51, 0.18);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 56px;
}

.radar-hero {
  padding: 56px 0 34px;
}

.radar-hero.compact {
  padding-bottom: 18px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0 0 14px;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.radar-hero p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
}

.radar-search {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
}

.field-label-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-start;
  min-height: 20px;
  font-weight: 700;
  font-size: 14px;
}

.help-button {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  width: 24px;
  max-width: 24px;
  min-height: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--orange);
  color: white;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  flex: 0 0 24px;
}

select,
input,
textarea,
button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  background: var(--white);
}

button,
.detail-actions a {
  border: 0;
  background: var(--orange);
  color: white;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.secondary-button {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.radar-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.muted {
  color: var(--muted);
}

.summary-disclaimer {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.radar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.radar-card {
  display: grid;
  gap: 12px;
  min-height: 240px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.radar-card h3 {
  font-size: 22px;
  line-height: 1.16;
}

.card-meta,
.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: #8c5300;
  font-weight: 800;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.card-actions button,
.card-actions a,
.detail-actions button,
.detail-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
}

.card-actions a,
.detail-actions a {
  background: var(--blue);
}

.public-filter-panel {
  margin: 0 0 18px;
  padding: 16px 18px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
}

.news-location-layout {
  margin-top: 18px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.filter-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(300px, 0.95fr);
  gap: 18px;
  align-items: stretch;
  margin-top: 16px;
}

.filter-overview-grid .news-location-layout {
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.filter-topic-panel {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.filter-topic-panel h3 {
  margin-bottom: 14px;
}

.filter-overview-grid .location-view {
  flex: 1;
  min-height: 0;
}

.filter-overview-grid .location-view:not([hidden]) {
  display: flex;
}

.filter-overview-grid .public-map {
  flex: 1;
  height: 100%;
  min-height: 322px;
}

.news-date-control {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: end;
  justify-content: flex-end;
}

.news-date-control label {
  min-width: 190px;
}

.news-date-control .muted {
  margin: 0 0 10px;
}

.news-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
  justify-content: start;
  align-items: stretch;
}

.city-news-card {
  min-height: 0;
}

.city-news-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: var(--paper);
}

.city-news-card .card-actions a {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.city-news-card .card-actions a:hover {
  border-color: var(--blue);
  background: #eef4fb;
}

.local-news-alerts {
  margin: 0 auto 18px;
  max-width: 1120px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.local-news-alerts .section-head {
  margin-bottom: 10px;
}

.local-news-alerts h2 {
  font-size: 24px;
}

.local-news-alerts .news-grid {
  grid-template-columns: 1fr;
}

.local-news-toolbar {
  max-width: 1120px;
  margin: 0 auto 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.local-news-layout {
  max-width: 1120px;
  margin: 0 auto;
}

.local-news-side {
  display: grid;
  gap: 18px;
}

.news-feed-panel {
  padding: 0;
  background: transparent;
  border: 0;
}

.external-press-panel {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.external-press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.external-press-card {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.external-press-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: var(--soft);
}

.external-press-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.22;
}

.external-press-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.external-press-also {
  color: var(--orange-dark);
  font-weight: 800;
}

.external-press-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
}

.external-press-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.external-press-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff2dc;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
}

.news-feed-head {
  align-items: end;
  gap: 16px;
}

.news-date-sort {
  display: grid;
  gap: 5px;
  min-width: 190px;
  color: var(--ink);
  font-weight: 900;
}

.news-date-sort span {
  color: var(--muted);
  font-size: 13px;
}

.news-date-sort select {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.news-list-vertical {
  display: grid;
  gap: 8px;
}

.news-list-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 210px;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.news-list-item:first-child {
  border-top: 1px solid var(--line);
}

.news-list-date {
  color: var(--muted);
  font-weight: 800;
}

.news-updated-badge {
  display: inline-flex;
  margin-top: 6px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff2dc;
  color: var(--orange-dark);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
}

.news-list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
}

.news-list-meta span + span::before {
  content: "· ";
}

.news-list-item h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.18;
}

.news-list-main {
  min-width: 0;
}

.news-list-summary {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-list-main .summary-disclaimer,
.important-notice-main .summary-disclaimer {
  margin-top: 4px;
}

.news-list-item.summary-expanded .news-list-summary {
  display: block;
  overflow: visible;
}

.news-change-summary {
  margin: 8px 0 0;
  padding: 9px 10px;
  border-left: 4px solid var(--orange);
  border-radius: 0 6px 6px 0;
  background: #fff9ef;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.news-changelog {
  margin-top: 10px;
}

.news-changelog summary {
  cursor: pointer;
  color: var(--blue);
  font-weight: 900;
}

.news-changelog-list {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.news-changelog-list article {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.news-changelog-list strong,
.news-changelog-list small {
  display: block;
}

.news-changelog-list small {
  margin-top: 2px;
  color: var(--muted);
  font-weight: 800;
}

.news-changelog-list p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.more-link {
  min-height: 0;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 900;
}

.news-list-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
}

.news-list-item > a,
.news-list-actions a,
.news-list-actions button,
.important-notice-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  background: var(--white);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.news-ai-result {
  grid-column: 2 / -1;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff9ef;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.important-notice-item .news-ai-result {
  grid-column: 2 / -1;
}

.news-ai-result[hidden] {
  display: none;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.news-pagination button {
  min-width: 42px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  font-weight: 900;
}

.news-pagination button.active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

.news-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.important-notice-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(160px, auto) auto;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.important-notice-item:first-child {
  border-top: 0;
}

.important-notice-item span,
.important-notice-item small {
  color: var(--muted);
  font-size: 14px;
}

.important-notice-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.important-notice-main strong {
  font-size: 17px;
  line-height: 1.25;
}

.important-notice-main p {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.4;
}

.important-notice-actions {
  display: grid;
  gap: 8px;
  justify-items: stretch;
  min-width: 190px;
}

.important-notice-item a,
.important-notice-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
  justify-self: stretch;
  white-space: nowrap;
}

.important-notice-item a:hover,
.important-notice-actions button:hover {
  border-color: var(--blue);
  background: #eef4fb;
}

.page-view[data-view="/neu-in-bornheim"] .radar-hero,
.page-view[data-view="/termine"] .radar-hero {
  padding-top: 48px;
  padding-bottom: 36px;
}

.page-view[data-view="/neu-in-bornheim"] .radar-hero h1,
.page-view[data-view="/termine"] .radar-hero h1 {
  font-size: clamp(42px, 7vw, 76px);
}

.topic-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip-row .public-topic-card {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--orange) var(--topic-heat, 8%), #fff);
  color: var(--ink);
  font-weight: 800;
}

.topic-chip-row .topic-icon,
.topic-chip-row .public-topic-card strong {
  display: none;
}

.local-news-side .public-map {
  min-height: 260px;
}

.local-news-filter {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.local-news-filter summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--blue);
  font-weight: 900;
}

.local-news-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
  align-items: end;
}

.local-news-filter-grid select,
.local-news-filter-grid input,
.local-news-filter-grid button {
  width: 100%;
}

.local-news-search {
  grid-column: span 2;
}

.compact-news-list {
  display: grid;
  gap: 10px;
}

.compact-news-item {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.compact-news-list .city-news-card {
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.compact-news-list .city-news-card > img {
  display: none;
}

.compact-news-list .city-news-card h3 {
  font-size: 16px;
}

.compact-news-list .city-news-card p {
  font-size: 14px;
}

.compact-news-item p {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.4;
}

.compact-news-item .summary-disclaimer,
.compact-news-list .city-news-card .summary-disclaimer {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.compact-news-item span,
.compact-news-item small {
  color: var(--muted);
  font-size: 13px;
}

.compact-news-item a,
.text-link {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.compact-news-item a {
  justify-self: start;
  padding: 0;
}

.source-status-compact {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.source-status-compact h4 {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.source-status-compact p,
.source-status-panel p {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 2px 0;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.25;
}

.source-status-compact strong,
.source-status-panel strong {
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.source-status-compact span,
.source-status-panel span {
  white-space: nowrap;
}

.termine-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.termine-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-top: 14px;
}

.termine-date-control {
  width: min(260px, 100%);
}

.termine-topic-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.local-news-topic-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.termine-row,
.termine-list .city-news-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.termine-list .city-news-card > img {
  display: none;
}

.termine-date {
  display: grid;
  align-content: start;
  gap: 4px;
  color: var(--muted);
}

.termine-date strong {
  color: var(--orange);
  font-size: 20px;
}

.public-topic-card.active,
.location-list button.active {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 2px var(--orange);
}

.public-filter-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.public-filter-head span {
  color: var(--orange);
  font-weight: 900;
  text-transform: uppercase;
}

.public-filter-head strong {
  color: var(--ink);
  font-weight: 800;
}

.public-filters {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.council-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin: 0 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: #fff;
}

.council-search label {
  display: grid;
  gap: 6px;
}

.council-search span {
  color: var(--ink);
  font-weight: 900;
}

.council-search input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d6ded8;
  border-radius: 6px;
  padding: 10px 12px;
  font: inherit;
  font-weight: 700;
}

.council-search button {
  min-width: 150px;
  min-height: 46px;
  padding: 10px 18px;
  background: var(--orange);
}

.public-filters select,
.public-filters input,
.public-filters button,
.public-filters .multi-select {
  width: 100%;
  max-width: 100%;
}

.public-filters .help-button {
  width: 24px;
  max-width: 24px;
  min-height: 24px;
  padding: 0;
}

.public-filter-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  grid-column: span 2;
}

.document-type-field {
  display: grid;
  gap: 6px;
  position: relative;
}

.document-type-field .multi-select summary {
  border-color: #d6ded8;
  background: #fbfcfa;
}

.multi-select {
  position: relative;
}

.multi-select summary {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
}

.multi-select-options {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 6px;
  width: min(320px, 84vw);
  max-height: 280px;
  padding: 10px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(23, 32, 51, 0.16);
}

.multi-select:not([open]) .multi-select-options {
  display: none;
}

.multi-select-options label {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 32px;
  font-size: 14px;
  font-weight: 700;
}

.multi-select-options input {
  min-height: 18px;
  width: 18px;
  padding: 0;
  accent-color: var(--orange);
}

.overview-layout,
.two-column,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.overview-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.placeholder-box,
.subscription-panel,
.stat-grid article,
.overview-layout > section,
.info-grid article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.subscription-panel {
  max-width: 1120px;
}

.subscription-form {
  display: grid;
  gap: 18px;
}

.subscription-form > label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.subscription-form input[type="email"] {
  width: min(100%, 520px);
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.subscription-choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.subscription-choice-grid fieldset {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.subscription-choice-grid legend {
  padding: 0 6px;
  font-size: 18px;
  font-weight: 900;
}

.subscription-option {
  cursor: pointer;
}

.subscription-topic-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subscription-topic-card {
  min-height: 86px;
  padding: 14px;
}

.subscription-topic-card input,
.subscription-district-option input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.subscription-topic-card.active,
.subscription-topic-card:has(input:checked) {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 2px var(--orange);
}

.subscription-topic-card:focus-within,
.subscription-district-option:focus-within {
  outline: 3px solid rgba(242, 145, 0, 0.28);
  outline-offset: 2px;
}

.subscription-location-list {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.subscription-district-option {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.subscription-district-option.active,
.subscription-district-option:has(input:checked) {
  border-color: var(--orange);
  background: color-mix(in srgb, var(--orange) 14%, #fff);
}

.subscription-district-option strong {
  color: var(--muted);
  font-size: 13px;
}

.subscription-district-option i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background: var(--orange);
}

.subscription-consent {
  margin-top: 0;
}

.subscription-form > button {
  justify-self: start;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: 7px;
  background: var(--orange);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.subscription-teaser {
  margin-top: 18px;
}

.project-copy {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.project-copy article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-copy h2 {
  font-size: 24px;
}

.project-copy p,
.project-copy li {
  color: var(--muted);
}

.project-copy ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.legal-copy {
  display: grid;
  gap: 16px;
  max-width: 900px;
}

.legal-copy article {
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-copy h2 {
  font-size: 24px;
}

.legal-copy p {
  color: var(--muted);
}

.legal-copy a {
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 22px;
  align-items: center;
  margin: 36px min(5vw, 56px) 0;
  padding: 20px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label,
.contact-captcha {
  display: grid;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-captcha {
  grid-template-columns: minmax(160px, 1fr) minmax(140px, 180px) auto;
  align-items: end;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.contact-captcha span,
.contact-form label > span {
  color: var(--ink);
  font-weight: 800;
}

.contact-checkbox {
  grid-template-columns: 22px 1fr;
  align-items: start;
}

.contact-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--orange);
}

.contact-actions {
  display: flex;
  justify-content: flex-end;
}

.contact-actions button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-actions button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.contact-status {
  min-height: 24px;
  margin: 0;
  font-weight: 800;
}

.contact-status.success {
  color: var(--green);
}

.contact-status.error {
  color: #9f2f24;
}

.followup-card {
  max-height: min(88vh, 920px);
  overflow: auto;
}

.followup-card > p {
  color: var(--muted);
}

.notice-box,
.form-privacy-note,
.followup-source {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff9ef;
}

.followup-source {
  display: grid;
  gap: 4px;
  margin: 14px 0;
  background: var(--paper);
  overflow-wrap: anywhere;
}

.followup-source strong,
.followup-source span {
  display: block;
}

.form-privacy-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.followup-open-button {
  background: var(--orange);
  color: var(--white);
}

.terms-consent-dialog {
  width: min(620px, calc(100vw - 32px));
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
}

.terms-consent-dialog::backdrop {
  background: rgba(23, 32, 51, 0.48);
}

.terms-consent-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--orange);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(23, 32, 51, 0.22);
}

.terms-consent-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.terms-consent-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.terms-consent-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}

.terms-consent-actions button,
.secondary-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.terms-consent-actions .primary {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

.secondary-link-button {
  background: var(--white);
  color: var(--blue);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.stat-grid strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 26px;
}

.topic-list,
.location-list {
  display: grid;
  gap: 10px;
}

.topic-list {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

#overview-topics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.local-news-topic-list,
.termine-topic-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-list.subscription-topic-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.topic-list button,
.location-list button,
.selector-row button,
.topic-chips button {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: left;
}

.topic-list .public-topic-card {
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 10px;
  min-height: 86px;
  background: color-mix(in srgb, var(--orange) var(--topic-heat, 10%), #fff);
}

.topic-list .public-topic-card.active {
  border-color: var(--orange);
  box-shadow: inset 0 0 0 2px var(--orange);
}

.topic-clear,
.location-clear {
  position: absolute;
  top: 8px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: white;
  background: var(--orange);
  font-size: 18px;
  line-height: 1;
}

.topic-list .topic-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 23px;
}

.topic-list .public-topic-card strong {
  color: var(--muted);
  font-size: 12px;
}

.location-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.location-panel-head h3 {
  margin-bottom: 0;
}

.segmented-control {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(76px, 1fr));
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.segmented-control button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-size: 14px;
}

.segmented-control button.active {
  color: white;
  background: var(--orange);
}

.topic-list button i,
.location-list button i {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background: var(--orange);
}

.public-map {
  position: relative;
  z-index: 0;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.grouped-documents {
  margin-top: 10px;
}

.grouped-documents summary {
  width: fit-content;
  cursor: pointer;
  color: var(--blue);
  font-weight: 850;
}

.grouped-document-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.grouped-document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.grouped-document-row strong,
.grouped-document-row small {
  display: block;
}

.grouped-primary-badge {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #8a5600;
  background: #ffe5b8;
  vertical-align: middle;
}

.grouped-document-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.grouped-document-row a,
.grouped-document-row button {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 7px;
  white-space: nowrap;
  font-size: 13px;
}

.public-more-button {
  display: block;
  margin: 18px auto 0;
}

.public-map .leaflet-pane,
.public-map .leaflet-top,
.public-map .leaflet-bottom {
  z-index: 1;
}

.location-view[hidden] {
  display: none;
}

.public-documents-panel {
  margin-top: 18px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.public-document-list {
  display: grid;
  gap: 10px;
}

.public-document-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.public-document-row strong,
.public-document-row small {
  display: block;
}

.public-document-row small {
  color: var(--muted);
}

.public-document-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 11px;
  color: white;
  background: var(--blue);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 800;
}

.public-document-row button {
  min-height: 38px;
  padding: 8px 11px;
  background: var(--blue);
}

.public-document-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.public-document-actions .secondary-button {
  background: var(--orange);
}

.document-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 28px;
}

.document-overlay[hidden] {
  display: none;
}

.document-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 32, 51, 0.34);
  backdrop-filter: blur(3px);
}

.document-overlay-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1120px, calc(100vw - 42px));
  height: min(860px, calc(100vh - 42px));
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.document-overlay-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.document-overlay-header h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.document-overlay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.document-overlay-actions a,
.document-overlay-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  text-decoration: none;
  font-weight: 800;
}

.document-overlay-actions button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.document-ai-summary {
  flex: 0 0 auto;
  max-height: 260px;
  overflow: auto;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #fff9ef;
}

.document-ai-summary[hidden] {
  display: none;
}

.document-ai-summary-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.document-ai-summary-head span {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

#document-ai-text {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.55;
  white-space: pre-wrap;
}

#document-overlay-frame {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: auto;
  border: 0;
  background: var(--paper);
}

body.no-scroll {
  overflow: hidden;
}

.selector-row,
.legal-links,
.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0 4px;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  font-weight: 800;
}

.legal-links a.active {
  color: var(--orange);
  border-color: var(--orange);
}

.empty-state {
  padding: 22px;
  background: var(--white);
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
}

dialog {
  width: min(760px, calc(100% - 24px));
  border: 0;
  border-radius: 8px;
  padding: 0;
}

dialog::backdrop {
  background: rgba(23, 32, 51, 0.48);
}

.detail-card {
  padding: 24px;
}

.event-tip-card p {
  color: var(--muted);
}

.event-tip-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.event-tip-form textarea {
  min-height: 110px;
  resize: vertical;
}

.document-type-help-card > p {
  color: var(--muted);
}

.explain-list {
  margin: 18px 0 0;
}

.explain-list div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.explain-list dt {
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 900;
}

.explain-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.explain-list dd span {
  display: inline-block;
  margin-top: 6px;
  color: var(--ink);
  font-weight: 800;
}

.close-button {
  float: right;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

dl {
  display: grid;
  gap: 12px;
}

dt {
  font-weight: 800;
}

dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.legal {
  margin-bottom: 40px;
}

.cms-panel {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cms-list {
  display: grid;
  gap: 10px;
}

.cms-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.cms-row input {
  min-height: 20px;
  width: 20px;
  padding: 0;
  accent-color: var(--orange);
}

.cms-row small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

@media (max-width: 820px) {
  .radar-header,
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .radar-header {
    gap: 14px;
    padding: 16px min(5vw, 22px);
  }

  .radar-brand {
    font-size: 19px;
    gap: 5px;
  }

  .radar-brand img {
    height: 17px;
    max-width: 134px;
  }

  nav {
    width: 100%;
    gap: 9px 13px;
    justify-content: flex-start;
  }

  nav a {
    font-size: 13px;
    line-height: 1.15;
  }

  nav a.nav-cta {
    min-height: 31px;
    padding: 5px 10px;
    margin-top: 0;
  }

  .dialect-toggle {
    flex: 0 0 158px;
    min-width: 158px;
    min-height: 26px;
    margin: 0 0 0 auto;
    font-size: 10px;
  }

  .dialect-toggle-option {
    padding: 4px 5px;
  }

  .public-user-menu {
    margin-left: 0;
  }

  .public-user-dropdown {
    left: auto;
    right: 0;
  }

  .radar-search,
  .council-search,
  .public-filters,
  .local-news-filter-grid,
  .external-press-grid,
  .filter-overview-grid,
  .local-news-layout,
  .overview-layout,
  .two-column,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .news-date-control {
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
  }

  .termine-toolbar-row,
  .termine-date-control {
    align-items: stretch;
    width: 100%;
  }

  .public-filter-head,
  .location-panel-head,
  .public-filter-actions {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .location-panel-head {
    align-items: stretch;
  }

  .local-news-search,
  .public-filter-actions {
    grid-column: span 1;
  }

  .council-search button {
    width: 100%;
    min-width: 0;
  }

  .multi-select-options {
    left: 0;
    right: auto;
    width: min(100%, 84vw);
  }

  .public-document-row {
    grid-template-columns: 1fr;
  }

  #overview-topics {
    grid-template-columns: 1fr;
  }

  .local-news-topic-list,
  .termine-topic-list,
  .topic-list.subscription-topic-list {
    grid-template-columns: 1fr;
  }

  .contact-captcha {
    grid-template-columns: 1fr;
  }

  .news-list-item,
  .termine-row,
  .termine-list .city-news-card {
    grid-template-columns: 1fr;
  }

  .news-feed-head {
    align-items: stretch;
  }

  .news-date-sort {
    width: 100%;
  }

  .news-ai-result {
    grid-column: 1 / -1;
  }

  .important-notice-item {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }

  .important-notice-main {
    grid-column: 1 / -1;
  }

  .news-list-actions,
  .news-list-item > a,
  .important-notice-item a {
    justify-self: start;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .subscription-choice-grid {
    grid-template-columns: 1fr;
  }
}
