:root {
    --bg: #eef7ff;
    --surface: #ffffff;
    --surface-2: #f7fbff;
    --text: #111827;
    --muted: #64748b;
    --line: #dbe8f5;
    --blue: #0f7ae5;
    --blue-2: #35a3f4;
    --green: #22c55e;
    --yellow: #facc15;
    --coral: #fb7185;
    --protein-color: #0f7ae5;
    --fat-color: #fb7185;
    --carb-color: #facc15;
    --shadow: 0 24px 70px rgba(15, 122, 229, 0.14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    padding-top: 65px;
    background:
        linear-gradient(180deg, rgba(218, 242, 255, 0.88), rgba(249, 252, 255, 0.96) 44%, #ffffff 100%);
    color: var(--text);
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body.menu-modal-open {
    overflow: hidden;
}

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

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

button,
input,
textarea {
    font: inherit;
    letter-spacing: 0;
}

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(217, 230, 248, 0.78);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.035);
}

.topbar-inner {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.topbar-leading {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    flex: 0 1 auto;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
    font-size: 1.12rem;
    font-weight: 850;
    color: #07142f;
    flex-shrink: 0;
}

.brand-title {
    display: inline-block;
}

.brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.app-back-btn {
    border: 1px solid #b8d2ff;
    background: #f3f8ff;
    color: #0b6fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px 0 10px;
    border-radius: 14px;
    font-weight: 850;
    font-size: 0.86rem;
    white-space: nowrap;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.app-back-btn svg {
    width: 17px;
    height: 17px;
}

.menu-plan-page--pwa .topbar-inner {
    justify-content: space-between;
}

.menu-plan-page--pwa .brand {
    margin-right: 0;
}

.menu-plan-page--pwa .topbar-leading {
    gap: 8px;
    min-width: 0;
}

.menu-plan-page--pwa .brand-title,
.menu-plan-page--pwa .app-back-btn span {
    display: none;
}

.menu-plan-page--pwa .app-back-btn {
    width: 38px;
    min-height: 38px;
    padding: 0;
    border-radius: 14px;
    background: #f3f8ff;
    color: #0b6fff;
    border-color: #b8d2ff;
}

.menu-plan-page--pwa.menu-plan-page--profile-mode #menu-calc,
.menu-plan-page--pwa.menu-plan-page--profile-mode .hero-actions {
    display: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: #07142f;
}

.nav a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border-radius: 999px;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active,
.nav a[aria-current="page"] {
    transform: translateY(-1px);
    background: #eef6ff;
    color: #0b6fff;
    box-shadow: 0 10px 22px rgba(11, 111, 255, 0.09);
}

#menu-calc {
    scroll-margin-top: 84px;
}

.top-auth {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-shrink: 0;
    min-width: 0;
}

.top-menu-btn,
.logout-icon-btn {
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: #123456;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 850;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
}

.top-menu-btn {
    padding: 0 15px;
    white-space: nowrap;
}

#myMenusBtn {
    border-color: rgba(11, 111, 255, 0.26);
    background: #ffffff;
    color: #0b6fff;
    box-shadow: 0 10px 24px rgba(11, 111, 255, 0.08);
}

#myMenusBtn:hover {
    box-shadow: 0 16px 34px rgba(15, 122, 229, 0.26);
}

.logout-icon-btn {
    width: 40px;
    padding: 0;
}

.logout-icon-btn .icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-user-name {
    display: inline-flex;
    align-items: center;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #53637a;
    font-weight: 800;
    font-size: 0.82rem;
}

.top-cta,
.cta,
.link-cta,
.pdf-button {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: var(--radius);
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.top-login.is-authenticated {
    background: #102033;
    box-shadow: 0 12px 26px rgba(16, 32, 51, 0.18);
}

.top-cta,
.cta {
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--blue-2));
    box-shadow: 0 14px 30px rgba(15, 122, 229, 0.24);
    padding: 0 18px;
}

.top-auth .top-cta {
    min-height: 40px;
    border: 1px solid #cfe1ff;
    border-radius: 999px;
    background: #eef6ff;
    color: #0b6fff;
    box-shadow: none;
    padding: 0 15px;
    font-size: 0.9rem;
    font-weight: 850;
    white-space: nowrap;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.cta--secondary {
    background: linear-gradient(135deg, #10b981, var(--green));
}

.link-cta,
.pdf-button {
    background: #ffffff;
    border: 1px solid var(--line);
    color: #0f4f8f;
    padding: 0 18px;
}

.link-cta--solid {
    background: #102033;
    color: #ffffff;
    border-color: #102033;
}

.link-cta--ghost {
    background: #edf6ff;
    color: #075da8;
    border-color: #b9dcfb;
}

.top-cta:hover,
.cta:hover,
.link-cta:hover,
.pdf-button:hover,
.app-back-btn:hover,
.top-menu-btn:hover,
.logout-icon-btn:hover {
    transform: translateY(-2px);
}

.top-auth .top-cta:hover,
.app-back-btn:hover,
.app-back-btn:focus-visible,
.top-menu-btn:hover,
.top-menu-btn:focus-visible,
.logout-icon-btn:hover,
.logout-icon-btn:focus-visible {
    transform: translateY(-1px);
    border-color: #a7c8ff;
    color: #0b6fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.app-back-btn:hover,
.app-back-btn:focus-visible {
    border-color: #82b3ff;
    background: #eaf3ff;
    box-shadow: 0 12px 24px rgba(11, 111, 255, 0.13);
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.pwa-prefill-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(210px, 0.45fr) auto;
    gap: 16px;
    align-items: center;
    margin: 24px 0 8px;
    padding: 18px;
    border: 1px solid rgba(15, 122, 229, 0.18);
    border-radius: var(--radius);
    background: linear-gradient(135deg, #ffffff 0%, #eef8ff 56%, #fff5fa 100%);
    box-shadow: 0 18px 46px rgba(15, 122, 229, 0.1);
}

.pwa-prefill-kicker {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    background: #dff3ff;
    color: #075da8;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.pwa-prefill-copy h2 {
    margin: 10px 0 12px;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.08;
}

.pwa-prefill-data {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pwa-prefill-data span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(15, 122, 229, 0.16);
    border-radius: 999px;
    background: #ffffff;
    color: #24435f;
    font-size: 13px;
    font-weight: 900;
}

.pwa-prefill-kbju {
    display: grid;
    gap: 3px;
    padding: 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 122, 229, 0.14);
}

.pwa-prefill-kbju strong {
    font-family: "Unbounded", "Manrope", sans-serif;
    font-size: 32px;
    line-height: 1;
}

.pwa-prefill-kbju span,
.pwa-prefill-kbju small,
.pwa-prefill-kbju em {
    color: #47627b;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.pwa-prefill-kbju small {
    color: #102033;
}

.pwa-prefill-actions {
    display: grid;
    gap: 10px;
    min-width: 180px;
}

.menu-hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.74fr);
    gap: 36px;
    align-items: center;
    padding: 52px 0 34px;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow,
.section-head span,
.menu-result-head span,
.kbju-result-card>span,
.modal-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: #ddf0ff;
    color: #075da8;
    font-size: 13px;
    font-weight: 900;
    padding: 8px 13px;
}

h1,
h2,
h3 {
    font-family: "Unbounded", "Manrope", sans-serif;
    letter-spacing: 0;
}

h1 {
    margin: 18px 0;
    font-size: clamp(44px, 7vw, 86px);
    line-height: 0.96;
}

h1 span {
    color: #0a64bf;
}

.hero-copy p,
.section-head p,
.seo-copy p,
.modal-panel p,
.field-note,
.resultSubtitle {
    color: var(--muted);
}

.hero-copy p {
    margin: 0;
    max-width: 680px;
    font-size: 20px;
    line-height: 1.65;
    font-weight: 700;
}

.hero-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-tags span {
    padding: 9px 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--line);
    color: #24435f;
    font-size: 13px;
    font-weight: 900;
}

.hero-visual {
    position: relative;
    min-height: clamp(360px, 34vw, 430px);
    overflow: visible;
    display: grid;
    place-items: center;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 64px 12px 42px 12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(53, 163, 244, 0.18), rgba(34, 197, 94, 0.1) 48%, rgba(255, 255, 255, 0) 70%);
    filter: blur(2px);
    z-index: 0;
}

.hero-icon {
    position: absolute;
    object-fit: contain;
    filter: drop-shadow(0 24px 32px rgba(20, 45, 75, 0.18));
    animation: floatIcon 5.6s ease-in-out infinite;
}

.hero-icon-main {
    position: relative;
    z-index: 1;
    width: min(92%, 380px);
    height: min(34vw, 380px);
    inset: auto;
    margin: 0 auto;
}

.hero-icon-small {
    z-index: 2;
    width: clamp(96px, 12vw, 150px);
    height: clamp(96px, 12vw, 150px);
    left: 0;
    top: 26px;
    animation-delay: -2s;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-1deg);
    }

    50% {
        transform: translate3d(0, -14px, 0) rotate(2deg);
    }
}

.catalog-section,
.menu-result-section {
    margin: 22px 0;
    padding: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.section-head {
    max-width: 780px;
    margin-bottom: 22px;
}

.section-head h2,
.menu-result-head h2 {
    margin: 12px 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.08;
}

.section-head p,
.menu-result-head p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
}

.calculator-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
    align-items: start;
}

.menu-form {
    display: grid;
    gap: 18px;
}

fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

legend,
.textarea-label,
.input-grid label {
    display: grid;
    gap: 9px;
    font-size: 14px;
    font-weight: 900;
    color: #20364e;
}

.segmented,
.choice-grid,
.activity-grid,
.restriction-grid {
    display: grid;
    gap: 10px;
}

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

.segmented--meals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 320px;
}

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

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

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

.input-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.menu-form input[type="radio"],
.menu-form input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segmented span,
.choice-grid span,
.activity-grid span,
.restriction-grid span {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #ffffff;
    color: #25425f;
    font-weight: 900;
    padding: 10px;
    cursor: pointer;
}

.activity-grid small {
    display: inline-block;
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px;
}

.restriction-grid img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.menu-form input:checked+span {
    background: #e6f4ff;
    border-color: #76bff7;
    color: #075da8;
    box-shadow: inset 0 0 0 1px rgba(15, 122, 229, 0.16);
}

.input-grid input,
.textarea-label textarea,
.modal-panel input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--text);
    outline: none;
    min-height: 50px;
    padding: 0 13px;
    font-weight: 800;
}

.textarea-label textarea {
    min-height: 96px;
    padding: 13px;
    resize: vertical;
}

.preference-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.info-button {
    width: 30px;
    height: 30px;
    border: 1px solid #b8dcf8;
    border-radius: 50%;
    background: #e8f6ff;
    color: #0874d1;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 132, 255, 0.13);
}

.info-button:hover {
    background: #d9efff;
}

.info-button--small {
    width: 28px;
    height: 28px;
    font-size: 15px;
    flex: 0 0 auto;
}

.char-counter {
    justify-self: end;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.field-note {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.45;
}

.kbju-result-card {
    position: sticky;
    top: 92px;
    display: grid;
    gap: 15px;
    background: #f8fcff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.result-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.result-card-head>span {
    display: inline-flex;
    align-items: center;
    width: max-content;
    border-radius: 999px;
    background: #e3f3ff;
    color: #075da8;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 900;
}

.result-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.result-main strong {
    font-family: "Unbounded", sans-serif;
    font-size: 46px;
    line-height: 1;
}

.result-main small,
.kbju-result-card p {
    color: var(--muted);
    font-weight: 900;
}

.kbju-result-card p {
    margin: 0;
}

.macro-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.macro-list div,
.mini-facts span,
.summary-macros div {
    display: grid;
    gap: 3px;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 10px;
}

.macro-list b,
.summary-macros b {
    font-size: 18px;
    color: #0f64b8;
}

.summary-macros div:nth-child(1) {
    border-color: rgba(15, 122, 229, 0.35);
    background: rgba(15, 122, 229, 0.07);
}

.summary-macros div:nth-child(1) b,
.summary-macros div:nth-child(1) span {
    color: var(--protein-color);
}

.summary-macros div:nth-child(2) {
    border-color: rgba(251, 113, 133, 0.35);
    background: rgba(251, 113, 133, 0.08);
}

.summary-macros div:nth-child(2) b,
.summary-macros div:nth-child(2) span {
    color: var(--fat-color);
}

.summary-macros div:nth-child(3) {
    border-color: rgba(250, 204, 21, 0.45);
    background: rgba(250, 204, 21, 0.14);
}

.summary-macros div:nth-child(3) b,
.summary-macros div:nth-child(3) span {
    color: #9a6b00;
}

.macro-list span,
.summary-macros span,
.mini-facts span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.mini-facts {
    display: grid;
    gap: 8px;
}

.mini-facts span {
    display: flex;
    justify-content: space-between;
}

.menu-result-head {
    display: flex;
    gap: 18px;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 18px;
}

.plan-summary {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-bottom: 18px;
}

.macro-ring {
    width: 150px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    background: conic-gradient(var(--protein-color) 0 40%, var(--fat-color) 40% 65%, var(--carb-color) 65% 100%);
}

.macro-ring::after {
    content: "";
    position: absolute;
    width: 62%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ffffff;
}

.macro-ring strong,
.macro-ring span {
    position: relative;
    z-index: 1;
    line-height: 1;
}

.macro-ring strong {
    align-self: end;
    font-family: "Unbounded", sans-serif;
    font-size: 30px;
}

.macro-ring span {
    align-self: start;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    max-width: 82px;
    line-height: 1.2;
}

.macro-ratio-line {
    margin: 10px 0 0;
    color: #475569;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.summary-macros {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.week-tabs,
.day-tabs {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 3px 0 12px;
}

.week-tabs button,
.day-tabs button {
    border: 1px solid var(--line);
    background: #ffffff;
    color: #24435f;
    border-radius: var(--radius);
    padding: 10px 14px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.week-tabs button.active,
.day-tabs button.active {
    background: #0f7ae5;
    border-color: #0f7ae5;
    color: #ffffff;
}

.week-tabs button.locked {
    color: #64748b;
    background: #f8fafc;
}

.week-tabs .buy-month-plan-btn {
    margin-left: auto;
    background: linear-gradient(135deg, #102033, #1d3350);
    border-color: #102033;
    color: #ffffff;
    box-shadow: none;
}

.week-tabs .buy-month-plan-btn:hover {
    transform: translateY(-1px);
    box-shadow: none;
}

.result-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.result-grid--single {
    grid-template-columns: 1fr;
}

.app-menu-banner {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #102033, #0f7ae5);
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 122, 229, 0.22);
}

.app-menu-banner span {
    display: inline-flex;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.app-menu-banner h3 {
    margin: 0;
    font-size: 24px;
    line-height: 1.18;
}

.app-menu-banner p {
    margin: 8px 0 0;
    max-width: 650px;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 750;
    line-height: 1.45;
}

.app-menu-banner .cta {
    flex-shrink: 0;
    color: #0f4f8f;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.menu-plan-page--pwa .app-menu-banner {
    display: none;
}

.day-menu-card,
.shopping-card,
.locked-panel {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}

.day-menu-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    margin-bottom: 14px;
}

.day-menu-head {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.day-menu-actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 16px;
}

.import-day-btn {
    position: relative;
    overflow: hidden;
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    background: linear-gradient(135deg, #102033, #1d3350);
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(16, 32, 51, 0.18);
}

.import-day-btn::after {
    content: "";
    position: absolute;
    inset: -60% auto -60% -45%;
    width: 42%;
    transform: rotate(18deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.44), transparent);
    animation: importButtonShine 2.8s ease-in-out infinite;
}

@keyframes importButtonShine {
    0% {
        left: -45%;
    }

    42%,
    100% {
        left: 120%;
    }
}

.day-menu-title h3 {
    margin: 0;
    font-size: 24px;
}

.day-total {
    color: var(--muted);
    font-weight: 900;
}

.meal-list {
    display: grid;
    gap: 12px;
}

.meal-card {
    border-radius: var(--radius);
    border: 1px solid #e7eef8;
    overflow: hidden;
}

.meal-card header {
    background: #dff1ff;
    color: #075da8;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-weight: 900;
}

.meal-card:nth-child(2n) header {
    background: #e9fbe8;
    color: #11743a;
}

.meal-card:nth-child(3n) header {
    background: #fff5c7;
    color: #7a5700;
}

.meal-card ul {
    list-style: none;
    margin: 0;
    padding: 10px 12px;
    display: grid;
    gap: 9px;
}

.meal-card li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: start;
    font-weight: 800;
}

.menu-product-main {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.menu-product-title {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.menu-product-name,
.replace-product-btn {
    width: max-content;
    max-width: 100%;
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    text-align: left;
}

.meal-card li span,
.menu-product-kcal {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.replace-product-btn {
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #102033;
    cursor: pointer;
    padding: 2px 4px;
    margin: -2px -4px;
    font: inherit;
    transition: background 0.16s ease, color 0.16s ease;
}

.replace-product-btn strong,
.menu-product-name strong {
    color: #102033;
    border-bottom: 1px dashed rgba(15, 122, 229, 0.45);
}

.replace-product-btn:hover,
.replace-product-btn.is-open {
    background: #eaf6ff;
    color: #075da8;
}

.replace-product-btn:hover strong,
.replace-product-btn.is-open strong {
    color: #075da8;
    border-bottom-color: transparent;
}

.replace-options {
    width: min(100%, 460px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 8px;
    border: 1px solid #b8dcf8;
    border-radius: 14px;
    background: #f8fcff;
    box-shadow: 0 12px 28px rgba(15, 47, 95, 0.09);
}

.replace-options button {
    min-width: 0;
    border: 1px solid #dceaf8;
    border-radius: 11px;
    background: #ffffff;
    color: #102033;
    cursor: pointer;
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    text-align: left;
    font-weight: 900;
}

.replace-options button:hover {
    border-color: #0f7ae5;
    background: #eaf6ff;
}

.replace-options small {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.item-components {
    display: grid;
    gap: 6px;
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
}

.component-row {
    display: grid;
    gap: 7px;
    align-items: start;
    padding: 7px 8px;
    border: 1px solid #edf3fb;
    border-radius: 12px;
    background: #fbfdff;
}

.meal-note {
    margin: 0 12px 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f7fbff;
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

.shopping-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.shopping-section {
    margin-bottom: 14px;
}

.shopping-section strong {
    display: block;
    margin-bottom: 7px;
    color: #0f64b8;
}

.shopping-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 7px;
}

.shopping-section li {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    color: #334155;
    font-weight: 800;
}

.shopping-section li::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid #12aaa0;
    border-radius: 5px;
    margin-top: 1px;
}

.locked-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    margin-top: 18px;
    background: #f8fcff;
}

.locked-panel h3 {
    margin: 0 0 6px;
}

.locked-panel p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.45;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.seo-grid article {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}

.seo-grid img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.seo-grid h3 {
    margin: 0 0 8px;
}

.seo-grid p {
    margin: 0;
    line-height: 1.5;
    font-weight: 700;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.faq-grid article {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px;
}

.faq-grid h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.faq-grid p {
    margin: 0;
    color: #40556e;
    line-height: 1.55;
    font-weight: 700;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.46);
    padding: 18px;
    overflow-y: auto;
}

.modal[hidden] {
    display: none;
}

.modal-panel {
    position: relative;
    width: min(460px, 100%);
    background: #ffffff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.26);
    padding: 24px;
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    margin: auto;
}

.modal-panel--wide {
    width: min(560px, 100%);
}

.modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef4fb;
    color: #1f2937;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.modal-panel h2 {
    margin: 12px 0 8px;
    font-size: 28px;
}

.modal-panel label {
    display: grid;
    gap: 8px;
    margin-top: 12px;
    font-weight: 900;
    color: #20364e;
}

.modal-panel label.payment-legal-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 14px 0 0;
    padding: 11px 12px;
    border: 1px solid rgba(15, 122, 229, 0.14);
    border-radius: 14px;
    background: rgba(240, 248, 255, 0.78);
    color: #667993;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.45;
}

.modal-panel label.menu-legal-consent.is-invalid {
    border-color: rgba(239, 68, 68, 0.45);
    background: #fff4f4;
}

.modal-panel label.payment-legal-consent input,
.modal-panel label.payment-legal-consent input:focus {
    flex: 0 0 16px;
    width: 16px;
    min-width: 16px;
    height: 16px;
    min-height: 16px;
    margin: 1px 0 0;
    padding: 0;
    border-radius: 4px;
    accent-color: #0f7ae5;
    box-shadow: none;
}

.payment-legal-consent a {
    color: #0f7ae5;
    font-weight: 900;
    text-decoration: none;
}

.payment-legal-consent a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.payment-legal-consent.is-invalid {
    border-color: rgba(239, 68, 68, 0.45);
    background: #fff4f4;
    animation: menuShake 0.36s ease-in-out;
}

@keyframes menuShake {
    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

.modal-panel .cta {
    width: 100%;
    margin-top: 14px;
}

.modal-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.modal-panel .modal-actions .cta,
.modal-panel .modal-actions .link-cta {
    flex: 1 1 220px;
    width: auto;
    margin-top: 0;
}

.modal-link {
    color: #0f7ae5;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.import-calendar {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid rgba(88, 153, 217, 0.16);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(15, 122, 229, 0.08);
}

.import-calendar .calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(88, 153, 217, 0.1);
}

.import-calendar .calendar-modal-header h3 {
    margin: 0;
    color: #1565c0;
    font-size: 20px;
    font-weight: 800;
}

.import-calendar .calendar-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.import-calendar .calendar-today-btn {
    border: none;
    min-width: 84px;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(88, 153, 217, 0.12);
    color: #1565c0;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.import-calendar .calendar-today-btn:hover {
    background: rgba(88, 153, 217, 0.2);
}

.import-calendar .calendar-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.import-calendar .calendar-nav-btn {
    background: transparent;
    border: 1px solid rgba(88, 153, 217, 0.3);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #5899d9;
    font-size: 24px;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.import-calendar .calendar-nav-btn:hover {
    background: rgba(88, 153, 217, 0.1);
    border-color: #5899d9;
}

.import-calendar .calendar-month-year {
    font-size: 18px;
    font-weight: 800;
    color: #2c3e50;
}

.import-calendar .calendar-weekdays,
.import-calendar .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.import-calendar .calendar-weekdays {
    margin-bottom: 8px;
}

.import-calendar .calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #666;
    padding: 8px 4px;
}

.import-calendar .calendar-day {
    aspect-ratio: 1;
    border: 1px solid rgba(88, 153, 217, 0.2);
    border-radius: 8px;
    background: #ffffff;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.import-calendar .calendar-day:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(88, 153, 217, 0.4);
    transform: translateY(-1px);
}

.import-calendar .calendar-day.other-month {
    color: #c9d1db;
    background: #f8f9fa;
}

.import-calendar .calendar-day.today {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border-color: #3b82f6;
    color: #1e40af;
}

.import-calendar .calendar-day.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.import-calendar .calendar-day.has-meal::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #5899d9;
    box-shadow: 0 2px 6px rgba(88, 153, 217, 0.35);
}

.import-calendar .calendar-day.other-month.has-meal::after {
    opacity: 0.45;
}

.import-calendar .calendar-day.selected.has-meal::after {
    background: #bfdbfe;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.18);
}

.import-promo-notice {
    position: fixed;
    right: 24px;
    top: 86px;
    z-index: 10001;
    width: min(430px, calc(100vw - 32px));
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 28px 90px rgba(15, 47, 95, 0.22);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.import-promo-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.import-promo-notice__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: #102033;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.import-promo-notice span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #ddf0ff;
    color: #075da8;
    font-size: 13px;
    font-weight: 900;
    padding: 8px 13px;
}

.import-promo-notice h2 {
    margin: 0 34px 12px 0;
    font-size: 24px;
    line-height: 1.18;
}

.import-promo-notice p {
    margin: 0 0 12px;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.5;
}

.import-promo-notice .cta {
    width: 100%;
    min-height: 48px;
    margin-top: 6px;
}

.social-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0 8px;
}

.social-auth-btn {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    color: #1f3349;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    font-weight: 900;
    padding: 8px 12px;
    text-align: left;
    box-shadow: 0 10px 24px rgba(15, 47, 95, 0.05);
}

.social-auth-btn:hover {
    border-color: rgba(30, 136, 229, 0.32);
    box-shadow: 0 14px 30px rgba(15, 47, 95, 0.08);
}

.social-auth-icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: transparent;
    flex-shrink: 0;
    overflow: hidden;
}

.social-auth-icon svg,
.social-auth-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-auth-icon--brand {
    background: transparent;
}

.social-auth-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.saved-menu-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.saved-menu-item {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    color: #102033;
    cursor: pointer;
    padding: 14px;
    text-align: left;
    box-shadow: 0 10px 24px rgba(15, 47, 95, 0.05);
}

.saved-menu-item:hover {
    border-color: rgba(15, 122, 229, 0.32);
    transform: translateY(-1px);
}

.saved-menu-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.saved-menu-item span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.saved-menu-item b {
    color: #0f7ae5;
    white-space: nowrap;
}

.empty-state {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f8fcff;
    color: var(--muted);
    font-weight: 800;
    line-height: 1.45;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.privacy-note {
    margin: 10px 0 0;
    color: #6b7f97;
    font-size: 12px;
    line-height: 1.45;
}

.privacy-note a {
    color: #0f64b8;
    font-weight: 800;
}

.modal-status {
    min-height: 20px;
    margin: 12px 0 0;
    color: #0f64b8;
    font-weight: 800;
}

.payment-preview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin: 16px 0 4px;
}

.payment-preview span {
    display: grid;
    place-items: center;
    min-height: 50px;
    border-radius: var(--radius);
    background: #f0f8ff;
    border: 1px solid var(--line);
    font-weight: 900;
}

.menu-footer {
    margin-top: 42px;
    padding: 34px max(18px, calc((100vw - 1180px) / 2)) 24px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

.menu-footer__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.menu-footer__brand p {
    margin: 0;
    color: #64748b;
    font-weight: 750;
    line-height: 1.45;
}

.menu-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 14px;
}

.menu-footer__grid section {
    min-height: 142px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.82);
}

.menu-footer__grid h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.menu-footer__grid a {
    display: block;
    margin: 8px 0 0;
    color: #34506b;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.menu-footer__grid a:hover {
    color: #0f7ae5;
}

.menu-footer__contacts {
    display: grid;
    align-content: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
}

.menu-footer__contacts h3 {
    grid-column: 1 / -1;
}

.menu-footer__bottom {
    margin: 18px 0 0;
    color: #7a8ca3;
    font-size: 13px;
    font-weight: 750;
}

.preferences-help-grid {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.preferences-help-grid p {
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f8fcff;
    color: #40556e;
    font-weight: 700;
    line-height: 1.45;
}

.preferences-help-grid b {
    color: #102033;
}

@media (max-width: 980px) {
    .nav {
        display: none;
    }

    .menu-hero,
    .calculator-panel,
    .result-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 300px;
    }

    .kbju-result-card {
        position: static;
    }

    .restriction-grid,
    .activity-grid,
    .seo-grid,
    .faq-grid,
    .menu-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .locked-panel {
        grid-template-columns: 1fr;
    }

    .app-menu-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-user-name {
        max-width: 104px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 0;
    }

    .import-promo-notice {
        top: 14px;
        right: 10px;
        left: 10px;
        width: auto;
        padding: 20px;
    }

    .topbar {
        position: static;
    }

    main {
        width: min(100% - 20px, 1180px);
    }

    .topbar-inner {
        width: min(100% - 16px, 1180px);
        min-height: 108px;
        gap: 8px;
        flex-wrap: wrap;
        align-content: center;
        padding: 8px 0 9px;
    }

    .topbar-leading {
        order: 1;
        gap: 8px;
        min-width: 0;
        flex: 0 1 auto;
    }

    .menu-plan-page--pwa .topbar-inner {
        min-height: 64px;
        flex-wrap: nowrap;
        padding: 8px 0;
        gap: 8px;
    }

    .brand {
        min-width: 0;
        margin-right: 6px;
        font-size: 15px;
    }

    .brand img {
        width: 30px;
        height: 30px;
    }

    .app-back-btn {
        order: 1;
        min-height: 38px;
        padding: 0 9px 0 7px;
        font-size: 12px;
    }

    .app-back-btn svg {
        width: 18px;
        height: 18px;
    }

    .menu-plan-page--pwa .brand {
        margin-right: 0;
    }

    .menu-plan-page--pwa .brand-title {
        display: none;
    }

    .top-auth {
        order: 2;
        flex: 1 1 auto;
        justify-content: flex-end;
        margin-left: 0;
        gap: 6px;
        max-width: none;
        overflow: visible;
    }

    .nav {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        gap: 7px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 2px 1px 1px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

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

    .nav a {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 12px;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: #ffffff;
        color: #123456;
        font-size: 12px;
        font-weight: 900;
    }

    .nav a[href="/menyu-na-nedelyu/"] {
        border-color: rgba(15, 122, 229, 0.28);
        background: #eaf6ff;
        color: #075da8;
    }

    #menu-calc {
        scroll-margin-top: 124px;
    }

    .top-cta {
        min-height: 40px;
        padding: 0 12px;
        font-size: 13px;
    }

    .top-menu-btn {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 0 9px;
        font-size: 12px;
        max-width: none;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .logout-icon-btn {
        flex: 0 0 38px;
        width: 38px;
        min-height: 38px;
    }

    .top-user-name {
        flex: 0 1 auto;
        min-width: 0;
        max-width: clamp(54px, 18vw, 104px);
        font-size: 12px;
    }

    input,
    textarea,
    select {
        font-size: 16px;
    }

    .pwa-prefill-banner {
        grid-template-columns: 1fr;
        margin-top: 14px;
        padding: 14px;
    }

    .pwa-prefill-actions {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .pwa-prefill-actions .link-cta {
        width: 100%;
    }

    .menu-hero {
        min-height: auto;
        padding: 30px 0 16px;
        gap: 18px;
    }

    h1 {
        font-size: clamp(38px, 12vw, 58px);
    }

    .hero-copy p {
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-visual {
        min-height: 260px;
        border-radius: 24px;
    }

    .hero-icon-main {
        width: min(82vw, 280px);
        height: min(82vw, 280px);
        inset: auto;
    }

    .hero-icon-small {
        width: min(24vw, 90px);
        height: min(24vw, 90px);
        left: 10px;
        top: 4px;
        bottom: auto;
    }

    .hero-visual::before {
        inset: 34px 4px 20px 4px;
    }

    .day-menu-title {
        flex-direction: column;
    }

    .day-menu-actions {
        width: 100%;
        justify-content: stretch;
    }

    .import-day-btn,
    .day-menu-actions .pdf-button {
        width: 100%;
    }

    .catalog-section,
    .menu-result-section {
        padding: 16px;
    }

    .input-grid,
    .choice-grid--three,
    .activity-grid,
    .restriction-grid,
    .summary-macros,
    .seo-grid,
    .faq-grid,
    .menu-footer__grid {
        grid-template-columns: 1fr;
    }

    .menu-footer {
        margin-top: 24px;
        padding: 26px 14px 18px;
    }

    .menu-footer__brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .menu-footer__grid section {
        min-height: 0;
        padding: 15px;
    }

    .menu-footer__contacts {
        grid-template-columns: 1fr;
    }

    .plan-summary {
        grid-template-columns: 1fr;
    }

    .macro-ring {
        width: 136px;
    }

    .menu-result-head {
        align-items: stretch;
        flex-direction: column;
    }

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

    .social-auth-grid {
        grid-template-columns: 1fr;
    }

    .saved-menu-item {
        grid-template-columns: 1fr;
    }

    .app-menu-banner {
        padding: 16px;
    }

    .app-menu-banner h3 {
        font-size: 21px;
    }

    .app-menu-banner .cta {
        width: 100%;
    }

    .week-tabs .buy-month-plan-btn {
        margin-left: 0;
    }

    .component-row {
        grid-template-columns: 1fr;
    }

    .replace-options {
        grid-template-columns: 1fr;
        width: 100%;
    }
}
