﻿@keyframes seasonalParticleFall {
    0% {
        transform: translate3d(0,-10%,0) rotate(var(--seasonal-rotation, 0deg))
    }

    50% {
        transform: translate3d(calc(var(--seasonal-drift, 0px)*.55),calc(var(--seasonal-fall-distance, 100vh)*.5),0) rotate(calc(var(--seasonal-rotation, 0deg) + 120deg))
    }

    to {
        transform: translate3d(var(--seasonal-drift, 0px),var(--seasonal-fall-distance, 120vh),0) rotate(calc(var(--seasonal-rotation, 0deg) + 240deg))
    }
}

@keyframes recipeSaveButtonSpinner {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

@keyframes ingredient-water-wave {
    0%,to {
        transform: translateX(-2%) scaleX(1.02)
    }

    50% {
        transform: translateX(2%) scaleX(.98)
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(.9)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

:root {
    --background-color: #f8f8f8;
    --border-color: #ebecec;
    --bs-primary-rgb: 155, 77, 202;
    --comment-background: #eae5f2;
    --delete-button-color: #d9534f;
    --delete-button-hover: #c9302c;
    --disabled-button-color: #ccc;
    --hover-color: #7d33b0;
    --hover-secondary-color: #cc3d3d;
    --primary-color: #9b4dca;
    --reply-background: #f4f0f9;
    --secondary-color: #ff4d4d;
    --text-color: #333
}

@font-face {
    font-family: "Aptos";
    font-style: normal;
    font-weight: 400;
    src: url(/fonts/aptos-regular.ttf)format("truetype")
}

.site-content, body {
    display: flex;
    flex-direction: column
}

body {
    font-family: "Aptos",sans-serif;
    margin-bottom: 0;
    min-height: 100vh;
    box-sizing: border-box
}

.site-content {
    align-items: stretch;
    justify-content: center
}

    .site-content, .site-content .container, .site-content .container-fluid {
        width: 100%;
        box-sizing: border-box
    }

.footer, .site-content {
    padding: 0 1rem
}

.taste-compass-and-five-basic-tastes-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1rem 3rem
}

.the-five-basic-tastes-hero {
    margin-bottom: 1.5rem
}

.taste-compass-and-five-basic-tastes-copy {
    max-width: 52rem
}

.taste-compass-and-five-basic-tastes-layout {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(18rem,1fr);
    gap: 1.5rem;
    align-items: start
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1.25rem;
    width: 3rem;
    height: 3rem;
    border-radius: .5rem;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: 0 .4rem .8rem rgba(0,0,0,.12);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(.5rem);
    transition: opacity 180ms ease,transform 220ms ease,visibility 180ms;
    z-index: 1200
}

    .back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0)
    }

    .back-to-top:focus {
        outline: 3px solid rgba(var(--bs-primary-rgb),.14);
        outline-offset: 2px
    }

.taste-compass-and-five-basic-tastes-figure-card, .taste-compass-and-five-basic-tastes-info-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    box-shadow: 0 .5rem 1.4rem rgba(0,0,0,.05)
}

.taste-compass-and-five-basic-tastes-figure-card {
    padding: 1rem
}

.taste-compass-and-five-basic-tastes-figure-wrap {
    width: 100%;
    display: flex;
    justify-content: center
}

.taste-compass-and-five-basic-tastes-figure-stage {
    position: relative;
    width: min(100%,36rem)
}

.taste-compass-and-five-basic-tastes-svg-host {
    width: 100%
}

.taste-compass-and-five-basic-tastes-reference-image {
    display: block;
    width: 100%;
    height: auto
}

.taste-hotspot-layer {
    position: absolute;
    inset: 0
}

.taste-hotspot-svg {
    width: 100%;
    height: 100%
}

.taste-compass-and-five-basic-tastes-svg {
    width: min(100%,36rem);
    height: auto
}

.taste-compass-and-five-basic-tastes-inline-svg {
    display: block;
    width: 100%;
    height: auto
}

.taste-svg-link {
    text-decoration: none;
    fill: inherit
}

#tasteWheelSvgHost svg .taste-svg-zone[data-zone-role=area] {
    pointer-events: none;
    cursor: default
}

#tasteWheelSvgHost svg a.taste-svg-link:focus text {
    outline: 2px solid rgba(0,0,0,.2)
}

#tasteWheelSvgHost svg *, .taste-compass-and-five-basic-tastes-hover-clone, .taste-compass-and-five-basic-tastes-hover-layer, .taste-mouth-lips, .taste-tongue-base {
    pointer-events: none
}

#tasteWheelSvgHost svg a.taste-svg-link *, #tasteWheelSvgHost svg text, #tasteWheelSvgHost svg textPath {
    pointer-events: auto;
    cursor: pointer
}

#tasteWheelSvgHost svg a.taste-svg-link {
    pointer-events: auto
}

#tasteWheelSvgHost svg .taste-svg-zone[data-zone-role=area].is-hovered, #tasteWheelSvgHost svg .taste-svg-zone[data-zone-role=area]:focus-visible, #tasteWheelSvgHost svg .taste-svg-zone[data-zone-role=area]:hover, #tasteWheelSvgHost svg .taste-zone-group:focus-visible, #tasteWheelSvgHost svg .taste-zone-group:hover {
    transform: none !important;
    filter: none !important;
    stroke-width: 1.5 !important;
    stroke: inherit !important;
    opacity: 1 !important
}

#tasteWheelSvgHost svg a.taste-svg-link, #tasteWheelSvgHost svg a.taste-svg-link .taste-zone-label, #tasteWheelSvgHost svg a.taste-svg-link text, #tasteWheelSvgHost svg a.taste-svg-link textPath {
    transform: none !important;
    filter: none !important;
    stroke-width: 0 !important;
    stroke: none !important;
    opacity: 1 !important;
    transition: none !important;
    cursor: pointer;
    font-size: 2rem
}

.taste-zone-group {
    transition: transform .2s ease,filter .2s ease,opacity .2s ease
}

.taste-svg-zone, .taste-zone-group {
    cursor: pointer;
    transform-box: fill-box;
    transform-origin: center;
    outline: 0
}

    .taste-svg-zone[data-zone-role=area].is-hovered, .taste-svg-zone[data-zone-role=area]:focus-visible, .taste-svg-zone[data-zone-role=area]:hover, .taste-zone-group:focus-visible, .taste-zone-group:hover {
        transform: scale(1.04);
        filter: drop-shadow(0 .4rem .7rem rgba(0,0,0,.18));
        stroke: rgba(0,0,0,.92);
        stroke-width: 3;
        paint-order: stroke fill
    }

    .taste-svg-zone[data-zone-role=area].is-selected, .taste-zone-group.is-selected {
        transform: scale(1.08);
        filter: drop-shadow(0 .55rem 1rem rgba(0,0,0,.24))
    }

    .profile-allergen-selector.is-loading #profileAllergenSearch, .taste-zone-group[data-zone=overview] {
        pointer-events: none
    }

    .taste-svg-zone[data-zone-role=area]:not(.is-selected), .taste-zone-group:not(.is-selected) .taste-zone {
        opacity: .96
    }

    .taste-svg-zone[data-zone-role=area].is-selected, .taste-zone-group.is-selected .taste-zone {
        stroke: rgba(255,255,255,.85);
        stroke-width: 3
    }

.taste-zone {
    transition: opacity .2s ease
}

.taste-svg-zone {
    transition: opacity .2s ease,transform .2s ease,filter .2s ease
}

.taste-zone-salt-edge {
    stroke: none !important
}

.taste-zone-label {
    fill: rgba(109,54,22,.92);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: .03em;
    paint-order: stroke fill;
    stroke: rgba(255,255,255,.88);
    stroke-width: 3px;
    stroke-linejoin: round;
    transition: none;
    transform-box: fill-box;
    transform-origin: center;
    pointer-events: none
}

    .taste-zone-label.is-hovered {
        scale: 1.04
    }

    .taste-zone-label.is-selected {
        scale: 1.08
    }

.taste-zone-label-large {
    font-size: 3rem;
    letter-spacing: .05em
}

.taste-zone-label-side {
    font-size: 3rem;
    letter-spacing: .08em
}

.taste-zone-label-salt {
    font-size: 2rem;
    letter-spacing: .08em
}

.taste-zone-label-center {
    font-size: 3rem;
    letter-spacing: .08em
}

.taste-zone-label-vertical {
    font-size: 3rem
}

.taste-zone-group[data-zone=sour] .taste-zone-label {
    writing-mode: vertical-rl;
    glyph-orientation-vertical: 0
}

.taste-compass-and-five-basic-tastes-info-card {
    padding: 1.5rem;
    position: sticky;
    top: 1rem
}

.taste-compass-and-five-basic-tastes-info-header {
    margin-bottom: .85rem
}

.manage-users-table td, .manage-users-table th, .taste-compass-view-toggle .btn {
    white-space: nowrap
}

.taste-compass-and-five-basic-tastes-info-kicker {
    display: inline-block;
    margin-bottom: .4rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .82rem
}

.taste-compass-and-five-basic-tastes-info-card h2 {
    margin-bottom: .75rem
}

.taste-compass-and-five-basic-tastes-info-card p {
    margin-bottom: 0;
    line-height: 1.65
}

@media (max-width:991.98px) {
    .taste-compass-and-five-basic-tastes-layout {
        grid-template-columns: 1fr
    }

    .taste-compass-and-five-basic-tastes-info-card {
        position: static
    }
}

@media (max-width:575.98px) {
    .taste-compass-and-five-basic-tastes-page {
        padding-inline: .75rem
    }

    .taste-compass-and-five-basic-tastes-figure-card, .taste-compass-and-five-basic-tastes-info-card {
        border-radius: 1.1rem
    }

    .taste-zone-label {
        font-size: 2rem
    }
}

.home-page {
    --season-glow-core: rgba(255, 216, 110, 0.5);
    --season-glow-mid: rgba(255, 216, 110, 0.22);
    --season-glow-soft: rgba(255, 216, 110, 0.08);
    --season-overlay-start: rgba(255, 248, 220, 0.14);
    --season-overlay-end: rgba(248, 248, 248, 0);
    --season-leaf-icon: url('/icons/leaf-autumn.svg');
    --season-leaf-light: #b8d986;
    --season-leaf-dark: #79b86c;
    --season-herb-light: #dbeea7;
    --season-herb-dark: #94c973;
    --season-seed-light: #d4b483;
    --season-seed-dark: #a47148;
    --season-lentil-light: #f8c471;
    --season-lentil-mid: #d68910;
    --season-lentil-dark: #a04000;
    overflow: hidden;
    isolation: isolate;
    top: -1rem
}

    .home-page::after, .home-page::before {
        content: "";
        position: absolute;
        opacity: 0;
        pointer-events: none;
        transition: opacity .4s ease
    }

    .home-page::before {
        top: -16rem;
        left: 50%;
        width: min(70rem,120vw);
        height: min(70rem,120vw);
        transform: translateX(-50%);
        border-radius: 50%;
        background: radial-gradient(circle,var(--season-glow-core) 0%,var(--season-glow-mid) 28%,var(--season-glow-soft) 48%,rgba(255,255,255,0) 72%);
        filter: blur(24px);
        z-index: -2
    }

    .home-page::after {
        inset: 0;
        background: linear-gradient(180deg,var(--season-overlay-start) 0%,var(--season-overlay-end) 35%);
        z-index: -1
    }

    .home-page.monthly-theme::after, .home-page.monthly-theme::before {
        opacity: 1
    }

    .home-page.theme-january {
        --season-leaf-icon: url('/icons/leaf-winter.svg');
        --season-glow-core: rgba(210, 232, 255, 0.44);
        --season-glow-mid: rgba(210, 232, 255, 0.18);
        --season-glow-soft: rgba(210, 232, 255, 0.07);
        --season-overlay-start: rgba(235, 244, 255, 0.12);
        --season-leaf-light: #c8d9d1;
        --season-leaf-dark: #7c9a97;
        --season-seed-light: #c7b39a;
        --season-seed-dark: #90765e
    }

    .home-page.theme-february {
        --season-leaf-icon: url('/icons/leaf-winter.svg');
        --season-glow-core: rgba(242, 220, 235, 0.42);
        --season-glow-mid: rgba(242, 220, 235, 0.18);
        --season-glow-soft: rgba(242, 220, 235, 0.07);
        --season-overlay-start: rgba(248, 233, 241, 0.12);
        --season-leaf-light: #c3d8b2;
        --season-leaf-dark: #8aa06f
    }

    .home-page.theme-march {
        --season-glow-core: rgba(214, 237, 197, 0.42);
        --season-glow-mid: rgba(214, 237, 197, 0.18);
        --season-glow-soft: rgba(214, 237, 197, 0.07);
        --season-overlay-start: rgba(235, 246, 225, 0.12);
        --season-leaf-light: #c7ec9a;
        --season-leaf-dark: #78b857
    }

    .home-page.theme-april, .home-page.theme-march, .home-page.theme-may {
        --season-leaf-icon: url('/icons/leaf-spring.svg')
    }

    .home-page.theme-april {
        --season-glow-core: rgba(255, 222, 209, 0.42);
        --season-glow-mid: rgba(255, 222, 209, 0.18);
        --season-glow-soft: rgba(255, 222, 209, 0.07);
        --season-overlay-start: rgba(255, 239, 232, 0.14);
        --season-leaf-light: #b8e58c;
        --season-leaf-dark: #5fa84f
    }

    .home-page.theme-may {
        --season-glow-core: rgba(255, 214, 228, 0.44);
        --season-glow-mid: rgba(255, 214, 228, 0.19);
        --season-glow-soft: rgba(255, 214, 228, 0.08);
        --season-overlay-start: rgba(255, 235, 242, 0.15);
        --season-leaf-light: #bfe4a5;
        --season-leaf-dark: #6fb46b
    }

    .home-page.theme-august, .home-page.theme-july, .home-page.theme-june {
        --season-leaf-icon: url('/icons/leaf-summer.svg');
        --season-glow-core: rgba(255, 216, 110, 0.5);
        --season-glow-mid: rgba(255, 216, 110, 0.22);
        --season-glow-soft: rgba(255, 216, 110, 0.08);
        --season-overlay-start: rgba(255, 248, 220, 0.14);
        --season-leaf-light: #d4ec8b;
        --season-leaf-dark: #79b86c;
        --season-herb-light: #e7f5b3;
        --season-herb-dark: #8cc46b
    }

    .home-page.theme-september {
        --season-leaf-icon: url('/icons/leaf-autumn.svg');
        --season-glow-core: rgba(244, 198, 125, 0.46);
        --season-glow-mid: rgba(244, 198, 125, 0.2);
        --season-glow-soft: rgba(244, 198, 125, 0.08);
        --season-overlay-start: rgba(251, 237, 215, 0.14);
        --season-leaf-light: #cfd27a;
        --season-leaf-dark: #909a4f;
        --season-seed-light: #d8b46b;
        --season-seed-dark: #a17138
    }

    .home-page.theme-october {
        --season-leaf-icon: url('/icons/leaf-autumn.svg');
        --season-glow-core: rgba(232, 157, 83, 0.44);
        --season-glow-mid: rgba(232, 157, 83, 0.18);
        --season-glow-soft: rgba(232, 157, 83, 0.08);
        --season-overlay-start: rgba(248, 225, 204, 0.13);
        --season-leaf-light: #f0bb63;
        --season-leaf-dark: #c46a2d;
        --season-seed-light: #dda35d
    }

    .home-page.theme-november {
        --season-leaf-icon: url('/icons/leaf-autumn.svg');
        --season-glow-core: rgba(190, 164, 134, 0.34);
        --season-glow-mid: rgba(190, 164, 134, 0.14);
        --season-glow-soft: rgba(190, 164, 134, 0.06);
        --season-overlay-start: rgba(236, 229, 220, 0.1);
        --season-leaf-light: #c8aa7a;
        --season-leaf-dark: #8f6a4f;
        --season-seed-light: #c6a07c;
        --season-seed-dark: #7a5a45
    }

    .home-page.theme-december {
        --season-leaf-icon: url('/icons/leaf-winter.svg');
        --season-glow-core: rgba(206, 232, 255, 0.62);
        --season-glow-mid: rgba(206, 232, 255, 0.28);
        --season-glow-soft: rgba(206, 232, 255, 0.1);
        --season-overlay-start: rgba(236, 246, 255, 0.18);
        --season-seed-light: #d7dfeb;
        --season-seed-dark: #93a7bf
    }

.home-hero, .home-page, html {
    position: relative
}

.home-hero {
    padding: 2rem 1rem 1.5rem
}

.home-hero-content {
    position: relative;
    z-index: 1
}

.seasonal-particles {
    position: absolute;
    inset: 0;
    display: none;
    pointer-events: none;
    overflow: hidden;
    z-index: 0
}

.home-page.monthly-theme .seasonal-particles {
    display: block
}

.seasonal-particle {
    position: absolute;
    display: block;
    transform: translate3d(0,0,0) rotate(var(--seasonal-rotation, 0deg));
    animation: seasonalParticleFall linear infinite
}

    .seasonal-particle.icon-particle {
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain
    }

    .seasonal-particle.lentil {
        width: .95rem;
        height: 1.25rem;
        background-image: url(/icons/lentil.svg)
    }

    .seasonal-particle.leaf-autumn, .seasonal-particle.leaf-spring, .seasonal-particle.leaf-summer, .seasonal-particle.leaf-winter {
        width: 1rem;
        height: 1.45rem
    }

    .seasonal-particle.leaf-spring {
        background-image: url(/icons/leaf-spring.svg)
    }

    .seasonal-particle.leaf-summer {
        background-image: url(/icons/leaf-summer.svg)
    }

    .seasonal-particle.leaf-autumn {
        background-image: url(/icons/leaf-autumn.svg)
    }

    .seasonal-particle.leaf-winter {
        background-image: url(/icons/leaf-winter.svg)
    }

    .seasonal-particle.herb {
        width: .8rem;
        height: 1.2rem;
        background-image: url(/icons/herb.svg)
    }

    .seasonal-particle.seed {
        width: 1.1rem;
        height: 1.1rem;
        background-image: url(/icons/seed.svg)
    }

    .seasonal-particle.flower-1, .seasonal-particle.flower-2, .seasonal-particle.flower-3, .seasonal-particle.flower-4, .seasonal-particle.flower-5 {
        width: 1rem;
        height: 1rem
    }

    .seasonal-particle.flower-1 {
        background-image: url(/icons/flower-1.svg)
    }

    .seasonal-particle.flower-2 {
        background-image: url(/icons/flower-2.svg)
    }

    .seasonal-particle.flower-3 {
        background-image: url(/icons/flower-3.svg)
    }

    .seasonal-particle.flower-4 {
        background-image: url(/icons/flower-4.svg)
    }

    .seasonal-particle.flower-5 {
        background-image: url(/icons/flower-5.svg)
    }

    .seasonal-particle.blossom-1, .seasonal-particle.blossom-2, .seasonal-particle.blossom-3 {
        width: .95rem;
        height: .95rem
    }

    .seasonal-particle.blossom-1 {
        background-image: url(/icons/blossom-1.svg)
    }

    .seasonal-particle.blossom-2 {
        background-image: url(/icons/blossom-2.svg)
    }

    .seasonal-particle.blossom-3 {
        background-image: url(/icons/blossom-3.svg)
    }

    .seasonal-particle.snowflake-1, .seasonal-particle.snowflake-2, .seasonal-particle.snowflake-3 {
        width: .9rem;
        height: .9rem
    }

    .seasonal-particle.snowflake-1 {
        background-image: url(/icons/snowflake-1.svg)
    }

    .seasonal-particle.snowflake-2 {
        background-image: url(/icons/snowflake-2.svg)
    }

    .seasonal-particle.snowflake-3 {
        background-image: url(/icons/snowflake-3.svg)
    }

@media (max-width:767px) {
    .home-page::before {
        top: -10rem;
        width: min(50rem,145vw);
        height: min(50rem,145vw)
    }

    .home-hero {
        padding-top: 1.5rem;
        padding-bottom: 1.25rem
    }
}

@media (prefers-reduced-motion:reduce) {
    .seasonal-particles {
        display: none !important
    }

    .home-page::before {
        filter: none
    }
}

button[disabled] {
    background-color: #ccc;
    cursor: not-allowed
}

div a {
    color: #00f;
    cursor: pointer;
    text-decoration: underline
}

h2 {
    color: #333;
    margin-bottom: 1.25rem
}

html {
    font-size: 1rem;
    min-height: 100%
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px)
}

.form-card {
    width: 100%;
    max-width: 500px;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.1)
}

.auth-form-width {
    max-width: 420px
}

.form-group {
    margin-bottom: 1.5rem
}

.optional-form-group {
    background: #faf7fd;
    border: 1px dashed rgba(155,77,202,.35);
    border-radius: .75rem;
    padding: 1rem
}

.form-group label {
    margin-bottom: .5rem;
    font-weight: 500;
    display: block
}

.form-group input:not([type=checkbox]):not([type=radio]), .form-group select {
    width: 100%;
    padding: .75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem
}

    .form-group input:not([type=checkbox]):not([type=radio]):focus, .form-group select:focus {
        outline: 0;
        border-color: #9b4dca;
        box-shadow: 0 0 0 3px rgba(155,77,202,.1)
    }

    .form-group input::placeholder, .form-group select::placeholder {
        color: #bbb;
        opacity: 1
    }

.form-group input:-ms-input-placeholder {
    color: #bbb
}

.form-group input::-ms-input-placeholder {
    color: #bbb
}

.alert, .btn {
    border-radius: 4px
}

.alert {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #d1ecf1
}

.btn {
    padding: .75rem;
    font-size: 1rem;
    font-weight: 500;
    border: 0;
    cursor: pointer;
    transition: background-color .3s ease;
    white-space: nowrap;
    width: 100%
}

.btn-primary {
    background-color: #9b4dca;
    color: #fff
}

    .btn-primary:hover {
        background-color: #7d33b0
    }

    .btn-primary:disabled {
        background-color: #ccc;
        cursor: not-allowed
    }

.btn-secondary {
    background-color: #6c757d;
    color: #fff
}

    .btn-secondary:hover {
        background-color: #5a6268
    }

    .btn-secondary:disabled {
        background-color: #ccc;
        cursor: not-allowed
    }

@media (min-width:768px) {
    .home-hero {
        padding-top: 2.75rem;
        padding-bottom: 2rem
    }

    .form-container {
        padding: 3rem 2rem;
        min-height: calc(100vh - 150px)
    }

    .form-card {
        padding: 2.5rem;
        box-shadow: 0 4px 12px rgba(0,0,0,.15)
    }

    h1 {
        margin-bottom: 2rem;
        text-align: center
    }

    .btn {
        width: auto;
        display: inline-block;
        min-width: 120px
    }
}

@media (max-width:767px) {
    .home-hero {
        padding-top: 1.5rem;
        padding-bottom: 1.25rem
    }

    .home-page::before {
        top: -10rem;
        width: min(50rem,145vw);
        height: min(50rem,145vw)
    }

    .form-container {
        padding: 1rem;
        min-height: auto;
        align-items: stretch
    }

    .form-card {
        padding: 1.5rem;
        max-width: 100%;
        box-shadow: none;
        border: 1px solid #eee
    }

    h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: center
    }

    .form-group {
        margin-bottom: 1rem
    }

        .form-group input, .form-group select {
            padding: .625rem;
            font-size: 16px
        }

        .form-group label {
            font-size: .95rem
        }

    .alert {
        font-size: .9rem;
        padding: .75rem
    }

        .alert ul {
            margin-left: 1rem
        }

        .alert li {
            margin-bottom: .5rem
        }

    .btn {
        padding: .875rem;
        font-size: 1rem
    }

    #charCount, .form-text {
        font-size: .85rem
    }

    .form-text {
        display: block;
        margin-top: .25rem
    }
}

@media (max-width:479px) {
    .seasonal-particle {
        transform-origin: center
    }

    .form-container {
        padding: .5rem
    }

    .form-card {
        padding: 1rem;
        border-radius: 4px
    }

    h1 {
        font-size: 1.25rem;
        margin-bottom: 1rem
    }

    .form-group {
        margin-bottom: .75rem
    }

        .alert li, .form-group label {
            font-size: .9rem;
            margin-bottom: .375rem
        }

        .form-group input, .form-group select {
            padding: .5rem;
            font-size: 16px
        }

    .alert {
        padding: .625rem;
        font-size: .85rem
    }

        .alert strong {
            display: block;
            margin-bottom: .5rem
        }

        .alert ul {
            padding-left: 1.25rem
        }

        .alert li {
            font-size: .8rem
        }

    .btn {
        padding: .75rem;
        font-size: .95rem
    }

    .d-flex {
        flex-direction: column;
        gap: .5rem
    }

        .d-flex > input {
            flex: 1 !important
        }
}

@media (min-width:1200px) {
    .form-container {
        padding: 4rem 2rem
    }

    .form-card {
        max-width: 550px;
        padding: 3rem
    }

    h1 {
        margin-bottom: 2.5rem;
        font-size: 2.5rem
    }
}

table {
    border-spacing: 0;
    border: 0;
    table-layout: fixed;
    width: 100%
}

    table tr > td, table tr > th {
        border-bottom: .125rem solid var(--border-color);
        padding: 1rem;
        text-align: left;
        align-content: center
    }

textarea {
    border-radius: .5rem;
    border: .0625rem solid #ddd;
    height: 9.375rem;
    margin-bottom: 1rem;
    padding: .5rem;
    width: 100%
}

#cancelReply {
    background-color: var(--secondary-color);
    border-radius: 1.5625rem;
    border: 0;
    color: #fff;
    margin-left: .5rem;
    padding: .5rem 1rem
}

    #cancelReply:hover {
        background-color: var(--hover-secondary-color)
    }

#comments {
    margin-top: 1.5rem
}

.password-strength-container {
    margin-top: .5rem
}

.password-strength-bar {
    background-color: #e9ecef;
    border-radius: .25rem;
    height: .5rem;
    overflow: hidden;
    width: 100%
}

.password-strength-fill {
    background-color: #dc3545;
    height: 100%;
    transition: width .3s ease,background-color .3s ease;
    width: 0%
}

#matchText, .password-strength-text {
    display: block;
    margin-top: .25rem
}

    #matchText.match-success {
        color: #28a745
    }

    #matchText.match-error {
        color: #dc3545
    }

#selectedTags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1rem
}

#tagSearchInput {
    border-radius: .25rem;
    border: 1px solid #ccc;
    box-sizing: border-box;
    min-width: 30rem;
    padding: .5rem
}

.account-form-group {
    margin-bottom: 1rem;
    margin-top: 1rem
}

.add-comment-btn {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem
}

.addBadgeButton {
    margin: .5rem 0;
    background-color: #90ee90;
    border-radius: .25rem;
    border: 0;
    font-size: 1.125rem;
    padding: .375rem .625rem
}

.addBadgeButton, .addIngredientButton, .addPartButton, .addStepButton {
    margin-top: .5rem
}

.addIngredientButton, .addPartButton, .addStepButton, .addTagButton, .addToolButton {
    background-color: #90ee90;
    border-radius: .25rem;
    border: 0;
    font-size: 1.125rem;
    padding: .375rem .625rem
}

    .addBadgeButton:hover, .addIngredientButton:hover, .addPartButton:hover, .addStepButton:hover, .addTagButton:hover, .addToolButton:hover {
        background-color: #d0d0d0
    }

.addPartButton {
    margin-bottom: 1rem
}

.addTagButton, .addToolButton {
    margin: .5rem 0
}

.recipe-edit-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center
}

    .recipe-edit-actions .c-button {
        width: auto
    }

.recipe-save-button {
    align-items: center;
    display: inline-flex;
    gap: .625rem;
    justify-content: center;
    min-width: 12rem
}

    .recipe-save-button.is-saving {
        background-color: #9e9e9e;
        border-color: #9e9e9e;
        cursor: wait;
        opacity: .9
    }

.recipe-save-button-spinner {
    animation: recipeSaveButtonSpinner .8s linear infinite;
    border: .1875rem solid rgba(255,255,255,.35);
    border-radius: 50%;
    border-top-color: #fff;
    display: inline-block;
    flex: 0 0 auto;
    height: 1rem;
    width: 1rem
}

.alphabet-nav, .alphabet-section {
    border-bottom: .063rem solid #d3d3d3
}

.alphabet-nav {
    background-color: var(--primary-color);
    border-radius: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
    position: sticky;
    top: 0;
    transition: all .3s ease;
    width: 100%;
    z-index: 998
}

    .alphabet-nav a {
        color: #fff;
        font-size: 1.5rem;
        padding: .5rem;
        text-decoration: none
    }

        .alphabet-nav a:hover {
            transform: scale(1.2)
        }

.alphabet-section {
    margin-top: 2rem;
    text-align: center
}

.auto-width {
    width: auto !important
}

.badge-dark {
    color: #000
}

.badge-inline button, .badge-inline input, .c-recipe-badge button, .c-recipe-badge input, .c-recipe-tag button, .c-recipe-tag input, .c-recipe-tool button, .c-recipe-tool input, .season-inline button, .tag-inline button, .tag-inline input, .tool-inline button, .tool-inline input, .tool-inline input[name*=Quantity] {
    margin: 0;
    padding: .3125rem
}

.badge-inline, .season-inline, .tag-inline, .tool-inline {
    align-items: center;
    display: flex;
    gap: .8rem;
    margin: .5rem 0
}

.breadcrumb {
    gap: .5rem
}

    .breadcrumb a {
        color: #007bff;
        text-decoration: none
    }

        .alphabet-nav a:hover, .breadcrumb a:hover {
            text-decoration: underline
        }

    .breadcrumb span {
        font-weight: 700
    }

.breadcrumb-item {
    color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
    font-size: 1rem
}

.btn-link.nav-link:focus, .btn:active:focus, .btn:focus, .form-check-input:focus, .form-control:focus {
    box-shadow: 0 0 0 .1rem #fff,0 0 0 .25rem #258cfb
}

.button-wrapper {
    display: flex;
    justify-content: center;
    width: 100%
}

.c-button, .c-button-oval {
    transition: background-color .3s ease
}

.c-button {
    align-items: center;
    border-radius: 3.125rem;
    border: .125rem solid var(--primary-color);
    color: #000;
    display: inline-flex;
    justify-content: center;
    padding: 1rem 2rem;
    text-align: center;
    text-decoration: none;
    white-space: nowrap
}

.c-button-oval {
    background-color: var(--primary-color);
    border-radius: 1.5625rem;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    padding: .8rem 2rem
}

    .c-button-oval:hover {
        background-color: var(--hover-color)
    }

.c-button:focus {
    outline: .1875rem solid #258cfb
}

.c-button:hover {
    background-color: purple;
    color: #fff;
    transform: scale(1.05)
}

.c-recipe-badge {
    align-items: center;
    display: flex;
    gap: .8rem;
    margin: .5rem 0
}

.c-recipe-comments {
    background: linear-gradient(180deg,#fbf7fc 0,#fff 100%);
    border: 1px solid rgba(128,0,128,.12);
    border-radius: 1rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.08);
    margin-top: 1rem;
    padding: 2rem
}

    .c-recipe-comments h2 {
        color: var(--primary-color);
        font-weight: 700;
        margin-bottom: .5rem
    }

.recipe-comments-header {
    margin-bottom: 1.5rem
}

    .recipe-comments-header p {
        color: #5f5f72;
        margin: 0
    }

.recipe-comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem
}

.recipe-comment-empty {
    background-color: #fff;
    border: 1px dashed rgba(128,0,128,.2);
    border-radius: .75rem;
    color: #5f5f72;
    padding: 1rem 1.25rem
}

.c-recipe-content {
    display: grid;
    grid-template-areas: "ingredients instructions";
    grid-template-columns: 40% 60%;
    grid-template-rows: auto 1fr
}

.c-recipe-content-box {
    padding: 1rem
}

.encyclopedia-detail, .encyclopedia-detail-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.encyclopedia-detail-card {
    align-items: start;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 .125rem .625rem rgba(0,0,0,.08);
    gap: 1rem
}

.encyclopedia-detail-image {
    border-radius: .75rem;
    max-width: 18rem;
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%
}

.encyclopedia-detail-description {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 55rem;
    width: 100%
}

.encyclopedia-detail-card, .encyclopedia-detail-description, .encyclopedia-related-card, .encyclopedia-related-card-title, .scroller-list {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-word;
    word-break: break-word
}

#detail-name {
    align-self: center
}

.ingredient-nutrition {
    align-items: stretch
}

.ingredient-nutrition-header, .ingredient-nutrition-list {
    width: 100%
}

.ingredient-nutrition-title {
    margin: 0
}

.ingredient-nutrition-list {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-bottom: .75rem
}

.ingredient-nutrition-item {
    align-items: baseline;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding-bottom: .75rem
}

    .ingredient-nutrition-item:last-child {
        border-bottom: none;
        padding-bottom: 0
    }

.ingredient-nutrition-label, .ingredient-nutrition-value {
    font-size: 1.05rem
}

.ingredient-nutrition-value {
    font-weight: 700;
    text-align: right;
    white-space: nowrap
}

.ingredient-nutrition-source {
    color: #5f5f72;
    margin: 0
}

.ingredient-food-group {
    background: rgba(128,0,128,.08);
    border-radius: 999px;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    padding: .45rem .9rem
}

.encyclopedia-structured-content, .encyclopedia-structured-section {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.encyclopedia-structured-section {
    gap: .75rem
}

.encyclopedia-structured-heading, .encyclopedia-structured-paragraph {
    margin: 0
}

.encyclopedia-structured-list {
    margin: 0;
    padding-left: 1.5rem
}

    .encyclopedia-structured-definition-list li + li, .encyclopedia-structured-list li + li {
        margin-top: .4rem
    }

.encyclopedia-structured-empty {
    color: #666;
    font-style: italic;
    margin: 0
}

.draft-lookup-admin {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.draft-lookup-intro {
    align-items: flex-start;
    justify-content: space-between
}

.draft-lookup-format-guide, .draft-lookup-intro-copy {
    width: 100%
}

.draft-lookup-import, .draft-lookup-import-form {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.draft-lookup-format-guide h3, .draft-lookup-intro-copy h2 {
    margin-bottom: .75rem
}

.draft-lookup-eyebrow {
    color: var(--primary-color);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: .5rem;
    text-transform: uppercase
}

.draft-lookup-format-list {
    margin: 0;
    padding-left: 1.25rem
}

    .draft-lookup-format-list li + li {
        margin-top: .5rem
    }

.draft-lookup-filter .btn, .draft-lookup-save, .draft-lookup-toolbar .btn {
    width: auto
}

.draft-lookup-columns {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr
}

.draft-lookup-column {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.draft-lookup-column-header {
    align-items: center;
    display: flex;
    gap: .75rem;
    justify-content: space-between
}

    .draft-lookup-column-header h2, .draft-lookup-section-summary h2, .draft-lookup-section-summary h3, .encyclopedia-section-header h2 {
        margin: 0
    }

.draft-lookup-count {
    font-size: .95rem
}

.draft-lookup-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 .125rem .625rem rgba(0,0,0,.06);
    overflow: hidden
}

    .draft-lookup-item[open], .draft-lookup-section[open] {
        box-shadow: 0 .25rem 1rem rgba(0,0,0,.1)
    }

.draft-lookup-item-summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    list-style: none;
    padding: 1rem 1.25rem
}

    .draft-lookup-item-summary::-webkit-details-marker, .draft-lookup-section-summary::-webkit-details-marker {
        display: none
    }

.draft-lookup-item-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700
}

.draft-lookup-item-subtitle {
    color: #666;
    display: block;
    font-size: .9rem;
    margin-top: .15rem
}

.draft-lookup-section {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    box-shadow: 0 .125rem .625rem rgba(0,0,0,.06);
    overflow: hidden
}

.draft-lookup-section-summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    list-style: none;
    padding: 1rem 1.25rem
}

.draft-lookup-section-subtitle {
    color: #666;
    margin: .25rem 0 0
}

.draft-lookup-section-body {
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem
}

.draft-lookup-list-toolbar {
    display: flex;
    gap: .75rem
}

    .draft-lookup-list-toolbar .form-control {
        max-width: 24rem
    }

.draft-lookup-list-status {
    min-height: 1.5rem
}

.draft-lookup-lazy-list, .draft-lookup-related-list {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.draft-lookup-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

    .draft-lookup-pagination .btn.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: #fff
    }

.draft-lookup-import-stack {
    gap: 1.5rem
}

.draft-lookup-overview-item {
    align-items: flex-start;
    border: 1px solid var(--border-color);
    border-radius: .85rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem
}

.draft-lookup-overview-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .75rem
}

.draft-lookup-overview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

.draft-lookup-overview-actions {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: .75rem
}

.draft-lookup-inline-form {
    display: inline-flex
}

.draft-lookup-inline-grid {
    grid-template-columns: repeat(2,minmax(0,1fr))
}

.draft-lookup-nutrition-form {
    border: 1px dashed var(--border-color);
    border-radius: .85rem;
    padding: 1rem
}

.draft-lookup-nutrition-grid {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.draft-lookup-nutrition-grid-header, .draft-lookup-nutrition-grid-row {
    align-items: center;
    column-gap: .75rem;
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(8rem,.8fr) auto
}

.draft-lookup-portion-grid-header, .draft-lookup-portion-grid-row {
    grid-template-columns: minmax(10rem,1fr) minmax(12rem,1.2fr) minmax(8rem,.7fr) auto
}

.draft-lookup-nutrition-grid-header {
    color: #666;
    font-size: .9rem;
    font-weight: 700
}

.draft-lookup-nutrition-grid-body {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.draft-lookup-nutrition-grid-row {
    border: 1px solid var(--border-color);
    border-radius: .75rem;
    padding: .75rem
}

.draft-lookup-nutrition-list {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.draft-lookup-item-form {
    border-top: 1px solid var(--border-color);
    padding: 1.25rem
}

.draft-lookup-editor-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0,1.1fr) minmax(18rem,.9fr)
}

.draft-lookup-editor-panel, .draft-lookup-preview-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.draft-lookup-field {
    margin-bottom: 0
}

    .draft-lookup-field textarea {
        min-height: 18rem;
        resize: vertical
    }

.draft-lookup-toolbar, .draft-lookup-upload-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.draft-lookup-upload-row {
    align-items: center
}

    .draft-lookup-upload-row .form-control {
        flex: 1 1 16rem
    }

.draft-lookup-upload-status {
    min-height: 1.5rem
}

.draft-lookup-error-list {
    margin: 0;
    padding-left: 1.25rem
}

    .draft-lookup-error-list li + li {
        margin-top: .35rem
    }

.draft-lookup-check {
    margin-bottom: .25rem
}

.draft-lookup-preview-title {
    color: #666;
    font-size: .95rem;
    font-weight: 600;
    margin: 0
}

.draft-lookup-preview-card {
    align-items: stretch;
    min-height: 100%
}

.draft-lookup-preview-image {
    aspect-ratio: 4/3;
    background: #f2f2f2;
    object-fit: cover
}

.draft-lookup-preview-description {
    max-width: none
}

.draft-lookup-portion-ingredient-row {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0,1fr) auto
}

.draft-lookup-portion-ingredient-stack {
    display: grid;
    gap: 1rem
}

.draft-lookup-portion-picker {
    display: grid;
    gap: .75rem
}

.draft-lookup-portion-hidden-input {
    display: none
}

.draft-lookup-portion-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    min-height: 2.5rem
}

.draft-lookup-portion-autocomplete {
    position: relative
}

.draft-lookup-portion-selected-empty {
    align-items: center;
    background: #f8f9fa;
    border: 1px dashed var(--border-color);
    border-radius: .85rem;
    color: #6c757d;
    display: inline-flex;
    padding: .6rem .85rem
}

.draft-lookup-portion-chip {
    align-items: center;
    background: #f3f7f2;
    border: 1px solid #d6e6d2;
    border-radius: 999px;
    display: inline-flex;
    gap: .5rem;
    padding: .35rem .4rem .35rem .75rem
}

.draft-lookup-portion-chip-remove {
    align-items: center;
    background: #d9534f;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: .95rem;
    height: 1.4rem;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 1.4rem
}

.draft-lookup-portion-autocomplete-menu {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: .85rem;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08);
    display: grid;
    gap: .2rem;
    left: 0;
    margin-top: .35rem;
    max-height: 18rem;
    overflow-y: auto;
    padding: .35rem;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 20
}

.draft-lookup-portion-autocomplete-option {
    align-items: center;
    background: 0 0;
    border: 0;
    border-radius: .65rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    padding: .6rem .75rem;
    text-align: left;
    width: 100%
}

    .draft-lookup-portion-autocomplete-option small {
        color: #6c757d;
        flex-shrink: 0;
        margin-left: 1rem
    }

    .draft-lookup-portion-autocomplete-option.is-highlighted, .draft-lookup-portion-autocomplete-option:hover {
        background: #f3f7f2
    }

.draft-lookup-portion-ingredient-actions {
    justify-content: flex-start
}

.draft-lookup-portion-status {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem
}

.draft-lookup-portion-examples {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit,minmax(16rem,1fr))
}

.draft-lookup-portion-example {
    border: 1px solid var(--border-color);
    border-radius: .85rem;
    padding: 1rem
}

.draft-lookup-portion-selection-list {
    display: grid;
    gap: .75rem;
    margin-top: 1rem
}

.draft-lookup-portion-selection-item {
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: .85rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: .85rem 1rem
}

.draft-lookup-portion-example h3 {
    margin-top: 0
}

@media (max-width:767.98px) {
    .draft-lookup-portion-grid-header, .draft-lookup-portion-grid-row, .draft-lookup-portion-ingredient-row {
        grid-template-columns: 1fr
    }

    .draft-lookup-portion-selection-item {
        align-items: stretch;
        flex-direction: column
    }

    .draft-lookup-portion-grid-header {
        display: none
    }
}

.scroller-wrapper {
    align-items: center;
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-bottom: 2rem
}

.scroller-list {
    overflow: hidden;
    justify-content: flex-start
}

.scroller-arrow {
    background: 0 0;
    border: 0;
    font-size: 2rem;
    padding: 0 1rem
}

.scroller-loading {
    color: #888;
    font-size: 1.2rem;
    margin: auto
}

.encyclopedia-related-scroller .scroller-list {
    overflow-x: auto;
    overflow-y: hidden
}

.encyclopedia-scroller-arrow {
    font-size: 1.5rem;
    padding: 0 .75rem
}

.encyclopedia-related {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.encyclopedia-section-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between
}

.encyclopedia-related-empty {
    color: #666
}

.encyclopedia-related-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit,minmax(12rem,1fr))
}

.encyclopedia-related-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    color: inherit;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-decoration: none;
    transition: transform .2s ease,box-shadow .2s ease
}

    .encyclopedia-related-card:hover {
        box-shadow: 0 .25rem 1rem rgba(0,0,0,.12);
        transform: translateY(-.125rem)
    }

.encyclopedia-related-card-image {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%
}

.encyclopedia-related-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .5rem;
    padding: 1rem
}

.encyclopedia-related-card-title {
    font-size: 1rem;
    margin: 0
}

.encyclopedia-related-card-time {
    color: #666;
    margin: 0
}

.encyclopedia-slider-controls {
    display: flex;
    gap: .5rem
}

.encyclopedia-slider-button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    box-shadow: 0 .125rem .625rem rgba(0,0,0,.08);
    color: var(--text-color);
    cursor: pointer;
    display: inline-flex;
    font-size: 1.25rem;
    height: 2.5rem;
    justify-content: center;
    padding: 0;
    width: 2.5rem
}

.encyclopedia-slider-track {
    display: grid;
    gap: 1rem;
    grid-auto-columns: minmax(12rem,15rem);
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: .5rem;
    scroll-behavior: smooth;
    scrollbar-width: thin
}

.encyclopedia-slider-card {
    min-height: 100%
}

.c-recipe-create-badges, .c-recipe-create-tools {
    margin-top: 1rem
}

.c-recipe-create-element {
    display: flex;
    font-weight: 700;
    gap: .8rem;
    margin-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
    margin-top: .5rem
}

    .c-recipe-create-element img {
        height: 2rem;
        margin-right: .5rem;
        width: 2rem
    }

.c-recipe-create-parts, .c-recipe-create-season {
    margin-top: 1rem
}

.c-recipe-create-tags {
    display: flex;
    flex-direction: column;
    margin: 1rem 0
}

.c-recipe-description.empty {
    color: #aaa
}

.c-recipe-image {
    position: relative;
    align-items: flex-end;
    display: flex;
    height: 100%;
    justify-content: center;
    order: 2;
    overflow: hidden
}

    .c-recipe-image img {
        display: block;
        height: auto;
        object-fit: contain;
        width: 100%
    }

.c-recipe-image-ratio-holder {
    display: block;
    padding-top: 70%
}

.c-recipe-ingredient {
    display: flex;
    gap: .8rem
}

.c-recipe-ingredient-item {
    align-items: center;
    background-color: #fff;
    border-radius: .25rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: .25rem;
    padding: .5rem;
    position: relative
}

    .c-recipe-ingredient-item.checked .ingredient-checkbox {
        background-color: #4caf50;
        border-color: #4caf50
    }

        .c-recipe-ingredient-item.checked .ingredient-checkbox::after, .c-recipe-tool-item.checked .tool-checkbox::after {
            color: #fff;
            content: "✔";
            font-size: .75rem
        }

.c-recipe-ingredient:last-child, .c-recipe-step-li:last-child {
    border-bottom: none
}

.recipe-sort-handle {
    align-items: center;
    background: 0 0;
    border: 0;
    color: #8c6066;
    cursor: grab;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 1.1rem;
    justify-content: center;
    margin-right: .5rem;
    padding: .25rem
}

.c-recipe-step-li {
    display: flex;
    align-items: center;
    gap: .5rem;
    list-style-type: decimal;
    position: relative
}

.c-recipe-steps-list {
    counter-reset: step
}

.c-recipe-step-li {
    counter-increment: step
}

    .c-recipe-step-li::before {
        content: counter(step)". ";
        min-width: 2em;
        margin-right: .5em;
        color: #888;
        font-weight: 700;
        font-variant-numeric: tabular-nums;
        display: inline-block
    }

.recipe-sort-handle:active {
    cursor: grabbing
}

.recipe-sort-item-dragging {
    opacity: .6
}

.c-recipe-ingredients {
    background-color: var(--primary-color)
}

.c-recipe-part-group {
    margin-bottom: 1rem
}

    .c-recipe-instructions h3, .c-recipe-part-group h5 {
        font-weight: 700
    }

    .c-recipe-part-group th span {
        font-weight: 400
    }

.c-recipe-ingredients-inner {
    background-color: var(--light-purple);
    border-radius: .5rem;
    display: flex;
    flex-direction: column;
    padding: 0 1rem
}

.c-recipe-ingredients-list {
    list-style: none;
    margin: 0;
    padding-left: 1.25rem;
    padding: 0
}

    .c-recipe-ingredients-list li, .c-recipe-tools-list li {
        cursor: pointer;
        font-size: 1rem;
        transition: color .3s ease;
        white-space: normal;
        word-wrap: break-word
    }

        .c-recipe-ingredients-list li:first-child {
            border-top-left-radius: 1rem;
            border-top-right-radius: 1rem
        }

        .c-recipe-ingredients-list li:hover {
            color: #555
        }

        .c-recipe-ingredients-list li:last-child {
            border-bottom-left-radius: 1rem;
            border-bottom-right-radius: 1rem
        }

.c-recipe-ingredients-title {
    font-weight: 700;
    margin-bottom: 1.5rem
}

.c-recipe-instructions {
    grid-area: instructions
}

.c-recipe-intro {
    display: grid;
    overflow: hidden;
    width: 100%
}

.c-recipe-intro-wrap {
    position: relative
}

.c-recipe-part {
    background-color: #f9f9f9;
    border-radius: .5rem;
    border: .0625rem solid #ddd;
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.1);
    margin-bottom: 1.25rem;
    padding: 1rem
}

    .c-recipe-part h4 {
        color: #333;
        font-size: 1.2rem;
        margin-top: 0
    }

.c-recipe-rating {
    margin: .5rem
}

.logs-toolbar-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(14rem,20rem) minmax(16rem,1fr) auto
}

.logs-toolbar-actions {
    align-items: end;
    display: flex
}

    .logs-toolbar-actions .btn {
        width: auto
    }

.logs-summary {
    color: #666
}

.logs-viewer-card {
    min-height: 32rem
}

.logs-content {
    background-color: #111827;
    border-radius: .75rem;
    color: #f9fafb;
    font-family: Consolas,"Courier New",monospace;
    font-size: .95rem;
    line-height: 1.5;
    margin: 0;
    max-height: 70vh;
    overflow: auto;
    padding: 1rem;
    white-space: pre-wrap;
    word-break: break-word
}

@media (max-width:991px) {
    .logs-toolbar-grid {
        grid-template-columns: 1fr
    }

    .logs-toolbar-actions {
        align-items: stretch
    }
}

.c-recipe-related-recipes {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(4,1fr);
    padding: 1.25rem
}

    .c-recipe-related-recipes .recipe-card {
        border: .063rem solid #ccc;
        padding: .625rem;
        text-align: center;
        transition: box-shadow .3s ease
    }

        .c-recipe-related-recipes .recipe-card img {
            height: auto;
            transition: transform .3s ease;
            width: 100%
        }

            .c-recipe-related-recipes .recipe-card img:hover {
                transform: scale(1.1)
            }

    .c-recipe-related-recipes .recipe-card-link {
        color: inherit;
        text-decoration: none
    }

        .c-recipe-related-recipes .recipe-card-link:hover {
            text-decoration: none;
            transform: scale(1.05)
        }

    .c-recipe-related-recipes .recipe-card:hover {
        box-shadow: 0 .25rem .5rem rgba(0,0,0,.1)
    }

.c-recipe-step {
    border: 0;
    cursor: pointer;
    position: relative;
    transition: color .3s ease
}

    .c-recipe-ingredient-item:focus-visible, .c-recipe-step:focus-visible, .c-recipe-tool-item:focus-visible, .toggle-comment-form:focus-visible {
        outline: .125rem solid var(--primary-color);
        outline-offset: .125rem
    }

    .c-recipe-step.strikethrough {
        color: #d3d3d3;
        text-decoration: line-through
    }

    .c-recipe-step:hover {
        color: #d3d3d3
    }

.c-recipe-steps {
    box-sizing: border-box;
    font-size: 1.125rem;
    line-height: 1.5;
    width: 100%
}

    .c-recipe-steps h5, .c-recipe-steps-label h3 {
        font-weight: 700;
        padding: 0
    }

.c-recipe-steps-label {
    margin-bottom: 1.5rem
}

.c-recipe-tag {
    align-items: center;
    display: flex;
    gap: .8rem;
    margin: .5rem 0
}

.c-recipe-title, .c-recipe-tools-group h5 {
    font-weight: 700
}

.recipe-tag-link-content {
    display: block
}

.c-recipe-tool {
    align-items: center;
    display: flex;
    gap: .8rem;
    margin: .5rem 0
}

    .c-recipe-tool input[name*=Quantity] {
        width: 5rem
    }

.c-recipe-tool-item {
    align-items: center;
    background-color: #fff;
    border-radius: .25rem;
    display: flex;
    justify-content: space-between;
    margin-bottom: .25rem;
    padding: .5rem;
    position: relative
}

    .c-recipe-tool-item.checked .tool-checkbox {
        background-color: #4caf50;
        border-color: #4caf50
    }

.c-recipe-tools {
    padding-top: 0 !important
}

.c-recipe-tools-inner {
    background-color: var(--light-purple);
    border-radius: .5rem;
    display: flex;
    flex-direction: column
}

.c-recipe-tools-list {
    list-style: none;
    margin: 0;
    padding: 0
}

    .c-recipe-tools-list li:first-child {
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem
    }

    .c-recipe-tools-list li:hover {
        color: #555
    }

    .c-recipe-tools-list li:last-child {
        border-bottom-left-radius: 1rem;
        border-bottom-right-radius: 1rem
    }

.c-recipe-tools-title {
    font-weight: 700;
    margin-bottom: 1.5rem
}

.card-img-overlay {
    background: rgba(155,77,202,.5);
    border-radius: initial;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: .25rem;
    text-shadow: .0625rem .0625rem .125rem #000;
    top: auto
}

.card-text-overlay {
    background-color: rgba(155,77,202,.5);
    bottom: 0;
    color: #fff;
    font-size: 1.5rem;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center
}

.scroller-list .card {
    border: .125rem solid var(--primary-color);
    box-shadow: 0 .25rem .75rem rgba(155,77,202,.2);
    min-height: 250px;
    min-width: 200px;
    overflow: hidden;
    transition: box-shadow .3s ease
}

    .scroller-list .card:hover {
        box-shadow: 0 .5rem 1rem rgba(155,77,202,.3)
    }

    .scroller-list .card img {
        transition: transform .3s ease
    }

    .scroller-list .card:hover img {
        -ms-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1)
    }

.carousel-control-next, .carousel-control-prev {
    width: 5%
}

.carousel-inner .carousel-item-end, .carousel-inner .carousel-item-start {
    transform: translateX(0)
}

.carousel-inner .carousel-item-next, .carousel-inner .carousel-item-prev, .carousel-inner .carousel-item.active, .center-div {
    display: flex
}

.carousel-item .col {
    flex: 0 0 auto;
    padding: 0 .625rem;
    width: 100%
}

.carousel-item .row {
    display: flex;
    flex-wrap: nowrap
}

.center-div {
    align-items: center;
    justify-content: center
}

    .center-div img {
        margin: .5rem;
        width: 1.5rem !important
    }

.clearfix::after {
    clear: both;
    content: "";
    display: table
}

.comment {
    background-color: var(--comment-background);
    border-radius: .625rem;
    margin-bottom: 1rem
}

.comment-date {
    color: #777;
    font-size: .8rem
}

.comment-header {
    color: var(--primary-color);
    font-weight: 700
}

.comment-text {
    background-color: #fff;
    border: 1px solid rgba(128,0,128,.12);
    border-radius: .5rem;
    box-shadow: 0 .125rem .5rem rgba(0,0,0,.06);
    padding: 1rem
}

.comment-content-row {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between
}

.comment-author-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

.comment-author-rating {
    display: inline-flex;
    gap: .15rem
}

.comment-author-rating-heart {
    color: rgba(128,0,128,.2);
    font-size: .9rem;
    line-height: 1
}

    .comment-author-rating-heart.is-filled {
        color: var(--primary-color)
    }

.comment-message {
    flex: 1
}

.comment-delete-button {
    flex-shrink: 0
}

.comment-delete-confirm {
    align-items: center;
    background-color: #fff5f5;
    border: 1px solid rgba(220,53,69,.2);
    border-radius: .75rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding: .85rem 1rem
}

.comment-delete-confirm-actions {
    display: flex;
    flex-shrink: 0;
    gap: .5rem
}

.toggle-comment-form {
    background: linear-gradient(135deg,var(--primary-color) 0%,#9b4d96 100%);
    border: 1px solid rgba(128,0,128,.2);
    border-radius: .75rem;
    box-shadow: 0 .375rem 1rem rgba(128,0,128,.18);
    color: #fff;
    cursor: pointer;
    display: block;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    text-align: center;
    transition: transform .2s ease,box-shadow .2s ease;
    width: 100%
}

    .toggle-comment-form:hover {
        box-shadow: 0 .5rem 1.25rem rgba(128,0,128,.24);
        transform: translateY(-1px)
    }

.recipe-comment-composer {
    background-color: #fff;
    border: 1px solid rgba(128,0,128,.12);
    border-radius: .75rem;
    box-shadow: 0 .25rem .75rem rgba(0,0,0,.06);
    padding: 1.25rem
}

.recipe-comment-label {
    color: var(--primary-color);
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: .75rem
}

.recipe-comment-textarea {
    border: 1px solid rgba(128,0,128,.2);
    border-radius: .75rem;
    margin-bottom: 1rem;
    min-height: 8rem;
    padding: .9rem 1rem;
    resize: vertical;
    width: 100%
}

    .recipe-comment-textarea:focus {
        border-color: rgba(128,0,128,.5);
        box-shadow: 0 0 0 .2rem rgba(128,0,128,.12);
        outline: 0
    }

.recipe-comment-submit {
    min-width: 12rem
}

.user-comments-not-logged-in {
    background-color: #fff;
    border: 1px solid rgba(128,0,128,.12);
    border-radius: .75rem;
    color: #5f5f72;
    padding: 1rem 1.25rem
}

.comment-actions .btn {
    font-weight: 600
}

.completed {
    color: #d3d3d3
}

.confirm-button {
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 20px
}

    .confirm-button.no-button {
        background-color: #ccc;
        color: #333
    }

    .confirm-button.yes-button {
        background-color: #4caf50;
        color: #fff
    }

        .confirm-button.yes-button:hover {
            background-color: #388e3c
        }

    .confirm-button.no-button:hover {
        background-color: #bdbdbd
    }

.confirm-dialog {
    animation: fadeIn .3s ease;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
    max-width: 400px;
    padding: 20px;
    text-align: center;
    width: 90%
}

    .confirm-dialog p {
        font-size: 16px;
        margin-bottom: 20px
    }

.confirm-dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: center
}

.confirm-dialog-overlay {
    align-items: center;
    background: rgba(0,0,0,.5);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000
}

.manage-recipes-actions {
    display: grid;
    gap: .5rem;
    grid-template-columns: repeat(2,minmax(0,max-content));
    align-items: start
}

    .manage-recipes-actions .btn {
        width: 100%
    }

.cooking-examples {
    margin-top: 2rem
}

.cooking-time, .cooking-time-detail {
    align-items: center;
    display: flex;
    font-size: 1rem
}

.cooking-time {
    justify-content: center
}

    .cooking-time img {
        height: 1rem;
        margin-right: .5rem;
        width: 1rem
    }

.cooking-time-detail {
    margin: .5rem
}

    .cooking-time-detail img {
        height: 2rem;
        margin-right: .5rem;
        width: 2rem
    }

.cooking-time-detail-create {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 1rem;
    margin-bottom: .5rem;
    margin-left: .5rem
}

.cursor-pointer {
    cursor: pointer
}

.data-consent {
    align-items: center;
    display: flex;
    flex-wrap: inherit;
    font-size: .9rem;
    margin: 1rem 0
}

    .data-consent label {
        margin-left: .5rem
    }

.definition-label {
    display: inline;
    font-weight: 700
}

.definition-text {
    display: inline
}

.delete-comment {
    background-color: var(--delete-button-color);
    border-radius: .75rem;
    border: 0;
    color: #fff;
    cursor: pointer;
    float: right;
    font-weight: 700;
    margin-top: .5rem;
    padding: .5rem 1rem
}

    .delete-comment:hover {
        background-color: var(--delete-button-hover)
    }

.dictionary-definition {
    margin-top: 1rem
}

.dictionary-entry {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    font-style: italic
}

.dictionary-entry-type {
    font-style: italic
}

.dictionary-item {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start
}

.dictionary-list {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.dictionary-word {
    font-weight: 700;
    margin-right: .5rem;
    text-decoration: none
}

.disabled-nav-link {
    cursor: default;
    opacity: .5;
    pointer-events: none
}

.dropdown-item {
    text-wrap: wrap;
    white-space: normal
}

    .dropdown-item.highlight {
        background-color: #f1f1f1;
        color: #000
    }

.dropdown-menu {
    max-height: 25rem;
    overflow-y: auto
}

.dropdown-submenu {
    position: relative
}

    .dropdown-submenu > .dropdown-menu {
        border-radius: 0 .375rem .375rem .375rem;
        left: 100%;
        margin-left: -.0625rem;
        margin-top: -.375rem;
        top: 0
    }

    .dropdown-submenu > a:after {
        border-left-color: var(--disabled-button-color);
        border: .3125rem solid transparent;
        content: " ";
        display: block;
        float: right;
        margin-right: -.625rem;
        margin-top: .3125rem
    }

    .dropdown-submenu.pull-left > .dropdown-menu {
        border-radius: .375rem 0 .375rem .375rem;
        left: -100%;
        margin-left: .625rem
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff
    }

.examples-label {
    display: inline;
    font-weight: 700
}

.examples-text {
    display: inline
}

.generic-description {
    font-size: 1.5rem
}

.has-parent {
    margin-bottom: 0;
    margin-top: .5rem;
    padding-left: 1rem;
    position: relative;
    z-index: 1
}

    .has-parent .reply-section {
        margin-left: .5rem;
        position: relative
    }

.hidden {
    display: none !important
}

.highlighted {
    border: .125rem solid #fc0;
    box-shadow: 0 .25rem .375rem rgba(0,0,0,.2);
    transform: scale(1.05);
    transition: transform .3s ease-in-out
}

    .highlighted:hover {
        transform: scale(1.1)
    }

.home-pic-container {
    position: relative
}

    .home-pic-container img {
        height: 100%;
        max-height: 18.75rem;
        object-fit: cover;
        opacity: .35;
        width: 100%
    }

.index-container {
    margin: 1rem 0
}

.ingredient-index-filters {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem
}

.ingredient-index-filter-field {
    display: flex;
    flex: 1 1 16rem;
    flex-direction: column;
    gap: .25rem
}

.ingredient-index-search-field {
    flex: 2 1 16rem
}

.ingredient-index-group-field {
    flex: 1 1 16rem
}

.ingredient-index-filter-label {
    font-size: .95rem;
    font-weight: 600;
    margin: 0
}

.ingredient-index-group-filter, .ingredient-index-search {
    flex: 1 1 auto
}

.index-image {
    height: auto;
    width: 100%
}

.index-image-wrapper {
    overflow: hidden;
    position: relative
}

.index-item {
    box-sizing: border-box;
    flex: 1 1 15rem;
    max-width: 20rem
}

.index-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start
}

.index-section {
    margin-bottom: 0
}

    .index-section a, .index-section a h2 {
        color: #fff;
        text-decoration: none
    }

        .index-section a h2 {
            background-color: var(--primary-color);
            border-top-left-radius: .5rem;
            border-top-right-radius: .5rem;
            font-weight: 700;
            margin-bottom: 0;
            padding: .5rem
        }

            .index-section a h2:hover {
                transform: scale(1.01)
            }

.index-title {
    margin: 0
}

.profile-allergen-selected {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: .5rem
}

.profile-allergen-dropdown {
    background-color: #fff;
    border-radius: .25rem;
    border: 1px solid #ccc;
    display: none;
    margin-top: .25rem;
    max-height: 15rem;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    width: 100%;
    z-index: 3
}

    .profile-allergen-dropdown .tag-item {
        padding: .5rem .75rem
    }

.index-subtitle {
    font-size: .95rem;
    margin: .35rem 0 0
}

.index-title-month {
    font-size: 1rem;
    margin: 0
}

.index-title-overlay, .index-title-overlay-month {
    background: rgba(0,0,0,.5);
    bottom: 0;
    color: #fff;
    left: 0;
    padding: .5rem;
    position: absolute;
    right: 0;
    text-align: center
}

.ingrediens-list {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding-left: 0
}

.ingredient-checkbox {
    align-items: center;
    border-radius: 50%;
    border: .125rem solid #ccc;
    display: flex;
    flex-shrink: 0;
    height: 1.25rem;
    justify-content: center;
    margin-left: .5rem;
    transition: background-color .3s,border-color .3s;
    width: 1.25rem
}

.ingredient-display {
    color: #666;
    font-style: italic;
    margin-top: .5rem
}

.ingredient-water {
    margin-bottom: 1.5rem
}

.ingredient-water-layout {
    align-items: center;
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
    flex-wrap: wrap
}

.ingredient-energy-distribution {
    display: flex;
    flex-direction: column;
    gap: .75rem;
    max-width: 16rem
}

.ingredient-energy-footnote p, .ingredient-energy-footnote ul, .ingredient-visual-heading {
    margin: 0
}

.ingredient-energy-chart-wrap {
    display: flex;
    justify-content: center
}

.ingredient-energy-chart {
    background: #f6eeec;
    border-radius: 50%;
    box-shadow: inset 0 0 0 .85rem #fff;
    height: 8.5rem;
    width: 8.5rem
}

.ingredient-energy-chart-svg circle {
    fill: none;
    stroke: #000;
    stroke-width: 2
}

.ingredient-energy-chart-svg .outline {
    stroke: #3d3d3d;
    stroke-width: 4;
    fill: none
}

.ingredient-energy-legend {
    display: flex;
    flex-direction: column;
    gap: .35rem
}

.ingredient-energy-legend-item {
    align-items: center;
    color: #8c6066;
    display: flex;
    gap: .5rem
}

.ingredient-energy-legend-swatch {
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    height: .85rem;
    width: .85rem
}

.ingredient-energy-footnote {
    color: #8c6066;
    font-size: .85rem
}

    .ingredient-energy-footnote ul {
        padding-left: 1.25rem
    }

.ingredient-water-copy {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    margin-bottom: .75rem
}

.ingredient-water-heading {
    margin-bottom: .35rem
}

.ingredient-water-content {
    display: flex;
    flex-direction: column
}

.ingredient-water-description {
    color: #6c757d;
    margin-bottom: .75rem
}

.ingredient-water-value {
    color: #7f9fc7;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1
}

.ingredient-water-visual {
    align-items: center;
    display: flex;
    gap: .85rem
}

.ingredient-water-scale {
    color: #6c757d;
    display: flex;
    flex-direction: column;
    font-size: .85rem;
    justify-content: space-between;
    min-height: 13rem
}

.ingredient-water-glass {
    align-items: end;
    background: linear-gradient(180deg,rgba(255,255,255,.92)0,rgba(240,246,252,.95) 100%);
    border: .18rem solid #cdddf0;
    border-bottom-left-radius: 1.8rem;
    border-bottom-right-radius: 1.8rem;
    border-top-left-radius: .8rem;
    border-top-right-radius: .8rem;
    box-shadow: inset 0 0 0 .18rem rgba(255,255,255,.75);
    display: flex;
    height: 13rem;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 7rem
}

.ingredient-water-fill {
    background: linear-gradient(180deg,#cfe4f7 0,#a9cbe8 45%,#8eb6d8 100%);
    height: 0;
    position: relative;
    transition: height .5s ease;
    width: 100%
}

.ingredient-water-surface {
    display: none
}

.ingredient-water-fill.is-wavy .ingredient-water-surface {
    animation: ingredient-water-wave 2.6s linear infinite;
    background: rgba(255,255,255,.38);
    border-radius: 50%;
    display: block;
    height: 1.25rem;
    left: -8%;
    position: absolute;
    right: -8%;
    top: -.45rem
}

@media (max-width:767.98px) {
    .ingredient-water-layout {
        align-items: flex-start;
        flex-direction: column
    }

    .ingredient-energy-distribution {
        max-width: none;
        width: 100%
    }
}

.ingredient-item {
    flex: 0 0 calc(33.33% - 1.25rem);
    margin: 0 .625rem .625rem 0
}

.ingredient-text {
    cursor: pointer;
    display: inline-block;
    flex: 1;
    font-size: 1rem;
    max-width: 100%;
    overflow-wrap: break-word;
    padding-right: .625rem;
    transition: color .3s;
    word-wrap: break-word
}

.ingredientNameDisplay {
    cursor: pointer;
    padding: 1rem 0;
    width: 100%
}

.ingredientsList, .stepsList {
    margin-top: .625rem
}

.input-with-tags {
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 2rem;
    border: .063rem solid #ccc;
    box-shadow: 0 .125rem .312rem rgba(0,0,0,.1);
    display: flex;
    flex-wrap: wrap;
    min-height: 2.8rem;
    padding: .312rem
}

.letter-container {
    flex: 0 0 100%;
    margin-bottom: .625rem
}

.lexicon-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem
}

.month-container {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    justify-content: flex-start;
    padding-bottom: 1rem
}

.month-item {
    box-sizing: border-box;
    flex: 1 1 8%
}

.nav-link {
    font-weight: 700;
    letter-spacing: .125rem;
    font-size: 1rem
}

.site-brand {
    align-items: center;
    color: inherit;
    display: inline-flex;
    gap: .75rem;
    text-decoration: none
}

.site-brand-logo {
    display: block;
    height: 3rem;
    width: 3rem
}

.site-brand:focus, .site-brand:hover {
    color: inherit
}

.navbar .nav-link.btn:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: #fff
}

@media (max-width:479px) {
    .nav-link {
        font-size: .85rem
    }

    .site-brand {
        gap: .5rem
    }

    .site-brand-logo {
        height: 2.5rem;
        width: 2.5rem
    }
}

@media (max-width:767px) {
    .nav-link {
        font-size: .9rem
    }
}

@media (min-width:768px) {
    .nav-link {
        font-size: 1rem
    }
}

@media (min-width:1200px) {
    .nav-link {
        font-size: 1.1rem
    }
}

.new-banner {
    background-color: var(--primary-color);
    border-bottom-right-radius: .5rem;
    border-top-right-radius: 0;
    color: #fff;
    font-size: .8rem;
    left: 0;
    padding: .3em .6em;
    position: absolute;
    top: 0;
    z-index: 1
}

.recipe-card-badge-list {
    flex-direction: column;
    max-width: calc(100% - 3.5rem);
    padding: 2.35rem .4rem .4rem;
    position: absolute;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    pointer-events: none;
    inset: 0 auto auto .5rem
}

.card-img-top > img {
    max-height: 200px;
    object-fit: cover;
    object-position: center;
    height: 200px;
    min-width: 200px
}

.recipe-card-badge-chip {
    align-items: center;
    background-color: rgba(255,255,255,.92);
    border-radius: 999px;
    color: var(--primary-color);
    display: inline-flex;
    font-size: .8rem;
    font-weight: 600;
    gap: .35rem;
    max-width: 100%;
    padding: .2rem .55rem;
    width: fit-content;
    pointer-events: auto
}

    .recipe-card-badge-chip span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

.recipe-card-badge-icon {
    flex-shrink: 0;
    height: 1rem;
    object-fit: contain;
    width: 1rem
}

.no-link-format, .no-link-format a {
    color: var(--primary-color);
    text-decoration: none
}

    .no-link-format a {
        font-weight: 700
    }

.no-padding {
    padding: 0 !important
}

.no-parent {
    padding: 1rem
}

.rating-counter {
    font-size: .7rem
}

    .rating-counter, .rating-counter a {
        padding-left: .25rem
    }

.rating-stars {
    align-items: center;
    display: flex;
    margin: 0;
    padding: 0
}

.recipe-rating-actions {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: .75rem;
    margin-top: .75rem
}

.recipe-rating-display {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.recipe-rating-average {
    --recipe-heart-size: 2rem;
    --recipe-heart-gap: 0.5rem;
    width: fit-content
}

.recipe-rating-average-hearts {
    column-gap: var(--recipe-heart-gap);
    display: grid;
    grid-template-columns: repeat(5,var(--recipe-heart-size))
}

.recipe-rating-average-heart {
    font-size: var(--recipe-heart-size);
    line-height: 1;
    text-align: center
}

.recipe-rating-average-heart-item {
    display: inline-flex;
    height: var(--recipe-heart-size);
    position: relative;
    width: var(--recipe-heart-size)
}

.recipe-rating-average-heart-empty {
    color: rgba(128,0,128,.22)
}

.recipe-rating-average-heart-filled {
    color: var(--primary-color);
    pointer-events: none;
    white-space: nowrap
}

.recipe-rating-average {
    display: flex;
    align-items: center;
    gap: .5rem
}

.recipe-rating-average-hearts {
    display: inline-grid;
    grid-auto-flow: column;
    grid-auto-columns: var(--recipe-heart-size, 1.6rem);
    column-gap: var(--recipe-heart-gap, 0.25rem)
}

.recipe-rating-average-heart {
    position: relative;
    display: inline-block;
    width: var(--recipe-heart-size, 1.6rem);
    height: var(--recipe-heart-size, 1.6rem)
}

    .recipe-rating-average-heart img {
        display: block;
        width: 100%;
        height: 100%
    }

.recipe-rating-average-heart-empty {
    position: relative
}

.recipe-rating-average-heart-filled, .recipe-rating-heart .avg-fill, .recipe-rating-heart .user-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    overflow: hidden;
    width: 0
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important
}

.recipe-rating-hearts-center {
    justify-content: center
}

.recipe-rating-heart .avg-fill, .recipe-rating-heart .user-fill {
    display: flex;
    align-content: center;
    flex-wrap: wrap
}

.recipe-rating-heart .heart-empty {
    z-index: 0
}

.recipe-rating-heart .avg-fill {
    z-index: 1;
    pointer-events: none
}

.recipe-rating-heart .user-fill {
    z-index: 2;
    pointer-events: none
}

    .recipe-rating-heart .avg-fill img, .recipe-rating-heart .heart-empty, .recipe-rating-heart .user-fill img {
        display: block;
        width: var(--recipe-heart-size, 1.6rem);
        height: var(--recipe-heart-size, 1.6rem);
        object-fit: contain
    }

.confirm-dialog .recipe-rating-heart {
    height: var(--recipe-heart-size, 1.6rem)
}

    .confirm-dialog .recipe-rating-heart .heart-empty, .confirm-dialog .recipe-rating-heart .user-fill img {
        width: var(--recipe-heart-size, 1.6rem) !important;
        height: var(--recipe-heart-size, 1.6rem) !important
    }

.recipe-rating-heart .avg-fill, .recipe-rating-heart .user-fill {
    transition: width 120ms linear
}

    .recipe-rating-heart .avg-fill img {
        opacity: .32;
        filter: grayscale(10%)
    }

    .recipe-rating-heart .user-fill img {
        opacity: 1
    }

.recipe-rating-heart:hover {
    transform: scale(1.06);
    transition: transform 120ms ease;
    z-index: 10;
    box-shadow: 0 6px 14px rgba(0,0,0,.12)
}

    .recipe-rating-heart:hover .user-fill {
        width: 100% !important
    }

.recipe-rating-tooltip {
    position: absolute;
    top: -1.6rem;
    font-size: .75rem;
    background: rgba(0,0,0,.75);
    color: #fff;
    padding: .18rem .4rem;
    border-radius: .25rem;
    pointer-events: none;
    transform: translateX(-50%);
    left: 50%;
    white-space: nowrap
}

.recipe-rating-average-text {
    font-size: 1.05rem;
    color: #7d33b0
}

.recipe-rating-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

.recipe-rating-status {
    margin: 0
}

.recipe-rating-login-hint {
    color: #5f5f72;
    margin: 0
}

.recipe-rating-heart {
    align-items: center;
    background: 0 0;
    border: 0;
    cursor: pointer;
    display: flex;
    height: 2.5rem;
    justify-content: center;
    position: relative;
    padding: 0
}

.recipe-rating-heart-inner, .recipe-rating-heart-outer {
    display: block;
    left: 50%;
    line-height: 1;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%)
}

.recipe-rating-heart-outer {
    color: rgba(128,0,128,.22);
    font-size: 2rem
}

.recipe-rating-heart-inner {
    color: transparent;
    font-size: 1.2rem;
    transition: color .15s ease,transform .15s ease
}

.recipe-rating-heart.is-active .recipe-rating-heart-inner, .recipe-rating-heart:focus, .recipe-rating-heart:hover {
    color: var(--primary-color)
}

    .recipe-rating-heart.is-active .recipe-rating-heart-inner, .recipe-rating-heart:focus .recipe-rating-heart-inner, .recipe-rating-heart:hover .recipe-rating-heart-inner {
        transform: translate(-50%,-50%) scale(1.02)
    }

.recipe-rating-visual.has-user-rating .recipe-rating-heart.is-active {
    color: #d8b7d5
}

.recipe-rating-confirm-dialog h3 {
    color: var(--primary-color);
    margin-bottom: 1rem
}

.recipe-step-image {
    display: none
}

    .recipe-step-image.recipe-step-image-visible {
        display: block
    }

.rating-stars-card {
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0
}

.recipe-created-date, .recipe-publishing-date {
    margin-top: 2rem
}

.recipe-difficulty {
    align-items: center;
    display: flex;
    font-size: 1rem
}

    .recipe-difficulty img {
        height: 2rem;
        margin-right: .5rem;
        width: 2rem
    }

.recipe-admin-status-banner {
    border-radius: .75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding: .85rem 1rem
}

.recipe-admin-status-banner-draft {
    background-color: #fff3cd;
    border: 1px solid #ffe69c;
    color: #664d03
}

.recipe-admin-status-banner-scheduled {
    background-color: #cff4fc;
    border: 1px solid #9eeaf9;
    color: #055160
}

.recipe-image {
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease-in-out;
    width: 100%
}

.recipe-image-wrapper {
    overflow: hidden;
    position: relative
}

#imagePreviewHolder:hover img, .recipe-image-step .cursor-pointer:hover img, .recipe-image-step:hover img {
    transform: scale(1,1) !important
}

#recipeDescriptionDisplay {
    border: .125rem solid var(--primary-color);
    border-radius: .5rem;
    min-height: 100px;
    padding: .5rem
}

.recipe-ingredient {
    align-items: center;
    display: flex
}

.recipe-ingredient-display {
    width: 100%
}

.recipe-item {
    position: relative
}

.recipe-link:hover .recipe-image {
    transform: scale(1.05)
}

.recipe-part-name {
    font-size: 1.25rem;
    font-weight: 700
}

.recipe-title {
    color: #fff;
    font-size: 1.2rem;
    margin-top: .313rem;
    margin: 0
}

.recipe-title-overlay {
    background: rgba(0,0,0,.6);
    bottom: 0;
    color: #fff;
    padding: .5rem;
    position: absolute;
    text-align: center;
    width: 100%
}

.related-recipes-section {
    margin-top: 2rem
}

.remove-badge-btn, .remove-image-step-btn, .remove-ingredient-btn, .remove-part-btn, .remove-step-btn, .remove-tag-btn, .remove-tool-btn {
    background-color: #d9534f;
    border-radius: .25rem;
    border: 0;
    color: #fff;
    font-size: 1.125rem;
    margin: 0 1rem;
    padding: .375rem .625rem;
    text-wrap: nowrap;
    z-index: 1
}

    .remove-badge-btn:hover, .remove-ingredient-btn:hover, .remove-part-btn:hover, .remove-step-btn:hover, .remove-tag-btn:hover, .remove-tool-btn:hover {
        background-color: #e55650
    }

.remove-icon, .remove-item {
    height: 1rem;
    width: 1rem
}

.remove-item {
    align-content: center;
    cursor: pointer;
    vertical-align: middle
}

.replies, .section-item p {
    margin-top: .5rem
}

.reply {
    background-color: var(--reply-background);
    border-left: .25rem solid var(--primary-color);
    border-radius: .125rem;
    margin-top: .3rem;
    padding: .5rem
}

    .reply .comment-header {
        font-size: .9rem
    }

.reply-button, .selected-tag button {
    background: 0 0;
    border: 0;
    cursor: pointer
}

.reply-button {
    color: #6a0dad;
    float: right;
    font-weight: 700;
    margin: .5rem 0;
    padding: 0;
    text-decoration: underline
}

    .reply-button:hover {
        color: indigo;
        text-decoration: none
    }

.right-icon {
    margin-left: .5rem;
    margin-right: 0
}

.scaled-image {
    height: 12rem;
    max-width: 15rem;
    width: 100%;
    object-fit: cover;
    object-position: center
}

.search-bar {
    margin: 1.25rem auto;
    position: relative;
    width: 100%
}

.search-bar-selected-items {
    font-size: 1rem;
    vertical-align: baseline
}

    .search-bar-selected-items a {
        font-size: 1.5rem;
        text-decoration: none
    }

.search-button-icon {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    padding: 0
}

    .search-button-icon img {
        display: block;
        height: auto;
        width: 2.5rem
    }

.search-input {
    background: 0 0;
    border: 0;
    flex: 1;
    font-size: 1.5rem;
    outline: 0;
    padding: 0
}

.search-tag {
    font-size: 1rem;
    margin-bottom: .25rem;
    margin-left: .25rem;
    margin-right: 0;
    margin-top: .25rem;
    transition: opacity .3s ease
}

    .search-tag a, .section-item a {
        text-decoration: none
    }

.search-tag-header {
    color: #999;
    display: block;
    font-size: .8rem;
    text-align: center
}

.search-tag.removing {
    opacity: 0;
    transition: opacity .3s ease
}

.season-inline input {
    margin: 0;
    padding: .312rem
}

.section-item {
    border-radius: .5rem;
    border: .063rem solid #ccc;
    flex: 1 1 20%;
    padding: 1rem;
    text-align: center
}

    .section-item a {
        color: var(--primary-color);
        font-size: 1.2rem;
        font-weight: 700
    }

    .section-item p {
        font-size: 1rem
    }

.see-more-container {
    margin-top: 1.5rem;
    text-align: center
}

.selected-tag {
    align-items: center;
    background-color: #e1e1e1;
    border-radius: 1rem;
    display: flex;
    margin: .5rem;
    padding: .3rem .5rem
}

    .selected-tag button {
        color: #000;
        font-size: 2rem;
        margin: 0
    }

.profile-allergen-selector, .profile-form-wrapper {
    position: relative
}

    .profile-form-wrapper.is-loading form {
        opacity: .45;
        pointer-events: none
    }

.profile-allergen-loading, .profile-form-loading {
    align-items: center;
    display: none;
    inset: 0;
    justify-content: center;
    position: absolute
}

.profile-form-loading {
    background-color: rgba(255,255,255,.8);
    border-radius: .5rem;
    flex-direction: column;
    gap: .75rem;
    z-index: 5
}

.profile-allergen-selector.is-loading .profile-allergen-loading, .profile-form-wrapper.is-loading .profile-form-loading {
    display: flex
}

.profile-allergen-selector.is-loading {
    opacity: .6
}

.profile-allergen-loading {
    background-color: rgba(255,255,255,.85);
    border-radius: .375rem;
    gap: .5rem;
    z-index: 4
}

.serving-input-container {
    display: flex;
    gap: .8rem
}

.recipe-serving-adjuster {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 1rem
}

.recipe-serving-adjuster-label, .recipe-serving-adjuster-unit {
    font-weight: 600
}

.recipe-serving-adjuster-controls {
    align-items: center;
    display: flex;
    gap: .5rem
}

.recipe-serving-adjuster-button {
    align-items: center;
    background-color: var(--primary-color);
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.25rem;
    font-weight: 700;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem
}

    .recipe-serving-adjuster-button:hover {
        background-color: var(--hover-primary-color)
    }

.recipe-serving-adjuster-input {
    border: 1px solid #ccc;
    border-radius: .5rem;
    padding: .4rem .6rem;
    text-align: center;
    width: 4.5rem
}

.small-icon {
    height: 1.5rem;
    margin-right: .5rem;
    width: 1.5rem
}

.star-filled {
    color: var(--primary-color)
}

.star-outline {
    color: #ccc
}

.stars-container {
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    position: relative
}

    .stars-container .tooltipText {
        background-color: #000;
        border-radius: .5rem;
        color: #fff;
        font-size: 1rem;
        padding: .25rem .5rem;
        position: absolute;
        text-align: center;
        top: 150%;
        visibility: hidden;
        width: 14rem;
        z-index: 1
    }

        .stars-container .tooltipText::after {
            border-color: transparent transparent #000;
            border-style: solid;
            border-width: 5px;
            bottom: 100%;
            content: "";
            left: 50%;
            margin-top: -5px;
            position: absolute
        }

    .stars-container:hover .tooltipText {
        visibility: visible
    }

.stars-filled {
    left: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    white-space: nowrap
}

.strikethrough {
    text-decoration: line-through
}

.subnav:hover .subnav-content {
    display: block
}

.tag-img {
    height: 2rem;
    margin-right: .5rem;
    width: 2rem
}

.tag-item {
    border-bottom: .0625rem solid #ccc;
    min-width: 30rem;
    padding: .5rem .75rem
}

.tag-item-category {
    color: #666;
    font-size: .8rem
}

.tag-item-name {
    margin: 0 .5rem
}

.tag-item.highlighted {
    background-color: #d0e7ff;
    cursor: pointer
}

.tag-item:hover, .tags-dropdown div {
    cursor: pointer
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    padding-left: 1.5rem
}

.tags-dropdown {
    background-color: #fff;
    border-radius: .25rem;
    border: 1px solid #ccc;
    display: none;
    max-height: 15rem;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    white-space: nowrap
}

    .tags-dropdown div:hover {
        background-color: #f0f0f0
    }

.tags-selector {
    overflow-x: hidden;
    z-index: 2
}

.text-align {
    text-align: center
}

.tool-checkbox {
    align-items: center;
    border-radius: 50%;
    border: 2px solid #ccc;
    display: flex;
    flex-shrink: 0;
    height: 1.25rem;
    justify-content: center;
    margin-left: .5rem;
    transition: background-color .3s,border-color .3s;
    width: 1.25rem
}

.tool-text {
    flex: 1;
    overflow-wrap: break-word;
    padding-right: .625rem;
    word-wrap: break-word
}

.tools-text {
    display: inline-block;
    font-size: 1rem;
    max-width: 100%
}

.user-sort-button {
    background: 0 0;
    border: 0;
    color: inherit;
    font: inherit;
    font-weight: 600;
    padding: 0;
    text-align: left
}

    .user-sort-button.active {
        color: var(--primary-color)
    }

.user-sort-indicator {
    display: inline-block;
    min-width: 1rem
}

.manage-users-table {
    min-width: 62rem
}

.manage-users-table-wrapper {
    -webkit-overflow-scrolling: touch
}

.manage-users-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem
}

.tag-badge-admin-icon {
    height: 2rem;
    object-fit: contain;
    width: 2rem
}

.manage-tag-badges-toolbar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem
}

.manage-tag-badges-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem
}

    .manage-tag-badges-toggle .btn.active {
        background-color: var(--primary-color);
        border-color: var(--primary-color);
        color: #fff
    }

.manage-tag-badges-search {
    max-width: 32rem
}

.manage-tag-badges-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem
}

.manage-tag-badge-section {
    width: 100%
}

.manage-tag-badge-cell-input {
    min-width: 16rem
}

.manage-tag-badge-upload {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    min-width: 14rem
}

.manage-tag-badge-upload-actions {
    display: flex;
    gap: .5rem
}

.manage-tag-badge-status {
    font-size: .875rem;
    white-space: normal
}

.manage-tag-badge-empty-icon {
    color: #6c757d;
    font-size: .875rem
}

.u-flex {
    display: table
}

.welcome-vid-content {
    position: relative;
    text-align: center
}

@media (max-width:37.5rem) {
    .alphabet-nav a {
        font-size: 1rem
    }

    .c-recipe-related-recipes {
        grid-template-columns: 1fr
    }

    .month-item {
        flex: 1 1 100%
    }
}

@media (max-width:48rem) {
    .c-button {
        justify-content: center;
        width: 100%
    }

    .encyclopedia-section-header {
        align-items: flex-start;
        flex-direction: column
    }

    .encyclopedia-slider-controls {
        width: 100%
    }

    .draft-lookup-columns, .draft-lookup-editor-grid, .draft-lookup-inline-grid {
        grid-template-columns: 1fr
    }

    .draft-lookup-item-summary, .draft-lookup-overview-item, .draft-lookup-section-summary {
        align-items: flex-start;
        flex-direction: column
    }

    .draft-lookup-filter .btn, .draft-lookup-inline-form, .draft-lookup-inline-form .btn, .draft-lookup-overview-actions, .draft-lookup-overview-actions .btn, .draft-lookup-toolbar .btn, .draft-lookup-upload-row .btn {
        width: 100%
    }

    .draft-lookup-filter {
        display: flex;
        flex-direction: column;
        width: 100%
    }

    .draft-lookup-save {
        width: 100%
    }

    .draft-lookup-upload-row {
        grid-template-columns: 1fr
    }

    .c-recipe-comments {
        padding: 0
    }

    .c-recipe-ingredient {
        flex: 0 0 100%
    }

    .has-parent {
        padding-left: .5rem
    }

    .index-section {
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
        margin-top: calc(var(--bs-gutter-x)*.5)
    }

        .index-section h2 {
            padding: .1rem
        }

    .ingredient-text {
        font-size: .875rem
    }

    .month-item {
        flex: 1 1 49%
    }

    .no-parent {
        padding-left: .5rem
    }

    .tools-text {
        font-size: .875rem
    }
}

@media (max-width:575px) {
    .card-img-overlay {
        font-size: 2rem
    }

    .carousel-inner .carousel-item > div {
        display: none
    }

        .carousel-inner .carousel-item > div:first-child {
            display: block
        }
}

@media (max-width:64rem) {
    .alphabet-nav a {
        font-size: 1.2rem
    }

    .c-recipe-related-recipes {
        grid-template-columns: repeat(2,1fr)
    }

    .month-item {
        flex: 1 1 25%
    }
}

@media (max-width:75rem) {
    .c-recipe-comments {
        padding: 1rem
    }

    .c-recipe-content {
        grid-template-areas: "ingredients""instructions""tools";
        grid-template-columns: 1fr
    }

    .c-recipe-content-box {
        padding: 0 1rem
    }

    .c-recipe-related-recipes {
        grid-template-columns: repeat(3,1fr)
    }

    .month-item {
        flex: 1 1 16%
    }
}

@media (min-width:576px) {
    .carousel-inner .carousel-item-end.active, .carousel-inner .carousel-item-next {
        transform: translateX(25%)
    }

    .carousel-inner .carousel-item-prev, .carousel-inner .carousel-item-start.active {
        transform: translateX(-25%)
    }
}

@media (min-width:100em) {
    .c-recipe-content-box {
        padding: 6rem
    }
}

@media (min-width:48em) {
    html {
        font-size: 1rem
    }

    .c-recipe-image-ratio-holder {
        padding-top: 42.92%
    }
}

@media (min-width:62em) {
    .c-recipe-intro {
        grid-template-columns: 40% 60%
    }
}

@media (min-width:75em) {
    .c-recipe-content-box {
        padding: 1rem
    }
}

.recipe-rating-hearts {
    display: flex;
    gap: .25rem;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: .25rem
}

.recipe-rating-heart:focus {
    outline: 2px solid var(--primary-color)
}

.heart-icon {
    width: 2rem;
    height: 2rem;
    display: block;
    pointer-events: none;
    transition: filter .2s
}

.recipe-rating-heart.is-active .heart-icon, .recipe-rating-heart:hover .heart-icon {
    filter: drop-shadow(0 0 2px var(--primary-color))
}

.recipe-rating-average {
    font-size: 1.1rem;
    color: #7d33b0;
    font-weight: 500;
    margin-top: .25rem;
    margin-bottom: .5rem
}

.recipe-rating-status {
    font-size: .95rem;
    color: #555;
    margin-top: .25rem
}

@media (max-width:600px) {
    .heart-icon {
        width: 1.5rem;
        height: 1.5rem
    }

    .recipe-rating-average {
        font-size: 1rem
    }
}

.favorite-heart-btn {
    position: absolute;
    top: .5rem;
    right: .5rem;
    z-index: 2;
    cursor: pointer;
    background: 0 0;
    border: 0;
    padding: 0
}

.favorite-heart-icon {
    width: 28px;
    height: 28px;
    transition: filter .2s
}

.favorite-heart-btn:hover .favorite-heart-icon {
    filter: brightness(1.2) drop-shadow(0 0 2px var(--primary-color))
}

.col-lg-3 .favorite-heart-btn {
    pointer-events: auto
}

.scroller-wrapper {
    position: relative
}

.scroller-list {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    width: 100%;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none
}

    .scroller-list::-webkit-scrollbar {
        display: none
    }

.recipe-scroller-card {
    flex: 0 0 calc((100% - 1.5rem)/4);
    margin-bottom: 0 !important;
    scroll-snap-align: start
}

.scroller-arrow {
    cursor: pointer;
    position: absolute;
    width: auto;
    padding: 16px;
    color: #fff;
    font-weight: 700;
    transition: .6s ease;
    user-select: none;
    z-index: 1;
    background: rgba(155,77,202,.5);
    box-shadow: 0 2px 8px rgba(0,0,0,.2)
}

    .scroller-arrow:hover {
        background-color: rgba(0,0,0,.8)
    }

    .scroller-arrow.left {
        left: 0;
        border-radius: 0 100% 100%0
    }

    .scroller-arrow.right {
        right: 0;
        border-radius: 100%0 0 100%
    }

@media (max-width:1200px) {
    .recipe-scroller-card {
        flex: 0 0 calc((100% - 1rem)/3)
    }
}

@media (max-width:900px) {
    .scroller-list {
        gap: .25rem
    }

    .recipe-scroller-card {
        flex: 0 0 calc((100% - .25rem)/2)
    }
}

@media (max-width:600px) {
    .recipe-scroller-card {
        flex: 0 0 100%
    }
}

.search-bar .input-with-tags {
    box-shadow: none
}

.ingredient-calendar-slider-dots-labels {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: .5rem
}

.ingredient-calendar-slider-dots {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 6px;
    position: static;
    z-index: 2;
    pointer-events: none;
    height: 20px
}

.ingredient-calendar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bbb;
    display: inline-block;
    cursor: pointer;
    transition: background .2s,transform .2s,box-shadow .2s;
    margin: 0 2px;
    border: 2px solid transparent;
    outline: 0;
    pointer-events: auto;
    box-sizing: border-box
}

    .ingredient-calendar-dot.active {
        background: #111;
        box-shadow: 0 0 0 2px #1112;
        border-color: #111
    }

    .ingredient-calendar-dot:focus {
        border-color: #0056b3
    }

.ingredient-calendar-slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 0;
    width: 100%;
    position: relative;
    z-index: 1
}

.ingredient-calendar-dot-label {
    font-size: .85em;
    color: #bbb;
    width: 38px;
    text-align: center;
    user-select: none;
    transition: color .2s;
    display: inline-block
}

    .ingredient-calendar-dot-label.active {
        color: #111;
        font-weight: 700
    }

.ingredient-calendar-pizza-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 1.5rem
}

.ingredient-calendar-pizza {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem
}

.ingredient-calendar-pizza-slice {
    position: absolute;
    width: 22px;
    height: 22px;
    background: #bbb;
    border-radius: 50%;
    transform: translate(-50%,-50%) scale(1);
    transition: background .2s,transform .2s,box-shadow .2s;
    border: 2px solid transparent;
    cursor: pointer;
    z-index: 2;
    box-sizing: border-box
}

    .ingredient-calendar-pizza-slice.selected {
        background: #111;
        border-color: #111;
        box-shadow: 0 0 0 4px #1112;
        transform: translate(-50%,-50%) scale(1.2);
        z-index: 3
    }

    .ingredient-calendar-pizza-slice:focus {
        border-color: #0056b3
    }

.ingredient-calendar-pizza-label {
    position: absolute;
    font-size: .85em;
    color: #bbb;
    width: 38px;
    text-align: center;
    user-select: none;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(-50%,-50%);
    z-index: 1
}

    .ingredient-calendar-pizza-label.selected {
        color: #111;
        font-weight: 700;
        font-size: 1em;
        z-index: 4
    }

.ingredient-calendar-slider-instructions {
    font-size: .95em;
    color: #555;
    margin-bottom: .5rem
}

.ingredient-seasons-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem
}

.ingredient-seasons-quarter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem
}

.ingredient-seasons-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 .125rem .625rem rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    padding: 1rem .5rem .75rem;
    text-align: center;
    transition: box-shadow .2s
}

    .ingredient-seasons-card:hover {
        box-shadow: 0 .25rem 1rem rgba(0,0,0,.12)
    }

.ingredient-seasons-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: .75rem;
    margin-bottom: .5rem;
    background: #f2f2f2
}

.ingredient-seasons-info {
    display: flex;
    flex-direction: column;
    gap: .25rem
}

.ingredient-seasons-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: #333
}

.ingredient-seasons-range {
    color: #666;
    font-size: .95rem
}

.ingredient-seasons-empty {
    color: #aaa;
    font-style: italic;
    margin: 1rem 0
}

.reference-preview-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill,minmax(15rem,1fr))
}

.recipe-reference-card {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 1rem;
    box-shadow: 0 .125rem .625rem rgba(0,0,0,.06);
    display: flex;
    gap: .75rem;
    padding: .75rem;
    position: relative
}

.recipe-reference-card-image-wrap {
    flex: 0 0 4rem
}

.recipe-reference-card-image, .recipe-reference-option-image {
    border-radius: .75rem;
    height: 4rem;
    object-fit: cover;
    width: 4rem
}

.recipe-reference-card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: .25rem;
    min-width: 0
}

.recipe-reference-card-type {
    color: #8c6066;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase
}

.recipe-reference-card-name, .recipe-reference-option-name {
    font-weight: 600;
    overflow-wrap: anywhere
}

.recipe-reference-card-link {
    color: #8c6066;
    font-size: .9rem;
    text-decoration: none
}

.reference-picker-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem
}

.reference-picker-add-button {
    align-items: center;
    background: #8c6066;
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 2rem;
    height: 3.25rem;
    justify-content: center;
    width: 3.25rem
}

.recipe-reference-picker-dialog {
    max-width: 70rem;
    text-align: left
}

.recipe-reference-picker-groups {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin-bottom: 1rem
}

.recipe-reference-picker-group {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.recipe-reference-results {
    display: none;
    max-height: 18rem;
    overflow-y: auto;
    overflow-x: hidden;
    position: static;
    white-space: normal
}

.recipe-reference-option {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-start;
    text-align: left;
    width: 100%
}

    .recipe-reference-option .recipe-reference-card-type {
        flex: 0 0 auto
    }

.recipe-reference-option-name {
    flex: 1 1 14rem;
    min-width: 0;
    white-space: normal
}

.recipe-reference-option-key {
    color: #6c757d;
    font-size: .85rem;
    flex: 1 1 100%;
    margin-left: 0;
    overflow-wrap: anywhere
}

.remove-reference-btn {
    align-self: flex-start;
    background: 0 0;
    border: 0;
    color: #8c6066;
    font-size: 1.5rem;
    line-height: 1
}

@media (max-width:900px) {
    .recipe-reference-picker-groups {
        grid-template-columns: 1fr
    }
}

.recipe-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.recipe-category-chip-wrapper {
    position: relative;
}

.recipe-category-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.recipe-category-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border: 1px solid #ced4da;
    border-radius: 999px;
    background-color: #fff;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s ease;
    font-size: 0.95rem;
    line-height: 1.2;
}

    .recipe-category-chip:hover {
        background-color: #f8f9fa;
    }

.recipe-category-checkbox:checked + .recipe-category-chip {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: #fff;
    font-weight: 600;
}

.recipe-category-checkbox:focus-visible + .recipe-category-chip {
    outline: 2px solid var(--bs-primary);
    outline-offset: 2px;
}

.recipe-category-checkbox:checked + .recipe-category-chip::before {
    content: "✓";
    margin-right: 0.35rem;
}

.modal-dialog button {
    pointer-events: auto;
}