/* All NOURISH surfaces use the same pink/lime, rounded-card app foundations. */
.nourish-page .mf-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #b8b8b8;
    border-radius: 18px;
    background: #fff;
}
.nourish-page .mf-card :is(h2, p) {
    margin: 0;
}
.nourish-page .mf-card h2 {
    font: 800 18px/1.4 var(--ca-font, Manrope, sans-serif);
}
.nourish-page .nourish-item-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 14px;
}
.nourish-page .nourish-item-heading h2 {
    font-size: 16px;
}
.nourish-page .nourish-item-heading b {
    font-size: 14px;
}
.nourish-page .mf-form label {
    font-size: 12px;
    line-height: 1.6;
}
.nourish-page .mf-form :is(input, select, textarea) {
    min-height: 44px;
    font-size: 12px;
}
.nourish-menu > [data-nourish-order] {
    align-items: start;
    gap: 20px;
}
.nourish-menu .nourish-menu-items {
    display: grid;
    align-content: start;
    gap: 16px;
}
.nourish-menu .nourish-quantity {
    width: 150px;
    max-width: 100%;
}
/* Use the available PAGE width, so the app shell stays stacked even on desktop. */
@container (min-width: 880px) {
    .nourish-menu > [data-nourish-order] {
        grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr);
        column-gap: 24px;
    }
}
@media (forced-colors: none) {
    .nourish-menu .nourish-checkout select:is([data-no-mode], [data-no-gateway]) {
        appearance: none;
        padding-right: 36px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8 9.5 4.5' fill='none' stroke='%23111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 12px 12px;
    }
}
.nourish-page [data-no-manual] {
    display: grid;
    gap: 12px;
}
.nourish-page [hidden] {
    display: none !important;
}
.nourish-page .nourish-total {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #e1e1e1;
}
.nourish-page .nourish-total output {
    font-size: 16px;
    font-weight: 800;
}
.nourish-page .booking-policy-consent {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin: 0;
    padding: 12px !important;
    border: 1px solid #dde1e6;
    border-radius: 10px;
    background: #f7f8fa !important;
    text-align: left;
}
.nourish-page .booking-policy-consent input {
    appearance: auto;
    width: 18px;
    height: 18px;
    min-height: 18px;
    margin: 2px 0 0;
    padding: 0;
    border-radius: 4px;
    accent-color: var(--ca-pink, #fd2e89);
}
.nourish-page .booking-policy-consent label {
    display: block;
    margin: 0;
    font-size: 11px;
    line-height: 1.6;
}
.nourish-page .booking-policy-consent a {
    color: #0875d1;
    text-decoration: underline;
}
.nourish-page [data-no-submit] {
    width: 100%;
    min-height: 44px;
    background: var(--ca-pink, #fd2e89);
}
.nourish-page .nourish-notice {
    padding: 12px;
    border: 1px solid #e2e5da;
    border-radius: 10px;
    background: #f6f8ef;
    color: #4a5143;
    font-size: 12px;
}
.nourish-page .mf-records article {
    gap: 10px;
}
.nourish-page .mf-card details {
    margin-top: 0;
}
@container (max-width: 359px) {
    .nourish-page .mf-card {
        padding: 14px;
    }
    .nourish-page .nourish-item-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

.nourish-page .mf-heading {
    overflow-wrap: anywhere;
}
.nourish-page .nourish-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.nourish-page .nourish-action,
.nourish-page .mf-form button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #111;
    border-radius: 24px;
    background: var(--brand-pink, var(--ca-pink, #fd2e89));
    box-shadow: 2px 3px #111;
    color: #111;
    font:
        600 12px/1.5 Manrope,
        sans-serif;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.nourish-page .nourish-action-secondary {
    background: #fff;
    box-shadow: none;
    border-color: #b8b8b8;
}
.nourish-history .nourish-record-action {
    justify-self: start;
    max-width: 100%;
    margin-top: 8px;
    padding: 5px 12px;
    min-height: var(--ln-action-size, 44px);
    font-size: var(--ln-action-label-size, 13px);
}
.nourish-history .nourish-record-action:hover {
    background: #f5f5ef;
    border-color: #111;
}
.nourish-record-action > i { flex: none; }
.nourish-page .mf-form .nourish-danger {
    background: #fff4f7;
    border-color: #e5abbc;
    color: #a2184e;
    box-shadow: none;
}
.nourish-page .nourish-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    width: fit-content;
    max-width: 100%;
    color: #a51957;
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.nourish-page .nourish-statuses {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
}
.nourish-page .nourish-badge {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    padding: 4px 9px;
    border: 1px solid #e0e3da;
    border-radius: 6px;
    background: #f3f5ee;
    color: #4e5745;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.nourish-page .nourish-badge:is([data-payment-state='paid'], [data-order-state='completed']) {
    background: #f0f8ce;
    color: #334218;
    border-color: #dce9a6;
}
.nourish-page
    .nourish-badge:is(
        [data-order-state='cancelled'],
        [data-order-state='rejected'],
        [data-order-state='payment_expired']
    ) {
    background: #fff1f6;
    color: #943154;
    border-color: #f1d3dd;
}
.nourish-page .nourish-record-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 14px;
}
.nourish-page .nourish-record-heading strong {
    color: #111;
    font-size: 13px;
}
.nourish-page .nourish-summary {
    display: grid;
    gap: 10px;
    margin: 0;
}
.nourish-summary > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 14px;
}
.nourish-summary dt {
    font-size: 12px;
    font-weight: 500;
    color: #68716a;
}
.nourish-summary dd {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    overflow-wrap: anywhere;
}
.nourish-summary-total {
    padding-block: 12px;
    border-block: 1px solid #e6e6e6;
}
.nourish-summary .nourish-summary-total :is(dt, dd) {
    font-size: 16px;
    font-weight: 800;
    color: #111;
}
.nourish-page .nourish-timeline {
    list-style: none;
    margin: 0;
    padding: 0 0 0 7px;
}
.nourish-timeline li {
    position: relative;
    display: grid;
    gap: 4px;
    padding: 0 0 20px 18px;
    border-left: 2px solid #e2e7d4;
    font-size: 12px;
}
.nourish-timeline li::before {
    position: absolute;
    top: 4px;
    left: -6px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--lime, var(--ca-lime, #d2fa05));
    box-shadow: 0 0 0 1px #c8cfb8;
    content: '';
}
.nourish-timeline li:last-child {
    padding-bottom: 0;
}
.nourish-timeline time {
    color: #68716a;
    font-size: 11px;
}
.nourish-page .nourish-empty {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 8px;
}
.nourish-empty > i {
    font-size: 26px;
}
.nourish-page .mf-form .mf-check input {
    width: 19px;
    min-height: 19px;
    height: 19px;
    flex: 0 0 19px;
    padding: 0;
}
.nourish-menu-preview {
    border: 1px solid #d7d7d7;
    border-radius: 16px;
    background: #fff;
}
.nourish-menu-preview > summary {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 14px;
    border-radius: inherit;
    list-style: none;
    cursor: pointer;
}
.nourish-menu-preview > summary::-webkit-details-marker {
    display: none;
}
.nourish-menu-preview > summary:hover,
.nourish-menu-preview[open] > summary {
    background: #fff4f8;
    background: color-mix(in srgb, var(--brand-pink, var(--pa-pink, #fd2e89)) 7%, #fff);
}
.nourish-menu-preview > summary small {
    display: block;
    color: #68716a;
}
.nourish-preview-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: var(--lime, var(--pa-lime, #d2fa05));
    color: #111;
    font-size: 18px;
    line-height: 1;
}
.nourish-menu-preview[open] .nourish-preview-chevron {
    transform: rotate(180deg);
}
.nourish-preview-content {
    display: grid;
    gap: 12px;
    padding: 14px;
    overflow-wrap: anywhere;
}
.nourish-preview-content :is(h2, h3, p) {
    margin: 0;
}
.nourish-preview-content :is(h2, h3) {
    font: inherit;
    font-weight: 800;
}
.nourish-operations .nourish-fulfilment {
    grid-column: 1/-1;
}
.admin-workspace .nourish-operations .mf-card {
    border-radius: 6px;
    border-color: var(--pw-border, #eef0e9);
    padding: 16px;
}
.admin-workspace .nourish-operations .mf-card h2 {
    font-size: 14px;
}
.admin-workspace .nourish-operations .mf-form button {
    border-radius: 6px;
}
