/* /Components/IngredientPicker.razor.rz.scp.css */
.picker-shell[b-7adn569k2r] {
    display: flex;
    flex-direction: column;
    max-height: 65vh;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -6px 20px rgba(45, 42, 38, 0.08);
}

.picker-header[b-7adn569k2r] {
    padding: 1rem 1.25rem 0.5rem;
}

.picker-title[b-7adn569k2r] {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.picker-sub[b-7adn569k2r] {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.picker-list[b-7adn569k2r] {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 1.25rem 0.5rem;
    -webkit-overflow-scrolling: touch;
}

.picker-row[b-7adn569k2r] {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.picker-row:last-child[b-7adn569k2r] {
    border-bottom: none;
}

.picker-info[b-7adn569k2r] {
    margin-bottom: 0.5rem;
}

.ingredient-name[b-7adn569k2r] {
    font-size: 1rem;
    color: var(--text);
    font-weight: 500;
}

.ingredient-qty[b-7adn569k2r] {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
    font-variant-numeric: tabular-nums;
}

/* Segmented control */

.picker-segments[b-7adn569k2r] {
    display: flex;
    gap: 0.3rem;
    padding: 0.2rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.picker-segments button[b-7adn569k2r] {
    flex: 1;
    padding: 0.5rem 0.65rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.picker-segments button.selected[b-7adn569k2r] {
    background: var(--accent);
    color: white;
}

.picker-segments button:not(.selected):active[b-7adn569k2r] {
    background: var(--surface-2);
}

.picker-qty-input[b-7adn569k2r] {
    margin-top: 0.5rem;
    animation: slide-down-b-7adn569k2r 0.15s ease-out;
}

.picker-qty-input input[b-7adn569k2r] {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--border);
    background: var(--bg);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.picker-qty-input input:focus[b-7adn569k2r] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}

@keyframes slide-down-b-7adn569k2r {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Submit bar */

.picker-submit-bar[b-7adn569k2r] {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.picker-submit-bar button[b-7adn569k2r] {
    flex: 1;
    padding: 0.75rem 0.9rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.15s, transform 0.1s, opacity 0.15s;
}

.picker-submit-bar button:active:not(:disabled)[b-7adn569k2r] {
    transform: scale(0.97);
}

.picker-submit-bar .action-secondary[b-7adn569k2r] {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
    flex: 0 0 6rem;
}

.picker-submit-bar .action-primary[b-7adn569k2r] {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
}

.picker-submit-bar .action-primary:hover:not(:disabled)[b-7adn569k2r] {
    background: var(--accent-strong);
}

.picker-submit-bar .action-primary:disabled[b-7adn569k2r] {
    opacity: 0.45;
    cursor: not-allowed;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* MainLayout is intentionally minimal — each page owns its own chrome. */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-1x4inugwj4],
.components-reconnect-repeated-attempt-visible[b-1x4inugwj4],
.components-reconnect-failed-visible[b-1x4inugwj4],
.components-pause-visible[b-1x4inugwj4],
.components-resume-failed-visible[b-1x4inugwj4],
.components-rejoining-animation[b-1x4inugwj4] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-1x4inugwj4],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-1x4inugwj4],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-1x4inugwj4],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-1x4inugwj4],
#components-reconnect-modal.components-reconnect-retrying[b-1x4inugwj4],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-1x4inugwj4],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-1x4inugwj4],
#components-reconnect-modal.components-reconnect-failed[b-1x4inugwj4],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-1x4inugwj4] {
    display: block;
}


#components-reconnect-modal[b-1x4inugwj4] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-1x4inugwj4 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-1x4inugwj4 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-1x4inugwj4 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-1x4inugwj4]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-1x4inugwj4 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-1x4inugwj4 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-1x4inugwj4 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-1x4inugwj4 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-1x4inugwj4] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-1x4inugwj4] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-1x4inugwj4] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-1x4inugwj4] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-1x4inugwj4] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-1x4inugwj4] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-1x4inugwj4] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-1x4inugwj4 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-1x4inugwj4] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-1x4inugwj4 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Chat.razor.rz.scp.css */
.chat-shell[b-qay5kvk1n1] {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    background: var(--bg);
}

/* Header */

.chat-header[b-qay5kvk1n1] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    padding-top: max(0.85rem, env(safe-area-inset-top));
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    /* Must sit above .menu-backdrop (50) so taps on the popover land on
       the buttons, not on the transparent backdrop. */
    z-index: 100;
}

.header-icon[b-qay5kvk1n1] {
    font-size: 1.5rem;
    line-height: 1;
}

.header-text[b-qay5kvk1n1] {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.header-title[b-qay5kvk1n1] {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.header-sub[b-qay5kvk1n1] {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

.header-actions[b-qay5kvk1n1] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.list-badge[b-qay5kvk1n1] {
    background: var(--accent-bg);
    color: var(--accent-strong);
    border: 1px solid var(--accent-soft);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.15s;
}

.list-badge:active[b-qay5kvk1n1] {
    background: var(--accent-soft);
}

.theme-toggle[b-qay5kvk1n1] {
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.theme-toggle:hover[b-qay5kvk1n1], .theme-toggle:active[b-qay5kvk1n1] {
    background: var(--surface-2);
    color: var(--text);
}

/* Messages */

.chat-messages[b-qay5kvk1n1] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
}

.bubble[b-qay5kvk1n1] {
    line-height: 1.55;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

/* Markdown output styling — Markdig wraps content in <p>, lists, etc. */
.bubble[b-qay5kvk1n1]  p {
    margin: 0;
}

.bubble[b-qay5kvk1n1]  p + p,
.bubble[b-qay5kvk1n1]  p + ul,
.bubble[b-qay5kvk1n1]  p + ol,
.bubble[b-qay5kvk1n1]  ul + p,
.bubble[b-qay5kvk1n1]  ol + p {
    margin-top: 0.55rem;
}

.bubble[b-qay5kvk1n1]  ul,
.bubble[b-qay5kvk1n1]  ol {
    margin: 0.4rem 0 0;
    padding-left: 1.4rem;
}

.bubble[b-qay5kvk1n1]  ul li,
.bubble[b-qay5kvk1n1]  ol li {
    margin-bottom: 0.25rem;
}

.bubble[b-qay5kvk1n1]  ul li:last-child,
.bubble[b-qay5kvk1n1]  ol li:last-child {
    margin-bottom: 0;
}

.bubble[b-qay5kvk1n1]  strong {
    font-weight: 600;
    color: var(--text);
}

.bubble[b-qay5kvk1n1]  em {
    font-style: italic;
}

.bubble[b-qay5kvk1n1]  code {
    background: var(--surface-2);
    padding: 0.1em 0.35em;
    border-radius: 4px;
    font-size: 0.88em;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

.bubble[b-qay5kvk1n1]  a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bubble[b-qay5kvk1n1]  blockquote {
    margin: 0.4rem 0;
    padding: 0.2rem 0.85rem;
    border-left: 3px solid var(--accent-soft);
    color: var(--text-muted);
}

.assistant-bubble[b-qay5kvk1n1] {
    align-self: stretch;
    color: var(--text);
    font-size: 1rem;
    padding: 0 0.25rem;
}

.user-bubble[b-qay5kvk1n1] {
    align-self: flex-end;
    max-width: 85%;
    background: var(--accent-bg);
    color: var(--text);
    padding: 0.65rem 1rem;
    border-radius: 18px;
    border-bottom-right-radius: 4px;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
}

.dots[b-qay5kvk1n1] {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    animation: pulse-b-qay5kvk1n1 1.4s infinite ease-in-out;
}

@keyframes pulse-b-qay5kvk1n1 {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Kebab menu */

.kebab-wrap[b-qay5kvk1n1] {
    position: relative;
}

.menu-backdrop[b-qay5kvk1n1] {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 50;
}

.menu-popover[b-qay5kvk1n1] {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    z-index: 60;
    min-width: 11rem;
    overflow: hidden;
    animation: menu-in-b-qay5kvk1n1 0.12s ease-out;
}

@keyframes menu-in-b-qay5kvk1n1 {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-popover button[b-qay5kvk1n1] {
    display: block;
    width: 100%;
    padding: 0.7rem 1rem;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.1s;
}

.menu-popover button:hover[b-qay5kvk1n1], .menu-popover button:active[b-qay5kvk1n1] {
    background: var(--surface-2);
}

/* Reset-confirm modal */

.modal-backdrop[b-qay5kvk1n1] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Above the chat-header (100) so the modal covers everything. */
    z-index: 200;
    padding: 1.5rem;
    animation: backdrop-in-b-qay5kvk1n1 0.15s ease-out;
}

@keyframes backdrop-in-b-qay5kvk1n1 {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal[b-qay5kvk1n1] {
    background: var(--surface);
    border-radius: 18px;
    padding: 1.5rem;
    max-width: 22rem;
    width: 100%;
    box-shadow: var(--shadow-md);
    animation: modal-in-b-qay5kvk1n1 0.18s ease-out;
}

@keyframes modal-in-b-qay5kvk1n1 {
    from { opacity: 0; transform: scale(0.95) translateY(8px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal h3[b-qay5kvk1n1] {
    font-family: 'Lora', Georgia, serif;
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    color: var(--text);
    letter-spacing: -0.01em;
}

.modal p[b-qay5kvk1n1] {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.modal-actions[b-qay5kvk1n1] {
    display: flex;
    gap: 0.5rem;
}

.modal-actions button[b-qay5kvk1n1] {
    flex: 1;
    padding: 0.7rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.15s, transform 0.1s;
}

.modal-actions button:active[b-qay5kvk1n1] {
    transform: scale(0.97);
}

.modal-actions .action-secondary[b-qay5kvk1n1] {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}

.modal-actions .action-primary[b-qay5kvk1n1] {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
}

.modal-actions .action-primary:hover[b-qay5kvk1n1] {
    background: var(--accent-strong);
}

/* First-visit setup CTA */

.setup-screen[b-qay5kvk1n1] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.setup-icon[b-qay5kvk1n1] {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.setup-title[b-qay5kvk1n1] {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--text);
    margin: 0 0 0.5rem;
    letter-spacing: -0.01em;
}

.setup-text[b-qay5kvk1n1] {
    margin: 0 0 1.75rem;
    font-size: 1rem;
    max-width: 28ch;
    line-height: 1.5;
}

.primary-btn[b-qay5kvk1n1] {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.15s, transform 0.1s;
}

.primary-btn:hover[b-qay5kvk1n1] {
    background: var(--accent-strong);
}

.primary-btn:active[b-qay5kvk1n1] {
    transform: scale(0.97);
}

/* Pending-list action bar */

.action-bar[b-qay5kvk1n1] {
    display: flex;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 12px rgba(45, 42, 38, 0.06);
    z-index: 5;
}

.action-bar button[b-qay5kvk1n1] {
    flex: 1;
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.15s, transform 0.1s, border-color 0.15s;
}

.action-bar button:active[b-qay5kvk1n1] {
    transform: scale(0.97);
}

.action-secondary[b-qay5kvk1n1] {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border);
}

.action-secondary:hover[b-qay5kvk1n1] {
    background: var(--bg);
    border-color: var(--accent-soft);
}

.action-primary[b-qay5kvk1n1] {
    background: var(--accent);
    color: white;
    border: 1px solid var(--accent);
}

.action-primary:hover[b-qay5kvk1n1] {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
}

/* Input */

.chat-input-area[b-qay5kvk1n1] {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    background: var(--bg);
    border-top: 1px solid var(--border);
    align-items: flex-end;
}

.chat-input-area textarea[b-qay5kvk1n1] {
    flex: 1;
    resize: none;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    border-radius: 22px;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    line-height: 1.4;
    outline: none;
    max-height: 8rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.chat-input-area textarea:focus[b-qay5kvk1n1] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}

.chat-input-area textarea:disabled[b-qay5kvk1n1] {
    opacity: 0.6;
}

.chat-input-area textarea[b-qay5kvk1n1]::placeholder {
    color: var(--text-muted);
}

.send-btn[b-qay5kvk1n1] {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: opacity 0.15s, transform 0.1s, background 0.15s;
}

.send-btn:not(:disabled):hover[b-qay5kvk1n1] {
    background: var(--accent-strong);
}

.send-btn:not(:disabled):active[b-qay5kvk1n1] {
    transform: scale(0.94);
}

.send-btn:disabled[b-qay5kvk1n1] {
    opacity: 0.35;
    cursor: not-allowed;
}
/* /Components/Pages/GroceryList.razor.rz.scp.css */
.list-shell[b-qt74utcv78] {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    background: var(--bg);
}

/* Header */

.list-header[b-qt74utcv78] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    padding-top: max(0.85rem, env(safe-area-inset-top));
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-btn[b-qt74utcv78] {
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 0.5rem;
    margin-left: -0.5rem;
    border-radius: 8px;
    transition: background 0.15s;
}

.back-btn:active[b-qt74utcv78] {
    background: var(--surface-2);
}

.header-title[b-qt74utcv78] {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    letter-spacing: -0.01em;
    flex: 1;
    text-align: center;
}

.header-counter[b-qt74utcv78] {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    background: var(--surface-2);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}

/* Content */

.list-content[b-qt74utcv78] {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 0 2rem;
    -webkit-overflow-scrolling: touch;
}

.section[b-qt74utcv78] {
    margin-bottom: 1.75rem;
}

.section-name[b-qt74utcv78] {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    padding: 0 1.25rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    letter-spacing: -0.005em;
}

.section-name[b-qt74utcv78]::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    flex-shrink: 0;
}

/* Cycle category dot colors */
.section:nth-child(4n+1) .section-name[b-qt74utcv78]::before { background: var(--tint-sage); }
.section:nth-child(4n+2) .section-name[b-qt74utcv78]::before { background: var(--tint-apricot); }
.section:nth-child(4n+3) .section-name[b-qt74utcv78]::before { background: var(--tint-rose); }
.section:nth-child(4n+4) .section-name[b-qt74utcv78]::before { background: var(--tint-clay); }

/* Items */

.list-item[b-qt74utcv78] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.25rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.1s;
    border-bottom: 1px solid var(--border);
}

.list-item:active[b-qt74utcv78] {
    background: var(--surface-2);
}

.checkbox[b-qt74utcv78] {
    font-size: 1.3rem;
    color: var(--text-muted);
    width: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.list-item.checked .checkbox[b-qt74utcv78] {
    color: var(--accent);
}

.item-name[b-qt74utcv78] {
    flex: 1;
    font-size: 1rem;
    color: var(--text);
    transition: color 0.15s;
}

.list-item.checked .item-name[b-qt74utcv78] {
    text-decoration: line-through;
    color: var(--text-muted);
}

.item-qty[b-qt74utcv78] {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.list-item.checked .item-qty[b-qt74utcv78] {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Empty state */

.empty-state[b-qt74utcv78] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.empty-icon[b-qt74utcv78] {
    font-size: 3.25rem;
    margin-bottom: 1.25rem;
    opacity: 0.5;
}

.empty-state p[b-qt74utcv78] {
    margin: 0 0 1.75rem;
    font-size: 1rem;
    max-width: 24ch;
}

.primary-btn[b-qt74utcv78] {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.15s, transform 0.1s;
}

.primary-btn:hover[b-qt74utcv78] {
    background: var(--accent-strong);
}

.primary-btn:active[b-qt74utcv78] {
    transform: scale(0.97);
}
/* /Components/Pages/Settings.razor.rz.scp.css */
.settings-shell[b-5h5kwur64c] {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    background: var(--bg);
}

.settings-header[b-5h5kwur64c] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    padding-top: max(0.85rem, env(safe-area-inset-top));
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    position: sticky;
    top: 0;
    z-index: 10;
}

.back-btn[b-5h5kwur64c] {
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 0.5rem;
    margin-left: -0.5rem;
    border-radius: 8px;
}

.back-btn:active[b-5h5kwur64c] {
    background: var(--surface-2);
}

.header-title[b-5h5kwur64c] {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    flex: 1;
    text-align: center;
    /* Spacer on the right to balance the back button visually */
    margin-right: 3rem;
}

.settings-content[b-5h5kwur64c] {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 1rem 2rem;
    -webkit-overflow-scrolling: touch;
}

.settings-section[b-5h5kwur64c] {
    margin-bottom: 1.75rem;
}

.section-title[b-5h5kwur64c] {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    padding: 0 0.25rem;
}

.section-hint[b-5h5kwur64c] {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0 0 0.85rem;
    padding: 0 0.25rem;
    line-height: 1.4;
}

/* Provider radio cards */

.provider-options[b-5h5kwur64c] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.provider-option[b-5h5kwur64c] {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.provider-option.selected[b-5h5kwur64c] {
    border-color: var(--accent);
    background: var(--accent-bg);
}

.provider-option input[type="radio"][b-5h5kwur64c] {
    appearance: none;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg);
    margin: 0;
    flex-shrink: 0;
    position: relative;
    top: 0.15rem;
    transition: border-color 0.15s;
}

.provider-option.selected input[type="radio"][b-5h5kwur64c] {
    border-color: var(--accent);
}

.provider-option.selected input[type="radio"][b-5h5kwur64c]::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--accent);
}

.provider-name[b-5h5kwur64c] {
    font-weight: 500;
    color: var(--text);
}

.provider-model[b-5h5kwur64c] {
    margin-left: auto;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

/* Fields */

.field[b-5h5kwur64c] {
    margin-bottom: 1rem;
}

.field label[b-5h5kwur64c] {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    padding: 0 0.25rem;
}

.field input[type="password"][b-5h5kwur64c],
.field input[type="text"][b-5h5kwur64c] {
    width: 100%;
    padding: 0.7rem 0.95rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 0.95rem;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus[b-5h5kwur64c] {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-bg);
}

/* Actions */

.settings-actions[b-5h5kwur64c] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.primary-btn[b-5h5kwur64c] {
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background 0.15s, transform 0.1s, opacity 0.15s;
}

.primary-btn:hover:not(:disabled)[b-5h5kwur64c] {
    background: var(--accent-strong);
}

.primary-btn:active:not(:disabled)[b-5h5kwur64c] {
    transform: scale(0.97);
}

.primary-btn:disabled[b-5h5kwur64c] {
    opacity: 0.5;
    cursor: not-allowed;
}

.saved-flash[b-5h5kwur64c] {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    animation: fade-in-b-5h5kwur64c 0.2s ease-out;
}

@keyframes fade-in-b-5h5kwur64c {
    from { opacity: 0; transform: translateY(2px); }
    to { opacity: 1; transform: translateY(0); }
}
/* /Components/RecipeCard.razor.rz.scp.css */
.recipe-card[b-m5opkzc3t1] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
    box-shadow: var(--shadow-sm);
    align-self: stretch;
}

.recipe-head[b-m5opkzc3t1] {
    margin-bottom: 0.75rem;
}

.recipe-title[b-m5opkzc3t1] {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text);
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.recipe-summary[b-m5opkzc3t1] {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.4;
}

.recipe-meta[b-m5opkzc3t1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.meta-pill[b-m5opkzc3t1] {
    background: var(--surface-2);
    color: var(--text-muted);
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Ingredients */

.ingredients-section[b-m5opkzc3t1] {
    padding-top: 0.7rem;
    border-top: 1px solid var(--border);
    margin-bottom: 0.4rem;
}

.section-label[b-m5opkzc3t1] {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.005em;
}

.ingredients[b-m5opkzc3t1] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ingredients li[b-m5opkzc3t1] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.3rem 0;
}

.ingredients li + li[b-m5opkzc3t1] {
    border-top: 1px solid var(--border);
}

.ing-name[b-m5opkzc3t1] {
    flex: 1;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.4;
}

.ing-qty[b-m5opkzc3t1] {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Instructions */

.instructions-toggle[b-m5opkzc3t1] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.7rem 0 0;
    cursor: pointer;
    text-align: left;
}

.caret[b-m5opkzc3t1] {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.7rem;
    transition: transform 0.15s ease;
}

.caret.open[b-m5opkzc3t1] {
    transform: rotate(90deg);
}

.toggle-label[b-m5opkzc3t1] {
    flex: 1;
}

.step-count[b-m5opkzc3t1] {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 400;
}

.instructions[b-m5opkzc3t1] {
    margin: 0.6rem 0 0;
    padding-left: 1.5rem;
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.55;
    animation: instr-in-b-m5opkzc3t1 0.2s ease-out;
}

.instructions li[b-m5opkzc3t1] {
    margin-bottom: 0.55rem;
}

.instructions li:last-child[b-m5opkzc3t1] {
    margin-bottom: 0;
}

.instructions li[b-m5opkzc3t1]::marker {
    color: var(--accent);
    font-weight: 600;
}

@keyframes instr-in-b-m5opkzc3t1 {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
