body {
  background-color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--brand-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.bg-brand-secondary {
  background-color: var(--brand-secondary);
}

.text-link-accent {
  color: var(--brand-accent);
  text-decoration: underline;
}

.newsletter-signup-controls {
  align-items: end;
  display: flex;
  gap: 16px;
}

.newsletter-signup .form-control,
.newsletter-signup .btn {
  min-height: 44px;
}

.newsletter-signup .btn {
  flex: 0 0 auto;
}

.newsletter-signup .form-control:focus-visible {
  outline: 4px solid #FFFFFF;
  outline-offset: 3px;
}

.newsletter-status-page {
  background: #F8F9FA;
  padding-bottom: 64px;
  padding-top: 64px;
}

.newsletter-status-surface {
  background: #FFFFFF;
  margin-left: auto;
  margin-right: auto;
  max-width: 680px;
  padding: 32px;
}

.newsletter-status-surface h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
}

@media (max-width: 767.98px) {
  .newsletter-signup-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .newsletter-signup .btn {
    width: 100%;
  }

  .newsletter-status-page {
    padding-bottom: 32px;
    padding-top: 32px;
  }

  .newsletter-status-surface {
    padding: 24px 16px;
  }
}

.blog-archive,
.blog-post {
  background: #f8f4ec;
}

.blog-heading {
  max-width: 760px;
}

.blog-card .card-body {
  display: flex;
  flex-direction: column;
}

.blog-post-container {
  max-width: 820px;
}

.blog-back-link {
  color: var(--palette-text);
  font-size: .9375rem;
  font-weight: 400;
  text-decoration: underline;
  text-decoration-color: rgb(40 26 20 / 42%);
  text-decoration-thickness: 1px;
  text-underline-offset: .32em;
}

.editorial-page-header .blog-back-link:is(:hover, :focus-visible) {
  color: var(--palette-text);
  text-decoration-color: var(--palette-primary);
  text-decoration-thickness: 2px;
}

.blog-post-body {
  font-size: 1.08rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.blog-post-body img {
  display: block;
  height: auto;
  margin: 1.5rem auto;
  max-width: 100%;
}

.admin-blog [data-blog-action] {
  min-height: 44px;
  min-width: 44px;
}

.admin-blog #sendBlogSelfTest:not(.disabled):not(:disabled):is(:hover, :focus-visible) {
  background: var(--ink);
  color: #FFFFFF;
}

.admin-blog .note-editor,
.admin-blog .note-editable,
.admin-blog .card {
  max-width: 100%;
}

.admin-blog .note-editor.is-invalid {
  border-color: var(--bs-form-invalid-border-color, #dc3545) !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.2);
}

.admin-blog .note-editable.is-invalid:focus {
  outline: 2px solid var(--bs-form-invalid-border-color, #dc3545);
  outline-offset: -2px;
}

@media (max-width: 575.98px) {
  .admin-blog form > .d-flex [data-blog-action] {
    width: 100%;
  }
}

.admin-newsletter {
  display: grid;
  gap: 32px;
  padding-bottom: 32px;
}

.admin-newsletter-header {
  align-items: start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.admin-newsletter h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.admin-newsletter h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.admin-newsletter-header-actions,
.admin-newsletter-self-test-actions,
.admin-newsletter-preview-controls {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-newsletter .btn,
.admin-newsletter .form-select {
  min-height: 44px;
}

.admin-newsletter-summary {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-newsletter-summary article {
  background: #F8F9FA;
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  display: grid;
  gap: 4px;
  padding: 16px;
}

.admin-newsletter-summary span {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.admin-newsletter-summary strong,
.newsletter-status-badge {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.admin-newsletter-list-header {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.admin-newsletter-filter {
  min-width: 280px;
}

.admin-newsletter-table td:last-child {
  min-width: 220px;
}

.newsletter-status-badge {
  background: var(--palette-panel);
  border: 1px solid var(--palette-secondary);
  border-radius: 999px;
  display: inline-block;
  padding: 4px 8px;
  text-transform: capitalize;
}

.newsletter-status-badge.status-active {
  border-color: var(--brand-accent);
}

.newsletter-remove-confirm {
  background: var(--palette-panel);
  border: 1px solid var(--brand-destructive);
  margin-top: 8px;
  padding: 12px;
}

.newsletter-remove-confirm p {
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}

.admin-newsletter-card {
  border: 1px solid #DEE2E6;
  border-radius: 4px;
  margin-bottom: 16px;
  padding: 16px;
}

.admin-newsletter-card h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.admin-newsletter-card dl {
  display: grid;
  gap: 8px;
}

.admin-newsletter-card dl div {
  display: grid;
  gap: 4px;
  grid-template-columns: 110px minmax(0, 1fr);
}

.admin-newsletter-card dt,
.admin-newsletter-card dd {
  margin: 0;
}

.admin-newsletter-preview-controls {
  margin-bottom: 16px;
}

.admin-newsletter-preview {
  background: #F8F9FA;
  border: 1px solid #DEE2E6;
  margin-bottom: 16px;
  overflow: auto;
  padding: 16px;
}

.admin-newsletter-preview iframe {
  background: #FFFFFF;
  border: 1px solid #DEE2E6;
  display: block;
  height: 560px;
  margin: 0 auto;
  max-width: 100%;
  width: 680px;
}

.admin-newsletter-preview.is-narrow iframe {
  width: 390px;
}

.admin-newsletter :focus-visible {
  outline: 4px solid var(--brand-accent);
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .admin-newsletter {
    gap: 24px;
  }

  .admin-newsletter-header,
  .admin-newsletter-list-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-newsletter-header-actions,
  .admin-newsletter-header-actions .btn,
  .admin-newsletter-filter {
    min-width: 0;
    width: 100%;
  }

  .admin-newsletter-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-newsletter-preview {
    padding: 8px;
  }
}

.site-header .container {
  gap: 16px;
  padding-bottom: 8px;
  padding-top: 8px;
}

.site-brand,
.site-nav-link {
  align-items: center;
  color: var(--brand-secondary);
  display: inline-flex;
  min-height: 44px;
  text-decoration: none;
}

.site-brand {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.site-nav-list {
  gap: 8px;
}

.site-nav-link {
  font-weight: 600;
  padding-left: 16px;
  padding-right: 16px;
}

.site-nav-link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-nav-link[href="/menu"][aria-current="page"] {
  color: var(--brand-accent);
}

.site-nav-link[href="/ingredients"][aria-current="page"] {
  color: var(--brand-accent);
}

.site-brand:focus-visible,
.site-nav-link:focus-visible {
  outline: 4px solid var(--brand-accent);
  outline-offset: 4px;
}

.menu-page h1 {
  font-family: inherit;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.menu-page .lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.menu-category h2,
.menu-item h3 {
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.menu-categories {
  display: grid;
  gap: 32px;
}

.menu-category {
  margin-bottom: 0 !important;
}

.menu-items > [class*="col-"] {
  align-self: start;
}

.menu-item.card {
  background-color: #FFFFFF;
  border-color: #DEE2E6;
  color: var(--brand-secondary);
  height: auto !important;
}

.menu-item .card-body {
  padding: 16px;
}

.menu-item-heading {
  flex-wrap: wrap;
}

.menu-item-price {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.menu-item-description {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.menu-item-statuses .badge {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 4px 8px;
}

.menu-item-statuses .text-bg-secondary {
  background-color: var(--brand-secondary) !important;
  color: #FFFFFF !important;
}

.menu-item-statuses .text-bg-info {
  background-color: var(--brand-accent) !important;
  color: #FFFFFF !important;
}

.menu-item:has(.text-bg-secondary) {
  background-color: #F8F9FA;
}

.menu-item:has(.text-bg-secondary) .menu-item-photo {
  filter: grayscale(20%);
  opacity: 0.72;
}

.menu-item-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  width: 100%;
}

.menu-photo-trigger {
  appearance: none;
  background: var(--ink);
  border: 0;
  cursor: pointer;
  display: block;
  height: 100%;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.menu-item-photo {
  aspect-ratio: 4 / 3;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: filter 140ms ease, transform 140ms ease;
  width: 100%;
}

.menu-photo-label {
  background: rgba(28, 28, 30, 0.9);
  border: 2px solid var(--paper-white);
  border-radius: 999px;
  bottom: 12px;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 700;
  left: 50%;
  line-height: 1;
  min-height: 44px;
  padding: 12px 18px;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
}

.menu-photo-trigger:hover .menu-item-photo,
.menu-photo-trigger:focus-visible .menu-item-photo {
  filter: brightness(0.82);
  transform: scale(1.025);
}

.menu-photo-trigger:focus-visible {
  box-shadow: inset 0 0 0 5px var(--brand-accent);
  outline: 0;
}

.menu-photo-modal .modal-dialog {
  margin: 8px auto;
  max-width: min(960px, calc(100vw - 16px));
}

.menu-photo-modal .modal-content {
  background: var(--paper-white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-card);
  color: var(--ink);
  overflow: hidden;
}

.menu-photo-modal .modal-header,
.menu-photo-modal .modal-footer {
  background: var(--paper);
  border-color: var(--ink);
}

.menu-photo-modal .modal-title {
  font-family: var(--font-display);
  font-weight: 700;
}

.menu-photo-modal .modal-body {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: clamp(8px, 2vw, 20px);
}

.menu-photo-modal-media {
  align-items: center;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-control);
  display: flex;
  height: min(68vh, 640px);
  justify-content: center;
  max-height: 86vh;
  max-width: 90vw;
  overflow: hidden;
  width: min(90vw, 900px);
}

.menu-photo-modal-image {
  display: block;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.menu-photo-modal-media.is-unavailable {
  background: var(--paper);
  height: auto;
  min-height: 180px;
}

.menu-photo-modal-unavailable {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  padding: 24px;
  text-align: center;
}

.menu-photo-modal-description {
  justify-self: stretch;
  max-width: 70ch;
}

.menu-empty {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.content-page {
  padding-bottom: 64px;
  padding-top: 64px;
}

.content-page-surface {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.content-page h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}

.content-page-rich {
  overflow-wrap: anywhere;
}

.content-page-rich h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
  margin-top: 32px;
}

.content-page-rich h3,
.content-page-rich h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 8px;
  margin-top: 24px;
}

.content-page-rich > :first-child {
  margin-top: 0;
}

.content-page-rich a {
  color: var(--brand-accent);
  text-decoration: underline;
}

.content-page-action {
  border-top: 1px solid #DEE2E6;
  margin-top: 32px;
  padding-top: 24px;
}

.content-page-order-link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

.content-page-action-note {
  color: #495057;
  font-size: 14px;
  margin-bottom: 0;
  margin-top: 8px;
}

.ingredient-page h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.ingredient-page h2,
.ingredient-page h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.ingredient-page .lead {
  font-size: 16px;
  line-height: 1.5;
}

.ingredient-map-intro {
  margin-bottom: 20px;
  max-width: 760px;
}

.ingredient-map-intro p {
  color: var(--ink-muted);
  margin-bottom: 0;
}

.ingredient-map-layout {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.ingredient-map-frame {
  background: var(--paper-white);
  border: var(--line-ink);
  border-radius: var(--radius-card);
  box-shadow: 3px 3px 0 var(--ink);
  min-width: 0;
  padding: 8px;
}

.ingredient-map-stage {
  aspect-ratio: 8 / 5;
  min-width: 0;
  position: relative;
  width: 100%;
}

.ingredient-map-svg,
.ingredient-map-pins {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.ingredient-map-svg {
  overflow: hidden;
}

.ingredient-map-paper {
  fill: var(--paper);
  stroke: transparent;
}

.ingredient-graticule line {
  stroke: rgba(98, 93, 87, 0.16);
  stroke-dasharray: 2 6;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.ingredient-world-base {
  filter: drop-shadow(1px 1px 0 rgba(28, 28, 30, 0.12));
}

.ingredient-map-stage.is-rough-enhanced .ingredient-strings-base {
  opacity: 0;
}

.ingredient-rough-overlay {
  pointer-events: none;
}

.ingredient-strings-base path {
  fill: none;
  pointer-events: none;
  stroke: var(--brand-accent);
  stroke-dasharray: 4 5;
  stroke-linecap: round;
  stroke-width: 1.75;
  transition: stroke-width 140ms ease, opacity 140ms ease;
  vector-effect: non-scaling-stroke;
}

.ingredient-strings-base path.is-selected {
  opacity: 1;
  stroke-dasharray: none;
  stroke-width: 3.25;
}

.ingredient-rough-string {
  opacity: 0.72;
  transition: opacity 140ms ease;
}

.ingredient-rough-string path {
  stroke-dasharray: 4 5;
  stroke-linecap: round;
}

.ingredient-rough-string.is-selected {
  opacity: 1;
}

.ingredient-rough-string.is-selected path {
  stroke: var(--brand-accent) !important;
  stroke-dasharray: none;
  stroke-width: 3.25 !important;
}

.ingredient-callout-leader {
  fill: none;
  opacity: 0;
  stroke: var(--ink);
  stroke-dasharray: 3 4;
  stroke-linecap: round;
  stroke-width: 1.25;
  transition: opacity 140ms ease, stroke 140ms ease;
  vector-effect: non-scaling-stroke;
}

.ingredient-callout-leader.is-visible {
  opacity: 0.58;
}

.ingredient-callout-leader.is-selected {
  stroke: var(--brand-accent);
}

.ingredient-source-anchor {
  fill: var(--brand-accent);
  stroke: var(--paper-white);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.ingredient-source-anchor-pulse {
  fill: none;
  opacity: 0;
  stroke: var(--brand-accent);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  vector-effect: non-scaling-stroke;
}

.ingredient-source-anchor-pulse.is-selected {
  animation: ingredient-anchor-pulse 1.5s ease-out infinite;
}

.ingredient-bellingham-anchor circle:first-child {
  fill: #FBF7EE;
  stroke: var(--brand-secondary);
  stroke-width: 3;
}

.ingredient-bellingham-center {
  fill: var(--brand-accent);
}

.ingredient-bellingham-anchor text {
  fill: var(--brand-secondary);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: 16px;
  font-weight: 600;
}

.ingredient-map-pins {
  pointer-events: none;
}

.ingredient-map-pin {
  align-items: center;
  display: flex;
  height: 44px;
  justify-content: center;
  left: var(--pin-x);
  pointer-events: auto;
  position: absolute;
  text-decoration: none;
  top: var(--pin-y);
  transform: translate(-50%, -50%);
  width: 44px;
  z-index: 3;
}

.ingredient-pin-number {
  align-items: center;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 rgba(28, 28, 30, 0.55);
  color: var(--ink);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  line-height: 1;
  transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
  width: 30px;
}

.ingredient-map-pin:hover .ingredient-pin-number,
.ingredient-map-pin:focus-visible .ingredient-pin-number {
  box-shadow: 2px 2px 0 var(--ink), 0 0 0 3px var(--paper-white), 0 0 0 6px var(--brand-accent);
  transform: translateY(-2px) scale(1.06);
}

.ingredient-map-pin.is-selected .ingredient-pin-number {
  background: var(--brand-accent);
  color: #FFFFFF;
}

.ingredient-map-pin:focus-visible {
  border-radius: 50%;
  outline: none;
}

.ingredient-selected-detail {
  align-self: start;
  background: var(--paper-white);
  border: var(--line-ink);
  border-radius: var(--radius-card);
  box-shadow: 3px 3px 0 var(--ink);
  min-height: 320px;
  overflow: hidden;
  padding: clamp(20px, 4vw, 32px);
}

.ingredient-source-story {
  display: none;
}

.ingredient-selected-detail.is-js-enhanced {
  display: grid;
}

.ingredient-selected-detail.is-js-enhanced .ingredient-source-story {
  display: block;
  grid-area: 1 / 1;
  pointer-events: none;
  visibility: hidden;
}

.ingredient-selected-detail.is-js-enhanced .ingredient-source-story.is-active {
  pointer-events: auto;
  visibility: visible;
}

.ingredient-source-story.is-active,
.ingredient-selected-detail:not(.is-js-enhanced) .ingredient-source-story:first-child,
.ingredient-selected-detail:not(.is-js-enhanced) .ingredient-source-story:target {
  display: block;
}

.ingredient-selected-detail:not(.is-js-enhanced):has(.ingredient-source-story:target) .ingredient-source-story:first-child:not(:target) {
  display: none;
}

.ingredient-source-story.is-exiting {
  animation: ingredient-story-out 140ms ease both;
}

.ingredient-source-story.is-entering {
  animation: ingredient-story-in 220ms ease both;
}

.ingredient-story-eyebrow {
  color: var(--brand-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ingredient-source-story h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 16px;
}

.ingredient-story-body {
  font-size: 17px;
  line-height: 1.65;
}

.ingredient-story-meta {
  border-block: 1px dashed rgba(28, 28, 30, 0.35);
  display: grid;
  gap: 12px;
  margin-block: 24px;
  padding-block: 16px;
}

.ingredient-story-meta div {
  display: grid;
  gap: 2px;
}

.ingredient-story-meta dt {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ingredient-story-meta dd {
  color: var(--ink-muted);
  font-size: 14px;
  margin: 0;
}

.ingredient-selected-detail a {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

@keyframes ingredient-anchor-pulse {
  0% { opacity: 0.75; transform: scale(0.7); }
  70%, 100% { opacity: 0; transform: scale(1.55); }
}

@keyframes ingredient-story-out {
  to { opacity: 0; transform: translateY(-4px); }
}

@keyframes ingredient-story-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 992px) {
  .ingredient-map-layout {
    gap: 24px;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  }

  .ingredient-selected-detail {
    position: sticky;
    top: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-item-photo {
    transition: none;
  }

  .menu-photo-trigger:hover .menu-item-photo,
  .menu-photo-trigger:focus-visible .menu-item-photo {
    transform: none;
  }

  .ingredient-map-pin .ingredient-pin-number,
  .ingredient-strings-base path,
  .ingredient-rough-string,
  .ingredient-callout-leader {
    transition-duration: 0s;
  }

  .ingredient-map-pin:hover .ingredient-pin-number,
  .ingredient-map-pin:focus-visible .ingredient-pin-number {
    transform: none;
  }

  .ingredient-source-anchor-pulse.is-selected,
  .ingredient-source-story.is-exiting,
  .ingredient-source-story.is-entering {
    animation: none;
  }
}

@media (max-width: 575.98px) {
  .content-page {
    padding-bottom: 32px;
    padding-top: 32px;
  }

  .site-header .container {
    align-items: flex-start !important;
  }

  .site-brand {
    flex-basis: 100%;
  }

  .menu-item-heading {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 8px !important;
  }
}

.admin-sidebar {
  background-color: var(--brand-secondary);
  color: #fff;
}

.admin-sidebar .nav-link {
  color: #fff;
}

.admin-sidebar .nav-link.active {
  color: var(--brand-accent);
}

@media (min-width: 768px) {
  .offcanvas-md.admin-sidebar {
    background-color: var(--brand-secondary) !important;
  }
}

.admin-menu-page [data-menu-action] {
  min-height: 44px;
  min-width: 44px;
}

.admin-ingredient-page h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.admin-ingredient-page h2,
.admin-ingredient-modal h2,
#deleteSourceModal h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.admin-ingredient-source .card-body {
  padding: 16px;
}

.admin-ingredient-actions > *,
.admin-ingredient-page [data-add-source],
.admin-ingredient-modal button,
#deleteSourceModal button {
  min-height: 44px;
  min-width: 44px;
}

.admin-visibility-control {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  min-height: 44px;
  padding-left: 2.75rem;
}

.admin-ingredient-source[aria-busy="true"] {
  opacity: 0.72;
}

.admin-pages-page {
  max-width: 1040px;
}

.admin-pages-header {
  margin-bottom: 32px;
}

.admin-pages-header h1 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}

.admin-pages-header p {
  color: #495057;
  margin-bottom: 0;
}

.admin-page-editors {
  display: grid;
  gap: 32px;
}

.admin-page-editor {
  background: #FFFFFF;
  color: var(--brand-secondary);
  min-width: 0;
}

.admin-page-editor-header {
  align-items: center;
  background: #F8F9FA;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 24px;
}

.admin-page-editor-header h2,
.admin-pages-page [data-pages-missing] h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.admin-page-status {
  border: 1px solid #6C757D;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  padding: 4px 8px;
}

.admin-page-status.is-public {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #FFFFFF;
}

.admin-page-editor .card-body {
  padding: 24px;
}

.admin-page-editor fieldset {
  min-width: 0;
}

.admin-page-field {
  margin-bottom: 24px;
  min-width: 0;
}

.admin-page-public-toggle .form-check-label {
  font-size: 16px;
  font-weight: 600;
}

.admin-page-required,
.admin-page-field .form-text,
.admin-page-save-error,
.admin-page-save-status {
  font-size: 14px;
  line-height: 1.4;
}

.admin-page-required {
  font-weight: 400;
}

.admin-page-field .form-text {
  color: #495057;
}

.admin-page-editor .form-control,
.admin-page-actions button {
  min-height: 44px;
}

.admin-page-rich-editor {
  min-height: 220px;
  resize: vertical;
}

.admin-page-editor .note-editor,
.admin-page-editor .note-editing-area,
.admin-page-editor .note-editable,
.admin-page-editor .note-toolbar {
  max-width: 100%;
  min-width: 0;
}

.admin-page-editor .note-toolbar {
  background-color: #F8F9FA;
  border-bottom: 1px solid #DEE2E6;
  display: flex;
  flex-wrap: wrap;
}

.admin-page-editor .note-toolbar .note-btn-group {
  display: flex;
  flex-wrap: wrap;
}

.admin-page-editor .note-toolbar .note-btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

.admin-page-editor .note-editable {
  min-height: 220px;
  overflow-wrap: anywhere;
}

.admin-page-editor .note-statusbar {
  background-color: #F8F9FA;
}

.admin-page-image-tools {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.admin-page-image-tools--toolbar {
  border-top: 1px solid #DEE2E6;
  flex: 0 0 100%;
  margin-top: 4px;
  padding-top: 8px;
  width: 100%;
}

.admin-page-image-tools .btn {
  min-height: 44px;
}

.admin-page-image-status {
  color: var(--muted-ink);
  font-size: 14px;
  line-height: 1.4;
  min-height: 20px;
}

.admin-page-editor .note-editable img,
.content-page-rich img {
  display: block;
  height: auto;
  margin: 20px auto;
  max-width: 100%;
}

.admin-page-editor .note-editable img {
  border: 2px solid transparent;
  border-radius: var(--radius-admin);
}

.admin-page-editor .note-editable img.note-current,
.admin-page-editor .note-editable img:focus {
  border-color: var(--palette-secondary);
  box-shadow: var(--focus-ring);
}

.admin-page-public-toggle {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  min-height: 44px;
  padding-block: 6px;
  padding-left: 0;
  width: fit-content;
}

.admin-page-public-toggle .form-check-input {
  cursor: pointer;
}

.admin-page-public-toggle .form-check-input:disabled,
.admin-page-public-toggle .form-check-input:disabled + .form-check-label {
  cursor: not-allowed;
  opacity: 0.55;
}

.admin-page-save-error {
  color: #FFFFFF;
  background: var(--brand-destructive);
  border-color: var(--brand-destructive);
  margin-bottom: 16px;
}

.admin-page-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.admin-page-actions button {
  min-width: 176px;
}

.admin-page-save-status {
  min-height: 20px;
}

.admin-page-editor[aria-busy="true"],
.admin-page-editor form[aria-busy="true"] {
  opacity: 0.76;
}

@media (max-width: 767.98px) {
  .admin-page-editor-header,
  .admin-page-editor .card-body {
    padding: 16px;
  }

  .admin-page-actions button {
    width: 100%;
  }

  .admin-ingredient-actions > *,
  .admin-ingredient-actions .btn {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .admin-page-image-tools--toolbar .btn,
  .admin-page-image-tools--toolbar .admin-page-image-status {
    flex-basis: 100%;
    width: 100%;
  }
}

.admin-menu-modal .modal-content .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.75;
}

.admin-menu-item-photo,
.menu-photo-current img {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}

.admin-menu-item-photo {
  height: 120px;
  max-width: 160px;
  width: 100%;
}

.menu-photo-current img {
  margin-bottom: 8px;
  max-height: 180px;
  max-width: 240px;
  width: 100%;
}

.menu-photo-processing {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 44px;
}

@media (max-width: 767.98px) {
  .admin-sidebar .nav-link,
  #adminMenuToggle {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

:root {
  --brand-destructive: #B91C1C;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --radius-control: 10px;
  --radius-card: 14px;
  --radius-admin: 8px;
  --line-quiet: 1px solid rgba(28, 28, 30, 0.24);
  --line-ink: 2px solid var(--ink);
  --shadow-sketch: 4px 4px 0 var(--ink);
  --motion-fast: 160ms;
  --bs-primary: var(--brand-accent);
  --bs-border-color: rgba(28, 28, 30, 0.24);
  scroll-behavior: auto;
}

html {
  background: var(--paper);
  overflow-x: clip;
}

body {
  background-color: var(--paper);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-wrap: break-word;
}

main {
  flex: 1 0 auto;
  min-width: 0;
}

h1,
h2,
h3,
.h1,
.h2,
.h3,
.h4,
.site-brand-name {
  color: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
}

p,
li,
label,
input,
select,
textarea,
button,
.badge,
.menu-item-price {
  font-family: var(--font-body);
}

a {
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.12em;
}

a:not(.btn):hover {
  text-decoration-thickness: 0.18em;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  border-radius: max(2px, var(--radius-control));
  box-shadow: var(--focus-ring);
  outline: 3px solid transparent;
  outline-offset: 3px;
}

.page-link,
summary {
  min-height: 44px;
}

.form-text,
.text-secondary,
.text-muted {
  color: var(--ink-muted) !important;
}

.text-brand-accent {
  color: var(--brand-accent) !important;
}

.bg-brand-secondary {
  background-color: var(--ink) !important;
}

.sketch-heading {
  display: inline-block;
  isolation: isolate;
  max-width: 100%;
  padding-bottom: 12px;
  position: relative;
}

.sketch-heading::after {
  background: var(--brand-accent);
  border-radius: 50%;
  bottom: 3px;
  content: "";
  height: 3px;
  left: 2%;
  opacity: 0.9;
  position: absolute;
  transform: rotate(-1deg);
  width: 96%;
  z-index: -1;
}

.rough-ready .sketch-heading::after {
  opacity: 0;
}

.sketch-underline-svg {
  bottom: -1px;
  height: 18px;
  left: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: -1;
}

[data-sketch-frame] {
  isolation: isolate;
  position: relative;
}

.sketch-frame-svg {
  height: 100%;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 2;
}

.sketch-frame-svg path {
  vector-effect: non-scaling-stroke;
}

.sketch-card,
.status-panel,
.content-page-surface,
.auth-card {
  background: var(--paper-white);
  border: var(--line-ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sketch);
}

.status-panel {
  padding: clamp(24px, 5vw, 48px);
}

.status-panel[role="alert"] {
  border-left: 8px solid var(--brand-destructive);
}

.page-hero {
  background: var(--paper);
  border-bottom: var(--line-ink);
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 88px);
  position: relative;
}

.page-hero::before {
  border-top: 3px solid var(--brand-accent);
  content: "";
  left: -4%;
  opacity: 0.85;
  position: absolute;
  top: 22px;
  transform: rotate(-1.2deg);
  width: 48%;
}

.page-hero h1,
.content-page h1,
.blog-post h1,
.auth-hero h1 {
  font-size: clamp(2.125rem, 5vw, 3.625rem);
  line-height: 1.08;
}

.hero-kicker {
  color: var(--brand-accent);
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  max-width: 58ch;
}

.hero-doodle {
  display: block;
  height: auto;
  margin-inline: auto;
  max-height: 220px;
  max-width: min(100%, 260px);
  transform: rotate(1.5deg);
  width: 100%;
}

.site-header {
  background: var(--ink) !important;
  border-bottom: 3px solid var(--brand-accent) !important;
  color: #FFFFFF;
  position: relative;
  z-index: 1030;
}

.site-navbar {
  min-height: 74px;
  padding-block: 8px;
  width: 100%;
}

.site-brand {
  color: #FFFFFF;
  gap: 10px;
  margin: 0;
  padding: 4px 8px 4px 0;
  text-decoration: none;
}

.site-brand:hover,
.site-brand:focus {
  color: #FFFFFF;
}

.site-brand-mark {
  background: var(--paper-white);
  border: 2px solid var(--brand-accent);
  border-radius: 50%;
  height: 48px;
  padding: 4px;
  width: 48px;
}

.site-brand-name {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1;
}

.site-header .navbar-toggler {
  border: 2px solid #FFFFFF;
  border-radius: var(--radius-control);
  color: #FFFFFF;
  min-height: 44px;
  min-width: 48px;
}

.site-header .navbar-toggler-icon {
  filter: grayscale(1) invert(1) brightness(2);
}

.site-nav-list {
  gap: 4px;
  margin-left: auto;
  padding-block: 8px;
}

.site-nav-link {
  border-radius: 8px;
  color: #FFFFFF;
  min-height: 44px;
  padding: 10px 12px !important;
  position: relative;
  text-decoration: none;
}

.site-nav-link:hover,
.site-nav-link:focus,
.site-nav-link[href="/menu"][aria-current="page"],
.site-nav-link[href="/ingredients"][aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.site-nav-link[aria-current="page"] {
  color: #FFFFFF;
  text-decoration: none;
}

.site-nav-link[aria-current="page"]::after {
  background: var(--brand-accent);
  bottom: 4px;
  content: "";
  height: 3px;
  left: 12px;
  position: absolute;
  transform: rotate(-1.5deg);
  width: calc(100% - 24px);
}

.site-header :where(a, button):focus-visible,
#site_footer :where(a, button, input):focus-visible,
.admin-sidebar :where(a, button):focus-visible {
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 6px #FFFFFF, 0 0 0 9px var(--brand-accent);
}

#site_footer {
  border-top: 4px solid var(--brand-accent);
  flex-shrink: 0;
  margin-top: 0 !important;
  position: relative;
}

.footer-brand-doodle {
  height: auto;
  opacity: 0.86;
  position: absolute;
  right: max(16px, 5vw);
  top: 18px;
  width: 72px;
}

.newsletter-signup {
  border-color: rgba(255, 255, 255, 0.35) !important;
}

.newsletter-signup h2,
#site_footer h3 {
  font-family: var(--font-display);
}

.home-hours {
  padding-block: var(--space-16);
}

.home-hours-card {
  padding: clamp(24px, 4vw, 40px);
}

.hours-row {
  border-bottom: var(--line-quiet);
  padding-block: 10px;
}

.hours-row:last-child {
  border-bottom: 0;
}

.home-feature-grid {
  padding-bottom: var(--space-16);
}

.home-feature-card {
  height: 100%;
  padding: var(--space-6);
}

.home-feature-card img {
  height: 72px;
  margin-bottom: var(--space-4);
  object-fit: contain;
  object-position: left center;
  width: 92px;
}

.menu-page,
.ingredient-page,
.blog-archive,
.blog-post,
.content-page,
.newsletter-status-page,
.auth-page {
  background: transparent;
}

.menu-page,
.ingredient-page,
.blog-archive {
  padding-block: clamp(40px, 6vw, 72px) !important;
}

.menu-page h1,
.ingredient-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 5vw, 3.625rem);
  line-height: 1.08;
}

.menu-page .lead,
.ingredient-page .lead {
  font-size: 1.125rem;
  line-height: 1.6;
}

.menu-category {
  margin: 0 !important;
}

.menu-category > summary {
  background: var(--paper-white);
  border: var(--line-ink);
  border-radius: var(--radius-card);
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
  list-style-position: inside;
  padding: 16px 20px;
}

.menu-category > summary::marker {
  color: var(--brand-accent);
}

.menu-category > summary h2 {
  display: inline;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
}

.menu-category > summary p {
  margin: 8px 0 0 24px;
}

.menu-category > .menu-items {
  margin-top: var(--space-4);
}

.menu-item.card {
  background: var(--paper-white);
  border: var(--line-ink);
  border-radius: var(--radius-card);
  box-shadow: 3px 3px 0 var(--ink);
  overflow: hidden;
}

.menu-item .card-body {
  padding: clamp(16px, 3vw, 24px);
}

.menu-category h2,
.menu-item h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.menu-item-heading {
  align-items: baseline !important;
}

.menu-item-price {
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: #FFFFFF;
  padding: 3px 10px;
}

.menu-item-statuses .text-bg-info {
  background: var(--brand-accent) !important;
  border: 1px solid var(--ink);
  color: #FFFFFF !important;
}

.menu-item-statuses .text-bg-secondary {
  border: 1px solid var(--ink);
}

.menu-item-media {
  border-bottom: 2px solid var(--ink);
}

@media (min-width: 992px) {
  .menu-item--featured {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    min-height: 240px;
  }

  .menu-item--featured .menu-item-media {
    align-self: stretch;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 2px solid var(--ink);
    height: 100%;
    max-height: 320px;
    min-height: 240px;
  }

  .menu-item--featured .menu-item-photo {
    aspect-ratio: auto;
  }

  .menu-item--featured .card-body {
    align-self: center;
  }
}

.menu-empty,
.menu-read-failure,
.ingredient-empty,
.ingredient-read-failure,
.blog-empty {
  background: var(--paper-white);
  border: var(--line-ink) !important;
  border-radius: var(--radius-card) !important;
  box-shadow: var(--shadow-sketch) !important;
  padding: clamp(24px, 5vw, 48px) !important;
}

.ingredient-map-pin {
  min-height: 44px;
  min-width: 44px;
}

.content-page {
  padding-block: clamp(40px, 7vw, 80px);
}

.content-page-surface {
  max-width: 820px;
  padding: clamp(24px, 5vw, 56px);
}

.content-page-rich,
.blog-post-body {
  font-size: 1.075rem;
  line-height: 1.75;
  max-width: 70ch;
}

.content-page-rich h2,
.content-page-rich h3,
.content-page-rich h4,
.blog-post-body h2,
.blog-post-body h3,
.blog-post-body h4 {
  font-family: var(--font-display);
}

.content-page-rich img,
.content-page-rich table,
.blog-post-body img,
.blog-post-body table {
  height: auto;
  max-width: 100%;
}

.content-page-action {
  border-top: 3px solid var(--brand-accent);
}

.blog-heading {
  max-width: 70ch;
}

.blog-card {
  background: var(--paper-white) !important;
  border: var(--line-ink) !important;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sketch) !important;
  color: var(--ink);
}

.blog-card .card-body {
  padding: clamp(20px, 4vw, 32px) !important;
}

.blog-card h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.blog-post-container {
  max-width: 900px;
}

.blog-post .blog-post-container {
  background: var(--paper-white);
  border: var(--line-ink);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sketch);
  padding: clamp(24px, 5vw, 56px);
}

.blog-back-link {
  min-height: 44px;
}

.pagination .page-link {
  align-items: center;
  background: var(--paper-white);
  border: 2px solid var(--ink);
  color: var(--ink);
  display: flex;
  font-weight: 700;
}

.pagination .page-item.disabled .page-link {
  background: rgba(255, 253, 252, 0.72);
  color: var(--ink-muted);
}

.newsletter-status-page {
  padding-block: clamp(48px, 8vw, 96px);
}

.newsletter-status-surface {
  max-width: 720px;
}

.newsletter-status-surface h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
}

.auth-page {
  padding-bottom: clamp(48px, 8vw, 96px);
}

.auth-hero {
  background: var(--ink);
  border-bottom: 4px solid var(--brand-accent);
  color: #FFFFFF;
  padding-block: clamp(36px, 6vw, 64px);
}

.auth-hero .hero-kicker {
  color: #FF9A9E;
}

.auth-card {
  margin: clamp(32px, 6vw, 64px) auto 0;
  max-width: 620px;
  padding: clamp(24px, 5vw, 48px);
}

@media (min-width: 768px) {
  .menu-category > summary {
    background: transparent;
    border: 0;
    border-bottom: 3px solid var(--brand-accent);
    border-radius: 0;
    box-shadow: none;
    cursor: default;
    list-style: none;
    padding-inline: 0;
  }

  .menu-category > summary::-webkit-details-marker {
    display: none;
  }

  .menu-category > summary p {
    margin-left: 0;
  }

  .menu-category:not([open]) > .menu-items {
    display: flex !important;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    margin-top: 8px;
    width: 100%;
  }

  .site-nav-list {
    align-items: stretch !important;
  }

  .site-nav-link {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .site-header .site-brand {
    flex-basis: auto;
  }

  .page-hero .btn,
  .content-page-action .btn,
  .auth-card .btn[type="submit"] {
    width: 100%;
  }

  .footer-brand-doodle {
    display: none;
  }

  .menu-item-heading {
    align-items: flex-start !important;
  }

  .menu-item-price {
    align-self: flex-start;
  }
}

@media print {
  .site-header .navbar-collapse,
  .menu-category:not([open]) > .menu-items {
    display: block !important;
  }

  .site-header,
  #site_footer,
  .sketch-frame-svg,
  .sketch-underline-svg {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-doodle,
  .page-hero::before,
  .sketch-heading::after {
    transform: none;
  }
}

.admin-body {
  background: var(--paper);
  display: block;
  min-width: 0;
}

.skip-link {
  background: #FFFFFF;
  border: 3px solid var(--brand-accent);
  border-radius: var(--radius-control);
  color: var(--ink);
  font-weight: 800;
  left: 12px;
  padding: 10px 14px;
  position: fixed;
  top: -100px;
  z-index: 2000;
}

.skip-link:focus-visible {
  box-shadow: 0 0 0 3px var(--ink);
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
  top: 12px;
}

.admin-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.admin-mobile-bar {
  background: var(--ink);
  border-bottom: 3px solid var(--brand-accent);
  color: #FFFFFF;
  min-height: 64px;
  z-index: 1035;
}

.admin-mobile-brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  line-height: 1.05;
}

.admin-mobile-brand img,
.admin-brand img {
  background: #FFFFFF;
  border: 2px solid var(--brand-accent);
  border-radius: 50%;
  flex: 0 0 auto;
  padding: 3px;
}

.admin-mobile-brand small,
.admin-brand small {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.admin-sidebar,
.offcanvas-md.admin-sidebar {
  background: var(--ink) !important;
  border-right: 3px solid var(--brand-accent) !important;
  color: #FFFFFF;
  padding: 0;
}

.admin-sidebar .offcanvas-header {
  border-color: rgba(255, 255, 255, 0.22) !important;
  min-height: 64px;
}

.admin-sidebar .offcanvas-header .btn-close {
  min-height: 44px;
  min-width: 44px;
}

.admin-sidebar .offcanvas-body {
  padding: 18px 12px;
}

.admin-brand {
  align-items: center;
  color: #FFFFFF;
  display: flex;
  gap: 12px;
  margin: 0 6px 24px;
  min-height: 60px;
  padding: 4px;
  text-decoration: none;
}

.admin-brand:hover,
.admin-brand:focus-visible {
  color: #FFFFFF;
  text-decoration: none;
}

.admin-brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.05;
}

.admin-sidebar .nav {
  gap: 4px;
}

.admin-sidebar .nav-link {
  align-items: center;
  border-left: 4px solid transparent;
  border-radius: 0 var(--radius-admin) var(--radius-admin) 0;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  font-weight: 700;
  min-height: 44px;
  padding: 9px 12px;
  text-decoration: none;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link[aria-current="page"] {
  background: #FFFFFF;
  border-left-color: var(--brand-accent);
  color: var(--ink);
}

.admin-sidebar hr {
  border-color: rgba(255, 255, 255, 0.28) !important;
  opacity: 1;
}

.admin-workspace {
  background-color: var(--paper);
  min-width: 0;
  padding: clamp(20px, 3vw, 44px);
}

.admin-workspace:focus {
  outline: 0;
}

.admin-workspace > .container-fluid,
.admin-workspace > [class*="admin-"] {
  margin-inline: auto;
  max-width: 1480px;
  min-width: 0;
}

.admin-workspace h1,
.admin-workspace .h1,
.admin-workspace .h2,
.admin-workspace .h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.admin-workspace h1 {
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.08;
}

.admin-workspace h2,
.admin-workspace .h2 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  line-height: 1.15;
}

.admin-workspace h3,
.admin-workspace .h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.2;
}

.admin-page-heading,
.admin-menu-page > header,
.admin-ingredient-page > header,
.admin-pages-header,
.admin-newsletter-header,
.admin-blog > header,
.admin-settings-header {
  align-items: start;
  border-bottom: 2px solid var(--ink);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 18px;
}

.admin-page-heading p,
.admin-menu-page > header p,
.admin-ingredient-page > header p,
.admin-pages-header p,
.admin-newsletter-header p,
.admin-blog > header p,
.admin-settings-header p {
  color: var(--ink-muted) !important;
  max-width: 68ch;
}

.admin-workspace .card,
.admin-workspace [data-admin-source-empty],
.admin-workspace [data-filtered-menu-empty] {
  background: var(--paper-white);
  border: 1px solid rgba(28, 28, 30, 0.34);
  border-radius: var(--radius-admin);
  box-shadow: 0 2px 10px rgba(28, 28, 30, 0.13);
  color: var(--ink);
}

.admin-workspace .card-header {
  background: rgba(248, 241, 227, 0.72);
  border-bottom: 1px solid rgba(28, 28, 30, 0.28);
  color: var(--ink);
}

.admin-workspace .card-body {
  padding: clamp(18px, 2.5vw, 28px);
}

.admin-workspace .border.rounded {
  background: rgba(255, 253, 252, 0.72);
  border-color: rgba(28, 28, 30, 0.3) !important;
  border-radius: var(--radius-admin) !important;
}

.admin-workspace legend {
  color: var(--ink);
  font-weight: 700;
}

.admin-workspace .form-text,
.admin-workspace .text-body-secondary {
  color: var(--ink-muted) !important;
}

.admin-workspace .form-check-label {
  align-items: center;
  display: inline-flex;
  min-height: 44px;
}

.admin-workspace .alert {
  background: var(--paper-white);
  border: 2px solid currentColor;
  border-left-width: 8px;
  border-radius: var(--radius-admin);
  color: var(--ink);
}

.admin-workspace .alert-success {
  border-color: var(--brand-success);
}

.admin-workspace .alert-warning {
  border-color: var(--brand-warning);
}

.admin-workspace .alert-danger {
  border-color: var(--brand-destructive);
}

.admin-workspace [role="status"],
.admin-workspace [aria-live] {
  overflow-wrap: anywhere;
}

.admin-workspace [data-menu-loading],
.admin-workspace [data-pages-loading],
.admin-workspace [data-subscriber-loading] {
  background: var(--paper-white);
  border-left: 5px solid var(--brand-accent);
  font-weight: 700;
  padding: 14px 16px;
}

.admin-loading-state::before {
  background: var(--brand-accent);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 8px;
  margin-right: 8px;
  width: 8px;
}

.admin-empty-state {
  margin-block: 14px;
  padding: 20px;
}

.admin-empty-state :where(h2, h3, p:last-child) {
  margin-bottom: 0;
}

.admin-dashboard-card {
  transition: border-color var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.admin-dashboard-card:focus-within,
.admin-dashboard-card:hover {
  border-color: var(--brand-accent);
  box-shadow: 0 4px 16px rgba(28, 28, 30, 0.18);
}

.admin-menu-toggle-control {
  align-items: center;
  display: flex;
  min-height: 44px;
}

.admin-menu-toggle-control .form-check-label {
  cursor: pointer;
}

.admin-page-status.is-public {
  background: var(--brand-success);
  border-color: var(--brand-success);
  color: #FFFFFF;
}

.admin-sticky-actions {
  background: rgba(248, 241, 227, 0.94);
  border-top: 1px solid rgba(28, 28, 30, 0.28);
  bottom: 0;
  margin-inline: -6px;
  padding: 14px 6px;
  position: sticky;
  z-index: 5;
}

.admin-blog .list-group-item {
  background: var(--paper-white);
  border-color: rgba(28, 28, 30, 0.2);
  color: var(--ink);
  min-height: 44px;
}

.admin-blog .list-group-item.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

.admin-blog [data-blog-actions] .btn {
  min-height: 44px;
}

.admin-page-status {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 6px 10px;
}

.admin-workspace :where(.table-responsive, [data-subscriber-table-wrap]) {
  border: 1px solid rgba(28, 28, 30, 0.28);
  border-radius: var(--radius-admin);
  max-width: 100%;
  overflow-x: auto;
}

.admin-workspace .table {
  --bs-table-bg: var(--paper-white);
  --bs-table-color: var(--ink);
  margin-bottom: 0;
}

.admin-workspace .table thead th {
  background: var(--ink);
  color: #FFFFFF;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding-block: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-workspace .table td {
  border-color: rgba(28, 28, 30, 0.18);
  padding-block: 12px;
}

.admin-menu-record-actions form,
.admin-menu-switches form {
  margin: 0;
}

.admin-menu-item-photo,
.menu-photo-current img {
  border: 2px solid var(--ink);
  border-radius: var(--radius-admin);
}

.admin-newsletter-summary article {
  background: var(--paper-white);
  border: 1px solid rgba(28, 28, 30, 0.32);
  border-radius: var(--radius-admin);
  box-shadow: 0 2px 8px rgba(28, 28, 30, 0.12);
}

.admin-newsletter-summary span {
  color: var(--brand-accent);
  font-family: var(--font-display);
}

.admin-newsletter-preview {
  background: var(--paper);
  border: 2px solid rgba(28, 28, 30, 0.3);
  border-radius: var(--radius-admin);
  max-width: 100%;
  overscroll-behavior-inline: contain;
}

.admin-newsletter-preview iframe {
  border: 2px solid var(--ink);
  border-radius: 4px;
}

.admin-page-editor-header,
.admin-page-editor .note-toolbar,
.admin-blog .note-toolbar {
  background: var(--paper) !important;
}

.admin-workspace .note-editor {
  border: 2px solid rgba(28, 28, 30, 0.42);
  max-width: 100%;
  min-width: 0;
  overflow: clip;
}

.admin-workspace .note-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 100%;
  padding: 8px;
}

.admin-workspace .note-toolbar .note-btn-group {
  display: flex;
  flex-wrap: wrap;
  margin: 0 !important;
}

.admin-workspace .note-toolbar .note-btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
}

.admin-workspace .note-editable {
  min-height: 220px;
  overflow-wrap: anywhere;
}

.admin-body .modal-content {
  background: var(--paper-white);
  border: 2px solid var(--ink);
  border-radius: var(--radius-admin);
  box-shadow: 0 18px 48px rgba(28, 28, 30, 0.32);
  color: var(--ink);
}

.admin-body .modal-header {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}

.admin-body .modal-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
}

.admin-body .modal-footer {
  background: rgba(248, 241, 227, 0.58);
  border-top: 1px solid rgba(28, 28, 30, 0.28);
}

.admin-body .modal :where(.btn, .btn-close, .form-control, .form-select) {
  min-height: 44px;
  min-width: 44px;
}

.admin-body .modal .btn-close {
  border-radius: var(--radius-control);
  filter: none;
  opacity: 0.72;
}

.admin-body .modal-backdrop.show {
  opacity: 0.68;
}

@media (min-width: 768px) {
  .admin-sidebar {
    min-height: 100vh;
  }

  .admin-sidebar .position-sticky {
    max-height: 100vh;
    overflow-y: auto;
    top: 0;
  }
}

@media (max-width: 767.98px) {
  .admin-workspace {
    padding: 22px 14px 36px;
  }

  .admin-page-heading,
  .admin-menu-page > header,
  .admin-ingredient-page > header,
  .admin-pages-header,
  .admin-newsletter-header,
  .admin-blog > header,
  .admin-settings-header,
  .admin-newsletter-list-header {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-menu-actions,
  .admin-ingredient-actions,
  .admin-newsletter-header-actions,
  .admin-newsletter-self-test-actions,
  .admin-page-actions,
  .admin-blog [data-blog-actions] {
    width: 100%;
  }

  .admin-menu-actions > *,
  .admin-ingredient-actions > *,
  .admin-ingredient-actions .btn,
  .admin-newsletter-header-actions > *,
  .admin-newsletter-self-test-actions > *,
  .admin-page-actions > *,
  .admin-page-actions .btn {
    width: 100%;
  }

  .admin-workspace .card-body,
  .admin-workspace .card-header {
    padding: 16px;
  }

  .admin-newsletter-summary {
    grid-template-columns: 1fr 1fr;
  }

  .admin-newsletter-card dl div {
    grid-template-columns: minmax(88px, 0.45fr) minmax(0, 1fr);
  }

  .admin-body .modal-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .admin-body .modal-footer .btn {
    margin: 0;
    width: 100%;
  }
}

@media (max-width: 359.98px) {
  .admin-newsletter-summary {
    grid-template-columns: 1fr;
  }

  .admin-mobile-brand img {
    display: none;
  }
}

.admin-sidebar .offcanvas-body,
.admin-sidebar .position-sticky,
.admin-sidebar .nav,
.admin-sidebar .nav-item,
.admin-sidebar .nav-link {
  min-width: 0;
}

.admin-sidebar .offcanvas-body {
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
}

.admin-sidebar .nav-link {
  overflow-wrap: anywhere;
  white-space: normal;
}

#blogWorkspace,
#newsletterCampaignWorkspace,
.admin-newsletter,
#blogWorkspace .row,
#newsletterCampaignWorkspace .row,
#blogWorkspace [data-blog-list-column],
#blogWorkspace [data-blog-editor-column],
#newsletterCampaignWorkspace [data-campaign-list-column],
#newsletterCampaignWorkspace [data-campaign-editor-column] {
  min-width: 0;
}

#blogWorkspace .list-group-item,
#newsletterCampaignWorkspace .list-group-item,
#newsletterCampaignWorkspace .campaign-facts dd,
#newsletterCampaignWorkspace .newsletter-readonly-content,
#newsletterCampaignWorkspace .managed-newsletter-image,
.admin-newsletter td,
.admin-newsletter dd,
.admin-newsletter summary {
  overflow-wrap: anywhere;
  word-break: break-word;
}

#newsletterCampaignWorkspace :where(.btn, summary, .form-control, .form-select),
.admin-newsletter :where(.btn, summary, .form-control, .form-select) {
  min-height: 44px;
  min-width: 44px;
}

#newsletterCampaignWorkspace .campaign-list .list-group-item.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #FFFFFF;
}

#newsletterCampaignWorkspace .newsletter-preview-scroll {
  background: var(--paper);
  border: 2px solid rgba(28, 28, 30, 0.3);
  border-radius: var(--radius-admin);
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: var(--space-2);
}

#newsletterCampaignWorkspace .newsletter-preview-frame:not([hidden]) {
  background: #FFFFFF;
  border: 2px solid var(--ink);
  box-sizing: border-box;
  display: block;
  height: 560px;
  max-width: none;
  width: 680px;
}

#newsletterCampaignWorkspace .newsletter-preview-frame.is-narrow:not([hidden]) {
  width: 390px;
}

#newsletterCampaignWorkspace noscript iframe {
  background: #FFFFFF;
  border: 2px solid var(--ink);
  display: block;
  max-width: 100%;
}

#newsletterCampaignWorkspace .managed-newsletter-image,
.admin-newsletter-card,
.newsletter-remove-confirm[open] {
  max-width: 100%;
}

.newsletter-remove-confirm > summary {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  list-style: none;
}

.newsletter-remove-confirm > summary::-webkit-details-marker {
  display: none;
}

@media (max-width: 1199.98px) {
  #blogWorkspace [data-blog-editor-column],
  #newsletterCampaignWorkspace [data-campaign-editor-column] {
    margin-top: 0;
  }
}

@media (max-width: 575.98px) {
  #newsletterCampaignWorkspace :where(.campaign-history-actions, [data-newsletter-actions]),
  #newsletterCampaignWorkspace :where(.campaign-history-actions, [data-newsletter-actions]) > *,
  .admin-newsletter-header-actions,
  .admin-newsletter-header-actions > *,
  .admin-newsletter-filter,
  .admin-newsletter-filter .btn,
  .admin-newsletter-filter .form-select,
  .newsletter-remove-confirm,
  .newsletter-remove-confirm .btn {
    width: 100%;
  }

  #newsletterCampaignWorkspace .newsletter-preview-scroll {
    padding: var(--space-1);
  }
}
