/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Mobile-first approach */
.app-container[b-iy4okwpeja] {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: transparent;
}

/* Top Navigation Bar */
.top-navbar[b-iy4okwpeja] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, var(--lavender-500) 0%, var(--accent) 100%);
    color: white;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.brand[b-iy4okwpeja] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    flex: 1;
}

.brand-button[b-iy4okwpeja] {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.brand-icon[b-iy4okwpeja] {
    font-size: 1.2rem;
}

.brand-name[b-iy4okwpeja] {
    display: none;
}

.top-actions[b-iy4okwpeja] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.icon-button[b-iy4okwpeja] {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.icon-button:hover[b-iy4okwpeja] {
    background: rgba(255, 255, 255, 0.3);
}

.icon-button.primary[b-iy4okwpeja] {
    background: rgba(255, 255, 255, 0.95);
}

.icon-button .icon[b-iy4okwpeja] {
    font-size: 1.25rem;
    line-height: 1;
}

.icon-button.primary .icon[b-iy4okwpeja] {
    color: var(--accent);
}

/* Main Content */
.main-content[b-iy4okwpeja] {
    flex: 1;
    margin-top: 60px;
    padding: 1rem;
}

.config-error-banner[b-iy4okwpeja] {
    margin-top: 60px;
    background-color: #f8d7da;
    color: #842029;
    border-bottom: 1px solid #f1aeb5;
    padding: 0.75rem 1rem;
}

.config-error-banner ul[b-iy4okwpeja] {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.content-wrapper[b-iy4okwpeja] {
    max-width: 1400px;
    margin: 0 auto;
}

/* Tablet and up */
@media (min-width: 641px) {
    .brand-name[b-iy4okwpeja] {
        display: inline;
    }

    .main-content[b-iy4okwpeja] {
        padding: 1.5rem;
    }
}

/* Desktop */
@media (min-width: 1025px) {
    .main-content[b-iy4okwpeja] {
        padding: 2rem;
    }
}

#blazor-error-ui[b-iy4okwpeja] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-iy4okwpeja] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.nav-menu[b-wjroyjxkb9] {
    display: flex;
    flex-direction: column;
}

.nav-tools details[b-wjroyjxkb9] {
    width: 100%;
}

.nav-item[b-wjroyjxkb9] {
    padding: 0;
}

.nav-link[b-wjroyjxkb9] {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--nav-link);
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    font-size: 1rem;
    border-left: 3px solid transparent;
}

    .nav-link:hover[b-wjroyjxkb9] {
        background-color: var(--lavender-100);
        color: var(--nav-link-hover);
    }

    .nav-link.active[b-wjroyjxkb9] {
        background-color: var(--lavender-100);
        color: var(--accent);
        border-left-color: var(--accent);
        font-weight: 600;
    }

.nav-icon[b-wjroyjxkb9] {
    font-size: 1.1rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-tools-summary[b-wjroyjxkb9] {
    list-style: none;
    cursor: pointer;
}

.nav-tools-summary[b-wjroyjxkb9]::-webkit-details-marker {
    display: none;
}

.nav-caret[b-wjroyjxkb9] {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.nav-tools details[open] .nav-caret[b-wjroyjxkb9] {
    transform: rotate(180deg);
}

.nav-tools details[open] .nav-tools-summary[b-wjroyjxkb9] {
    background-color: var(--lavender-100);
    color: var(--accent);
}

.nav-submenu[b-wjroyjxkb9] {
    display: flex;
    flex-direction: column;
    padding: 0.25rem 0 0.5rem 0;
    gap: 0.15rem;
}

.nav-sub-link[b-wjroyjxkb9] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1.35rem;
    margin-right: 0.6rem;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
}

.nav-sub-link:hover[b-wjroyjxkb9],
.nav-sub-link.active[b-wjroyjxkb9] {
    background-color: var(--lavender-100);
    color: var(--accent);
}

.nav-sub-link:focus-visible[b-wjroyjxkb9],
.nav-tools-summary:focus-visible[b-wjroyjxkb9] {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.nav-text[b-wjroyjxkb9] {
    flex: 1;
}

.nav-divider[b-wjroyjxkb9] {
    height: 1px;
    background-color: var(--border);
    margin: 0.5rem 1rem;
}


/* /Components/Pages/AddEditRecipe.razor.rz.scp.css */
.add-edit-page[b-6mteos7vj7] {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.page-header[b-6mteos7vj7] {
    margin-bottom: 2rem;
}

.recipe-form[b-6mteos7vj7] {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.form-section[b-6mteos7vj7] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-section h2[b-6mteos7vj7] {
    margin: 0 0 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

.section-header[b-6mteos7vj7] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.section-header h2[b-6mteos7vj7] {
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.form-group[b-6mteos7vj7] {
    margin-bottom: 1rem;
}

.form-label[b-6mteos7vj7] {
    display: block;
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.375rem;
}

.form-control[b-6mteos7vj7] {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

    .form-control:focus[b-6mteos7vj7] {
        outline: none;
        border-color: var(--accent-dark);
        box-shadow: 0 0 0 3px rgba(var(--accent-dark-rgb), 0.15);
    }

.form-row[b-6mteos7vj7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hint-text[b-6mteos7vj7] {
    color: #9ca3af;
    font-size: 0.875rem;
    font-style: italic;
}

/* Ingredient rows */
.ingredient-row[b-6mteos7vj7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.ingredient-fields[b-6mteos7vj7] {
    display: grid;
    grid-template-columns: 100px 100px 1fr;
    gap: 0.5rem;
    flex: 1;
}

.flex-grow[b-6mteos7vj7] {
    flex: 1;
}

/* Instruction rows */
.instruction-row[b-6mteos7vj7] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.875rem;
}

.step-number[b-6mteos7vj7] {
    min-width: 32px;
    height: 32px;
    background: var(--accent-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin-top: 0.375rem;
}

.instruction-actions[b-6mteos7vj7] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Buttons */

.btn-icon-remove[b-6mteos7vj7] {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid var(--accent-dark);
    background: var(--lavender-100);
    color: var(--accent-dark);
    cursor: pointer;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

    .btn-icon-remove:hover[b-6mteos7vj7] {
        background: var(--lavender-200);
    }

.btn-icon-move[b-6mteos7vj7] {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #6b7280;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
}

    .btn-icon-move:hover[b-6mteos7vj7] {
        background: #e5e7eb;
    }

.form-actions[b-6mteos7vj7] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem 0;
}

.alert-error[b-6mteos7vj7] {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.loading-state[b-6mteos7vj7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
    color: #9ca3af;
}

.spinner[b-6mteos7vj7] {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top-color: var(--accent-dark);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
}

@@keyframes spin {
    to[b-6mteos7vj7] { transform: rotate(360deg); }
}

.secondary-fields-grid[b-6mteos7vj7] {
    grid-template-columns: 1fr 1fr;
}

.secondary-header[b-6mteos7vj7] {
    margin-top: 1rem;
}

.section-subtitle[b-6mteos7vj7] {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.attribution-row[b-6mteos7vj7] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.attribution-fields[b-6mteos7vj7] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 0.5rem;
    flex: 1;
}

@media (max-width: 640px) {
    .form-row[b-6mteos7vj7] {
        grid-template-columns: 1fr;
    }

    .ingredient-fields[b-6mteos7vj7] {
        grid-template-columns: 80px 80px 1fr;
    }

    .form-actions[b-6mteos7vj7] {
        flex-direction: column-reverse;
    }

    .form-actions .btn[b-6mteos7vj7] {
        width: 100%;
    }

    .secondary-fields-grid[b-6mteos7vj7] {
        grid-template-columns: 1fr;
    }

    .attribution-fields[b-6mteos7vj7] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/AdvancedSearch.razor.rz.scp.css */
.search-page[b-k40e08ttke] {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.page-header[b-k40e08ttke] {
    margin-bottom: 1.5rem;
}

.search-form-card[b-k40e08ttke] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-fields[b-k40e08ttke] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.search-field[b-k40e08ttke] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.field-label[b-k40e08ttke] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.search-input[b-k40e08ttke],
.search-select[b-k40e08ttke] {
    padding: 0.625rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s;
}

    .search-input:focus[b-k40e08ttke],
    .search-select:focus[b-k40e08ttke] {
        outline: none;
        border-color: var(--accent-dark);
        box-shadow: 0 0 0 3px rgba(var(--accent-dark-rgb), 0.15);
    }

.search-actions[b-k40e08ttke] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Results */
.results-header[b-k40e08ttke] {
    margin-bottom: 1rem;
}

.results-count[b-k40e08ttke] {
    font-weight: 600;
    color: #374151;
}

.no-results[b-k40e08ttke] {
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

.no-results-icon[b-k40e08ttke] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-results h3[b-k40e08ttke] {
    color: #6b7280;
    margin: 0 0 0.5rem;
}

.link-btn[b-k40e08ttke] {
    background: none;
    border: none;
    color: var(--accent-dark);
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    text-decoration: underline;
}

.results-grid[b-k40e08ttke] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.result-card[b-k40e08ttke] {
    display: flex;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.15s;
    align-items: flex-start;
}

    .result-card:hover[b-k40e08ttke] {
        border-color: var(--accent-dark);
        box-shadow: 0 2px 8px rgba(var(--accent-dark-rgb), 0.1);
        transform: translateY(-1px);
    }

.result-icon[b-k40e08ttke] {
    font-size: 2rem;
    flex-shrink: 0;
}

.result-info[b-k40e08ttke] {
    flex: 1;
}

    .result-info h3[b-k40e08ttke] {
        margin: 0 0 0.25rem 0;
        font-size: 1rem;
        font-weight: 600;
        color: #111827;
    }

.result-desc[b-k40e08ttke] {
    color: #6b7280;
    font-size: 0.875rem;
    margin: 0 0 0.625rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.result-meta[b-k40e08ttke] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.badge[b-k40e08ttke] {
    padding: 0.2rem 0.6rem;
    background: #f3f4f6;
    border-radius: 100px;
    font-size: 0.75rem;
    color: #374151;
    font-weight: 500;
}

.badge-cat[b-k40e08ttke] {
    background: #ede7f6;
    color: var(--accent-dark);
}

.badge-match[b-k40e08ttke] {
    background: #d1fae5;
    color: #065f46;
}

@media (max-width: 640px) {
    .search-fields[b-k40e08ttke] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/Categories.razor.rz.scp.css */
.categories-page[b-8gfer65fiq] {
    animation: fadeIn-b-8gfer65fiq 0.3s ease-in;
}

@keyframes fadeIn-b-8gfer65fiq {
    from { opacity: 0; }
    to { opacity: 1; }
}

.categories-page h1[b-8gfer65fiq] {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.loading-state[b-8gfer65fiq], .empty-state[b-8gfer65fiq] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
}

.spinner[b-8gfer65fiq] {
    width: 50px;
    height: 50px;
    border: 4px solid #f0f0f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin-b-8gfer65fiq 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-8gfer65fiq {
    to { transform: rotate(360deg); }
}

.categories-grid[b-8gfer65fiq] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.category-card[b-8gfer65fiq] {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.category-card:hover[b-8gfer65fiq] {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.category-icon[b-8gfer65fiq] {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3[b-8gfer65fiq] {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.25rem;
}

.category-card p[b-8gfer65fiq] {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .categories-grid[b-8gfer65fiq] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Pages/ExportRecipes.razor.rz.scp.css */
.export-page[b-n660d81umn] {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.export-options-card[b-n660d81umn] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.export-options-card h3[b-n660d81umn] {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.option-row[b-n660d81umn] {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.option-label[b-n660d81umn] {
    font-weight: 600;
    color: #374151;
    min-width: 4.5rem;
}

.radio-group[b-n660d81umn] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-option[b-n660d81umn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
}

.selection-bar[b-n660d81umn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.selection-left[b-n660d81umn] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-count[b-n660d81umn] {
    color: var(--bg-paper);
    font-size: 0.9rem;
}

.recipe-checklist[b-n660d81umn] {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checklist-item[b-n660d81umn] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.checklist-item.checked[b-n660d81umn] {
    border-color: var(--blue-200);
    background: var(--bg-section);
}

.checklist-item label[b-n660d81umn] {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    cursor: pointer;
}

.item-name[b-n660d81umn] {
    font-weight: 600;
    color: #111827;
}

.item-meta[b-n660d81umn] {
    color: #6b7280;
    font-size: 0.85rem;
}

.loading-state[b-n660d81umn],
.empty-state[b-n660d81umn] {
    text-align: center;
    padding: 2rem 1rem;
}

.empty-icon[b-n660d81umn] {
    font-size: 2rem;
    color: #9ca3af;
    margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
    .selection-bar[b-n660d81umn] {
        flex-direction: column;
        align-items: stretch;
    }

    .option-row[b-n660d81umn] {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
/* Home Page Styles */
.home-page[b-gfnwzfvy6v] {
    animation: fadeIn-b-gfnwzfvy6v 0.3s ease-in;
}

.home-actions-bar[b-gfnwzfvy6v] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.home-actions-bar .btn[b-gfnwzfvy6v] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tools-menu[b-gfnwzfvy6v] {
    position: relative;
}

.tools-menu > summary[b-gfnwzfvy6v] {
    cursor: pointer;
}

.tools-menu summary[b-gfnwzfvy6v] {
    list-style: none;
}

.tools-menu summary[b-gfnwzfvy6v]::-webkit-details-marker {
    display: none;
}

.tools-menu-content[b-gfnwzfvy6v] {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    min-width: 220px;
    padding: 0.4rem;
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    background: var(--bg-paper);
    box-shadow: 0 6px 20px var(--shadow);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tools-link[b-gfnwzfvy6v] {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    border-radius: 0.5rem;
    padding: 0.55rem 0.7rem;
    text-align: left;
}

.tools-link:hover[b-gfnwzfvy6v] {
    background: var(--lavender-100);
    color: var(--accent);
}

.tools-link:focus-visible[b-gfnwzfvy6v],
.tools-menu > summary:focus-visible[b-gfnwzfvy6v] {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@keyframes fadeIn-b-gfnwzfvy6v {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Loading State */
.loading-state[b-gfnwzfvy6v] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
}

.spinner[b-gfnwzfvy6v] {
    width: 50px;
    height: 50px;
    border: 4px solid var(--blue-100);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin-b-gfnwzfvy6v 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-gfnwzfvy6v {
    to { transform: rotate(360deg); }
}

/* Hero Section */
.hero-section[b-gfnwzfvy6v] {
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1[b-gfnwzfvy6v] {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-subtitle[b-gfnwzfvy6v] {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-actions[b-gfnwzfvy6v] {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn[b-gfnwzfvy6v] {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    min-height: 44px;
}

.btn-primary[b-gfnwzfvy6v] {
    background: linear-gradient(135deg, var(--lavender-500) 0%, var(--accent) 100%);
    color: white;
}

.btn-primary:hover[b-gfnwzfvy6v] {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-secondary[b-gfnwzfvy6v] {
    background: var(--bg-paper);
    color: var(--accent);
    border: 1px solid var(--lavender-300);
}

.btn-secondary:hover[b-gfnwzfvy6v] {
    background: var(--lavender-100);
}

.getting-started[b-gfnwzfvy6v] {
    background: var(--bg-paper);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 2px 8px var(--shadow);
}

.getting-started h3[b-gfnwzfvy6v] {
    color: var(--accent);
    margin-bottom: 1rem;
}

.getting-started ul[b-gfnwzfvy6v] {
    list-style: none;
    padding: 0;
}

.getting-started li[b-gfnwzfvy6v] {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Stats Cards */
.stats-cards[b-gfnwzfvy6v] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card[b-gfnwzfvy6v] {
    background: var(--bg-paper);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px var(--shadow);
}

.stat-value[b-gfnwzfvy6v] {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label[b-gfnwzfvy6v] {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Filter Bar */
.filter-bar[b-gfnwzfvy6v] {
    background: var(--bg-paper);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 2px 8px var(--shadow);
}

.filter-left[b-gfnwzfvy6v] {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    flex-wrap: wrap;
}

.filter-select[b-gfnwzfvy6v] {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    background: var(--bg-section);
    cursor: pointer;
    min-height: 44px;
}

.filter-select:focus[b-gfnwzfvy6v] {
    outline: none;
    border-color: var(--accent);
}

.filter-right[b-gfnwzfvy6v] {
    display: flex;
    gap: 0.5rem;
}

.view-toggle[b-gfnwzfvy6v] {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-section);
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.3s;
    min-width: 44px;
    min-height: 44px;
}

.view-toggle:hover[b-gfnwzfvy6v] {
    background: var(--lavender-100);
}

.view-toggle.active[b-gfnwzfvy6v] {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Recipes Container */
.recipes-container[b-gfnwzfvy6v] {
    display: grid;
    gap: 1.5rem;
}

.recipes-container.grid[b-gfnwzfvy6v] {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.recipes-container.list[b-gfnwzfvy6v] {
    grid-template-columns: 1fr;
}

/* Recipe Card */
.recipe-card[b-gfnwzfvy6v] {
    background: var(--bg-paper);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.recipe-card:hover[b-gfnwzfvy6v] {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px var(--shadow);
}

.recipes-container.list .recipe-card[b-gfnwzfvy6v] {
    flex-direction: row;
}

.recipes-container.list .recipe-actions[b-gfnwzfvy6v] {
    align-items: center;
    padding: 1.5rem;
}

.recipes-container.list .action-btn[b-gfnwzfvy6v] {
    inline-size: 44px;
    block-size: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.recipe-image[b-gfnwzfvy6v] {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--lavender-500) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipes-container.list .recipe-image[b-gfnwzfvy6v] {
    width: 200px;
    height: auto;
    min-height: 150px;
}

.recipe-placeholder[b-gfnwzfvy6v] {
    font-size: 4rem;
    opacity: 0.7;
}

.recipe-content[b-gfnwzfvy6v] {
    padding: 1.5rem;
    flex: 1;
}

.recipe-title[b-gfnwzfvy6v] {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.recipe-description[b-gfnwzfvy6v] {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recipe-meta[b-gfnwzfvy6v] {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item[b-gfnwzfvy6v] {
    color: var(--text-secondary);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.category-badge[b-gfnwzfvy6v] {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--lavender-100);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.recipe-actions[b-gfnwzfvy6v] {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.action-btn[b-gfnwzfvy6v] {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-section);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.25rem;
    min-width: 44px;
    min-height: 44px;
}

.action-btn:hover[b-gfnwzfvy6v] {
    background: var(--lavender-100);
}

.action-btn.danger:hover[b-gfnwzfvy6v] {
    background: #fee;
    border-color: #f88;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .home-actions-bar[b-gfnwzfvy6v] {
        align-items: stretch;
    }

    .home-actions-bar .btn[b-gfnwzfvy6v],
    .tools-menu[b-gfnwzfvy6v] {
        width: 100%;
    }

    .tools-menu-content[b-gfnwzfvy6v] {
        position: static;
        margin-top: 0.5rem;
        min-width: 0;
        width: 100%;
        box-shadow: none;
    }

    .hero-content h1[b-gfnwzfvy6v] {
        font-size: 2rem;
    }

    .hero-actions[b-gfnwzfvy6v] {
        flex-direction: column;
    }

    .btn[b-gfnwzfvy6v] {
        width: 100%;
    }

    .recipes-container.grid[b-gfnwzfvy6v] {
        grid-template-columns: 1fr;
    }

    .recipes-container.list .recipe-card[b-gfnwzfvy6v] {
        flex-direction: column;
    }

    .recipes-container.list .recipe-image[b-gfnwzfvy6v] {
        width: 100%;
        height: 200px;
    }

    .filter-bar[b-gfnwzfvy6v] {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-left[b-gfnwzfvy6v] {
        flex-direction: column;
    }

    .filter-select[b-gfnwzfvy6v] {
        width: 100%;
    }

    .filter-right[b-gfnwzfvy6v] {
        justify-content: center;
    }
}
/* /Components/Pages/ImportRecipes.razor.rz.scp.css */
.import-page[b-tzx70opwih] {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

.format-info[b-tzx70opwih] {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

    .format-info h3[b-tzx70opwih] {
        margin: 0 0 0.5rem 0;
        font-size: 0.9rem;
        font-weight: 600;
        color: #166534;
    }

    .format-info p[b-tzx70opwih] {
        margin: 0.5rem 0 0 0;
        color: #374151;
        font-size: 0.875rem;
    }

.format-badges[b-tzx70opwih] {
    display: flex;
    gap: 0.5rem;
}

.format-badge[b-tzx70opwih] {
    padding: 0.2rem 0.75rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    background: #dcfce7;
    color: #166534;
}

.import-tabs[b-tzx70opwih] {
    display: flex;
    margin-bottom: 0;
    border-bottom: 2px solid #e5e7eb;
}

.tab[b-tzx70opwih] {
    padding: 0.625rem 1.25rem;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 500;
    color: #6b7280;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.15s;
}

.tab.on-bg-tab[b-tzx70opwih] {
    color: var(--lavender-300);
    border-bottom-color: rgba(197, 180, 226, 0.75);
}

    .tab.active[b-tzx70opwih] {
        color: var(--accent-dark);
        border-bottom-color: var(--accent-dark);
    }

    .tab.on-bg-tab.active[b-tzx70opwih] {
        color: var(--bg-paper);
        border-bottom-color: var(--bg-paper);
        font-weight: 600;
    }

.paste-area[b-tzx70opwih], .file-area[b-tzx70opwih] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.json-input[b-tzx70opwih] {
    width: 100%;
    font-family: Consolas,Monaco,monospace;
    font-size: 0.8rem;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #111827;
    resize: vertical;
    box-sizing: border-box;
}

    .json-input:focus[b-tzx70opwih] {
        outline: none;
        border-color: var(--accent-dark);
    }

.json-preview[b-tzx70opwih] {
    margin-top: 0.75rem;
    background: #f9fafb;
}

.file-drop-zone[b-tzx70opwih] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 2.5rem 1rem;
    cursor: pointer;
    color: #6b7280;
    text-align: center;
}

    .file-drop-zone:hover[b-tzx70opwih] {
        border-color: var(--accent-dark);
        background: #ede7f6;
    }

.drop-icon[b-tzx70opwih] {
    font-size: 2.5rem;
}

.hidden-file-input[b-tzx70opwih] {
    display: none;
}

.file-loaded[b-tzx70opwih] {
    margin-top: 0.75rem;
    color: #059669;
    font-size: 0.875rem;
}

.parse-error[b-tzx70opwih] {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.preview-section[b-tzx70opwih] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

    .preview-section h3[b-tzx70opwih] {
        margin: 0 0 0.875rem 0;
        font-size: 1rem;
        font-weight: 600;
    }

.preview-list[b-tzx70opwih] {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.preview-item[b-tzx70opwih] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
    font-size: 0.875rem;
}

.preview-meta[b-tzx70opwih] {
    color: #9ca3af;
    font-size: 0.8rem;
}

.preview-more[b-tzx70opwih] {
    color: #9ca3af;
    font-style: italic;
    justify-content: center;
}

.result-card[b-tzx70opwih] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.result-success[b-tzx70opwih] {
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    color: #065f46;
}

.result-error[b-tzx70opwih] {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.import-actions[b-tzx70opwih] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}
/* /Components/Pages/RecipeDetail.razor.rz.scp.css */
article[b-yel1f6mlnl] {
    border: 1em solid var(--blue-400);
}

.content[b-yel1f6mlnl] {
    padding: 3em;
    background-color: var(--bg-paper);
}
.recipe-detail-page[b-yel1f6mlnl] {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    color: var(--text-primary);
}

.recipe-title-section h1[b-yel1f6mlnl],
.recipe-title-section .recipe-title[b-yel1f6mlnl] {
    color: var(--blue-400);
}

.recipe-hero[b-yel1f6mlnl],
.detail-section[b-yel1f6mlnl],
.scaling-card[b-yel1f6mlnl] {
    box-shadow: none;
}

.detail-header[b-yel1f6mlnl] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.header-actions[b-yel1f6mlnl] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Title + Meta */
.recipe-title-section[b-yel1f6mlnl] {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    padding-bottom: 1rem;
    text-align: center;
}

.recipe-title[b-yel1f6mlnl] {
    margin: 0 0 0.5rem 0;
    font-size: clamp(3rem, 6vw, 4.875rem); /* 1.5x */
    font-weight: 400;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, "Times New Roman", serif;
}

.recipe-description[b-yel1f6mlnl] {
    color: var(--text-secondary);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.recipe-meta-row[b-yel1f6mlnl] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
    justify-content: center;
}

.meta-item[b-yel1f6mlnl] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.meta-icon[b-yel1f6mlnl] {
    color: var(--lavender-500);
    font-size: 1rem;
}

.meta-label[b-yel1f6mlnl] {
    font-weight: 500;
}

.meta-value[b-yel1f6mlnl] {
    color: var(--text-secondary);
}

/* Sections */
.detail-columns[b-yel1f6mlnl] {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.detail-section[b-yel1f6mlnl] {
    background: var(--bg-paper);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: none;
    border-right: none;
    border-radius: 0;
    margin-bottom: 0;
    overflow: visible;
}

.ingredients-section[b-yel1f6mlnl] {
    border-top-color: var(--lavender-300);
}

.instructions-section[b-yel1f6mlnl] {
    border-top-color: var(--blue-300);
}

.secondary-fields-section[b-yel1f6mlnl] {
    border-top-color: var(--lavender-300);
}

.secondary-fields-content[b-yel1f6mlnl] {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0.75rem 0.25rem 1rem 0.25rem;
}

.secondary-block[b-yel1f6mlnl] {
    display: flex;
    flex: 1 1 18rem;
    flex-direction: column;
    gap: 0.5rem;
    min-inline-size: 16rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-section);
}

.secondary-label[b-yel1f6mlnl] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent);
}

.secondary-value[b-yel1f6mlnl] {
    color: var(--text-primary);
}

.keyword-pills[b-yel1f6mlnl] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword-pill[b-yel1f6mlnl] {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--lavender-300);
    border-radius: 999px;
    padding: 0.25rem 0.625rem;
    color: var(--text-secondary);
    background: var(--bg-paper);
    font-size: 0.875rem;
}

.attribution-list[b-yel1f6mlnl] {
    margin: 0;
    padding-left: 1.125rem;
    color: var(--text-primary);
}

.attribution-name[b-yel1f6mlnl] {
    font-weight: 500;
}

.attribution-role[b-yel1f6mlnl] {
    color: var(--text-secondary);
}

.attribution-link[b-yel1f6mlnl] {
    margin-left: 0.5rem;
}

.hint-text[b-yel1f6mlnl] {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0.75rem 0;
}

.section-title[b-yel1f6mlnl] {
    margin: 0;
    padding: 0.9rem 0.25rem 0.8rem 0.25rem;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    color: var(--blue-400);
    border-bottom: 1px solid var(--border);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* Scaling */
.scaling-card[b-yel1f6mlnl] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    background: var(--bg-paper);
    border: 1px solid var(--lavender-300);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    margin-bottom: 1.25rem;
}

.scaling-label[b-yel1f6mlnl] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent);
}

.servings-stepper[b-yel1f6mlnl] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.35rem;
    border: 1px solid var(--lavender-300);
    border-radius: 999px;
    background: var(--bg-section);
}
.scale-btn[b-yel1f6mlnl] {
    inline-size: 2rem;
    block-size: 2rem;
    border-radius: 50%;
    border: 1px solid var(--accent);
    background-color: transparent;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 700;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.scale-btn i[b-yel1f6mlnl] {
    font-size: 0.9rem;
    line-height: 1;
    pointer-events: none;
}

.scale-btn:hover:not(:disabled)[b-yel1f6mlnl] {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.scale-btn:disabled[b-yel1f6mlnl] {
    opacity: 0.4;
    cursor: not-allowed;
}

.servings-count[b-yel1f6mlnl] {
    min-width: 2.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
}

.scale-ratio[b-yel1f6mlnl] {
    color: var(--accent);
    font-size: 0.875rem;
}

.scaling-print-info[b-yel1f6mlnl] {
    display: none;
}

/* Ingredients */
.ingredients-list[b-yel1f6mlnl] {
    margin: 0;
    padding: 0.25rem 0 0.75rem 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ingredient-item[b-yel1f6mlnl] {
    display: grid;
    grid-template-columns: minmax(7rem, auto) 1fr;
    gap: 0.9rem;
    align-items: baseline;
    padding: 0.65rem 0.25rem;
    border-bottom: 1px solid var(--blue-100);
}

    .ingredient-item:last-child[b-yel1f6mlnl] {
        border-bottom: none;
    }

.ingredient-amount[b-yel1f6mlnl] {
    min-width: 120px;
    font-weight: 500;
    color: var(--accent);
}

.ingredient-name[b-yel1f6mlnl] {
    color: var(--text-primary);
}

/* Instructions */
.instructions-list[b-yel1f6mlnl] {
    margin: 0;
    padding: 0.5rem 0 0.75rem 1.4rem;
    list-style: decimal;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.instructions-list > .instruction-item[b-yel1f6mlnl]::marker {
    color: var(--accent);
    font-weight: 700;
}

.instruction-item[b-yel1f6mlnl] {
    display: list-item;
    padding: 0.65rem 0.25rem 0.65rem 0.35rem;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.15s;
    border-bottom: 1px solid var(--blue-100);
}

    .instruction-item:hover[b-yel1f6mlnl] {
        background: rgba(232, 221, 242, 0.3);
    }

    .instruction-item.active-step[b-yel1f6mlnl] {
        background: rgba(216, 202, 235, 0.42);
    }

.instruction-item:last-child[b-yel1f6mlnl] {
    border-bottom: none;
}

.step-text[b-yel1f6mlnl] {
    display: block;
    line-height: 1.6;
    color: var(--text-primary);
    padding-top: 0;
}

@media (min-width: 1025px) {
    .detail-columns[b-yel1f6mlnl] {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
        align-items: start;
    }

    .ingredients-section[b-yel1f6mlnl],
    .instructions-section[b-yel1f6mlnl] {
        min-width: 0;
    }
}

@media (max-width: 48rem) {
    .secondary-fields-content[b-yel1f6mlnl] {
        flex-direction: column;
    }

    .secondary-block[b-yel1f6mlnl] {
        min-inline-size: 0;
    }
}

/* Timestamps */
.timestamps[b-yel1f6mlnl] {
    color: var(--text-muted);
    font-size: 0.8rem;
    padding: 0.5rem 0 1rem 0;
    text-align: center;
}

.loading-state[b-yel1f6mlnl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem;
    color: var(--text-muted);
}

.spinner[b-yel1f6mlnl] {
    width: 40px;
    height: 40px;
    border: 3px solid var(--blue-100);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin-b-yel1f6mlnl 0.8s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin-b-yel1f6mlnl {
    to { transform: rotate(360deg); }
}

.not-found[b-yel1f6mlnl] {
    text-align: center;
    padding: 4rem 1rem;
}

.not-found h2[b-yel1f6mlnl] {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
}

/* Print styles */
@media print {
    .no-print[b-yel1f6mlnl] {
        display: none !important;
    }

    .print-only[b-yel1f6mlnl] {
        display: block !important;
    }

    .recipe-detail-page[b-yel1f6mlnl] {
        max-width: 100%;
        padding: 0;
    }

    .detail-section[b-yel1f6mlnl] {
        border: none;
        page-break-inside: avoid;
    }

    .scaling-card[b-yel1f6mlnl] {
        display: none;
    }
}
