/* Asset: scanio_ingredient_chooser.css */

    .scanioIngredientChooser {
        position: absolute;
        inset: 0;
        z-index: 120;
        display: none;
        align-items: flex-end;
        padding: 18px 14px 88px;
        background: rgba(7, 16, 11, .42);
        backdrop-filter: blur(8px);
    }

    .scanioIngredientChooser.open {
        display: flex;
        animation: scanioChooserFade .22s ease both;
    }

    @keyframes scanioChooserFade {
        from {
            opacity: 0
        }
        to {
            opacity: 1
        }
    }

    .scanioChooserPanel {
        width: 100%;
        max-height: 74%;
        overflow: hidden;
        border-radius: 27px;
        padding: 18px 16px 16px;
        background: rgba(255, 253, 247, .98);
        border: 1px solid rgba(255, 255, 255, .92);
        box-shadow: 0 24px 70px rgba(3, 10, 6, .30);
        animation: scanioChooserUp .42s cubic-bezier(.18, .95, .26, 1) both;
    }

    @keyframes scanioChooserUp {
        from {
            transform: translateY(34px) scale(.97);
            opacity: 0
        }
        to {
            transform: none;
            opacity: 1
        }
    }

    .scanioChooserTop {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
    }

    .scanioChooserTop h3 {
        margin: 0;
        font-size: 22px;
        line-height: 1;
        letter-spacing: -.045em;
    }

    .scanioChooserTop p {
        margin: 7px 0 0;
        color: var(--muted);
        font-size: 11px;
        line-height: 1.35;
        font-weight: 700;
    }

    .scanioChooserTag {
        flex: 0 0 auto;
        padding: 7px 9px;
        border-radius: 999px;
        background: rgba(240, 177, 77, .16);
        color: #9a5c08;
        font-size: 8px;
        font-weight: 950;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .scanioChooserSearch {
        width: 100%;
        margin: 14px 0 11px;
        padding: 12px 14px;
        border: 1px solid rgba(11, 21, 16, .10);
        border-radius: 15px;
        outline: none;
        background: #f7f3ea;
        color: var(--ink);
        font-size: 13px;
        font-weight: 750;
    }

    .scanioChooserSearch:focus {
        border-color: rgba(32, 196, 111, .48);
        box-shadow: 0 0 0 3px rgba(32, 196, 111, .10);
    }

    .scanioChooserGrid {
        display: grid;
        grid-template-columns:repeat(3, minmax(0, 1fr));
        gap: 8px;
        max-height: 275px;
        overflow-y: auto;
        padding: 1px 1px 5px;
    }

    .scanioChooserGrid::-webkit-scrollbar {
        width: 0
    }

    .scanioChooserCustom {
        width: 100%;
        min-height: 38px;
        margin: 8px 0 2px;
        border: 1px solid rgba(14, 123, 67, .18);
        border-radius: 12px;
        background: rgba(32, 196, 111, .12);
        color: var(--deep);
        font-size: 10px;
        font-weight: 900
    }

    .scanioChooserCustom:disabled {
        opacity: .45
    }

    .scanioIngredientChoice {
        min-height: 62px;
        padding: 9px 7px;
        border-radius: 16px;
        background: #fffaf1;
        border: 1px solid rgba(11, 21, 16, .07);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: var(--ink);
        box-shadow: 0 7px 18px rgba(15, 23, 18, .05);
    }

    .scanioIngredientChoice:hover {
        transform: translateY(-1px);
        border-color: rgba(32, 196, 111, .34);
        background: #f4f9ed;
    }

    .scanioIngredientChoice .emoji {
        font-size: 23px;
        line-height: 1;
    }

    .scanioIngredientChoice b {
        font-size: 9px;
        line-height: 1.1;
    }

    .scanioChooserEmpty {
        display: none;
        padding: 20px;
        text-align: center;
        color: var(--muted);
        font-size: 11px;
        font-weight: 750;
    }
