/* /Pages/Cardlist.razor.rz.scp.css */
/* Float four columns side by side */
.column[b-6s25zrktvu] {
    float: left;
    width: 50%;
    padding: 10px 10px;
}

/* Remove extra left and right margins, due to padding */
.row[b-6s25zrktvu] {
    margin: 0 -5px;
}

    /* Clear floats after the columns */
    .row[b-6s25zrktvu]:after {
        content: "";
        display: table;
        clear: both;
    }

/* Responsive columns */

.projectCard[b-6s25zrktvu] {
    position: relative;
    padding: 7px;
    text-align: center;
    height: 150px;
    border-radius: 15px;
}
    .projectCard.red[b-6s25zrktvu] {
        background-color: darkred;
        box-shadow: 0 5px 10px 0 rgba(139,0,0,0.4);
    }
    .projectCard.blue[b-6s25zrktvu] {
        background-color: blue;
        box-shadow: 0 5px 10px 0 rgba(0,0,255,0.4);
    }
    .projectCard.green[b-6s25zrktvu] {
        background-color: green;
        box-shadow: 0 5px 10px 0 rgba(0,255,0,0.4);
    }
    .projectCard.corp[b-6s25zrktvu] {
        background-color: lightblue;
        box-shadow: 0 5px 10px 0 rgba(173,216,230,0.4);
    }


.undoButton[b-6s25zrktvu] {
    float: right;
    border-radius: 10px;
}

.cardButton[b-6s25zrktvu] {
    font-weight: bold;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.4);
    position: absolute;
    bottom: 10px;
}

.cardTypeButton[b-6s25zrktvu] {
    padding: 15px 15px;
    border-radius: 20px;
}
    .cardTypeButton.red[b-6s25zrktvu] {
        background-color: darkred;
        box-shadow: 0 0px 5px 0 rgba(139,0,0,0.4);
    }
    .cardTypeButton.blue[b-6s25zrktvu] {
        background-color: blue;
        box-shadow: 0 0px 5px 0 rgba(0,0,255,0.4);
    }
    .cardTypeButton.green[b-6s25zrktvu] {
        background-color: green;
        box-shadow: 0 0px 5px 0 rgba(0,255,0,0.4);
    }
    .cardTypeButton.all[b-6s25zrktvu] {
        background-color: grey;
        box-shadow: 0 0px 5px 0 rgba(128,128,128,0.4);
    }

.ctrlButton[b-6s25zrktvu] {
    border-radius: 10px;
    font-size: 14px;
}
    .ctrlButton.disabled[b-6s25zrktvu] {
        opacity: 0.6;
    }
/* /Pages/DNT.razor.rz.scp.css */
.dnt-sticky-filter[b-zm9ur1m7vy] {
    position: sticky;
    top: 3.5rem;
    background: var(--app-surface);
    z-index: 10;
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

@media (max-width: 640.98px) {
    .dnt-sticky-filter[b-zm9ur1m7vy] {
        top: 0;
    }
}

.dnt-collapse-toggle[b-zm9ur1m7vy] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    line-height: 1;
}

.dnt-section-header[b-zm9ur1m7vy] {
    display: inline-flex;
    align-items: center;
    gap: 0.5ch;
}

.dnt-toggle-all[b-zm9ur1m7vy] {
    display: inline-flex;
    align-items: center;
    gap: 0.5ch;
}
/* /Pages/Forbedringer.razor.rz.scp.css */
.imp-shell[b-4z6yee3vcp] {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0.5rem 3rem;
    color: var(--app-text);
}

.imp-lead[b-4z6yee3vcp] {
    color: var(--app-text-muted);
    margin: 0.25rem 0 1.25rem;
}

h2[b-4z6yee3vcp] {
    font-size: 1.25rem;
    margin: 0;
}

section[b-4z6yee3vcp] {
    margin-top: 2rem;
}

.imp-form[b-4z6yee3vcp] {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 10px;
}

.imp-field[b-4z6yee3vcp] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: var(--app-text-muted);
}

.imp-input[b-4z6yee3vcp] {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 1rem;
    color-scheme: light dark;
}

.imp-text[b-4z6yee3vcp] {
    resize: vertical;
}

.imp-actions[b-4z6yee3vcp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.imp-btn[b-4z6yee3vcp] {
    min-height: 2.5rem;
    padding: 0.35rem 1rem;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    background: var(--app-surface);
    color: var(--app-text);
    cursor: pointer;
}

.imp-btn:disabled[b-4z6yee3vcp] {
    opacity: 0.5;
    cursor: default;
}

.imp-btn--primary[b-4z6yee3vcp] {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: var(--app-on-accent);
}

.imp-btn--danger[b-4z6yee3vcp] {
    margin-left: auto;
    color: var(--app-danger);
    border-color: var(--app-danger-border);
}

.imp-btn--small[b-4z6yee3vcp] {
    min-height: 2rem;
    padding: 0.2rem 0.7rem;
    font-size: 0.85rem;
    justify-self: start;
}

.imp-message[b-4z6yee3vcp] {
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.imp-list-head[b-4z6yee3vcp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.imp-filter[b-4z6yee3vcp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.imp-chip[b-4z6yee3vcp] {
    min-height: 2rem;
    padding: 0.15rem 0.7rem;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 0.85rem;
    cursor: pointer;
}

.imp-chip--on[b-4z6yee3vcp] {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: var(--app-on-accent);
}

.imp-nothing[b-4z6yee3vcp] {
    color: var(--app-text-muted);
    margin-top: 0.75rem;
}

.imp-card[b-4z6yee3vcp] {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 10px;
}

.imp-meta[b-4z6yee3vcp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--app-text-muted);
}

    .imp-meta strong[b-4z6yee3vcp] {
        color: var(--app-text);
    }

.imp-status[b-4z6yee3vcp] {
    margin-left: auto;
    padding: 0.05rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    color: var(--app-text);
}

.imp-status--ny[b-4z6yee3vcp] {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: var(--app-on-accent);
}

.imp-status--gjort[b-4z6yee3vcp] {
    background: var(--app-success-soft);
    border-color: var(--app-success-soft);
    color: var(--app-success-text);
}

.imp-body[b-4z6yee3vcp] {
    margin: 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.imp-reply[b-4z6yee3vcp] {
    margin: 0;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid var(--app-accent);
    background: var(--app-surface-muted);
    border-radius: 0 6px 6px 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

    .imp-reply span[b-4z6yee3vcp] {
        font-weight: 600;
    }

.imp-answer[b-4z6yee3vcp] {
    display: grid;
    gap: 0.6rem;
}
/* /Pages/Gifts.razor.rz.scp.css */
.gifts-shell[b-8v315e6q0v] {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 0.5rem 3rem;
    color: var(--app-text);
}

.gifts-header h1[b-8v315e6q0v] {
    margin-bottom: 0.1rem;
}

.gifts-greeting[b-8v315e6q0v] {
    color: var(--app-text-muted);
    margin-top: 0;
}

.gifts-section[b-8v315e6q0v] {
    margin-top: 2rem;
}

.gifts-hint[b-8v315e6q0v] {
    color: var(--app-text-muted);
    font-size: 0.9rem;
    margin-top: -0.25rem;
}

.gifts-empty[b-8v315e6q0v] {
    color: var(--app-text-muted);
    font-style: italic;
}

/* ---- add / edit form ---- */
.gift-add[b-8v315e6q0v] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin: 0.75rem 0 1rem;
    padding: 0.75rem;
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 10px;
}

.gift-add--edit[b-8v315e6q0v] {
    margin: 0;
    width: 100%;
}

.gift-input[b-8v315e6q0v] {
    flex: 1 1 160px;
    min-width: 120px;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    background: var(--app-surface);
    color: var(--app-text);
}

.gift-input--qty[b-8v315e6q0v] { flex: 0 0 70px; min-width: 0; width: 70px; }
.gift-input--title[b-8v315e6q0v] { flex: 1 1 220px; font-size: 1rem; min-height: 2.5rem; }
.gift-input--price[b-8v315e6q0v] { flex: 0 1 170px; }
.gift-input--note[b-8v315e6q0v] { flex: 1 1 100%; }

.gift-check[b-8v315e6q0v] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    color: var(--app-text);
}

.gift-check input[b-8v315e6q0v] {
    accent-color: var(--app-accent);
}

/* ---- item cards ---- */
.gift-list[b-8v315e6q0v] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gift-card[b-8v315e6q0v] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    background: var(--app-surface);
}

.gift-card--taken[b-8v315e6q0v] {
    opacity: 0.55;
}

.gift-card--withdrawn[b-8v315e6q0v] {
    border-color: var(--app-danger-border);
    background: var(--app-danger-soft);
}

.gift-card--draft[b-8v315e6q0v] {
    border-style: dashed;
    background: var(--app-surface-muted);
}

.gift-card__main[b-8v315e6q0v] {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.gift-card__title[b-8v315e6q0v] {
    font-weight: 600;
}

.gift-star[b-8v315e6q0v] {
    color: #f59f00;
    margin-right: 0.2rem;
}

.gift-qty[b-8v315e6q0v] {
    color: var(--app-text-muted);
    font-weight: 400;
    margin-left: 0.35rem;
}

.gift-card__note[b-8v315e6q0v] {
    font-size: 0.85rem;
    color: var(--app-text-muted);
}

.gift-card__actions[b-8v315e6q0v] {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}

.gift-owner[b-8v315e6q0v] {
    margin: 1.25rem 0 0.4rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid var(--app-border);
}

/* ---- buttons & badges ---- */
.gift-btn[b-8v315e6q0v] {
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    background: var(--app-surface-muted);
    color: var(--app-text);
    cursor: pointer;
    font-size: 0.85rem;
}

.gift-btn:hover:not(:disabled)[b-8v315e6q0v] { border-color: var(--app-text-muted); }
.gift-btn:disabled[b-8v315e6q0v] { opacity: 0.5; cursor: not-allowed; }

.gift-btn--primary[b-8v315e6q0v] {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: var(--app-on-accent);
}

.gift-btn--primary:hover:not(:disabled)[b-8v315e6q0v] {
    background: var(--app-accent-hover);
    border-color: var(--app-accent-hover);
}

.gift-btn--danger[b-8v315e6q0v] {
    color: var(--app-danger);
    border-color: var(--app-danger-border);
    background: transparent;
}

.gift-btn--danger:hover:not(:disabled)[b-8v315e6q0v] { background: var(--app-danger-soft); }

.gift-badge[b-8v315e6q0v] {
    font-size: 0.8rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    color: var(--app-text-muted);
}

.gift-badge--mine[b-8v315e6q0v] {
    background: var(--app-success-soft);
    color: var(--app-success-text);
    border-color: transparent;
}


/* ---- confirmation modal ---- */
.gift-modal-backdrop[b-8v315e6q0v] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.gift-modal[b-8v315e6q0v] {
    background: var(--app-surface);
    color: var(--app-text);
    border: 1px solid var(--app-border);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    max-width: 440px;
    width: calc(100% - 2rem);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.gift-modal h3[b-8v315e6q0v] {
    margin-top: 0;
}

.gift-modal__actions[b-8v315e6q0v] {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* ---- "Flere valg": the extra fields stay out of the way until someone wants them ---- */
.gift-more[b-8v315e6q0v] {
    flex: 1 1 100%;
}

    .gift-more summary[b-8v315e6q0v] {
        cursor: pointer;
        color: var(--app-link);
        font-size: 0.9rem;
        width: fit-content;
    }

.gift-more__fields[b-8v315e6q0v] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.gift-field-inline[b-8v315e6q0v] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.gift-price[b-8v315e6q0v] {
    margin-left: 0.4rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--app-border);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--app-text-muted);
    white-space: nowrap;
}

/* ---- list chips: which lists a wish is in, tap to change ---- */
.gift-chips[b-8v315e6q0v] {
    flex: 1 1 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.3rem;
}

.gift-chips__label[b-8v315e6q0v] {
    font-size: 0.85rem;
    color: var(--app-text-muted);
}

.gift-chip[b-8v315e6q0v] {
    min-height: 2rem;
    padding: 0.15rem 0.7rem;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 0.85rem;
    cursor: pointer;
}

.gift-chip--small[b-8v315e6q0v] {
    min-height: 1.75rem;
    font-size: 0.8rem;
}

.gift-chip--on[b-8v315e6q0v] {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: var(--app-on-accent);
}

/* ---- my lists ---- */
.gift-card__note--warn[b-8v315e6q0v] {
    color: var(--app-danger);
}

.gift-list + .gift-btn[b-8v315e6q0v] {
    margin-top: 0.5rem;
}

.gift-listform[b-8v315e6q0v] {
    display: grid;
    gap: 0.6rem;
    width: 100%;
}

.gift-field[b-8v315e6q0v] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 0.9rem;
    color: var(--app-text-muted);
}

    .gift-field legend[b-8v315e6q0v] {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    /* .gift-input grows along a row (flex: 1 1 160px); in this column that would make it 160px tall. */
    .gift-field .gift-input[b-8v315e6q0v] {
        flex: none;
        max-width: 22rem;
        min-height: 2.5rem;
        color-scheme: light dark;
    }

.gift-field__help[b-8v315e6q0v] {
    font-size: 0.8rem;
}

.gift-people[b-8v315e6q0v] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1rem;
}

/* ---- others' lists: person, then each list ---- */
.gift-listname[b-8v315e6q0v] {
    margin: 0.9rem 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
}

.gift-listname__date[b-8v315e6q0v] {
    margin-left: 0.3rem;
    font-weight: 400;
    color: var(--app-text-muted);
}

/* ---- nothing shared yet ---- */
.gift-notice[b-8v315e6q0v] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin: 0.5rem 0 0;
    padding: 0.6rem 0.75rem;
    border: 1px solid var(--app-danger-border);
    border-radius: 10px;
    background: var(--app-danger-soft);
    color: var(--app-text);
    font-weight: 600;
}

.gift-btn--small[b-8v315e6q0v] {
    padding: 0.15rem 0.6rem;
    font-size: 0.8rem;
}
/* /Pages/Index.razor.rz.scp.css */
.home-shell[b-jm0myegkkx] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.hero-panel[b-jm0myegkkx] {
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.16), transparent 38%),
        linear-gradient(135deg, var(--app-surface) 0%, var(--app-surface-muted) 100%);
    border: 1px solid var(--app-border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 18px 32px -28px rgba(15, 23, 42, 0.55);
}

.eyebrow[b-jm0myegkkx] {
    margin: 0 0 0.5rem;
    color: var(--app-link);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1[b-jm0myegkkx] {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.hero-copy[b-jm0myegkkx] {
    margin: 0.75rem 0 0;
    max-width: 42rem;
    color: color-mix(in srgb, var(--app-text) 72%, transparent);
}

.launcher-grid[b-jm0myegkkx] {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.launcher-card[b-jm0myegkkx] {
    display: grid;
    gap: 0.75rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%),
        var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    color: var(--app-text);
    min-height: 14rem;
    padding: 1.25rem;
    box-shadow: 0 14px 24px -24px rgba(15, 23, 42, 0.65);
}

/* Every tool gets the same tile: its line icon in the link colour on a faint wash of it. */
.card-badge[b-jm0myegkkx] {
    align-items: center;
    background: color-mix(in srgb, var(--app-link) 12%, var(--app-surface));
    border: 1px solid color-mix(in srgb, var(--app-link) 24%, var(--app-surface));
    border-radius: 0.9rem;
    color: var(--app-link);
    display: inline-flex;
    height: 3.5rem;
    justify-content: center;
    width: 3.5rem;
}

.card-title-link[b-jm0myegkkx] {
    color: var(--app-link);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.14em;
    width: fit-content;
}

    .card-title-link:focus-visible[b-jm0myegkkx] {
        outline: 3px solid rgba(37, 140, 251, 0.65);
        outline-offset: 3px;
    }

.card-description[b-jm0myegkkx] {
    color: color-mix(in srgb, var(--app-text) 72%, transparent);
    line-height: 1.45;
}

@media (min-width: 700px) {
    .hero-panel[b-jm0myegkkx] {
        padding: 2rem;
    }

    .launcher-grid[b-jm0myegkkx] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .launcher-grid[b-jm0myegkkx] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Arranging the tools: a compact one-column list with up/down buttons, so the whole order fits
   on a phone screen and each move is visible. */
.order-bar[b-jm0myegkkx] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: -0.75rem;
}

.order-hint[b-jm0myegkkx] {
    color: color-mix(in srgb, var(--app-text) 72%, transparent);
    font-size: 0.9rem;
    margin-right: auto;
}

.order-button[b-jm0myegkkx] {
    background: var(--app-surface);
    border: 1px solid var(--app-border);
    border-radius: 0.5rem;
    color: var(--app-text);
    font-size: 0.9rem;
    padding: 0.35rem 0.8rem;
}

    .order-button .oi[b-jm0myegkkx] {
        font-size: 0.8rem;
        margin-right: 0.25rem;
    }

    .order-button.primary[b-jm0myegkkx] {
        background: var(--app-link);
        border-color: var(--app-link);
        color: #fff;
    }

.launcher-grid.arranging[b-jm0myegkkx] {
    gap: 0.5rem;
    grid-template-columns: 1fr;
}

    .launcher-grid.arranging .launcher-card[b-jm0myegkkx] {
        align-items: center;
        display: flex;
        gap: 0.75rem;
        min-height: 0;
        padding: 0.6rem 0.75rem;
    }

    .launcher-grid.arranging .card-badge[b-jm0myegkkx] {
        border-radius: 0.6rem;
        flex: none;
        height: 2.5rem;
        width: 2.5rem;
    }

        .launcher-grid.arranging .card-badge[b-jm0myegkkx]  svg {
            height: 20px;
            width: 20px;
        }

    .launcher-grid.arranging .card-description[b-jm0myegkkx] {
        display: none;
    }

.move-buttons[b-jm0myegkkx] {
    display: flex;
    gap: 0.4rem;
    margin-left: auto;
}

    .move-buttons button[b-jm0myegkkx] {
        background: var(--app-surface-muted);
        border: 1px solid var(--app-border);
        border-radius: 0.5rem;
        color: var(--app-text);
        height: 2.5rem;
        width: 2.5rem;
    }

        .move-buttons button:disabled[b-jm0myegkkx] {
            opacity: 0.35;
        }
/* /Pages/InventoryTab.razor.rz.scp.css */
.inv-top[b-ikj3bejn6y] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search[b-ikj3bejn6y] {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 1rem;
}

.search:focus[b-ikj3bejn6y] {
    outline: none;
    border-color: var(--app-accent);
}

.muted[b-ikj3bejn6y] {
    color: var(--app-text-muted);
}

.empty[b-ikj3bejn6y] {
    text-align: center;
    padding: 2rem 0;
}

.inv-count[b-ikj3bejn6y] {
    font-size: 0.85rem;
    margin: 0.4rem 0 0.75rem;
}

.inv-cat[b-ikj3bejn6y] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    margin: 1.1rem 0 0.25rem;
    padding: 0.2rem 0;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
}

.inv-chevron[b-ikj3bejn6y] {
    display: inline-block;
    width: 1em;
    transition: transform 0.15s;
}

.inv-chevron.open[b-ikj3bejn6y] {
    transform: rotate(90deg);
}

.inv-cat-count[b-ikj3bejn6y] {
    margin-left: auto;
    font-weight: 400;
    opacity: 0.6;
}

.inv-row[b-ikj3bejn6y] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--app-border);
}


.inv-main[b-ikj3bejn6y] {
    flex: 1;
    min-width: 0;
    border: none;
    background: none;
    color: inherit;
    text-align: left;
    padding: 0.15rem 0;
}

.inv-name[b-ikj3bejn6y] {
    display: block;
    font-weight: 600;
}

.inv-sub[b-ikj3bejn6y] {
    display: block;
    font-size: 0.8rem;
    color: var(--app-text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inv-qty[b-ikj3bejn6y] {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    min-width: 4.5rem;
    text-align: right;
}

.badge[b-ikj3bejn6y] {
    margin-left: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    vertical-align: middle;
}

.badge.expired[b-ikj3bejn6y] {
    background: var(--app-danger-soft);
    color: var(--app-danger);
    border: 1px solid var(--app-danger-border);
}

.badge.soon[b-ikj3bejn6y] {
    background: #fff3cd;
    color: #7a5c00;
    border: 1px solid #ffe08a;
}

.round-btn[b-ikj3bejn6y] {
    flex: 0 0 2.2rem;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1px solid var(--app-border);
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 1.15rem;
    line-height: 1;
}

.inv-add[b-ikj3bejn6y] {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.7rem;
    border: 1px dashed var(--app-border);
    border-radius: 10px;
    background: none;
    color: var(--app-link);
    font-weight: 600;
}

.inv-message[b-ikj3bejn6y] {
    margin-top: 0.75rem;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    background: var(--app-success-soft);
    color: var(--app-success-text);
}

.inv-message.error[b-ikj3bejn6y] {
    background: var(--app-danger-soft);
    color: var(--app-danger);
}

/* ---- edit dialog ---- */
.inv-modal-bg[b-ikj3bejn6y] {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: var(--app-nav-overlay);
}

.inv-modal[b-ikj3bejn6y] {
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.25rem;
    border-radius: 14px;
    background: var(--app-surface);
    color: var(--app-text);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.inv-modal h2[b-ikj3bejn6y] {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.inv-modal label[b-ikj3bejn6y] {
    display: block;
    flex: 1;
    margin-bottom: 0.6rem;
    font-size: 0.85rem;
    color: var(--app-text-muted);
}

.inv-modal input[b-ikj3bejn6y],
.inv-modal select[b-ikj3bejn6y] {
    display: block;
    width: 100%;
    margin-top: 0.2rem;
    padding: 0.45rem 0.6rem;
    border: 1px solid var(--app-border);
    border-radius: 8px;
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 1rem;
}

.inv-modal-row[b-ikj3bejn6y] {
    display: flex;
    gap: 0.6rem;
}

.inv-modal-actions[b-ikj3bejn6y] {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.5rem;
}

.spacer[b-ikj3bejn6y] {
    flex: 1;
}

.primary-btn[b-ikj3bejn6y],
.plain-btn[b-ikj3bejn6y],
.danger-btn[b-ikj3bejn6y] {
    border-radius: 8px;
    padding: 0.45rem 0.9rem;
    font-weight: 600;
    border: 1px solid var(--app-border);
}

.primary-btn[b-ikj3bejn6y] {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: var(--app-on-accent);
}

.plain-btn[b-ikj3bejn6y] {
    background: var(--app-surface);
    color: var(--app-text);
}

.danger-btn[b-ikj3bejn6y] {
    background: var(--app-danger-soft);
    border-color: var(--app-danger-border);
    color: var(--app-danger);
}
/* /Pages/Invites.razor.rz.scp.css */
.invites-shell[b-k1xtjam7jv] {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0.5rem 3rem;
}

.invites-shell section + section[b-k1xtjam7jv] {
    margin-top: 2.5rem;
}

.invites-hint[b-k1xtjam7jv] {
    color: var(--app-text-muted);
    font-size: 0.9rem;
}

.invites-empty[b-k1xtjam7jv] {
    color: var(--app-text-muted);
    font-style: italic;
}

.invite-list[b-k1xtjam7jv] {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.invite-card[b-k1xtjam7jv] {
    border: 1px solid var(--app-border);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
    background: var(--app-surface);
    color: var(--app-text);
}

.invite-card__head[b-k1xtjam7jv] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.invite-name[b-k1xtjam7jv] {
    font-weight: 600;
}

.invite-roles[b-k1xtjam7jv] {
    color: var(--app-text-muted);
    font-size: 0.85rem;
}

.invite-card__head .gift-btn[b-k1xtjam7jv],
.invite-card__head .gift-badge[b-k1xtjam7jv] {
    margin-left: auto;
}

.invite-card__link[b-k1xtjam7jv] {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.invite-url[b-k1xtjam7jv] {
    flex: 1 1 auto;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.85rem;
    background: var(--app-surface-muted);
    color: var(--app-text);
}

/* ---- create-invite form ---- */
.new-invite[b-k1xtjam7jv] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem;
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.invite-card--new[b-k1xtjam7jv] {
    border-color: var(--app-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* ---- role toggles ---- */
.role-row[b-k1xtjam7jv] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--app-border);
}

.role-row--plain[b-k1xtjam7jv] {
    margin: 0;
    padding: 0;
    border-top: 0;
    flex: 1 1 auto;
}

.role-toggle[b-k1xtjam7jv] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: var(--app-text);
    cursor: pointer;
}

.role-toggle input[b-k1xtjam7jv] {
    accent-color: var(--app-accent);
}

.role-toggle--locked[b-k1xtjam7jv] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ---- buttons & badges (this page has its own scope, so restate them) ---- */
.gift-btn[b-k1xtjam7jv] {
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    background: var(--app-surface-muted);
    color: var(--app-text);
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
}

.gift-btn:hover:not(:disabled)[b-k1xtjam7jv] {
    border-color: var(--app-text-muted);
}

.gift-btn:disabled[b-k1xtjam7jv] {
    opacity: 0.5;
    cursor: not-allowed;
}

.gift-btn--primary[b-k1xtjam7jv] {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: var(--app-on-accent);
}

.gift-btn--primary:hover:not(:disabled)[b-k1xtjam7jv] {
    background: var(--app-accent-hover);
    border-color: var(--app-accent-hover);
}

.gift-btn--danger[b-k1xtjam7jv] {
    color: var(--app-danger);
    border-color: var(--app-danger-border);
    background: transparent;
}

.gift-btn--danger:hover:not(:disabled)[b-k1xtjam7jv] {
    background: var(--app-danger-soft);
}

.gift-badge[b-k1xtjam7jv] {
    font-size: 0.8rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    color: var(--app-text-muted);
}
/* /Pages/Kalender.razor.rz.scp.css */
/* The colours (--cal-a for Jacob, --cal-b for Linnéa, --cal-both, --cal-week for Linnéa's fixed
   week) and the text, edge and dark-theme shades derived from them are set inline on .cal-shell
   by CalendarPalette, since each person can pick their own. */
.cal-shell[b-zv42ttu99m] {
    --cal-hour: 4.5rem;
    --cal-hour-col: 3rem;
    /* How strongly the quiet patterns tint the page: less on a dark page, where colour shows more. */
    --tint-share: 45%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0.5rem 3rem;
    color: var(--app-text);
}

:root[data-theme="dark"] .cal-shell[b-zv42ttu99m] {
    --tint-share: 22%;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .cal-shell[b-zv42ttu99m] {
        --tint-share: 22%;
    }
}

/* Whose colour: blocks, the swatches in the list and the previews in the settings set these, and
   the pattern rules below read them. Dark theme swaps in the dimmed fill, and the accent (the
   bar and outline of the quiet patterns) becomes that fill, since a deeper shade would
   vanish on a dark page. */
.cal-who--a[b-zv42ttu99m] { --who-fill: var(--cal-a); --who-text: var(--cal-a-text); --who-edge: var(--cal-a-edge); --who-accent: var(--cal-a-edge); }
.cal-who--b[b-zv42ttu99m] { --who-fill: var(--cal-b); --who-text: var(--cal-b-text); --who-edge: var(--cal-b-edge); --who-accent: var(--cal-b-edge); }
.cal-who--both[b-zv42ttu99m] { --who-fill: var(--cal-both); --who-text: var(--cal-both-text); --who-edge: var(--cal-both-edge); --who-accent: var(--cal-both-edge); }
.cal-who--week[b-zv42ttu99m] { --who-fill: var(--cal-week); --who-text: var(--cal-week-text); --who-edge: var(--cal-week-edge); --who-accent: var(--cal-week-edge); }

:root[data-theme="dark"] .cal-who--a[b-zv42ttu99m] { --who-fill: var(--cal-a-dark); --who-text: var(--cal-a-dark-text); --who-edge: var(--cal-a-dark-edge); --who-accent: var(--cal-a-dark); }
:root[data-theme="dark"] .cal-who--b[b-zv42ttu99m] { --who-fill: var(--cal-b-dark); --who-text: var(--cal-b-dark-text); --who-edge: var(--cal-b-dark-edge); --who-accent: var(--cal-b-dark); }
:root[data-theme="dark"] .cal-who--both[b-zv42ttu99m] { --who-fill: var(--cal-both-dark); --who-text: var(--cal-both-dark-text); --who-edge: var(--cal-both-dark-edge); --who-accent: var(--cal-both-dark); }
:root[data-theme="dark"] .cal-who--week[b-zv42ttu99m] { --who-fill: var(--cal-week-dark); --who-text: var(--cal-week-dark-text); --who-edge: var(--cal-week-dark-edge); --who-accent: var(--cal-week-dark); }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .cal-who--a[b-zv42ttu99m] { --who-fill: var(--cal-a-dark); --who-text: var(--cal-a-dark-text); --who-edge: var(--cal-a-dark-edge); --who-accent: var(--cal-a-dark); }
    :root:not([data-theme]) .cal-who--b[b-zv42ttu99m] { --who-fill: var(--cal-b-dark); --who-text: var(--cal-b-dark-text); --who-edge: var(--cal-b-dark-edge); --who-accent: var(--cal-b-dark); }
    :root:not([data-theme]) .cal-who--both[b-zv42ttu99m] { --who-fill: var(--cal-both-dark); --who-text: var(--cal-both-dark-text); --who-edge: var(--cal-both-dark-edge); --who-accent: var(--cal-both-dark); }
    :root:not([data-theme]) .cal-who--week[b-zv42ttu99m] { --who-fill: var(--cal-week-dark); --who-text: var(--cal-week-dark-text); --who-edge: var(--cal-week-dark-edge); --who-accent: var(--cal-week-dark); }
}

/* ---- patterns: Hel is a solid block; the rest tint the page and keep the page's text ---- */
.cal-pat--hel[b-zv42ttu99m] {
    background: var(--who-fill);
    color: var(--who-text);
    box-shadow: inset 3px 0 0 var(--who-edge);
}

.cal-pat--striper[b-zv42ttu99m] {
    background: repeating-linear-gradient(135deg,
        color-mix(in srgb, var(--who-fill) var(--tint-share), var(--app-surface)) 0 6px,
        var(--app-surface) 6px 12px);
    color: var(--app-text);
    box-shadow: inset 3px 0 0 var(--who-accent);
}

.cal-pat--kontur[b-zv42ttu99m] {
    background: color-mix(in srgb, var(--who-fill) calc(var(--tint-share) * 0.4), var(--app-surface));
    color: var(--app-text);
    box-shadow: inset 0 0 0 2px var(--who-accent);
}

/* Muted text is grey, which can fail on a strong solid fill: there it follows the fill's text. */
.cal-pat--hel .cal-block__time[b-zv42ttu99m] {
    color: inherit;
    opacity: 0.85;
}

.cal-shell section + section[b-zv42ttu99m] {
    margin-top: 2.5rem;
}

h2[b-zv42ttu99m] {
    font-size: 1.25rem;
    margin: 0;
}

.cal-week-head[b-zv42ttu99m] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.6rem;
}

.cal-week-nav[b-zv42ttu99m] {
    display: flex;
    gap: 0.35rem;
}

/* ---- the grid: seven columns wide enough to read, scrolling sideways on a phone ---- */
.cal-scroll[b-zv42ttu99m] {
    position: relative;
    overflow-x: auto;
    border: 1px solid var(--app-border);
    border-radius: 8px;
}

.cal-scroll:focus-visible[b-zv42ttu99m] {
    outline: 2px solid var(--app-accent);
    outline-offset: 2px;
}

.cal-grid[b-zv42ttu99m] {
    display: grid;
    grid-template-columns: var(--cal-hour-col) repeat(7, minmax(5.5rem, 1fr));
}

.cal-corner[b-zv42ttu99m],
.cal-hours[b-zv42ttu99m] {
    position: sticky;
    left: 0;
    z-index: 3;
    background: var(--app-background);
}

.cal-head[b-zv42ttu99m] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 0 0.25rem;
    border-left: 1px solid var(--app-border);
}

.cal-head__name[b-zv42ttu99m] {
    font-size: 0.8rem;
    color: var(--app-text-muted);
}

.cal-head__num[b-zv42ttu99m] {
    display: grid;
    place-items: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    font-size: 1.3rem;
}

.cal-head__num--today[b-zv42ttu99m] {
    background: var(--app-accent);
    color: var(--app-on-accent);
    font-weight: 600;
}

.cal-allday[b-zv42ttu99m] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-height: 0.5rem;
    padding: 2px;
    border-left: 1px solid var(--app-border);
    border-bottom: 1px solid var(--app-border);
}

.cal-corner--allday[b-zv42ttu99m] {
    border-bottom: 1px solid var(--app-border);
}

/* All-day plans sit in a narrow strip, so they get bigger text than plans on the grid. Two classes,
   so this wins over the general .cal-event rule further down. */
.cal-event.cal-event--allday[b-zv42ttu99m] {
    padding: 4px 7px;
    font-size: 0.9rem;
    line-height: 1.25;
}

.cal-hours[b-zv42ttu99m],
.cal-col[b-zv42ttu99m] {
    position: relative;
    height: calc(var(--cal-hours) * var(--cal-hour));
}

.cal-hours[b-zv42ttu99m] {
    position: sticky;
}

.cal-hours__label[b-zv42ttu99m] {
    position: absolute;
    left: 0;
    right: 0;
    padding-top: 1px;
    text-align: center;
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    color: var(--app-text-muted);
}

.cal-col[b-zv42ttu99m] {
    border-left: 1px solid var(--app-border);
    background-image: linear-gradient(to bottom, var(--app-border) 1px, transparent 1px);
    background-size: 100% var(--cal-hour);
}

/* ---- Linnéa's fixed week: striped by default, so a plan of hers (solid, same colour) can't be
   mistaken for it. The colour and pattern come from the cal-who/cal-pat classes like plans. ---- */
.cal-block[b-zv42ttu99m] {
    position: absolute;
    left: 2px;
    right: 2px;
    padding: 2px 5px 2px 7px;
    overflow: hidden;
    border-radius: 3px;
    font-size: 0.8rem;
    line-height: 1.2;
}

.cal-block__title[b-zv42ttu99m] {
    display: block;
    font-weight: 600;
}

.cal-block__time[b-zv42ttu99m] {
    display: block;
    font-variant-numeric: tabular-nums;
    color: var(--app-text-muted);
}

/* ---- current time: a red line across today's column, as in Google Calendar ---- */
.cal-now[b-zv42ttu99m] {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 3;
    height: 2px;
    margin-top: -1px;
    background: #ea4335;
    pointer-events: none;
}

.cal-now[b-zv42ttu99m]::before {
    content: "";
    position: absolute;
    left: -6px;
    top: -5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ea4335;
}

/* ---- plans ---- */
.cal-event[b-zv42ttu99m] {
    margin: 0;
    padding: 2px 5px;
    overflow: hidden;
    overflow-wrap: anywhere;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
    padding-left: 7px;
}

/* The ring that parts overlapping plans is an outline, so the pattern's box-shadow keeps its bar. */
.cal-event--timed[b-zv42ttu99m] {
    position: absolute;
    z-index: 2;
    min-height: 1.5rem;
    outline: 1px solid var(--app-background);
}

.cal-event__time[b-zv42ttu99m] {
    display: block;
    font-weight: 400;
}

/* ---- forms ---- */
.cal-form[b-zv42ttu99m] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.6rem;
    margin: 0 0 1rem;
    padding: 0.75rem;
    background: var(--app-surface-muted);
    border-radius: 8px;
}

.cal-field[b-zv42ttu99m] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    font-size: 0.85rem;
    color: var(--app-text-muted);
}

.cal-field--wide[b-zv42ttu99m],
.cal-form__actions[b-zv42ttu99m],
.cal-error[b-zv42ttu99m] {
    grid-column: 1 / -1;
}

.cal-input[b-zv42ttu99m] {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.4rem 0.6rem;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 1rem;
    color-scheme: light dark;
}

.cal-form__actions[b-zv42ttu99m] {
    display: flex;
    gap: 0.4rem;
}

.cal-error[b-zv42ttu99m] {
    margin: 0;
    color: var(--app-danger);
}

.cal-nothing[b-zv42ttu99m] {
    color: var(--app-text-muted);
}

.cal-btn[b-zv42ttu99m] {
    min-height: 2.5rem;
    min-width: 2.5rem;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    background: var(--app-surface-muted);
    color: var(--app-text);
    cursor: pointer;
}

.cal-btn:hover:not(:disabled)[b-zv42ttu99m] {
    border-color: var(--app-text-muted);
}

.cal-btn:disabled[b-zv42ttu99m] {
    opacity: 0.5;
    cursor: not-allowed;
}

.cal-btn--primary[b-zv42ttu99m] {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: var(--app-on-accent);
}

.cal-btn--primary:hover:not(:disabled)[b-zv42ttu99m] {
    background: var(--app-accent-hover);
    border-color: var(--app-accent-hover);
}

.cal-btn--danger[b-zv42ttu99m] {
    background: transparent;
    border-color: var(--app-danger-border);
    color: var(--app-danger);
}

.cal-btn--danger:hover:not(:disabled)[b-zv42ttu99m] {
    background: var(--app-danger-soft);
}

.cal-btn:focus-visible[b-zv42ttu99m],
.cal-input:focus-visible[b-zv42ttu99m] {
    outline: 2px solid var(--app-accent);
    outline-offset: 2px;
}

/* ---- planned list ---- */
.cal-plans[b-zv42ttu99m] {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cal-plan-row[b-zv42ttu99m] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--app-border);
}

.cal-plan-row__date[b-zv42ttu99m] {
    flex: 0 0 9.5rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.cal-plan-row__main[b-zv42ttu99m] {
    flex: 1 1 10rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cal-plan-row__meta[b-zv42ttu99m] {
    font-size: 0.85rem;
    color: var(--app-text-muted);
}

.cal-plan-row__actions[b-zv42ttu99m] {
    display: flex;
    gap: 0.35rem;
}

@media (max-width: 480px) {
    .cal-plan-row__date[b-zv42ttu99m] {
        flex-basis: 100%;
    }
}

/* ---- colours and patterns ---- */
.cal-swatch[b-zv42ttu99m] {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    margin-right: 0.35rem;
    border-radius: 3px;
    vertical-align: -0.1em;
}

.cal-looks[b-zv42ttu99m] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    gap: 0.6rem;
    margin: 0.75rem 0;
}

.cal-look[b-zv42ttu99m] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cal-look__preview[b-zv42ttu99m] {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    padding: 0.3rem 0.6rem 0.3rem 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.cal-look__control input[type="color"][b-zv42ttu99m] {
    width: 2.75rem;
    height: 2.5rem;
    padding: 0.15rem;
    border: 1px solid var(--app-border);
    border-radius: 6px;
    background: var(--app-surface);
    cursor: pointer;
}

.cal-look__control select[b-zv42ttu99m] {
    width: 6.5rem;
}
/* /Pages/Login.razor.rz.scp.css */
.login-panel[b-y92a5jbomm] {
    max-width: 420px;
    margin: 3rem auto;
    text-align: center;
    color: var(--app-text);
}

.login-lead[b-y92a5jbomm] {
    color: var(--app-text-muted);
}

.login-error[b-y92a5jbomm] {
    color: var(--app-danger);
    background: var(--app-danger-soft);
    border: 1px solid var(--app-danger-border);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    text-align: left;
}

/* Google's button keeps its own light styling in both themes — that's their brand guidance,
   and it reads as a deliberate third-party control rather than a mis-themed app button. */
.google-signin[b-y92a5jbomm] {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.25rem;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background: #ffffff;
    color: #1f1f1f;
    font-weight: 500;
    text-decoration: none;
}

.google-signin:hover[b-y92a5jbomm] {
    background: #f1f3f5;
    text-decoration: none;
    color: #1f1f1f;
}
/* /Pages/Luft.razor.rz.scp.css */
.air-shell[b-g1hf6q2zeq] {
    /* Rooms take the dataviz palette's first three slots, by device order (stable per name). */
    --air-s1: #2a78d6; --air-s2: #eb6834; --air-s3: #1baf7a; --air-s4: #6250d6;
    /* Outdoors: a quiet neutral, so it reads as the backdrop the rooms are measured against. */
    --air-out: #7c7a74;
    --air-grid: #e6e5df; --air-axis: #c3c2b7; --air-band: rgba(27, 175, 122, 0.10); --air-level: #c98500;
    --air-good: #0a7d0a; --air-good-soft: rgba(12, 163, 12, 0.12);
    --air-fair: #8a5a00; --air-fair-soft: rgba(250, 178, 25, 0.20);
    --air-poor: #b42323; --air-poor-soft: rgba(208, 59, 59, 0.14);
    max-width: 960px;
    margin: 0 auto;
    padding: 0 0.5rem 3rem;
    color: var(--app-text);
    display: grid;
    gap: 1.25rem;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) .air-shell[b-g1hf6q2zeq] {
        --air-s1: #3987e5; --air-s2: #d95926; --air-s3: #199e70; --air-s4: #9085e9; --air-out: #a8a69d;
        --air-grid: #2c3444; --air-axis: #3b4558; --air-band: rgba(25, 158, 112, 0.14); --air-level: #eda100;
        --air-good: #4ade80; --air-good-soft: rgba(12, 163, 12, 0.22);
        --air-fair: #fcd34d; --air-fair-soft: rgba(250, 178, 25, 0.18);
        --air-poor: #fca5a5; --air-poor-soft: rgba(208, 59, 59, 0.24);
    }
}

:root[data-theme="dark"] .air-shell[b-g1hf6q2zeq] {
    --air-s1: #3987e5; --air-s2: #d95926; --air-s3: #199e70; --air-s4: #9085e9; --air-out: #a8a69d;
    --air-grid: #2c3444; --air-axis: #3b4558; --air-band: rgba(25, 158, 112, 0.14); --air-level: #eda100;
    --air-good: #4ade80; --air-good-soft: rgba(12, 163, 12, 0.22);
    --air-fair: #fcd34d; --air-fair-soft: rgba(250, 178, 25, 0.18);
    --air-poor: #fca5a5; --air-poor-soft: rgba(208, 59, 59, 0.24);
}

h1[b-g1hf6q2zeq] { margin: 0; }
.air-head[b-g1hf6q2zeq] { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 0.75rem; }
.air-lead[b-g1hf6q2zeq] { color: var(--app-text-muted); margin: 0.1rem 0 0; }
.air-empty[b-g1hf6q2zeq] { color: var(--app-text-muted); margin: 0; }

.air-limit-rows[b-g1hf6q2zeq] { display: grid; gap: 0.6rem; }
.air-limit-row[b-g1hf6q2zeq] { display: grid; grid-template-columns: 7rem 1fr; gap: 0.25rem 0.75rem; align-items: center;
    padding-bottom: 0.6rem; border-bottom: 1px solid var(--app-border); }
.air-limit-row:last-child[b-g1hf6q2zeq] { border-bottom: 0; padding-bottom: 0; }
.air-limit-name[b-g1hf6q2zeq] { font-weight: 600; }
.air-limit-fields[b-g1hf6q2zeq] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; }
.air-limit-fields label[b-g1hf6q2zeq] { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; color: var(--app-text-muted); }
.air-limit-pair[b-g1hf6q2zeq] { display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; font-size: 0.88rem; color: var(--app-text-muted); }
.air-limit-pair label[b-g1hf6q2zeq] { font-size: inherit; }
.air-limit-fields input[b-g1hf6q2zeq] { width: 5.5rem; font: inherit; font-size: 0.9rem; padding: 0.2rem 0.4rem; color: var(--app-text);
    background: var(--app-background); border: 1px solid var(--app-border); border-radius: 6px; font-variant-numeric: tabular-nums; }
.air-limit-fields input:focus-visible[b-g1hf6q2zeq] { outline: 2px solid var(--app-accent); outline-offset: 1px; }
.air-limit-problem[b-g1hf6q2zeq] { grid-column: 2; color: var(--air-poor); font-size: 0.82rem; }
.air-limit-actions[b-g1hf6q2zeq] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.air-link[b-g1hf6q2zeq] { font: inherit; font-size: 0.82rem; color: var(--app-link); background: none; border: 0; padding: 0; cursor: pointer; }
.air-link:hover[b-g1hf6q2zeq] { text-decoration: underline; }
@media (max-width: 520px) {
    .air-limit-row[b-g1hf6q2zeq] { grid-template-columns: 1fr; }
    .air-limit-problem[b-g1hf6q2zeq] { grid-column: 1; }
}

.air-now[b-g1hf6q2zeq] { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.75rem; }
.air-card[b-g1hf6q2zeq] { background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 12px; padding: 0.9rem 1rem; display: grid; gap: 0.6rem; align-content: start; }
.air-card header[b-g1hf6q2zeq] { display: grid; gap: 0.1rem; }
.air-card--out[b-g1hf6q2zeq] { background: var(--app-surface-muted); border-style: dashed; }
.air-room[b-g1hf6q2zeq] { font-weight: 600; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.air-room[b-g1hf6q2zeq]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.air-meta[b-g1hf6q2zeq] { font-size: 0.8rem; color: var(--app-text-muted); }
.air-card dl[b-g1hf6q2zeq] { margin: 0; display: grid; gap: 0.35rem; }
.air-value[b-g1hf6q2zeq] { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.air-value dt[b-g1hf6q2zeq] { font-weight: 400; color: var(--app-text-muted); font-size: 0.88rem; }
.air-value dd[b-g1hf6q2zeq] { margin: 0; display: flex; align-items: baseline; gap: 0.35rem; font-variant-numeric: tabular-nums; }
.air-value small[b-g1hf6q2zeq] { color: var(--app-text-muted); }
.air-status[b-g1hf6q2zeq] { font-size: 0.7rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; }
.air-status--good[b-g1hf6q2zeq] { color: var(--air-good); background: var(--air-good-soft); }
.air-status--fair[b-g1hf6q2zeq] { color: var(--air-fair); background: var(--air-fair-soft); }
.air-status--poor[b-g1hf6q2zeq] { color: var(--air-poor); background: var(--air-poor-soft); }

.air-explore[b-g1hf6q2zeq] { display: grid; gap: 0.75rem; }
.air-explore-head[b-g1hf6q2zeq] { display: flex; align-items: baseline; gap: 0.75rem; }
.air-explore-head h2[b-g1hf6q2zeq] { font-size: 1.05rem; margin: 0; }
.air-explore-toggle[b-g1hf6q2zeq] { margin-left: auto; }
.air-explore-body[b-g1hf6q2zeq] { display: grid; gap: 0.75rem; }
.air-controls[b-g1hf6q2zeq] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }
.air-chips[b-g1hf6q2zeq] { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.air-chip[b-g1hf6q2zeq] { font: inherit; font-size: 0.85rem; color: var(--app-text-muted); background: transparent; border: 1px solid var(--app-border);
    border-radius: 999px; padding: 0.2rem 0.75rem; cursor: pointer; }
.air-chip--on[b-g1hf6q2zeq] { background: var(--app-text); border-color: var(--app-text); color: var(--app-background); }
.air-chip:focus-visible[b-g1hf6q2zeq] { outline: 2px solid var(--app-accent); outline-offset: 2px; }

.air-panel[b-g1hf6q2zeq] { background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 12px; padding: 0.9rem 1rem; display: grid; gap: 0.6rem; min-width: 0; }
.air-panel-head[b-g1hf6q2zeq] { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.air-legend[b-g1hf6q2zeq] { display: flex; flex-wrap: wrap; gap: 0.8rem; font-size: 0.82rem; }
.air-legend[b-g1hf6q2zeq] { align-items: center; }
.air-room-toggle[b-g1hf6q2zeq] { font: inherit; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 0.4rem; cursor: pointer;
    color: var(--app-text); background: transparent; border: 1px solid var(--app-border); border-radius: 999px; padding: 0.15rem 0.6rem; }
.air-room-toggle[b-g1hf6q2zeq]::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); border: 2px solid var(--c); box-sizing: border-box; }
.air-room-toggle--off[b-g1hf6q2zeq] { color: var(--app-text-muted); text-decoration: line-through; }
.air-room-toggle--off[b-g1hf6q2zeq]::before { background: transparent; }
.air-room-toggle:hover[b-g1hf6q2zeq] { background: var(--app-surface-muted); }
.air-room-toggle:focus-visible[b-g1hf6q2zeq] { outline: 2px solid var(--app-accent); outline-offset: 2px; }
.air-note[b-g1hf6q2zeq] { color: var(--app-text-muted); font-size: 0.82rem; margin: 0; }
.air-nav[b-g1hf6q2zeq] { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; }
.air-nav-buttons[b-g1hf6q2zeq] { display: flex; gap: 0.25rem; }
.air-icon-btn[b-g1hf6q2zeq] { font: inherit; font-size: 1.05rem; line-height: 1; width: 2rem; height: 2rem; border-radius: 8px; cursor: pointer;
    color: var(--app-text); background: transparent; border: 1px solid var(--app-border); }
.air-icon-btn:hover:not(:disabled)[b-g1hf6q2zeq] { background: var(--app-surface-muted); }
.air-icon-btn:disabled[b-g1hf6q2zeq] { opacity: 0.35; cursor: default; }
.air-icon-btn:focus-visible[b-g1hf6q2zeq] { outline: 2px solid var(--app-accent); outline-offset: 2px; }
.air-range[b-g1hf6q2zeq] { font-size: 0.88rem; font-variant-numeric: tabular-nums; }
.air-busy[b-g1hf6q2zeq] { opacity: 0.5; transition: opacity 0.15s; }
@media (hover: none) { .air-hint[b-g1hf6q2zeq] { display: none; } }

/* «Tilpass» */
.air-head-actions[b-g1hf6q2zeq] { display: flex; gap: 0.4rem; }
.air-customize[b-g1hf6q2zeq] { border-color: var(--app-accent); }
.air-customize-row[b-g1hf6q2zeq] { display: grid; gap: 0.35rem; }
.air-customize-label[b-g1hf6q2zeq] { font-size: 0.82rem; color: var(--app-text-muted); }
.air-check[b-g1hf6q2zeq] { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.88rem; }
.air-drag-chip[b-g1hf6q2zeq] { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; padding: 0.2rem 0.4rem 0.2rem 0.5rem;
    border: 1px solid var(--app-border); border-radius: 999px; background: var(--app-surface); cursor: grab; user-select: none; }
.air-grip[b-g1hf6q2zeq] { color: var(--app-text-muted); letter-spacing: -0.15em; font-size: 0.8rem; }
.air-mini[b-g1hf6q2zeq] { font: inherit; font-size: 0.75rem; line-height: 1; padding: 0.2rem 0.45rem; border-radius: 6px; cursor: pointer;
    color: var(--app-text); background: transparent; border: 1px solid var(--app-border); }
.air-mini:hover[b-g1hf6q2zeq] { background: var(--app-surface-muted); }
.air-mini:focus-visible[b-g1hf6q2zeq] { outline: 2px solid var(--app-accent); outline-offset: 1px; }
/* Phones don't do native drag and drop reliably, so touch screens get arrows instead. */
.air-arrows[b-g1hf6q2zeq] { display: none; gap: 0.2rem; }
@media (hover: none) { .air-arrows[b-g1hf6q2zeq] { display: inline-flex; } }
.air-draggable[b-g1hf6q2zeq] { cursor: grab; outline: 1px dashed var(--app-border); outline-offset: 3px; }
.air-drag--hidden[b-g1hf6q2zeq] { opacity: 0.45; }
.air-dragging[b-g1hf6q2zeq] { opacity: 0.35; }
.air-drop-target[b-g1hf6q2zeq] { outline: 2px solid var(--app-accent); outline-offset: 3px; }
.air-card-tools[b-g1hf6q2zeq] { display: flex; justify-content: space-between; align-items: center; gap: 0.4rem; padding-top: 0.4rem; border-top: 1px solid var(--app-border); }
.air-pins[b-g1hf6q2zeq] { display: grid; gap: 0.75rem; }
.air-pin-handle[b-g1hf6q2zeq] { display: flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; color: var(--app-text-muted); cursor: grab;
    user-select: none; padding-bottom: 0.3rem; border-bottom: 1px dashed var(--app-border); }
.air-pin-handle .air-arrows[b-g1hf6q2zeq] { margin-left: auto; }
.air-pin-it[b-g1hf6q2zeq] { margin-left: auto; }
.air-foot[b-g1hf6q2zeq] { max-width: 70ch; }
/* /Pages/Oppskrifter.razor.rz.scp.css */
.kitchen[b-7azvr91vre] {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 0.25rem 3rem;
    color: var(--app-text);
}

.kitchen-header[b-7azvr91vre] {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.kitchen-header h1[b-7azvr91vre] {
    margin-bottom: 0.25rem;
}

.muted[b-7azvr91vre] {
    color: var(--app-text-muted);
}

.empty[b-7azvr91vre] {
    text-align: center;
    padding: 2rem 0;
}

/* ---- tabs ---- */
.tabs[b-7azvr91vre] {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.25rem;
    margin: 0.5rem 0 1rem;
    border-radius: 999px;
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
}

.tab[b-7azvr91vre] {
    border: none;
    background: transparent;
    color: var(--app-text);
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
}

.tab.active[b-7azvr91vre] {
    background: var(--app-accent);
    color: var(--app-on-accent);
}

/* ---- search and tag filters ---- */
.search[b-7azvr91vre] {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 1rem;
}

.search:focus[b-7azvr91vre] {
    outline: none;
    border-color: var(--app-accent);
}

.portions-note[b-7azvr91vre] {
    margin: -0.2rem 0 0.5rem;
    font-size: 0.85rem;
}

/* ---- proposals (recipes not confirmed yet) ---- */
.proposal-badge[b-7azvr91vre] {
    display: inline-block;
    margin: 0.25rem 0 0.5rem;
    padding: 0.15rem 0.6rem;
    border: 1px dashed var(--app-accent);
    border-radius: 999px;
    color: var(--app-accent);
    font-size: 0.85rem;
}

.proposal-intro[b-7azvr91vre] {
    margin: 0.5rem 0 0.75rem;
    font-size: 0.9rem;
}

/* ---- ingredient suggestions under the search field ---- */
.search-wrap[b-7azvr91vre] {
    position: relative;
}

.suggestions[b-7azvr91vre] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    margin: 0;
    padding: 0.3rem 0;
    list-style: none;
    border: 1px solid var(--app-border);
    border-radius: 10px;
    background: var(--app-surface);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.suggestions li[b-7azvr91vre] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0.9rem;
    cursor: pointer;
}

.suggestions li[role="option"]:hover[b-7azvr91vre] {
    background: var(--app-border);
}

.suggestions .suggestions-head[b-7azvr91vre] {
    padding: 0.2rem 0.9rem;
    font-size: 0.75rem;
    color: var(--app-text-muted);
    cursor: default;
}

.suggestions .muted[b-7azvr91vre] {
    font-size: 0.85rem;
    color: var(--app-text-muted);
}

.filter-bar[b-7azvr91vre] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.75rem 0 1rem;
}

.tag-btn[b-7azvr91vre] {
    border: 1px solid var(--app-border);
    background: var(--app-surface);
    color: var(--app-text-muted);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
    font-size: 0.85rem;
}

.tag-btn:hover[b-7azvr91vre] {
    border-color: var(--app-accent);
    color: var(--app-accent);
}

.tag-btn.active[b-7azvr91vre] {
    background: var(--app-accent);
    border-color: var(--app-accent);
    color: var(--app-on-accent);
}

.link-btn[b-7azvr91vre] {
    border: none;
    background: none;
    color: var(--app-link);
    padding: 0.2rem 0.4rem;
    font-size: 0.85rem;
}

.link-btn:hover[b-7azvr91vre] {
    text-decoration: underline;
}

/* ---- recipe cards ---- */
.card[b-7azvr91vre] {
    position: relative;
    margin-bottom: 1rem;
    border: 1px solid var(--app-border);
    border-radius: 14px;
    background: var(--app-surface);
    overflow: hidden;
}

.card-pad[b-7azvr91vre] {
    padding: 0.5rem 1rem 0.75rem;
}

.hero[b-7azvr91vre],
.summary[b-7azvr91vre] {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    background: none;
    color: inherit;
    text-align: left;
}

.hero[b-7azvr91vre] {
    position: relative;
}

.hero img[b-7azvr91vre] {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.hero-overlay[b-7azvr91vre] {
    position: absolute;
    inset: auto 0 0 0;
    padding: 2.5rem 1rem 0.75rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
}

.hero-overlay .card-meta[b-7azvr91vre] {
    color: rgba(255, 255, 255, 0.85);
}

.summary[b-7azvr91vre] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem 0.25rem;
}

.card-name[b-7azvr91vre] {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
}

.card-meta[b-7azvr91vre] {
    display: block;
    font-size: 0.85rem;
    color: var(--app-text-muted);
}

.tags[b-7azvr91vre] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.35rem;
}

.tag[b-7azvr91vre] {
    font-size: 0.75rem;
    padding: 0.1rem 0.55rem;
    border-radius: 999px;
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
    color: var(--app-text-muted);
}

.stars[b-7azvr91vre] {
    color: #e0a100;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.expand[b-7azvr91vre] {
    display: block;
    width: 100%;
    border: none;
    border-top: 1px solid var(--app-border);
    background: none;
    color: var(--app-text-muted);
    font-size: 0.75rem;
    padding: 0.3rem 0;
}

.card.open .expand[b-7azvr91vre] {
    transform: rotate(180deg);
    border-top: none;
    border-bottom: 1px solid var(--app-border);
}

/* ---- recipe body (card and detail page) ---- */
.section-title[b-7azvr91vre] {
    margin: 1rem 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--app-text-muted);
}

.ing[b-7azvr91vre] {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--app-border);
}

.ing.optional[b-7azvr91vre] {
    color: var(--app-text-muted);
}

.ing-qty[b-7azvr91vre] {
    white-space: nowrap;
    font-weight: 600;
}

.ing-note[b-7azvr91vre] {
    font-size: 0.8rem;
    color: var(--app-text-muted);
}

.step[b-7azvr91vre] {
    display: flex;
    gap: 0.75rem;
    margin: 0.6rem 0;
    line-height: 1.5;
}

.step-num[b-7azvr91vre] {
    flex: 0 0 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: var(--app-accent);
    color: var(--app-on-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
}

.variant[b-7azvr91vre] {
    margin: 0.4rem 0;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    background: var(--app-surface-muted);
}

.variant-name[b-7azvr91vre] {
    font-weight: 700;
}

.notes[b-7azvr91vre] {
    margin-top: 1rem;
    padding: 0.7rem 0.9rem;
    border-left: 4px solid var(--app-accent);
    background: var(--app-surface-muted);
    border-radius: 0 10px 10px 0;
    font-style: italic;
}

.related[b-7azvr91vre] {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.related-link[b-7azvr91vre] {
    border: 1px solid var(--app-accent);
    background: none;
    color: var(--app-link);
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    font-size: 0.85rem;
}

/* ---- detail page ---- */
.detail-back[b-7azvr91vre] {
    border: none;
    background: none;
    color: var(--app-link);
    padding: 0.25rem 0;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.detail-hero[b-7azvr91vre] {
    display: block;
    width: 100%;
    max-height: 340px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 1rem;
}

.detail-name[b-7azvr91vre] {
    margin-bottom: 0.2rem;
}

.portions[b-7azvr91vre] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.25rem 0 0.5rem;
    padding: 0.6rem 0.9rem;
    border-radius: 12px;
    background: var(--app-surface-muted);
    border: 1px solid var(--app-border);
}

.portions-label[b-7azvr91vre] {
    font-weight: 600;
    margin-right: auto;
}

.portions-count[b-7azvr91vre] {
    min-width: 1.6rem;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 700;
}

.round-btn[b-7azvr91vre] {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    border: 1px solid var(--app-border);
    background: var(--app-surface);
    color: var(--app-text);
    font-size: 1.15rem;
    line-height: 1;
}

.round-btn:disabled[b-7azvr91vre] {
    opacity: 0.4;
}

.source[b-7azvr91vre] {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--app-text-muted);
    word-break: break-word;
}
/* /Pages/Weather.razor.rz.scp.css */
.weather-overview[b-gqghtggvw2] {
    margin-bottom: 1.5rem;
}

.weather-map-card[b-gqghtggvw2] {
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 36%),
        linear-gradient(180deg, var(--app-surface) 0%, var(--app-surface-muted) 100%);
    border: 1px solid var(--app-border);
    border-radius: 1.25rem;
    box-shadow: 0 18px 32px -28px rgba(15, 23, 42, 0.55);
    margin: 0 auto;
    max-width: none;
    padding: 1rem;
}

.weather-map-header[b-gqghtggvw2] {
    align-items: baseline;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

    .weather-map-header h4[b-gqghtggvw2],
    .weather-map-header p[b-gqghtggvw2] {
        margin: 0;
    }

.weather-map-header p[b-gqghtggvw2],
.weather-status[b-gqghtggvw2],
.weather-selection-copy[b-gqghtggvw2],
.weather-selection-date[b-gqghtggvw2] {
    color: color-mix(in srgb, var(--app-text) 72%, transparent);
}

.weather-map-highlight[b-gqghtggvw2] {
    font-size: 0.95rem;
    font-weight: 600;
}

.weather-status[b-gqghtggvw2] {
    margin: 0 0 1rem;
}

.weather-region-tabs[b-gqghtggvw2] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.weather-region-tab[b-gqghtggvw2] {
    background: color-mix(in srgb, var(--app-surface) 88%, transparent);
    border: 1px solid var(--app-border);
    border-radius: 999px;
    color: var(--app-text);
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    padding: 0.35rem 1rem;
}

.weather-region-tab:hover:not(:disabled)[b-gqghtggvw2] {
    border-color: rgba(96, 165, 250, 0.65);
}

.weather-region-tab.is-active[b-gqghtggvw2] {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.65);
    color: #dbeafe;
}

.weather-region-tab:disabled[b-gqghtggvw2] {
    cursor: default;
    opacity: 0.55;
}

.weather-range-controls[b-gqghtggvw2] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    margin-bottom: 1rem;
}

.weather-range-label[b-gqghtggvw2] {
    font-weight: 600;
}

.weather-range-input[b-gqghtggvw2] {
    background: color-mix(in srgb, var(--app-surface) 88%, transparent);
    border: 1px solid var(--app-border);
    border-radius: 0.6rem;
    color: var(--app-text);
    color-scheme: dark;
    font: inherit;
    padding: 0.3rem 0.5rem;
}

.weather-range-input:focus-visible[b-gqghtggvw2] {
    border-color: rgba(96, 165, 250, 0.65);
    outline: 2px solid rgba(96, 165, 250, 0.75);
    outline-offset: 1px;
}

.weather-range-sep[b-gqghtggvw2] {
    color: color-mix(in srgb, var(--app-text) 72%, transparent);
}

.weather-range-reset[b-gqghtggvw2] {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.65);
    border-radius: 999px;
    color: #dbeafe;
    cursor: pointer;
    font: inherit;
    padding: 0.3rem 0.8rem;
}

.weather-range-hint[b-gqghtggvw2] {
    color: color-mix(in srgb, var(--app-text) 60%, transparent);
    font-size: 0.85rem;
}

.weather-map-layout[b-gqghtggvw2] {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr);
}

.weather-map-shell[b-gqghtggvw2] {
    display: block;
    min-width: 0;
    min-height: 40rem;
    position: relative;
    align-self: stretch;
    width: 100%;
}

.weather-map-canvas[b-gqghtggvw2] {
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    height: 100%;
    max-height: 58rem;
    min-height: 40rem;
    overflow: hidden;
    width: 100%;
}

.weather-selection-card[b-gqghtggvw2] {
    background: color-mix(in srgb, var(--app-surface) 94%, transparent);
    border: 1px solid var(--app-border);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 40rem;
    padding: 0.85rem;
}

.weather-selection-title-row[b-gqghtggvw2] {
    align-items: start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.weather-selection-card h5[b-gqghtggvw2],
.weather-selection-kicker[b-gqghtggvw2],
.weather-selection-date[b-gqghtggvw2],
.weather-selection-copy[b-gqghtggvw2] {
    margin: 0;
}

.weather-selection-kicker[b-gqghtggvw2] {
    color: var(--app-link);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.weather-selection-copy[b-gqghtggvw2] {
    font-size: 0.92rem;
    line-height: 1.25;
}

.weather-week-badge[b-gqghtggvw2] {
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    white-space: nowrap;
}

.weather-week-badge.is-strong[b-gqghtggvw2] {
    background: rgba(34, 197, 94, 0.14);
    color: #8ae5aa;
}

.weather-week-badge.is-good[b-gqghtggvw2] {
    background: rgba(59, 130, 246, 0.14);
    color: #8fc8ff;
}

.weather-week-badge.is-mixed[b-gqghtggvw2] {
    background: rgba(245, 158, 11, 0.14);
    color: #ffd38a;
}

.weather-week-badge.is-poor[b-gqghtggvw2] {
    background: rgba(239, 68, 68, 0.14);
    color: #ff9e9e;
}

.weather-week-stats[b-gqghtggvw2] {
    display: grid;
    gap: 0.45rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.weather-week-stat[b-gqghtggvw2] {
    background: color-mix(in srgb, var(--app-surface-muted) 82%, transparent);
    border: 1px solid var(--app-border);
    border-radius: 0.85rem;
    display: grid;
    gap: 0.1rem;
    padding: 0.45rem 0.55rem;
}

.weather-week-stat-label[b-gqghtggvw2] {
    color: color-mix(in srgb, var(--app-text) 65%, transparent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.weather-week-stat-value[b-gqghtggvw2] {
    font-size: 1rem;
    font-weight: 700;
}

.weather-selection-divider[b-gqghtggvw2] {
    background: var(--app-border);
    height: 1px;
    margin-top: 0.1rem;
    width: 100%;
}

.weather-alerts-panel[b-gqghtggvw2] {
    display: grid;
    gap: 0.35rem;
}

.weather-alert-list[b-gqghtggvw2] {
    display: grid;
    gap: 0.35rem;
}

.weather-alert-chip[b-gqghtggvw2] {
    align-items: baseline;
    border: 1px solid transparent;
    border-radius: 0.75rem;
    display: grid;
    gap: 0.45rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 0.45rem 0.55rem;
}

.weather-alert-chip.is-yellow[b-gqghtggvw2] {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.28);
    color: #ffd38a;
}

.weather-alert-chip.is-orange[b-gqghtggvw2] {
    background: rgba(249, 115, 22, 0.14);
    border-color: rgba(249, 115, 22, 0.32);
    color: #ffbf94;
}

.weather-alert-chip.is-red[b-gqghtggvw2] {
    background: rgba(239, 68, 68, 0.14);
    border-color: rgba(239, 68, 68, 0.32);
    color: #ffb3b3;
}

.weather-alert-chip-level[b-gqghtggvw2] {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.weather-alert-chip-title[b-gqghtggvw2] {
    color: var(--app-text);
    font-size: 0.88rem;
    line-height: 1.2;
}

.weather-preferences-panel[b-gqghtggvw2] {
    background: color-mix(in srgb, var(--app-surface-muted) 80%, transparent);
    border: 1px solid var(--app-border);
    border-radius: 0.9rem;
    display: grid;
    gap: 0.45rem;
    padding: 0.55rem 0.65rem;
}

.weather-preferences-header[b-gqghtggvw2] {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.weather-preferences-header p[b-gqghtggvw2] {
    margin: 0;
}

.weather-preferences-reset[b-gqghtggvw2] {
    align-self: start;
    background: color-mix(in srgb, var(--app-surface) 88%, transparent);
    border: 1px solid var(--app-border);
    border-radius: 999px;
    color: var(--app-text);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.28rem 0.55rem;
}

.weather-preferences-list[b-gqghtggvw2] {
    display: grid;
    gap: 0.35rem;
}

.weather-preference-row[b-gqghtggvw2] {
    align-items: center;
    display: grid;
    gap: 0.6rem;
    grid-template-columns: 3rem minmax(0, 1fr);
}

.weather-preference-label[b-gqghtggvw2] {
    color: color-mix(in srgb, var(--app-text) 74%, transparent);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.weather-preference-buttons[b-gqghtggvw2] {
    display: grid;
    gap: 0.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.weather-preference-button[b-gqghtggvw2] {
    background: color-mix(in srgb, var(--app-surface) 88%, transparent);
    border: 1px solid var(--app-border);
    border-radius: 0.7rem;
    color: var(--app-text);
    cursor: pointer;
    font: inherit;
    min-height: 1.9rem;
    padding: 0.2rem;
    text-align: center;
}

.weather-preference-button.is-active[b-gqghtggvw2] {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.65);
    color: #dbeafe;
}

.weather-choice-icon[b-gqghtggvw2] {
    display: block;
    height: 1rem;
    margin: 0 auto;
    position: relative;
    width: 1rem;
}

.weather-choice-icon.icon-sun[b-gqghtggvw2],
.weather-choice-icon.icon-rain[b-gqghtggvw2] {
    background-color: currentColor;
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}

.weather-choice-icon.icon-sun[b-gqghtggvw2] {
    background-color: #fbbf24;
    mask-image: url('/images/weather-icons/clear.svg');
    -webkit-mask-image: url('/images/weather-icons/clear.svg');
}

.weather-choice-icon.icon-rain[b-gqghtggvw2] {
    background-color: #7dd3fc;
    mask-image: url('/images/weather-icons/rain.svg');
    -webkit-mask-image: url('/images/weather-icons/rain.svg');
}

.weather-choice-icon.sun-low[b-gqghtggvw2],
.weather-choice-icon.rain-low[b-gqghtggvw2] {
    opacity: 0.55;
    transform: scale(0.8);
}

.weather-choice-icon.sun-medium[b-gqghtggvw2],
.weather-choice-icon.rain-medium[b-gqghtggvw2] {
    opacity: 0.78;
    transform: scale(0.92);
}

.weather-choice-icon.sun-high[b-gqghtggvw2],
.weather-choice-icon.rain-high[b-gqghtggvw2] {
    opacity: 1;
}

.weather-choice-icon.icon-temp-cool[b-gqghtggvw2],
.weather-choice-icon.icon-temp-balanced[b-gqghtggvw2],
.weather-choice-icon.icon-temp-warm[b-gqghtggvw2] {
    position: relative;
}

.weather-choice-icon.icon-temp-cool[b-gqghtggvw2] {
    background: #7dd3fc;
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
    box-shadow: 0 0 0 0.12rem rgba(125, 211, 252, 0.18);
}

.weather-choice-icon.icon-temp-balanced[b-gqghtggvw2] {
    background: #60a5fa;
    border-radius: 55% 55% 55% 0;
    box-shadow: 0 0 0 0.12rem rgba(96, 165, 250, 0.18);
    transform: rotate(45deg);
}

.weather-choice-icon.icon-temp-warm[b-gqghtggvw2] {
    background: #fb923c;
    border-radius: 55% 55% 55% 0;
    box-shadow: 0 0 0 0.12rem rgba(251, 146, 60, 0.18);
    transform: rotate(45deg);
}

.weather-choice-icon.icon-temp-warm[b-gqghtggvw2]::after {
    background: #fde68a;
    border-radius: 55% 55% 55% 0;
    content: "";
    height: 0.42rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-25%, -58%);
    width: 0.42rem;
}

.weather-choice-icon.icon-wind[b-gqghtggvw2]::before,
.weather-choice-icon.icon-wind[b-gqghtggvw2]::after {
    background: currentColor;
    border-radius: 999px;
    content: "";
    left: 0;
    position: absolute;
}

.weather-choice-icon.icon-wind[b-gqghtggvw2]::before {
    height: 0.14rem;
    top: 0.26rem;
    width: 0.8rem;
}

.weather-choice-icon.icon-wind[b-gqghtggvw2]::after {
    height: 0.14rem;
    top: 0.58rem;
    width: 0.56rem;
}

.weather-choice-icon.wind-low[b-gqghtggvw2] {
    color: #a5b4fc;
    opacity: 0.55;
}

.weather-choice-icon.wind-medium[b-gqghtggvw2] {
    color: #cbd5e1;
    opacity: 0.8;
}

.weather-choice-icon.wind-high[b-gqghtggvw2] {
    color: #f8fafc;
}

.weather-choice-icon.wind-high[b-gqghtggvw2]::before {
    width: 0.95rem;
}

.weather-choice-icon.wind-high[b-gqghtggvw2]::after {
    width: 0.72rem;
}

.weather-choice-icon.icon-weekend[b-gqghtggvw2] {
    border: 0.09rem solid currentColor;
    border-radius: 0.2rem;
}

.weather-choice-icon.icon-weekend[b-gqghtggvw2]::before {
    background: currentColor;
    border-radius: 0.08rem;
    content: "";
    height: 0.12rem;
    left: 0.12rem;
    position: absolute;
    right: 0.12rem;
    top: 0.14rem;
}

.weather-choice-icon.icon-weekend[b-gqghtggvw2]::after {
    background: currentColor;
    border-radius: 0.06rem;
    bottom: 0.16rem;
    content: "";
    height: 0.18rem;
    left: 0.18rem;
    position: absolute;
    width: 0.18rem;
}

.weather-choice-icon.weekend-standard[b-gqghtggvw2] {
    color: #94a3b8;
}

.weather-choice-icon.weekend-high[b-gqghtggvw2] {
    color: #60a5fa;
}

.weather-choice-icon.weekend-high[b-gqghtggvw2]::after {
    box-shadow: 0.28rem 0 0 currentColor;
}

.weather-choice-icon.weekend-very-high[b-gqghtggvw2] {
    color: #fbbf24;
}

.weather-choice-icon.weekend-very-high[b-gqghtggvw2]::after {
    box-shadow: 0.28rem 0 0 currentColor, 0.56rem 0 0 currentColor;
}

.weather-preference-button:focus[b-gqghtggvw2],
.weather-preferences-reset:focus[b-gqghtggvw2],
.weather-region-tab:focus-visible[b-gqghtggvw2] {
    outline: 2px solid rgba(96, 165, 250, 0.75);
    outline-offset: 2px;
}

.weather-summary-notes[b-gqghtggvw2] {
    display: grid;
    gap: 0.32rem;
}

.weather-summary-note[b-gqghtggvw2] {
    align-items: baseline;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 2.35rem minmax(0, 1fr);
}

.weather-summary-note-label[b-gqghtggvw2] {
    color: color-mix(in srgb, var(--app-text) 58%, transparent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.weather-summary-note.is-weekend[b-gqghtggvw2] {
    color: #9fd2ff;
}

.weather-yr-header[b-gqghtggvw2] {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
}

.weather-yr-header p[b-gqghtggvw2],
.weather-yr-header span[b-gqghtggvw2] {
    margin: 0;
}

.weather-selected-yr-frame[b-gqghtggvw2] {
    background: white;
    border: 0;
    border-radius: 0.95rem;
    box-shadow: 0 14px 26px -24px rgba(15, 23, 42, 0.45);
    flex: 1 1 auto;
    min-height: 32rem;
    width: 100%;
}

.weather-loading-overlay[b-gqghtggvw2] {
    align-items: center;
    backdrop-filter: blur(3px);
    background: rgba(15, 23, 42, 0.22);
    border-radius: 1rem;
    color: white;
    display: flex;
    inset: 0;
    justify-content: center;
    position: absolute;
    text-align: center;
}

.weather-map-shell[b-gqghtggvw2]  .leaflet-container {
    background: #d7e3ec;
    border-radius: 1rem;
    font: inherit;
    height: 100%;
    width: 100%;
}

.weather-map-shell[b-gqghtggvw2]  .leaflet-popup-content-wrapper,
.weather-map-shell[b-gqghtggvw2]  .leaflet-popup-tip {
    background: var(--app-surface);
    color: var(--app-text);
}

.weather-map-shell[b-gqghtggvw2]  .leaflet-popup-content {
    margin: 0;
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-div-icon,
.weather-map-shell[b-gqghtggvw2]  .weather-cluster-icon {
    background: transparent;
    border: 0;
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker {
    align-items: center;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(96, 165, 250, 0.16);
    border-radius: 999px;
    box-shadow: 0 12px 18px -16px rgba(15, 23, 42, 0.95);
    color: #f8fafc;
    display: inline-flex;
    gap: 0.28rem;
    min-height: 2rem;
    min-width: 3.1rem;
    padding: 0.2rem 0.42rem;
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker.is-selected {
    border-color: rgba(96, 165, 250, 0.92);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.28);
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker.category-strong {
    background: rgba(22, 101, 52, 0.94);
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker.category-good {
    background: rgba(14, 116, 144, 0.94);
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker.category-mixed {
    background: rgba(146, 64, 14, 0.94);
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker.category-poor,
.weather-map-shell[b-gqghtggvw2]  .weather-map-marker.category-unavailable {
    background: rgba(127, 29, 29, 0.92);
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker-score {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker-weekend {
    align-items: center;
    background: rgba(248, 250, 252, 0.18);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.62rem;
    font-weight: 700;
    height: 0.9rem;
    justify-content: center;
    width: 0.9rem;
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker-alert,
.weather-map-shell[b-gqghtggvw2]  .weather-cluster-alert {
    align-items: center;
    border-radius: 999px;
    color: #0f172a;
    display: inline-flex;
    font-size: 0.6rem;
    font-weight: 900;
    height: 0.9rem;
    justify-content: center;
    width: 0.9rem;
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker-alert.alert-yellow,
.weather-map-shell[b-gqghtggvw2]  .weather-cluster-alert.alert-yellow {
    background: #facc15;
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker-alert.alert-orange,
.weather-map-shell[b-gqghtggvw2]  .weather-cluster-alert.alert-orange {
    background: #fb923c;
}

.weather-map-shell[b-gqghtggvw2]  .weather-map-marker-alert.alert-red,
.weather-map-shell[b-gqghtggvw2]  .weather-cluster-alert.alert-red {
    background: #f87171;
}

.weather-map-shell[b-gqghtggvw2]  .weather-cluster-badge {
    align-items: center;
    background: rgba(248, 250, 252, 0.95);
    border: 2px solid rgba(148, 163, 184, 0.25);
    border-radius: 999px;
    box-shadow: 0 12px 20px -16px rgba(15, 23, 42, 0.95);
    color: #123046;
    display: flex;
    gap: 0.2rem;
    font-size: 1rem;
    font-weight: 700;
    height: 2.6rem;
    justify-content: center;
    width: 2.6rem;
}

.weather-map-shell[b-gqghtggvw2]  .weather-cluster-badge.category-strong {
    border-color: rgba(34, 197, 94, 0.55);
}

.weather-map-shell[b-gqghtggvw2]  .weather-cluster-badge.category-good {
    border-color: rgba(59, 130, 246, 0.55);
}

.weather-map-shell[b-gqghtggvw2]  .weather-cluster-badge.category-mixed {
    border-color: rgba(245, 158, 11, 0.55);
}

.weather-map-shell[b-gqghtggvw2]  .weather-cluster-badge.category-poor {
    border-color: rgba(239, 68, 68, 0.55);
}

.weather-map-shell[b-gqghtggvw2]  .weather-cluster-weekend {
    align-items: center;
    background: rgba(37, 99, 235, 0.14);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.62rem;
    font-weight: 800;
    height: 0.95rem;
    justify-content: center;
    width: 0.95rem;
}

.weather-map-shell[b-gqghtggvw2]  .weather-cluster-panel {
    display: grid;
    gap: 0.4rem;
    min-width: 13rem;
    padding: 0.6rem;
}

.weather-map-shell[b-gqghtggvw2]  .weather-cluster-option {
    background: color-mix(in srgb, var(--app-surface-muted) 80%, transparent);
    border: 1px solid var(--app-border);
    border-radius: 0.8rem;
    color: var(--app-text);
    cursor: pointer;
    display: grid;
    gap: 0.2rem;
    padding: 0.6rem 0.7rem;
    text-align: left;
    width: 100%;
}

.weather-map-shell[b-gqghtggvw2]  .weather-cluster-option-name {
    font-weight: 700;
}

.weather-map-shell[b-gqghtggvw2]  .weather-cluster-option-meta {
    color: color-mix(in srgb, var(--app-text) 72%, transparent);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .weather-map-layout[b-gqghtggvw2] {
        grid-template-columns: 1fr;
    }

    .weather-map-shell[b-gqghtggvw2] {
        min-height: 28rem;
        width: 100%;
    }

    .weather-map-canvas[b-gqghtggvw2] {
        height: 100%;
        min-height: 28rem;
    }

    .weather-selection-card[b-gqghtggvw2] {
        min-height: 0;
    }

    .weather-week-stats[b-gqghtggvw2] {
        grid-template-columns: 1fr;
    }

    .weather-preference-row[b-gqghtggvw2] {
        grid-template-columns: 3rem minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .weather-map-card[b-gqghtggvw2] {
        padding: 0.85rem;
    }

    .weather-map-shell[b-gqghtggvw2] {
        min-height: 24rem;
        width: 100%;
    }

    .weather-map-canvas[b-gqghtggvw2] {
        height: 58vh;
        max-height: none;
        min-height: 24rem;
    }

    .weather-selected-yr-frame[b-gqghtggvw2] {
        min-height: 28rem;
    }

    .weather-map-shell[b-gqghtggvw2]  .weather-map-marker {
        min-height: 1.85rem;
        min-width: 2.8rem;
        padding: 0.16rem 0.35rem;
    }

    .weather-map-shell[b-gqghtggvw2]  .weather-map-marker-score {
        font-size: 0.78rem;
    }
}
/* /Shared/AirChart.razor.rz.scp.css */
/* Top padding: the highest axis label is centred on the top gridline, so half of it sits above the plot. */
.ac[b-zp1aghtda7] { display: grid; gap: 4px; padding-left: 46px; padding-top: 0.6rem; min-width: 0; }

.ac-plot[b-zp1aghtda7] { position: relative; border-bottom: 1px solid var(--air-axis); }
.ac-plot svg[b-zp1aghtda7] { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }

.ac-grid[b-zp1aghtda7] { position: absolute; left: 0; right: 0; border-top: 1px solid var(--air-grid); }
.ac-ylabel[b-zp1aghtda7] { position: absolute; right: calc(100% + 8px); transform: translateY(-50%); font-size: 0.72rem;
    color: var(--app-text-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.ac-level[b-zp1aghtda7] { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--air-level); }
.ac-level span[b-zp1aghtda7], .ac-band span[b-zp1aghtda7] { position: absolute; right: 4px; font-size: 0.7rem; color: var(--app-text-muted);
    background: var(--app-surface); padding: 0 4px; border-radius: 4px; }
.ac-level span[b-zp1aghtda7] { bottom: 2px; }
.ac-band[b-zp1aghtda7] { position: absolute; left: 0; right: 0; background: var(--air-band); }
.ac-band span[b-zp1aghtda7] { top: 2px; }

.ac-cross[b-zp1aghtda7] { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--air-axis); pointer-events: none; }
.ac-dot[b-zp1aghtda7] { position: absolute; width: 9px; height: 9px; border-radius: 50%; transform: translate(-50%, -50%);
    box-shadow: 0 0 0 2px var(--app-surface); pointer-events: none; }

.ac-tip[b-zp1aghtda7] { position: absolute; top: 4px; margin: 0 10px; z-index: 2; pointer-events: none; min-width: 150px;
    background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 8px; padding: 6px 9px;
    font-size: 0.8rem; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14); display: grid; gap: 2px; }
.ac-tip-head[b-zp1aghtda7] { color: var(--app-text-muted); font-size: 0.74rem; }
.ac-tip-row[b-zp1aghtda7] { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac-key[b-zp1aghtda7] { display: inline-flex; align-items: center; gap: 6px; }
.ac-key[b-zp1aghtda7]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

.ac-hit[b-zp1aghtda7] { position: absolute; inset: 0; display: flex; z-index: 1; }
.ac-hit--zoom[b-zp1aghtda7] { cursor: crosshair; user-select: none; -webkit-user-select: none; }
.ac-select[b-zp1aghtda7] { position: absolute; top: 0; bottom: 0; background: var(--air-select, rgba(42, 120, 214, 0.14));
    border-left: 1px solid var(--air-axis); border-right: 1px solid var(--air-axis); pointer-events: none; }
.ac-hit > div[b-zp1aghtda7] { flex: 1 1 0; }

.ac-xaxis[b-zp1aghtda7] { position: relative; height: 18px; }
.ac-xaxis span[b-zp1aghtda7] { position: absolute; transform: translateX(-50%); font-size: 0.72rem; color: var(--app-text-muted);
    white-space: nowrap; font-variant-numeric: tabular-nums; }
/* /Shared/AirPinView.razor.rz.scp.css */
.pin-head[b-p04rhh3vn0] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; }
.pin-title[b-p04rhh3vn0] { font-size: 1rem; }
.pin-meta[b-p04rhh3vn0] { font-size: 0.8rem; color: var(--app-text-muted); }
.pin-legend[b-p04rhh3vn0] { display: flex; flex-wrap: wrap; gap: 0.7rem; font-size: 0.8rem; }
.pin-key[b-p04rhh3vn0] { display: inline-flex; align-items: center; gap: 0.35rem; }
.pin-key[b-p04rhh3vn0]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.pin-actions[b-p04rhh3vn0] { margin-left: auto; display: flex; gap: 0.8rem; }
.pin-link[b-p04rhh3vn0] { font: inherit; font-size: 0.82rem; color: var(--app-link); background: none; border: 0; padding: 0; cursor: pointer; }
.pin-link:hover[b-p04rhh3vn0] { text-decoration: underline; }
.pin-link--danger[b-p04rhh3vn0] { color: var(--air-poor); }

.pin-editor[b-p04rhh3vn0] { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; padding: 0.6rem 0; border-top: 1px solid var(--app-border); border-bottom: 1px solid var(--app-border); }
.pin-field[b-p04rhh3vn0] { display: grid; gap: 0.2rem; font-size: 0.82rem; color: var(--app-text-muted); }
.pin-field input[b-p04rhh3vn0], .pin-field select[b-p04rhh3vn0] { font: inherit; font-size: 0.9rem; padding: 0.25rem 0.45rem; color: var(--app-text);
    background: var(--app-background); border: 1px solid var(--app-border); border-radius: 6px; min-width: 10rem; }
.pin-choices[b-p04rhh3vn0] { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; align-items: center; }
.pin-choices legend[b-p04rhh3vn0] { font-size: 0.82rem; color: var(--app-text-muted); padding: 0; margin-bottom: 0.2rem; width: 100%; }
.pin-choices label[b-p04rhh3vn0] { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.88rem; }

.pin-charts[b-p04rhh3vn0] { display: grid; gap: 0.35rem; }
.pin-busy[b-p04rhh3vn0] { opacity: 0.5; }
.pin-chart[b-p04rhh3vn0] { display: grid; gap: 0.15rem; }
.pin-chart-label[b-p04rhh3vn0] { font-size: 0.78rem; color: var(--app-text-muted); }
.pin-note[b-p04rhh3vn0] { color: var(--app-text-muted); font-size: 0.82rem; margin: 0; }
/* /Shared/MainLayout.razor.rz.scp.css */
.page[b-b1liuvslnf] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-b1liuvslnf] {
    flex: 1;
}

.sidebar[b-b1liuvslnf] {
    background-image: linear-gradient(180deg, var(--app-sidebar-start) 0%, var(--app-sidebar-end) 70%);
}

.top-row[b-b1liuvslnf] {
    background-color: var(--app-surface-muted);
    border-bottom: 1px solid var(--app-border);
    color: var(--app-text);
    gap: 1rem;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row-actions[b-b1liuvslnf] {
        display: flex;
        align-items: center;
        margin-right: auto;
    }

    .top-row button[b-b1liuvslnf] {
        background-color: var(--app-surface);
        color: var(--app-text);
        border: 1px solid var(--app-border);
        border-radius: 0.375rem;
        padding: 0.25rem 0.75rem;
    }

    .top-row[b-b1liuvslnf]  a, .top-row .btn-link[b-b1liuvslnf] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-b1liuvslnf] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* The icon is the phone version of the theme button; the desktop shows the text. */
    .theme-icon[b-b1liuvslnf] {
        display: none;
        font-size: 1rem;
        line-height: 1;
        vertical-align: -0.1em;
    }

/* "Phone" means narrow OR short: a phone turned sideways is ~844px wide but only ~390px tall,
   and in the desktop layout it lost a sidebar column, desktop padding and desktop text size. */
@media (max-width: 640.98px), (max-height: 500px) {
    .top-row:not(.auth)[b-b1liuvslnf] {
        display: none;
    }

    /* On a phone the sidebar collapses to its own 3.5rem bar with only the menu button in it, and
       this row used to stack below as a second bar (and wrap to a third with the greeting) —
       ~100px of chrome on a 390px screen. Lay the theme and logout buttons into the empty right
       side of the sidebar's bar instead (.page is position: relative), and drop the greeting,
       which tells the user nothing they don't know. Nothing here is pinned: the header belongs
       to the top of the page and scrolls away with it.
       The menu button sits at the right end of that bar (~4.25rem with its padding), so the row
       stops short of it — at right: 0 the Logout button covered it and the menu could not be
       opened, which left a page with no way to anywhere else. */
    .top-row.auth[b-b1liuvslnf] {
        position: absolute;
        top: 0;
        right: 4.25rem;
        z-index: 2;
        height: 3.5rem;
        gap: 0.5rem;
        padding-left: 0 !important;
        padding-right: 0.75rem !important;
        background: transparent;
        border-bottom: 0;
    }

    .top-row-greeting[b-b1liuvslnf] {
        display: none;
    }

    /* "Theme: Auto" alone was wider than the room left between the brand and the menu button. */
    .theme-label[b-b1liuvslnf] {
        display: none;
    }

    .theme-icon[b-b1liuvslnf] {
        display: inline-block;
        width: auto;
        top: 0;
    }

    /* px-4 (1.5rem a side) plus each page's own padding left ~300px of a 375px screen for text. */
    article.content[b-b1liuvslnf] {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .top-row a[b-b1liuvslnf], .top-row .btn-link[b-b1liuvslnf] {
        margin-left: 0;
    }

    .top-row-actions[b-b1liuvslnf] {
        margin-right: 0;
    }
}

@media (min-width: 641px) and (min-height: 501px) {
    .page[b-b1liuvslnf] {
        flex-direction: row;
    }

    .sidebar[b-b1liuvslnf] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-b1liuvslnf] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-b1liuvslnf], article[b-b1liuvslnf] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Shared/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-5q9e17j5bw] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-5q9e17j5bw] {
    height: 3.5rem;
    background-color: var(--app-nav-overlay);
}

.bottom-row[b-5q9e17j5bw] {
    position: absolute;
    bottom: 0;
    padding-bottom: 10px;
    text-align: right;
    width: 100%;
    padding-right: 28px;
}

.icon-menu-arrow[b-5q9e17j5bw] {
    text-align: right;
}

.navbar-brand[b-5q9e17j5bw] {
    font-size: 1.1rem;
}

.oi[b-5q9e17j5bw] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

/* A tool's line icon, in the same 2rem column as the .oi icons. */
.nav-glyph[b-5q9e17j5bw] {
    display: inline-block;
    width: 2rem;
}

    .nav-glyph[b-5q9e17j5bw]  svg {
        vertical-align: -0.25em;
    }

.nav-item[b-5q9e17j5bw] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-5q9e17j5bw] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-5q9e17j5bw] {
        padding-bottom: 1rem;
    }

    .nav-item[b-5q9e17j5bw]  a {
        color: var(--app-nav-link);
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-5q9e17j5bw]  a.active {
    background-color: var(--app-nav-active);
    color: white;
}

.nav-item[b-5q9e17j5bw]  a:hover {
    background-color: var(--app-nav-hover);
    color: white;
}

/* Kept in step with MainLayout: a short screen (a phone on its side) gets the phone menu too. */
@media (min-width: 641px) and (min-height: 501px) {
    .navbar-toggler[b-5q9e17j5bw] {
        display: none;
    }

    .collapse[b-5q9e17j5bw] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-5q9e17j5bw] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}

/*@media (max-width: 640px) {
    .bottom-row {
        display: block;
    }
}*/

/* Collapses the sidebar to icons only. The width change itself lives in MainLayout. */
.icon-menu-toggle[b-5q9e17j5bw] {
    margin-left: auto;
    background: none;
    border: 0;
    border-radius: 8px;
    color: rgb(255 255 255 / 55%);
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.12s ease, color 0.12s ease;
}

.icon-menu-toggle:hover[b-5q9e17j5bw] {
    background-color: rgb(255 255 255 / 12%);
    color: #fff;
}

.icon-menu-toggle:focus-visible[b-5q9e17j5bw] {
    outline: 2px solid rgb(255 255 255 / 70%);
    outline-offset: 2px;
}

.icon-menu-toggle .oi[b-5q9e17j5bw] {
    font-size: 0.75rem;
    top: 0;
}

@media (max-width: 640px), (max-height: 500px) {
    /* The sidebar is already a drop-down menu on a phone, so icon mode has nothing to do. */
    .icon-menu-toggle[b-5q9e17j5bw] {
        display: none;
    }
}
