/**
 * Recipe detail (show) page
 */

.rshow-pg {
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

/* Hero */
.rshow-hero {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.rshow-hero-media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--brand-border, #ecd9c8);
  background: #faf7f4;
  box-shadow: 0 4px 16px rgba(61, 46, 31, 0.08);
}

.rshow-hero-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.rshow-hero-body {
  min-width: 0;
  padding-top: 0.15rem;
}

.rshow-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c45c32;
}

.rshow-hero-heading {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
}

.rshow-title {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 2.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-black, #3d2e1f);
  line-height: 1.15;
  margin: 0;
  flex: 1;
  min-width: 0;
}

.rshow-more-btn {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #8a7566;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}

.rshow-more-btn:hover,
.rshow-more-btn[aria-expanded="true"] {
  background: #faf7f4;
  color: var(--text-black, #3d2e1f);
}

.rshow-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  color: #8a7566;
}

.rshow-byline a {
  color: #6b5c4f;
  text-decoration: none;
}

.rshow-byline a:hover {
  color: var(--primary, #d96c3d);
  text-decoration: underline;
}

.rshow-byline-sep {
  color: #c4b5a5;
}

.rshow-community-rating,
.rshow-hero .rc-community-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: -0.2rem 0 0.55rem;
}

.rshow-hero .rc-community-stars {
  display: inline-flex;
  gap: 0.08rem;
  color: #e2a336;
  font-size: 0.78rem;
  line-height: 1;
}

.rshow-hero .rc-community-stars .fa-regular {
  color: #e2d2c2;
}

.rshow-hero .rc-community-rating-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a7566;
}

.rshow-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0 0 0.7rem;
  font-size: 0.84rem;
  color: #6b5c4f;
  line-height: 1.45;
}

.rshow-hero-meta > * + *::before {
  content: '·';
  margin: 0 0.42rem;
  color: #c4b5a5;
  font-weight: 600;
}

.rshow-lede {
  margin: 0 0 1.15rem;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  color: #5c4a3a;
}

.rshow-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem;
  margin: 0 0 0.55rem;
}

.rshow-diet-tag,
.rshow-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.25;
  padding: 0.1rem 0.42rem;
  border-radius: 999px;
  border: 1px solid #ebe0d4;
  background: #faf7f4;
  color: #6b5c4f;
}

.rshow-diet-tag {
  background: #f5faf6;
  border-color: #dde8e0;
  color: #4f6a58;
}

.rshow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.rshow-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
  line-height: 1.25;
  background: none;
}

.rshow-btn:hover {
  transform: translateY(-1px);
}

.rshow-btn-primary {
  background: linear-gradient(135deg, #e8734a, #d96c3d);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(217, 108, 61, 0.22);
}

.rshow-btn-primary:hover {
  background: linear-gradient(135deg, #d96c3d, #c45a2e);
  color: #fff !important;
}

.rshow-btn-outline {
  background: #fff;
  color: var(--primary, #d96c3d);
  border-color: #f0d4c4;
}

.rshow-btn-outline:hover {
  background: #fff5eb;
}

.rshow-btn-muted {
  background: #fff;
  color: var(--text-theme-3, #6b5c4f);
  border-color: var(--brand-border, #ecd9c8);
}

.rshow-btn-muted:hover {
  background: #faf7f4;
  color: var(--text-black, #3d2e1f);
}

.rshow-btn-warn {
  background: #fff5eb;
  color: #b45309;
  border-color: #fde68a;
}

.rshow-btn-warn:hover {
  background: #fef3c7;
}

.rshow-btn-sm {
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  line-height: 1.25;
}

.rshow-dropdown {
  min-width: 180px;
  border-radius: 12px;
  border: 1px solid var(--brand-border, #ecd9c8);
  box-shadow: 0 8px 24px rgba(61, 46, 31, 0.12);
  padding: 0.35rem 0;
}

.rshow-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-theme-2, #5c4a3a);
}

.rshow-dropdown .dropdown-item:hover {
  background: #fffaf5;
  color: var(--primary, #d96c3d);
}

/* Main layout */
.rshow-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
  gap: 1.25rem;
  align-items: start;
}

.rshow-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rshow-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

/* Cards */
.rshow-card {
  background: #fff;
  border: 1px solid var(--brand-border, #ecd9c8);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(61, 46, 31, 0.05);
}

.rshow-card + .rshow-card {
  margin-top: 1rem;
}

.rshow-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.1rem;
  background: #faf7f4;
  border-bottom: 1px solid rgba(236, 217, 200, 0.8);
}

.rshow-card-heading {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.rshow-card-kicker {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c45c32;
}

.rshow-card-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-black, #3d2e1f);
  margin: 0;
}

.rshow-card-title em {
  color: var(--primary, #d96c3d);
}

.rshow-card--cook {
  background: var(--hub-surface-bg-soft, linear-gradient(180deg, #fff 0%, #fffefb 100%));
  border: 1px solid #e8b896;
  box-shadow: 0 4px 16px rgba(61, 46, 31, 0.06);
}

.rshow-card--cook .rshow-card-title .mshow-help-tip {
  font-size: 0.58rem;
}

.rshow-aside-title .mshow-help-tip,
.nestim-kicker .mshow-help-tip {
  font-size: 0.58rem;
}

.rshow-card--cook .rshow-card-head {
  background: transparent;
  border-bottom: 0;
  padding: 1.15rem 1.25rem 0.25rem;
  align-items: flex-end;
}

.rshow-card--cook .rshow-card-title {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rshow-card--cook .rshow-card-body {
  padding: 0.55rem 1.05rem 1.25rem;
}

.rshow-card-count {
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: #f6eee6;
  color: #8a7566;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rshow-card-extra {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.rshow-allergen-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.rshow-card-body {
  padding: 1rem 1.1rem 1.1rem;
}

.rshow-ingredient-list {
  display: block;
  columns: 2;
  column-gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rshow-ingredient-list > li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.cook-ing {
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  column-gap: 0.55rem;
  row-gap: 0.08rem;
  align-items: start;
  margin: 0;
  padding: 0.5rem 0.45rem;
  border-radius: 10px;
}

.cook-ing::before {
  content: '';
  grid-row: 1 / span 2;
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #7ea88a;
  box-sizing: border-box;
}

.cook-ing:hover {
  background: #fff6ee;
}

.cook-ing.struck::before {
  background: #c17a72;
  border-color: #c17a72;
  box-shadow: inset 0 0 0 2px #fff;
}

.cook-ing-qty {
  grid-column: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #c45c32;
  line-height: 1.3;
}

.cook-ing-name {
  grid-column: 2;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-black, #3d2e1f);
  line-height: 1.35;
}

.cook-ing-sub-note {
  grid-column: 2;
  margin-top: 0.08rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #8a6a3d;
  line-height: 1.3;
}

.cook-ing-sub-tip {
  flex: 0 0 auto;
  padding: 0 !important;
  min-width: 1rem;
  min-height: 1rem;
}

.cook-ing-sub-tip .help-tip-icon {
  font-size: 0.75rem;
  color: #8a6a3d;
}

.cook-ing--substituted {
  background: #fff9f0;
}

.cook-ing-mix-link {
  color: var(--theme-1, #2d5016);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cook-ing-mix-link:hover {
  color: #1f3a0f;
}

.cook-ing--mix {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

.cook-ing--mix::before {
  grid-row: 1 / -1;
}

.cook-ing-name--with-mix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.45rem;
  min-width: 0;
}

.cook-ing-mix-details {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: 100%;
}

.cook-ing-mix-details[open] {
  flex: 1 1 100%;
}

.cook-ing-mix-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  margin: 0;
  padding: 0.12rem 0.4rem;
  border: 1px solid rgba(45, 80, 22, 0.22);
  border-radius: 999px;
  background: #f4f8f1;
  color: var(--theme-1, #2d5016);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.cook-ing-mix-toggle::-webkit-details-marker {
  display: none;
}

.cook-ing-mix-toggle::marker {
  content: '';
}

.cook-ing-mix-toggle:hover {
  background: #e8f1e2;
  border-color: rgba(45, 80, 22, 0.35);
}

.cook-ing-mix-toggle-label {
  letter-spacing: 0.01em;
}

.cook-ing-mix-chevron {
  font-size: 0.62rem;
  transition: transform 0.15s ease;
}

.cook-ing-mix-details[open] .cook-ing-mix-chevron {
  transform: rotate(180deg);
}

.cook-ing-mix-parts {
  list-style: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0.4rem 0 0;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px dashed #e8dfd6;
  background: rgba(255, 255, 255, 0.72);
}

.cook-ing-mix-parts li {
  display: flex;
  gap: 0.65rem;
  padding: 0.15rem 0;
  font-size: 0.82rem;
}

.cook-ing-mix-part-qty {
  flex: 0 0 auto;
  min-width: 4.75rem;
  color: #8a6f5c;
  font-weight: 600;
}

.cook-ing-mix-part-name {
  min-width: 0;
  color: #5c4a3a;
  overflow-wrap: anywhere;
}

.cook-ing.struck .cook-ing-qty,
.cook-ing.struck .cook-ing-name {
  color: #a35c54;
}

.cook-ing--plain {
  grid-template-rows: auto;
}

.cook-ing--plain::before {
  grid-row: 1;
}

.cook-step-text {
  display: block;
  margin: 0;
  padding-top: 0.32rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-theme-2, #5c4a3a);
}

.rshow-step-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: cook-step;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rshow-step-list li {
  counter-increment: cook-step;
  display: grid;
  grid-template-columns: 2.15rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  margin: 0;
  padding: 0.55rem 0.25rem;
}

.rshow-step-list li::before {
  content: counter(cook-step);
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: #fff6ee;
  border: 1px solid #f0d4c4;
  color: #c45c32;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.rshow-step-list .rshow-empty-line,
.rshow-ingredient-list .rshow-empty-line {
  display: block;
  grid-template-columns: 1fr;
  counter-increment: none;
  padding: 0.35rem 0.2rem;
  border: 0;
}

.rshow-step-list .rshow-empty-line::before,
.rshow-ingredient-list .rshow-empty-line::before {
  content: none;
  display: none;
}

.rshow-empty-line {
  color: var(--text-theme-3, #6b5c4f);
  font-style: italic;
  margin: 0;
}

/* Sidebar */
.rshow-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rshow-aside-card {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.rshow-aside-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.rshow-aside-head-row .rshow-aside-heading {
  margin-bottom: 0;
}

.rshow-aside-heading {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  margin: 0 0 0.75rem;
}

.rshow-aside-title {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: #111827;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.rshow-aside-hint {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.rshow-sidebar .recipe-rate-block,
.rshow-aside .recipe-rate-block {
  margin-bottom: 0 !important;
}

.rshow-sidebar .recipe-rate-block .rate-block-label,
.rshow-aside .recipe-rate-block .rate-block-label {
  font-size: 0.82rem;
}

/* Servings control */
.rshow-servings-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rshow-servings-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

.rshow-servings-batch-hint {
  flex: 1 1 100%;
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}

.rshow-servings-batch-hint-sub {
  font-weight: 500;
  color: #6b7280;
}

.rshow-servings-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.25rem;
  flex-shrink: 0;
}

.rshow-servings-btn {
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
  min-height: 2rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-size: 0.75rem;
  padding: 0;
  line-height: 1;
}

.rshow-servings-btn:hover {
  background: #fff;
  color: #374151;
}

.rshow-servings-input {
  width: 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #1f2937;
  padding: 0;
  line-height: 1;
  min-height: 0;
  height: 2rem;
  -moz-appearance: textfield;
}

.rshow-servings-input::-webkit-outer-spin-button,
.rshow-servings-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Collections */
.rshow-collections-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rshow-collection-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.rshow-collection-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-black, #3d2e1f);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rshow-collection-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #f0faf2;
  color: #2d5a3d;
  border: 1px solid #c8e6d0;
  flex-shrink: 0;
}

.rshow-collections-footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(236, 217, 200, 0.8);
}

.rshow-collections-footer a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary, #d96c3d);
  text-decoration: none;
}

.rshow-collections-footer a:hover {
  text-decoration: underline;
}

/* Strike-through */
.rshow-pg .strikeable {
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.rshow-pg .strikeable.struck {
  text-decoration: line-through;
  text-decoration-color: #c17a72;
  color: #a35c54;
  opacity: 1;
}

.rshow-pg .rshow-step-list .strikeable.struck {
  text-decoration: none;
  color: inherit;
}

.rshow-pg .rshow-step-list .strikeable.struck .cook-step-text {
  text-decoration: line-through;
  text-decoration-color: #c17a72;
  color: #a35c54;
}

.rshow-pg .rshow-step-list .strikeable.struck::before {
  background: #f6e8e6;
  border-color: #e4c4bf;
  color: #a35c54;
}

/* Responsive */
@media (max-width: 768px) {
  .rshow-hero {
    grid-template-columns: 1fr;
  }

  .rshow-hero-body {
    order: -1;
  }

  .rshow-hero-media {
    max-width: none;
    max-height: 11.5rem;
    margin: 0;
    width: 100%;
  }

  .rshow-hero-img {
    aspect-ratio: 16 / 9;
    max-height: 11.5rem;
  }

  .rshow-title {
    font-size: 1.65rem;
  }

  .rshow-layout {
    grid-template-columns: 1fr;
  }

  .rshow-main {
    order: 1;
  }

  .rshow-sidebar {
    order: 2;
  }

  .rshow-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .rshow-recipe-nav {
    max-width: 100%;
    justify-content: center;
  }
}


.rshow-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
}

.rshow-alert-warning {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}

.rshow-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.rshow-admin-approval {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.rshow-admin-approval-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.rshow-admin-approval-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.98rem;
  color: #0f172a;
}

.rshow-admin-approval-copy {
  margin-top: 0.25rem;
  font-size: 0.88rem;
  color: #475569;
}

.rshow-admin-approval-back {
  flex-shrink: 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
}

.rshow-admin-approval-back:hover {
  color: #0f172a;
}

.rshow-admin-approval-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rshow-admin-btn {
  border: 0;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
}

.rshow-admin-btn-success {
  background: #15803d;
  color: #fff;
}

.rshow-admin-btn-danger {
  background: #b91c1c;
  color: #fff;
}

.rshow-admin-btn-ghost {
  background: #fff;
  border: 1px solid #cbd5e1;
  color: #b91c1c;
}

.rshow-admin-reject-form {
  max-width: 36rem;
}

@media (max-width: 640px) {
  .rshow-admin-approval-head {
    flex-direction: column;
  }
}

.nestim {
  background: #fffefb;
  border: 1px solid var(--brand-border, #ecd9c8);
  border-radius: 16px;
  padding: 1.1rem 0.9rem 0.95rem;
  box-shadow: 0 2px 10px rgba(61, 46, 31, 0.05);
  text-align: center;
}

.nestim-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c45c32;
}

.nestim-kcal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  margin: 0 0 0.85rem;
}

.nestim-kcal strong {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text-black, #3d2e1f);
}

.nestim-kcal span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8a7566;
}

.nestim-macros {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0;
}

.nestim-macro {
  background: #fff;
  border: 1px solid #f3e4d8;
  border-radius: 12px;
  padding: 0.45rem 0.35rem 0.4rem;
  text-align: center;
  box-shadow: inset 0 3px 0 #d6c4b3;
}

.nestim-macro--protein { box-shadow: inset 0 3px 0 #5a8f6e; }
.nestim-macro--fat { box-shadow: inset 0 3px 0 #d96c3d; }
.nestim-macro--carb { box-shadow: inset 0 3px 0 #c4a35a; }
.nestim-macro--fiber { box-shadow: inset 0 3px 0 #7d9a6e; }

.nestim-macros dt {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a7566;
  margin: 0 0 0.1rem;
}

.nestim-macros dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-black, #3d2e1f);
}

.nestim-fnref {
  font-size: 0.62em;
  font-weight: 600;
  line-height: 0;
  position: relative;
  top: -0.45em;
  margin-left: 0.12rem;
  color: var(--primary, #d96c3d);
  text-decoration: none;
}

.nestim-fnref:hover {
  text-decoration: underline;
}

.nestim-fn {
  margin-top: 1.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(236, 217, 200, 0.9);
}

.nestim-fn-line,
.nestim-fn-note,
.nestim-fn-missing {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-theme-3, #6b5c4f);
}

.nestim-fn-line {
  font-weight: 600;
  color: #6b5c4f;
}

.nestim-fn-note {
  margin-bottom: 0;
}

.nestim-fn-missing {
  margin-top: 0.35rem;
  margin-bottom: 0;
}

.nestim-fn-mark {
  color: inherit;
  text-decoration: none;
  margin-right: 0.2rem;
  font-weight: 700;
}

.nestim-fn-mark:hover {
  color: var(--primary, #d96c3d);
}

/* ─── Recipe show visual pass (sage + terracotta section rhythm) ─── */
.rshow-pg.rshow-pg--visual {
  --rshow-sage: #5a8f6e;
  --rshow-sage-deep: #3d6b4a;
  --rshow-sage-soft: #eef7f0;
  --rshow-sage-border: #a8c9b4;
}

.rshow-pg-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  padding: 0;
  margin-bottom: 1rem;
}

.rshow-pg-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #ecd9c8;
  background: #fffaf5;
  color: #6b5c4f;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.rshow-pg-shortcut:hover {
  background: #fff6ee;
  border-color: #e8b896;
  color: #3d2e1f;
}

.rshow-pg-shortcut em {
  font-size: 0.78rem;
  color: #d96c3d;
}

@media (min-width: 640px) {
  .rshow-pg-shortcuts {
    justify-content: flex-start;
  }
}

.rshow-pg.rshow-pg--visual .rshow-hero {
  padding: 1rem;
  margin-bottom: 1.25rem;
  border-radius: 18px;
  border: 1px solid #e0d4c8;
  background: linear-gradient(180deg, #fff 0%, #fffaf6 100%);
  box-shadow: 0 4px 22px rgba(61, 46, 31, 0.07);
}

.rshow-pg.rshow-pg--visual .rshow-hero-media {
  box-shadow: none;
}

.rshow-pg.rshow-pg--visual #recipe-details-container .rshow-card--cook {
  border-top: 3px solid var(--rshow-sage);
}

.rshow-pg.rshow-pg--visual #recipe-details-container .rshow-card--cook .rshow-card-title {
  color: var(--rshow-sage-deep);
}

.rshow-pg.rshow-pg--visual .rshow-main > .rshow-card--cook {
  border-top: 3px solid #d96c3d;
}

.rshow-pg.rshow-pg--visual .rshow-main > .rshow-card--cook .rshow-card-title {
  color: #9a4e28;
}

.rshow-pg.rshow-pg--visual .rshow-aside-card--servings,
.rshow-pg.rshow-pg--visual .rshow-aside-card--rate,
.rshow-pg.rshow-pg--visual .rshow-aside-card--lists {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-left: 1px solid #f3f4f6;
}

.rshow-pg .mshow-help-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #a89585;
  font-size: 0.72rem;
  line-height: 1;
  cursor: help;
  flex-shrink: 0;
  vertical-align: middle;
}

.rshow-pg .mshow-help-tip .help-tip-icon {
  display: block;
  font-style: normal;
  font-size: 1em;
}

.rshow-pg .mshow-help-tip:hover,
.rshow-pg .mshow-help-tip:focus-visible {
  color: #d96c3d;
  outline: none;
}

.rshow-pg .plan-tooltip .tooltip-inner {
  max-width: 17rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  background: #3d2e1f;
}

.rshow-pg .plan-tooltip .tooltip-arrow::before {
  border-top-color: #3d2e1f;
}

.rshow-byline-creator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Superdesign recipe detail chrome */
.rshow-pg--detail {
  scroll-behavior: smooth;
}

.rshow-pg--detail .rshow-topbar {
  border-bottom: 0;
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
}

.rshow-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}

.rshow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.15rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #ecd9c8;
  background: #fff;
  color: #5c4a3a;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.rshow-pill:hover {
  background: #fff6ee;
  border-color: #e8b896;
  color: #3d2e1f;
}

.rshow-pill--icon {
  width: 2.15rem;
  padding: 0.35rem;
}

.rshow-pg--detail .rshow-recipe-nav {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  max-width: none;
}

.rshow-pg.rshow-pg--detail .rshow-hero,
.rshow-pg.rshow-pg--visual.rshow-pg--detail .rshow-hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: start;
  background: #fff;
}

.rshow-pg--detail .rshow-hero-media {
  border: 0;
  border-radius: 0;
  min-height: 0;
  height: 100%;
}

.rshow-pg--detail .rshow-hero-img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  max-height: 22rem;
}

.rshow-pg--detail .rshow-hero-body {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.5rem 1.5rem;
}

.rshow-hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
  margin-bottom: 0.45rem;
}

.rshow-hero-kicker {
  margin: 0;
}

.rshow-inspired {
  font-size: 0.72rem;
  font-weight: 600;
  color: #8a7566;
  text-decoration: none;
}

.rshow-inspired:hover {
  color: #c45c32;
  text-decoration: underline;
}

.rshow-pg--detail .rshow-lede {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
}

.rshow-pg--detail .rshow-byline {
  margin: 0 0 0.55rem;
}

.rshow-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
  margin: 0 0 0.85rem;
}

.rshow-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #6b5c4f;
}

.rshow-hero-stat em {
  color: #c45c32;
  font-size: 0.82rem;
}

.rshow-hero-cta-wrap {
  margin-top: 1rem;
  width: 100%;
}

.rshow-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0;
  padding: 0.8rem 1.1rem;
  border: 0;
  border-radius: 12px;
  background: #c45c32;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(196, 92, 50, 0.22);
}

.rshow-hero-cta:hover,
.rshow-hero-cta[aria-expanded="true"] {
  background: #b04e28;
  color: #fff !important;
}

.rshow-lists-menu {
  width: 100%;
  min-width: 16rem;
  padding: 0.45rem 0;
  border-radius: 12px;
  border: 1px solid #ecd9c8;
  box-shadow: 0 10px 28px rgba(61, 46, 31, 0.12);
}

.rshow-lists-menu-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #3d2e1f;
}

.rshow-lists-empty {
  margin: 0;
  padding: 0.55rem 1rem 0.25rem;
  font-size: 0.8rem;
  color: #8a7566;
}

.rshow-section-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin: 0 0 1.25rem;
  padding: 0.7rem 0.15rem;
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ecd9c8;
}

.rshow-section-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  color: #8a7566;
  text-decoration: none;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid transparent;
}

.rshow-section-nav a:hover,
.rshow-section-nav a:focus-visible {
  color: #c45c32;
  border-bottom-color: #c45c32;
}

#ingredients-section,
#instructions-section,
#nutrition-section {
  scroll-margin-top: 3.5rem;
}

.rshow-pg--detail .rshow-layout {
  grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr);
  align-items: start;
}

.rshow-pg--detail .rshow-sidebar {
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-width: 0;
}

@media (min-width: 992px) {
  .rshow-pg--detail .rshow-sidebar {
    position: sticky;
    top: 6rem;
  }
}

.rshow-cook-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  border-radius: 16px;
  border: 2px solid rgba(196, 90, 44, 0.2);
  background: #fff;
  color: #c45a2c !important;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
  transition: background 0.15s, border-color 0.15s;
}

.rshow-cook-cta:hover {
  background: rgba(196, 90, 44, 0.05);
  border-color: rgba(196, 90, 44, 0.35);
  color: #c45a2c !important;
}

/* Sidebar nutrition — Superdesign mockup */
.rshow-sidebar .nestim,
.rshow-aside-nestim {
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.rshow-sidebar .nestim-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 1.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
}

.rshow-sidebar .nestim-kcal {
  display: block;
  text-align: center;
  margin: 0 0 1.5rem;
}

.rshow-sidebar .nestim-kcal strong {
  display: inline;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #111827;
}

.rshow-sidebar .nestim-kcal .nestim-fnref {
  color: #c45a2c;
  font-size: 1.25rem;
  font-weight: 700;
  top: -0.65em;
}

.rshow-sidebar .nestim-kcal span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
}

.rshow-sidebar .nestim-macros {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f9fafb;
}

.rshow-sidebar .nestim-macro {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  text-align: center;
}

.rshow-sidebar .nestim-macros dt {
  order: 2;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #9ca3af;
  margin: 0.2rem 0 0;
}

.rshow-sidebar .nestim-macros dd {
  order: 1;
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
}

@media (max-width: 991px) {
  .rshow-pg.rshow-pg--detail .rshow-hero,
  .rshow-pg.rshow-pg--visual.rshow-pg--detail .rshow-hero {
    grid-template-columns: 1fr;
  }

  .rshow-pg--detail .rshow-hero-body {
    order: -1;
    padding: 1.15rem 1.15rem 1.2rem;
  }

  .rshow-pg--detail .rshow-hero-img {
    max-height: 16rem;
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .rshow-pg--detail .rshow-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .rshow-pg--detail .rshow-sidebar {
    position: static;
    order: 2;
  }

  .rshow-pg--detail .rshow-main {
    order: 1;
  }
}

@media (max-width: 768px) {
  .rshow-pg--detail .rshow-hero-body {
    padding: 1.1rem 1rem 1.15rem;
  }

  .rshow-pg--detail .rshow-hero-img {
    max-height: 14rem;
  }

  .rshow-section-nav {
    position: sticky;
    top: 0;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (max-width: 640px) {
  .rshow-ingredient-list {
    columns: 1;
  }
}
