:root {
    --bg: #f5f1e8;
    --surface: rgba(255, 255, 255, 0.78);
    --surface-strong: #ffffff;
    --surface-dark: #1e221d;
    --text: #192014;
    --muted: #5b6456;
    --line: rgba(25, 32, 20, 0.12);
    --primary: #7aa843;
    --primary-deep: #557a29;
    --accent: #f2b24f;
    --danger: #a54432;
    --shadow: 0 24px 60px rgba(30, 34, 29, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: min(1160px, calc(100vw - 32px));
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(242, 178, 79, 0.28), transparent 30%),
        radial-gradient(circle at top right, rgba(122, 168, 67, 0.22), transparent 28%),
        linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: var(--container);
    margin: 0 auto;
}

.narrow {
    max-width: 820px;
}

.page-shell {
    min-height: 100vh;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(18px);
    background: rgba(251, 248, 242, 0.78);
    border-bottom: 1px solid rgba(25, 32, 20, 0.08);
}

.header-row,
.nav-wrap,
.footer-grid,
.hero-grid,
.section-heading,
.feature-band,
.recipe-hero-grid,
.recipe-detail-grid,
.admin-shell,
.filters-row,
.form-actions,
.inline-actions,
.hero-actions,
.hero-stats,
.feature-list,
.admin-stats {
    display: flex;
    gap: 16px;
}

.header-row {
    align-items: center;
    justify-content: space-between;
    padding: 18px 0 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo-shell {
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 16px 34px rgba(84, 122, 41, 0.12);
}

.brand-logo-image {
    display: block;
    width: clamp(220px, 24vw, 336px);
    height: auto;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, #adc76b 100%);
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.admin-brand {
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.admin-brand strong {
    display: block;
    font-size: 1rem;
}

.admin-brand small {
    display: block;
    color: var(--muted);
}

.header-actions,
.search-form,
.main-nav,
.detail-meta,
.recipe-stats,
.eyebrow-row,
.checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-form input,
.search-submit,
.button,
.field input,
.field select,
.field textarea,
.pager-link,
.status-pill {
    border-radius: 999px;
    border: 1px solid transparent;
}

.search-form input,
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.84);
    border-color: var(--line);
    color: var(--text);
}

.field textarea,
.panel,
.hero-panel,
.hero-feature,
.recipe-card,
.category-card,
.content-card,
.table-card,
.admin-stat-card,
.flash,
.empty-state {
    border: 1px solid rgba(25, 32, 20, 0.08);
    background: var(--surface);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.field textarea,
.panel,
.hero-panel,
.recipe-card,
.category-card,
.content-card,
.table-card,
.admin-stat-card,
.flash,
.empty-state {
    border-radius: var(--radius-lg);
}

.search-submit,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

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

.button-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: #fff;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--line);
}

.search-form {
    padding: 6px;
    border-radius: 999px;
    border: 1px solid rgba(25, 32, 20, 0.08);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 30px rgba(30, 34, 29, 0.06);
}

.search-form input {
    min-width: 220px;
    border-color: transparent;
    background: transparent;
    padding-right: 8px;
}

.search-form input:focus {
    outline: none;
}

.search-submit {
    gap: 10px;
    padding-inline: 18px;
    border-color: rgba(25, 32, 20, 0.08);
    background: linear-gradient(135deg, #1d241d 0%, #394131 100%);
    color: #f5f1e8;
}

.search-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.button-full {
    width: 100%;
}

.nav-toggle {
    display: none;
}

.nav-wrap {
    padding: 0 0 18px;
}

.main-nav {
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    overflow: visible;
    padding: 10px;
    border-radius: 34px;
    border: 1px solid rgba(25, 32, 20, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 240, 227, 0.8));
    box-shadow: 0 16px 34px rgba(30, 34, 29, 0.06);
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav a,
.text-link,
.pager-link {
    color: var(--muted);
}

.text-link {
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.94rem;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-home {
    background: rgba(122, 168, 67, 0.12);
}

.nav-chip {
    border: 1px solid transparent;
}

.nav-all {
    border: 1px solid rgba(25, 32, 20, 0.08);
    background: rgba(255, 255, 255, 0.84);
}

.main-nav a.is-active,
.main-nav a:hover,
.text-link:hover {
    color: var(--text);
}

.main-nav a:hover {
    transform: translateY(-1px);
}

.main-nav a.is-active {
    background: #1f261d;
    color: #f8f5ec;
    box-shadow: 0 10px 24px rgba(31, 38, 29, 0.18);
}

.hero,
.page-hero,
.section {
    padding: 36px 0;
}

.hero-grid,
.recipe-hero-grid,
.recipe-detail-grid {
    align-items: stretch;
}

.hero-grid > * {
    flex: 1;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.feature-band h2,
.content-card h2,
.admin-section h1,
.admin-section h2,
.auth-card h1 {
    margin: 0;
    font-family: "Fraunces", serif;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 5.5rem);
    max-width: 11ch;
}

.page-hero h1,
.admin-section h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
}

.hero-copy,
.page-hero p,
.page-hero-copy,
.category-card p,
.recipe-card p,
.content-card p,
.feature-copy p,
.feature-item p,
.site-footer p,
.auth-card p,
.empty-state p {
    color: var(--muted);
    line-height: 1.7;
}

.rich-text a {
    color: var(--primary-deep);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.rich-text strong,
.rich-text b {
    color: var(--text);
}

.rich-text ul,
.rich-text ol {
    margin: 16px 0;
    padding-left: 22px;
    color: var(--muted);
    line-height: 1.7;
}

.badge,
.eyebrow,
.eyebrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-deep);
}

.hero-panel,
.panel,
.feature-band,
.auth-card {
    padding: 28px;
}

.hero-panel {
    position: relative;
    overflow: hidden;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: auto -40px -40px auto;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: rgba(242, 178, 79, 0.22);
}

.hero-panel-top,
.hero-feature,
.section-heading,
.feature-band,
.recipe-card-body,
.feature-item,
.field,
.site-footer a,
.admin-nav a,
.admin-sidebar,
.admin-main,
.table-card,
.auth-wrap {
    display: flex;
    flex-direction: column;
}

.hero-panel-top strong,
.hero-feature h3,
.recipe-card h3,
.category-card h3,
.feature-item strong,
.admin-stat-card strong {
    font-size: 1.25rem;
}

.hero-feature {
    position: relative;
    z-index: 1;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    margin-top: 14px;
}

.hero-feature-time,
.text-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    font-weight: 800;
    white-space: nowrap;
}

.hero-feature-time {
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(122, 168, 67, 0.14), rgba(242, 178, 79, 0.18));
    border: 1px solid rgba(122, 168, 67, 0.12);
    color: var(--text);
    font-size: 0.82rem;
}

.text-link-button {
    padding: 12px 18px;
    background: linear-gradient(135deg, #1f261d 0%, #394131 100%);
    color: #f8f5ec;
    box-shadow: 0 14px 28px rgba(31, 38, 29, 0.16);
}

.text-link-button:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(31, 38, 29, 0.22);
}

.hero-stats {
    flex-wrap: wrap;
    margin-top: 28px;
}

.hero-stats div {
    min-width: 120px;
}

.hero-stats strong {
    display: block;
    font-size: 1.35rem;
}

.hero-stats span {
    color: var(--muted);
}

.section-heading {
    justify-content: space-between;
    align-items: end;
    margin-bottom: 24px;
}

.category-grid,
.recipe-grid,
.nutrition-grid,
.admin-stats,
.tools-grid,
.settings-preview-grid {
    display: grid;
    gap: 18px;
}

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

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

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

.settings-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}

.category-card,
.recipe-card-link {
    display: block;
}

.category-card,
.recipe-card {
    overflow: hidden;
}

.recipe-card {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.recipe-card:hover {
    transform: translateY(-4px);
    border-color: rgba(122, 168, 67, 0.22);
    box-shadow: 0 28px 54px rgba(30, 34, 29, 0.16);
}

.category-card {
    padding: 24px;
    min-height: 220px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72)),
        radial-gradient(circle at top right, rgba(122, 168, 67, 0.16), transparent 38%);
}

.recipe-card-body {
    gap: 14px;
    padding: 22px 20px 20px;
}

.recipe-visual {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(122, 168, 67, 0.95), rgba(242, 178, 79, 0.92));
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
}

.recipe-visual.has-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 24, 16, 0.02), rgba(18, 24, 16, 0.18));
}

.recipe-visual img,
.recipe-hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.recipe-card:hover .recipe-visual img {
    transform: scale(1.05);
}

.recipe-stats,
.detail-meta {
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 0.92rem;
}

.section-soft {
    background: rgba(255, 255, 255, 0.26);
}

.feature-band {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}

.feature-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-copy {
    width: 100%;
    max-width: none;
}

.feature-copy p + p {
    margin-top: 16px;
}

.eyebrow-row {
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}

.recipe-card h3,
.recipe-card p {
    margin: 0;
}

.recipe-card .eyebrow {
    line-height: 1;
}

.recipe-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 9px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(122, 168, 67, 0.16), rgba(242, 178, 79, 0.18));
    border: 1px solid rgba(122, 168, 67, 0.16);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.recipe-stats {
    gap: 16px;
    font-size: 0.95rem;
}

.recipe-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.recipe-stats strong {
    color: var(--text);
    font-weight: 800;
}

.feature-item {
    gap: 10px;
}

.page-hero {
    padding-top: 52px;
}

.recipe-hero-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.recipe-cover-card,
.recipe-hero-fallback,
.recipe-header-card,
.recipe-steps-card {
    border: 1px solid rgba(25, 32, 20, 0.08);
    background: var(--surface);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
    border-radius: var(--radius-xl);
}

.recipe-cover-card {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 8.2;
}

.recipe-cover-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.recipe-header-card {
    width: 100%;
    padding: 30px 34px;
}

.recipe-header-card h1 {
    max-width: 14ch;
}

.recipe-header-card p {
    max-width: 72ch;
}

.recipe-hero-fallback {
    display: grid;
    place-items: center;
    min-height: 100%;
    background:
        radial-gradient(circle at top, rgba(242, 178, 79, 0.3), transparent 28%),
        linear-gradient(135deg, rgba(122, 168, 67, 0.94), rgba(85, 122, 41, 0.94));
    color: #fff;
    text-align: center;
    padding: 28px;
}

.recipe-detail-grid {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.content-card {
    padding: 28px;
}

.tool-card,
.settings-preview-card {
    gap: 18px;
}

.tool-card-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-card-head h2,
.settings-help-card h2 {
    margin: 0;
}

.tool-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tool-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(122, 168, 67, 0.08), rgba(255, 255, 255, 0.85));
    border: 1px solid rgba(122, 168, 67, 0.12);
}

.tool-result strong,
.settings-preview-card strong {
    font-size: 1.05rem;
}

.tool-result p,
.settings-preview-card p {
    margin: 0;
}

.tool-result strong + p {
    margin-top: 2px;
}

.settings-preview-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(25, 32, 20, 0.08);
}

.settings-preview-media img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.settings-preview-favicon img {
    width: 64px;
    height: 64px;
}

.tools-note {
    display: flex;
}

.ingredient-list,
.step-list {
    margin: 20px 0 0;
    padding-left: 22px;
    line-height: 1.8;
}

.nutrition-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 18px;
}

.nutrition-grid div {
    padding: 16px;
    border-radius: var(--radius-sm);
    background: rgba(122, 168, 67, 0.08);
}

.nutrition-grid strong {
    display: block;
    font-size: 1.25rem;
}

.recipe-steps-card {
    max-width: 100%;
}

.panel {
    padding: 28px;
}

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

.field {
    gap: 8px;
}

.field label,
.checkbox-row span {
    font-weight: 700;
}

.field small {
    color: var(--danger);
}

.full {
    grid-column: 1 / -1;
}

.checkbox-row {
    gap: 10px;
}

.checkbox-row input {
    width: 18px;
    height: 18px;
}

.flash {
    margin-top: 20px;
    padding: 18px 20px;
}

.flash-success {
    border-color: rgba(122, 168, 67, 0.24);
}

.flash-error {
    border-color: rgba(165, 68, 50, 0.24);
}

.empty-state {
    padding: 36px;
    text-align: center;
}

.pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}

.pager-link {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--line);
}

.pager-link.is-disabled {
    opacity: 0.45;
}

.pager-state {
    color: var(--muted);
}

.site-footer {
    padding: 40px 0 60px;
}

.footer-panel {
    padding: 28px;
    border: 1px solid rgba(25, 32, 20, 0.08);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top left, rgba(122, 168, 67, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 240, 227, 0.82));
    box-shadow: var(--shadow);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(160px, 1fr));
    gap: 28px;
    align-items: start;
}

.footer-brand {
    gap: 16px;
}

.footer-brand-link {
    width: fit-content;
}

.footer-logo-shell {
    box-shadow: 0 14px 28px rgba(84, 122, 41, 0.1);
}

.footer-logo-image {
    width: clamp(190px, 20vw, 280px);
}

.footer-grid h4 {
    margin: 0 0 10px;
    font-size: 1.02rem;
}

.footer-grid p {
    margin: 0;
}

.site-footer a,
.admin-nav a {
    margin-top: 10px;
    color: var(--muted);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    margin-top: 24px;
    border-top: 1px solid rgba(25, 32, 20, 0.08);
}

.footer-bottom strong {
    display: block;
    font-size: 0.95rem;
}

.footer-bottom p {
    max-width: 620px;
    margin: 0;
    text-align: right;
}

.info-page-hero {
    padding-bottom: 18px;
}

.category-page-copy {
    width: 100%;
    margin-left: 0;
}

.category-page-copy p {
    max-width: none;
}

.legal-card {
    padding: 34px;
}

.legal-card p {
    margin: 0;
}

.legal-card p + p {
    margin-top: 18px;
}

.breadcrumbs,
.recipe-header-actions,
.search-filters-actions,
.footer-note {
    display: flex;
    gap: 12px;
}

.breadcrumbs {
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.breadcrumbs-link {
    color: var(--muted);
    transition: color 0.2s ease;
}

.breadcrumbs-link:hover {
    color: var(--text);
}

.breadcrumbs-current {
    color: var(--text);
    font-weight: 700;
}

.breadcrumbs-separator {
    opacity: 0.5;
}

.search-filters-card,
.contact-card {
    margin-bottom: 24px;
    padding: 24px;
}

.search-filters-actions {
    justify-content: flex-end;
}

.search-filters-actions .inline-actions {
    flex-wrap: wrap;
}

.recipe-header-actions {
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
}

.recipe-detail-grid-wide {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

.footer-note {
    max-width: 620px;
    margin: 0;
    text-align: right;
    flex-direction: column;
}

.footer-note p {
    margin: 0;
}

.print-button {
    white-space: nowrap;
}

.admin-body {
    background: linear-gradient(180deg, #edf1e8 0%, #e3e8dc 100%);
}

.admin-shell {
    min-height: 100vh;
}

.admin-sidebar {
    width: 290px;
    padding: 28px 22px;
    gap: 22px;
    background: rgba(255, 255, 255, 0.68);
    border-right: 1px solid rgba(25, 32, 20, 0.08);
    backdrop-filter: blur(14px);
}

.admin-main {
    flex: 1;
    padding: 28px;
    gap: 24px;
}

.admin-shell-auth {
    justify-content: center;
}

.admin-main-auth {
    width: min(100%, 1180px);
    margin: 0 auto;
    min-height: 100vh;
    justify-content: center;
}

.admin-section {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.admin-two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 22px;
    align-items: start;
}

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

.admin-stats-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.admin-stats-six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-stat-card {
    padding: 24px;
}

.admin-stat-card strong {
    font-size: 2rem;
}

.filters-row {
    align-items: end;
}

.field-grow {
    flex: 1;
}

.table-card {
    overflow: auto;
}

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

.data-table th,
.data-table td {
    padding: 18px 16px;
    border-bottom: 1px solid rgba(25, 32, 20, 0.08);
    text-align: left;
}

.status-pill {
    display: inline-flex;
    padding: 8px 12px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pending {
    background: rgba(242, 178, 79, 0.18);
}

.status-published {
    background: rgba(122, 168, 67, 0.18);
}

.status-draft {
    background: rgba(25, 32, 20, 0.08);
}

.status-rejected {
    background: rgba(165, 68, 50, 0.16);
}

.auth-wrap {
    min-height: calc(100vh - 56px);
    align-items: center;
    justify-content: center;
}

.contact-message-card {
    gap: 16px;
}

.contact-message-body {
    margin-top: 6px;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.auth-card {
    width: min(520px, 100%);
}

.settings-help-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.settings-help-card {
    gap: 12px;
}

.settings-help-card strong,
.settings-help-card p {
    margin: 0;
}

@media (max-width: 1024px) {
    .category-grid,
    .recipe-grid,
    .feature-list,
    .admin-stats,
    .settings-help-grid,
    .tools-grid,
    .settings-preview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-two-column {
        grid-template-columns: 1fr;
    }

    .hero-grid,
    .feature-band,
    .admin-shell {
        flex-direction: column;
    }

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

    .admin-sidebar {
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(25, 32, 20, 0.08);
    }
}

@media (max-width: 840px) {
    .header-row {
        flex-wrap: wrap;
    }

    .brand {
        width: calc(100% - 96px);
    }

    .brand-logo-shell {
        width: 100%;
        padding: 2px 0;
    }

    .brand-logo-image {
        width: min(100%, 280px);
    }

    .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-toggle {
        display: inline-flex;
        padding: 12px 16px;
        border-radius: 999px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.84);
    }

    .nav-wrap {
        display: none;
    }

    .nav-wrap.is-open {
        display: block;
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
        border-radius: 28px;
        padding: 12px;
        gap: 8px;
    }

    .main-nav a,
    .nav-all {
        width: 100%;
        flex: 0 0 auto;
    }

    .form-grid,
    .tool-form-grid,
    .category-grid,
    .recipe-grid,
    .feature-list,
    .admin-stats,
    .settings-help-grid,
    .tools-grid,
    .settings-preview-grid {
        grid-template-columns: 1fr;
    }

    .search-form input {
        min-width: 0;
    }

    .hero,
    .page-hero,
    .section {
        padding: 28px 0;
    }

    .hero-panel,
    .panel,
    .content-card,
    .table-card {
        padding: 22px;
    }

    .recipe-header-card {
        padding: 24px 22px;
    }

    .category-page-copy {
        width: 100%;
        margin-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom p {
        max-width: none;
        text-align: left;
    }

    .recipe-header-actions,
    .search-filters-actions,
    .footer-note {
        align-items: flex-start;
        text-align: left;
    }
}

@media print {
    .site-header,
    .site-footer,
    .hero-actions,
    .print-button,
    .section-heading .text-link-button,
    .pager {
        display: none !important;
    }

    body {
        background: #ffffff;
    }

    .page-shell,
    .content-card,
    .recipe-cover-card,
    .recipe-header-card,
    .recipe-steps-card {
        box-shadow: none !important;
        background: #ffffff !important;
        border-color: rgba(25, 32, 20, 0.12) !important;
    }

    .section,
    .page-hero {
        padding: 16px 0;
    }

    .container {
        width: min(100%, 960px);
    }
}
