/* Keep the menu tools in normal flow at every viewport width. The original
   page block contains sticky rules, so explicitly override those rules. */
.csc-page .csc-toolbar {
  position: static !important;
  inset: auto !important;
  z-index: auto !important;
  background: #fff;
  box-shadow: none !important;
}
.csc-page .csc-toolbar .csc-search-row {
  flex-wrap: wrap;
}
.csc-page .csc-toolbar .csc-search-wrap {
  flex: 1 1 200px;
  min-width: 0;
}
.csc-page .csc-toolbar .csc-search {
  min-width: 0;
  max-width: 100%;
}
.csc-page .csc-toolbar .csc-search-count {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Food photos keep their existing responsive sizes and image sources. */
.csc-page a.csc-photo-link {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}
.csc-page .csc-card-media > a.csc-photo-link {
  height: 100%;
}
.csc-page a.csc-photo-link:focus-visible {
  outline: 3px solid #45643d;
  outline-offset: -4px;
}
.csc-page .csc-photo-dialog {
  box-sizing: border-box;
  width: min(960px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 16px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #dce2d4;
  border-radius: 14px;
  background: #fff;
  color: #263c2c;
  box-shadow: 0 20px 70px rgb(0 0 0 / .25);
}
.csc-page .csc-photo-dialog:not([open]) {
  display: none;
}
.csc-page .csc-photo-dialog::backdrop {
  background: rgb(15 28 19 / .78);
}
.csc-page .csc-photo-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 12px;
}
.csc-page .csc-photo-dialog-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.csc-page button.csc-photo-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #dce2d4;
  border-radius: 8px;
  background: #f5f6ef;
  color: #263c2c;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.csc-page button.csc-photo-close:focus-visible {
  outline: 3px solid #45643d;
  outline-offset: 3px;
}
.csc-page .csc-photo-dialog-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 170px);
  max-height: calc(100dvh - 170px);
  margin: 0 auto;
  object-fit: contain;
}
.csc-page .csc-photo-caption,
.csc-page .csc-photo-error {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
}
@media print {
  .csc-page .csc-photo-dialog { display: none !important; }
}

.csc-page button.csc-location-name-button {
  appearance: none;
  display: inline-block;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: left;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}
.csc-page button.csc-location-name-button:hover {
  background: transparent;
  color: #31533d;
}
.csc-page button.csc-location-name-button:focus-visible {
  outline: 3px solid #31533d;
  outline-offset: 4px;
}
.csc-page .csc-repair-status {
  margin: .35rem 0 0;
  font-size: .85rem;
  line-height: 1.5;
}
.csc-page .csc-dialog {
  box-sizing: border-box;
  width: min(680px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.csc-page .csc-dialog:not([open]) {
  display: none;
}
.csc-page .csc-dialog::backdrop {
  background: rgb(15 28 19 / .6);
}
.csc-page .csc-dialog .csc-search,
.csc-page .csc-dialog .csc-select {
  max-width: 100%;
  min-width: 0;
  font-size: 16px;
}
.csc-page .csc-dietary-table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}
.csc-page .csc-dietary-table caption {
  padding: 12px 16px;
  text-align: left;
  caption-side: top;
  color: #526054;
  background: #f6f7f2;
  font-size: 13px;
  font-weight: 400;
}
.csc-page .csc-dietary-table th,
.csc-page .csc-dietary-table td {
  padding: 15px 18px;
  vertical-align: top;
  overflow-wrap: anywhere;
  border: 0;
  border-bottom: 1px solid #e0e5db;
}
.csc-page .csc-dietary-table thead th {
  background: #26452f;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.csc-page .csc-dietary-table tbody th {
  background: transparent;
  color: #263c2c;
  font-size: 15px;
  font-weight: 650;
}
.csc-page .csc-dietary-table tbody tr { background: #fff; }
.csc-page .csc-dietary-table tbody tr:nth-child(even) { background: #f8f9f5; }
.csc-page .csc-gluten-table th:first-child { width: 44%; }
.csc-page .csc-allergen-table th:first-child { width: 40%; }
.csc-page .csc-dietary-status,
.csc-page .csc-inline-allergen,
.csc-page .csc-allergen-tags li {
  display: inline-block;
  border: 1px solid #d9ddce;
  border-radius: 6px;
  padding: 4px 9px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  white-space: normal;
}
.csc-page .csc-status-unlisted { color: #44515e; background: #f0f3f5; border-color: #d6dde2; }
.csc-page .csc-status-listed { color: #7b293b; background: #fbf0f2; border-color: #e6ced4; }
.csc-page ul.csc-allergen-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.csc-page .csc-allergen-tags li,
.csc-page .csc-inline-allergen { color: #3d4c32; background: #f3f3e9; }
.csc-page .csc-guide-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 26px 0 38px;
  padding: 24px 28px;
  border: 1px solid #dce2d4;
  border-left: 4px solid #45643d;
  border-radius: 14px;
  background: #f8f6ee;
}
.csc-page .csc-guide-download-copy { flex: 1 1 340px; min-width: 0; }
.csc-page .csc-guide-download .csc-download-kicker {
  margin: 0 0 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #556447;
}
.csc-page .csc-guide-download h2 { margin: 0 0 8px; font-size: 23px; line-height: 1.25; }
.csc-page .csc-guide-download p { margin: 0; font-size: 15px; line-height: 1.6; }
.csc-page .csc-guide-download-button { flex: 0 1 auto; text-align: center; min-height: 48px; white-space: normal; }
.csc-page .csc-guide-download-button:focus-visible { outline: 3px solid #7b293b; outline-offset: 4px; }
@media (max-width: 600px) {
  .csc-page .csc-dietary-table th,
  .csc-page .csc-dietary-table td { padding: 12px 9px; }
  .csc-page .csc-dietary-table tbody th { font-size: 14px; }
  .csc-page .csc-dietary-table thead th { font-size: 13px; }
  .csc-page .csc-dietary-status,
  .csc-page .csc-allergen-tags li { padding: 3px 6px; font-size: 12px; }
  .csc-page .csc-gluten-table th:first-child { width: 42%; }
  .csc-page .csc-allergen-table th:first-child { width: 43%; }
  .csc-page .csc-guide-download { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .csc-page .csc-guide-download-copy { flex-basis: auto; }
  .csc-page .csc-guide-download-button { width: 100%; justify-content: center; }
  .csc-page .csc-location {
    flex-wrap: wrap;
  }
  .csc-page .csc-location-copy {
    min-width: 0;
  }
  .csc-page .csc-location > [data-csc-open-location] {
    width: 100%;
    justify-content: center;
  }
}
