#boereinfo-app {
  max-width: 960px;
  margin: 24px auto;
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: #2a2519;
  color-scheme: light;
  --bi-control-height: 40px;
  --bi-control-font-size: 14px;
  container-type: inline-size;
}

#boereinfo-app .bi-community-overlay {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#boereinfo-app .bi-community-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.55);
}

#boereinfo-app .bi-community-overlay-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #f7f3ea;
  border: 1px solid #d7cdb9;
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(15, 20, 30, 0.35);
  padding: 18px;
}

#boereinfo-app .bi-community-overlay-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

#boereinfo-app .bi-community-overlay-head h3 {
  margin: 0;
  line-height: 1.25;
}

#boereinfo-app .bi-community-overlay-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

#boereinfo-app .bi-community-overlay-meta-item {
  font-size: 13px;
  color: #5f5a4d;
}

#boereinfo-app .bi-community-overlay-content {
  border: 1px solid #ddd2bc;
  border-radius: 12px;
  background: #fffdf7;
  padding: 14px;
  color: #2d2a20;
  line-height: 1.55;
  margin-bottom: 12px;
}

#boereinfo-app .bi-community-overlay-content > :first-child {
  margin-top: 0;
}

#boereinfo-app .bi-community-overlay-content > :last-child {
  margin-bottom: 0;
}

#boereinfo-app .bi-community-overlay-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 760px) {
  #boereinfo-app .bi-community-overlay {
    padding: 0;
  }

  #boereinfo-app .bi-community-overlay-dialog {
    width: 100vw;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    border: 0;
    padding: 14px;
  }
}

#boereinfo-app .bi-dwd-content {
  display: grid;
  gap: 12px;
}

#boereinfo-app .bi-dwd-module-html .dwdkbbk {
  margin: 0;
}

#boereinfo-app .bi-dwd-content .dwdkbbk-card {
  background: #f4efe4;
  border: 1px solid #ddd2bc;
  box-shadow: none;
}

/* DWD: immer helles Farbschema erzwingen (unabhängig von System-/Browser-Dark-Mode). */
#boereinfo-app .bi-dwd-module-html .dwdkbbk,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk {
  color: #0f1f3a !important;
}

#boereinfo-app .bi-dwd-footnote {
  margin: 8px 4px 0;
  font-size: 12px;
  line-height: 1.4;
  color: #5d6476;
}

#boereinfo-app .bi-dwd-footnote--inside {
  margin: 10px 16px 2px;
  padding-top: 8px;
  border-top: 1px dashed #d4dbc8;
  color: #56625c;
}

#boereinfo-app .bi-uv-night-tile .dwdkbbk-uv-value strong {
  color: #1f2f4c !important;
}

#boereinfo-app .bi-uv-night-tile .dwdkbbk-uv-value span {
  color: #2f3e61 !important;
}

#boereinfo-app .bi-uv-night-note {
  margin: 8px 0 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d5def0;
  background: #f4f7ff;
  color: #3d4f76 !important;
  font-size: 12px;
  line-height: 1.35;
}

#boereinfo-app .bi-dwd-module-html .dwdkbbk-card,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-card,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-warning-item,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-item,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-health-tile,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-health-tile,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-warning-area,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-area,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-bbk-area,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-bbk-area,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-table-wrap,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-table-wrap,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-table thead th,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-table thead th,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-table tbody th,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-table tbody th,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-legend,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-legend {
  background: #fbfdff !important;
  border-color: #dfe7f3 !important;
}

#boereinfo-app .bi-dwd-module-html .dwdkbbk th,
#boereinfo-app .bi-dwd-module-html .dwdkbbk td,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk th,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk td {
  border-color: #e6edf7 !important;
}

#boereinfo-app .bi-dwd-module-html .dwdkbbk-warning-item h4,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-item h4,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-title h3,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-title h3,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-head strong,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-head strong,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-name,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-name,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-legend-item strong,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-legend-item strong,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-health-label,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-health-label,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-uv-value strong,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-uv-value strong,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-uv-value span,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-uv-value span,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-heat-status strong,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-heat-status strong {
  color: #071b38 !important;
}

#boereinfo-app .bi-dwd-module-html .dwdkbbk-muted,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-muted,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-source,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-source,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-title p,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-title p,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-axis,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-axis,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-legend-item small,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-legend-item small,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-name-text small,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-name-text small,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-warning-meta,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-meta,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-warning-place,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-place,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-warning-time,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-time,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-warning-desc,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-desc,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-warning-instruction,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-instruction,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-scope,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-scope,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-scope span,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-scope span,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-scope-id,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-scope-id,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-warning-cell,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-cell,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-health-tile p,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-health-tile p,
#boereinfo-app .bi-dwd-module-html .dwdkbbk-uv-axis span,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-uv-axis span {
  color: #4c6388 !important;
}

/* Nur DWD-Wetterwarnungen: farbiger Rahmen nach DWD-Warnstufe (Fallback, falls Plugin-Stile fehlen). */
#boereinfo-app .bi-dwd-module-html[data-dwd-module-key="dwd_alerts"] .dwdkbbk-warning-item,
#boereinfo-app .bi-dwd-dashboard-content[data-dwd-module-key="dwd_alerts"] .dwdkbbk-warning-item {
  --bi-dwd-alert-border: #ffeb3b;
  --bi-dwd-alert-bg: #fffbe3;
  border: 1px solid var(--bi-dwd-alert-border) !important;
  border-left-width: 6px !important;
  border-left-style: solid !important;
  border-left-color: var(--bi-dwd-alert-border) !important;
  background: var(--bi-dwd-alert-bg) !important;
  border-radius: 14px !important;
}

#boereinfo-app
  .bi-dwd-module-html[data-dwd-module-key="dwd_alerts"]
  .dwdkbbk-warning-item[data-dwd-alert-level="pre"],
#boereinfo-app
  .bi-dwd-dashboard-content[data-dwd-module-key="dwd_alerts"]
  .dwdkbbk-warning-item[data-dwd-alert-level="pre"] {
  --bi-dwd-alert-border: #ff8080;
  --bi-dwd-alert-bg: #fff0f0;
}

#boereinfo-app
  .bi-dwd-module-html[data-dwd-module-key="dwd_alerts"]
  .dwdkbbk-warning-item[data-dwd-alert-level="1"],
#boereinfo-app
  .bi-dwd-dashboard-content[data-dwd-module-key="dwd_alerts"]
  .dwdkbbk-warning-item[data-dwd-alert-level="1"] {
  --bi-dwd-alert-border: #ffeb3b;
  --bi-dwd-alert-bg: #fffbe3;
}

#boereinfo-app
  .bi-dwd-module-html[data-dwd-module-key="dwd_alerts"]
  .dwdkbbk-warning-item[data-dwd-alert-level="2"],
#boereinfo-app
  .bi-dwd-dashboard-content[data-dwd-module-key="dwd_alerts"]
  .dwdkbbk-warning-item[data-dwd-alert-level="2"] {
  --bi-dwd-alert-border: #fb8c00;
  --bi-dwd-alert-bg: #fff4e6;
}

#boereinfo-app
  .bi-dwd-module-html[data-dwd-module-key="dwd_alerts"]
  .dwdkbbk-warning-item[data-dwd-alert-level="3"],
#boereinfo-app
  .bi-dwd-dashboard-content[data-dwd-module-key="dwd_alerts"]
  .dwdkbbk-warning-item[data-dwd-alert-level="3"] {
  --bi-dwd-alert-border: #e53935;
  --bi-dwd-alert-bg: #fff0f0;
}

#boereinfo-app
  .bi-dwd-module-html[data-dwd-module-key="dwd_alerts"]
  .dwdkbbk-warning-item[data-dwd-alert-level="4"],
#boereinfo-app
  .bi-dwd-dashboard-content[data-dwd-module-key="dwd_alerts"]
  .dwdkbbk-warning-item[data-dwd-alert-level="4"] {
  --bi-dwd-alert-border: #880e4f;
  --bi-dwd-alert-bg: #f9eef6;
}

/* Warnlagen: DWD "keine Warnung" optisch an BBK-Statuskarte angleichen */
#boereinfo-app .bi-dwd-content .dwdkbbk-warning-card .dwdkbbk-ok,
#boereinfo-app .bi-dwd-content .dwdkbbk-bbk-card .dwdkbbk-bbk-clear {
  margin: 0;
  border: 1px solid #cfe8d4;
  border-left: 6px solid #22c55e;
  border-radius: 16px;
  background: linear-gradient(180deg, #f6fff7, #ffffff);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.08);
}

#boereinfo-app .bi-dwd-content .dwdkbbk-warning-card .dwdkbbk-ok {
  color: #1b5830;
  padding: 16px 16px 16px 48px;
  font-weight: 700;
  line-height: 1.4;
  position: relative;
}

#boereinfo-app .bi-dwd-content .dwdkbbk-warning-card .dwdkbbk-ok::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #2db85d;
  box-shadow: 0 0 0 6px rgba(45, 184, 93, 0.15);
  transform: translateY(-50%);
}

#boereinfo-app .bi-dwd-content .dwdkbbk-bbk-card .dwdkbbk-bbk-clear {
  padding: 16px;
}

#boereinfo-app .bi-dwd-content .dwdkbbk-bbk-card .dwdkbbk-bbk-clear,
#boereinfo-app .bi-dwd-content .dwdkbbk-bbk-card .dwdkbbk-bbk-clear strong {
  opacity: 1 !important;
  color: #1b5830 !important;
  font-weight: 700;
}

#boereinfo-app .bi-dwd-content .dwdkbbk-bbk-card .dwdkbbk-bbk-clear p {
  color: #2f6440 !important;
}

/* UV/Hitze: Koordinatenzeile im Scope ausblenden */
#boereinfo-app
  .bi-dwd-content
  .dwdkbbk-health-card
  .dwdkbbk-scope
  .dwdkbbk-scope-id {
  display: none;
}

#boereinfo-app .bi-dwd-dashboard-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

#boereinfo-app .bi-dwd-dashboard-list li {
  padding: 6px 0 8px;
  border-bottom: 1px dashed #d7ccb6;
}

#boereinfo-app .bi-dwd-dashboard-list li:last-child {
  border-bottom: 0;
}

#boereinfo-app .bi-dwd-dashboard-list > li > strong {
  display: block;
  margin-bottom: 2px;
  color: #5f5744;
  font-size: 14px;
}

#boereinfo-app .bi-dwd-dashboard-list > li > .bi-dwd-dashboard-content {
  color: #2a2519;
}

#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-list {
  margin: 0;
}

#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk {
  margin: 0;
}

#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-warning-item {
  margin: 0;
}

#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-table-wrap {
  border-radius: 12px;
}

#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-table thead th {
  padding-top: 0.7rem;
  padding-bottom: 0.45rem;
}

#boereinfo-app .bi-dwd-module-html .dwdkbbk-pollen-table thead th,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-table thead th {
  background: linear-gradient(180deg, #eef4ff 0%, #e7effc 100%) !important;
  border-bottom: 1px solid #cfdbef !important;
  color: #233a5c !important;
  font-weight: 700;
}

#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-table tbody th,
#boereinfo-app .bi-dwd-dashboard-content .dwdkbbk-pollen-table tbody td {
  padding-top: 0.55rem;
}

#boereinfo-app
  .bi-dwd-module-html
  .dwdkbbk-pollen-table
  td.bi-pollen-cell-active,
#boereinfo-app
  .bi-dwd-dashboard-content
  .dwdkbbk-pollen-table
  td.bi-pollen-cell-active {
  font-weight: 700;
}

#boereinfo-app
  .bi-dwd-module-html
  .dwdkbbk-pollen-table
  td.bi-pollen-cell-level-low,
#boereinfo-app
  .bi-dwd-dashboard-content
  .dwdkbbk-pollen-table
  td.bi-pollen-cell-level-low {
  background: #f6fbef !important;
  box-shadow: inset 0 0 0 1px #dbe9c6;
}

#boereinfo-app
  .bi-dwd-module-html
  .dwdkbbk-pollen-table
  td.bi-pollen-cell-level-medium,
#boereinfo-app
  .bi-dwd-dashboard-content
  .dwdkbbk-pollen-table
  td.bi-pollen-cell-level-medium {
  background: #fff6e7 !important;
  box-shadow: inset 0 0 0 1px #ecd6ab;
}

#boereinfo-app
  .bi-dwd-module-html
  .dwdkbbk-pollen-table
  td.bi-pollen-cell-level-high,
#boereinfo-app
  .bi-dwd-dashboard-content
  .dwdkbbk-pollen-table
  td.bi-pollen-cell-level-high {
  background: #fdecec !important;
  box-shadow: inset 0 0 0 1px #e7b8b8;
  color: #7a2424 !important;
}

#boereinfo-app .bi-dwd-dashboard-note {
  margin: 0;
  color: #5f5744;
}

#boereinfo-app .bi-dwd-dashboard-empty {
  border: 1px solid #d5dfcf;
  border-radius: 12px;
  background: linear-gradient(180deg, #f6fbf3 0%, #f0f8eb 100%);
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

#boereinfo-app .bi-dwd-dashboard-empty strong {
  color: #2e5d33;
  font-size: 14px;
}

#boereinfo-app .bi-dwd-dashboard-empty span {
  color: #4f654f;
  font-size: 13px;
  line-height: 1.35;
}

.bi-card {
  background: #f4efe4;
  border: 1px solid #e0d8c8;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
}

.bi-card > h3,
.bi-card-head h3 {
  margin: 0 0 10px;
  line-height: 1.25;
  flex: 1 1 auto;
  min-width: 0;
}

.bi-card-head h3 {
  margin-bottom: 0;
}

.bi-tab-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bi-tab-title-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
}

.bi-tab-title-icon .bi-btn-icon {
  width: 40px;
  height: 40px;
}

.bi-tab-title-icon .bi-btn-icon svg,
.bi-tab-title-icon .bi-btn-icon img {
  width: 40px;
  height: 40px;
  display: block;
}

.bi-tab-teaser {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid #e4dac5;
  border-radius: 10px;
  background: linear-gradient(180deg, #fffdf7 0%, #f7f2e7 100%);
}

.bi-tab-teaser p {
  margin: 0;
  color: #5f5744;
  font-size: 14px;
  line-height: 1.45;
}

.bi-tab-teaser p + p {
  margin-top: 6px;
}

.bi-teaser-link-btn-wrap {
  display: block;
  margin-top: 8px;
}

.bi-teaser-link-btn-wrap .bi-kurier-link-btn {
  margin-left: 0;
}

.bi-teaser-link-icon-sample {
  display: inline-flex;
  vertical-align: text-bottom;
  margin: 0 3px;
  width: 16px;
  height: 16px;
  color: #1f5f2b;
}

.bi-teaser-link-icon-sample svg {
  width: 16px;
  height: 16px;
  display: block;
}

.bi-info-grid {
  display: grid;
  gap: 12px;
}

.bi-info-block {
  border: 1px solid #ddd2bc;
  border-radius: 12px;
  background: #fbf8f1;
  padding: 12px 14px;
}

.bi-info-block h4 {
  margin: 0 0 8px;
  line-height: 1.3;
}

.bi-info-block p:last-child {
  margin-bottom: 0;
}

.bi-info-list {
  margin: 6px 0 10px;
  padding-left: 20px;
}

.bi-info-list li + li {
  margin-top: 4px;
}

.bi-dashboard-grid {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bi-dashboard-column {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.bi-dashboard-block {
  border: 1px solid #ddd2bc;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffaf0 0%, #fbf7ee 100%);
  padding: 12px 14px;
}

.bi-dashboard-block--messages {
  border-color: #d7c69e;
  background: linear-gradient(180deg, #fff8e6 0%, #fbf2dc 100%);
}

.bi-dashboard-block--waste {
  border-color: #c8d5ea;
  background: linear-gradient(180deg, #edf5ff 0%, #e6f0fd 100%);
}

.bi-dashboard-block--news {
  border-color: #c6d8b1;
  background: linear-gradient(180deg, #f4faec 0%, #ecf6df 100%);
}

.bi-dashboard-block--warnings {
  border-color: #d6c6ad;
  background: linear-gradient(180deg, #fbf7ee 0%, #f6f1e5 100%);
}

.bi-dashboard-block--weather {
  border-color: #b9d7d9;
  background: linear-gradient(180deg, #eef8f9 0%, #e7f3f4 100%);
}

.bi-dashboard-block--astronomy {
  border-color: #cbbfe3;
  background: linear-gradient(180deg, #f4f2fd 0%, #ece9fb 100%);
}

.bi-dashboard-block--bus {
  border-color: #c4d3ea;
  background: linear-gradient(180deg, #f2f7ff 0%, #e9f1fd 100%);
}

.bi-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: -4px -6px 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(138, 107, 16, 0.22);
  background: rgba(255, 255, 255, 0.58);
}

.bi-dashboard-head-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bi-dashboard-head-title .bi-btn-icon {
  width: 18px;
  height: 18px;
}

.bi-dashboard-head-title .bi-btn-icon svg {
  width: 18px;
  height: 18px;
}

.bi-dashboard-title-transport-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

.bi-dashboard-title-transport-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bi-dashboard-head h4 {
  margin: 0;
  line-height: 1.25;
  font-size: 15px;
  color: #423723;
}

.bi-dashboard-tab-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid #c1b392;
  background: #f4ead3;
  color: #4b3f25;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.bi-dashboard-tab-link .bi-btn-icon {
  width: 14px;
  height: 14px;
}

.bi-dashboard-tab-link .bi-btn-icon svg {
  width: 14px;
  height: 14px;
}

.bi-dashboard-tab-link:hover {
  background: #eadcbf;
  color: #3d331d;
}

.bi-dashboard-tab-link:focus-visible {
  outline: 2px solid #8a6b10;
  outline-offset: 1px;
}

.bi-weather-source {
  font-size: 12px;
  color: #4f6b6d;
  background: #f1fbfc;
  border: 1px solid #c7e1e4;
  border-radius: 999px;
  padding: 2px 8px;
}

.bi-weather-current {
  display: grid;
  grid-template-columns: minmax(128px, 172px) 1fr;
  gap: 10px;
  align-items: start;
  margin-bottom: 8px;
}

.bi-weather-icon svg,
.bi-weather-day-icon svg {
  width: 44px;
  height: 44px;
  display: block;
}

.bi-weather-hero {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 2px;
}

.bi-weather-temp-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bi-weather-temp {
  font-size: 40px;
  line-height: 1.05;
  color: #1f4d53;
  letter-spacing: -0.02em;
}

.bi-weather-temp-row .bi-weather-icon svg {
  width: 36px;
  height: 36px;
}

.bi-weather-summary {
  font-size: 18px;
  font-weight: 700;
  color: #2a4f56 !important;
}

.bi-weather-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
  margin-top: 0;
}

.bi-weather-fact {
  font-size: 14px;
  line-height: 1.25;
  color: #3f5c61;
  border: 1px solid #c8dfe2;
  border-radius: 8px;
  background: #f5fcfc;
  padding: 4px 8px;
}

.bi-weather-fact--wet {
  font-weight: 700;
  color: #205f6d;
  background: #eaf8fa;
  border-color: #b7d9de;
}

.bi-weather-history {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.bi-weather-chart {
  border: 1px solid #c8dfe2;
  border-radius: 10px;
  background: #f6fcfc;
  padding: 7px 8px;
}

.bi-weather-chart-title {
  font-size: 12px;
  font-weight: 700;
  color: #335a62;
}

.bi-weather-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 4px;
}

.bi-weather-chart-extrema {
  display: grid;
  gap: 2px;
  font-size: 11px;
  color: #43666e;
  text-align: right;
  white-space: nowrap;
}

.bi-weather-chart-svg {
  width: 100%;
  height: 74px;
  display: block;
}

.bi-weather-chart-range {
  margin-top: 3px;
  font-size: 11px;
  color: #5f7b80;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.bi-weather-chart-range-from {
  text-align: left;
}

.bi-weather-chart-range-to {
  text-align: right;
}

.bi-weather-chart-empty {
  font-size: 12px;
  color: #5f7b80;
  min-height: 74px;
  display: grid;
  align-items: center;
  justify-items: center;
}

.bi-weather-history-note {
  margin: 8px 0 10px;
  font-size: 12px;
  color: #4f6b6d;
}

.bi-weather-forecast {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.bi-weather-day {
  border: 1px solid #d8d2bf;
  border-radius: 10px;
  background: linear-gradient(180deg, #faf7ef 0%, #f4f0e4 100%);
  padding: 7px 6px;
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}

.bi-weather-day-name {
  font-size: 12px;
  font-weight: 700;
  color: #4d4a3a;
}

.bi-weather-day-icon svg {
  width: 28px;
  height: 28px;
}

.bi-weather-day-temp {
  font-size: 12px;
  font-weight: 700;
  color: #4a4b3c;
}

.bi-weather-day-text {
  font-size: 11px;
  color: #66624f;
  line-height: 1.25;
}

.bi-weather-day-rain {
  font-size: 11px;
  color: #66624f;
}

.bi-weather-meta {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #c8dfe2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 11px;
  color: #566c70;
}

.bi-weather-meta a {
  color: #2b6972;
  text-decoration: none;
  border-bottom: 1px dotted rgba(43, 105, 114, 0.45);
}

.bi-weather-meta a:hover {
  color: #1f5660;
  border-bottom-color: rgba(31, 86, 96, 0.65);
}

.bi-astro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.bi-astro-card {
  border: 1px solid #d4cde7;
  border-radius: 10px;
  background: #fbfaff;
  padding: 8px 9px;
  display: grid;
  gap: 6px;
}

.bi-astro-card strong {
  font-size: 13px;
  color: #3e3456;
}

.bi-astro-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #564b73;
}

.bi-astro-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bi-astro-icon svg {
  width: 52px;
  height: 52px;
  display: block;
}

.bi-astro-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.bi-astro-time {
  font-weight: 700;
  color: #3b3255;
}

.bi-astro-phase {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid #d8d0ea;
  background: #f8f6ff;
  padding: 6px 12px;
  font-size: 14px;
  color: #473c63;
}

.bi-astro-phase-icon {
  font-size: 26px;
  line-height: 1;
}

.bi-astro-phase-label {
  font-weight: 600;
}

.bi-dashboard-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.bi-dashboard-combined-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bi-dashboard-combined-list h5 {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #5a4a2e;
}

.bi-dashboard-list li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border-bottom: 1px dashed #ded4bf;
  padding-bottom: 6px;
}

.bi-dashboard-list li.bi-is-soon {
  border-radius: 8px;
  border: 1px solid #e8c76f;
  background: #fff8dc;
  padding: 6px 8px;
}

.bi-dashboard-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bi-dashboard-footnote {
  display: block;
  margin: 10px 0 0 !important;
  padding-top: 7px !important;
  border-top: 1px dotted rgba(111, 102, 79, 0.65) !important;
  color: #6f664f !important;
  font-size: 10px !important;
  line-height: 1.25 !important;
}

.bi-dashboard-date {
  color: #6f664f;
  font-size: 13px;
  white-space: nowrap;
}

.bi-dashboard-title {
  min-width: 0;
  word-break: break-word;
}

.bi-dashboard-list--waste li {
  grid-template-columns: 106px 120px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.bi-dashboard-list--waste .bi-dashboard-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.bi-dashboard-list--bus li {
  grid-template-columns: 114px minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: start;
}

.bi-dashboard-list--bus .bi-dashboard-date {
  font-weight: 400;
  color: #3f3a2b;
  white-space: normal;
  line-height: 1.25;
}

.bi-bus-time-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bi-bus-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.bi-dashboard-list--bus .bi-dashboard-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.bi-bus-line-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 2.7rem;
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid #c6d3e6;
  background: #f7fbff;
  color: #244873;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
}

.bi-bus-line-pill-text {
  white-space: nowrap;
}

.bi-bus-pill-icon-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
  transition: transform 0.16s ease;
  transform-origin: center;
}

.bi-bus-line-pill--ruftaxi {
  border-color: #e6d7b6;
  background: #fff7e7;
  color: #6d4f12;
}

.bi-bus-line-pill:hover .bi-bus-pill-icon-img,
.bi-bus-line-pill:focus-visible .bi-bus-pill-icon-img {
  transform: scale(1.35);
}

.bi-bus-direction {
  color: #2f2a1f;
  font-size: 13px;
  font-weight: 400;
}

.bi-bus-via {
  color: #6f664f;
  font-size: 12px;
}

.bi-bus-stop {
  width: 100%;
  color: #3f3a2b;
  font-size: 13px;
  font-weight: 400;
}

.bi-bus-link-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.bi-bus-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #cfdbc6;
  background: #f4faef;
  color: #345d2d;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  transition:
    transform 0.16s ease,
    background-color 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.bi-bus-link-btn:hover {
  background: #ebf6e2;
  border-color: #b9cdad;
  color: #25491f;
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 4px 10px rgba(44, 84, 37, 0.2);
}

.bi-dashboard-list--bus .bi-dashboard-weekday {
  align-items: flex-end;
  text-align: right;
  gap: 3px;
}

.bi-bus-ruftaxi-note {
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px dashed #c9d6e2;
  color: #4f5f65;
  font-size: 12px;
  line-height: 1.35;
}

.bi-bus-eta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 8px;
  background: #f2f8f2;
  border: 1px solid #d2e4d3;
  color: #315f3b;
  font-size: 12px;
  font-weight: 700;
}

.bi-bus-delay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 8px;
  background: #fff5de;
  border: 1px solid #ead5a5;
  color: #7e5b00;
  font-size: 12px;
  font-weight: 700;
}

.bi-bus-delay--late {
  background: #fff0ed;
  border-color: #e8c4bc;
  color: #8f3a2f;
}

.bi-bus-delay--early {
  background: #eef7ff;
  border-color: #c7dff5;
  color: #295f87;
}

.bi-dashboard-waste-types {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.bi-dashboard-waste-location {
  display: block;
  width: 100%;
  color: #7c3a2d;
  font-size: 12px;
  margin-top: 2px;
}

.bi-dashboard-list--waste .bi-waste-soon-badge {
  margin-left: 0;
}

.bi-dashboard-weekday {
  color: #6f664f;
  font-size: 13px;
  display: inline-flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
}

.bi-dashboard-weekday-label {
  display: inline-block;
}

.bi-waste-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid #d5ccb7;
  background: #fffaf0;
  padding: 3px 9px;
  font-size: 13px;
  line-height: 1.25;
}

.bi-waste-soon-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
  background: #f8d24f;
  color: #4d3a00;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.bi-waste-type-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  line-height: 1;
}

.bi-waste-icon {
  width: 1rem;
  height: 1rem;
  display: block;
  fill: #7a7467;
}

.bi-waste-type-pill--restmuell .bi-waste-icon,
.bi-waste-type-icon--restmuell .bi-waste-icon {
  fill: #1f1f1f;
}

.bi-waste-type-pill--restmuell_schwarz .bi-waste-icon,
.bi-waste-type-icon--restmuell_schwarz .bi-waste-icon {
  fill: #1f1f1f;
}

.bi-waste-type-pill--restmuell_blau .bi-waste-icon,
.bi-waste-type-icon--restmuell_blau .bi-waste-icon {
  fill: #0b5cab;
}

.bi-waste-type-pill--papier .bi-waste-icon,
.bi-waste-type-icon--papier .bi-waste-icon {
  fill: #9aa0a6;
}

.bi-waste-type-pill--biomuell .bi-waste-icon,
.bi-waste-type-icon--biomuell .bi-waste-icon {
  fill: #2e7d32;
}

.bi-waste-type-pill--wertstoff .bi-waste-icon,
.bi-waste-type-icon--wertstoff .bi-waste-icon {
  fill: #d1a300;
}

.bi-waste-type-pill--problemabfall .bi-waste-icon,
.bi-waste-type-icon--problemabfall .bi-waste-icon {
  fill: #c62828;
}

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

.bi-waste-months {
  display: grid;
  gap: 14px;
}

.bi-waste-month-group {
  border: 1px solid #d8cdb7;
  border-radius: 12px;
  background: #f8f3e8;
  overflow: hidden;
}

.bi-waste-month-toggle {
  list-style: none;
  margin: 0;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  background: linear-gradient(180deg, #f1e8d7 0%, #eadfcb 100%);
  color: #4f4735;
  font-weight: 700;
}

.bi-waste-month-toggle::-webkit-details-marker {
  display: none;
}

.bi-waste-month-toggle:hover {
  background: linear-gradient(180deg, #ece1cc 0%, #e5d8c1 100%);
}

.bi-waste-month-group[open] .bi-waste-month-toggle {
  border-bottom: 1px solid #d8cdb7;
}

.bi-waste-month-label {
  display: inline-block;
}

.bi-waste-month-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.bi-waste-month-count {
  font-size: 12px;
  font-weight: 600;
  color: #6a604c;
  background: #fff8ea;
  border: 1px solid #d7cab0;
  border-radius: 999px;
  padding: 2px 8px;
}

.bi-waste-month-caret {
  font-size: 14px;
  line-height: 1;
  transform: rotate(-90deg);
  transition: transform 0.18s ease;
}

.bi-waste-month-group[open] .bi-waste-month-caret {
  transform: rotate(0deg);
}

.bi-waste-month-group .bi-waste-list {
  padding: 10px 12px 12px;
}

.bi-waste-empty-month {
  margin: 0;
  color: #6f664f;
  font-size: 14px;
}

.bi-waste-item {
  border: 1px solid #ddd2bc;
  border-radius: 12px;
  background: #fbf8f1;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 140px 120px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.bi-waste-item.is-problemabfall {
  border-color: #be8a7f;
  background: #fff3f0;
}

.bi-waste-item.is-soon {
  border-color: #e0bb54;
  background: #fff8df;
}

.bi-waste-date {
  color: #6f664f;
  font-weight: 600;
}

.bi-waste-weekday {
  color: #6f664f;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.bi-waste-weekday-label {
  display: inline-block;
  line-height: 1.25;
}

.bi-waste-weekday .bi-waste-soon-badge {
  margin-left: 0;
  align-self: flex-start;
}

.bi-waste-content {
  display: grid;
  gap: 4px;
}

.bi-waste-types-line {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.bi-waste-location {
  color: #7c3a2d;
  font-size: 13px;
}

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

.bi-card-head > .bi-btn {
  margin-left: auto;
  white-space: nowrap;
}

.bi-card-head-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.bi-notify-head-btn {
  margin-left: 0;
}

.bi-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.bi-header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.bi-header img {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 56px !important;
}

#boereinfo-app .bi-crest {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 56px !important;
}

.bi-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.bi-subtitle {
  margin: 3px 0 0;
  color: #5b5446;
}

.bi-header-meta {
  margin-top: 6px;
  display: grid;
  gap: 5px;
}

.bi-header-meta-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bi-header-date,
.bi-header-time {
  margin: 0;
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #d6ccb7;
  background: #f8f3e7;
  color: #5a4d37;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.bi-header-time {
  border-color: #c9d9cf;
  background: #edf6f0;
  color: #35503e;
}

.bi-header-holiday {
  margin: 0;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #efd29f;
  background: #fff3da;
  color: #6a4c14;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.bi-header-holiday[hidden] {
  display: none !important;
}

.bi-userbox {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.bi-userline {
  font-size: 14px;
  color: #5b5446;
  text-align: right;
}

.bi-usermeta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.bi-user-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#boereinfo-app .bi-tabs {
  display: flex;
  gap: 8px;
  margin: 6px 0 14px;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center !important;
  padding: 0 8px;
  margin-left: auto;
  margin-right: auto;
}

.bi-tab {
  border: 1px solid #c9bfa8;
  background: #ece3d1;
  color: #3b3426;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.bi-tab-text {
  display: inline;
}

.bi-tab.bi-tab--kurier-logo {
  padding: 6px 10px;
}

.bi-kurier-tab-logo {
  display: inline-block;
  width: auto;
  height: 22px;
  max-width: none !important;
  vertical-align: middle;
}

.bi-tab.is-active {
  background: linear-gradient(180deg, #fffdf8 0%, #f7f0de 100%);
  color: #352f22;
  border-color: #7a5f0e;
}

#boereinfo-app .bi-tab:hover:not(.is-active) {
  background: #e3d8c4;
  color: #2a2519;
}

#boereinfo-app .bi-tabs.bi-tabs--modern {
  --bi-tab-accent: #85620f;
  --bi-tab-accent-strong: #6f530d;
  --bi-tab-neutral-bg: #f9f7f1;
  --bi-tab-neutral-border: #e2dbc9;
  --bi-tab-neutral-text: #352f22;
  --bi-tab-secondary-bg: #f3efe4;
  --bi-tab-secondary-border: #e1d8c4;
  --bi-tab-secondary-text: #786f5c;
  --bi-tab-primary-idle-bg: #f7eedb;
  --bi-tab-primary-idle-border: #d3bd8c;
  --bi-tab-primary-idle-text: #654b14;
  --bi-tab-frame-bg: #f6f2e8;
  --bi-tab-frame-border: #e1d9c7;
  --bi-tab-frame-shadow: 0 2px 8px rgba(40, 32, 13, 0.07);
  --bi-tab-hover-lift: -1px;
  gap: 6px;
  margin: 8px auto 16px;
  padding: 6px 8px;
  border-radius: 16px;
  border: 1px solid var(--bi-tab-frame-border);
  background: var(--bi-tab-frame-bg);
  box-shadow: var(--bi-tab-frame-shadow);
}

#boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab {
  position: relative;
  isolation: isolate;
  min-height: var(--bi-control-height);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--bi-tab-neutral-border);
  background: var(--bi-tab-neutral-bg);
  color: var(--bi-tab-neutral-text);
  box-shadow: 0 1px 1px rgba(42, 37, 25, 0.05);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

#boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: rgba(134, 98, 15, 0.86);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease;
  z-index: 0;
}

#boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab .bi-tab-text {
  position: relative;
  z-index: 1;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 650;
}

#boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab .bi-tab-icon {
  position: relative;
  z-index: 1;
  color: currentColor;
  width: 20px;
  height: 20px;
}

#boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab .bi-tab-icon svg {
  width: 20px;
  height: 20px;
}

#boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab .bi-tab-icon img {
  width: 20px;
  height: 20px;
}

#boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab:hover:not(.is-active) {
  transform: translateY(var(--bi-tab-hover-lift));
  box-shadow: 0 6px 14px rgba(42, 34, 17, 0.11);
}

#boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab:active:not(.is-active) {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(42, 34, 17, 0.09);
}

#boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab.is-active {
  background: linear-gradient(180deg, #fffdf8 0%, #f7f0de 100%);
  border-color: var(--bi-tab-accent-strong);
  color: var(--bi-tab-neutral-text);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(94, 67, 8, 0.2);
}

#boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab.is-active::after {
  transform: scaleX(1);
  background: rgba(95, 70, 8, 0.92);
}

#boereinfo-app .bi-tabs.bi-tabs--modern-editorial {
  --bi-tab-frame-bg: linear-gradient(128deg, #ebd8ad 0%, #dcc08a 100%);
  --bi-tab-frame-border: #b9923d;
  --bi-tab-frame-shadow: 0 12px 24px rgba(78, 53, 4, 0.23);
  --bi-tab-neutral-bg: rgba(255, 250, 240, 0.94);
  --bi-tab-neutral-border: rgba(114, 79, 11, 0.43);
  --bi-tab-neutral-text: #4b3a15;
  --bi-tab-secondary-bg: rgba(236, 222, 188, 0.92);
  --bi-tab-secondary-border: rgba(104, 74, 14, 0.34);
  --bi-tab-secondary-text: #69542a;
  --bi-tab-primary-idle-bg: #efd79d;
  --bi-tab-primary-idle-border: #a97c25;
  --bi-tab-primary-idle-text: #4e390d;
  --bi-tab-accent: #5f4608;
  --bi-tab-accent-strong: #493505;
  --bi-tab-hover-lift: -2px;
}

#boereinfo-app .bi-tabs.bi-tabs--modern-editorial .bi-tab {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 3px 7px rgba(58, 42, 8, 0.15);
}

#boereinfo-app
  .bi-tabs.bi-tabs--modern-editorial
  .bi-tab:hover:not(.is-active) {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 18px rgba(63, 45, 7, 0.22);
}

#boereinfo-app .bi-tabs.bi-tabs--modern-editorial .bi-tab.is-active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 8px 14px rgba(70, 49, 5, 0.24);
}

.bi-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.bi-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.bi-field label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.25;
  min-width: 0;
}

.bi-field-label {
  display: block;
  line-height: 1.25;
}

.bi-field.full,
.bi-form-section.full {
  grid-column: 1 / -1;
}

.bi-direct-booking-field {
  justify-content: end;
}

.bi-direct-booking-label {
  visibility: hidden;
  line-height: 1;
}

.bi-direct-booking-toggle {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  white-space: nowrap;
}

.bi-direct-booking-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.bi-direct-booking-suboption {
  margin-top: 10px;
  margin-left: 2px;
}

#boereinfo-app .bi-direct-booking-suboption.bi-check {
  align-items: center;
}

.bi-form-section {
  border: 1px solid #d6cab1;
  border-radius: 14px;
  margin: 0;
  padding: 18px 20px 20px;
  background: #fffdf7;
  display: grid;
  gap: 16px;
}

.bi-form-section + .bi-form-section {
  margin-top: 16px;
}

.bi-form-grid > .bi-form-section + .bi-form-section {
  margin-top: 0;
}

.bi-form-section legend {
  padding: 0 8px;
  font-weight: 700;
  color: #3f3425;
}

#boereinfo-app .bi-field-date input[type="date"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

#boereinfo-app .bi-field-date {
  align-items: flex-start;
}

#boereinfo-app .bi-field-date label {
  width: min(100%, 15rem);
  max-width: 100%;
}

.bi-field input,
.bi-field select,
.bi-field textarea {
  border: 1px solid #b8ad95;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fffdf7;
  width: 100%;
  inline-size: 100%;
  max-width: 100%;
  max-inline-size: 100%;
  min-width: 0;
  min-inline-size: 0;
  box-sizing: border-box;
}

/* Einheitliche Feldhöhe für einzeilige Eingaben */
.bi-field input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
.bi-field select {
  min-height: 44px;
}

/* iOS/Safari rendert Date-Felder sonst höher als Textfelder */
#boereinfo-app .bi-field-date input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.2;
  min-height: 44px;
}

/* Mobile/WebKit: native Date/Time Controls dürfen nicht aus dem Feldrahmen laufen */
#boereinfo-app .bi-field input[type="date"],
#boereinfo-app .bi-field input[type="time"],
#boereinfo-app .bi-field input[type="datetime-local"],
#boereinfo-app .bi-field input[type="month"],
#boereinfo-app .bi-field input[type="week"] {
  display: block;
  width: 100%;
  inline-size: 100%;
  max-width: 100%;
  max-inline-size: 100%;
  min-width: 0;
  min-inline-size: 0;
  box-sizing: border-box;
}

#boereinfo-app .bi-field input[type="datetime-local"] {
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.2;
}

.bi-field input[type="file"] {
  padding: 8px 10px;
  overflow: hidden;
}

.bi-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.35;
}

#boereinfo-app .bi-field label.bi-check {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.bi-check input[type="checkbox"] {
  width: auto;
  max-width: none;
  min-width: 16px;
  height: 16px;
  margin-top: 2px;
}

#boereinfo-app .bi-privacy-field .bi-check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 8px !important;
}

#boereinfo-app .bi-privacy-field .bi-check input[type="checkbox"] {
  flex: 0 0 auto !important;
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  margin: 2px 0 0 0 !important;
}

#boereinfo-app .bi-privacy-field .bi-check span {
  display: inline !important;
}

.bi-inline-actions {
  margin-top: 6px;
}

.bi-attachments-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.bi-attachment-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #ddd3bd;
  background: #fffdf8;
  border-radius: 10px;
  padding: 8px 10px;
}

.bi-attachment-name {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.bi-attachment-size {
  color: #6f664f;
  font-size: 0.9em;
}

.bi-attachments-empty {
  margin: 8px 0 0;
}

.bi-input-with-action {
  position: relative;
}

.bi-input-with-action input {
  padding-right: 42px;
}

.bi-rich-editor {
  border: 1px solid #b8ad95;
  border-radius: 10px;
  background: #fffdf7;
  overflow: hidden;
}

.bi-rich-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid #ddd3bd;
  background: #f7f1e4;
}

.bi-rich-btn {
  border: 1px solid #c9bfa8;
  background: #fff;
  color: #5f563f;
  border-radius: 8px;
  min-width: 32px;
  min-height: var(--bi-control-height);
  height: var(--bi-control-height);
  padding: 0 10px;
  font: inherit;
  font-size: var(--bi-control-font-size);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.bi-rich-btn:hover {
  background: #f4efe4;
}

.bi-rich-color-wrap {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.bi-rich-color-palette {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 2px;
}

.bi-rich-color-btn {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(42, 37, 25, 0.35);
  padding: 0;
  cursor: pointer;
}

.bi-rich-color-btn:hover {
  transform: scale(1.08);
}

.bi-rich-input {
  min-height: 132px;
  padding: 11px 12px;
  width: 100%;
  border: 0;
  background: #fffdf8;
  outline: none;
  line-height: 1.45;
  color: #2a2519;
  font: inherit;
  font-weight: 400 !important;
}

.bi-rich-input:empty::before {
  content: "Inhalt eingeben ...";
  color: #9b8f76;
}

.bi-link-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(31, 26, 16, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.bi-link-dialog {
  width: min(440px, 100%);
  border: 1px solid #d8ccb2;
  border-radius: 12px;
  background: #fffdf7;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  padding: 14px;
}

.bi-link-dialog h4 {
  margin: 0 0 10px;
  color: #443a27;
}

.bi-link-dialog-field label {
  display: block;
  margin-bottom: 6px;
  color: #5f563f;
  font-weight: 600;
}

.bi-link-dialog-field input[type="url"] {
  width: 100%;
  border: 1px solid #b8ad95;
  border-radius: 8px;
  padding: 9px 10px;
  background: #fffdf7;
}

.bi-link-dialog-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #5f563f;
}

.bi-link-dialog-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.bi-field-action {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none !important;
  border-radius: 8px;
  background: transparent !important;
  color: #6a614f !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 28px !important;
  min-height: 28px !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
  z-index: 2;
}

.bi-eye-glyph {
  font-size: 16px;
  line-height: 1;
  display: block;
}

.bi-field-action:hover {
  background: rgba(138, 107, 16, 0.12);
  color: #4f4735;
}

.bi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  align-items: center;
}

.bi-auth-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.bi-auth-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bi-auth-row-secondary {
  flex-wrap: nowrap;
}

.bi-auth-row .bi-btn {
  white-space: nowrap;
}

.bi-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  min-height: var(--bi-control-height);
  height: var(--bi-control-height);
  cursor: pointer;
  font: inherit;
  font-size: var(--bi-control-font-size);
  line-height: 1;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.bi-btn-icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bi-btn-text {
  display: inline;
}

.bi-btn-icon--emoji {
  width: auto;
  height: auto;
  font-size: 15px;
  line-height: 1;
}

.bi-icon-question {
  color: #b42318;
  font-weight: 800;
  margin-left: 2px;
  font-size: 12px;
  vertical-align: top;
}

.bi-btn-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bi-btn-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

#boereinfo-app #bi-go-login .bi-btn-icon,
#boereinfo-app #bi-go-profile .bi-btn-icon,
#boereinfo-app #bi-logout .bi-btn-icon,
#boereinfo-app #bi-logout-tab .bi-btn-icon {
  width: 30px;
  height: 30px;
}

#boereinfo-app #bi-go-login .bi-btn-icon svg,
#boereinfo-app #bi-go-profile .bi-btn-icon svg,
#boereinfo-app #bi-logout .bi-btn-icon svg,
#boereinfo-app #bi-logout-tab .bi-btn-icon svg {
  width: 30px;
  height: 30px;
}

#boereinfo-app #bi-profile-form .bi-btn .bi-btn-icon {
  width: 30px;
  height: 30px;
}

#boereinfo-app #bi-profile-form .bi-btn .bi-btn-icon svg {
  width: 30px;
  height: 30px;
}

#boereinfo-app .bi-tab[data-tab="anmeldung"] .bi-tab-icon,
#boereinfo-app .bi-tab[data-tab="profil"] .bi-tab-icon {
  width: 28px;
  height: 28px;
}

#boereinfo-app .bi-tab[data-tab="anmeldung"] .bi-tab-icon svg,
#boereinfo-app .bi-tab[data-tab="profil"] .bi-tab-icon svg,
#boereinfo-app .bi-tab[data-tab="anmeldung"] .bi-tab-icon img,
#boereinfo-app .bi-tab[data-tab="profil"] .bi-tab-icon img {
  width: 28px;
  height: 28px;
}

.bi-btn-sm {
  min-height: var(--bi-control-height);
  height: var(--bi-control-height);
}

#boereinfo-app .bi-table .bi-btn.bi-btn-sm {
  min-height: var(--bi-control-height);
  height: var(--bi-control-height);
  padding: 5px 10px;
  font-size: var(--bi-control-font-size);
  border-radius: 999px;
}

.bi-btn.primary {
  background: #8a6b10;
  color: #fff;
}

.bi-btn.secondary {
  background: #d7cfbd;
  color: #2a2519;
}

#boereinfo-app .bi-btn:hover:not(:disabled) {
  box-shadow: 0 2px 8px rgba(42, 37, 25, 0.18);
  transform: translateY(-1px);
}

#boereinfo-app .bi-btn:active:not(:disabled) {
  transform: translateY(0);
}

#boereinfo-app .bi-btn.primary:hover:not(:disabled) {
  background: #7a5f0e;
  color: #fff;
}

#boereinfo-app .bi-btn.secondary:hover:not(:disabled) {
  background: #c9bda6;
  color: #2a2519;
}

#boereinfo-app .bi-booking-action--approve:hover:not(:disabled) {
  color: #164a1a;
}

#boereinfo-app .bi-booking-action--cancel:hover:not(:disabled) {
  color: #8f1d15;
}

#boereinfo-app .bi-booking-action--pending:hover:not(:disabled) {
  color: #4f4735;
}

#boereinfo-app .bi-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

#boereinfo-app .bi-btn:focus-visible,
#boereinfo-app .bi-tab:focus-visible,
#boereinfo-app .bi-sortable:focus-visible,
#boereinfo-app input:focus-visible,
#boereinfo-app select:focus-visible,
#boereinfo-app textarea:focus-visible {
  outline: 2px solid #8a6b10;
  outline-offset: 2px;
}

.bi-chip {
  display: inline-block;
  border-radius: 999px;
  background: #e7dbc0;
  color: #584a28;
  padding: 5px 10px;
  font-size: 13px;
}

.bi-chip.bi-role-chip {
  background: linear-gradient(135deg, #efe0af 0%, #dbc178 100%);
  color: #473813;
  border: 1px solid #b8933d;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 1px 2px rgba(0, 0, 0, 0.08);
}

.bi-chip.bi-status-zugesagt {
  background: #d8f3dc;
  color: #1b5e20;
}

.bi-chip.bi-status-abgesagt {
  background: #fde2e1;
  color: #b42318;
}

.bi-chip.bi-status-offen {
  background: #fff3bf;
  color: #7a5f00;
  display: inline-flex;
  align-items: center;
}

.bi-open-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-right: 6px;
  border-radius: 50%;
  background: #f0c419;
  color: #3f3200;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
}

.bi-message {
  background: #fffdf8;
  border: 1px solid #d9cfb8;
  border-left: 4px solid #bfa15a;
  border-radius: 10px;
  padding: 12px;
  margin-top: 12px;
}

.bi-message-list .bi-message:first-child {
  margin-top: 0;
}

.bi-message-list {
  margin-top: 12px;
}

.bi-message-actionsbar {
  margin-bottom: 10px;
  justify-content: center;
}

.bi-wittich-actionsbar {
  display: grid;
  grid-template-columns:
    minmax(0, 2.2fr)
    minmax(0, 0.9fr)
    minmax(0, 0.9fr)
    minmax(0, 1.2fr)
    minmax(0, 0.55fr);
  grid-template-areas: "search year quarter rubrik reset";
  align-items: end;
  justify-content: stretch;
  gap: 8px;
  overflow: visible;
  padding-bottom: 0;
}

.bi-wittich-actionsbar .bi-filter-label,
.bi-wittich-actionsbar .bi-btn {
  min-width: 0;
}

.bi-wittich-actionsbar .bi-wittich-filter-search {
  grid-area: search;
}

.bi-wittich-actionsbar .bi-wittich-filter-year {
  grid-area: year;
}

.bi-wittich-actionsbar .bi-wittich-filter-quarter {
  grid-area: quarter;
}

.bi-wittich-actionsbar .bi-wittich-filter-rubrik {
  grid-area: rubrik;
}

.bi-wittich-actionsbar .bi-wittich-reset {
  grid-area: reset;
}

.bi-wittich-actionsbar .bi-btn {
  white-space: nowrap;
  width: auto;
}

.bi-wittich-actionsbar .bi-filter-label {
  display: grid;
  align-items: start;
  gap: 4px;
}

.bi-wittich-actionsbar #bi-wittich-year {
  min-width: 0;
}

.bi-wittich-actionsbar #bi-wittich-rubrik {
  min-width: 0;
}

.bi-mitteilungen-actionsbar {
  display: grid;
  grid-template-columns:
    minmax(0, 2.2fr)
    minmax(0, 0.9fr)
    minmax(0, 0.9fr)
    minmax(0, 1.4fr)
    minmax(0, 0.55fr);
  grid-template-areas:
    "search year quarter organization reset"
    "actions actions . . .";
  align-items: end;
  justify-content: stretch;
  gap: 8px;
  overflow: visible;
  padding-bottom: 0;
}

.bi-mitteilungen-actionsbar .bi-filter-label,
.bi-mitteilungen-actionsbar .bi-btn {
  min-width: 0;
}

.bi-mitteilungen-actionsbar--single {
  grid-template-areas: "search year quarter organization reset";
}

.bi-mitteilungen-actionsbar .bi-message-filter-search {
  grid-area: search;
  display: grid;
  align-items: start;
  gap: 4px;
}

.bi-mitteilungen-actionsbar .bi-message-filter-reset {
  grid-area: reset;
  width: auto;
  white-space: nowrap;
}

.bi-mitteilungen-actionsbar .bi-message-secondary-actions {
  grid-area: actions;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-self: start;
}

.bi-mitteilungen-actionsbar .bi-message-refresh {
  width: auto;
  white-space: nowrap;
}

.bi-mitteilungen-actionsbar .bi-message-create-toggle {
  width: auto;
  white-space: nowrap;
}

.bi-mitteilungen-actionsbar .bi-message-filter-search input {
  width: 100%;
  min-width: 0;
}

.bi-mitteilungen-actionsbar .bi-message-filter-year {
  grid-area: year;
  display: grid;
  align-items: start;
  gap: 4px;
}

.bi-mitteilungen-actionsbar .bi-message-filter-quarter {
  grid-area: quarter;
  display: grid;
  align-items: start;
  gap: 4px;
}

.bi-mitteilungen-actionsbar .bi-message-filter-organization {
  grid-area: organization;
  display: grid;
  align-items: start;
  gap: 4px;
}

.bi-mitteilungen-actionsbar .bi-filter-label input,
.bi-mitteilungen-actionsbar .bi-filter-label select {
  width: 100%;
  min-width: 0;
}

.bi-wittich-actionsbar .bi-filter-label input,
.bi-wittich-actionsbar .bi-filter-label select {
  width: 100%;
  min-width: 0;
}

.bi-message h4 {
  margin: 0 0 4px;
}

.bi-message img {
  display: block;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 8px 0;
  border-radius: 8px;
}

.bi-permission-list {
  margin: 8px 0 12px;
  padding-left: 20px;
}

.bi-permission-list li {
  margin: 4px 0;
}

.bi-message figure {
  margin: 8px 0;
  max-width: 100%;
}

.bi-message figure img {
  margin: 0;
}

.bi-meta {
  color: #6f664f;
  font-size: 13px;
  margin-bottom: 7px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.bi-kurier-meta-highlight {
  font-weight: 700;
  color: #bfa15a;
}

.bi-kurier-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  font-size: 0.92em;
  color: #6f664f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bi-kurier-inline-link:hover {
  color: #514732;
}

.bi-kurier-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  min-height: var(--bi-control-height);
  height: var(--bi-control-height);
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #d8ccb3;
  background: #fffaf0;
  color: #5f4f2f;
  text-decoration: none;
  font-size: var(--bi-control-font-size);
  font-weight: 600;
}

.bi-kurier-link-btn:hover {
  background: #f7eedc;
  border-color: #c8b18a;
  color: #4f3f20;
}

.bi-chip-org {
  background: #e6eef9;
  color: #27496d;
  font-size: 12px;
  padding: 3px 9px;
}

.bi-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.bi-table th,
.bi-table td {
  border-top: 1px solid #ded2b7;
  text-align: left;
  vertical-align: top;
  padding: 8px 6px;
  font-size: 14px;
}

#boereinfo-app .bi-table td .bi-actions {
  margin-top: 0;
  gap: 6px;
}

#boereinfo-app .bi-table td .bi-message-actions {
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.bi-table th {
  color: #5f563f;
  font-weight: 600;
}

.bi-community-table .bi-community-time {
  width: 152px;
  color: #5f563f;
  font-size: 13px;
}

.bi-community-table .bi-community-time-wrap {
  display: grid;
  gap: 4px;
}

.bi-community-table .bi-community-time-main {
  display: block;
  white-space: nowrap;
}

.bi-community-table .bi-community-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  max-width: 100%;
}

.bi-community-table .bi-community-time-badge-icon {
  width: 13px;
  height: 13px;
  object-fit: contain;
  display: block;
}

.bi-community-table .bi-community-content .bi-message {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.bi-community-table .bi-community-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.bi-community-table .bi-community-content .bi-message h4 {
  margin: 0;
  line-height: 1.35;
  flex: 1 1 auto;
  min-width: 0;
}

.bi-community-table .bi-community-link-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.bi-community-table--dashboard .bi-community-content .bi-message h4 {
  font-weight: 400;
}

.bi-community-table .bi-community-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #b68f3a;
  color: #6d4b00;
  background: #fff5dd;
  text-decoration: none;
  flex: 0 0 22px;
}

.bi-community-table .bi-community-link svg {
  width: 14px;
  height: 14px;
  display: block;
}

.bi-community-table .bi-community-link--external {
  border-color: #2f8a3f;
  color: #1f5f2b;
  background: #e9f9ec;
}

.bi-community-table .bi-community-link--external-related {
  border-color: #1f76b4;
  color: #155280;
  background: #e8f4ff;
}

.bi-community-table .bi-community-link--internal {
  border-color: #b88418;
  color: #6a4700;
  background: #fff1d3;
}

.bi-community-table .bi-community-link:hover {
  filter: brightness(0.96);
}

.bi-community-table .bi-community-content .bi-message p {
  margin: 6px 0 0;
}

.bi-community-table .bi-community-row td:first-child {
  border-left-width: 4px;
  border-left-style: solid;
}

.bi-community-table .bi-community-row--message td:first-child {
  border-left-color: #c78a1a;
  background: linear-gradient(
    90deg,
    rgba(199, 138, 26, 0.14) 0%,
    rgba(199, 138, 26, 0) 82%
  );
}

.bi-community-table .bi-community-row--news td:first-child {
  border-left-color: #2f8a3f;
  background: linear-gradient(
    90deg,
    rgba(47, 138, 63, 0.14) 0%,
    rgba(47, 138, 63, 0) 82%
  );
}

.bi-community-table--dashboard {
  margin-top: 0;
}

.bi-gbk-wrap {
  --bi-gbk-bg: linear-gradient(140deg, #f6f3ea 0%, #fefefe 55%, #eef6f8 100%);
  --bi-gbk-card: #ffffff;
  --bi-gbk-ink: #1f2630;
  --bi-gbk-muted: #5e6a79;
  --bi-gbk-line: #dbe3ea;
  --bi-gbk-free: #e8f5ee;
  --bi-gbk-requested: #fff3dc;
  --bi-gbk-confirmed: #ffe2e2;
  --bi-gbk-unavailable: #f5f6f8;
  --bi-gbk-accent: #0d5c63;
  --bi-gbk-accent-2: #1a8b98;
}

.bi-gbk-shell {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.bi-gbk-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.bi-gbk-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bi-gbk-muted);
}

.bi-gbk-title {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  color: #2a2519;
}

.bi-gbk-nav {
  display: flex;
  gap: 8px;
}

.bi-gbk-nav-btn {
  border: 1px solid var(--bi-gbk-line);
  background: #fff;
  color: var(--bi-gbk-ink);
  border-radius: 999px;
  min-height: var(--bi-control-height);
  height: var(--bi-control-height);
  padding: 0 14px;
  font-size: var(--bi-control-font-size);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.bi-gbk-nav-btn:hover,
.bi-gbk-nav-btn:focus-visible {
  border-color: var(--bi-gbk-accent-2);
  color: var(--bi-gbk-accent);
  transform: translateY(-1px);
}

#boereinfo-app .bi-gbk-nav-btn#bi-calendar-today {
  border-color: #14727e;
  background: linear-gradient(180deg, #1e8a96 0%, #14727e 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(20, 114, 126, 0.25);
}

#boereinfo-app .bi-gbk-nav-btn#bi-calendar-today:hover,
#boereinfo-app .bi-gbk-nav-btn#bi-calendar-today:focus-visible {
  border-color: #0f5e67;
  background: linear-gradient(180deg, #1a7f8b 0%, #0f5e67 100%);
  color: #fff;
}

.bi-gbk-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.bi-gbk-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid var(--bi-gbk-line);
  background: #fff;
  padding: 5px 10px;
  font-size: 12px;
  color: var(--bi-gbk-muted);
}

.bi-gbk-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5ccd4;
}

.bi-gbk-dot.is-free {
  background: var(--bi-gbk-free);
  border-color: #bddfcb;
}

.bi-gbk-dot.is-free::before {
  background: #2f9e6f;
}

.bi-gbk-dot.is-requested {
  background: var(--bi-gbk-requested);
  border-color: #eed9ab;
}

.bi-gbk-dot.is-requested::before {
  background: #bc7d13;
}

.bi-gbk-dot.is-confirmed {
  background: var(--bi-gbk-confirmed);
  border-color: #efc0c0;
}

.bi-gbk-dot.is-confirmed::before {
  background: #b63d3d;
}

.bi-gbk-dot.is-holiday {
  background: #eef4ff;
  border-color: #cbd9f6;
}

.bi-gbk-dot.is-holiday::before {
  background: #4969a9;
}

.bi-gbk-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.bi-gbk-weekday {
  font-size: 12px;
  font-weight: 700;
  color: var(--bi-gbk-muted);
  text-align: center;
  padding: 4px 0;
}

.bi-gbk-day {
  min-height: 86px;
  border: 1px solid var(--bi-gbk-line);
  border-width: 1px !important;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: none !important;
}

.bi-gbk-day--outside {
  visibility: hidden;
}

.bi-gbk-day-btn,
.bi-gbk-day-static {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px;
  color: var(--bi-gbk-ink) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.bi-gbk-day-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.bi-gbk-day-btn:hover,
.bi-gbk-day-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: none !important;
}

.bi-gbk-day-number {
  font-size: 18px;
  font-weight: 700;
  color: var(--bi-gbk-ink);
}

.bi-gbk-day-status {
  font-size: 12px;
  color: var(--bi-gbk-muted);
}

.bi-gbk-day-holiday {
  font-size: 12px;
  line-height: 1.25;
  color: #2a4f86;
  font-weight: 600;
}

.bi-gbk-day.is-free {
  background-color: var(--bi-gbk-free) !important;
  border-color: #b9d9c4 !important;
}

.bi-gbk-day.is-requested {
  background-color: var(--bi-gbk-requested) !important;
}

.bi-gbk-day.is-confirmed {
  background-color: var(--bi-gbk-confirmed) !important;
}

.bi-gbk-day.is-holiday::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #4969a9;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

.bi-gbk-day.is-unavailable {
  background-color: var(--bi-gbk-unavailable) !important;
}

.bi-gbk-day.is-today {
  box-shadow: inset 0 0 0 2px rgba(13, 92, 99, 0.35) !important;
}

.bi-gbk-day.is-selected {
  box-shadow: inset 0 0 0 2px rgba(26, 139, 152, 0.35) !important;
}

.bi-gbk-day.is-today.is-selected {
  box-shadow: inset 0 0 0 2px rgba(13, 92, 99, 0.55) !important;
}

.bi-gbk-controls {
  margin-top: 14px;
}

.bi-gbk-controls .bi-btn span {
  white-space: nowrap;
  font-size: inherit;
}

.bi-gbk-controls .bi-gbk-label-full {
  display: inline !important;
}

.bi-gbk-label-short {
  display: none !important;
}

.bi-booking-action {
  margin: 2px 4px 2px 0;
  width: 104px;
  text-align: center;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bi-booking-actions-cell {
  min-width: 330px;
}

.bi-booking-actions-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.bi-booking-detail-cell {
  white-space: nowrap;
}

.bi-booking-detail-btn.is-active {
  background: #8a6b10;
  color: #fff;
}

.bi-booking-detail-card {
  margin-top: 6px;
  border: 1px dashed #cdbf9f;
  border-radius: 10px;
  background: #f8f3e7;
  padding: 12px;
}

.bi-booking-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.bi-booking-detail-kicker {
  margin: 0 0 2px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6f664f;
}

.bi-booking-detail-head h4 {
  margin: 0;
  line-height: 1.3;
  color: #2a2519;
}

.bi-booking-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
}

.bi-booking-detail-grid > div {
  display: grid;
  gap: 2px;
  padding: 8px 9px;
  border: 1px solid #deceb0;
  border-radius: 8px;
  background: #fdfaf2;
}

.bi-booking-detail-grid > div strong {
  font-size: 12px;
  color: #6a6048;
}

.bi-booking-detail-grid > div span {
  font-size: 14px;
  color: #2f2a20;
  overflow-wrap: anywhere;
}

.bi-booking-detail-grid .full {
  grid-column: 1 / -1;
}

.bi-booking-action--approve {
  color: #1b5e20;
}

.bi-booking-action--cancel {
  color: #b42318;
}

.bi-booking-action--pending {
  color: #5f563f;
}

.bi-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5f563f;
  font-weight: 600;
}

.bi-filter-label select {
  border: 1px solid #b8ad95;
  border-radius: 8px;
  min-height: var(--bi-control-height);
  height: var(--bi-control-height);
  padding: 0 10px;
  background: #fffdf7;
}

.bi-filter-label input {
  border: 1px solid #b8ad95;
  border-radius: 8px;
  min-height: var(--bi-control-height);
  height: var(--bi-control-height);
  padding: 0 10px;
  background: #fffdf7;
  min-width: 170px;
}

.bi-sortable {
  cursor: pointer;
  user-select: none;
}

.bi-sortable.is-active {
  color: #8a6b10;
}

#boereinfo-app .bi-sortable:hover {
  color: #7a5f0e;
}

.bi-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.bi-required {
  color: #b42318;
  font-weight: 700;
}

.bi-hint {
  margin: 2px 0 0;
  color: #6f664f;
  font-size: 13px;
}

.bi-danger-text {
  color: #8c1f1c;
  font-weight: 600;
}

.bi-spam-trap {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.bi-icon-captcha-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.bi-icon-captcha-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border: 1px solid #c7d5ef;
  border-radius: 10px;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.bi-icon-captcha-btn img {
  width: 24px;
  height: 24px;
  display: block;
}

.bi-icon-captcha-btn.is-selected {
  background: #0d5c63;
  border-color: #0d5c63;
}

.bi-icon-captcha-btn.is-selected img {
  filter: brightness(0) invert(1);
}

.bi-footer {
  margin-top: 10px;
  padding: 8px 4px 2px;
  text-align: center;
  font-size: 13px;
  color: #6f664f;
}

.bi-footer a {
  color: #6f664f;
  text-decoration: none;
  border-bottom: 1px dotted rgba(111, 102, 79, 0.45);
}

.bi-footer a:hover {
  color: #4f4735;
  border-bottom-color: rgba(79, 71, 53, 0.65);
}

.bi-footer-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #857a60;
}

@media (max-width: 980px) {
  .bi-wittich-actionsbar {
    grid-template-areas: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .bi-wittich-actionsbar .bi-wittich-refresh,
  .bi-wittich-actionsbar .bi-wittich-filter-search,
  .bi-wittich-actionsbar .bi-wittich-filter-year,
  .bi-wittich-actionsbar .bi-wittich-filter-quarter,
  .bi-wittich-actionsbar .bi-wittich-filter-rubrik,
  .bi-wittich-actionsbar .bi-wittich-reset {
    grid-area: auto;
  }

  .bi-mitteilungen-actionsbar {
    grid-template-areas: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .bi-mitteilungen-actionsbar .bi-message-filter-search,
  .bi-mitteilungen-actionsbar .bi-message-filter-year,
  .bi-mitteilungen-actionsbar .bi-message-filter-quarter,
  .bi-mitteilungen-actionsbar .bi-message-filter-organization,
  .bi-mitteilungen-actionsbar .bi-message-filter-reset,
  .bi-mitteilungen-actionsbar .bi-message-secondary-actions,
  .bi-mitteilungen-actionsbar .bi-message-refresh,
  .bi-mitteilungen-actionsbar .bi-message-create-toggle {
    grid-area: auto;
    width: 100%;
  }
}

@container (max-width: 860px) {
  .bi-wittich-actionsbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas: none;
    align-items: start;
  }

  .bi-wittich-actionsbar .bi-wittich-refresh,
  .bi-wittich-actionsbar .bi-wittich-filter-search,
  .bi-wittich-actionsbar .bi-wittich-filter-year,
  .bi-wittich-actionsbar .bi-wittich-filter-quarter,
  .bi-wittich-actionsbar .bi-wittich-filter-rubrik,
  .bi-wittich-actionsbar .bi-wittich-reset {
    grid-area: auto;
    width: 100%;
  }

  .bi-mitteilungen-actionsbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
    align-items: start;
  }

  .bi-mitteilungen-actionsbar .bi-message-filter-search,
  .bi-mitteilungen-actionsbar .bi-message-filter-year,
  .bi-mitteilungen-actionsbar .bi-message-filter-quarter,
  .bi-mitteilungen-actionsbar .bi-message-filter-organization,
  .bi-mitteilungen-actionsbar .bi-message-filter-reset,
  .bi-mitteilungen-actionsbar .bi-message-secondary-actions,
  .bi-mitteilungen-actionsbar .bi-message-refresh,
  .bi-mitteilungen-actionsbar .bi-message-create-toggle {
    grid-area: auto;
    width: 100%;
  }
}

.bi-mitteilungen-actionsbar .bi-message-secondary-actions {
  min-width: 0;
  justify-self: stretch;
}

.bi-mitteilungen-actionsbar .bi-message-create-toggle {
  width: 100%;
  justify-content: center;
}

.bi-toast-host {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
  pointer-events: none;
  width: min(92vw, 560px);
  max-width: min(92vw, 560px);
}

.bi-toast {
  min-width: 260px;
  max-width: 100%;
  width: 100%;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  font-weight: 600;
}

.bi-toast.success {
  background: #e8f4e9;
  color: #26612f;
  border: 1px solid #b9dfbf;
}

.bi-toast.error {
  background: #f9e6e5;
  color: #8c1f1c;
  border: 1px solid #ebb8b6;
}

@media (max-width: 760px) {
  #boereinfo-app {
    --bi-control-height: 38px;
    --bi-control-font-size: 13px;
  }

  .bi-top {
    flex-direction: column;
    align-items: stretch;
  }

  .bi-userbox {
    align-items: flex-start;
  }

  .bi-header-date,
  .bi-header-time,
  .bi-header-holiday {
    font-size: 11px;
    padding: 3px 9px;
  }

  .bi-userline {
    text-align: left;
  }

  .bi-usermeta {
    align-items: flex-start;
  }

  .bi-user-actions {
    flex-wrap: wrap;
  }

  .bi-card-head {
    flex-wrap: nowrap;
  }

  .bi-gbk-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .bi-gbk-nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .bi-gbk-nav-btn {
    width: 100%;
    text-align: center;
  }

  .bi-gbk-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .bi-gbk-controls .bi-btn {
    width: 100%;
    justify-content: center;
  }

  .bi-gbk-controls .bi-btn:only-child {
    grid-column: 1 / -1;
  }

  .bi-form-grid {
    grid-template-columns: 1fr;
  }

  #boereinfo-app #bi-contact-form select[name="contact_recipient_role"] {
    font-size: 17px;
    line-height: 1.35;
    min-height: 50px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  #boereinfo-app #bi-contact-form select[name="contact_recipient_role"] option {
    font-size: 17px;
    line-height: 1.35;
  }

  .bi-direct-booking-field {
    justify-content: flex-start;
  }

  .bi-dashboard-grid {
    flex-direction: column;
  }

  .bi-dashboard-column {
    width: 100%;
  }

  .bi-dashboard-list li {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .bi-dashboard-combined-list-grid {
    grid-template-columns: 1fr;
  }

  .bi-dashboard-list--waste li {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
  }

  .bi-dashboard-list--bus li {
    grid-template-columns: 1fr;
    gap: 4px;
    align-items: start;
  }

  .bi-dashboard-list--bus .bi-dashboard-weekday {
    align-items: flex-start;
    text-align: left;
    flex-direction: row;
    gap: 6px;
    white-space: normal;
  }

  .bi-bus-link-col {
    justify-content: flex-start;
  }

  .bi-dashboard-tab-link {
    min-height: 26px;
    padding: 4px 9px;
    font-size: 11px;
  }

  .bi-weather-forecast {
    grid-template-columns: 1fr;
  }

  .bi-weather-current {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .bi-weather-facts {
    grid-template-columns: 1fr;
  }

  .bi-weather-history {
    grid-template-columns: 1fr;
  }

  .bi-astro-grid {
    grid-template-columns: 1fr;
  }

  .bi-wittich-actionsbar {
    grid-template-areas: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .bi-mitteilungen-actionsbar {
    grid-template-areas: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .bi-wittich-actionsbar .bi-btn,
  .bi-wittich-actionsbar .bi-filter-label {
    width: 100%;
  }

  .bi-mitteilungen-actionsbar .bi-btn,
  .bi-mitteilungen-actionsbar .bi-filter-label {
    width: 100%;
  }

  .bi-waste-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  #boereinfo-app .bi-tab {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 12px;
    gap: 0;
  }

  #boereinfo-app .bi-tab .bi-tab-text {
    display: none;
  }

  #boereinfo-app .bi-tab .bi-btn-icon {
    width: 22px;
    height: 22px;
  }

  #boereinfo-app .bi-tab .bi-btn-icon--emoji {
    width: auto;
    height: auto;
    font-size: 18px;
  }

  #boereinfo-app .bi-tab .bi-btn-icon svg {
    width: 22px;
    height: 22px;
  }

  #boereinfo-app .bi-tab.bi-tab--kurier-logo {
    width: auto;
    height: 38px;
    min-width: 70px;
    padding: 0 6px;
    border-radius: 12px;
  }

  #boereinfo-app .bi-tab .bi-kurier-tab-logo {
    width: auto;
    height: 18px;
  }

  #boereinfo-app .bi-tabs.bi-tabs--modern {
    justify-content: center !important;
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 2px 2px;
    gap: 4px;
    border-radius: 14px;
    scroll-snap-type: none;
  }

  #boereinfo-app .bi-tabs.bi-tabs--modern::-webkit-scrollbar {
    display: none;
  }

  #boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab {
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    border-radius: 12px;
    gap: 0;
    scroll-snap-align: none;
  }

  #boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab .bi-tab-text {
    display: none;
  }

  #boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab .bi-btn-icon {
    width: 22px;
    height: 22px;
  }

  #boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab .bi-btn-icon--emoji {
    font-size: 18px;
  }

  #boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab .bi-btn-icon svg {
    width: 22px;
    height: 22px;
  }

  #boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab[data-tab="anmeldung"],
  #boereinfo-app .bi-tabs.bi-tabs--modern .bi-tab[data-tab="profil"] {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  #boereinfo-app
    .bi-tabs.bi-tabs--modern
    .bi-tab[data-tab="anmeldung"]
    .bi-tab-icon,
  #boereinfo-app
    .bi-tabs.bi-tabs--modern
    .bi-tab[data-tab="profil"]
    .bi-tab-icon {
    width: 30px;
    height: 30px;
  }

  #boereinfo-app
    .bi-tabs.bi-tabs--modern
    .bi-tab[data-tab="anmeldung"]
    .bi-tab-icon
    svg,
  #boereinfo-app
    .bi-tabs.bi-tabs--modern
    .bi-tab[data-tab="profil"]
    .bi-tab-icon
    svg,
  #boereinfo-app
    .bi-tabs.bi-tabs--modern
    .bi-tab[data-tab="anmeldung"]
    .bi-tab-icon
    img,
  #boereinfo-app
    .bi-tabs.bi-tabs--modern
    .bi-tab[data-tab="profil"]
    .bi-tab-icon
    img {
    width: 30px;
    height: 30px;
  }

  #boereinfo-app .bi-btn {
    width: auto;
    min-height: var(--bi-control-height);
    height: var(--bi-control-height);
    min-width: 0;
    padding: 8px 12px;
    border-radius: 999px;
    gap: 6px;
  }

  #boereinfo-app .bi-btn .bi-btn-text {
    display: inline;
    white-space: nowrap;
  }

  #boereinfo-app .bi-btn .bi-btn-icon {
    width: 17px;
    height: 17px;
  }

  #boereinfo-app .bi-btn .bi-btn-icon--emoji {
    width: auto;
    height: auto;
    font-size: 14px;
  }

  #boereinfo-app .bi-btn .bi-btn-icon svg {
    width: 17px;
    height: 17px;
  }

  #boereinfo-app #bi-go-login .bi-btn-icon,
  #boereinfo-app #bi-go-profile .bi-btn-icon,
  #boereinfo-app #bi-logout .bi-btn-icon,
  #boereinfo-app #bi-logout-tab .bi-btn-icon {
    width: 30px;
    height: 30px;
  }

  #boereinfo-app #bi-go-login .bi-btn-icon svg,
  #boereinfo-app #bi-go-profile .bi-btn-icon svg,
  #boereinfo-app #bi-logout .bi-btn-icon svg,
  #boereinfo-app #bi-logout-tab .bi-btn-icon svg {
    width: 30px;
    height: 30px;
  }

  .bi-gbk-shell {
    padding: 0;
  }

  .bi-gbk-calendar {
    gap: 6px;
  }

  .bi-gbk-day {
    min-height: 72px;
  }

  .bi-gbk-day-btn,
  .bi-gbk-day-static {
    padding: 8px;
  }

  .bi-gbk-day-number {
    font-size: 16px;
  }

  #boereinfo-app .bi-gbk-day .bi-gbk-day-status,
  #boereinfo-app .bi-gbk-day .bi-gbk-day-holiday {
    display: none !important;
  }

  .bi-gbk-day-status,
  .bi-gbk-day-holiday {
    font-size: 0;
  }

  .bi-gbk-day.is-holiday::after {
    top: auto;
    right: 6px;
    bottom: 6px;
    width: 8px;
    height: 8px;
  }

  #boereinfo-app .bi-gbk-controls .bi-btn {
    overflow: hidden;
    min-width: 0;
  }

  .bi-gbk-controls .bi-btn span {
    font-size: inherit;
  }

  .bi-gbk-controls .bi-gbk-label-full {
    display: none !important;
  }

  .bi-gbk-controls .bi-gbk-label-short {
    display: inline !important;
    white-space: nowrap;
  }

  /* In der Buchungsverwaltung auf kleinen Displays nur Aktions-Icons anzeigen */
  #boereinfo-app .bi-booking-action {
    width: 32px;
    min-width: 32px;
    height: var(--bi-control-height);
    padding: 0;
    border-radius: 10px;
    margin: 2px 2px 2px 0;
    gap: 0;
  }

  .bi-booking-actions-cell {
    min-width: 0;
  }

  .bi-booking-actions-row {
    flex-wrap: wrap;
  }

  .bi-booking-detail-grid {
    grid-template-columns: 1fr;
  }

  .bi-booking-detail-head {
    flex-direction: column;
    align-items: flex-start;
  }

  #boereinfo-app .bi-booking-action .bi-btn-text {
    display: none;
  }

  #boereinfo-app .bi-booking-action .bi-btn-icon {
    width: 16px;
    height: 16px;
  }

  #boereinfo-app .bi-booking-action .bi-btn-icon--emoji {
    font-size: 14px;
  }
}
