@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Source+Sans+3:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quattrocento:wght@400;700&display=swap");

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f9fb;
  --ink: #2c3e50;
  --muted: #667788;
  --border: #e6ebf0;
  --shadow: 0 18px 40px rgba(44, 62, 80, 0.12);
  --shadow-soft: 0 10px 24px rgba(44, 62, 80, 0.08);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 40px;
  --space-8: 56px;
  --grad-mango: linear-gradient(135deg, #ffb86b 0%, #ff8f6b 55%, #ff7b80 100%);
  --grad-berry: linear-gradient(135deg, #f7a7c2 0%, #c78ef2 100%);
  --grad-citrus: linear-gradient(135deg, #ffe29f 0%, #ffa99f 100%);
  --grad-mint: linear-gradient(135deg, #b9f3d2 0%, #8bd9c7 100%);
  --accent: #2c3e50;
  --accent-strong: #1f2f40;
  --accent-soft: #edf1f4;
  --success: #87a96b;
  --danger: #6d1a1a;
  --warning: #f2b15f;
  --secondary: #b87333;
  --secondary-strong: #9e5f28;
  --secondary-soft: #f8efe7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

/* Home page style-guide alignment (design-style-guide.html) */
body.page-index {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --ink: #1f2933;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #1473cc;
  --accent-strong: #0f5fa7;
  --accent-soft: #e8f2fd;
  --success: #1f9d61;
  --danger: #c2413b;
  --warning: #b7791f;
  --secondary: #3f7566;
  --secondary-strong: #2f5b4f;
  --secondary-soft: #eaf4f1;
  font-family: "Roboto", "Segoe UI", sans-serif;
}

body.page-index h1,
body.page-index h2,
body.page-index h3,
body.page-index h4,
body.page-index h5,
body.page-index h6 {
  font-family: "Roboto", "Segoe UI", sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

body.page-index h1 {
  font-size: 1.75rem;
  font-style: normal;
  font-stretch: 100%;
  font-weight: 550;
}

body.page-index h2 {
  font-size: 1.375rem;
  font-style: normal;
  font-stretch: 100%;
  font-weight: 400;
}

body.page-index h3 {
  font-size: 1.125rem;
  font-style: normal;
  font-stretch: 100%;
  font-weight: 400;
}

body.page-index h4 {
  font-size: 1.125rem;
  font-style: normal;
  font-stretch: 100%;
  font-weight: 700;
}

body.page-index h5 {
  font-size: 1rem;
  font-style: normal;
  font-stretch: 100%;
  font-weight: 400;
}

body.page-index h6 {
  font-size: 1rem;
  font-style: italic;
  font-stretch: 100%;
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", "Georgia", serif;
  color: var(--ink);
  margin: 0;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.hidden {
  display: none;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 100vh;
}

.brand {
  text-decoration: none;
  color: inherit;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  min-width: 0;
  max-width: none;
  overflow: visible;
}

.brand-logo {
  width: auto;
  height: clamp(55px, 6.48vw, 95px);
  max-width: min(82.8vw, 558px);
  max-height: none;
  display: block;
  object-fit: contain;
}

.main-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.top-nav {
  padding: 0 4px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
  position: sticky;
  top: 0;
  z-index: 30;
  height: 96px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  --nav-highlight: #1473cc;
  --nav-active: #0f5fa7;
  --nav-highlight-bg: #e8f2fd;
  --nav-hover-text: #1f2933;
}

.top-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  min-width: 0;
  font-weight: 600;
  color: var(--muted);
  font-size: calc(1.35rem - 2pt);
  line-height: 1.1;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.top-nav-links a {
  color: var(--muted);
  padding: 2px 4px 6px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  font-size: calc(1.35rem - 2pt);
  font-weight: 600;
  line-height: 1.1;
  transition: all 0.2s ease;
}

.top-nav-links a:hover {
  color: var(--nav-hover-text);
  border-bottom-color: var(--nav-highlight);
  text-decoration: none;
}

.top-nav-user .user-link {
  padding: 2px 4px 6px;
  border-bottom: 2px solid transparent;
}

.top-nav-user .user-link:hover {
  color: var(--nav-hover-text);
  border-bottom-color: var(--nav-highlight);
  text-decoration: none;
}

.top-nav-links a.active {
  color: var(--nav-active);
  border-bottom-color: var(--nav-active);
}

.top-group {
  position: relative;
}

.top-group summary {
  list-style: none;
  cursor: pointer;
  padding: 2px 4px 6px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: calc(1.35rem - 2pt);
  font-weight: 600;
  line-height: 1.1;
}

.top-group[open] summary,
.top-group summary:hover {
  color: var(--nav-hover-text);
  border-bottom-color: var(--nav-highlight);
}

.top-group.active summary {
  color: var(--nav-active);
  border-bottom-color: var(--nav-active);
}

.top-group summary::-webkit-details-marker {
  display: none;
}

.top-group-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 10px;
  display: grid;
  gap: 6px;
  z-index: 40;
}

.top-group-menu a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-group-menu a:hover {
  background: var(--nav-highlight-bg);
  color: var(--nav-hover-text);
  text-decoration: none;
}

.top-group-menu .menu-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.top-nav-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 600;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1.1;
  white-space: nowrap;
}

.top-nav-user img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.top-nav-user .user-link,
.top-nav-user .user-name {
  color: var(--muted);
  text-decoration: none;
  font-size: calc(1.35rem - 2pt);
  font-weight: 600;
  line-height: 1.1;
}

.user-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.user-stack .user-name {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.1;
}

.user-stack .user-logout {
  font-size: 0.95rem;
  line-height: 1.1;
}

.top-nav-user .user-link:hover {
  color: var(--nav-active);
  border-bottom-color: var(--nav-active);
  text-decoration: none;
}

.nav-flash-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 50vw;
  bottom: 8px;
  z-index: 31;
  pointer-events: none;
}

.nav-flash-bar .flash-list {
  margin: 0;
}

.flash-list--fade {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.top-tabs {
  background: transparent;
  padding: var(--space-3) var(--space-6) 0;
  border-bottom: 1px solid var(--border);
}

.tab-nav {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-start;
  flex-wrap: wrap;
}

.tab-nav a {
  text-decoration: none;
  color: var(--secondary-strong);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--secondary-soft);
  border: 1px solid #ead7c5;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tab-nav a.active,
.tab-nav a:hover {
  background: var(--secondary);
  color: #ffffff;
  border-color: transparent;
  text-decoration: none;
}

.tab-nav a.create-recipe-book-button {
  background: #ffffff;
  color: #0b2d5b;
  border: 1px solid #0b2d5b;
}

.tab-nav a.add-recipe-button {
  background: #ffffff;
  color: #0b2d5b;
  border: 1px solid #0b2d5b;
}

.tab-nav a.add-recipe-button:hover,
.tab-nav a.add-recipe-button.active {
  background: #0b2d5b;
  color: #ffffff;
  border-color: #0b2d5b;
}

.tab-nav a.create-recipe-book-button:hover,
.tab-nav a.create-recipe-book-button.active {
  background: #0b2d5b;
  color: #ffffff;
  border-color: #0b2d5b;
}

.content-container {
  width: 100%;
  padding: var(--space-2) var(--space-6) var(--space-8);
  display: grid;
  gap: var(--space-6);
}

body.page-index .content-container {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: clamp(80px, 10vh, 116px);
  gap: 0;
}

body.page-auth-login .content-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-auth-account .content-container {
  justify-items: center;
  padding: 0 var(--space-6) clamp(96px, 12vh, 134px) !important;
  margin-top: 0 !important;
  align-content: start;
  display: block;
  border-top: 0 !important;
}

body.page-auth-account .main-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-auth-account .top-nav {
  margin-bottom: 0 !important;
}

body.page-auth-account .content-container > :first-child {
  margin-top: 0 !important;
}

body.page-auth-account .top-tabs {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

body.page-auth-account {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #1f2933;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #1473cc;
  --accent-strong: #0f5fa7;
  --accent-soft: #e8f2fd;
}

body.page-auth-account .app-shell {
  background: #ffffff;
}

body.page-auth-account .login-culinary-showcase-frame {
  margin: 0;
  margin-top: 0 !important;
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  background: #ececec;
  border-radius: 0;
  padding: 0 clamp(12px, 1.7vw, 22px);
}

body.page-auth-account .login-culinary-showcase-frame .home-culinary-shell {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body.page-auth-account .login-culinary-showcase-frame .home-culinary-hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-login-bg.png");
  background-size: cover;
  background-position: center;
  min-height: clamp(250px, 40vw, 620px);
  padding: clamp(22px, 3vw, 48px);
}

body.page-auth-account .login-culinary-showcase-frame .login-form-panel {
  max-width: min(620px, 96%);
  margin: 0;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(28, 45, 66, 0.16);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(20, 35, 52, 0.14);
  padding: clamp(18px, 2.4vw, 34px);
}

body.page-auth-account .login-form-panel .page-header {
  margin-bottom: var(--space-4);
}

body.page-auth-account .login-form-panel .page-title {
  margin: 0;
  font-family: "Quattrocento", "Times New Roman", serif;
  font-size: clamp(1.65rem, 3.1vw, 2.55rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #1f2933;
  text-transform: uppercase;
}

body.page-auth-account .login-form-panel .page-subtitle {
  margin-top: var(--space-2);
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.65vw, 1.12rem);
  line-height: 1.45;
  color: #334155;
}

body.page-auth-account .login-form-panel .form-card {
  max-width: none;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.page-auth-account .login-form-panel .form-card label {
  color: #1f2933;
  font-weight: 600;
  margin-bottom: 4px;
}

body.page-auth-account .login-form-panel .section h3 {
  font-family: "Roboto", "Segoe UI", sans-serif;
}

body.page-auth-account .login-form-panel .form-card input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
}

body.page-auth-account #current-password-modal .modal-content,
body.page-auth-account #new-password-modal .modal-content,
body.page-auth-account #password-mismatch-modal .modal-content {
  width: min(92vw, 560px);
  height: auto;
  max-height: 86vh;
  overflow: auto;
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d7e0ea;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

body.page-auth-account #current-password-modal h3,
body.page-auth-account #new-password-modal h3,
body.page-auth-account #password-mismatch-modal h3 {
  margin: 0 0 8px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  color: #1f2933;
}

body.page-auth-account #current-password-modal p,
body.page-auth-account #new-password-modal p,
body.page-auth-account #password-mismatch-modal p,
body.page-auth-account #current-password-modal label,
body.page-auth-account #new-password-modal label {
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: #334155;
}

body.page-auth-account #current-password-modal p,
body.page-auth-account #new-password-modal p,
body.page-auth-account #password-mismatch-modal p {
  margin: 0 0 6px;
  font-size: var(--fs-body-lg);
  line-height: 1.45;
}

body.page-auth-account #current-password-modal label,
body.page-auth-account #new-password-modal label {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.35;
}

body.page-auth-account #current-password-modal input[type="password"],
body.page-auth-account #new-password-modal input[type="password"] {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.65rem 0.75rem;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1rem;
  color: #1f2933;
}

body.page-auth-account #current-password-modal input[type="password"]:focus,
body.page-auth-account #new-password-modal input[type="password"]:focus {
  outline: 3px solid rgba(42, 137, 232, 0.35);
  outline-offset: 2px;
  border-color: #2a89e8;
  box-shadow: none;
}

body.page-auth-account #current-password-modal .modal-actions,
body.page-auth-account #new-password-modal .modal-actions,
body.page-auth-account #password-mismatch-modal .modal-actions {
  margin-top: 14px;
  gap: var(--space-3);
  justify-content: center;
}

body.page-auth-account #current-password-modal .modal-actions > .button,
body.page-auth-account #new-password-modal .modal-actions > .button,
body.page-auth-account #password-mismatch-modal .modal-actions > .button {
  min-height: 2.25rem;
  min-width: 110px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  font-weight: 700;
}

body.page-auth-register .content-container {
  display: block !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  gap: 0;
}

body.page-auth-register .register-culinary-showcase-frame {
  margin: 0;
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  background: #ececec;
  border-radius: 0;
  padding: 0 clamp(12px, 1.7vw, 22px);
}

body.page-auth-register .register-culinary-showcase-frame .home-culinary-shell {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body.page-auth-register .register-culinary-showcase-frame .home-culinary-hero {
  min-height: clamp(220px, 30vw, 420px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-login-bg.png");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  padding: clamp(22px, 3vw, 48px);
}

body.page-auth-register .register-culinary-showcase-frame .home-culinary-overlay {
  justify-self: start;
  align-self: center;
  margin: 0;
  text-align: left;
  max-width: 1120px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(28, 45, 66, 0.14);
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 34px);
  box-shadow: 0 16px 30px rgba(20, 35, 52, 0.14);
}

body.page-auth-register .register-culinary-showcase-frame .home-culinary-overlay h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #1f2933;
  font-family: "Quattrocento", "Times New Roman", serif;
  text-transform: uppercase;
}

body.page-auth-register .register-culinary-showcase-frame .home-culinary-overlay p {
  margin: var(--space-4) 0 0;
  max-width: 90ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #334155;
}

body.page-auth-register .home-body-section-1.register-body-section {
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  margin-top: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(20px, 2.6vw, 34px) var(--space-6);
}

body.page-auth-register .register-body-section .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  text-align: left;
}

body.page-auth-register .register-page-body {
  display: flex;
  justify-content: center;
}

body.page-auth-register .register-body-inner {
  width: 100%;
  display: grid;
  justify-items: center;
  text-align: left;
}

body.page-auth-register .register-form {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

body.page-auth-register .register-grid {
  width: 100%;
  gap: 0;
  justify-items: center;
}

body.page-auth-register .register-fields {
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

body.page-auth-register .register-terms-panel {
  text-align: left;
}

body.page-auth-register .register-terms-panel h2 {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
}

body.page-auth-register .register-fields > button.button[type="submit"] {
  width: 4in;
  max-width: 100%;
  display: flex;
  margin: 0 auto;
}

body.page-auth-register .register-fields > button.button.button-standard-primary[type="submit"] {
  background: #1473cc !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 10px 18px rgba(44, 62, 80, 0.25) !important;
}

body.page-auth-register .register-fields > button.button.button-standard-primary[type="submit"]:hover,
body.page-auth-register .register-fields > button.button.button-standard-primary[type="submit"]:focus-visible {
  background: #0f5fa7 !important;
  color: #ffffff !important;
}

body.page-auth-login .content-container {
  justify-items: center;
  padding-top: 0 !important;
  margin-top: 0 !important;
  align-content: start;
}

body.page-auth-login .page-header {
  justify-content: center;
  text-align: center;
}

body.page-auth-login .form-card {
  margin: 0 auto;
}

body.page-auth-login .content-container {
  display: block;
  padding-bottom: clamp(96px, 12vh, 134px);
}

body.page-auth-login {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --ink: #1f2933;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #1473cc;
  --accent-strong: #0f5fa7;
  --accent-soft: #e8f2fd;
  font-family: "Roboto", "Segoe UI", sans-serif;
}

body.page-auth-login .app-shell {
  align-content: start;
}

body.page-auth-login .login-culinary-showcase-frame {
  margin: 0;
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  background: #ececec;
  border-radius: 0;
  padding: 0 clamp(12px, 1.7vw, 22px);
}

body.page-auth-login .login-culinary-showcase-frame .home-culinary-shell {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body.page-auth-login .login-culinary-showcase-frame .home-culinary-hero {
  min-height: clamp(360px, 44vw, 680px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-login-bg.png");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  padding: clamp(22px, 3vw, 48px);
}

body.page-auth-login .login-culinary-showcase-frame .login-form-panel {
  justify-self: start;
  align-self: center;
  width: min(100%, 520px);
  margin: 0;
  text-align: left;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 45, 66, 0.2);
  border-radius: 16px;
  padding: clamp(18px, 2.4vw, 34px);
  box-shadow: 0 16px 30px rgba(20, 35, 52, 0.18);
}

body.page-auth-login .login-form-panel .page-header {
  display: block;
  margin-bottom: var(--space-4);
  text-align: left;
}

body.page-auth-login .login-form-panel .page-title {
  margin: 0;
  font-family: "Quattrocento", "Times New Roman", serif;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  font-style: normal;
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #1f2933;
}

body.page-auth-login .login-form-panel .page-subtitle {
  margin-top: var(--space-2);
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  text-align: left;
}

body.page-auth-login .login-form-panel .form-card {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
  gap: var(--space-4);
}

body.page-auth-login .login-form-panel .form-card label {
  gap: var(--space-2);
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #1f2933;
}

body.page-auth-login .password-input-wrap {
  position: relative;
  display: grid;
  align-items: center;
}

body.page-auth-login .password-input-wrap input {
  padding-right: 2.5rem;
}

body.page-auth-login .login-form-panel .form-card input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  padding: 0.65rem 0.75rem;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1rem;
  color: #1f2933;
}

body.page-auth-login .login-form-panel .form-card input:focus {
  outline: 3px solid rgba(42, 137, 232, 0.35);
  outline-offset: 2px;
  border-color: #2a89e8;
  box-shadow: none;
}

body.page-auth-login .login-form-panel .meta {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #475569;
}

body.page-auth-login .login-form-panel form.form-card > button.button[type="submit"]:not(.outline):not(.danger) {
  width: 100%;
}

body.page-auth-login .login-form-panel .button {
  min-width: 110px;
  min-height: 2.5rem;
  height: 2.5rem;
  padding: 0 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  box-shadow: none;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

body.page-auth-login .login-form-panel .button:not(.outline):not(.danger) {
  background: #1473cc;
  color: #ffffff;
}

body.page-auth-login .login-form-panel .button:not(.outline):not(.danger):hover,
body.page-auth-login .login-form-panel .button:not(.outline):not(.danger):focus-visible {
  background: #0f5fa7;
}

body.page-auth-login .login-form-panel .button.outline {
  background: #ffffff;
  border-color: #2a89e8;
  color: #0f5fa7;
}

body.page-auth-login .login-form-panel .button.outline:hover,
body.page-auth-login .login-form-panel .button.outline:focus-visible {
  background: #e8f2fd;
  border-color: #0f5fa7;
  color: #0f5fa7;
}

body.page-auth-login .login-form-panel .button:focus-visible,
body.page-auth-login .login-form-panel .password-visibility-toggle:focus-visible {
  outline: 3px solid rgba(42, 137, 232, 0.35);
  outline-offset: 2px;
}

body.page-auth-login .login-form-panel .password-visibility-toggle {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
}

body.page-auth-login .login-form-panel .password-visibility-toggle:hover {
  background: #f1f5f9;
  color: #1f2933;
}

body.page-auth-login .login-form-panel .password-visibility-toggle svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  fill: currentColor;
}

body.page-auth-login .login-subfooter-persistent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 19;
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--border);
  border-bottom: 0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  background: #F6F8FB;
  padding: clamp(6px, 0.9vw, 10px) var(--space-6) clamp(16px, 1.5vw, 20px);
}

body.page-auth-login .login-subfooter-persistent .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  text-align: left;
}

body.page-auth-login .login-subfooter-persistent h3 {
  margin: 0;
  white-space: nowrap;
  color: #1473CC;
  font-weight: 700;
  font-size: 1rem;
}

body.page-auth-login .login-subfooter-persistent p {
  margin: 0;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.35;
}

body.page-auth-login .login-subfooter-persistent .home-body-section-actions {
  margin: 0;
  white-space: nowrap;
}

body.page-auth-login .login-subfooter-persistent .button {
  min-height: 34px;
  padding: 7px 14px;
  line-height: 1.1;
}

@media (max-width: 980px) {
  body.page-auth-login .login-subfooter-persistent .home-body-section-inner {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 6px;
  }

  body.page-auth-login .login-subfooter-persistent .home-body-section-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    white-space: normal;
  }

  body.page-auth-login .login-subfooter-persistent h3 {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  body.page-auth-login .content-container {
    padding-bottom: clamp(118px, 20vh, 170px);
  }

  body.page-auth-login .login-culinary-showcase-frame {
    width: calc(100% + (var(--space-4) * 2));
    margin-left: calc(var(--space-4) * -1);
    margin-right: calc(var(--space-4) * -1);
  }

  body.page-auth-login .login-culinary-showcase-frame .home-culinary-hero {
    min-height: auto;
    padding: var(--space-4);
  }

  body.page-auth-login .login-culinary-showcase-frame .login-form-panel {
    justify-self: center;
    width: 100%;
  }

  body.page-auth-login .login-subfooter-persistent {
    bottom: 68px;
    padding: 7px var(--space-4) 16px;
  }

  body.page-auth-login .login-subfooter-persistent .home-body-section-inner {
    grid-template-columns: 1fr;
  }
}

body.page-chef_groups-list_and_create .content-container,
body.page-chef_groups-view_group .content-container,
body.page-chef_school-view_page .content-container {
  display: block !important;
  padding: 0 var(--space-6) var(--space-8) !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  gap: 0;
}

body.page-chef_groups-list_and_create .content-container > :first-child,
body.page-chef_groups-view_group .content-container > :first-child,
body.page-chef_school-view_page .content-container > :first-child {
  margin-top: 0 !important;
}

body.page-chef_groups-list_and_create .content-container > .cookbook-culinary-showcase-frame,
body.page-chef_groups-view_group .content-container > .cookbook-culinary-showcase-frame {
  margin-top: calc(var(--space-2) * -1) !important;
  padding-top: 0 !important;
}

body.page-chef_school-view_page .content-container > .chef-school-culinary-showcase-frame {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-chef_groups-list_and_create .chef-groups-body-section,
body.page-chef_groups-view_group .chef-groups-body-section {
  font-family: "Roboto", "Segoe UI", sans-serif;
}

body.page-chef_groups-list_and_create .chef-groups-body-section *,
body.page-chef_groups-view_group .chef-groups-body-section * {
  font-family: inherit;
}

body.page-meal_plans-view_meal_plans .recipes-toggles,
body.page-meal_plans-view_meal_plans .meal-plans-body {
  font-family: "Roboto", "Segoe UI", sans-serif;
}

body.page-meal_plans-view_meal_plans .recipes-toggles *,
body.page-meal_plans-view_meal_plans .meal-plans-body * {
  font-family: inherit;
}

body.page-chef_school-view_page .chef-school-body-section-videos,
body.page-chef_school-view_page .chef-school-body-kitchen {
  font-family: "Roboto", "Segoe UI", sans-serif;
}

body.page-chef_school-view_page .chef-school-body-section-videos *,
body.page-chef_school-view_page .chef-school-body-kitchen * {
  font-family: inherit;
}

body.page-chef_groups-list_and_create .form-card {
  max-width: none;
}

body.page-chef_groups-list_and_create .chef-groups-left form.form-card > button.button[type="submit"] {
  width: 4in;
  max-width: 100%;
  display: flex;
  margin: 0 auto;
}

body.page-chef_groups-list_and_create .chef-groups-left form.form-card input[name="name"] {
  width: 66.67%;
}

body.page-chef_groups-list_and_create .chef-groups-left form.form-card textarea[name="description"] {
  width: 66.67%;
  min-height: 72px;
}

body.page-chef_groups-list_and_create .page-header {
  margin-top: 0;
}

body.page-chef_groups-list_and_create .page-subtitle {
  font-size: calc(1rem + 2pt);
}

body.page-chef_groups-list_and_create .chef-groups-tab-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  background: var(--color-neutral-100);
  border: 1px solid var(--color-neutral-200);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: var(--space-6);
}

body.page-chef_groups-list_and_create .chef-groups-tab {
  background: transparent;
  border: none;
  border-radius: calc(var(--radius-sm) - 3px);
  padding: var(--space-2) var(--space-5);
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-neutral-500);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  white-space: nowrap;
  line-height: 1.4;
}

body.page-chef_groups-list_and_create .chef-groups-tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.55);
  color: var(--color-neutral-800);
}

body.page-chef_groups-list_and_create .chef-groups-tab.is-active {
  background: #ffffff;
  color: var(--color-primary-600);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

body.page-chef_groups-list_and_create .chef-groups-tab-panels {
  min-height: 420px;
}

body.page-chef_groups-list_and_create .chef-groups-tab-panel {
  display: none;
}

body.page-chef_groups-list_and_create .chef-groups-tab-panel.is-active {
  display: block;
}

body.page-chef_groups-edit_group .content-container {
  margin-top: -200px;
}

body.page-chef_groups-view_group .content-container {
  padding-bottom: calc(var(--space-8) - 48px);
}

body.page-chef_school-view_page .content-container {
  align-content: start;
}

body.page-chef_school-view_page .chef-school-culinary-showcase-frame {
  margin: 0;
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  background: #ececec;
  border-radius: 0;
  padding: 0 clamp(12px, 1.7vw, 22px);
}

body.page-chef_school-view_page .chef-school-culinary-showcase-frame .home-culinary-shell {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body.page-chef_school-view_page .chef-school-culinary-showcase-frame .home-culinary-hero {
  min-height: clamp(135px, 18.48vw, 259px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-chefsschool-gb.png");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  padding: clamp(22px, 3vw, 48px);
}

body.page-chef_school-view_page .chef-school-culinary-showcase-frame .home-culinary-overlay {
  justify-self: start;
  align-self: center;
  margin: 0;
  text-align: left;
  max-width: 1120px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(28, 45, 66, 0.14);
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 34px);
  box-shadow: 0 16px 30px rgba(20, 35, 52, 0.14);
}

body.page-chef_school-view_page .chef-school-culinary-showcase-frame .home-culinary-overlay h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #1f2933;
  font-family: "Quattrocento", "Times New Roman", serif;
  text-transform: uppercase;
}

body.page-chef_school-view_page .chef-school-culinary-showcase-frame .home-culinary-overlay p {
  margin: var(--space-4) 0 0;
  max-width: 90ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #334155;
}

body.page-chef_school-view_page .chef-school-body-section-videos {
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  margin-top: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(20px, 2.6vw, 34px) var(--space-6);
}

body.page-chef_school-view_page .chef-school-body-section-videos .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  text-align: left;
}

body.page-chef_school-view_page .chef-school-body-kitchen {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: clamp(20px, 2.6vw, 34px) var(--space-6);
  background: #ffffff;
}

body.page-chef_school-view_page .chef-school-body-kitchen .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  text-align: left;
}

body.page-chef_school-view_page .chef-school-body-kitchen .home-culinary-kicker {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1473CC;
}

body.page-chef_school-view_page .chef-school-body-kitchen h1 {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1.75rem;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

body.page-chef_school-view_page .chef-school-body-kitchen p {
  margin: 10px 0 0;
  color: #334155;
  text-align: left;
}

body.page-chef_school-view_page .chef-school-body-kitchen .discover-carousel-section {
  --discover-edge-bg: #ffffff;
  --discover-visible-cards: 3.7;
}

body.page-chef_school-view_page .chef-school-body-kitchen .kitchen-favorites-carousel .discover-carousel-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
}

body.page-chef_school-view_page .chef-school-body-kitchen .kitchen-favorites-carousel .discover-carousel-media {
  width: 100%;
  height: 172px;
  min-height: 172px;
  border-right: 1px solid var(--border);
}

body.page-chef_school-view_page .chef-school-body-kitchen .kitchen-favorites-carousel .discover-carousel-copy {
  gap: 8px;
  justify-content: center;
}

body.page-chef_school-view_page .chef-school-body-kitchen .kitchen-favorites-carousel .discover-carousel-copy h4 {
  font-size: 1rem;
}

body.page-chef_school-view_page .chef-school-body-kitchen .kitchen-favorites-carousel .discover-carousel-copy p {
  -webkit-line-clamp: 4;
}

body.page-chef_school-view_page .school-body-layout {
  display: grid;
  grid-template-columns: 1fr 272px;
  gap: var(--space-6);
  align-items: start;
}

body.page-chef_school-view_page .chef-school-kitchen-rail {
  position: sticky;
  top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

body.page-chef_school-view_page .chef-school-kitchen-rail .home-culinary-kicker {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1473cc;
}

body.page-chef_school-view_page .school-rail-heading {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

body.page-chef_school-view_page .school-kitchen-rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

body.page-chef_school-view_page .school-kitchen-rail-card {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

body.page-chef_school-view_page .school-kitchen-rail-media {
  display: block;
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
}

body.page-chef_school-view_page .school-kitchen-rail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.page-chef_school-view_page .school-kitchen-rail-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--color-neutral-100);
  font-size: 0.75rem;
  color: var(--color-neutral-500);
  text-align: center;
  padding: var(--space-2);
}

body.page-chef_school-view_page .school-kitchen-rail-copy {
  padding: var(--space-2) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  justify-content: center;
}

body.page-chef_school-view_page .school-kitchen-rail-copy h4 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

body.page-chef_school-view_page .school-kitchen-rail-copy p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-neutral-500);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-chef_school-view_page .school-kitchen-rail-copy .discover-carousel-cta {
  font-size: 0.75rem;
  margin-top: var(--space-1);
}

body.page-admin-school .content-container {
  margin-top: 0 !important;
  padding-top: var(--space-2);
  align-content: start;
}

body.page-admin-school .page-header {
  margin-top: 0 !important;
}

body.page-admin-feedback .content-container {
  margin-top: -200px;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.page-title {
  margin: 0;
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(1.6rem, 2vw, 2.4rem);
}

.page-subtitle {
  color: var(--muted);
  margin-top: 6px;
}

.section {
  display: grid;
  gap: var(--space-4);
}

.section-title {
  font-size: 1.2rem;
  margin: 0;
}

.card {
  background: var(--surface);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  position: relative;
}

.card.slim {
  padding: var(--space-4);
}

.card-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-media.placeholder {
  background: var(--secondary-soft);
  color: var(--secondary-strong);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-align: center;
}

.recipe-book-cover-tile {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #efe9df;
  display: block;
}

body.page-recipes-list_recipe_books .recipe-book-cover-tile {
  width: 45%;
  margin-inline: auto;
  aspect-ratio: 4 / 5;
}

body.page-recipes-list_recipe_books .recipe-books-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2in;
  gap: 16px;
  align-items: start;
}

body.page-recipes-list_recipe_books .content-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
  gap: 0;
}

body.page-recipes-list_recipe_books .page-header {
  margin-top: 0 !important;
}

body.page-recipes-list_recipe_books .top-tabs .create-recipe-book-button {
  display: none;
}

body.page-recipes-list_recipe_books .top-tabs {
  display: none !important;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites,
body.page-recipes-list_recipe_books .book-body-kitchen,
body.page-meal_plans-view_meal_plans .book-body-section-myfavorites,
body.page-meal_plans-view_meal_plans .book-body-kitchen {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: clamp(20px, 2.6vw, 34px) var(--space-6);
  background: #ffffff;
}

body.page-recipes-list_recipe_books .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  text-align: left;
}

body.page-meal_plans-view_meal_plans .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  text-align: left;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites p,
body.page-recipes-list_recipe_books .book-body-kitchen p {
  margin: 10px 0 0;
  color: #334155;
  text-align: left;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .home-culinary-kicker {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1473CC;
}

body.page-recipes-list_recipe_books .book-body-kitchen .home-culinary-kicker {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1473CC;
}

body.page-recipes-list_recipe_books .book-body-kitchen.favorites h1 {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1.75rem;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}


body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-grid-block {
  margin-top: var(--space-4);
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-card {
  min-height: 310px;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-card.hidden,
body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-card.is-filter-hidden,
body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-card.is-page-hidden {
  display: none !important;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-media {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  height: auto;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-copy {
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-copy h4 {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-copy h4 a {
  font-family: inherit;
  font-weight: inherit;
  color: #1f2933;
  text-decoration: none;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-copy h4 a:hover {
  color: #1473cc;
  text-decoration: underline;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-copy p {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-weight: 400;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .discover-carousel-cta {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-actions .quickbutton,
body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-actions .quickbutton-email,
body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-actions .quickbutton-copy,
body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-actions .quickbutton-edit,
body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-actions .quickbutton-trash-delete {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 999px;
  padding: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-actions .quickbutton:hover,
body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-actions .quickbutton-email:hover,
body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-actions .quickbutton-edit:hover,
body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-actions .quickbutton-trash-delete:hover {
  background: #f8fafc;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-pagination {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-pagination.hidden {
  display: none !important;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-pagination .button.small {
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
}

body.page-recipes-list_recipe_books .book-body-section-myfavorites .my-recipes-featured-pagination .is-active-page {
  background: #e8f2fd;
  border-color: #1473cc;
  color: #0f5fa7;
}

body.page-recipes-list_recipe_books .book-body-kitchen .discover-carousel-section {
  --discover-edge-bg: #ffffff;
  --discover-visible-cards: 3.7;
}

body.page-recipes-list_recipe_books .book-body-kitchen .kitchen-favorites-carousel .discover-carousel-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
}

body.page-recipes-list_recipe_books .book-body-kitchen .kitchen-favorites-carousel .discover-carousel-media {
  width: 100%;
  height: 172px;
  min-height: 172px;
  border-right: 1px solid var(--border);
}

body.page-recipes-list_recipe_books .book-body-kitchen .kitchen-favorites-carousel .discover-carousel-copy {
  gap: 8px;
  justify-content: center;
}

body.page-recipes-list_recipe_books .book-body-kitchen .kitchen-favorites-carousel .discover-carousel-copy h4 {
  font-size: 1rem;
}

body.page-recipes-list_recipe_books .book-body-kitchen .kitchen-favorites-carousel .discover-carousel-copy p {
  -webkit-line-clamp: 4;
}

body.page-recipes-edit_recipe_book .bookedit-body-section-editcookbook,
body.page-recipes-new_recipe_book .bookedit-body-section-editcookbook {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: clamp(20px, 2.6vw, 34px) var(--space-6);
  background: #ffffff;
}

body.page-recipes-edit_recipe_book .bookedit-body-section-editcookbook .home-body-section-inner,
body.page-recipes-new_recipe_book .bookedit-body-section-editcookbook .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  text-align: left;
}

body.page-recipes-edit_recipe_book .bookedit-body-section-editcookbook .home-culinary-kicker,
body.page-recipes-new_recipe_book .bookedit-body-section-editcookbook .home-culinary-kicker {
  margin: 0 0 10px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1473CC;
}

@media (min-width: 721px) {
  body.page-recipes-edit_recipe_book,
  body.page-recipes-new_recipe_book {
    height: auto !important;
    overflow: auto !important;
  }

  body.page-recipes-edit_recipe_book .app-shell,
  body.page-recipes-edit_recipe_book .main-content,
  body.page-recipes-new_recipe_book .app-shell,
  body.page-recipes-new_recipe_book .main-content {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body.page-recipes-edit_recipe_book .content-container,
  body.page-recipes-new_recipe_book .content-container {
    display: block !important;
    min-height: auto !important;
    overflow: visible !important;
    padding-bottom: 42px;
  }

  body.page-recipes-edit_recipe_book .content-container > form.form,
  body.page-recipes-new_recipe_book .content-container > form.form {
    min-height: auto !important;
    overflow: visible !important;
    display: grid;
    grid-template-rows: auto auto;
  }

  body.page-recipes-edit_recipe_book .recipe-book-builder,
  body.page-recipes-edit_recipe_book .recipe-book-main-card,
  body.page-recipes-edit_recipe_book .recipe-book-recipes-panel,
  body.page-recipes-edit_recipe_book .recipe-book-toc-panel {
    height: auto !important;
    max-height: none !important;
  }

  body.page-recipes-edit_recipe_book .recipe-book-builder {
    align-items: stretch;
    grid-auto-rows: minmax(0, 60vh);
  }

  body.page-recipes-edit_recipe_book .recipe-book-builder > .card {
    height: 100% !important;
    max-height: 60vh !important;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

body.page-recipes-list_recipe_books .cookbook-culinary-showcase-frame .home-culinary-overlay .home-culinary-actions {
  margin-top: var(--space-5);
}

@media (min-width: 721px) {
  body.page-recipes-list_recipe_books {
    min-height: 100dvh;
    overflow-y: auto;
  }

  body.page-recipes-list_recipe_books .app-shell {
    min-height: 100dvh;
    overflow: visible;
  }

  body.page-recipes-list_recipe_books .main-content {
    height: auto;
    overflow: visible;
  }

  body.page-recipes-list_recipe_books .content-container {
    min-height: auto;
    display: grid;
    overflow: visible;
    padding-bottom: 42px;
  }

  body.page-recipes-list_recipe_books .content-container > .recipe-books-layout {
    min-height: auto;
  }

  body.page-recipes-list_recipe_books .recipe-books-layout {
    height: auto;
    min-height: auto;
    align-items: start;
  }

  body.page-recipes-list_recipe_books .recipe-books-panel {
    display: block;
    min-height: auto;
  }

  body.page-recipes-list_recipe_books .recipe-books-scroll-frame {
    min-height: auto;
    height: auto;
    overflow: visible;
  }

  body.page-recipes-list_recipe_books .recipe-books-marketing-rail {
    min-height: auto;
    height: auto;
  }
}

body.page-recipes-list_recipe_books .recipe-books-panel {
  min-width: 0;
}

body.page-recipes-list_recipe_books .recipe-books-scroll-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 10px;
  min-height: 620px;
  height: auto;
  overflow: visible;
}

body.page-recipes-list_recipe_books .recipe-books-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(170px, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  align-items: start;
}

body.page-recipes-list_recipe_books .recipe-books-grid .recipe-card {
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  gap: var(--space-2);
}

body.page-recipes-list_recipe_books .recipe-books-grid .recipe-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

body.page-recipes-list_recipe_books .recipe-books-grid .recipe-card .meta {
  margin-top: auto;
}

body.page-recipes-list_recipe_books .recipe-book-inscription {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  min-height: 2.7em;
  max-height: 2.7em;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.page-recipes-list_recipe_books .recipe-book-inscription.is-empty {
  opacity: 0;
}

body.page-recipes-list_recipe_books .recipe-books-marketing-rail {
  width: 2in;
  min-width: 2in;
  min-height: 620px;
  padding: var(--space-3);
}

body.page-recipes-list_recipe_books .recipe-books-marketing-rail h3 {
  font-size: 0.85rem;
  line-height: 1.2;
}

body.page-recipes-list_recipe_books .recipe-books-scroll-frame {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

body.page-recipes-list_recipe_books .recipe-books-marketing-rail {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

@media (min-width: 721px) {
  body.page-recipes-list_recipe_books .recipe-books-scroll-frame {
    height: auto;
  }

  body.page-recipes-list_recipe_books .recipe-books-marketing-rail {
    min-height: 0;
    height: 100%;
  }
}

.recipe-book-cover-tile.no-bg {
  background-image: linear-gradient(160deg, #f2e7d9 0%, #e8d8c2 100%);
}

.recipe-book-cover-tile .recipe-book-cover-tile-photo {
  position: absolute;
  top: 12%;
  left: 15%;
  width: 70%;
  height: 48%;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.recipe-book-cover-tile-title {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 0.5rem;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-book-cover-tile-title.title-placement-top {
  top: 33.333%;
}

.recipe-book-cover-tile-title.title-placement-middle {
  top: 50%;
}

.recipe-book-cover-tile-title.title-placement-bottom {
  top: 66.667%;
}

.recipe-book-no-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #0b2d5b;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  padding: 8px;
}

.card-body {
  display: grid;
  gap: var(--space-3);
}

.card-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: var(--space-3);
}

.section-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.chip {
  background: var(--secondary-soft);
  color: var(--secondary-strong);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.chef-groups-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: var(--space-4);
  align-items: start;
}

.chef-groups-left {
  display: grid;
  gap: var(--space-6);
}

body.page-chef_groups-list_and_create .chef-groups-left > .section:nth-child(1) {
  gap: 8px;
}

body.page-chef_groups-list_and_create .chef-groups-left > .section:nth-child(2) {
  margin-top: -16px;
  gap: 8px;
}

body.page-chef_groups-list_and_create .chef-groups-layout > section:nth-child(2) {
  gap: 8px;
}

.chef-groups-layout > section:nth-child(2) {
  margin-left: 0;
}

.chef-groups-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

@media (max-width: 1200px) {
  .chef-groups-layout {
    grid-template-columns: 1fr;
  }

  .chef-groups-layout > section:nth-child(2) {
    margin-left: 0;
  }
}

.chef-groups-list {
  display: grid;
  gap: var(--space-4);
  justify-items: start;
}

.chef-groups-list .card {
  width: 100%;
  max-width: none;
}

body.page-chef_groups-list_and_create .chef-groups-list {
  gap: 12px;
}

body.page-chef_groups-list_and_create .chef-groups-list .card {
  padding: 13px;
}

body.page-chef_groups-list_and_create .chef-groups-list .card > p {
  margin: 4px 0;
}

body.page-chef_groups-list_and_create .chef-groups-list .card > .meta {
  margin-top: 4px;
  font-size: 0.82rem;
}

.chef-groups-list .card-actions .icon-button img {
  width: 26px;
  height: 26px;
}

body.page-chef_groups-list_and_create .chef-groups-list .card-actions form {
  margin: 0;
}

body.page-chef_groups-list_and_create #group-delete-modal .modal-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.page-chef_groups-list_and_create #group-delete-modal .modal-actions {
  justify-content: center;
}

.chef-group-card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 50px;
  height: 50px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.chef-group-card-link {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.group-detail-grid {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 8px 16px;
  font-size: 0.95rem;
}

.group-detail-label {
  font-weight: 700;
  color: var(--muted);
}

body.page-chef_groups-view_group .group-events-instruction {
  margin: 2px 0 8px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.3;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.event-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

body.page-chef_groups-view_group .event-actions {
  gap: 4px;
}

.event-icon {
  width: 24px;
  height: 24px;
}

body.page-chef_groups-view_group .event-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

body.page-chef_groups-view_group .event-actions .icon-button {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.page-chef_groups-view_group .event-actions .icon-button img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.event-link {
  display: inline-flex;
  align-items: center;
}

.chef-group-event-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}

body.page-chef_groups-view_event .chef-group-event-layout > section:first-child {
  margin-top: 15px;
}

.event-menu-card {
  min-height: 420px;
}

.event-menu-drop.drag-over {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
}

.event-recipe-item {
  position: relative;
}

.event-recipe-delete {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.event-title-row {
  align-items: flex-start;
}

.event-title-stack {
  display: grid;
  gap: 6px;
}

body.page-chef_groups-view_event .event-title-stack .page-subtitle {
  display: block;
  margin-top: 0;
  margin-bottom: 2px;
  color: var(--muted);
}

body.page-chef_groups-view_event .event-location-input {
  width: 640px;
  max-width: 100%;
  padding: 14px 14px;
}


.group-detail-card {
  width: 100%;
  max-width: none;
}

.chef-group-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 0.5fr);
  gap: var(--space-5);
  align-items: start;
}

body.page-chef_groups-view_group .chef-group-detail-layout {
  min-height: calc(100vh - 260px);
}

.group-recipes-section,
.my-recipes-section {
  display: flex;
  flex-direction: column;
}

.group-recipes-section .group-detail-card,
.my-recipes-section .group-detail-card {
  flex: 1 1 auto;
}

body.page-chef_groups-view_group .group-recipes-section,
body.page-chef_groups-view_group .my-recipes-section {
  height: calc(100vh - 240px);
}

body.page-chef_groups-view_group .my-recipes-section .recipe-pool-list {
  max-height: none;
  height: calc(100% - 50px);
  padding-bottom: 16px;
}

body.page-chef_groups-view_group .my-recipes-section .group-detail-card {
  overflow: hidden;
}

body.page-chef_groups-view_group .group-recipes-card {
  height: 100%;
}

.chef-group-detail-column {
  display: grid;
  gap: var(--space-6);
}

body.page-chef_groups-view_group .chef-group-detail-column {
  gap: var(--space-4);
}

body.page-chef_groups-view_group .chef-group-detail-column > .section {
  gap: 8px;
}

body.page-chef_groups-view_group .chef-group-detail-column > .section > .group-detail-card {
  padding: 14px;
}

body.page-chef_groups-view_group .chef-group-detail-column .group-detail-grid {
  gap: 4px 10px;
  font-size: 0.85rem;
}

body.page-chef_groups-view_group .chef-group-detail-column > .section > .group-detail-card > p,
body.page-chef_groups-view_group .chef-group-detail-column > .section > .group-detail-card > .meta {
  margin: 4px 0;
}

.group-recipe-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.group-recipe-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.group-recipes-drop.drag-over {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
}

.group-recipes-card {
  height: 100%;
  overflow-y: auto;
}

.group-recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .group-recipes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.group-recipe-shared {
  font-size: 0.85rem;
  color: var(--muted);
}

.group-recipe-shared strong {
  color: var(--ink);
  font-weight: 700;
}

.group-recipe-item {
  position: relative;
}

.group-recipe-delete {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.group-recipe-delete .icon-button img {
  width: 20px;
  height: 20px;
}

.chef-group-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.chef-group-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

body.page-chef_groups-list_and_create .chef-group-card-title-row {
  gap: 4px;
}

body.page-chef_groups-list_and_create .chef-group-name {
  font-size: 1.08rem;
}

body.page-chef_groups-list_and_create .chef-group-created {
  font-size: 0.84rem;
}

.chef-group-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.chef-group-card-actions form {
  margin: 0;
}

.chef-group-name {
  font-size: 1.35rem;
}

.chef-group-created {
  font-size: 1rem;
}

.group-members-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: 6px 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

body.page-chef_groups-list_and_create .group-members-grid {
  margin-top: 6px;
  gap: 2px 7px;
  font-size: 0.78rem;
}

.group-members-title {
  font-weight: 700;
  color: var(--ink);
  margin-top: 24px;
}

body.page-chef_groups-list_and_create .group-members-title {
  margin-top: 10px;
}

.member-group-name {
  margin-right: 10px;
  font-weight: 600;
}

.member-group-link img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

.group-members-head {
  font-weight: 700;
  color: var(--ink);
}

.group-members-grid .inline-form {
  display: inline-flex;
  margin-left: 10px;
}

.member-status-tooltip {
  cursor: help;
  border-bottom: 1px dotted var(--muted);
}

.member-status-col {
  text-align: right;
  white-space: nowrap;
  padding-left: 25px;
}

.chef-group-members-table {
  table-layout: fixed;
}

.chef-group-members-table th:nth-child(1),
.chef-group-members-table td:nth-child(1) {
  width: 22%;
}

.chef-group-members-table th:nth-child(2),
.chef-group-members-table td:nth-child(2) {
  width: 18%;
}

.chef-group-members-table th:nth-child(3),
.chef-group-members-table td:nth-child(3) {
  width: 40%;
}

.chef-group-members-table th:nth-child(4),
.chef-group-members-table td:nth-child(4) {
  width: 20%;
}

.grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-left {
  justify-items: start;
}

.recipe-card {
  position: relative;
  display: grid;
  gap: var(--space-3);
}

body.page-recipes-list_recipes .grid {
  justify-items: start;
}

body.page-recipes-list_recipes .recipe-card {
  width: 100%;
  max-width: 320px;
}

body.page-recipes-list_recipes .my-recipes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2in;
  gap: 16px;
  align-items: start;
}

body.page-recipes-list_recipes .page-header {
  margin-top: -25px;
}

body.page-recipes-list_recipes .recipe-visibility-toggles {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
}

body.page-recipes-list_recipes .recipe-visibility-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b2d5b;
  font-weight: 600;
}

body.page-recipes-list_recipes .recipe-search-control {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-recipes-list_recipes .recipe-search-control img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

body.page-recipes-list_recipes .recipe-search-control input[type="text"] {
  width: 440px;
  max-width: 40vw;
  min-height: 40px;
}

body.page-recipes-list_recipes .recipe-filter-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b2d5b;
  font-weight: 600;
  position: relative;
  margin-left: auto;
}

body.page-recipes-list_recipes .recipe-filter-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

body.page-recipes-list_recipes .recipe-filter-dropdown > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

body.page-recipes-list_recipes .recipe-filter-dropdown > summary::-webkit-details-marker {
  display: none;
}

body.page-recipes-list_recipes .recipe-tags-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f5fa7;
  line-height: 1.2;
}

body.page-recipes-list_recipes .recipe-tags-summary::after {
  content: "\25BE";
  color: #51657a;
  margin-left: 2px;
  font-size: 0.72rem;
}

body.page-recipes-list_recipes .recipe-tags-summary::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.6px solid #7c8b9a;
  border-radius: 2px;
  background: #ffffff;
  flex: 0 0 auto;
}

body.page-recipes-list_recipes .recipe-tags-summary.is-filtered {
  color: #0f5fa7;
}

body.page-recipes-list_recipes .recipe-filter-dropdown > summary.recipe-tags-summary:focus-visible {
  outline: 2px solid rgba(20, 115, 204, 0.35);
  outline-offset: 3px;
  border-radius: 4px;
}

body.page-recipes-list_recipes .recipe-filter-dropdown-panel {
  position: absolute;
  left: 0;
  right: auto;
  top: calc(100% + 8px);
  min-width: 320px;
  max-width: min(92vw, 390px);
  border: 1px solid #c6d2de;
  border-radius: 10px;
  background: #f1f4f7;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  padding: 14px 12px 12px;
  z-index: 110;
}

body.page-recipes-list_recipes .recipe-filter-dropdown[open] .recipe-tags-summary {
  color: #0b58a0;
}

body.page-recipes-list_recipes .recipe-filter-dropdown-panel .recipe-favorite-mode {
  margin-top: 0;
  display: grid;
  gap: 8px;
}

body.page-recipes-list_recipes .recipe-filter-dropdown-panel .recipe-favorite-mode label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1f2933;
  font-weight: 500;
}

body.page-recipes-list_recipes .recipe-filter-dropdown-panel .recipe-course-dropdown {
  margin-top: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

body.page-recipes-list_recipes .recipe-filter-dropdown-panel .recipe-course-heading {
  margin: 0 0 10px;
  font-size: 1.45rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0f2745;
}

body.page-recipes-list_recipes .recipe-filter-dropdown-panel .recipe-course-options {
  display: grid;
  gap: 10px;
  margin: 0;
}

body.page-recipes-list_recipes .recipe-filter-dropdown-panel .recipe-course-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #18324f;
  font-size: 1rem;
  font-weight: 500;
}

body.page-recipes-list_recipes .recipe-filter-dropdown-panel .recipe-course-options > label:first-child {
  min-height: 40px;
  border: 1px solid #bcc9d6;
  border-radius: 8px;
  background: #f8fafc;
  padding: 0 10px;
}

body.page-recipes-list_recipes .recipe-filter-dropdown-panel .recipe-course-options .filter-course-checkbox {
  margin-left: 0;
}

body.page-recipes-list_recipes .recipe-filter-dropdown-panel input[type="checkbox"] {
  accent-color: #1473cc;
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  body.page-recipes-list_recipes .recipe-visibility-toggles {
    flex-wrap: wrap;
  }

  body.page-recipes-list_recipes .recipe-search-control {
    margin-left: 0;
    width: 100%;
  }

  body.page-recipes-list_recipes .recipe-search-control input[type="text"] {
    width: 100%;
    max-width: none;
  }

  body.page-recipes-list_recipes .recipe-filter-control {
    margin-left: 0;
  }

  body.page-recipes-list_recipes .recipe-filter-dropdown-panel {
    right: auto;
    left: 0;
    min-width: 260px;
  }
}

body.page-recipes-list_recipes .content-container {
  gap: var(--space-3);
}

@media (min-width: 721px) {
  body.page-recipes-list_recipes {
    height: 100dvh;
    overflow: hidden;
  }

  body.page-recipes-list_recipes .app-shell {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }

  body.page-recipes-list_recipes .main-content {
    height: calc(100dvh - 150px);
    overflow: hidden;
  }

  body.page-recipes-list_recipes .content-container {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 8px;
  }

  body.page-recipes-list_recipes .content-container > .section {
    flex: 1 1 auto;
    min-height: 0;
  }

  body.page-recipes-list_recipes .section {
    min-height: 0;
  }

  body.page-recipes-list_recipes .my-recipes-layout {
    height: 100%;
    min-height: 0;
    align-items: stretch;
  }

  body.page-recipes-list_recipes .my-recipes-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  body.page-recipes-list_recipes .my-recipes-scroll-frame {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }
  body.page-recipes-list_recipes .my-recipes-marketing-rail {
    min-height: 0;
    height: 100%;
  }
}

body.page-recipes-import_recipe .content-container {
  display: block;
  min-height: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: clamp(96px, 12vh, 140px);
}

body.page-recipes-import_recipe .top-tabs {
  display: none;
}

body.page-recipes-import_recipe .app-shell,
body.page-recipes-import_recipe .main-content {
  min-height: 0 !important;
  align-content: start;
}

body.page-recipes-import_recipe .content-container > .section {
  min-height: 0;
  height: auto;
}

body.page-recipes-import_recipe .import-culinary-showcase-frame {
  margin: 0;
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  background: #ececec;
  border-radius: 0;
  padding: 0 clamp(12px, 1.7vw, 22px);
}

body.page-recipes-import_recipe .import-culinary-showcase-frame .home-culinary-shell {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body.page-recipes-import_recipe .import-culinary-showcase-frame .home-culinary-hero {
  min-height: clamp(135px, 18.48vw, 259px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-addrecipe-bg.png");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  padding: clamp(22px, 3vw, 48px);
}

body.page-recipes-import_recipe .import-culinary-showcase-frame .home-culinary-overlay {
  justify-self: start;
  align-self: center;
  margin: 0;
  text-align: left;
  max-width: 860px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 45, 66, 0.2);
  border-radius: 16px;
  padding: clamp(18px, 2.4vw, 36px);
  box-shadow: 0 16px 30px rgba(20, 35, 52, 0.18);
}

body.page-index .home-culinary-showcase-frame .home-culinary-kicker,
body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-kicker,
body.page-recipes-import_recipe .import-culinary-showcase-frame .home-culinary-kicker {
  margin: 0 0 var(--space-2);
  font-family: "Roboto", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1473CC !important;
}

body.page-recipes-import_recipe .import-culinary-showcase-frame .home-culinary-overlay h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #1f2933;
  font-family: "Quattrocento", "Times New Roman", serif;
  text-transform: uppercase;
}

body.page-recipes-import_recipe .import-culinary-showcase-frame .home-culinary-overlay p {
  margin: var(--space-4) 0 0;
  max-width: 90ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #334155;
}

body.page-recipes-import_recipe .home-body-section,
body.page-recipes-import_recipe .import-body-section-add,
body.page-recipes-import_recipe .import-body-section-kitchen {
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  margin-top: var(--space-5);
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(20px, 2.6vw, 34px) var(--space-6);
}

body.page-recipes-import_recipe .home-body-section + .home-body-section,
body.page-recipes-import_recipe .import-body-section-add + .import-body-section-kitchen {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

body.page-recipes-import_recipe .import-body-section-add {
  margin-top: 0;
}

body.page-recipes-import_recipe .import-body-section-kitchen {
  padding-top: clamp(20px, 2.6vw, 34px);
}

body.page-recipes-import_recipe .import-body-section-kitchen .home-body-section-inner {
  padding-top: clamp(20px, 2.6vw, 34px);
}

body.page-recipes-import_recipe .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  min-width: 0;
  text-align: left;
}

body.page-index .home-body-section .home-culinary-kicker,
body.page-index .home-body-section-1 .home-culinary-kicker,
body.page-recipes-list_recipes .home-body-section .home-culinary-kicker,
body.page-recipes-list_recipes .recipes-body-section-myrecipes .home-culinary-kicker,
body.page-recipes-list_recipes .recipes-body-section-community .home-culinary-kicker,
body.page-recipes-list_recipes .recipes-body-kitchen .home-culinary-kicker,
body.page-recipes-import_recipe .home-body-section .home-culinary-kicker,
body.page-recipes-import_recipe .import-body-section-add .home-culinary-kicker,
body.page-recipes-import_recipe .import-body-section-kitchen .home-culinary-kicker {
  margin: 0 0 var(--space-2);
  padding: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1473CC !important;
  text-align: left;
}

body.page-recipes-import_recipe .home-body-section p,
body.page-recipes-import_recipe .import-body-section-add p,
body.page-recipes-import_recipe .import-body-section-kitchen p {
  margin: 10px 0 0;
  color: #334155;
  text-align: left;
}

body.page-recipes-import_recipe .import-body-section-kitchen.favorites h1 {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1.75rem;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}


body.page-recipes-import_recipe .import-body-section-kitchen .discover-carousel-section {
  --discover-edge-bg: #ffffff;
  --discover-visible-cards: 3.7;
}

body.page-recipes-import_recipe .import-body-section-kitchen .kitchen-favorites-carousel .discover-carousel-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
}

body.page-recipes-import_recipe .import-body-section-kitchen .kitchen-favorites-carousel .discover-carousel-media {
  width: 100%;
  height: 172px;
  min-height: 172px;
  border-right: 1px solid var(--border);
}

body.page-recipes-import_recipe .import-body-section-kitchen .kitchen-favorites-carousel .discover-carousel-copy {
  gap: 8px;
  justify-content: center;
}

body.page-recipes-import_recipe .import-body-section-kitchen .kitchen-favorites-carousel .discover-carousel-copy h4 {
  font-size: 1rem;
}

body.page-recipes-import_recipe .import-body-section-kitchen .kitchen-favorites-carousel .discover-carousel-copy p {
  -webkit-line-clamp: 4;
}

@media (max-width: 1280px) {
  body.page-recipes-import_recipe .import-body-section-kitchen .discover-carousel-section {
    --discover-visible-cards: 2.7;
  }
}

@media (max-width: 1100px) {
  body.page-recipes-import_recipe .import-body-section-kitchen .discover-carousel-section {
    --discover-visible-cards: 2.2;
  }
}

@media (max-width: 980px) {
  body.page-recipes-import_recipe .import-body-section-kitchen .discover-carousel-section {
    --discover-visible-cards: 1.8;
  }

  body.page-recipes-import_recipe .import-body-section-kitchen .kitchen-favorites-carousel .discover-carousel-card {
    grid-template-columns: 1fr;
    min-height: 263px;
  }

  body.page-recipes-import_recipe .import-body-section-kitchen .kitchen-favorites-carousel .discover-carousel-media {
    min-height: 128px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 720px) {
  body.page-recipes-import_recipe .content-container {
    padding-top: 0;
    margin-top: 0;
  }

  body.page-recipes-import_recipe .import-culinary-showcase-frame,
  body.page-recipes-import_recipe .home-body-section,
  body.page-recipes-import_recipe .import-body-section-add,
  body.page-recipes-import_recipe .import-body-section-kitchen {
    width: calc(100% + (var(--space-4) * 2));
    margin-left: calc(var(--space-4) * -1);
    margin-right: calc(var(--space-4) * -1);
  }

  body.page-recipes-import_recipe .home-body-section,
  body.page-recipes-import_recipe .import-body-section-add,
  body.page-recipes-import_recipe .import-body-section-kitchen {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
}
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 320px));
  gap: clamp(10px, 1.2vw, 14px);
  width: 100%;
  margin-top: var(--space-4);
  align-items: stretch;
  justify-content: center;
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(420px, 520px));
  gap: clamp(16px, 1.9vw, 24px);
  justify-content: center;
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #cfdced;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(15, 95, 167, 0.07);
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-copy {
  padding: 14px 16px;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #1f2933;
  font-weight: 400;
  border-top: 1px solid #dbe6f3;
  background: #f8fbff;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-copy .import-image-choice-title {
  margin: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.25;
  color: inherit;
  font-weight: 700;
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-copy .import-image-choice-note {
  font-family: "Roboto", "Segoe UI", sans-serif;
  margin: 0;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-form {
  margin-top: 12px;
  padding-top: 0;
}

body.page-recipes-import_recipe .import-body-section-add #process-link-form.import-image-choice-form {
  display: grid;
  gap: 8px;
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-form .button {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0 1rem;
  height: 2.5rem;
  min-height: 2.5rem;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  background: #1473cc;
  color: #ffffff;
  box-shadow: none;
  text-decoration: none;
  width: 100%;
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-form .button:hover {
  background: #0f5fa7;
  text-decoration: none;
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-form .button:active {
  transform: translateY(1px);
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-form .button:focus-visible {
  outline: 3px solid rgba(42, 137, 232, 0.35);
  outline-offset: 2px;
}

body.page-recipes-import_recipe .import-body-section-add .import-image-choice-form .button:disabled,
body.page-recipes-import_recipe .import-body-section-add .import-image-choice-form .button.disabled {
  background: #e2e8f0;
  color: #64748b;
  border-color: #e2e8f0;
  cursor: not-allowed;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 300px;
  padding: 0;
  text-align: left;
  border: 1px solid #cfdced;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(15, 95, 167, 0.07);
  overflow: hidden;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-head {
  display: grid;
  gap: 8px;
  padding: 10px 12px 9px;
  min-height: 62px;
  border-bottom: 1px solid #dbe6f3;
  background: #f8fbff;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-step {
  display: inline-flex;
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e8f2fd;
  color: #0f5fa7;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-heading-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 1;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-body {
  padding: 10px 12px 12px;
  min-height: 0;
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-note {
  margin: 0;
  color: #475569;
  font-size: 0.84rem;
  line-height: 1.4;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-form {
  width: 100%;
  display: grid;
  gap: 8px;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-form textarea {
  width: 100%;
  min-height: 108px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-weight: 400;
  color: #1f2933;
  resize: vertical;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-form textarea::placeholder {
  color: #475569;
  font-weight: 400;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-form textarea:focus-visible {
  outline: 3px solid rgba(42, 137, 232, 0.35);
  outline-offset: 2px;
}

body.page-recipes-import_recipe .import-body-section-add .import-paste-form textarea {
  min-height: 81px;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-form input[type="url"] {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-weight: 400;
  color: #1f2933;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-form input[type="url"]::placeholder {
  color: #475569;
  font-weight: 400;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-form input[type="url"]:focus-visible {
  outline: 3px solid rgba(42, 137, 232, 0.35);
  outline-offset: 2px;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-title {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.3;
  color: #1f2933;
  font-weight: 700;
}

body.page-recipes-import_recipe .import-body-section-add .import-choice-card .button {
  width: 100%;
  min-height: 38px;
  margin-top: auto;
  border-radius: 8px;
}

@media (max-width: 980px) {
  body.page-recipes-import_recipe .import-body-section-add .import-image-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-recipes-import_recipe .import-body-section-add .import-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.page-recipes-import_recipe .import-body-section-add .import-image-choice-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.page-recipes-import_recipe .import-body-section-add .import-choice-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.page-recipes-import_recipe .import-body-section-add .import-choice-card {
    min-height: 0;
  }
}

body.page-recipes-list_recipes .my-recipes-panel {
  min-width: 0;
}

body.page-recipes-list_recipes .my-recipes-scroll-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 10px;
  height: auto;
  overflow-y: auto;
  overflow-x: hidden;
}

body.page-recipes-list_recipes .my-recipes-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(170px, 1fr));
  grid-auto-rows: 1fr;
  gap: 12px;
  align-items: start;
}

body.page-recipes-list_recipes .my-recipes-grid .recipe-card {
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  gap: var(--space-1);
}

body.page-recipes-list_recipes .my-recipes-grid .recipe-card .card-media {
  aspect-ratio: 1 / 1;
}

body.page-recipes-list_recipes .recipe-filter-card.hidden {
  display: none !important;
}

body.page-recipes-list_recipes .my-recipes-grid .recipe-card .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.page-recipes-list_recipes .my-recipes-grid .recipe-card .meta {
  margin-top: 2px;
  margin-bottom: 0;
}

body.page-recipes-list_recipes .recipe-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

body.page-recipes-list_recipes .recipe-card-meta-row .favorite-inline-marker {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

body.page-recipes-list_recipes .recipe-card-meta-row .favorite-inline-marker img,
body.page-recipes-list_recipes .recipe-favorite-mode .favorite-inline-marker img {
  width: 18px;
  height: 18px;
  display: block;
}

body.page-recipes-list_recipes .recipe-description {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  max-height: calc(1.35em * 4);
}

body.page-recipes-list_recipes .recipe-description.is-truncated::after {
  display: none;
}

body.page-recipes-list_recipes .recipe-filter-options {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

body.page-recipes-list_recipes .recipe-filter-options label {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-recipes-list_recipes .recipe-course-dropdown {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  padding: 8px 10px;
}

body.page-recipes-list_recipes .recipe-course-heading {
  font-weight: 700;
  margin-bottom: 8px;
}

body.page-recipes-list_recipes .recipe-course-options {
  display: grid;
  gap: 8px;
}

body.page-recipes-list_recipes .recipe-course-options label {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-recipes-list_recipes .recipe-course-options .filter-course-checkbox {
  margin-left: 14px;
}

body.page-recipes-list_recipes .recipe-favorite-mode {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 18px;
}

body.page-recipes-list_recipes .recipe-favorite-mode label {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-recipes-list_recipes .recipe-favorite-mode .favorite-inline-marker {
  color: #c62525;
}

body.page-recipes-list_recipes .recipe-favorite-mode .favorite-inline-marker img {
  display: inline-block;
  vertical-align: middle;
}

body.page-recipes-list_recipes .my-recipes-marketing-rail {
  width: 2in;
  min-width: 2in;
  min-height: 620px;
  padding: var(--space-3);
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

body.page-recipes-list_recipes .my-recipes-marketing-rail h3 {
  font-size: 0.85rem;
  line-height: 1.2;
}

body.page-recipes-list_recipes .recipe-frame-section-title.with-top-gap {
  margin-top: 24px;
}

@media (min-width: 721px) {
  body.page-recipes-list_recipes .my-recipes-marketing-rail {
    min-height: 0;
    height: 100%;
  }
}

body.page-recipes-list_recipes .my-recipes-scroll-frame {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

body.page-recipes-list_recipe_books #book-email-form input[type="email"] {
  width: 480px;
  max-width: 100%;
  min-height: 48px;
  padding: 12px 14px;
}

.recipe-card h3,
.recipe-card h4 {
  margin: 0;
  min-height: 1.4em;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recipe-card a {
  text-decoration: none;
  color: var(--ink);
}

.recipe-card a:hover {
  text-decoration: none;
  color: var(--accent-strong);
}

.recipe-description {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  min-height: 0;
}

.recipe-description.is-truncated::after {
  content: "...";
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1;
}

.chef-school-media {
  width: 100%;
  height: 120px;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.chef-school-media img {
  width: 64px;
  height: 64px;
  display: block;
}

.button {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 18px rgba(44, 62, 80, 0.25);
}

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

.button.hidden {
  display: none;
}

.button.small {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.button.outline {
  background: transparent;
  border: 1px solid #1473CC;
  color: #1473CC;
  box-shadow: none;
}

.button.outline:hover,
.button.outline:focus-visible {
  background: #e8f2fd;
  border-color: #0f5fa7;
  color: #0f5fa7;
}

.button.outline.view-book-button {
  background: #ffffff;
  border: 1px solid #0b2d5b;
  color: #0b2d5b;
}

.recipe-card a.button.outline.view-book-button:hover,
.recipe-card a.button.outline.view-book-button:focus-visible {
  background: #0b2d5b;
  border-color: #0b2d5b;
  color: #ffffff;
  text-decoration: none;
}

.button.ghost {
  background: transparent;
  color: var(--secondary-strong);
  border: 1px solid transparent;
  box-shadow: none;
}

.button.danger {
  background: var(--danger);
  box-shadow: 0 10px 18px rgba(109, 26, 26, 0.25);
}

/* Reusable Home CTA button variants (portable across pages) */
.button-home-primary,
.button-home-outline,
.button-home-destructive,
.button-standard-primary,
.button-standard-outline,
.button-standard-destructive {
  min-height: 46px;
  min-width: 110px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-home-primary {
  background: #1473cc;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 10px 18px rgba(44, 62, 80, 0.25);
}

.button-standard-primary {
  background: #1473cc;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 10px 18px rgba(44, 62, 80, 0.25);
}

.button-home-primary:hover,
.button-home-primary:focus-visible {
  background: #0f5fa7;
  color: #ffffff;
  transform: translateY(-1px);
}

.button-standard-primary:hover,
.button-standard-primary:focus-visible {
  background: #0f5fa7;
  color: #ffffff;
  transform: translateY(-1px);
}

.button-home-outline {
  background: transparent;
  color: #1473cc;
  border: 1px solid #1473cc;
  box-shadow: none;
}

.button-standard-outline {
  background: transparent;
  color: #1473cc;
  border: 1px solid #1473cc;
  box-shadow: none;
}

.button-home-outline:hover,
.button-home-outline:focus-visible {
  background: #e8f2fd;
  color: #0f5fa7;
  border-color: #0f5fa7;
}

.button-standard-outline:hover,
.button-standard-outline:focus-visible {
  background: #e8f2fd;
  color: #0f5fa7;
  border-color: #0f5fa7;
}

.button-home-destructive {
  background: #c2413b;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 10px 18px rgba(194, 65, 59, 0.25);
}

.button-standard-destructive {
  background: #c2413b;
  color: #ffffff;
  border: 1px solid transparent;
  box-shadow: 0 10px 18px rgba(194, 65, 59, 0.25);
}

.button-home-destructive:hover,
.button-home-destructive:focus-visible {
  background: #a93631;
  color: #ffffff;
  transform: translateY(-1px);
}

.button-standard-destructive:hover,
.button-standard-destructive:focus-visible {
  background: #a93631;
  color: #ffffff;
  transform: translateY(-1px);
}

.button-standard-destructive.outline {
  background: transparent;
  color: #c2413b;
  border: 1px solid #c2413b;
  box-shadow: none;
}

.button-standard-destructive.outline:hover,
.button-standard-destructive.outline:focus-visible {
  background: #fff1f0;
  color: #a93631;
  border-color: #a93631;
  transform: none;
}

.chef-group-card-actions .button.danger {
  background: #0b2d5b;
  box-shadow: 0 10px 18px rgba(11, 45, 91, 0.25);
  color: #ffffff;
}

.icon-button,
.quickbutton,
.quickbutton-favorites,
.quickbutton-email,
.quickbutton-copy,
.quickbutton-edit,
.quickbutton-trash-delete {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.icon-button:hover,
.quickbutton:hover,
.quickbutton-favorites:hover,
.quickbutton-email:hover,
.quickbutton-copy:hover,
.quickbutton-edit:hover,
.quickbutton-trash-delete:hover {
  background: var(--accent-soft);
}

.icon-button img,
.quickbutton img,
.quickbutton-favorites img,
.quickbutton-email img,
.quickbutton-copy img,
.quickbutton-edit img,
.quickbutton-trash-delete img {
  width: 18px;
  height: 18px;
  display: block;
}

.form {
  display: grid;
  gap: var(--space-4);
}

.form-card {
  max-width: 720px;
  width: 100%;
}

.register-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.register-fields {
  display: grid;
  gap: var(--space-4);
}

.terms-panel {
  display: grid;
  gap: var(--space-3);
}

.register-form {
  max-width: 1100px;
}

.register-grid .card {
  height: 100%;
}

.terms-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 12px;
  max-height: 600px;
  overflow-y: auto;
}

.terms-frame--compact {
  padding: 8px;
  max-height: 390px;
}

.terms-markdown {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}

.terms-markdown h1 {
  font-size: 1.2rem;
  margin: 0 0 12px;
}

.terms-markdown h2 {
  font-size: 1.05rem;
  margin: 14px 0 8px;
}

.terms-markdown h3 {
  font-size: 1rem;
  margin: 12px 0 6px;
}

.terms-markdown p {
  margin: 0 0 10px;
}

.terms-markdown ul {
  margin: 0 0 10px 18px;
  padding: 0;
}

.terms-markdown li {
  margin-bottom: 6px;
}

.terms-markdown hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0;
}

.terms-markdown .terms-pdf-html {
  display: grid;
  gap: 8px;
}

.terms-markdown .terms-pdf-html h3 {
  margin: 14px 0 6px;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--accent-strong);
}

.terms-markdown .terms-pdf-html h4 {
  margin: 10px 0 4px;
  font-size: 0.94rem;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
}

.terms-markdown .terms-pdf-html p {
  margin: 0 0 8px;
  line-height: 1.45;
}

.terms-markdown .terms-pdf-html ul {
  margin: 0 0 8px 18px;
  padding: 0;
}

.terms-markdown .terms-pdf-html li {
  margin-bottom: 5px;
  line-height: 1.4;
}

.terms-markdown .terms-pdf-html hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0 6px;
}

.admin-table-card {
  width: 100%;
  max-width: 100%;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.data-table th,
.data-table td {
  padding: 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}

body.page-chef_groups-view_group .chef-group-detail-column .data-table th,
body.page-chef_groups-view_group .chef-group-detail-column .data-table td {
  padding: 4px 6px;
  font-size: 0.8rem;
}

.data-table input,
.data-table select {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  font-size: 0.85rem;
}
.data-table textarea {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  font-size: 0.85rem;
  resize: vertical;
  min-height: 64px;
}
.data-table input[type="checkbox"] {
  width: auto;
  padding: 0;
}

.form label {
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--muted);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.reset-email-input {
  padding: 16px 16px;
  font-size: 1.05rem;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: #f2a877;
  box-shadow: 0 0 0 3px rgba(240, 122, 69, 0.15);
}

.form textarea {
  min-height: 120px;
  resize: none;
}

.form .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.form .checkbox input {
  width: auto;
}

.form label.toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
  width: auto;
}

.toggle .public-label {
  font-weight: 700;
}

.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-slider {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: #f2e5d6;
  border: 1px solid var(--border);
  transition: background 0.2s ease;
  cursor: pointer;
}

.toggle-slider::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.toggle input:checked + .toggle-slider {
  background: var(--accent);
  border-color: var(--accent-strong);
}

.toggle input:checked + .toggle-slider::after {
  transform: translateX(24px);
}

.short-field input,
.short-field select {
  width: 1.5in;
  max-width: 100%;
}

.form label.inline-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form label.inline-label select {
  margin-top: 0;
}

.photo-input-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.book-asset-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.book-asset-row + .book-asset-row {
  margin-top: 5px;
}

body.page-recipes-new_recipe_book .book-asset-row,
body.page-recipes-edit_recipe_book .book-asset-row {
  align-items: center;
}

body.page-recipes-new_recipe_book .book-background-row,
body.page-recipes-edit_recipe_book .book-background-row {
  flex-wrap: nowrap;
}

body.page-recipes-new_recipe_book .book-background-row > label,
body.page-recipes-edit_recipe_book .book-background-row > label {
  flex: 0 0 auto;
  margin-right: auto;
}

body.page-recipes-new_recipe_book .book-background-controls,
body.page-recipes-edit_recipe_book .book-background-controls {
  margin-left: auto;
}

.book-asset-row label {
  flex: 1 1 280px;
}

.background-picker-trigger-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.book-asset-delete {
  align-self: center;
}

.book-asset-delete img {
  width: 20px;
  height: 20px;
  display: block;
}

body.page-recipes-new_recipe_book .book-background-controls .background-picker-trigger-row,
body.page-recipes-edit_recipe_book .book-background-controls .background-picker-trigger-row {
  justify-content: flex-end;
}

body.page-recipes-new_recipe_book .book-asset-row .background-picker-trigger-row,
body.page-recipes-edit_recipe_book .book-asset-row .background-picker-trigger-row {
  margin-left: auto;
  justify-content: flex-end;
}

body.page-recipes-new_recipe_book .inscription-asset-row,
body.page-recipes-edit_recipe_book .inscription-asset-row,
body.page-recipes-new_recipe_book .cover-asset-row,
body.page-recipes-edit_recipe_book .cover-asset-row {
  align-items: center;
  flex-wrap: nowrap;
}

body.page-recipes-new_recipe_book .inscription-asset-row,
body.page-recipes-edit_recipe_book .inscription-asset-row {
  margin-top: 5px;
}

body.page-recipes-new_recipe_book .inscription-asset-row > label,
body.page-recipes-edit_recipe_book .inscription-asset-row > label,
body.page-recipes-new_recipe_book .cover-asset-row > label,
body.page-recipes-edit_recipe_book .cover-asset-row > label {
  flex: 0 0 auto;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 0;
}

body.page-recipes-new_recipe_book .inscription-asset-row .background-picker-trigger-row,
body.page-recipes-edit_recipe_book .inscription-asset-row .background-picker-trigger-row,
body.page-recipes-new_recipe_book .cover-asset-row .background-picker-trigger-row,
body.page-recipes-edit_recipe_book .cover-asset-row .background-picker-trigger-row {
  align-items: center;
  margin-left: 0;
  justify-content: flex-start;
}

.background-picker-open img {
  width: 20px;
  height: 20px;
  filter: brightness(0.55) contrast(1.15);
}

.background-picker-scroll {
  max-height: 55vh;
  overflow-y: auto;
  padding: 8px;
  display: grid;
  gap: 8px;
}

body.page-recipes-new_recipe_book #background-picker-modal .modal-content,
body.page-recipes-edit_recipe_book #background-picker-modal .modal-content {
  width: min(90vw, 900px);
  height: min(80vh, 720px);
  display: flex;
  flex-direction: column;
}

body.page-recipes-new_recipe_book #background-picker-modal .background-picker-scroll,
body.page-recipes-edit_recipe_book #background-picker-modal .background-picker-scroll {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
}

.background-picker-option {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
  text-align: left;
  display: grid;
  gap: 6px;
  cursor: pointer;
  width: 100%;
  font: inherit;
  color: inherit;
}

.background-picker-option img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.background-picker-option.selected {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.background-picker-option span {
  font-size: 0.86rem;
  font-weight: 600;
}

.background-preview-frame {
  position: fixed;
  top: 170px;
  right: 24px;
  left: auto;
  bottom: auto;
  z-index: 1150;
  background: transparent;
  pointer-events: none;
}

.background-preview-frame.hidden {
  display: none;
}

.background-preview-frame-card {
  width: min(44vw, 700px);
  max-height: min(74vh, 760px);
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-preview-frame-card img {
  width: 100%;
  max-height: calc(min(74vh, 760px) - 24px);
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
}

@media (max-width: 980px) {
  .background-preview-frame {
    right: 12px;
    top: 160px;
  }

  .background-preview-frame-card {
    width: min(62vw, 520px);
    max-height: min(68vh, 680px);
  }
}

.book-asset-preview-wrap {
  width: 1in;
  height: 1in;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.book-asset-placeholder {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  padding: 0 6px;
}

body.page-recipes-new_recipe_book .book-file-input,
body.page-recipes-edit_recipe_book .book-file-input {
  display: none;
}

body.page-recipes-new_recipe_book .book-asset-row label .button.outline.small,
body.page-recipes-edit_recipe_book .book-asset-row label .button.outline.small {
  justify-self: start;
  align-self: start;
  padding: 4px 10px;
  font-size: 0.78rem;
}

body.page-recipes-new_recipe_book .recipe-book-submit-row > button.button[type="submit"],
body.page-recipes-edit_recipe_book .recipe-book-submit-row > button.button[type="submit"] {
  width: 4in;
  max-width: 100%;
  display: flex;
  margin: 0 auto;
}

.recipe-book-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}


.book-asset-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: none !important;
  mix-blend-mode: normal;
}

.book-asset-preview.hidden {
  display: none;
}

body.page-recipes-new_recipe_book .form-card,
body.page-recipes-edit_recipe_book .form-card {
  max-width: 1320px;
}

body.page-recipes-new_recipe_book .content-container,
body.page-recipes-edit_recipe_book .content-container {
  margin-top: -75px;
}

body.page-recipes-new_recipe_book .content-container,
body.page-recipes-edit_recipe_book .content-container {
  padding-top: 0;
  gap: var(--space-2);
}

@media (min-width: 721px) {
  body.page-recipes-new_recipe_book,
  body.page-recipes-edit_recipe_book {
    height: 100dvh;
    overflow: hidden;
  }

  body.page-recipes-new_recipe_book .app-shell,
  body.page-recipes-edit_recipe_book .app-shell {
    height: 100dvh;
    min-height: 100dvh;
    overflow: hidden;
  }

  body.page-recipes-new_recipe_book .main-content,
  body.page-recipes-edit_recipe_book .main-content {
    height: calc(100dvh - 150px);
    overflow: hidden;
  }

  body.page-recipes-new_recipe_book .content-container,
  body.page-recipes-edit_recipe_book .content-container {
    margin-top: -14px;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: 24px;
  }

  body.page-recipes-new_recipe_book .content-container > form.form,
  body.page-recipes-edit_recipe_book .content-container > form.form {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 6px;
    overflow: hidden;
  }

  body.page-recipes-new_recipe_book .recipe-book-builder,
  body.page-recipes-edit_recipe_book .recipe-book-builder {
    min-height: 0;
    height: 100%;
    max-height: none;
    margin-top: 0;
  }

  body.page-recipes-new_recipe_book .recipe-book-builder > .card,
  body.page-recipes-edit_recipe_book .recipe-book-builder > .card {
    min-height: 0;
  }

  body.page-recipes-new_recipe_book .recipe-book-builder > .card {
    height: calc((100% - 15px) * 0.6);
    max-height: calc((100% - 15px) * 0.6);
    overflow-y: auto;
    overflow-x: hidden;
    align-self: start;
  }

  body.page-recipes-new_recipe_book .recipe-book-recipes-panel,
  body.page-recipes-edit_recipe_book .recipe-book-recipes-panel {
    min-height: 0;
    overflow: hidden;
  }

  body.page-recipes-new_recipe_book .recipe-book-recipes-card,
  body.page-recipes-edit_recipe_book .recipe-book-recipes-card {
    min-height: 0;
  }

  body.page-recipes-new_recipe_book .recipe-book-main-card,
  body.page-recipes-new_recipe_book .recipe-book-toc-panel,
  body.page-recipes-edit_recipe_book .recipe-book-main-card,
  body.page-recipes-edit_recipe_book .recipe-book-toc-panel {
    overflow-y: auto;
    overflow-x: hidden;
  }

  body.page-recipes-new_recipe_book .recipe-book-main-card {
    height: calc((100% - 15px) * 0.6);
    align-self: start;
  }

  body.page-recipes-edit_recipe_book .recipe-book-main-card {
    height: calc(100% - 15px);
    align-self: start;
  }

  body.page-recipes-new_recipe_book .recipe-book-recipes-panel,
  body.page-recipes-new_recipe_book .recipe-book-toc-panel {
    height: calc((100% - 15px) * 0.6);
    align-self: start;
  }

  body.page-recipes-edit_recipe_book .recipe-book-recipes-panel,
  body.page-recipes-edit_recipe_book .recipe-book-toc-panel {
    height: calc(100% - 15px);
    align-self: start;
  }

  body.page-recipes-new_recipe_book .recipe-book-submit-row,
  body.page-recipes-edit_recipe_book .recipe-book-submit-row {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 12px;
  }
}

.recipe-book-builder {
  display: grid;
  grid-template-columns: minmax(0, 597px) minmax(0, 429px) minmax(0, 429px);
  gap: 16px;
  align-items: stretch;
  max-width: 1480px;
  margin-top: -20px;
}

.recipe-book-builder > .card {
  height: 100%;
}

.recipe-book-builder-panel {
  display: grid;
  gap: 10px;
}

body.page-recipes-edit_recipe_book .recipe-book-main-header {
  display: block;
}

body.page-recipes-edit_recipe_book .recipe-book-main-header .meta {
  margin-top: 4px;
}

.recipe-book-main-card {
  min-height: 296px;
}

body.page-recipes-new_recipe_book .recipe-book-main-card textarea,
body.page-recipes-edit_recipe_book .recipe-book-main-card textarea {
  min-height: 96px;
}

body.page-recipes-new_recipe_book .title-color-row,
body.page-recipes-edit_recipe_book .title-color-row {
  display: grid;
  gap: 8px;
  margin-bottom: 4px;
}

body.page-recipes-new_recipe_book .title-color-row .title-color-control,
body.page-recipes-edit_recipe_book .title-color-row .title-color-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-recipes-new_recipe_book .title-color-row label,
body.page-recipes-edit_recipe_book .title-color-row label {
  display: inline-grid;
  gap: 6px;
  font-weight: 600;
  color: var(--muted);
}

body.page-recipes-new_recipe_book .title-color-control input[type="text"],
body.page-recipes-edit_recipe_book .title-color-control input[type="text"] {
  width: 130px;
  flex: 0 0 auto;
  font-size: 0.9rem;
  padding: 10px 12px;
}

body.page-recipes-new_recipe_book .title-color-control input[type="color"],
body.page-recipes-edit_recipe_book .title-color-control input[type="color"] {
  width: 46px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

body.page-recipes-new_recipe_book .title-color-preview,
body.page-recipes-edit_recipe_book .title-color-preview {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
}

body.page-recipes-new_recipe_book .title-color-wheel,
body.page-recipes-edit_recipe_book .title-color-wheel {
  display: flex;
  align-items: center;
  overflow-x: auto;
  gap: 8px;
  padding: 8px 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

body.page-recipes-new_recipe_book .title-color-swatch,
body.page-recipes-edit_recipe_book .title-color-swatch {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border: 2px solid rgba(35, 29, 22, 0.2);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.page-recipes-new_recipe_book .title-color-swatch.selected,
body.page-recipes-edit_recipe_book .title-color-swatch.selected {
  outline: 2px solid #f2a877;
  outline-offset: 2px;
}

.recipe-book-recipes-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 296px;
  gap: 0;
}

body.page-recipes-new_recipe_book .recipe-book-panel-header,
body.page-recipes-edit_recipe_book .recipe-book-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.page-recipes-new_recipe_book .recipe-book-filter-button img,
body.page-recipes-edit_recipe_book .recipe-book-filter-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0.55) contrast(1.15);
}

body.page-recipes-new_recipe_book .recipe-book-filter-options,
body.page-recipes-edit_recipe_book .recipe-book-filter-options {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

body.page-recipes-new_recipe_book .recipe-book-filter-options label,
body.page-recipes-edit_recipe_book .recipe-book-filter-options label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recipe-book-recipes-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.recipe-book-pool-list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.recipe-book-recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

@media (min-width: 900px) {
  .recipe-book-recipes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.form .recipe-book-recipe-item:not(.recipe-pool-item) {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff;
  padding: 8px;
  min-height: 56px;
  font-weight: 600;
  color: var(--ink);
  width: 100%;
}

.form .recipe-book-recipe-item.hidden {
  display: none;
}

.form .recipe-book-recipe-item:not(.recipe-pool-item) input {
  width: auto;
  margin-top: 2px;
  flex: 0 0 auto;
}

.recipe-book-recipe-item span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.2;
  font-size: 0.92rem;
}

.recipe-book-toc-panel {
  min-height: 296px;
  display: flex;
  flex-direction: column;
}

.recipe-book-toc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 10px;
  min-height: 420px;
}

.recipe-book-toc-help {
  margin: 0 0 10px;
}

#recipe-book-toc-empty.hidden {
  display: none !important;
}

.recipe-book-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  min-height: 0;
  flex: 1 1 auto;
  align-content: start;
}

.recipe-book-toc-item {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: start;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fffaf4;
  padding: 10px 12px;
  min-height: 46px;
  cursor: move;
}

.recipe-book-toc-number {
  font-weight: 700;
  color: var(--muted);
  text-align: right;
  line-height: 1.3;
}

.recipe-book-toc-drop.is-drop-target {
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
}

.recipe-book-toc-item.is-drop-target {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.recipe-book-toc-item.is-dragging {
  opacity: 0.65;
}

.recipe-book-toc-title {
  line-height: 1.3;
  font-size: 0.98rem;
  font-weight: 600;
}

.recipe-book-toc-drag-handle {
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1;
  cursor: grab;
  user-select: none;
}

.recipe-book-toc-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.recipe-book-toc-remove {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--danger);
  cursor: pointer;
  line-height: 1;
}

.recipe-book-toc-remove:hover {
  border-color: var(--danger);
  background: #fff5f5;
}

.recipe-book-toc-remove img {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 1180px) {
  .recipe-book-builder {
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-recipes-list_recipe_books .recipe-books-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-recipes-list_recipe_books .recipe-books-marketing-rail {
    width: auto;
    min-width: 0;
    min-height: 120px;
  }

  body.page-recipes-list_recipes .my-recipes-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-recipes-list_recipes .my-recipes-marketing-rail {
    width: auto;
    min-width: 0;
    min-height: 120px;
  }

  body.page-index .home-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.page-index .home-marketing-rail {
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 980px) {
  .recipe-book-recipes-grid {
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    overflow-x: auto;
  }

  body.page-recipes-list_recipe_books .recipe-books-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }

  body.page-recipes-list_recipes .my-recipes-grid {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }
}

@media (max-width: 620px) {
  .recipe-book-recipes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-recipes-list_recipe_books .recipe-books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-recipes-list_recipes .my-recipes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.file-input-hidden {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.file-button,
.camera-button,
.screen-capture-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 180px;
  justify-content: center;
}

.file-icon,
.camera-icon {
  width: 20px;
  height: 20px;
  display: block;
}

.camera-modal-content {
  width: min(90vw, 520px);
}

.camera-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #000000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 12px 0;
  position: relative;
}

.camera-frame video,
.camera-frame canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.camera-frame video.hidden,
.camera-frame canvas.hidden {
  display: none;
}

.screen-capture-modal-content {
  width: min(96vw, 1500px) !important;
  height: auto !important;
  max-height: 92vh !important;
  overflow: hidden !important;
}

.screen-capture-frame {
  width: 100%;
  height: min(72vh, 900px);
  background: #f4f6f8;
  border: 1px dashed #cfd8e3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 12px 0;
  position: relative;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-capture-frame.is-selecting {
  cursor: crosshair;
}

.screen-capture-frame.is-crop-mode {
  cursor: crosshair;
}

.screen-capture-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.screen-capture-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
  padding: 12px;
  text-align: center;
}

.screen-capture-box {
  position: absolute;
  display: none;
  border: 3px dashed #ffffff;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

#screen-capture-modal {
  z-index: 2200;
}

.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-top: 12px;
}

.form-inline.auth-inline {
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: center;
}

.form-inline.auth-inline label {
  margin-bottom: 0;
  flex: 0 0 auto;
}

body.page-admin-dashboard .form-inline.auth-inline.tester-add-inline input,
body.page-admin-dashboard .form-inline.auth-inline.tester-add-inline select {
  padding: 8px 10px;
  font-size: 0.85rem;
}

body.page-admin-dashboard .form-inline.auth-inline.tester-add-inline .tester-email-input {
  width: 340px;
  max-width: 100%;
}

.form-inline.auth-filter-inline {
  gap: 8px;
  justify-content: flex-start;
  flex-wrap: nowrap;
  align-items: center;
}

.form-inline.auth-filter-inline label {
  margin-bottom: 0;
  flex: 0 0 auto;
}

body.page-admin-dashboard .admin-table-card .form-inline.auth-filter-inline input,
body.page-admin-dashboard .admin-table-card .form-inline.auth-inline input,
body.page-admin-dashboard .admin-table-card .form-inline.auth-inline select {
  padding: 8px 10px;
  font-size: 0.85rem;
}

.form-inline label {
  margin-bottom: 0;
  flex: 1 1 220px;
}

.form-inline.invite-inline {
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}

body.page-chef_groups-list_and_create .form-inline.invite-inline {
  gap: 6px;
  margin-top: 0;
}

.form-inline.invite-inline label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.form-inline.invite-inline input {
  width: 320px;
  max-width: 100%;
  margin-top: 0;
  padding: 12px 14px;
}

body.page-chef_groups-list_and_create .form-inline.invite-inline input {
  padding: 6px 9px;
}

body.page-chef_groups-list_and_create .chef-groups-list .card-actions {
  margin-top: 6px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.form-grid .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: center;
}

.form-grid-head {
  font-weight: 700;
  color: var(--muted);
}

.hero {
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  gap: var(--space-5);
}

.hero h1 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(2rem, 2.4vw, 2.0rem);
  margin: 0;
}

.hero p {
  margin: 0;
  font-size: 1.5rem;
}

body.page-index .home-hero p {
  font-size: 1rem;
}

body.page-index .home-hero h1 {
  padding-left: 10px;
  padding-top: 10px;
}

body.page-index .home-hero-description {
  font-size: 1.0rem;
  padding-left: 10px;
}

body.page-index .home-hero .hero-actions {
  padding-left: 10px;
}

body.page-index .home-hero-description-list {
  margin: 10px 0 0;
  padding-left: 35px;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.home-overview-video-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.home-overview-video-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-strong);
  display: inline-block;
  position: relative;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.home-overview-video-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #ffffff;
}

.home-overview-video-modal .home-overview-video-modal-content {
  width: min(96vw, 1140px);
  height: auto;
  max-height: calc(100vh - 30px);
  overflow: auto;
  transform: translateY(-48px);
}

.home-overview-video-frame-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 210px);
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.home-overview-video-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .home-overview-video-modal .home-overview-video-modal-content {
    transform: translateY(-20px);
  }
}

.hero-actions + .home-hero-meta {
  margin-top: var(--space-4);
}

.hero-free {
  font-weight: 800;
  color: var(--accent-strong);
}

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
}

body.page-index .home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2in;
  gap: var(--space-4);
  align-items: start;
  margin-top: -5px;
}

.background-picker-section {
  margin: 6px 0 2px;
  padding: 4px 2px 2px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

body.page-index .home-grid {
  min-width: 0;
}

body.page-index .home-rail-stack {
  width: 2in;
  min-width: 2in;
  display: grid;
  gap: var(--space-2);
  align-items: start;
}

body.page-index .home-marketing-rail {
  width: 2in;
  min-width: 2in;
  height: calc(100vh - 235px);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--space-2);
  padding: var(--space-3);
  min-height: 0;
  overflow: hidden;
}

.recipe-book-cover-tile-title.no-cover {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

@media (min-width: 1201px) {
  body.page-index .home-grid {
    min-height: calc(100vh - 235px);
  }

  body.page-index .home-main {
    min-height: calc(100vh - 235px);
    display: flex;
    flex-direction: column;
  }

  body.page-index .home-support-banner {
    margin: auto 0 0;
  }
}

body.page-index .home-marketing-rail h3 {
  font-size: 0.85rem;
  line-height: 1.2;
  margin: 0;
}

.marketing-rail-links {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  min-height: 0;
  overflow: visible;
  padding-right: 4px;
}

.marketing-rail-links li {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}

.marketing-rail-links li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.marketing-rail-image-link {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
  width: 75%;
  margin: 0 auto;
}

.marketing-rail-image-link img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

body.page-index .home-marketing-rail .marketing-rail-image-link {
  width: 68%;
}

.marketing-rail-links a {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.marketing-rail-links a:hover {
  text-decoration: underline;
}

.marketing-rail-description {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.marketing-rail-affiliate {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.marketing-rail-empty {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

body.page-index .home-donation-button {
  width: 100%;
  text-align: center;
}

.marketing-rail-order-group + .marketing-rail-order-group {
  margin-top: 14px;
}

.marketing-rail-order-head {
  margin-bottom: 6px;
}

.marketing-rail-sort-list {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.marketing-rail-sort-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: move;
}

.marketing-rail-sort-item.is-dragging {
  opacity: 0.6;
}

.marketing-rail-sort-handle {
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 1px;
}

.marketing-file-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  white-space: nowrap;
}

.marketing-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.marketing-file-inline {
  display: inline-flex;
  align-self: flex-end;
  align-items: flex-end;
  margin-left: -6px;
}

.marketing-links-create-form {
  align-items: flex-start;
}

.marketing-links-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.marketing-order-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.marketing-order-selector {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--surface);
}

.marketing-order-content {
  min-width: 0;
}

.marketing-order-content .marketing-rail-order-group {
  margin-top: 0;
}

.marketing-rail-order-group.is-hidden {
  display: none;
}

@media (max-width: 920px) {
  .marketing-order-layout {
    grid-template-columns: 1fr;
  }
}

.marketing-links-create-form > label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
}

.marketing-links-create-form input[name="sort_order"] {
  width: 68px;
  min-width: 68px;
}

.marketing-links-create-form input[name="description"] {
  width: 240px;
  min-width: 180px;
}

.marketing-links-create-submit {
  flex: 0 0 auto;
  display: flex;
  align-self: flex-end;
}

.marketing-links-description-label {
  min-width: 240px;
}

.admin-section-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}

.marketing-links-filter-row {
  margin-bottom: 10px;
}

.marketing-links-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--muted);
}

.marketing-links-filter-label select {
  min-width: 220px;
}

.marketing-links-table {
  table-layout: auto;
}

.marketing-links-table .marketing-links-col-active {
  width: 70px;
  min-width: 70px;
  max-width: 70px;
  white-space: nowrap;
}

.marketing-links-table .marketing-links-col-active input[type="checkbox"] {
  width: auto;
  min-width: 0;
}

.marketing-links-table input[name="description"] {
  max-width: 220px;
}

.marketing-links-table input[name="sort_order"] {
  width: 68px;
  min-width: 68px;
}

.admin-table-card .data-table td form + form {
  margin-top: 4px;
}

.home-carousel {
  min-height: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-right: 10px;
  box-sizing: border-box;
}

.home-carousel-shell {
  display: grid;
  grid-template-columns: minmax(0, 620px);
  gap: var(--space-3);
  align-items: stretch;
}

.home-carousel-card {
  padding: var(--space-3);
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 14px;
  position: relative;
  z-index: 1;
}

.home-carousel-card.is-expanded {
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%) scale(2);
  transform-origin: center center;
  z-index: 110;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.home-carousel-expand {
  position: absolute;
  right: 10px;
  top: 10px;
  width: auto;
  min-width: 74px;
  height: 32px;
  border: 1px solid #d7deea;
  border-radius: 999px;
  background: #ffffff;
  color: #2c3e50;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0 12px;
  box-shadow: 0 2px 10px rgba(20, 36, 58, 0.12);
}

.home-carousel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 18, 36, 0.45);
  z-index: 100;
}

.home-carousel-support-box {
  margin-top: calc(var(--space-4) - 10px);
  justify-self: stretch;
  align-self: stretch;
  width: 100%;
  height: 100%;
  color: var(--ink);
  padding: var(--space-4);
  display: grid;
  align-content: center;
  justify-items: start;
  text-align: left;
}

.home-affiliate-support-card {
  align-content: center;
}

.home-carousel-support-box p {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--muted);
}

.home-support-banner {
  width: 100%;
  margin: calc(var(--space-4) - 5px) 0 0;
  padding: 12px 14px;
  border: 1px solid #e4e4e4;
  border-bottom: 0;
  border-radius: var(--radius-md);
  background: #ffffff;
}

.home-support-banner-heading {
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 400;
  color: var(--ink);
}

.home-support-banner-icon {
  width: 18px;
  height: 18px;
  border: 1px solid #cbd3dc;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4a5a6a;
  background: rgba(255, 255, 255, 0.72);
}

.home-support-banner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-recipe-du-jour-card {
  grid-template-rows: auto 1fr;
  align-content: start;
  justify-items: stretch;
  row-gap: 10px;
  padding: 10px;
}

.home-recipe-du-jour-card h3 {
  margin: 0;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  text-align: center;
}

.home-recipe-du-jour-content {
  display: grid;
  gap: 6px;
  align-content: start;
}

.home-recipe-du-jour-media {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 3;
  width: 64%;
  justify-self: center;
  display: grid;
  place-items: center;
}

.home-recipe-du-jour-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-recipe-du-jour-media.placeholder {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 8px;
}

.home-recipe-du-jour-content h4 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.25;
}

.home-recipe-du-jour-content p,
.home-recipe-du-jour-empty {
  margin: 0;
  color: var(--muted);
  font-size: calc(1rem - 2pt);
  line-height: 1.5;
}

.home-carousel-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.home-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: #c2c8d0;
  cursor: pointer;
  transition: width 180ms ease, background-color 180ms ease;
}

.home-carousel-dot.is-active {
  width: 24px;
  height: 8px;
  background: #1a73e8;
}

.home-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  border: 1px solid #d7deea;
  border-radius: 999px;
  background: #ffffff;
  color: #2f3d55;
  font-size: 1.12rem;
  font-weight: 700;
  cursor: pointer;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(26, 43, 66, 0.14);
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.home-carousel-arrow[data-carousel-prev] {
  left: 12px;
}

.home-carousel-arrow[data-carousel-next] {
  right: 12px;
}

.home-carousel-arrow:hover:not(:disabled) {
  background: #f8fbff;
  transform: translateY(-50%) scale(1.03);
  box-shadow: 0 7px 16px rgba(26, 43, 66, 0.2);
}

.home-carousel-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}

.home-carousel-viewport {
  width: 100%;
  height: min(430px, 58vw);
  max-width: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 0;
  background: #ffffff;
  display: grid;
  place-items: center;
}

.home-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
}

.home-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  background: #ffffff;
  border: 1px solid #e0e7f1;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  opacity: 0;
  transform: translateX(28px) scale(0.985);
  box-shadow: 0 4px 14px rgba(18, 38, 64, 0.1);
  transition: transform 260ms ease, opacity 220ms ease, box-shadow 220ms ease;
  pointer-events: none;
  z-index: 1;
}

.home-carousel-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  box-shadow: 0 10px 24px rgba(18, 38, 64, 0.16);
  pointer-events: auto;
  z-index: 3;
}

.home-carousel-slide.is-prev {
  opacity: 0;
  transform: translateX(-28px) scale(0.985);
  z-index: 1;
}

.home-carousel-slide.is-next {
  opacity: 0;
  transform: translateX(28px) scale(0.985);
  z-index: 1;
}

.home-carousel-slide.is-hidden {
  opacity: 0;
  transform: translateX(0) scale(0.98);
  z-index: 1;
}

.home-carousel-slide-media {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
  background: #f6f8fb;
  display: grid;
  place-items: center;
}

.home-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border: 0;
  display: block;
}

.home-carousel-slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  min-width: 0;
  padding: 12px 14px;
  display: grid;
  align-content: end;
  row-gap: 8px;
  width: 100%;
  max-width: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.76) 0%, rgba(15, 23, 42, 0.02) 80%);
  color: #ffffff;
  border-top: 0;
}

.home-carousel-slide-title {
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  color: #F2F0EF;
}

.home-carousel-bullets {
  margin: 0;
  padding-left: 18px;
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.96);
}

.home-carousel-sentence {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.96);
}

.home-carousel-copy-placeholder {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.home-carousel-empty {
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: var(--space-2);
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .home-carousel-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-carousel-viewport {
    width: 100%;
    height: 390px;
  }

  .home-carousel-slide {
    height: 100%;
  }

  .home-carousel-slide.is-prev {
    transform: translateX(-20px) scale(0.985);
  }

  .home-carousel-slide.is-next {
    transform: translateX(20px) scale(0.985);
  }

  .home-carousel-slide-media {
    width: 100%;
    min-height: 100%;
  }

  .home-carousel-slide-media img {
    height: 100%;
  }

  .home-carousel-arrow {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }
}

@media (max-width: 640px) {
  .home-carousel-viewport {
    height: 320px;
    overflow: hidden;
  }

  .home-carousel-slide {
    width: 100%;
    border-radius: 10px;
    padding: 0;
  }

  .home-carousel-slide.is-prev,
  .home-carousel-slide.is-next {
    opacity: 0;
    transform: translate3d(0, 10px, -140px) scale(0.84);
  }

  .home-carousel-slide-media {
    min-height: 190px;
  }

  .home-carousel-slide-copy {
    padding: 10px 12px;
    row-gap: 8px;
  }

  .home-carousel-bullets {
    gap: 5px;
    font-size: 0.95rem;
  }

  .home-carousel-arrow[data-carousel-prev] {
    left: 6px;
  }

  .home-carousel-arrow[data-carousel-next] {
    right: 6px;
  }
}

.home-section-gap {
  margin-top: var(--space-7);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: var(--space-6);
  align-items: start;
  padding: calc(var(--space-3) - 6px);
  padding-bottom: calc((var(--space-3) - 6px) + 10px);
}

.home-hero > div:first-child {
  max-width: 620px;
}

.home-hero-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface-2);
  padding: var(--space-5);
  display: grid;
  gap: var(--space-4);
}

.home-hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.home-hero-panel h3 {
  font-size: 1.7rem;
  letter-spacing: 0.5px;
  margin: 0;
}

.home-hero-list {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0;
  padding-left: 18px;
}

.home-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: var(--secondary-soft);
  color: var(--secondary-strong);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.button.save {
  background: #87a96b;
  box-shadow: 0 10px 18px rgba(135, 169, 107, 0.25);
}

.home-logo,
.home-side {
  display: none;
}

.home-recipe-photo {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
}

.home-recipe-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-detail {
  display: grid;
  gap: var(--space-6);
}

.recipe-header {
  display: grid;
  gap: var(--space-3);
  padding: 6px var(--space-5) var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.recipe-detail .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.action-icons {
  display: grid;
  grid-auto-flow: column;
  gap: 6px;
}

.action-icons img {
  width: 34px;
  height: 34px;
  display: block;
}

.action-icons-inline {
  justify-content: start;
}

.recipe-title-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-4);
}

.recipe-title-row h2 {
  margin: 0;
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
}

.recipe-print {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
}

.recipe-print img {
  width: 22px;
  height: 22px;
}

.recipe-description {
  padding: 0;
}

.recipe-description-text {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.ingredients-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.ingredients-head {
  display: grid;
  grid-template-columns: minmax(90px, 120px) minmax(180px, 1fr) minmax(140px, 1.2fr);
  column-gap: 16px;
  align-items: baseline;
  padding: 0 14px 4px;
  font-weight: 700;
  color: var(--muted);
}

.ingredients-list li {
  display: grid;
  grid-template-columns: minmax(90px, 120px) minmax(180px, 1fr) minmax(140px, 1.2fr);
  column-gap: 16px;
  align-items: baseline;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  border: 1px solid var(--border);
}

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

.instructions-grid {
  display: grid;
  grid-template-columns: 60px minmax(200px, 1fr) 120px 1fr;
  gap: 10px 16px;
  align-items: start;
}

.instructions-grid--compact {
  grid-template-columns: 60px minmax(200px, 1fr);
}

.instructions-grid .grid-head {
  font-weight: 700;
  color: var(--muted);
}

.instructions-grid .grid-num {
  font-weight: 800;
  color: var(--accent-strong);
}

.instructions-grid .grid-text {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.instructions-grid .grid-time,
.instructions-grid .grid-notes {
  color: var(--muted);
}

.photo img {
  width: 100%;
  max-width: 320px;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  border: 1px solid var(--border);
}

.recipe-media-grid {
  margin-bottom: 12px;
}

.recipe-photo-actions {
  margin-top: 8px;
}

.flash-list {
  margin-bottom: var(--space-4);
  display: grid;
  gap: 8px;
}

.flash {
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff2e6;
  border: 1px solid #f1d4bf;
}

.flash.error {
  background: #f5e8e8;
  border-color: #d9b1b1;
}

.flash.success {
  background: #e2f4e7;
  border-color: #b9e2c4;
}

body.page-recipes-import_recipe .import-timer-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 22, 34, 0.35);
  display: grid;
  place-items: center;
  z-index: 1200;
  padding: 16px;
}

body.page-recipes-import_recipe .import-timer-modal.hidden {
  display: none;
}

body.page-recipes-import_recipe .import-timer-card {
  width: min(520px, calc(100vw - 32px));
  background: #ffffff;
  border: 1px solid #d4deea;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(12, 30, 58, 0.22);
  padding: 18px 20px;
}

body.page-recipes-import_recipe .import-timer-card h3 {
  margin: 0;
  color: #0f2f50;
}

body.page-recipes-import_recipe .import-timer-subtitle {
  margin: 6px 0 14px;
  color: #49627a;
}

body.page-recipes-import_recipe .import-timer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

body.page-recipes-import_recipe .import-timer-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #5d7286;
}

body.page-recipes-import_recipe .import-timer-value {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #153758;
}

body.page-recipes-import_recipe .import-timer-progress {
  width: 100%;
  height: 10px;
  background: #e8eff7;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

body.page-recipes-import_recipe .import-timer-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #1f76ca 0%, #39a16c 100%);
  transition: width 220ms ease;
}

body.page-recipes-import_recipe .import-timer-status {
  margin: 0 0 12px;
  color: #23445f;
}

body.page-recipes-import_recipe .import-timer-steps {
  margin: 0 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

body.page-recipes-import_recipe .import-timer-steps li {
  color: #47637b;
}

body.page-recipes-import_recipe .import-timer-steps li.active {
  color: #0e4f8b;
  font-weight: 600;
}

body.page-recipes-import_recipe .import-timer-steps li.done {
  color: #23724b;
}

body.page-recipes-import_recipe .import-timer-steps li.failed {
  color: #8e2a2a;
}

body.page-recipes-import_recipe .import-timer-actions {
  display: flex;
  justify-content: flex-end;
}

.share-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.share-links img {
  width: 24px;
  height: 24px;
  display: block;
}

body.page-recipes-view_recipe .recipe-email-modal-content {
  width: min(1100px, calc(100vw - 24px));
  max-width: 1100px;
  height: min(86dvh, 780px);
  max-height: min(86dvh, 780px);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.page-recipes-view_recipe .recipe-email-modal-content form {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
  flex: 1 1 auto;
}

body.page-recipes-view_recipe .recipe-email-modal-content label {
  display: grid;
  gap: 6px;
  width: 100%;
}

body.page-recipes-view_recipe #recipe-email-to,
body.page-recipes-view_recipe #recipe-email-message {
  width: 50%;
  max-width: none;
}

body.page-recipes-view_recipe .recipe-email-modal-content textarea {
  min-height: 84px;
}

body.page-recipes-view_recipe .recipe-email-preview-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  height: auto;
  min-height: 0;
  overflow: auto;
}

body.page-recipes-view_recipe #recipe-email-preview {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
}

body.page-recipes-list_recipe_books .recipe-book-email-modal-content {
  width: min(1100px, calc(100vw - 24px));
  max-width: 1100px;
  height: min(86dvh, 680px);
  max-height: min(86dvh, 680px);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

body.page-recipes-list_recipe_books .recipe-book-email-modal-content form {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 0;
  flex: 1 1 auto;
  position: relative;
}

body.page-recipes-list_recipe_books .recipe-book-email-modal-content label {
  display: grid;
  gap: 6px;
  width: 100%;
  position: relative;
  z-index: 2;
}

body.page-recipes-list_recipe_books #book-email-recipient,
body.page-recipes-list_recipe_books #book-email-note {
  width: 50%;
  max-width: none;
}

body.page-recipes-list_recipe_books .recipe-book-email-preview-wrap {
  border: 1px solid #fff;
  border-radius: var(--radius-md);
  background: #fff;
  min-height: 0;
  max-height: 320px;
  overflow: auto;
  padding: 14px;
  position: relative;
  z-index: 1;
}

body.page-recipes-list_recipe_books #book-email-preview {
  width: min(180px, 100%);
  margin-inline: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

body.page-recipes-list_recipe_books .recipe-book-email-cover-preview {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  min-height: 0;
}

body.page-recipes-list_recipe_books .recipe-book-email-cover-preview.no-bg {
  background: linear-gradient(180deg, #f6f8fb 0%, #edf1f6 100%);
}

body.page-recipes-list_recipe_books .recipe-book-email-cover-preview .recipe-book-cover-tile-photo {
  width: 72%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

body.page-recipes-list_recipe_books .recipe-book-email-cover-preview .recipe-book-cover-tile-title {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 14%;
  right: 14%;
  text-align: center;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  z-index: 2;
}

body.page-recipes-list_recipe_books .recipe-book-email-cover-preview .recipe-book-cover-tile-title.title-placement-top {
  top: 33.333%;
}

body.page-recipes-list_recipe_books .recipe-book-email-cover-preview .recipe-book-cover-tile-title.title-placement-middle {
  top: 50%;
}

body.page-recipes-list_recipe_books .recipe-book-email-cover-preview .recipe-book-cover-tile-title.title-placement-bottom {
  top: 66.667%;
}

body.page-recipes-list_recipe_books .recipe-book-email-cover-preview .recipe-book-no-cover {
  font-weight: 600;
  color: var(--muted);
}

body.page-recipes-list_recipe_books .recipe-book-email-modal-content .modal-actions {
  position: relative;
  z-index: 2;
}

body.page-recipes-list_recipe_books #book-limit-modal .modal-content,
body.page-recipes-list_recipe_books #book-delete-modal .modal-content,
body.page-recipes-list_recipe_books #book-email-modal .modal-content {
  width: min(92vw, 560px);
  height: auto;
  max-height: 86vh;
  overflow: auto;
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d7e0ea;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

body.page-recipes-list_recipe_books #book-email-modal .modal-content {
  width: min(1100px, calc(100vw - 24px));
}

body.page-recipes-list_recipe_books #book-limit-modal h3,
body.page-recipes-list_recipe_books #book-delete-modal h3,
body.page-recipes-list_recipe_books #book-email-modal h3 {
  margin: 0 0 8px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  color: #1f2933;
}

body.page-recipes-list_recipe_books #book-limit-modal p,
body.page-recipes-list_recipe_books #book-delete-modal p,
body.page-recipes-list_recipe_books #book-email-modal p,
body.page-recipes-list_recipe_books #book-email-modal label {
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: #334155;
}

body.page-recipes-list_recipe_books #book-limit-modal p,
body.page-recipes-list_recipe_books #book-delete-modal p,
body.page-recipes-list_recipe_books #book-email-modal p {
  margin: 0 0 6px;
  font-size: var(--fs-body-lg);
  line-height: 1.45;
}

body.page-recipes-list_recipe_books #book-email-modal label {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.35;
}

body.page-recipes-list_recipe_books #book-email-modal input,
body.page-recipes-list_recipe_books #book-email-modal textarea {
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: #1f2933;
}

body.page-recipes-list_recipe_books #book-limit-modal .modal-actions,
body.page-recipes-list_recipe_books #book-delete-modal .modal-actions,
body.page-recipes-list_recipe_books #book-email-modal .modal-actions {
  margin-top: 14px;
  gap: var(--space-3);
  justify-content: center;
}

body.page-recipes-list_recipe_books #book-limit-modal .modal-actions > .button,
body.page-recipes-list_recipe_books #book-delete-modal .modal-actions > .button,
body.page-recipes-list_recipe_books #book-delete-modal .modal-actions > form > .button,
body.page-recipes-list_recipe_books #book-email-modal .modal-actions > .button,
body.page-recipes-list_recipe_books #book-email-modal .modal-actions > form > .button {
  min-height: 2.25rem;
  min-width: 110px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  font-weight: 700;
}

.meal-plan-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.5fr);
  gap: var(--space-5);
  align-items: stretch;
}

body.page-meal_plans-view_meal_plans .meal-plan-layout {
  grid-template-columns: minmax(0, 1.76fr) minmax(0, 0.5fr);
  align-items: start;
  margin-top: -34px;
}

body.page-meal_plans-view_meal_plans .content-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
  gap: 0;
}

body.page-meal_plans-view_meal_plans .page-header {
  margin-bottom: 4px;
}

body.page-meal_plans-view_meal_plans .page-subtitle {
  margin-top: 2px;
}

body.page-meal_plans-view_meal_plans .meal-calendar.card {
  padding: 19px;
  align-self: start;
}

.recipe-pool {
  height: 100%;
}

body.page-meal_plans-view_meal_plans .recipe-pool-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

body.page-meal_plans-view_meal_plans .recipe-pool-header h3 {
  margin: 0;
}

body.page-meal_plans-view_meal_plans .recipe-pool-filter-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b2d5b;
  font-weight: 600;
}

body.page-meal_plans-view_meal_plans .recipe-pool > p {
  margin: 2px 0 6px;
  line-height: 1.3;
}

body.page-meal_plans-view_meal_plans .recipe-pool-filter-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0.55) contrast(1.15);
}

body.page-meal_plans-view_meal_plans .recipe-filter-options {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

body.page-meal_plans-view_meal_plans .recipe-filter-options label {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-meal_plans-view_meal_plans .recipe-course-dropdown {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  padding: 8px 10px;
}

body.page-meal_plans-view_meal_plans .recipe-course-heading {
  font-weight: 700;
  margin-bottom: 8px;
}

body.page-meal_plans-view_meal_plans .recipe-course-options {
  display: grid;
  gap: 8px;
}

body.page-meal_plans-view_meal_plans .recipe-course-options label {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.page-meal_plans-view_meal_plans .recipe-course-options .filter-course-checkbox {
  margin-left: 14px;
}

body.page-meal_plans-view_meal_plans .recipe-favorite-mode {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 18px;
}

body.page-meal_plans-view_meal_plans .recipe-favorite-mode label {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-meal_plans-view_meal_plans .recipe-favorite-mode .favorite-inline-marker {
  color: #c62525;
}

body.page-meal_plans-view_meal_plans .recipe-favorite-mode .favorite-inline-marker img {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
}

body.page-meal_plans-view_meal_plans #recipe-filter-modal .modal-content {
  width: min(92vw, 560px);
  height: auto;
  max-height: 86vh;
  overflow: auto;
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d7e0ea;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.meal-calendar .calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

body.page-meal_plans-view_meal_plans .meal-calendar .calendar-header {
  margin-bottom: 10px;
}

.calendar-title {
  font-weight: 700;
  font-size: 1.1rem;
}

body.page-meal_plans-view_meal_plans .calendar-title {
  font-size: 1.2rem;
}

.calendar-nav {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

body.page-meal_plans-view_meal_plans .calendar-nav {
  width: 29px;
  height: 29px;
  font-size: 1rem;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

body.page-meal_plans-view_meal_plans .calendar-nav img {
  width: 27px;
  height: 27px;
  display: block;
  margin: 0 auto;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 8px;
}

body.page-meal_plans-view_meal_plans .calendar-weekdays {
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(5, minmax(110px, auto));
  gap: 8px;
}

body.page-meal_plans-view_meal_plans .calendar-grid {
  grid-template-rows: repeat(5, minmax(92px, auto));
  gap: 6px;
}

.calendar-cell {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  background: #fffaf4;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 110px;
}

body.page-meal_plans-view_meal_plans .calendar-cell {
  border-radius: 12px;
  padding: 8px;
  gap: 4px;
  min-height: 92px;
}

.calendar-cell.today {
  border: 2px solid var(--accent);
}

.calendar-cell.drag-over {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

.calendar-date {
  font-weight: 700;
  font-size: 0.95rem;
}

body.page-meal_plans-view_meal_plans .calendar-date {
  font-size: 0.8rem;
}

.calendar-meals {
  font-size: 0.85rem;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

body.page-meal_plans-view_meal_plans .calendar-meals {
  font-size: 0.72rem;
  gap: 3px;
}

.recipe-pool-list {
  max-height: 530px;
  overflow-y: auto;
  padding-right: 6px;
}

body.page-meal_plans-view_meal_plans .recipe-pool.card {
  padding: 10px;
}

body.page-meal_plans-view_meal_plans .recipe-pool-list {
  padding-right: 2px;
}

body.page-recipes-new_recipe_book .recipe-book-pool-list,
body.page-recipes-edit_recipe_book .recipe-book-pool-list {
  max-height: none;
  overflow-y: visible;
  padding-right: 0;
}

.recipe-pool-item {
  border: 1px solid var(--border);
  background: #fff7ee;
  padding: 12px 14px;
  border-radius: 14px;
  cursor: grab;
  display: grid;
  gap: 8px;
}

body.page-meal_plans-view_meal_plans .recipe-pool-item {
  position: relative;
  padding: 8px 10px;
  gap: 4px;
}

body.page-meal_plans-view_meal_plans .recipe-pool-item .recipe-pool-badges {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.page-meal_plans-view_meal_plans .recipe-pool-item .favorite-card-marker {
  color: #c62525;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}

body.page-meal_plans-view_meal_plans .recipe-pool-item .recipe-public-chip {
  padding: 1px 6px;
  font-size: 0.68rem;
}

body.page-meal_plans-view_meal_plans .recipe-pool-item .recipe-group-chip {
  padding: 1px 6px;
  font-size: 0.68rem;
}

body.page-chef_groups-view_group .my-recipes-section .recipe-pool-item {
  position: relative;
}

body.page-chef_groups-view_group .my-recipes-section .recipe-pool-item .recipe-pool-badges {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-chef_groups-view_group .my-recipes-section .recipe-pool-item .favorite-card-marker {
  color: #c62525;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}

body.page-chef_groups-view_group .my-recipes-section .recipe-pool-item .recipe-public-chip {
  padding: 2px 8px;
  font-size: 0.72rem;
}

body.page-recipes-new_recipe_book .recipe-book-recipe-item.recipe-pool-item,
body.page-recipes-edit_recipe_book .recipe-book-recipe-item.recipe-pool-item {
  position: relative;
}

body.page-recipes-new_recipe_book .recipe-book-recipe-item.recipe-pool-item .recipe-pool-badges,
body.page-recipes-edit_recipe_book .recipe-book-recipe-item.recipe-pool-item .recipe-pool-badges {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-recipes-new_recipe_book .recipe-book-recipe-item.recipe-pool-item .favorite-card-marker,
body.page-recipes-edit_recipe_book .recipe-book-recipe-item.recipe-pool-item .favorite-card-marker {
  color: #c62525;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}

body.page-chef_groups-view_group .my-recipes-header {
  margin-bottom: 6px;
}

body.page-chef_groups-view_group .my-recipes-filter-button img {
  width: 20px;
  height: 20px;
  filter: brightness(0.55) contrast(1.15);
}

body.page-chef_groups-view_group .my-recipes-section .recipe-pool-item.hidden {
  display: none;
}

body.page-chef_groups-view_group .recipe-filter-options {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

body.page-chef_groups-view_group .recipe-filter-options label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.recipe-pool-item + .recipe-pool-item {
  margin-top: 10px;
}

body.page-meal_plans-view_meal_plans .recipe-pool-item + .recipe-pool-item {
  margin-top: 6px;
}

.recipe-pool-title {
  font-weight: 700;
}

body.page-meal_plans-view_meal_plans .recipe-pool-title {
  font-size: 0.96rem;
  line-height: 1.2;
}

.recipe-pool-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  color: var(--muted);
}

body.page-meal_plans-view_meal_plans .recipe-pool-meta {
  gap: 2px;
  font-size: 0.82rem;
  line-height: 1.25;
}

.recipe-pool-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

body.page-meal_plans-view_meal_plans .recipe-pool-meta-row {
  gap: 4px 8px;
}

.recipe-pool-photo {
  width: 90px;
  height: 90px;
  background: #f7f2ec;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.recipe-pool-photo.placeholder {
  color: var(--muted);
  font-size: 0.2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 6px;
}

.recipe-pool-photo.placeholder.group-recipe-photo-placeholder {
  font-size: 0.8rem;
}

.recipe-pool-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.meal-plan-list-row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 0.5fr);
  gap: var(--space-5);
}

body.page-meal_plans-view_meal_plans .meal-plan-list-row {
  grid-template-columns: minmax(0, 1.76fr) minmax(0, 0.5fr);
  margin-top: -105px;
}

body.page-meal_plans-view_meal_plans .meal-plan-list-row .meal-plan-list {
  width: 50%;
}

.meal-plan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.page-meal_plans-view_meal_plans .recipe-pool-photo {
  width: 74px;
  height: 74px;
}


body.page-meal_plans-view_meal_plans .meal-print-toolbar {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

body.page-meal_plans-view_meal_plans .meal-print-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0b2d5b;
  font-weight: 600;
}

body.page-meal_plans-view_meal_plans .meal-print-toolbar-actions {
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-meal_plans-view_meal_plans .meal-plan-filter-literal {
  color: #0b2d5b;
  font-weight: 600;
}

body.page-meal_plans-view_meal_plans .meal-plan-filter-button img {
  width: 18px;
  height: 18px;
}

body.page-meal_plans-view_meal_plans .meal-plan-filter-button {
  margin-left: 4px;
  margin-right: 0;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 8px;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

body.page-meal_plans-view_meal_plans .meal-plan-filter-button:hover,
body.page-meal_plans-view_meal_plans .meal-plan-print:hover {
  background: var(--accent-soft);
}

body.page-meal_plans-view_meal_plans #planned-print-filter-modal .modal-content {
  width: min(92vw, 560px);
  height: auto;
  max-height: 86vh;
  overflow: auto;
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d7e0ea;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

body.page-meal_plans-view_meal_plans #meal-type-modal .modal-content {
  width: min(92vw, 560px);
  height: auto;
  max-height: 86vh;
  overflow: auto;
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d7e0ea;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

body.page-meal_plans-view_meal_plans .planned-print-filter-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  padding: 10px;
  margin-top: 10px;
}

body.page-meal_plans-view_meal_plans .planned-print-day-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #0b2d5b;
}

body.page-meal_plans-view_meal_plans .planned-print-meal-entry {
  grid-template-columns: 1fr;
  margin-left: 26px;
  margin-bottom: 6px;
}

body.page-meal_plans-view_meal_plans .meal-plan-email-modal-content {
  width: min(92vw, 640px);
  height: auto;
  max-height: 86vh;
  overflow: auto;
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #d7e0ea;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

body.page-meal_plans-view_meal_plans .meal-plan-email-modal-content form {
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 10px;
}

body.page-meal_plans-view_meal_plans .meal-plan-email-modal-content label {
  display: grid;
  gap: 6px;
  width: 100%;
}

body.page-meal_plans-view_meal_plans #meal-plan-email-recipient,
body.page-meal_plans-view_meal_plans #meal-plan-email-note {
  width: 100%;
  max-width: none;
}

body.page-meal_plans-view_meal_plans #meal-plan-email-recipient {
  min-height: 44px;
}

body.page-meal_plans-view_meal_plans #meal-plan-email-note {
  min-height: 60px;
}

body.page-meal_plans-view_meal_plans .meal-plan-email-note-line {
  margin: 0;
  color: var(--muted);
}

body.page-meal_plans-view_meal_plans #planned-print-filter-modal h3,
body.page-meal_plans-view_meal_plans #recipe-filter-modal h3,
body.page-meal_plans-view_meal_plans #meal-type-modal h3,
body.page-meal_plans-view_meal_plans #meal-plan-email-modal h3 {
  margin: 0 0 8px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  color: #1f2933;
}

body.page-meal_plans-view_meal_plans #planned-print-filter-modal p,
body.page-meal_plans-view_meal_plans #recipe-filter-modal p,
body.page-meal_plans-view_meal_plans #meal-type-modal p,
body.page-meal_plans-view_meal_plans #meal-plan-email-modal p,
body.page-meal_plans-view_meal_plans #meal-plan-email-modal label,
body.page-meal_plans-view_meal_plans #recipe-filter-modal label {
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: #334155;
}

body.page-meal_plans-view_meal_plans #planned-print-filter-modal p,
body.page-meal_plans-view_meal_plans #recipe-filter-modal p,
body.page-meal_plans-view_meal_plans #meal-type-modal p,
body.page-meal_plans-view_meal_plans #meal-plan-email-modal p {
  margin: 0 0 6px;
  font-size: var(--fs-body-lg);
  line-height: 1.45;
}

body.page-meal_plans-view_meal_plans #meal-plan-email-modal label {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.35;
}

body.page-meal_plans-view_meal_plans #recipe-filter-modal label {
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.35;
}

body.page-meal_plans-view_meal_plans #meal-plan-email-modal input,
body.page-meal_plans-view_meal_plans #meal-plan-email-modal textarea {
  font-family: "Roboto", "Segoe UI", sans-serif;
  color: #1f2933;
}

body.page-meal_plans-view_meal_plans #planned-print-filter-modal .modal-actions,
body.page-meal_plans-view_meal_plans #recipe-filter-modal .modal-actions,
body.page-meal_plans-view_meal_plans #meal-type-modal .modal-actions,
body.page-meal_plans-view_meal_plans #meal-plan-email-modal .modal-actions {
  margin-top: 14px;
  gap: var(--space-3);
  justify-content: center;
}

body.page-meal_plans-view_meal_plans #planned-print-filter-modal .modal-actions > .button,
body.page-meal_plans-view_meal_plans #recipe-filter-modal .modal-actions > .button,
body.page-meal_plans-view_meal_plans #meal-type-modal .modal-actions > .button,
body.page-meal_plans-view_meal_plans #meal-plan-email-modal .modal-actions > .button,
body.page-meal_plans-view_meal_plans #meal-plan-email-modal .modal-actions > form > .button {
  min-height: 2.25rem;
  min-width: 110px;
  padding: 0 16px;
  border-radius: 999px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  font-weight: 700;
}

.meal-plan-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.meal-plan-toggle-break {
  display: block;
  width: 1px;
  height: 14px;
  background: var(--border);
  margin: 0 6px;
}

.meal-plan-print {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.meal-plan-print img {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 900px) {
  body.page-meal_plans-view_meal_plans .meal-print-toolbar {
    flex-wrap: wrap;
    gap: 10px;
  }

  body.page-meal_plans-view_meal_plans .meal-print-toolbar-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
  }
}

.meal-day {
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.meal-entry {
  color: var(--ink);
  margin-bottom: 4px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 8px;
  align-items: center;
}

.meal-entry-check {
  width: 16px;
  height: 16px;
}

.meal-entry-delete img {
  width: 20px;
  height: 20px;
  display: block;
}

body.page-meal_plans-view_meal_plans .calendar-day-popup {
  position: fixed;
  z-index: 1200;
  width: min(360px, 92vw);
  max-height: min(70vh, 420px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #0b2d5b;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  padding: 10px;
}

body.page-meal_plans-view_meal_plans .calendar-day-popup.hidden {
  display: none;
}

body.page-meal_plans-view_meal_plans .calendar-day-popup-title {
  font-weight: 700;
  color: #0b2d5b;
  margin-bottom: 8px;
}

body.page-meal_plans-view_meal_plans .calendar-day-popup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-top: 1px solid var(--border);
}

body.page-meal_plans-view_meal_plans .calendar-day-popup-row:first-of-type {
  border-top: none;
}

body.page-meal_plans-view_meal_plans .calendar-day-popup-meal {
  font-size: 0.92rem;
  line-height: 1.25;
}

body.page-meal_plans-view_meal_plans .calendar-day-popup-delete {
  padding: 6px;
}

body.page-meal_plans-view_meal_plans .calendar-day-popup-delete img {
  width: 16px;
  height: 16px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

body.page-chef_school-view_page .video-grid-scroll {
  height: min(56vh, 560px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

body.page-chef_school-view_page .video-grid {
  grid-template-columns: repeat(5, minmax(180px, 1fr));
}

body.page-chef_school-view_page .school-videos-card {
  padding: var(--space-4);
}

body.page-chef_school-view_page .school-layout {
  display: block;
}

body.page-chef_school-view_page .school-main {
  min-width: 0;
  display: grid;
  gap: var(--space-3);
}

body.page-chef_school-view_page .chef-school-description-card p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 721px) {
  body.page-recipes-list_recipes .my-recipes-marketing-rail,
  body.page-recipes-list_recipe_books .recipe-books-marketing-rail {
    height: calc(100vh - 235px);
    min-height: calc(100vh - 235px);
  }
}

@media (max-width: 980px) {
  body.page-chef_school-view_page .school-layout {
    display: block;
  }

  body.page-chef_school-view_page .school-body-layout {
    grid-template-columns: 1fr;
  }

  body.page-chef_school-view_page .chef-school-kitchen-rail {
    position: static;
  }
}

.video-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 170px;
}

.video-thumb {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f7f2ec;
  padding: 0;
  cursor: pointer;
}

.video-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.video-title {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 700;
}

.video-tile.placeholder {
  background: #f7f2ec;
  border-style: dashed;
  color: transparent;
  box-shadow: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.video-modal.hidden {
  display: none;
}

.video-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: min(90vw, 800px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  padding: var(--space-4) var(--space-4) var(--space-5);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.video-modal-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.video-modal-frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000000;
}

.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
  color: var(--muted);
  font-weight: 700;
  justify-content: center;
}

.or-divider span {
  font-size: 1.2em;
}

.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--border);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  width: 5in;
  height: 4in;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin-top: 0;
  padding: 0 12px;
  font-size: 1rem;
  line-height: 1.1;
  color: var(--muted);
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  background: #F6F8FB;
  z-index: 20;
}

.site-footer > span {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.1;
}

.footer-feedback-link {
  grid-column: 3;
  font-weight: 700;
  color: var(--accent-strong);
  justify-self: end;
}

.footer-feedback-link:hover {
  text-decoration: underline;
}

.feedback-form-card textarea {
  min-height: 220px;
  resize: vertical;
}

body.page-feedback-form .feedback-form-card > button.button[type="submit"] {
  width: 4in;
  max-width: 100%;
  display: flex;
  margin: 0 auto;
}

body.page-auth-register .register-fields > button.button[type="submit"] {
  width: 4in;
  max-width: 100%;
  display: flex;
  margin: 0 auto;
}

body.page-auth-login form.form-card > button.button[type="submit"]:not(.outline):not(.danger) {
  width: 4in;
  max-width: 100%;
  display: flex;
  margin: 0 auto;
}

.bottom-nav {
  display: none;
}

@media (max-width: 1200px) {
  .top-nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .top-nav-links::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 980px) {
  .grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-nav {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .top-nav-user {
    justify-self: end;
  }

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

@media (max-width: 720px) {
  .grid--four {
    grid-template-columns: 1fr;
  }
  .top-nav {
    padding: var(--space-3) var(--space-4);
    grid-template-columns: 1fr auto;
    gap: var(--space-2);
    height: auto;
  }

  .brand-logo-link {
    max-width: 100%;
  }

  .brand-logo {
    height: clamp(43px, 11.7vw, 55px);
    max-width: 43vw;
  }

  .top-nav-links {
    display: none;
  }

  .top-nav-user {
    gap: 6px;
    font-size: 1rem;
  }

  .top-nav-user .user-link,
  .top-nav-user .user-name {
    font-size: 0.95rem;
  }

  .content-container {
    padding: var(--space-5) var(--space-4) 120px;
  }

  .top-tabs {
    padding: var(--space-2) var(--space-4) 0;
  }

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

  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: var(--space-5);
  }

  .meal-plan-layout,
  .meal-plan-list-row {
    grid-template-columns: 1fr;
  }

  body.page-meal_plans-view_meal_plans .meal-plan-list-row .meal-plan-list {
    width: 100%;
  }

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

  .calendar-grid {
    grid-template-rows: repeat(5, minmax(90px, auto));
  }

  .bottom-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 10px 12px 16px;
    z-index: 30;
  }

  .site-footer {
    bottom: 68px;
  }

  .bottom-nav a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    display: grid;
    justify-items: center;
    gap: 6px;
  }

  .bottom-nav a:hover {
    text-decoration: none;
  }

  .bottom-nav a.active {
    color: var(--accent-strong);
  }

  .bottom-nav img {
    width: 20px;
    height: 20px;
  }
}

@media print {
  html,
  body,
  .app-shell,
  .main-content,
  .content-container {
    background: #ffffff !important;
  }

  .sidebar,
  .topbar,
  .top-tabs,
  .site-footer,
  .recipe-print,
  .recipe-detail .actions,
  .action-icons,
  .share-section,
  .meal-plan-print,
  .meal-plan-toggle,
  .meal-entry-check,
  .recipe-pool,
  .calendar-nav,
  .modal,
  .bottom-nav {
    display: none !important;
  }

  .app-shell {
    display: block;
  }

  .content-container {
    padding: 0;
  }

  /* Recipe detail print: print only top recipe card + selected portions + ingredients + instructions */
  body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
  }

  body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-shell {
    box-shadow: none !important;
    border: 0 !important;
    background: #ffffff !important;
  }

  body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-hero {
    min-height: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    background-image: none !important;
  }

  body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-overlay {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
  }

  body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-photo-expand,
  body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions {
    display: none !important;
  }

  body.page-recipes-view_recipe .recipedetails-body-section-links,
  body.page-recipes-view_recipe .recipedetails-body-section-share,
  body.page-recipes-view_recipe .recipedetails-body-section-portions {
    display: none !important;
  }

  body.page-recipes-view_recipe .recipedetails-body-section-ingredients,
  body.page-recipes-view_recipe .recipedetails-body-section-instructions {
    width: auto !important;
    margin: 0 !important;
    padding: 12px 0 !important;
    border: 0 !important;
    background: #ffffff !important;
  }

  body.page-recipes-view_recipe .recipedetails-body-section-portions .portion-toggle:not(.button-standard-primary) {
    display: none !important;
  }

  body.page-recipes-view_recipe .recipedetails-body-section-portions .portion-toggle.button-standard-primary {
    display: inline-flex !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #0f2745 !important;
    border: 1px solid #0f2745 !important;
    font-weight: 700 !important;
    min-width: 72px !important;
    min-height: 34px !important;
    padding: 0 12px !important;
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-text-fill-color: #0f2745 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  /* Hide top menu/header navigation when printing */
  .top-tabs,
  .bottom-nav {
    display: none !important;
  }

  /* Recipe detail print header: show only top-left logo above recipe card */
  body.page-recipes-view_recipe .top-nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: start !important;
    align-items: center !important;
    height: auto !important;
    padding: 0 0 12px !important;
    margin: 0 0 8px !important;
    border: 0 !important;
    background: #ffffff !important;
    backdrop-filter: none !important;
    position: static !important;
  }

  body.page-recipes-view_recipe .top-nav .brand-logo-link {
    justify-content: flex-start !important;
    justify-self: start !important;
  }

  body.page-recipes-view_recipe .top-nav .brand-logo {
    height: 64px !important;
    max-width: 420px !important;
    width: auto !important;
  }

  body.page-recipes-view_recipe .top-nav .top-nav-links,
  body.page-recipes-view_recipe .top-nav .top-nav-user,
  body.page-recipes-view_recipe .top-nav .nav-flash-bar {
    display: none !important;
  }
}
.recipe-card .card-actions {
  margin-top: 0;
}

body.page-recipes-view_recipe .recipe-title-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

body.page-recipes-view_recipe .favorite-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.page-recipes-view_recipe .favorite-toggle.active {
  color: inherit;
}

body.page-recipes-view_recipe .favorite-toggle-icon {
  width: 28px;
  height: 28px;
  display: block;
}

body.page-phone.page-recipes-view_recipe .recipe-print {
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
}

@media (max-width: 720px) {
  body.page-phone.page-recipes-view_recipe .recipe-header {
    padding: 6px 14px 14px;
  }

  body.page-phone.page-recipes-view_recipe .ingredients-head,
  body.page-phone.page-recipes-view_recipe .ingredients-list li {
    grid-template-columns: minmax(68px, 0.9fr) minmax(96px, 1.3fr) minmax(96px, 1.2fr);
    column-gap: 8px;
    padding-left: 10px;
    padding-right: 10px;
  }

  body.page-phone.page-recipes-view_recipe .instructions-grid {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body.page-phone.page-recipes-view_recipe .instructions-grid--compact {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body.page-phone.page-recipes-view_recipe .instructions-grid .grid-time,
  body.page-phone.page-recipes-view_recipe .instructions-grid .grid-notes {
    display: none;
  }
}

body.page-phone.page-recipes-view_recipe #recipe-delete-modal .modal-content {
  width: min(92vw, 420px);
  height: auto;
  max-height: 86vh;
  overflow: auto;
}

body.page-recipes-view_recipe #recipe-delete-modal .modal-content {
  width: min(92vw, 560px);
  height: auto;
  max-height: 86vh;
  overflow: auto;
  border-radius: 14px;
  padding: 20px;
  background: #eef2f6;
  border: 1px solid #d7e0ea;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

body.page-recipes-view_recipe #recipe-delete-modal #recipe-delete-title {
  margin: 0 0 8px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #1f2933;
}

body.page-recipes-view_recipe #recipe-delete-modal #recipe-delete-message {
  margin: 0 0 6px;
  color: #334155;
  font-size: var(--fs-body-lg);
  line-height: 1.45;
  max-width: 42ch;
}

body.page-recipes-view_recipe #recipe-delete-modal .modal-actions {
  margin-top: 14px;
  gap: var(--space-3);
  justify-content: center;
}

body.page-recipes-view_recipe #recipe-delete-modal .modal-actions > .button,
body.page-recipes-view_recipe #recipe-delete-modal .modal-actions > form > .button {
  min-height: 2.25rem;
  min-width: 110px;
  padding: 0 16px;
  border-radius: 999px !important;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  font-weight: 700;
}

body.page-recipes-view_recipe #recipe-delete-modal #recipe-delete-cancel {
  background: transparent;
  color: #0f2745;
  border: 1px solid transparent;
  box-shadow: none;
}

body.page-recipes-view_recipe #recipe-delete-modal #recipe-delete-cancel:hover,
body.page-recipes-view_recipe #recipe-delete-modal #recipe-delete-cancel:focus-visible {
  background: #e8f2fd;
  border-color: #2a89e8;
  color: #0f2745;
}

body.page-recipes-view_recipe #recipe-delete-modal #recipe-delete-form .button {
  background: #c2413b;
  border: 1px solid transparent;
  color: #ffffff;
  box-shadow: 0 10px 18px rgba(194, 65, 59, 0.25);
}

body.page-recipes-view_recipe #recipe-delete-modal #recipe-delete-form .button:hover,
body.page-recipes-view_recipe #recipe-delete-modal #recipe-delete-form .button:focus-visible {
  background: #a83430;
  color: #ffffff;
}

body.page-phone.page-recipes-view_recipe #recipe-delete-modal .modal-actions {
  justify-content: flex-end;
}

@media (max-width: 420px) {
  body.page-phone.page-recipes-view_recipe #recipe-delete-modal .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  body.page-phone.page-recipes-view_recipe #recipe-delete-modal .modal-actions > .button,
  body.page-phone.page-recipes-view_recipe #recipe-delete-modal .modal-actions > form,
  body.page-phone.page-recipes-view_recipe #recipe-delete-modal .modal-actions > form > .button {
    width: 100%;
  }
}

body.page-recipes-list_recipes .recipe-card {
  position: relative;
}

body.page-recipes-list_recipes .favorite-card-marker {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

body.page-recipes-list_recipes .public-recipe-card .favorite-card-marker {
  left: auto;
  right: 10px;
}

body.page-index .recipe-card {
  position: relative;
}

body.page-index .favorite-card-marker {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

body.page-recipes-list_recipes .favorite-card-marker img,
body.page-meal_plans-view_meal_plans .recipe-pool-item .favorite-card-marker img,
body.page-chef_groups-view_group .my-recipes-section .recipe-pool-item .favorite-card-marker img,
body.page-recipes-new_recipe_book .recipe-book-recipe-item.recipe-pool-item .favorite-card-marker img,
body.page-recipes-edit_recipe_book .recipe-book-recipe-item.recipe-pool-item .favorite-card-marker img {
  width: 18px;
  height: 18px;
  display: block;
}

body.page-index .favorite-card-marker img {
  width: 16px;
  height: 16px;
  display: block;
}

body.page-index .favorite-card-marker .favorite-card-count {
  color: var(--muted);
}
.modal-content label {
  align-items: start;
}
.event-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  align-content: start;
  height: 100%;
}

.event-form-row {
  display: grid;
  gap: 8px;
}

.event-form-wide {
  grid-column: 1 / -1;
}

.event-form-actions {
  grid-column: 1 / -1;
  margin-top: 0;
  align-self: end;
}

#event-description {
  resize: none;
}

body.page-recipes-edit_recipe button.button[type="submit"]:not(.outline):not(.danger),
body.page-recipes-edit_recipe .form-grid > button.button[type="button"]:not(.outline):not(.danger),
body.page-recipes-new_recipe button.button[type="submit"]:not(.outline):not(.danger),
body.page-recipes-new_recipe .form-grid > button.button[type="button"]:not(.outline):not(.danger) {
  width: 4in;
  max-width: 100%;
  display: flex;
  margin: 0 auto;
  position: relative;
}

body.page-recipes-edit_recipe #ingredient-root .form-grid::after,
body.page-recipes-edit_recipe #step-root .form-grid::after,
body.page-recipes-edit_recipe #link-root .form-grid::after,
body.page-recipes-new_recipe #ingredient-root .form-grid::after,
body.page-recipes-new_recipe #step-root .form-grid::after,
body.page-recipes-new_recipe #link-root .form-grid::after {
  content: "";
  display: block;
  border-bottom: 3px solid #c9c9c9;
  margin: 8px 8px 0;
}

body.page-recipes-edit_recipe .form-grid button.button.outline.small,
body.page-recipes-new_recipe .form-grid button.button.outline.small {
  width: 2in;
  max-width: 100%;
}

body.page-recipes-edit_recipe #link-root .form-grid .row,
body.page-recipes-new_recipe #link-root .form-grid .row {
  grid-template-columns: 10in 4in 2in;
  justify-content: start;
}

body.page-recipes-edit_recipe #link-root input[name="external_note"],
body.page-recipes-new_recipe #link-root input[name="external_note"] {
  width: 100%;
  justify-self: start;
}

body.page-recipes-edit_recipe #link-root .form-grid .row button.button.outline.small,
body.page-recipes-new_recipe #link-root .form-grid .row button.button.outline.small {
  justify-self: start;
}

@media (max-width: 720px) {
  body.page-recipes-edit_recipe .content-container > form.form,
  body.page-recipes-new_recipe .content-container > form.form {
    padding: 14px;
    gap: 12px;
  }

  body.page-recipes-edit_recipe .page-header,
  body.page-recipes-new_recipe .page-header {
    padding-inline: 2px;
  }

  body.page-recipes-edit_recipe .short-field input,
  body.page-recipes-edit_recipe .short-field select,
  body.page-recipes-new_recipe .short-field input,
  body.page-recipes-new_recipe .short-field select {
    width: 100%;
  }

  body.page-recipes-edit_recipe .photo-input-row,
  body.page-recipes-new_recipe .photo-input-row {
    width: 100%;
  }

  body.page-recipes-edit_recipe .photo-input-row .button,
  body.page-recipes-new_recipe .photo-input-row .button {
    width: 100%;
    justify-content: center;
  }

  body.page-recipes-edit_recipe .recipe-photo-actions .button,
  body.page-recipes-new_recipe .recipe-photo-actions .button {
    width: 100%;
  }

  body.page-recipes-edit_recipe .recipe-edit-photo img,
  body.page-recipes-new_recipe .recipe-edit-photo img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
  }

  body.page-recipes-edit_recipe #ingredient-root .form-grid,
  body.page-recipes-edit_recipe #step-root .form-grid,
  body.page-recipes-edit_recipe #link-root .form-grid,
  body.page-recipes-new_recipe #ingredient-root .form-grid,
  body.page-recipes-new_recipe #step-root .form-grid,
  body.page-recipes-new_recipe #link-root .form-grid {
    gap: 10px;
  }

  body.page-recipes-edit_recipe #ingredient-root .form-grid .form-grid-head,
  body.page-recipes-edit_recipe #step-root .form-grid .form-grid-head,
  body.page-recipes-new_recipe #ingredient-root .form-grid .form-grid-head,
  body.page-recipes-new_recipe #step-root .form-grid .form-grid-head {
    display: none;
  }

  body.page-recipes-edit_recipe .form-grid .row,
  body.page-recipes-new_recipe .form-grid .row {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #ffffff;
  }

  body.page-recipes-edit_recipe #link-root .form-grid .row,
  body.page-recipes-new_recipe #link-root .form-grid .row {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  body.page-recipes-edit_recipe .form-grid .row button.button.outline.small,
  body.page-recipes-new_recipe .form-grid .row button.button.outline.small {
    width: 100%;
    justify-self: stretch;
  }

  body.page-recipes-edit_recipe #link-root input[name="external_note"],
  body.page-recipes-new_recipe #link-root input[name="external_note"] {
    width: 100%;
  }

  body.page-recipes-edit_recipe #ingredient-root .form-grid > button.button[type="button"]:not(.outline):not(.danger),
  body.page-recipes-edit_recipe #step-root .form-grid > button.button[type="button"]:not(.outline):not(.danger),
  body.page-recipes-new_recipe #ingredient-root .form-grid > button.button[type="button"]:not(.outline):not(.danger),
  body.page-recipes-new_recipe #step-root .form-grid > button.button[type="button"]:not(.outline):not(.danger),
  body.page-recipes-edit_recipe button.button[type="submit"]:not(.outline):not(.danger),
  body.page-recipes-new_recipe button.button[type="submit"]:not(.outline):not(.danger) {
    width: 100%;
    margin: 0;
  }

  body.page-recipes-edit_recipe #ingredient-root .form-grid::after,
  body.page-recipes-edit_recipe #step-root .form-grid::after,
  body.page-recipes-edit_recipe #link-root .form-grid::after,
  body.page-recipes-new_recipe #ingredient-root .form-grid::after,
  body.page-recipes-new_recipe #step-root .form-grid::after,
  body.page-recipes-new_recipe #link-root .form-grid::after {
    margin-inline: 0;
  }

  body.page-recipes-edit_recipe #camera-modal .modal-content,
  body.page-recipes-edit_recipe #screen-capture-modal .modal-content,
  body.page-recipes-new_recipe #camera-modal .modal-content,
  body.page-recipes-new_recipe #screen-capture-modal .modal-content {
    width: min(96vw, 96vw);
    max-height: 86vh !important;
    height: auto;
    padding: 14px;
    overflow: auto;
  }

  body.page-recipes-edit_recipe #camera-modal .modal-actions .button,
  body.page-recipes-edit_recipe #screen-capture-modal .modal-actions .button,
  body.page-recipes-new_recipe #camera-modal .modal-actions .button,
  body.page-recipes-new_recipe #screen-capture-modal .modal-actions .button {
    flex: 1 1 100%;
  }
}
body.page-recipes-new_recipe_book .title-color-row,
body.page-recipes-edit_recipe_book .title-color-row {
  display: grid;
  gap: 8px;
  min-width: 260px;
  margin-bottom: 0;
  flex: 1 1 auto;
  align-items: start;
}

body.page-recipes-new_recipe_book .title-color-control,
body.page-recipes-edit_recipe_book .title-color-control {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 2px;
}

body.page-recipes-new_recipe_book .title-color-control input[type="text"],
body.page-recipes-edit_recipe_book .title-color-control input[type="text"] {
  width: 110px;
  flex: 0 0 auto;
}

body.page-recipes-new_recipe_book .title-color-wheel-rail,
body.page-recipes-edit_recipe_book .title-color-wheel-rail {
  align-items: center;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

body.page-recipes-new_recipe_book .title-color-arrow,
body.page-recipes-edit_recipe_book .title-color-arrow {
  width: 34px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fdfefe;
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  padding: 0;
}

body.page-recipes-new_recipe_book .title-color-wheel-cell,
body.page-recipes-edit_recipe_book .title-color-wheel-cell {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.85);
  display: inline-block;
}

body.page-recipes-new_recipe_book .title-color-name,
body.page-recipes-edit_recipe_book .title-color-name {
  min-width: 72px;
  color: var(--muted);
}

.recipe-book-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

.recipe-book-title-row .recipe-book-title-field {
  flex: 2 1 0;
  width: 75%;
  max-width: 75%;
  min-width: 75%;
}

.recipe-book-title-row .recipe-book-title-field input[type="text"] {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}

.recipe-book-title-row .recipe-book-title-placement-field {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.recipe-book-title-row .recipe-book-title-placement-field span {
  font-size: 0.92rem;
  color: var(--muted);
}

.recipe-book-title-row .recipe-book-title-placement-field select {
  width: 100%;
}

.recipe-book-title-row .title-color-row {
  margin-left: auto;
  transform: translateX(30px);
}

/* Discover-style horizontal carousel (home + recipes) */
.discover-carousel-section {
  --discover-gap: clamp(14px, 1.8vw, 22px);
  --discover-visible-cards: 3.4;
  --discover-edge-bg: #ffffff;
  --discover-arrow-size: 44px;
  width: 100%;
}

body.page-index .discover-carousel-section {
  --discover-edge-bg: #ececec;
}

body.page-recipes-list_recipes .discover-carousel-section {
  --discover-edge-bg: #ffffff;
}

.discover-carousel-head {
  display: grid;
  gap: 6px;
  margin-bottom: var(--space-3);
}

.discover-carousel-head h1,
.discover-carousel-head h2 {
  margin: 0;
}

.discover-carousel-head h3 {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
}

.discover-carousel-head p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: normal;
}

.discover-carousel-wrap {
  position: relative;
}

.discover-carousel-viewport {
  list-style: none;
  margin: 0;
  padding: 4px clamp(26px, 3.2vw, 56px) 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - ((var(--discover-visible-cards) - 1) * var(--discover-gap))) / var(--discover-visible-cards));
  gap: var(--discover-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.page-index .discover-carousel-viewport {
  padding-left: clamp(42px, 5vw, 88px);
}

.discover-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.discover-carousel-item {
  scroll-snap-align: start;
}

.discover-carousel-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  height: 100%;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.discover-carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.15);
}

.discover-carousel-media {
  display: grid;
  place-items: center;
  height: 240px;
  background: #f2f4f7;
  color: #667085;
  text-decoration: none;
  overflow: hidden;
}

.discover-carousel-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.discover-carousel-media-placeholder {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.discover-carousel-copy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
  flex: 1 1 auto;
}

.discover-carousel-badge {
  align-self: flex-start;
  background: #e8f2fd;
  color: #0f5fa7;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
}

.discover-carousel-copy h4 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 700;
}

.discover-carousel-copy p {
  margin: 0;
  color: #475569;
  line-height: 1.45;
  font-size: 0.94rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.discover-carousel-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #475569;
  font-size: 0.84rem;
  font-weight: 600;
}

.discover-carousel-cta {
  align-self: flex-start;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f5fa7;
}

.discover-carousel-cta:hover {
  color: #1473cc;
}

.discover-carousel-control {
  width: var(--discover-arrow-size);
  height: var(--discover-arrow-size);
  border-radius: 50%;
  border: 1px solid #d6deea;
  background: #ffffff;
  color: #0f2d5c;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.discover-carousel-control.is-left {
  left: -8px;
}

.discover-carousel-control.is-right {
  right: -8px;
}

.discover-carousel-control:hover:not(:disabled) {
  background: #0f5fa7;
  border-color: #0f5fa7;
  color: #ffffff;
}

.discover-carousel-control:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.discover-carousel-control:focus-visible,
.discover-carousel-viewport:focus-visible {
  outline: 3px solid #1473cc;
  outline-offset: 2px;
}

.discover-carousel-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(22px, 4vw, 56px);
  pointer-events: none;
  z-index: 2;
}

.discover-carousel-fade.is-left {
  left: 0;
  background: linear-gradient(to right, var(--discover-edge-bg) 0%, rgba(255, 255, 255, 0) 92%);
}

.discover-carousel-fade.is-right {
  right: 0;
  background: linear-gradient(to left, var(--discover-edge-bg) 0%, rgba(255, 255, 255, 0) 92%);
}

.discover-carousel-empty {
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 22px;
  color: var(--muted);
  background: #ffffff;
}

.discover-carousel-dots {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

.discover-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #cbd5e1;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.discover-carousel-dot:hover {
  transform: scale(1.15);
}

.discover-carousel-dot.is-active {
  width: 22px;
  background: #1473cc;
}

body.page-recipes-list_recipes .recipes-discover-strip {
  margin-top: -4px;
}

@media (max-width: 1100px) {
  .discover-carousel-section {
    --discover-visible-cards: 2.4;
  }
}

@media (max-width: 780px) {
  .discover-carousel-section {
    --discover-visible-cards: 1.2;
  }

  .discover-carousel-card {
    min-height: 430px;
  }

  .discover-carousel-media {
    height: 210px;
  }

  .discover-carousel-control {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .discover-carousel-control.is-left {
    left: -4px;
  }

  .discover-carousel-control.is-right {
    right: -4px;
  }
}

/* Home page section-based layout refresh */
body.page-index .home-culinary-showcase-frame {
  margin: 0;
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  background: #ECECEC;
  border-radius: 0;
  padding: 0 clamp(12px, 1.7vw, 22px);
}

body.page-index .home-culinary-showcase-frame + .home-culinary-showcase-frame {
  margin-top: 0;
  padding-top: 0;
}

body.page-index .home-culinary-shell {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body.page-index .home-culinary-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding: 10px 18px;
  background: #454545;
  color: #f0f0f0;
  font-size: 0.88rem;
}

body.page-index .home-culinary-contact,
body.page-index .home-culinary-social {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

body.page-index .home-culinary-social span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 700;
}

body.page-index .home-culinary-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-4);
  padding: 18px 22px;
  background: #f7f6f2;
  border-bottom: 1px solid #e6e1d8;
}

body.page-index .home-culinary-brand {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #3b3b3b;
}

body.page-index .home-culinary-links {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 30px);
  flex-wrap: wrap;
}

body.page-index .home-culinary-links a {
  color: #333333;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 999px;
}

body.page-index .home-culinary-links a.active,
body.page-index .home-culinary-links a:hover {
  background: #d9dccf;
}

body.page-index .home-culinary-book {
  text-decoration: none;
  border: 1px solid #2f2f2f;
  border-radius: 999px;
  color: #2f2f2f;
  font-weight: 600;
  padding: 9px 18px;
  background: #ffffff;
}

body.page-index .home-culinary-hero {
  min-height: clamp(270px, 34.5vw, 525px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
    url("https://images.unsplash.com/photo-1498837167922-ddd27525d352?auto=format&fit=crop&w=1900&q=80");
  background-size: cover;
  background-position: 65% center;
  display: grid;
  place-items: center;
  padding: clamp(22px, 3vw, 48px);
}

body.page-index .home-culinary-showcase-frame .home-culinary-hero {
  min-height: clamp(315px, 31.5vw, 480px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame2-hero-bg.png");
  background-size: cover;
  background-position: center;
  align-items: center;
  justify-items: center;
}

body.page-index .home-culinary-showcase-favorite-recipes .home-culinary-hero {
  background-image: none;
  background: #ffffff;
}

body.page-index .home-culinary-showcase-favorite-recipes,
body.page-index .home-culinary-showcase-frame-3,
body.page-index .home-culinary-showcase-frame-4 {
  background: #ffffff;
}

body.page-index .home-culinary-showcase-frame-3 .home-culinary-hero,
body.page-index .home-culinary-showcase-frame-4 .home-culinary-hero {
  background-image: none;
  background: #ffffff;
  min-height: auto;
  display: block;
}

body.page-index .home-frame-content {
  padding: clamp(26px, 3vw, 42px);
  text-align: left;
}

body.page-index .home-culinary-showcase-frame-3 .home-frame-content {
  padding: clamp(18px, 2.4vw, 36px);
}

body.page-index .home-frame-content h2 {
  margin: 0;
}

body.page-index .home-frame-marketing-links {
  margin-top: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
  text-align: left;
}

body.page-index .home-frame-marketing-links li {
  background: #ffffff;
  border: 1px solid #d8e2ef;
  border-radius: 16px;
  padding: var(--space-4);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid #d8e2ef;
  gap: 8px;
  text-align: left;
  justify-items: start;
  align-content: start;
}

body.page-index .home-frame-marketing-links a,
body.page-index .home-frame-marketing-links .marketing-rail-description,
body.page-index .home-frame-marketing-links .marketing-rail-affiliate {
  text-align: left;
}

body.page-index .home-frame-marketing-links .marketing-rail-image-link {
  width: 100%;
  margin: 0;
}

body.page-index .home-frame-marketing-links .marketing-rail-image-link img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

body.page-index .home-frame-content-compact {
  max-width: 90ch;
}

body.page-index .home-frame-steps {
  margin: var(--space-4) 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 8px;
  color: #334155;
}

body.page-index .home-culinary-showcase-frame {
  margin: 0;
  margin-top: 0;
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  background: #ececec;
  border-radius: 0;
  padding: 0 clamp(12px, 1.7vw, 22px);
}

@media (min-width: 721px) {
  body.page-index .content-container > .home-culinary-showcase-frame:first-child {
    margin-top: -64px;
  }
}

body.page-index .home-culinary-showcase-frame .home-culinary-shell {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body.page-index .home-culinary-showcase-frame .home-culinary-hero {
  min-height: clamp(360px, 44vw, 680px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame2-hero-bg.png");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  padding: clamp(22px, 3vw, 48px);
}

body.page-index .home-culinary-showcase-frame .home-culinary-overlay {
  justify-self: start;
  align-self: center;
  margin: 0;
  text-align: left;
  max-width: 860px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 45, 66, 0.2);
  border-radius: 16px;
  padding: clamp(18px, 2.4vw, 36px);
  box-shadow: 0 16px 30px rgba(20, 35, 52, 0.18);
}

body.page-index .home-culinary-showcase-frame .home-culinary-actions .button {
  min-width: 170px;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

@media (max-width: 980px) {
  body.page-index .home-frame-marketing-links {
    grid-template-columns: 1fr;
  }
}

body.page-index .home-culinary-overlay {
  justify-self: start;
  align-self: center;
  margin: 0;
  text-align: left;
  max-width: min(860px, 100%);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(28, 45, 66, 0.2);
  border-radius: 16px;
  padding: clamp(18px, 2.4vw, 36px);
  box-shadow: 0 16px 30px rgba(20, 35, 52, 0.18);
}

body.page-index .home-culinary-kicker {
  color: #1473CC;
}

body.page-index .home-culinary-showcase-frame .home-culinary-kicker {
  color: #1473CC;
}

body.page-index .home-culinary-overlay h2 {
  margin: 0 0 6px;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1f2933;
  font-weight: 400;
}

body.page-index .home-culinary-overlay h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6.8vw, 5.4rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #1f2933;
}

body.page-index .home-culinary-showcase-frame:first-of-type .home-culinary-overlay h1 {
  font-size: clamp(1.85rem, 5.1vw, 4rem);
}

body.page-index .home-culinary-showcase-frame .home-culinary-overlay h1 {
  font-size: clamp(1.85rem, 5.1vw, 4rem);
  font-family: "Quattrocento", "Times New Roman", serif;
  text-transform: uppercase;
}

body.page-index .home-culinary-overlay p {
  margin: var(--space-4) 0 0;
  max-width: 56ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #334155;
}

body.page-index .home-culinary-benefits {
  margin: var(--space-4) 0 0;
  padding-left: 1.1rem;
  max-width: 62ch;
  display: grid;
  gap: 8px;
  color: #334155;
}

body.page-index .home-culinary-showcase-frame .home-culinary-overlay p {
  max-width: 90ch;
}

body.page-index .home-culinary-showcase-frame .home-culinary-benefits {
  max-width: 90ch;
}

body.page-index .home-hero-benefits {
  margin: 12px 0 0;
  padding-left: 1.05rem;
  display: grid;
  gap: 4px;
  max-width: 72ch;
  color: #334155;
  font-size: 1.08rem;
  line-height: 1.55;
}

body.page-index .home-hero-benefits strong {
  color: #1f2933;
}

body.page-index .home-culinary-benefits li {
  line-height: 1.45;
}

body.page-index .home-culinary-benefits strong {
  color: #1f2933;
}

body.page-index .home-culinary-actions {
  margin-top: var(--space-5);
  display: flex;
  justify-content: flex-start;
  gap: var(--space-3);
  flex-wrap: wrap;
}

body.page-index .home-culinary-actions .button {
  min-width: 170px;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

@media (max-width: 980px) {
  body.page-index .home-culinary-nav {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: var(--space-3);
  }

  body.page-index .home-culinary-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  body.page-index .home-culinary-links {
    gap: 8px;
  }
}

body.page-index .home-sections-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
  align-items: start;
  margin-top: 0;
}

body.page-index .home-sections-grid {
  min-width: 0;
  min-height: auto;
}

body.page-index .home-sections-main {
  display: grid;
  gap: var(--space-4);
}

body.page-index .home-section {
  margin: 0;
}

body.page-index .home-section-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.85fr 1.2fr;
  gap: 2px;
  align-items: start;
  padding: clamp(20px, 2.2vw, 34px);
  border: 1px solid #d7e1ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 22px 36px rgba(15, 34, 62, 0.12);
}

body.page-index .home-section-hero::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -110px;
  top: -110px;
  border-radius: 50%;
  background: transparent;
  pointer-events: none;
}

body.page-index .home-section-kicker {
  margin: 0 0 var(--space-2);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #1473CC;
}

body.page-index .home-section-hero-copy .home-hero-description {
  margin-bottom: var(--space-4);
  max-width: 60ch;
}

body.page-index .home-section-hero-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  padding: 0;
}

body.page-index .home-section-hero-copy h1 {
  margin: 0 0 var(--space-3);
  font-size: clamp(2.3rem, 5.4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: none;
}

body.page-index .home-section-hero-points {
  position: relative;
  z-index: 1;
  width: calc(100% + 18px);
  margin-left: -22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(14px, 1.6vw, 22px);
  box-shadow: 0 10px 20px rgba(22, 46, 74, 0.08);
}

body.page-index .home-section-hero-points h2 {
  margin-bottom: var(--space-2);
  font-size: 1.2rem;
  font-weight: 700;
}

body.page-index .home-section-hero-points .home-hero-description-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.98rem;
  display: grid;
  gap: 8px;
}

body.page-index .home-section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
}

body.page-index .home-section-heading-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

body.page-index .home-section-preview .home-carousel-card {
  margin: 0;
  background: #ffffff;
}

body.page-index .home-section-hero .hero-actions {
  gap: 10px;
  margin-top: var(--space-4);
}

body.page-index .home-section-hero .hero-actions .button {
  min-height: 46px;
}

body.page-index .home-support-banner {
  border-bottom: 1px solid var(--border);
}

body.page-index .home-support-actions {
  margin-top: var(--space-3);
  display: flex;
  justify-content: flex-start;
}

body.page-index .home-support-actions .home-donation-button {
  width: auto;
  min-width: 168px;
}

body.page-index .home-section-rail {
  grid-column: 1 / -1;
  width: auto;
  min-width: 0;
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

body.page-index .home-section-rail .home-marketing-rail {
  width: auto;
  min-width: 0;
  height: auto;
  max-height: none;
  overflow: visible;
}

body.page-index .home-section-rail .home-marketing-rail h3 {
  margin: 0;
}

body.page-index .home-body-section,
body.page-index .home-body-section-1,
body.page-index .home-subfooter-persistent {
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  margin-top: var(--space-5);
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(20px, 2.6vw, 34px) var(--space-6);
}

body.page-index .home-body-section + .home-body-section {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

body.page-index .home-culinary-showcase-frame + .home-body-section-1 {
  margin-top: 0;
}

body.page-index .home-body-section-1 {
  background: #ffffff;
}

body.page-index .home-body-section-1 {
  background: #ffffff;
  padding-top: clamp(17px, 2vw, 29px);
  padding-bottom: 1rem;
}

body.page-index .home-body-section-1 .discover-carousel-section {
  --discover-edge-bg: #ffffff;
  --discover-visible-cards: 3.7;
  margin-bottom: 0;
}

body.page-index .home-body-section-1 .kitchen-favorites-carousel .discover-carousel-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
}

body.page-index .home-body-section-1 .kitchen-favorites-carousel .discover-carousel-media {
  width: 100%;
  height: 172px;
  min-height: 172px;
  border-right: 1px solid var(--border);
}

body.page-index .home-body-section-1 .kitchen-favorites-carousel .discover-carousel-copy {
  gap: 8px;
  justify-content: center;
}

body.page-index .home-body-section-1 .kitchen-favorites-carousel .discover-carousel-copy h4 {
  font-size: 1rem;
}

body.page-index .home-body-section-1 .kitchen-favorites-carousel .discover-carousel-copy p {
  -webkit-line-clamp: 4;
}

@media (max-width: 1280px) {
  body.page-index .home-body-section-1 .discover-carousel-section {
    --discover-visible-cards: 2.7;
  }
}

@media (max-width: 1100px) {
  body.page-index .home-body-section-1 .discover-carousel-section {
    --discover-visible-cards: 2.2;
  }
}

@media (max-width: 980px) {
  body.page-index .home-body-section-1 .discover-carousel-section {
    --discover-visible-cards: 1.8;
  }

  body.page-index .home-body-section-1 .kitchen-favorites-carousel .discover-carousel-card {
    grid-template-columns: 1fr;
    min-height: 263px;
  }

  body.page-index .home-body-section-1 .kitchen-favorites-carousel .discover-carousel-media {
    min-height: 128px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}

body.page-index .home-subfooter-persistent {
  background: #ffffff;
  padding-top: clamp(12px, 1.6vw, 20px);
  padding-bottom: clamp(14px, 1.8vw, 22px);
}

body.page-index .home-subfooter-persistent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 19;
  width: 100%;
  margin: 0;
  border-top: 1px solid var(--border);
  border-bottom: 0;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  background: #F6F8FB;
  padding: clamp(6px, 0.9vw, 10px) var(--space-6) clamp(16px, 1.5vw, 20px);
}

body.page-index .home-subfooter-persistent .home-body-section-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
}

body.page-index .home-subfooter-persistent h3 {
  margin: 0;
  white-space: nowrap;
  color: #1473CC;
  font-weight: 700;
  font-size: 1rem;
}

body.page-index .home-subfooter-persistent p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

body.page-index .home-subfooter-persistent .home-body-section-actions {
  margin: 0;
  white-space: nowrap;
}

body.page-index .home-subfooter-persistent .button {
  min-height: 34px;
  padding: 7px 14px;
  line-height: 1.1;
}

@media (max-width: 980px) {
  body.page-index .home-subfooter-persistent .home-body-section-inner {
    grid-template-columns: auto minmax(0, 1fr);
    row-gap: 6px;
  }

  body.page-index .home-subfooter-persistent .home-body-section-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    white-space: normal;
  }

  body.page-index .home-subfooter-persistent h3 {
    white-space: normal;
  }
}

@media (max-width: 820px) {
  body.page-index .home-subfooter-persistent .home-body-section-inner {
    grid-template-columns: 1fr;
  }
}

body.page-index .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  min-width: 0;
  text-align: left;
}

body.page-index .home-body-section h1,
body.page-index .home-body-section h2,
body.page-index .home-body-section-1 h1,
body.page-index .home-body-section-1 h2,
body.page-index .home-subfooter-persistent h1,
body.page-index .home-subfooter-persistent h2 {
  margin: 0;
}

body.page-index .home-body-section p,
body.page-index .home-body-section-1 p,
body.page-index .home-subfooter-persistent p {
  margin: 10px 0 0;
  color: #334155;
  text-align: left;
}

body.page-index .home-body-section h3,
body.page-index .home-body-section-1 h3,
body.page-index .home-subfooter-persistent h3 {
  margin-top: var(--space-4);
}

body.page-index .home-body-section-actions {
  margin-top: var(--space-4);
  display: flex;
  justify-content: flex-start;
}

body.page-index .home-body-section .marketing-rail-links,
body.page-index .home-body-section-1 .marketing-rail-links,
body.page-index .home-subfooter-persistent .marketing-rail-links {
  justify-items: start;
}

body.page-index .home-body-section .marketing-rail-links li,
body.page-index .home-body-section-1 .marketing-rail-links li,
body.page-index .home-subfooter-persistent .marketing-rail-links li {
  justify-items: start;
  text-align: left;
}

body.page-index .home-intro-benefits {
  padding-top: clamp(8px, 1.1vw, 16px);
  padding-bottom: clamp(14px, 2vw, 28px);
}

body.page-index .home-intro-benefits .home-body-section-inner {
  text-align: left;
}

body.page-index .home-intro-benefits .home-culinary-kicker,
body.page-index .home-intro-benefits h1 {
  text-align: left;
}

body.page-index .home-tool-facts {
  margin-top: clamp(12px, 1.6vw, 22px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 84px);
  align-items: start;
}

body.page-index .home-tool-fact {
  position: relative;
  min-width: 0;
  min-height: 210px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 14px 26px rgba(15, 95, 167, 0.12);
}

body.page-index .home-tool-fact-media {
  position: absolute;
  inset: 0;
  background-color: #b9d8fa;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.82;
}

body.page-index .home-tool-fact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.84) 100%),
    rgba(15, 95, 167, 0.18);
}

body.page-index .home-tool-fact-copy {
  position: relative;
  z-index: 2;
  padding: clamp(18px, 2.4vw, 28px);
  transform: translateY(-8px);
}

body.page-index .home-tool-fact-media.is-cookbooks {
  background-image: url("/static/images/frame-cookbooks-bg.png");
}

body.page-index .home-tool-fact-media.is-calendar {
  background-image: url("/static/images/frame-chefgroups-bg.png");
}

body.page-index .home-tool-fact-media.is-planning {
  background-image: url("/static/images/frame-calendar-bg.png");
}

body.page-index .home-tool-fact h2 {
  margin: 0 0 10px;
  font-size: clamp(1.12rem, 1.65vw, 1.36rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.55);
}

body.page-index .home-tool-fact p {
  max-width: 32ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  line-height: 1.55;
  text-align: center;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.55);
}

body.page-index .home-body-section .discover-carousel-wrap,
body.page-index .home-body-section .discover-carousel-section,
body.page-index .home-body-section .discover-carousel-viewport {
  min-width: 0;
}

body.page-index .home-body-section .discover-carousel-control.is-left {
  left: 4px;
}

body.page-index .home-body-section .discover-carousel-control.is-right {
  right: 4px;
}

@media (min-width: 1201px) {
  body.page-index .home-sections-grid {
    min-height: auto;
  }

  body.page-index .home-sections-main {
    min-height: auto;
  }
}

@media (max-width: 980px) {
  body.page-index .home-section-hero {
    grid-template-columns: 1fr;
  }

  body.page-index .home-section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }

  body.page-index .home-tool-facts {
    gap: clamp(18px, 4vw, 36px);
  }
}

@media (max-width: 720px) {
  body.page-index .content-container {
    padding-top: 0;
    padding-bottom: clamp(118px, 20vh, 170px);
    margin-top: 0;
  }

  body.page-index .home-culinary-showcase-frame,
  body.page-index .home-body-section {
    width: calc(100% + (var(--space-4) * 2));
    margin-left: calc(var(--space-4) * -1);
    margin-right: calc(var(--space-4) * -1);
  }

  body.page-index .home-body-section {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  body.page-index .home-culinary-actions .button {
    min-width: min(170px, 100%);
  }

  body.page-index .home-tool-facts {
    grid-template-columns: 1fr;
  }

  body.page-index .home-tool-fact {
    min-height: 230px;
  }

  body.page-index .home-subfooter-persistent {
    bottom: 68px;
    padding: 7px var(--space-4) 16px;
  }

  body.page-index .home-subfooter-persistent .home-body-section-inner {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
}

/* Recipes page aligned to Home page section style standard */
body.page-recipes-list_recipes {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #ffffff;
  --ink: #1f2933;
  --muted: #475569;
  --border: #e2e8f0;
  --accent: #1473cc;
  --accent-strong: #0f5fa7;
  --accent-soft: #e8f2fd;
  font-family: "Roboto", "Segoe UI", sans-serif;
}

body.page-recipes-list_recipes h1,
body.page-recipes-list_recipes h2,
body.page-recipes-list_recipes h3,
body.page-recipes-list_recipes h4,
body.page-recipes-list_recipes h5,
body.page-recipes-list_recipes h6 {
  font-family: "Roboto", "Segoe UI", sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

body.page-recipes-list_recipes h1 {
  font-size: 1.75rem;
  font-weight: 550;
}

body.page-recipes-list_recipes .content-container {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  gap: 0;
}

body.page-recipes-list_recipes .top-tabs {
  display: none;
}

body.page-recipes-view_recipe .top-tabs {
  display: none;
}

body.page-recipes-view_recipe .content-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.page-recipes-list_recipes .home-body-section,
body.page-recipes-list_recipes .recipes-toggles,
body.page-recipes-list_recipes .recipes-body-section-myrecipes,
body.page-recipes-list_recipes .recipes-body-section-community,
body.page-recipes-list_recipes .recipes-body-kitchen {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: clamp(10px, 1.3vw, 17px) var(--space-6);
  background: #ffffff;
}

body.page-recipes-list_recipes .home-body-section + .home-body-section,
body.page-recipes-list_recipes .recipes-toggles + .recipes-body-section-myrecipes,
body.page-recipes-list_recipes .recipes-body-section-myrecipes + .recipes-body-section-community,
body.page-recipes-list_recipes .recipes-body-section-community + .recipes-body-kitchen {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes,
body.page-recipes-list_recipes .recipes-body-section-community,
body.page-recipes-list_recipes .recipes-body-kitchen {
  padding-top: clamp(14px, 1.6vw, 22px);
}

body.page-recipes-list_recipes .recipes-toggles + .recipes-body-section-myrecipes,
body.page-recipes-list_recipes .recipes-body-section-myrecipes + .recipes-body-section-community,
body.page-recipes-list_recipes .recipes-body-section-community + .recipes-body-kitchen {
  padding-top: clamp(14px, 1.6vw, 22px);
}

body.page-recipes-list_recipes .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  text-align: left;
}

body.page-recipes-list_recipes .home-body-section p,
body.page-recipes-list_recipes .recipes-toggles p,
body.page-recipes-list_recipes .recipes-body-section-myrecipes p,
body.page-recipes-list_recipes .recipes-body-section-community p,
body.page-recipes-list_recipes .recipes-body-kitchen p {
  margin: 10px 0 0;
  color: #334155;
  text-align: left;
}

body.page-recipes-view_recipe .recipedetails-body-section-ingredients {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: clamp(3px, 0.45vw, 5px) var(--space-6) clamp(20px, 2.6vw, 34px);
  background: #ffffff;
}

body.page-recipes-view_recipe .recipedetails-body-section-instructions,
body.page-recipes-view_recipe .recipedetails-body-section-links,
body.page-recipes-view_recipe .recipedetails-body-section-share {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: clamp(6px, 0.78vw, 10px) var(--space-6) clamp(20px, 2.6vw, 34px);
  background: #ffffff;
}

body.page-recipes-view_recipe .recipedetails-body-section-ingredients .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  text-align: left;
}

body.page-recipes-view_recipe .recipedetails-body-section-instructions .home-body-section-inner,
body.page-recipes-view_recipe .recipedetails-body-section-links .home-body-section-inner,
body.page-recipes-view_recipe .recipedetails-body-section-share .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  text-align: left;
}

body.page-recipes-view_recipe .recipedetails-body-section-ingredients .home-culinary-kicker {
  margin: 0 0 var(--space-6);
  padding: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1473CC !important;
  text-align: left;
}

body.page-recipes-view_recipe .recipedetails-body-section-ingredients .home-culinary-kicker + .recipe-detail {
  margin-top: var(--space-4);
}

body.page-recipes-view_recipe .recipedetails-body-section-ingredients h1 {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 1.75rem;
  font-style: normal;
  font-stretch: 100%;
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}

body.page-recipes-view_recipe .recipedetails-body-section-ingredients > .home-body-section-inner > p {
  margin: 10px 0 0;
  color: #334155;
  text-align: left;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-visibility-toggles {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-visibility-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f5fa7;
  font-weight: 600;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-view-group input[type="checkbox"] {
  accent-color: #1473cc;
}

body.page-recipes-list_recipes .recipes-toggles #toggle-public-recipes.is-fallback-default {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  border: 1px solid #b7791f;
  background: #b7791f;
  display: inline-block;
  margin: 0;
  cursor: pointer;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-view-group,
body.page-recipes-list_recipes .recipes-toggles .recipe-show-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-show-group {
  margin-left: auto;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-toggle-heading {
  color: #1f2933;
  font-weight: 700;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-control-separator {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  font-weight: 600;
  margin: 0 4px;
  user-select: none;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-search-control {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-search-control input[type="text"] {
  width: clamp(260px, 34vw, 460px);
  max-width: 100%;
  min-height: 40px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: #1f2933;
}

body.page-recipes-view_recipe .recipedetails-body-section-portions {
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  margin-top: 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(6px, 0.78vw, 10px) var(--space-6) clamp(20px, 2.6vw, 34px);
}

body.page-recipes-view_recipe .recipedetails-body-section-portions .home-body-section-inner {
  max-width: 1680px;
  margin: 0 auto;
  min-width: 0;
  text-align: left;
}

/* Recipe detail portions bar: keep "Portions:" and multiplier icons on one line */
body.page-recipes-view_recipe .recipedetails-body-section-portions .recipe-visibility-toggles {
  margin-top: 0;
  display: grid;
  gap: 10px;
  align-items: start;
}

body.page-recipes-view_recipe .recipedetails-body-section-portions .recipe-view-group {
  display: block;
}

body.page-recipes-view_recipe .recipedetails-body-section-portions .home-culinary-kicker {
  margin: 0;
  padding: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1473CC !important;
  text-align: left;
}

body.page-recipes-view_recipe .recipedetails-body-section-instructions .home-culinary-kicker,
body.page-recipes-view_recipe .recipedetails-body-section-links .home-culinary-kicker,
body.page-recipes-view_recipe .recipedetails-body-section-share .home-culinary-kicker {
  margin: 0;
  padding: 0;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1473CC !important;
  text-align: left;
}

body.page-recipes-view_recipe .recipedetails-body-section-portions .action-icons {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 8px;
}

body.page-recipes-view_recipe .recipedetails-body-section-portions .portion-toggle {
  min-height: 32px;
  height: 32px;
  min-width: 52px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1;
  box-shadow: none;
}

/* Recipe detail metadata pills aligned to style guide section 8 (Badges/Pills) */
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-side .meta {
  gap: 8px 10px;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-side .meta + .meta {
  margin-top: 6px;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-side .recipe-meta-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #e7f6fe;
  color: #0a6d95;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-side .recipe-meta-pill-success {
  background: #e9f8ef;
  color: #17643e;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-side .recipe-meta-pill-info {
  background: #e7f6fe;
  color: #0a6d95;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-search-control input[type="text"]::placeholder {
  color: #475569;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-search-control input[type="text"]:focus-visible {
  outline: 3px solid rgba(42, 137, 232, 0.35);
  outline-offset: 2px;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-filter-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f5fa7;
  font-weight: 600;
  margin-left: 0;
  line-height: 1;
}

body.page-recipes-list_recipes .recipes-toggles .recipe-tags-summary {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: 1;
}

body.page-meal_plans-view_meal_plans .recipes-toggles {
  margin: 0;
  border-bottom: 1px solid var(--border);
  padding: clamp(20px, 2.6vw, 34px) var(--space-6);
  background: #ffffff;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-visibility-toggles {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-visibility-toggles label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f5fa7;
  font-weight: 600;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-view-group {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-view-group input[type="checkbox"] {
  accent-color: #1473cc;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-toggle-heading {
  color: #1f2933;
  font-weight: 700;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-control-separator {
  display: inline-flex;
  align-items: center;
  color: #94a3b8;
  font-weight: 600;
  margin: 0 4px;
  user-select: none;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-search-control {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-search-control img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-search-control input[type="text"] {
  width: clamp(260px, 34vw, 460px);
  max-width: 100%;
  min-height: 40px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: #1f2933;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-search-control input[type="text"]::placeholder {
  color: #475569;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-search-control input[type="text"]:focus-visible {
  outline: 3px solid rgba(42, 137, 232, 0.35);
  outline-offset: 2px;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-filter-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f5fa7;
  font-weight: 600;
  line-height: 1;
  position: relative;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-filter-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-filter-dropdown > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-filter-dropdown > summary::-webkit-details-marker {
  display: none;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-tags-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  line-height: 1.2;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-tags-summary::after {
  content: "\25BE";
  color: #51657a;
  margin-left: 2px;
  font-size: 0.72rem;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-tags-summary::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1.6px solid #7c8b9a;
  border-radius: 2px;
  background: #ffffff;
  flex: 0 0 auto;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-filter-dropdown-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 320px;
  max-width: min(92vw, 390px);
  border: 1px solid #c6d2de;
  border-radius: 10px;
  background: #f1f4f7;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  padding: 14px 12px 12px;
  z-index: 110;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-filter-dropdown-panel .recipe-course-options {
  display: grid;
  gap: 10px;
  margin: 0;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-filter-dropdown-panel .recipe-course-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #18324f;
  font-size: 1rem;
  font-weight: 500;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-filter-dropdown-panel .recipe-course-options > label:first-child {
  min-height: 40px;
  border: 1px solid #bcc9d6;
  border-radius: 8px;
  background: #f8fafc;
  padding: 0 10px;
}

body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-filter-dropdown-panel input[type="checkbox"] {
  accent-color: #1473cc;
  width: 16px;
  height: 16px;
}

@media (max-width: 900px) {
  body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-search-control {
    width: 100%;
  }

  body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-search-control input[type="text"] {
    width: 100%;
    max-width: none;
  }

  body.page-meal_plans-view_meal_plans .recipes-toggles .recipe-filter-dropdown-panel {
    min-width: 260px;
  }
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame,
body.page-recipes-list_recipe_books .cookbook-culinary-showcase-frame,
body.page-meal_plans-view_meal_plans .cookbook-culinary-showcase-frame,
body.page-chef_groups-list_and_create .cookbook-culinary-showcase-frame,
body.page-chef_groups-view_group .cookbook-culinary-showcase-frame,
body.page-recipes-edit_recipe_book .bookedit-culinary-showcase-frame,
body.page-recipes-new_recipe_book .bookedit-culinary-showcase-frame,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame {
  margin: 0;
  width: calc(100% + (var(--space-6) * 2));
  margin-left: calc(var(--space-6) * -1);
  margin-right: calc(var(--space-6) * -1);
  background: #ececec;
  border-radius: 0;
  padding: 0 clamp(12px, 1.7vw, 22px);
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-shell,
body.page-recipes-list_recipe_books .cookbook-culinary-showcase-frame .home-culinary-shell,
body.page-meal_plans-view_meal_plans .cookbook-culinary-showcase-frame .home-culinary-shell,
body.page-chef_groups-list_and_create .cookbook-culinary-showcase-frame .home-culinary-shell,
body.page-chef_groups-view_group .cookbook-culinary-showcase-frame .home-culinary-shell,
body.page-recipes-edit_recipe_book .bookedit-culinary-showcase-frame .home-culinary-shell,
body.page-recipes-new_recipe_book .bookedit-culinary-showcase-frame .home-culinary-shell,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-shell {
  background: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-hero,
body.page-recipes-list_recipe_books .cookbook-culinary-showcase-frame .home-culinary-hero,
body.page-meal_plans-view_meal_plans .cookbook-culinary-showcase-frame .home-culinary-hero,
body.page-chef_groups-list_and_create .cookbook-culinary-showcase-frame .home-culinary-hero,
body.page-chef_groups-view_group .cookbook-culinary-showcase-frame .home-culinary-hero,
body.page-recipes-edit_recipe_book .bookedit-culinary-showcase-frame .home-culinary-hero,
body.page-recipes-new_recipe_book .bookedit-culinary-showcase-frame .home-culinary-hero,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-hero {
  min-height: clamp(220px, 30vw, 420px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame1-recipes-bg.png");
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  align-items: center;
  justify-items: center;
  padding: clamp(22px, 3vw, 48px);
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-hero {
  min-height: clamp(135px, 18.48vw, 259px);
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-emptycounter-gb.png");
}

body.page-recipes-list_recipe_books .cookbook-culinary-showcase-frame .home-culinary-hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-cookbooks-bg.png");
  min-height: clamp(135px, 18.48vw, 259px);
}

body.page-meal_plans-view_meal_plans .cookbook-culinary-showcase-frame .home-culinary-hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-calendar-bg.png");
  min-height: clamp(135px, 18.48vw, 259px);
}

body.page-chef_groups-list_and_create .cookbook-culinary-showcase-frame .home-culinary-hero,
body.page-chef_groups-view_group .cookbook-culinary-showcase-frame .home-culinary-hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-chefgroups-bg.png");
  min-height: clamp(135px, 18.48vw, 259px);
}

body.page-recipes-edit_recipe_book .bookedit-culinary-showcase-frame .home-culinary-hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-cookbooks-bg.png");
}

body.page-recipes-new_recipe_book .bookedit-culinary-showcase-frame .home-culinary-hero {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("/static/images/frame-cookbooks-bg.png");
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-overlay,
body.page-recipes-list_recipe_books .cookbook-culinary-showcase-frame .home-culinary-overlay,
body.page-meal_plans-view_meal_plans .cookbook-culinary-showcase-frame .home-culinary-overlay,
body.page-chef_groups-list_and_create .cookbook-culinary-showcase-frame .home-culinary-overlay,
body.page-chef_groups-view_group .cookbook-culinary-showcase-frame .home-culinary-overlay,
body.page-recipes-edit_recipe_book .bookedit-culinary-showcase-frame .home-culinary-overlay,
body.page-recipes-new_recipe_book .bookedit-culinary-showcase-frame .home-culinary-overlay,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-overlay {
  justify-self: start;
  align-self: center;
  margin: 0;
  text-align: left;
  max-width: 1120px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(28, 45, 66, 0.14);
  border-radius: 0;
  padding: clamp(20px, 2.5vw, 34px);
  box-shadow: 0 16px 30px rgba(20, 35, 52, 0.14);
}


body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-overlay h2,
body.page-recipes-list_recipe_books .cookbook-culinary-showcase-frame .home-culinary-overlay h2,
body.page-meal_plans-view_meal_plans .cookbook-culinary-showcase-frame .home-culinary-overlay h2,
body.page-chef_groups-list_and_create .cookbook-culinary-showcase-frame .home-culinary-overlay h2,
body.page-chef_groups-view_group .cookbook-culinary-showcase-frame .home-culinary-overlay h2,
body.page-recipes-edit_recipe_book .bookedit-culinary-showcase-frame .home-culinary-overlay h2,
body.page-recipes-new_recipe_book .bookedit-culinary-showcase-frame .home-culinary-overlay h2,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-overlay h2 {
  margin: 0 0 6px;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1f2933;
  font-weight: 400;
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-overlay h1,
body.page-recipes-list_recipe_books .cookbook-culinary-showcase-frame .home-culinary-overlay h1,
body.page-meal_plans-view_meal_plans .cookbook-culinary-showcase-frame .home-culinary-overlay h1,
body.page-chef_groups-list_and_create .cookbook-culinary-showcase-frame .home-culinary-overlay h1,
body.page-chef_groups-view_group .cookbook-culinary-showcase-frame .home-culinary-overlay h1,
body.page-recipes-edit_recipe_book .bookedit-culinary-showcase-frame .home-culinary-overlay h1,
body.page-recipes-new_recipe_book .bookedit-culinary-showcase-frame .home-culinary-overlay h1,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-overlay h1 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.6rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: #1f2933;
  font-family: "Quattrocento", "Times New Roman", serif;
  text-transform: uppercase;
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-overlay p,
body.page-recipes-list_recipe_books .cookbook-culinary-showcase-frame .home-culinary-overlay p,
body.page-meal_plans-view_meal_plans .cookbook-culinary-showcase-frame .home-culinary-overlay p,
body.page-chef_groups-list_and_create .cookbook-culinary-showcase-frame .home-culinary-overlay p,
body.page-chef_groups-view_group .cookbook-culinary-showcase-frame .home-culinary-overlay p,
body.page-recipes-edit_recipe_book .bookedit-culinary-showcase-frame .home-culinary-overlay p,
body.page-recipes-new_recipe_book .bookedit-culinary-showcase-frame .home-culinary-overlay p,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-overlay p {
  margin: var(--space-4) 0 0;
  max-width: 90ch;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #334155;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-photo {
  margin: 0;
  width: 100%;
  max-width: 350px;
  position: relative;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 0.9;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(28, 45, 66, 0.16);
  box-shadow: 0 8px 18px rgba(20, 35, 52, 0.16);
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-photo figcaption {
  margin: 8px 2px 0;
  font-size: 0.93rem;
  line-height: 1.35;
  color: #334155;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-photo-expand {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(15, 37, 64, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(15, 37, 64, 0.22);
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-photo-expand img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

body.page-recipes-view_recipe .recipe-hero-photo-modal-content {
  height: auto !important;
  width: min(98vw, 1500px);
  max-height: 96vh;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  position: relative;
}

body.page-recipes-view_recipe #recipe-hero-photo-modal .modal-content {
  width: min(98vw, 1500px) !important;
  height: auto !important;
  max-height: 96vh !important;
  overflow: visible !important;
}

body.page-recipes-view_recipe .recipe-hero-photo-modal-header {
  display: none;
}

body.page-recipes-view_recipe .recipe-hero-photo-modal-close,
body.page-recipes-view_recipe #recipe-hero-photo-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid rgba(15, 37, 64, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f2745;
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(15, 37, 64, 0.22);
}

body.page-recipes-view_recipe .recipe-hero-photo-modal-close:hover,
body.page-recipes-view_recipe #recipe-hero-photo-close:hover {
  background: #ffffff;
}

body.page-recipes-view_recipe .recipe-hero-photo-modal-header h3 {
  display: none;
}

body.page-recipes-view_recipe .recipe-hero-photo-modal-body {
  width: 100%;
  min-height: 0;
  overflow: visible;
  display: grid;
  place-items: center;
}

body.page-recipes-view_recipe .recipe-hero-photo-modal-image-wrap {
  position: relative;
  display: inline-block;
  max-width: 96vw;
  max-height: 92vh;
}

body.page-recipes-view_recipe .recipe-hero-photo-modal-body img {
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 92vh;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-actions {
  margin-top: clamp(10px, 1.5vw, 16px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-actions .button {
  min-width: 110px;
  min-height: 46px;
  height: auto;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-actions .button:not(.danger):not(.button-home-primary):not(.button-home-outline):not(.button-home-destructive):not(.button-standard-primary):not(.button-standard-outline):not(.button-standard-destructive) {
  background: var(--accent);
  color: #ffffff;
  border: 1px solid transparent;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-actions .button:not(.danger):not(.button-home-primary):not(.button-home-outline):not(.button-home-destructive):not(.button-standard-primary):not(.button-standard-outline):not(.button-standard-destructive):hover,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-actions .button:not(.danger):not(.button-home-primary):not(.button-home-outline):not(.button-home-destructive):not(.button-standard-primary):not(.button-standard-outline):not(.button-standard-destructive):focus-visible {
  background: var(--accent-strong);
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-actions .button.danger {
  background: var(--danger);
  color: #ffffff;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-content {
  margin-top: clamp(14px, 2vw, 22px);
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-side {
  min-width: 0;
  grid-column: 2;
  align-self: start;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-content .recipe-hero-photo {
  grid-column: 1;
  align-self: start;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-side > p {
  margin: 0;
  font-size: clamp(1.02rem, 1.1vw, 1.24rem);
  line-height: 1.55;
  max-width: 52ch;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-side h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-overlay {
  border-radius: 16px;
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-overlay {
  border-radius: 16px;
}

body.page-recipes-list_recipe_books .cookbook-culinary-showcase-frame .home-culinary-overlay {
  border-radius: 16px;
}

body.page-meal_plans-view_meal_plans .cookbook-culinary-showcase-frame .home-culinary-overlay {
  border-radius: 16px;
}

body.page-chef_groups-list_and_create .cookbook-culinary-showcase-frame .home-culinary-overlay,
body.page-chef_groups-view_group .cookbook-culinary-showcase-frame .home-culinary-overlay {
  border-radius: 16px;
}

body.page-recipes-edit_recipe_book .bookedit-culinary-showcase-frame .home-culinary-overlay {
  border-radius: 16px;
}

body.page-recipes-new_recipe_book .bookedit-culinary-showcase-frame .home-culinary-overlay {
  border-radius: 16px;
}

body.page-recipes-new_recipe_book .content-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.page-recipes-new_recipe_book .content-container > :first-child {
  margin-top: 0 !important;
}

body.page-recipes-new_recipe_book .bookedit-culinary-showcase-frame {
  margin-top: 0 !important;
}

body.page-recipes-new_recipe_book .top-tabs {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

body.page-recipes-new_recipe_book .top-tabs .create-recipe-book-button {
  display: none !important;
}

body.page-recipes-new_recipe_book .recipe-book-submit-row {
  margin-top: 4px !important;
  padding-top: 0 !important;
  padding-bottom: 8px !important;
}

body.page-recipes-new_recipe_book .content-container > form.form {
  display: block !important;
  min-height: auto !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

body.page-recipes-new_recipe_book .recipe-book-builder {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin-bottom: 4px !important;
}

body.page-recipes-new_recipe_book .recipe-book-builder > .card {
  height: 60vh !important;
  max-height: 60vh !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  align-self: start !important;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions .quickbutton-favorites,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions .quickbutton-print,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions .quickbutton-copy,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions .quickbutton-edit,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions .quickbutton-trash-delete {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 999px;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions .quickbutton-favorites {
  border: 1px solid var(--border);
  background: #ffffff;
  line-height: 1;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions .quickbutton-favorites.active {
  border-color: #c2413b;
  background: #fff7f6;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions .quickbutton-favorites:hover {
  background: #f8fafc;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions .quickbutton-favorites img {
  width: 22px;
  height: 22px;
  display: block;
}

body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-icon-actions .quickbutton-print img {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 900px) {
  body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-content {
    grid-template-columns: 1fr;
  }

  body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .recipe-hero-photo {
    max-width: 100%;
  }
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-benefits,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-benefits {
  margin: var(--space-4) 0 0;
  padding-left: 1.1rem;
  max-width: 90ch;
  display: grid;
  gap: 8px;
  color: #334155;
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-actions,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-actions {
  margin-top: var(--space-5);
  display: flex;
  justify-content: flex-start;
  gap: var(--space-3);
  flex-wrap: wrap;
}

body.page-recipes-list_recipes .recipes-culinary-showcase-frame .home-culinary-actions .button,
body.page-recipes-view_recipe .recipedetail-culinary-showcase-frame .home-culinary-actions .button {
  min-width: 170px;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

body.page-recipes-list_recipes .recipes-discover-strip .discover-carousel-section {
  --discover-edge-bg: #ffffff;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-layout,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-grid-block,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-grid-block {
  margin-top: 12px;
  margin-bottom: 18px;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-grid,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-card,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-card {
  min-height: 310px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-card.hidden,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-card.hidden {
  display: none !important;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-card.is-filter-hidden,
body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-card.is-page-hidden,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-card.is-filter-hidden,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-card.is-page-hidden {
  display: none !important;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-media,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  display: block;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-media img,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-media.placeholder,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-media.placeholder {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.82rem;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-copy,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-copy {
  padding: 10px 12px 12px;
  display: grid;
  gap: 8px;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-copy h4,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-copy h4 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-copy h4 a,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-copy h4 a {
  color: #1f2933;
  text-decoration: none;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-copy h4 a:hover,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-copy h4 a:hover {
  color: #1473cc;
  text-decoration: underline;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-copy p,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-copy p {
  margin: 0;
  color: #475569;
  font-size: 0.86rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-footer,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-footer {
  display: flex;
  align-items: center;
  gap: 8px;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-actions,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-actions {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-actions .quickbutton-favorites,
body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-actions .quickbutton-edit,
body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-actions .quickbutton-trash-delete,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-actions .quickbutton-favorites,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-actions .quickbutton-edit,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-actions .quickbutton-trash-delete {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 999px;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .quickbutton-favorites,
body.page-recipes-list_recipes .recipes-body-section-community .quickbutton-favorites {
  border: 1px solid var(--border);
  background: #ffffff;
  line-height: 1;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .quickbutton-favorites.active,
body.page-recipes-list_recipes .recipes-body-section-community .quickbutton-favorites.active {
  border-color: #C2413B;
  background: #fff7f6;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .quickbutton-favorites:hover,
body.page-recipes-list_recipes .recipes-body-section-community .quickbutton-favorites:hover {
  background: #f8fafc;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .quickbutton-favorites img,
body.page-recipes-list_recipes .recipes-body-section-community .quickbutton-favorites img {
  width: 22px;
  height: 22px;
  display: block;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-pagination,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-pagination {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-pagination.hidden,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-pagination.hidden {
  display: none !important;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-pagination .button.small,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-pagination .button.small {
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
}

body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-pagination .is-active-page,
body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-pagination .is-active-page {
  background: #e8f2fd;
  border-color: #1473cc;
  color: #0f5fa7;
}

body.page-recipes-list_recipes .recipes-body-kitchen .discover-carousel-section {
  --discover-edge-bg: #ffffff;
  --discover-visible-cards: 3.7;
}

body.page-recipes-list_recipes .recipes-body-kitchen .kitchen-favorites-carousel .discover-carousel-card {
  min-height: 172px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr);
}

body.page-recipes-list_recipes .recipes-body-kitchen .kitchen-favorites-carousel .discover-carousel-media {
  width: 100%;
  height: 172px;
  min-height: 172px;
  border-right: 1px solid var(--border);
}

body.page-recipes-list_recipes .recipes-body-kitchen .kitchen-favorites-carousel .discover-carousel-copy {
  gap: 8px;
  justify-content: center;
}

body.page-recipes-list_recipes .recipes-body-kitchen .kitchen-favorites-carousel .discover-carousel-copy h4 {
  font-size: 1rem;
}

body.page-recipes-list_recipes .recipes-body-kitchen .kitchen-favorites-carousel .discover-carousel-copy p {
  -webkit-line-clamp: 4;
}

@media (min-width: 721px) {
  body.page-recipes-list_recipes {
    height: auto !important;
    overflow: auto !important;
  }

  body.page-recipes-list_recipes .app-shell,
  body.page-recipes-list_recipes .main-content {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
}

@media (max-width: 980px) {
  body.page-recipes-list_recipes .recipes-toggles .recipe-view-group,
  body.page-recipes-list_recipes .recipes-toggles .recipe-show-group {
    width: 100%;
  }

  body.page-recipes-list_recipes .recipes-toggles .recipe-show-group {
    margin-left: 0;
  }

  body.page-recipes-list_recipes .recipes-toggles .recipe-search-control {
    margin-left: 0;
    width: 100%;
  }

  body.page-recipes-list_recipes .recipes-toggles .recipe-search-control input[type="text"] {
    width: 100%;
    max-width: none;
  }

  body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-layout,
  body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-layout {
    grid-template-columns: 1fr;
  }

  body.page-recipes-list_recipes .recipes-body-section-myrecipes .my-recipes-featured-grid,
  body.page-recipes-list_recipes .recipes-body-section-community .my-recipes-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.page-recipes-list_recipes .recipes-body-kitchen .discover-carousel-section {
    --discover-visible-cards: 1.7;
  }

  body.page-recipes-list_recipes .recipes-body-kitchen .kitchen-favorites-carousel .discover-carousel-card {
    grid-template-columns: 1fr;
    min-height: 263px;
  }

  body.page-recipes-list_recipes .recipes-body-kitchen .kitchen-favorites-carousel .discover-carousel-media {
    min-height: 128px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
}







