/* /Layout/OnboardingLayout.razor.rz.scp.css */
.ob-shell[b-mff3whk7kv] {
    min-height: 100vh;
    min-height: 100dvh;
    background: linear-gradient(180deg, var(--ths-primary-tint) 0%, var(--ths-bg) 55%);
    padding-top: env(safe-area-inset-top, 0px);   /* the page draws under the status bar (viewport-fit=cover) */
}
/* /Pages/AddShared.razor.rz.scp.css */
[b-ss1qrg95ey] .shared-code-input {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.shared-items[b-ss1qrg95ey] {
    margin: 0 0 4px;
    padding-left: 18px;
    font-size: var(--ths-fs-md);
}

.shared-items li[b-ss1qrg95ey] {
    margin-bottom: 2px;
}
/* /Pages/Admin.razor.rz.scp.css */
.user-deactivated[b-f2qrkpp44w] {
    opacity: 0.5;
}

.admin-chip[b-f2qrkpp44w] {
    height: 18px;
    font-size: var(--ths-fs-micro);
}

/* A user: details on top, the switches below on a line that wraps; side by side when there's room */
.user-row[b-f2qrkpp44w] { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ths-space-2) var(--ths-space-3); }
.user-info[b-f2qrkpp44w] { flex: 1 1 260px; min-width: 0; }
.user-meta[b-f2qrkpp44w] { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--ths-space-2); }
[b-f2qrkpp44w] .user-email { overflow-wrap: anywhere; }
.user-actions[b-f2qrkpp44w] { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ths-space-2); }
/* /Pages/BarcodeScan.razor.rz.scp.css */
.scanner-container[b-u6ozx0yoed] {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.scanner-video[b-u6ozx0yoed] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scanner-overlay[b-u6ozx0yoed] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
}

.scanner-window[b-u6ozx0yoed] {
    position: relative;
    width: 72%;
    aspect-ratio: 2.5 / 1;
    background: transparent;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.35);
    border-radius: 2px;
}

.scanner-corner[b-u6ozx0yoed] {
    position: absolute;
    width: 22px;
    height: 22px;
    border-color: var(--ths-brand);
    border-style: solid;
}

.scanner-corner.tl[b-u6ozx0yoed] { top: -2px; left: -2px;  border-width: 3px 0 0 3px; border-radius: 2px 0 0 0; }
.scanner-corner.tr[b-u6ozx0yoed] { top: -2px; right: -2px; border-width: 3px 3px 0 0; border-radius: 0 2px 0 0; }
.scanner-corner.bl[b-u6ozx0yoed] { bottom: -2px; left: -2px;  border-width: 0 0 3px 3px; border-radius: 0 0 0 2px; }
.scanner-corner.br[b-u6ozx0yoed] { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; border-radius: 0 0 2px 0; }

.scanner-line[b-u6ozx0yoed] {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ths-brand), transparent);
    box-shadow: 0 0 8px var(--ths-brand);
    animation: scanSweep-b-u6ozx0yoed 2s ease-in-out infinite;
}

.scanner-line.scanning[b-u6ozx0yoed] {
    display: block;
}

@keyframes scanSweep-b-u6ozx0yoed {
    0%   { top: 0; }
    50%  { top: calc(100% - 2px); }
    100% { top: 0; }
}

.manual-entry[b-u6ozx0yoed] {
    display: flex;
    gap: 8px;
    align-items: center;
    max-width: 480px;
    margin: 0 auto;
}

/* Camera light, top right of the picture */
.scanner-torch[b-u6ozx0yoed] {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.scanner-torch.on[b-u6ozx0yoed] {
    background: var(--ths-brand);
}

/* Typing the code by hand: the camera view folds away */
.scanner-container[hidden][b-u6ozx0yoed] { display: none; }
/* /Pages/CustomFoodEdit.razor.rz.scp.css */
.cf-grid[b-5v1dcr9tri] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
/* /Pages/Dashboard.razor.rz.scp.css */
/* Insight tile row — auto-fill grid, wraps to multiple rows */
.insight-row[b-ib02ox8vqa] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

/* Double-wide tiles */
.insight-card-wide[b-ib02ox8vqa] {
    grid-column: span 2;
}

/* Energy & Macros combo gadget */
.insight-card-energy[b-ib02ox8vqa] {
    grid-column: span 2;
}

/* NOVA quality gadget */
.insight-card-nova[b-ib02ox8vqa] {
    grid-column: span 2;
}

/* Vitamins & Minerals gadget */
.insight-card-micronutrient[b-ib02ox8vqa] {
    grid-column: span 2;
}

/* Food Groups gadget */
.insight-card-foodgroups[b-ib02ox8vqa] {
    grid-column: span 2;
}

/* Hydration gadget */
.insight-card-hydration[b-ib02ox8vqa] {
    grid-column: span 2;
}

/* A card is its page's link (same as on Insights) */
.insight-card-link[b-ib02ox8vqa] {
    cursor: pointer;
    border-radius: var(--ths-radius-card);
    transition: transform 0.1s ease;
}

.insight-card-link:active[b-ib02ox8vqa] {
    transform: scale(0.985);
}

/* Supplements gadget */
.insight-card-supplements[b-ib02ox8vqa] {
    grid-column: span 2;
}

/* Eating Patterns gadget */
.insight-card-eating[b-ib02ox8vqa] {
    grid-column: span 2;
}

/* Compact meal slot cards */
.meal-card[b-ib02ox8vqa] {
    position: relative;
    border-radius: var(--ths-radius-card);
    border: 1px solid var(--ths-line-soft);
    background: var(--mud-palette-surface);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* Right padding and height for the four ways' 2 x 2 grid in the top-right corner */
.meal-card-body[b-ib02ox8vqa] {
    padding: 12px 100px 12px 16px;
    min-height: 98px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    z-index: 0;
}

.meal-card-body:hover[b-ib02ox8vqa] {
    background: rgba(32, 178, 170, 0.04);
}

.meal-macro-row[b-ib02ox8vqa] {
    display: flex;
    gap: 16px;
}

.meal-macro-cell[b-ib02ox8vqa] {
    display: flex;
    flex-direction: column;
}

.meal-macro-value[b-ib02ox8vqa] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    line-height: 1.2;
}

.meal-macro-label[b-ib02ox8vqa] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.meal-time-badge[b-ib02ox8vqa] {
    font-size: var(--ths-fs-micro);
    color: var(--ths-text-2);
    font-variant-numeric: tabular-nums;
}

.meal-time-manual[b-ib02ox8vqa] {
    color: var(--ths-brand);
}

.meal-context-chips[b-ib02ox8vqa] {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
}

.meal-chip-btn[b-ib02ox8vqa] {
    font-size: var(--ths-fs-micro);
    padding: 2px 7px;
    border-radius: 10px;
    border: 1px solid var(--ths-line);
    background: transparent;
    color: var(--ths-text-3);
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.4;
    transition: border-color 0.1s, color 0.1s, background 0.1s;
}

.meal-chip-btn:hover[b-ib02ox8vqa] {
    border-color: var(--ths-brand);
    color: var(--ths-brand);
}

.meal-chip-active[b-ib02ox8vqa] {
    background: rgba(32, 178, 170, 0.12);
    color: var(--ths-brand);
    border-color: var(--ths-brand);
    font-weight: 500;
}

/* Company (Social / Alone) starts its own row */
.meal-chip-break[b-ib02ox8vqa] {
    flex-basis: 100%;
    height: 0;
}

.meal-time-editable[b-ib02ox8vqa] {
    cursor: pointer;
}

.meal-time-editable:hover[b-ib02ox8vqa] {
    text-decoration: underline;
    text-decoration-style: dotted;
}

.meal-time-edit[b-ib02ox8vqa] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meal-time-input[b-ib02ox8vqa] {
    font-size: var(--ths-fs-micro);
    padding: 1px 4px;
    border: 1px solid var(--ths-brand);
    border-radius: 4px;
    color: var(--ths-brand);
    width: 84px;
    outline: none;
    background: transparent;
}

/* iPhone Safari zooms into a field under 16 px when it's tapped (the text input ran past the screen, 2026-11-10) */
@media (max-width: 600px) {
    .meal-time-input[b-ib02ox8vqa] { font-size: var(--ths-fs-lg); width: 104px; }
}

.meal-time-input.meal-time-invalid[b-ib02ox8vqa] {
    border-color: var(--ths-over);
    color: var(--ths-over);
}

.meal-time-ok[b-ib02ox8vqa],
.meal-time-cancel[b-ib02ox8vqa] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    font-size: var(--ths-fs-micro);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.meal-time-ok[b-ib02ox8vqa] {
    background: var(--ths-brand);
    color: white;
}

.meal-time-cancel[b-ib02ox8vqa] {
    background: var(--ths-line);
    color: var(--ths-text-2);
}

/* Planned meals (future days, or not yet marked eaten) */
.meal-card-planned[b-ib02ox8vqa] { border-style: dashed; border-color: rgba(32,178,170,0.6); }
.meal-planned-row[b-ib02ox8vqa] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.meal-planned-chip[b-ib02ox8vqa] {
    font-size: var(--ths-fs-sm); color: var(--ths-brand-strong); background: var(--ths-primary-tint);
    border-radius: 12px; padding: 2px 8px;
}
.meal-confirm-btn[b-ib02ox8vqa] {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: var(--ths-fs-sm); font-weight: 600; color: white; background: var(--ths-brand);
    border: 0; border-radius: 12px; padding: 4px 10px; cursor: pointer;
}
.meal-confirm-btn:hover[b-ib02ox8vqa] { background: var(--ths-brand-hover); }

/* "Didn't eat this" on a recurring meal's card: quiet, like a link */
.meal-skip-btn[b-ib02ox8vqa] {
    padding: 2px 8px;
    border: 1px solid var(--ths-neutral);
    border-radius: 12px;
    background: var(--ths-surface);
    font-size: var(--ths-fs-sm);
    color: inherit;
    cursor: pointer;
}

/* The four ways to log as a 2 x 2 grid in the card's top-right corner (2026-11-23; a bottom row pushed the macros up) */
.meal-ways[b-ib02ox8vqa] {
    position: absolute; top: 10px; right: 10px;
    display: grid; grid-template-columns: repeat(2, 36px); gap: 6px;
}
.meal-way[b-ib02ox8vqa] {
    width: 36px; height: 36px; border-radius: 50%; padding: 0; cursor: pointer; font-family: inherit;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--ths-line-soft); background: var(--ths-primary-tint, var(--ths-brand-tint));
    color: var(--ths-brand-strong);
}
.meal-ways[b-ib02ox8vqa]  .mud-icon-root { font-size: var(--ths-icon-md); }
@media (hover: hover) { .meal-way:hover[b-ib02ox8vqa] { border-color: var(--ths-brand); } }
.meal-way:focus-visible[b-ib02ox8vqa] { outline: 3px solid var(--ths-brand-strong); outline-offset: 2px; }
[b-ib02ox8vqa] .meal-file { display: none; }
/* /Pages/DiaryEatingPatterns.razor.rz.scp.css */
.ep-layout[b-wpzv9cl6az] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
}

/* Chart card */
.ep-card[b-wpzv9cl6az] {
    background: var(--mud-palette-surface);
    border-radius: var(--ths-radius-card);
    box-shadow: 0 1px 2px rgba(16, 40, 38, 0.08);
    padding: 12px 8px 8px;
}

.ep-svg[b-wpzv9cl6az] {
    display: block;
    width: 100%;
    height: auto;
}

/* Tiles (same look as Food Groups / Vitamins & Minerals) */
.ep-tiles[b-wpzv9cl6az] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ep-tile[b-wpzv9cl6az] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
    font: inherit;
    color: inherit;
    background: var(--mud-palette-surface);
    border: 1.5px solid var(--mud-palette-divider);
    border-radius: var(--ths-radius-tile);
    padding: 8px 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.12s;
}

/* only with a real pointer: a phone keeps the last tapped tile "hovered", so its border
   stayed after the tile was untapped */
@media (hover: hover) {
    .ep-tile:hover[b-wpzv9cl6az] {
        border-color: var(--mud-palette-primary);
    }
}

.ep-tile-selected[b-wpzv9cl6az] {
    border-color: var(--mud-palette-primary);
    background: var(--ths-primary-tint);
}

.ep-tile-static[b-wpzv9cl6az],
.ep-tile-static:hover[b-wpzv9cl6az] {
    cursor: default;
    border-color: var(--mud-palette-divider);
}

.ep-tile-val[b-wpzv9cl6az] {
    font-size: var(--ths-fs-lg);
    font-weight: 700;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.ep-tile-sub[b-wpzv9cl6az] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

/* 1D: the day's eating events */
.ep-event-header[b-wpzv9cl6az] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    cursor: pointer;
    gap: 8px;
}

.ep-event-header:hover[b-wpzv9cl6az] {
    background: rgba(32, 178, 170, 0.04);
}

.ep-event-title[b-wpzv9cl6az] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.ep-event-time[b-wpzv9cl6az] {
    font-size: var(--ths-fs-lg);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--ths-brand-strong);
    white-space: nowrap;
}

.ep-event-slot[b-wpzv9cl6az] {
    font-size: var(--ths-fs-sm);
    color: var(--ths-text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-event-meta[b-wpzv9cl6az] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.ep-event-kcal[b-wpzv9cl6az] {
    font-size: var(--ths-fs-sm);
    font-weight: 500;
    color: var(--ths-text);
    white-space: nowrap;
}

.ep-food-row[b-wpzv9cl6az] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 4px;
    gap: 8px;
}

.ep-food-name[b-wpzv9cl6az] {
    font-size: var(--ths-fs-sm);
    color: var(--ths-text);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ep-food-kcal[b-wpzv9cl6az] {
    font-size: var(--ths-fs-sm);
    color: var(--ths-text-2);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Re-use the meal-chip style from Dashboard */
.meal-chip[b-wpzv9cl6az] {
    font-size: var(--ths-fs-micro);
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(32, 178, 170, 0.12);
    color: var(--ths-brand-strong);
    font-weight: 500;
    white-space: nowrap;
}

/* A food in the list opens its food page */
.ep-food-link[b-wpzv9cl6az] {
    cursor: pointer;
}

.ep-food-link:hover[b-wpzv9cl6az] {
    background: var(--mud-palette-background-grey);
}

/* The night fast above the chart: a small line, as the Food Groups card's count line */
.ep-fast-line[b-wpzv9cl6az] { margin: 0; font-size: var(--ths-fs-sm); font-weight: 500; text-align: center; color: var(--mud-palette-text-primary); }

/* 1D bars open their meal */
.ep-bar[b-wpzv9cl6az] { cursor: pointer; }

/* Slot tiles: share of energy and ultra-processed share, meal types as a vertical stacked bar on the left */
.ep-tile-unit[b-wpzv9cl6az] { font-size: var(--ths-fs-sm); font-weight: 400; color: var(--mud-palette-text-secondary); }
.ep-slot-row[b-wpzv9cl6az] { display: flex; align-items: center; gap: 10px; }
.ep-slot-text[b-wpzv9cl6az] { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ep-typebar[b-wpzv9cl6az] { display: block; flex: 0 0 10px; width: 10px; height: 56px; border-radius: 3px; }
.ep-type-key[b-wpzv9cl6az] { margin: 0 0 6px; font-size: var(--ths-fs-micro); color: var(--mud-palette-text-secondary); display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.ep-key-dot[b-wpzv9cl6az] { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 6px; }
.ep-key-dot:first-child[b-wpzv9cl6az] { margin-left: 0; }
/* /Pages/DiaryEnergyMacros.razor.rz.scp.css */
/* 1D layout: progress bar, then macro cards, then insight */
.em-1d-layout[b-bp3ca1ioid] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Kcal progress bar */
.em-kcal-bar[b-bp3ca1ioid] {
    margin-inline: 0;
}

.em-kcal-track-wrap[b-bp3ca1ioid] {
    position: relative;
}

.em-kcal-track[b-bp3ca1ioid] {
    display: flex;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.em-kcal-seg[b-bp3ca1ioid] {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.em-kcal-seg-lbl[b-bp3ca1ioid] {
    font-size: var(--ths-fs-micro);
    font-weight: 600;
    color: var(--ths-text-on-brand);
    white-space: nowrap;
}

.em-kcal-seg-rem[b-bp3ca1ioid] {
    background: var(--ths-line);
}

/* Where the day is now: a slim "playhead" taller than the bar, with a white edge so it stands out
   on any segment (a round dot covered the last segment and its %) */
.em-kcal-dot[b-bp3ca1ioid] {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 30px;
    border-radius: 2px;
    background: var(--ths-brand);
    box-shadow: 0 0 0 2px var(--ths-surface), 0 1px 3px rgba(0,0,0,0.25);
}

.em-kcal-dot-over[b-bp3ca1ioid] {
    background: var(--ths-low);
}

.em-kcal-bar-labels[b-bp3ca1ioid] {
    display: flex;
    justify-content: space-between;
    margin-top: 4px;
}

.em-kcal-label[b-bp3ca1ioid] {
    font-size: var(--ths-fs-micro);
    font-weight: 500;
    color: var(--ths-text);
}

.em-kcal-unit[b-bp3ca1ioid] {
    font-weight: 400;
    color: var(--mud-palette-text-secondary);
}

.em-kcal-empty[b-bp3ca1ioid] {
    color: var(--ths-text-3);
}

.em-ring-wrap[b-bp3ca1ioid] {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.em-ring-centre[b-bp3ca1ioid] {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.em-ring-num[b-bp3ca1ioid] {
    font-size: var(--ths-fs-2xl);
    font-weight: 700;
    line-height: 1;
    color: var(--ths-text);
}

.em-ring-unit[b-bp3ca1ioid] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    line-height: 1.3;
}

.em-ring-empty[b-bp3ca1ioid] {
    font-size: var(--ths-fs-xl);
    color: var(--ths-text-3);
}

.em-ring-delta[b-bp3ca1ioid] {
    font-size: var(--ths-fs-micro);
    font-weight: 500;
    margin: 6px 0 0;
    text-align: center;
}

.em-delta-ok[b-bp3ca1ioid]   { color: var(--ths-brand); }
.em-delta-over[b-bp3ca1ioid] { color: var(--mud-palette-text-primary); }   /* amber is too pale for small text; the dot stays amber */

/* Macro cards — 2×2 grid */
.em-macro-cards[b-bp3ca1ioid] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.em-macro-card[b-bp3ca1ioid] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--ths-line-soft);
    border-radius: var(--ths-radius-tile);
    padding: 10px 12px;
    transition: background 0.1s;
}

.em-mc-pct[b-bp3ca1ioid] {
    margin-left: auto;
    font-size: var(--ths-fs-micro);
    font-weight: 700;
    line-height: 1;
}

.em-mc-pct-ok[b-bp3ca1ioid]   { color: var(--ths-brand-strong); }
.em-mc-pct-warn[b-bp3ca1ioid] { color: var(--ths-low-text); }
.em-mc-pct-over[b-bp3ca1ioid] { color: var(--ths-over); }

.em-macro-card-link[b-bp3ca1ioid] {
    cursor: pointer;
}

.em-macro-card-link:hover[b-bp3ca1ioid] {
    background: var(--ths-wash);
}

.em-macro-card-selected[b-bp3ca1ioid] {
    border-color: var(--ths-brand);
    box-shadow: 0 0 0 2px rgba(32,178,170,0.18);
}

/* Top foods section below cards */
.em-topfoods-section[b-bp3ca1ioid] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.em-topfoods-title[b-bp3ca1ioid] {
    font-size: var(--ths-fs-sm);
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.em-topfood-row[b-bp3ca1ioid] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.em-topfood-name[b-bp3ca1ioid] {
    font-size: var(--ths-fs-md);
    color: var(--ths-text);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.em-topfood-val[b-bp3ca1ioid] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    color: var(--ths-text);
    white-space: nowrap;
    flex-shrink: 0;
}

.em-showmore-btn[b-bp3ca1ioid] {
    background: none;
    border: none;
    padding: 0;
    font-size: var(--ths-fs-sm);
    font-weight: 500;
    color: var(--ths-brand);
    cursor: pointer;
    text-align: left;
}

.em-showmore-btn:hover[b-bp3ca1ioid] {
    text-decoration: underline;
}

/* Fat fraction mini-cards */
.em-frac-grid[b-bp3ca1ioid] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.em-frac-card[b-bp3ca1ioid] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--ths-line-soft);
    border-radius: var(--ths-radius-tile);
    padding: 8px 10px;
    transition: background 0.1s;
}

.em-frac-card-link[b-bp3ca1ioid] {
    cursor: pointer;
}

.em-frac-card-link:hover[b-bp3ca1ioid] {
    background: var(--ths-wash);
}

.em-frac-card-selected[b-bp3ca1ioid] {
    border-color: var(--ths-brand);
    box-shadow: 0 0 0 2px rgba(32,178,170,0.18);
}

.em-frac-value[b-bp3ca1ioid] {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ths-text);
}

.em-frac-subtitle[b-bp3ca1ioid] {
    font-size: var(--ths-fs-micro);
    font-style: italic;
    color: var(--mud-palette-text-secondary);
    margin: -1px 0 3px;
    line-height: 1.3;
}

.em-mc-header[b-bp3ca1ioid] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.em-mc-dot[b-bp3ca1ioid] {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.em-mc-value-row[b-bp3ca1ioid] {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.em-mc-value[b-bp3ca1ioid] {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ths-text);
}

.em-mc-unit[b-bp3ca1ioid] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

.em-mc-target[b-bp3ca1ioid] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

.em-mc-secondary[b-bp3ca1ioid] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    margin-top: 3px;
}

/* Insight / recommendation card */
.em-insight-card[b-bp3ca1ioid] {
    width: 100%;
    background: var(--mud-palette-surface);
    border: 1px solid var(--ths-line-soft);
    border-radius: var(--ths-radius-tile);
    padding: 10px 12px;
}

.em-insight-text[b-bp3ca1ioid] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

/* Summary chips (7D/30D) */
.em-summary-row[b-bp3ca1ioid] {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.em-summary-chip[b-bp3ca1ioid] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--ths-line-soft);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
}

.em-summary-val[b-bp3ca1ioid] {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ths-text);
}

.em-summary-lbl[b-bp3ca1ioid] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    margin-top: 2px;
}

/* Daily list rows */
.em-day-row[b-bp3ca1ioid] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.em-day-dot[b-bp3ca1ioid] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.em-day-label[b-bp3ca1ioid] {
    flex: 1;
    font-size: var(--ths-fs-md);
    color: var(--ths-text);
}

.em-day-kcal[b-bp3ca1ioid] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    color: var(--ths-text);
    white-space: nowrap;
}

.em-day-unit[b-bp3ca1ioid],
.em-day-target[b-bp3ca1ioid] {
    font-size: var(--ths-fs-micro);
    font-weight: 400;
    color: var(--mud-palette-text-secondary);
}

.em-day-empty[b-bp3ca1ioid] {
    color: var(--ths-text-3);
    font-weight: 400;
}

.em-day-row-clickable[b-bp3ca1ioid] {
    cursor: pointer;
    transition: background 0.1s;
}

.em-day-row-clickable:hover[b-bp3ca1ioid] {
    background: var(--ths-wash);
}

/* A food in the list opens its food page */
.em-topfood-link[b-bp3ca1ioid] {
    cursor: pointer;
}

.em-topfood-link:hover[b-bp3ca1ioid] {
    background: var(--mud-palette-background-grey);
}

/* The weekly report's energy sentence */
.em-report-kcal[b-bp3ca1ioid] { margin: 8px 0 0; font-size: var(--ths-fs-md); color: var(--mud-palette-text-primary); }
/* /Pages/DiaryFoodGroups.razor.rz.scp.css */
.fgv-layout[b-76bcuxynxy] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
}

.fgv-empty[b-76bcuxynxy] {
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-secondary);
}

/* Summary chips */
.fgv-summary[b-76bcuxynxy] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.fgv-chip[b-76bcuxynxy] {
    font-size: var(--ths-fs-sm);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.fgv-chip-neutral[b-76bcuxynxy] { background: var(--ths-track); color: var(--ths-text-2); }
.fgv-chip-ok[b-76bcuxynxy]      { background: var(--ths-primary-tint); color: var(--ths-brand-strong); }
.fgv-chip-low[b-76bcuxynxy]     { background: var(--ths-low-tint); color: var(--ths-low-text); }
.fgv-chip-over[b-76bcuxynxy]    { background: var(--ths-over-tint); color: var(--ths-over-text); }

.fgv-days[b-76bcuxynxy] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

/* Chart card */
.fgv-card[b-76bcuxynxy] {
    background: var(--mud-palette-surface);
    border-radius: var(--ths-radius-card);
    box-shadow: 0 1px 2px rgba(16, 40, 38, 0.08);
    padding: 12px 8px 8px;
}

.fgv-svg[b-76bcuxynxy] {
    display: block;
    width: 100%;
    height: auto;
}

.fgv-hit[b-76bcuxynxy] {
    cursor: pointer;
}

/* Top foods */
.fgv-sources[b-76bcuxynxy] {
    background: var(--mud-palette-surface);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16, 40, 38, 0.08);
    overflow: hidden;
}

.fgv-src[b-76bcuxynxy] {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
}

.fgv-src + .fgv-src[b-76bcuxynxy] {
    border-top: 1px solid var(--mud-palette-divider);
}

.fgv-src-link[b-76bcuxynxy] {
    cursor: pointer;
}

.fgv-src-link:hover[b-76bcuxynxy] {
    background: var(--mud-palette-background-grey);
}

.fgv-src-name[b-76bcuxynxy]  { font-size: var(--ths-fs-md); }
.fgv-src-amt[b-76bcuxynxy]   { font-size: var(--ths-fs-md); font-weight: 600; font-variant-numeric: tabular-nums; }
.fgv-src-share[b-76bcuxynxy] { font-size: var(--ths-fs-sm); color: var(--mud-palette-text-secondary); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }

/* Tiles */
.fgv-tiles[b-76bcuxynxy] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.fgv-tile[b-76bcuxynxy] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 8px;
    text-align: left;
    font: inherit;
    color: inherit;
    background: var(--mud-palette-surface);
    border: 1.5px solid var(--mud-palette-divider);
    border-radius: var(--ths-radius-tile);
    padding: 8px 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.12s;
}

/* Hover = border only; selected = border + tint (same as the other tile pages) */
/* only with a real pointer: a phone keeps the last tapped tile "hovered", so its border
   stayed after the tile was untapped */
@media (hover: hover) {
    .fgv-tile:hover[b-76bcuxynxy] {
        border-color: var(--mud-palette-primary);
    }
}

.fgv-tile-selected[b-76bcuxynxy] {
    border-color: var(--mud-palette-primary);
    background: var(--ths-primary-tint);
}

.fgv-tile-name[b-76bcuxynxy] {
    grid-column: 1 / -1;
}

.fgv-tile-val[b-76bcuxynxy] {
    font-size: var(--ths-fs-lg);
    font-weight: 700;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.fgv-tile-val small[b-76bcuxynxy] {
    font-size: var(--ths-fs-sm);
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
}

.fgv-tile-pct[b-76bcuxynxy] {
    align-self: center;
    font-size: var(--ths-fs-md);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.fgv-tile-days[b-76bcuxynxy] {
    grid-column: 1 / -1;
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}
/* /Pages/DiaryHydration.razor.rz.scp.css */
/* 1D layout: ring | target + add, the drinks below */
.hd-layout[b-jkk4kl2qlb] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
}

.hd-top[b-jkk4kl2qlb] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hd-ring-outer[b-jkk4kl2qlb] {
    position: relative;
    flex-shrink: 0;
    width: 140px;
    height: 140px;
}

.hd-ring-centre[b-jkk4kl2qlb] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hd-ring-val[b-jkk4kl2qlb] {
    font-size: var(--ths-fs-num);
    font-weight: 700;
    line-height: 1;
    color: var(--ths-text);
}

.hd-ring-unit[b-jkk4kl2qlb] {
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-secondary);
    margin-top: 2px;
}

.hd-ring-pct[b-jkk4kl2qlb] {
    font-size: var(--ths-fs-sm);
    font-weight: 500;
    color: var(--ths-brand);
    margin-top: 4px;
}

.hd-ring-empty[b-jkk4kl2qlb] {
    font-size: var(--ths-fs-2xl);
    color: var(--ths-text-3);
}

.hd-1d-side[b-jkk4kl2qlb] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hd-target-row[b-jkk4kl2qlb] {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.hd-target-label[b-jkk4kl2qlb] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

.hd-target-val[b-jkk4kl2qlb] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

/* Quick-add */
.hd-quickadd[b-jkk4kl2qlb] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.hd-mug-val[b-jkk4kl2qlb] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    min-width: 60px;
    text-align: center;
}

/* Breakdown */
.hd-breakdown[b-jkk4kl2qlb] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hd-bk-row[b-jkk4kl2qlb] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hd-bk-dot[b-jkk4kl2qlb] {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.hd-bk-name[b-jkk4kl2qlb] {
    flex: 1;
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-secondary);
}

.hd-bk-ml[b-jkk4kl2qlb] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.hd-no-data[b-jkk4kl2qlb] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
    margin: 0;
}

/* 7D / 30D chart */
.hd-card[b-jkk4kl2qlb] {
    background: var(--mud-palette-surface);
    border-radius: var(--ths-radius-card);
    box-shadow: 0 1px 2px rgba(16, 40, 38, 0.08);
    padding: 12px 8px 8px;
    max-width: 680px;
}

.hd-svg[b-jkk4kl2qlb] {
    display: block;
    width: 100%;
    height: auto;
}

/* Legend */
.hd-legend[b-jkk4kl2qlb] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.hd-legend-row[b-jkk4kl2qlb] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hd-legend-dot[b-jkk4kl2qlb] {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}

.hd-legend-name[b-jkk4kl2qlb] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}
/* /Pages/DiaryMicronutrients.razor.rz.scp.css */
.vm-layout[b-hi9xffjc9g] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
}

.vm-empty[b-hi9xffjc9g] {
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-secondary);
}

/* Summary chips */
.vm-summary[b-hi9xffjc9g] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.vm-chip[b-hi9xffjc9g] {
    font-size: var(--ths-fs-sm);
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.vm-chip-neutral[b-hi9xffjc9g] { background: var(--ths-track); color: var(--ths-text-2); }
.vm-chip-ok[b-hi9xffjc9g]      { background: var(--ths-primary-tint); color: var(--ths-brand-strong); }
.vm-chip-low[b-hi9xffjc9g]     { background: var(--ths-low-tint); color: var(--ths-low-text); }
.vm-chip-over[b-hi9xffjc9g]    { background: var(--ths-over-tint); color: var(--ths-over-text); }

.vm-days[b-hi9xffjc9g] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

/* Chart card */
.vm-card[b-hi9xffjc9g] {
    background: var(--mud-palette-surface);
    border-radius: var(--ths-radius-card);
    box-shadow: 0 1px 2px rgba(16, 40, 38, 0.08);
    padding: 12px 8px 8px;
}

.vm-svg[b-hi9xffjc9g] {
    display: block;
    width: 100%;
    height: auto;
}

.vm-chart-placeholder[b-hi9xffjc9g] {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 640 / 230;
}

.vm-hit[b-hi9xffjc9g]     { cursor: pointer; }

/* Top sources */
.vm-sources[b-hi9xffjc9g] {
    background: var(--mud-palette-surface);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(16, 40, 38, 0.08);
    overflow: hidden;
}

.vm-src[b-hi9xffjc9g] {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
}

.vm-src + .vm-src[b-hi9xffjc9g] {
    border-top: 1px solid var(--mud-palette-divider);
}

.vm-src-link[b-hi9xffjc9g] {
    cursor: pointer;
}

.vm-src-link:hover[b-hi9xffjc9g] {
    background: var(--mud-palette-background-grey);
}

.vm-src-name[b-hi9xffjc9g]  { font-size: var(--ths-fs-md); }
.vm-src-amt[b-hi9xffjc9g]   { font-size: var(--ths-fs-md); font-weight: 600; font-variant-numeric: tabular-nums; }
.vm-src-share[b-hi9xffjc9g] { font-size: var(--ths-fs-sm); color: var(--mud-palette-text-secondary); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }

/* Tiles */
.vm-tiles[b-hi9xffjc9g] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.vm-tile[b-hi9xffjc9g] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 8px;
    text-align: left;
    font: inherit;
    color: inherit;
    background: var(--mud-palette-surface);
    border: 1.5px solid var(--mud-palette-divider);
    border-radius: var(--ths-radius-tile);
    padding: 8px 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.12s;
}

/* Hover = border only; selected = border + tint (same as Diet Balance tiles) */
/* only with a real pointer: a phone keeps the last tapped tile "hovered", so its border
   stayed after the tile was untapped */
@media (hover: hover) {
    .vm-tile:hover[b-hi9xffjc9g] {
        border-color: var(--mud-palette-primary);
    }
}

.vm-tile-selected[b-hi9xffjc9g] {
    border-color: var(--mud-palette-primary);
    background: var(--ths-primary-tint);
}

.vm-tile-name[b-hi9xffjc9g] {
    grid-column: 1 / -1;
}

.vm-tile-val[b-hi9xffjc9g] {
    font-size: var(--ths-fs-lg);
    font-weight: 700;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.vm-tile-val small[b-hi9xffjc9g] {
    font-size: var(--ths-fs-sm);
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
}

.vm-tile-pct[b-hi9xffjc9g] {
    align-self: center;
    font-size: var(--ths-fs-md);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.vm-tile-supp[b-hi9xffjc9g] {
    grid-column: 1 / -1;
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

/* /Pages/DiaryNovaDetail.razor.rz.scp.css */
.nd-layout[b-mhptv4kvjl] {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Donut */
.nd-donut-outer[b-mhptv4kvjl] {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.nd-donut-centre[b-mhptv4kvjl] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.nd-donut-val[b-mhptv4kvjl] {
    font-size: var(--ths-fs-num);
    font-weight: 700;
    line-height: 1;
    color: var(--ths-text);
    white-space: nowrap;
}

.nd-donut-lbl[b-mhptv4kvjl] {
    font-size: var(--ths-fs-micro);
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 2px;
}

.nd-donut-empty[b-mhptv4kvjl] {
    font-size: var(--ths-fs-2xl);
    color: var(--ths-text-3);
}

.nd-empty[b-mhptv4kvjl] {
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-secondary);
    margin: 0;
}

/* NOVA group cards — 2×2 grid */
.nd-group-cards[b-mhptv4kvjl] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.nd-group-card[b-mhptv4kvjl] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--ths-line-soft);
    border-radius: var(--ths-radius-tile);
    padding: 10px 12px;
    transition: background 0.1s;
}

.nd-group-card-link[b-mhptv4kvjl] {
    cursor: pointer;
}

.nd-group-card-link:hover[b-mhptv4kvjl] {
    background: var(--ths-wash);
}

.nd-group-card-selected[b-mhptv4kvjl] {
    border-color: var(--ths-brand);
    box-shadow: 0 0 0 2px rgba(32,178,170,0.18);
}

.nd-mc-header[b-mhptv4kvjl] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.nd-mc-dot[b-mhptv4kvjl] {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.nd-mc-label[b-mhptv4kvjl] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    font-weight: 500;
}

.nd-mc-value-row[b-mhptv4kvjl] {
    display: flex;
    align-items: baseline;
    gap: 3px;
}

.nd-mc-value[b-mhptv4kvjl] {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--ths-text);
}

.nd-mc-unit[b-mhptv4kvjl] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

.nd-mc-secondary[b-mhptv4kvjl] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    margin-top: 3px;
}

/* Contributor list */
.nd-topfoods-section[b-mhptv4kvjl] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nd-topfoods-title[b-mhptv4kvjl] {
    font-size: var(--ths-fs-sm);
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.nd-topfood-row[b-mhptv4kvjl] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.nd-topfood-name[b-mhptv4kvjl] {
    font-size: var(--ths-fs-md);
    color: var(--ths-text);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nd-topfood-val[b-mhptv4kvjl] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    color: var(--ths-text);
    white-space: nowrap;
    flex-shrink: 0;
}

.nd-showmore-btn[b-mhptv4kvjl] {
    background: none;
    border: none;
    padding: 0;
    font-size: var(--ths-fs-sm);
    font-weight: 500;
    color: var(--ths-brand);
    cursor: pointer;
    text-align: left;
}

.nd-showmore-btn:hover[b-mhptv4kvjl] {
    text-decoration: underline;
}

/* A food in the list opens its food page */
.nd-topfood-link[b-mhptv4kvjl] {
    cursor: pointer;
}

.nd-topfood-link:hover[b-mhptv4kvjl] {
    background: var(--mud-palette-background-grey);
}
/* /Pages/DiarySupplements.razor.rz.scp.css */
.supp-row[b-0nc2n822d1] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.supp-row-top[b-0nc2n822d1] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.supp-row-name[b-0nc2n822d1] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.supp-name[b-0nc2n822d1] {
    font-size: var(--ths-fs-md);
    font-weight: 500;
}

.supp-row-controls[b-0nc2n822d1] {
    display: flex;
    align-items: center;
    gap: 4px;
}

.supp-slider-row[b-0nc2n822d1] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.supp-slider[b-0nc2n822d1] {
    flex: 1;
}

.supp-amount-box[b-0nc2n822d1] {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.supp-unit[b-0nc2n822d1] {
    font-size: var(--ths-fs-sm);
    color: var(--ths-text-2);
    white-space: nowrap;
}

.supp-add-row[b-0nc2n822d1] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}
/* /Pages/DietBalanceDetail.razor.rz.scp.css */
.dbd-layout[b-jtkelbugz8] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
}

/* Gauge: a definite width, like the front card's gauge (160px) */
.dbd-gauge-container[b-jtkelbugz8] {
    position: relative;
    width: 320px;
    max-width: 100%;
    align-self: center;
}

/* Height from the width (the viewBox's ratio), so the score overlay keeps its place on the arc */
.dbd-gauge-container svg[b-jtkelbugz8] {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 200 / 108;
}

/* Overlay the score text over the SVG arc using absolute positioning.
   SVG viewBox is 200×108; the arc centre-line is at y=100 (92.6% from top).
   The target text position is y≈82, which is ~24% from the bottom edge. */
.dbd-gauge-overlay[b-jtkelbugz8] {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22%;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
    pointer-events: none;
}

.dbd-gauge-score[b-jtkelbugz8] {
    font-size: var(--ths-fs-hero);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -1px;
}

.dbd-gauge-meta[b-jtkelbugz8] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1px;
}

.dbd-gauge-prev[b-jtkelbugz8] {
    font-size: var(--ths-fs-micro);
    color: var(--ths-text-3);
    line-height: 1;
}

.dbd-gauge-prev-lbl[b-jtkelbugz8] {
    font-size: var(--ths-fs-micro);
    color: var(--ths-text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}

/* Selected pillar name under the 1D gauge */
.dbd-gauge-pillar[b-jtkelbugz8] {
    margin-top: -8px;
    text-align: center;
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-secondary);
}

/* Score header (7d / 30d) */
.dbd-score-header[b-jtkelbugz8] {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.dbd-score-big[b-jtkelbugz8] {
    font-size: var(--ths-fs-hero);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
}

.dbd-score-sub[b-jtkelbugz8] {
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-secondary);
}

/* Pillar tiles — 2×2 grid */
.dbd-tiles[b-jtkelbugz8] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.dbd-tile[b-jtkelbugz8] {
    position: relative;
    background: var(--mud-palette-surface);
    border: 1.5px solid var(--mud-palette-divider);
    border-radius: var(--ths-radius-tile);
    padding: 10px 10px 10px 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: border-color 0.15s, background 0.12s;
    user-select: none;
}

/* Hover = border only; selected = border + tint. Keep them distinct, otherwise a
   just-deselected tile under the cursor still looks selected. */
/* only with a real pointer: a phone keeps the last tapped tile "hovered", so its border
   stayed after the tile was untapped */
@media (hover: hover) {
    .dbd-tile:hover[b-jtkelbugz8] {
        border-color: var(--mud-palette-primary);
    }
}

.dbd-tile-selected[b-jtkelbugz8] {
    border-color: var(--mud-palette-primary);
    background: var(--ths-primary-tint);   /* light tint keeps coloured scores readable */
}

.dbd-tile-score[b-jtkelbugz8] {
    font-size: var(--ths-fs-num);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
}

.dbd-tile-arrow[b-jtkelbugz8] {
    position: absolute;
    top: 7px;
    right: 7px;
    background: none;
    border: none;
    padding: 3px;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.15s;
    line-height: 1;
}

.dbd-tile-arrow:hover[b-jtkelbugz8] {
    color: var(--mud-palette-primary);
}

/* Day / week list */
.dbd-day-row[b-jtkelbugz8] {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.1s;
}

.dbd-day-row:hover[b-jtkelbugz8] {
    background: var(--mud-palette-background-grey);
}

.dbd-day-dot[b-jtkelbugz8] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dbd-day-label[b-jtkelbugz8] {
    flex: 1;
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-primary);
}

.dbd-day-score[b-jtkelbugz8] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
}
/* /Pages/FoodDetail.razor.rz.scp.css */
.fd-amount[b-wlvle4c04b] {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: flex-start;
}

@media (max-width: 400px) {
    .fd-amount[b-wlvle4c04b] { grid-template-columns: 1fr; }
}
/* /Pages/FoodIngredients.razor.rz.scp.css */
/* A lens in the shop (owner 2026-11-19: labels are too small to read): 20 px */
.fi-text[b-cy36tslewt] { font-size: var(--ths-fs-xl); line-height: 1.55; margin: 0; color: var(--ths-text); }
.fi-ecode[b-cy36tslewt] {
    background: var(--ths-brand-tint);
    color: var(--ths-brand-strong);
    border-radius: var(--ths-radius-sm);
    padding: 0 4px;
    font-weight: 500;
}
/* /Pages/Insights.razor.rz.scp.css */
.insight-row[b-qj9b4f9z2s] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}
/* /Pages/Log.razor.rz.scp.css */
.portion-row[b-pw20ngfz80] {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: flex-start;
}

@media (max-width: 400px) {
    .portion-row[b-pw20ngfz80] {
        grid-template-columns: 1fr;
    }
}

/* Compact food group / NOVA chips in search results */
.food-meta-chip[b-pw20ngfz80] {
    height: 18px;
    font-size: var(--ths-fs-micro);
}

/* Food entry name + meta in the added-foods list */
.entry-name[b-pw20ngfz80] {
    font-size: var(--ths-fs-md);
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entry-meta[b-pw20ngfz80] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    line-height: 1.3;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Edit / delete buttons in composition — fade in on hover */
.entry-edit[b-pw20ngfz80], .entry-delete[b-pw20ngfz80] {
    color: var(--ths-text-3);
    transition: color 0.15s;
    opacity: 0.4;
}

@media (hover: hover) {
    .entry-edit[b-pw20ngfz80], .entry-delete[b-pw20ngfz80] {
        opacity: 0;
    }
}

.entry-edit:hover[b-pw20ngfz80] {
    color: var(--mud-palette-primary);
    opacity: 1 !important;
}

.entry-delete:hover[b-pw20ngfz80] {
    color: var(--ths-over);
    opacity: 1 !important;
}

/* Show edit/delete on touch devices and when row is focused */
.d-flex:hover > .d-flex > .entry-edit[b-pw20ngfz80],
.d-flex:hover > .d-flex > .entry-delete[b-pw20ngfz80] {
    opacity: 0.4;
}

/* The four ways to add (search, scan, photo, describe) as equal tiles, two per row, above the search */
.log-ways[b-pw20ngfz80] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
/* As tall as a recent food tile, icon above the label; white until hovered, like the tiles */
.log-way[b-pw20ngfz80] {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    min-height: 90px; padding: 10px 8px; border-radius: 8px; cursor: pointer; font-family: inherit;
    border: 1.5px solid rgba(32, 178, 170, 0.6); background: var(--mud-palette-surface);
    color: var(--ths-brand-strong); font-size: var(--ths-fs-md); font-weight: 600; line-height: 1.25; text-align: center;
}
.log-way .mud-icon-root[b-pw20ngfz80] { font-size: var(--ths-icon-xl); }
@media (hover: hover) {
    .log-way:hover[b-pw20ngfz80] { background: var(--ths-primary-tint, var(--ths-brand-tint)); }
}

/* The meal name under the back arrow is a button when the session has foods (Shared/SlotPicker) */
.log-slot-btn[b-pw20ngfz80] {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

/* Search stays marked while its box is open */
.log-way-on[b-pw20ngfz80] { background: var(--ths-brand-tint); }
[b-pw20ngfz80] .log-file { display: none; }
/* /Pages/MealDetail.razor.rz.scp.css */
.md-row[b-r1pman6ip2] {
    cursor: pointer;
    transition: background 0.1s;
}

.md-row:hover[b-r1pman6ip2] {
    background: var(--mud-palette-background-grey);
}

.md-name[b-r1pman6ip2] {
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-primary);
}

.md-meta[b-r1pman6ip2] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}
/* /Pages/MyInsights.razor.rz.scp.css */
/* Insight tile row — auto-fill grid */
.insight-row[b-2a2toe3h0g] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

/* Tour card — the whole row (first days, or Settings → Show tips) */
.insight-card-tour[b-2a2toe3h0g] {
    grid-column: 1 / -1;
}

/* Diet Balance — a gauge, double-wide like the other gadgets */
.insight-card-dietbalance[b-2a2toe3h0g] {
    grid-column: span 2;
}

/* Double-wide combo gadgets */
.insight-card-energy[b-2a2toe3h0g],
.insight-card-nova[b-2a2toe3h0g],
.insight-card-micronutrient[b-2a2toe3h0g],
.insight-card-foodgroups[b-2a2toe3h0g],
.insight-card-eating[b-2a2toe3h0g],
.insight-card-weight[b-2a2toe3h0g] {
    grid-column: span 2;
}

/* A card is its page's link */
.insight-card-link[b-2a2toe3h0g] {
    cursor: pointer;
    border-radius: var(--ths-radius-card);
    transition: transform 0.1s ease;
}

.insight-card-link:active[b-2a2toe3h0g] {
    transform: scale(0.985);
}
/* /Pages/NutrientDetail.razor.rz.scp.css */
/* ── Per-day breakdown rows ─────────────────────────────────────── */
.nd-day-row[b-62odhomip1] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.1s;
}

.nd-day-row:hover[b-62odhomip1] {
    background: var(--ths-wash);
}

.nd-day-label[b-62odhomip1] {
    flex: 1;
    font-size: 13px;
    color: var(--mud-palette-text-primary);
}

.nd-day-value[b-62odhomip1] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    white-space: nowrap;
}

.nd-day-nodata[b-62odhomip1] {
    font-weight: 400;
    color: var(--mud-palette-text-secondary);
}

.nd-day-chevron[b-62odhomip1] {
    font-size: 10px;
    color: var(--mud-palette-text-secondary);
    flex-shrink: 0;
    width: 12px;
    text-align: center;
}

/* ── Expanded food sub-rows ─────────────────────────────────────── */
.nd-day-foods[b-62odhomip1] {
    padding: 0 16px 8px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--ths-wash);
}

.nd-day-food[b-62odhomip1] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.nd-day-food-name[b-62odhomip1] {
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nd-day-food-val[b-62odhomip1] {
    font-size: 12px;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}
/* /Pages/Onboarding.razor.rz.scp.css */
/* Full-screen onboarding: one question per screen, big tap targets, actions within thumb reach.
   Brand teal only: no amber or red here, those are status colours. */
.ob-page[b-coo9nqae3g] {
    max-width: 520px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

/* Top bar: back, progress, skip */
.ob-top[b-coo9nqae3g] {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
}

.ob-icon-btn[b-coo9nqae3g] {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--ths-brand-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ob-icon-btn:hover[b-coo9nqae3g] { background: rgba(32, 178, 170, 0.12); }

.ob-progress[b-coo9nqae3g] {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(32, 178, 170, 0.18);
    overflow: hidden;
}

.ob-progress-fill[b-coo9nqae3g] {
    height: 100%;
    background: var(--ths-brand);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.ob-skip[b-coo9nqae3g] {
    border: none;
    background: transparent;
    color: var(--ths-text-2);
    font-size: var(--ths-fs-md);
    font-family: inherit;
    cursor: pointer;
    padding: 8px 4px;
    min-width: 48px;
}

.ob-skip-space[b-coo9nqae3g] { min-width: 48px; }

/* One screen */
.ob-screen[b-coo9nqae3g] {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 16px;
}

.ob-in-fwd[b-coo9nqae3g] { animation: ob-slide-fwd-b-coo9nqae3g 0.28s ease-out; }
.ob-in-back[b-coo9nqae3g] { animation: ob-slide-back-b-coo9nqae3g 0.28s ease-out; }
.ob-fade[b-coo9nqae3g] { animation: ob-fade-b-coo9nqae3g 0.3s ease-out; }

@keyframes ob-slide-fwd-b-coo9nqae3g { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes ob-slide-back-b-coo9nqae3g { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes ob-fade-b-coo9nqae3g { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    .ob-in-fwd[b-coo9nqae3g], .ob-in-back[b-coo9nqae3g], .ob-fade[b-coo9nqae3g] { animation: none; }
    .ob-progress-fill[b-coo9nqae3g] { transition: none; }
}

.ob-title[b-coo9nqae3g] {
    font-size: var(--ths-fs-2xl);
    line-height: 1.25;
    font-weight: 700;
    color: var(--ths-text);
    margin: 0 0 12px;
}

.ob-lead[b-coo9nqae3g] {
    font-size: var(--ths-fs-lg);
    font-weight: 600;
    color: var(--ths-brand-strong);
    margin: 0 0 8px;
}

.ob-text[b-coo9nqae3g] {
    font-size: var(--ths-fs-lg);
    line-height: 1.5;
    color: var(--ths-text);
    margin: 0 0 12px;
}

.ob-note[b-coo9nqae3g] {
    font-size: var(--ths-fs-md);
    line-height: 1.45;
    color: var(--ths-text-2);
    margin: 12px 0 0;
}

/* Welcome: the brand */
.ob-hero[b-coo9nqae3g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0 24px;
}

.ob-hero-small[b-coo9nqae3g] { padding: 24px 0 16px; }

/* Logo: "Venire" with the arc, "BALANCE" spaced out below. Positions are in em, so it scales with the font size.
   Montserrat (the draft's letter shapes) only here; the app stays Inter. */
.ob-logo[b-coo9nqae3g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Montserrat, Inter, sans-serif;
}

.ob-logo-word[b-coo9nqae3g] {
    font-size: 60px;
    font-weight: 600;
    line-height: 1;
    color: var(--ths-brand-deep);
    white-space: nowrap;
    padding-top: 0.3em;   /* room for the arc */
}

/* "enir": the arc starts over the middle of the e and ends over the r, a little above the x-height */
.ob-logo-arc[b-coo9nqae3g] {
    display: inline-block;
    position: relative;
}

.ob-logo-arc svg[b-coo9nqae3g] {
    position: absolute;
    left: 0.21em;
    width: calc(100% - 0.31em);   /* to 0.1em short of the r's end; left + right alone don't size an svg */
    bottom: 0.8em;
    height: auto;
}

.ob-logo-sub[b-coo9nqae3g] {
    font-size: 13px;
    font-weight: 500;
    color: var(--ths-brand-deep);
    letter-spacing: 0.65em;
    padding-left: 0.65em;   /* balances the spacing after the last letter */
    margin-top: 10px;
}

/* Ready: the logo's arc loading to full */
.ob-arc-solo[b-coo9nqae3g] {
    display: block;
    width: 140px;
    height: auto;
}

.ob-arc-fill[b-coo9nqae3g] {
    stroke-dasharray: 100 200;
    stroke-dashoffset: 100;
    animation: ob-arc-load-b-coo9nqae3g 1.4s ease-out 0.2s forwards;
}

@keyframes ob-arc-load-b-coo9nqae3g { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
    .ob-arc-fill[b-coo9nqae3g] { animation: none; stroke-dashoffset: 0; }
}

/* Choices: big tappable cards */
.ob-choices[b-coo9nqae3g] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 8px 0 4px;
}

.ob-choice[b-coo9nqae3g] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
    min-height: 56px;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1.5px solid rgba(32, 178, 170, 0.35);
    background: var(--ths-surface);
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.ob-choice.ob-choice-row[b-coo9nqae3g] {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.ob-choice-title[b-coo9nqae3g] {
    font-size: var(--ths-fs-lg);
    font-weight: 600;
    color: var(--ths-text);
}

.ob-choice-desc[b-coo9nqae3g] {
    font-size: var(--ths-fs-md);
    color: var(--ths-text-2);
}

.ob-choice.ob-on[b-coo9nqae3g] {
    border-color: var(--ths-brand);
    background: var(--ths-primary-tint);
}

.ob-choice.ob-on .ob-choice-title[b-coo9nqae3g] { color: var(--ths-brand-strong); }

.ob-check[b-coo9nqae3g] {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1.5px solid var(--ths-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ths-text-on-brand);
}

.ob-on .ob-check[b-coo9nqae3g] { background: var(--ths-brand); }

@media (hover: hover) {
    .ob-choice:hover[b-coo9nqae3g] { border-color: var(--ths-brand); }
}

/* Chips (protein options, diet) */
.ob-chips[b-coo9nqae3g] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 12px;
}

.ob-chip[b-coo9nqae3g] {
    border: 1.5px solid rgba(32, 178, 170, 0.5);
    background: var(--ths-surface);
    color: var(--ths-brand-strong);
    border-radius: 20px;
    padding: 8px 16px;
    min-height: 40px;
    font-size: var(--ths-fs-md);
    font-family: inherit;
    cursor: pointer;
}

.ob-chip.ob-on[b-coo9nqae3g] {
    background: var(--ths-brand);
    border-color: var(--ths-brand);
    color: var(--ths-text-on-brand);
}

/* Two-way switch (restrictions) */
.ob-row[b-coo9nqae3g] { margin-bottom: 14px; }

.ob-seg[b-coo9nqae3g] {
    display: flex;
    border-radius: 12px;
    border: 1.5px solid rgba(32, 178, 170, 0.4);
    overflow: hidden;
    background: var(--ths-surface);
}

.ob-seg-btn[b-coo9nqae3g] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 8px;
    min-height: 44px;
    font-size: var(--ths-fs-md);
    font-family: inherit;
    color: var(--ths-text);
    cursor: pointer;
}

.ob-seg-btn + .ob-seg-btn[b-coo9nqae3g] { border-left: 1.5px solid rgba(32, 178, 170, 0.4); }

.ob-seg-btn.ob-on[b-coo9nqae3g] {
    background: var(--ths-brand);
    color: var(--ths-text-on-brand);
    font-weight: 600;
}

/* Limits: the own number under its switch */
.ob-limit[b-coo9nqae3g] { margin-top: 10px; }
.ob-limit .ob-note[b-coo9nqae3g] { margin-top: 6px; }

/* Fields */
.ob-fields[b-coo9nqae3g] { display: flex; flex-direction: column; gap: 6px; }

.ob-field-label[b-coo9nqae3g] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    color: var(--ths-text);
    margin-top: 8px;
    margin-bottom: 6px;
}

/* The four Diet Balance areas */


/* Energy / protein: the number */
.ob-big[b-coo9nqae3g] {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 2px;
}

.ob-big-num[b-coo9nqae3g] {
    font-size: var(--ths-fs-hero);
    font-weight: 700;
    color: var(--ths-brand-strong);
    font-variant-numeric: tabular-nums;
}

.ob-big-unit[b-coo9nqae3g] {
    font-size: var(--ths-fs-lg);
    color: var(--ths-text-2);
}

.ob-big-from[b-coo9nqae3g] {
    text-align: center;
    font-size: var(--ths-fs-md);
    color: var(--ths-text-2);
    margin-bottom: 16px;
}

.ob-suggest[b-coo9nqae3g] {
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--ths-surface);
    border: 1.5px solid var(--ths-brand);
    margin-bottom: 4px;
}

.ob-suggest-num[b-coo9nqae3g] {
    font-size: var(--ths-fs-2xl);
    font-weight: 700;
    color: var(--ths-brand-strong);
}

/* Actions at the bottom of the screen */
.ob-actions[b-coo9nqae3g] {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ob-primary[b-coo9nqae3g], .ob-secondary[b-coo9nqae3g] {
    width: 100%;
    min-height: 52px;
    border-radius: 26px;
    font-size: var(--ths-fs-lg);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.ob-primary[b-coo9nqae3g] {
    border: none;
    background: var(--ths-brand);
    color: var(--ths-text-on-brand);
}

.ob-primary:disabled[b-coo9nqae3g] { opacity: 0.45; cursor: default; }

.ob-secondary[b-coo9nqae3g] {
    border: 1.5px solid rgba(32, 178, 170, 0.6);
    background: transparent;
    color: var(--ths-brand-strong);
}

.ob-secondary:disabled[b-coo9nqae3g] { opacity: 0.45; cursor: default; }

/* Two choices side by side (the approach screen), the advice with its inline link above them */
.ob-choice-row[b-coo9nqae3g] { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ob-choice-row .ob-primary[b-coo9nqae3g], .ob-choice-row .ob-secondary[b-coo9nqae3g] { padding: 8px 12px; line-height: 1.25; }
.ob-advice[b-coo9nqae3g] { margin: 0 0 6px; }
.ob-adults[b-coo9nqae3g] { font-size: var(--ths-fs-sm); color: var(--ths-text-2); margin: 4px 0 0; }
.ob-link[b-coo9nqae3g] {
    border: 0; background: none; padding: 0; cursor: pointer; font: inherit;
    color: var(--ths-brand-strong); text-decoration: underline; display: inline;
}
@media (max-width: 340px) {
    .ob-choice-row[b-coo9nqae3g] { grid-template-columns: 1fr; }
}

@media (hover: hover) {
    .ob-primary:not(:disabled):hover[b-coo9nqae3g] { background: var(--ths-brand-hover); }
    .ob-secondary:not(:disabled):hover[b-coo9nqae3g] { background: rgba(32, 178, 170, 0.08); }
}
/* /Pages/RecipeEdit.razor.rz.scp.css */
.re-section[b-mo02vfudba] { margin-bottom: var(--ths-space-4); }
/* the chosen chip: teal wash, as selected chips elsewhere */
[b-mo02vfudba] .re-chip-on { background: var(--ths-brand-tint); }
.re-water[b-mo02vfudba] { color: var(--ths-text); border-left: 3px solid var(--ths-low); padding-left: var(--ths-space-2); }
/* /Pages/Settings.razor.rz.scp.css */
.settings-row[b-8xtvlce3mg] {
    cursor: pointer;
    transition: background-color 0.1s;
}

.settings-row:hover[b-8xtvlce3mg] {
    background-color: rgba(32, 178, 170, 0.06);
}
/* /Pages/SettingsPages/Application.razor.rz.scp.css */

/* Regular eating times: label and time picker side by side, four rows */
.regular-times[b-w9qwr0j79c] {
    display: grid;
    grid-template-columns: 110px 140px;
    align-items: center;
    gap: 8px 12px;
}
/* /Pages/SettingsPages/Goals.razor.rz.scp.css */
.settings-row[b-7kieqbwwio] {
    cursor: pointer;
    transition: background-color 0.1s;
}

.settings-row:hover[b-7kieqbwwio] {
    background-color: rgba(32, 178, 170, 0.06);
}
/* /Pages/SettingsPages/Recommendations.razor.rz.scp.css */
.rec-layout[b-wn2okr2ydw] {
    max-width: 680px;
}

.rec-intro[b-wn2okr2ydw],
.rec-lead[b-wn2okr2ydw] {
    margin: 0;
    font-size: var(--ths-fs-md);
    line-height: 1.45;
    color: var(--ths-text);
}

.rec-item[b-wn2okr2ydw] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--ths-line-soft);
    border-radius: 8px;
    padding: 12px 16px;
}

.rec-head[b-wn2okr2ydw] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 4px;
}

.rec-value[b-wn2okr2ydw] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    color: var(--ths-brand-strong);
    white-space: nowrap;
    text-align: right;
}

.rec-why[b-wn2okr2ydw] {
    margin: 0;
    font-size: var(--ths-fs-md);
    line-height: 1.45;
    color: var(--ths-text);
}

.rec-why + .rec-why[b-wn2okr2ydw] {
    margin-top: 8px;
}

.rec-own[b-wn2okr2ydw] {
    margin: 6px 0 0;
    font-size: var(--ths-fs-sm);
    color: var(--ths-text-2);
}

/* Vitamins and minerals: name and value on one line, the upper limit below the value */
.rec-table[b-wn2okr2ydw] {
    padding: 4px 16px;
}

.rec-row[b-wn2okr2ydw] {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    padding: 8px 0;
    font-size: var(--ths-fs-md);
    color: var(--ths-text);
}

.rec-row + .rec-row[b-wn2okr2ydw] {
    border-top: 1px solid var(--ths-line-soft);
}

.rec-ul[b-wn2okr2ydw] {
    grid-column: 2;
    font-size: var(--ths-fs-sm);
    color: var(--ths-text-2);
    text-align: right;
}
/* /Pages/SettingsPages/References.razor.rz.scp.css */
.ref-layout[b-3dt1y1t9wx] {
    max-width: 680px;
}

.ref-item[b-3dt1y1t9wx] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--ths-line-soft);
    border-radius: 8px;
    padding: 12px 16px;
}

.ref-text[b-3dt1y1t9wx] {
    margin: 0 0 4px;
    font-size: var(--ths-fs-md);
    line-height: 1.45;
    color: var(--ths-text);
}

.ref-list[b-3dt1y1t9wx] {
    margin: 0 0 8px;
    padding-left: 20px;
    font-size: var(--ths-fs-md);
    line-height: 1.45;
    color: var(--ths-text);
}

.ref-list li + li[b-3dt1y1t9wx] {
    margin-top: 4px;
}

.ref-open[b-3dt1y1t9wx] {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.ref-open:hover[b-3dt1y1t9wx] {
    border-color: rgba(32, 178, 170, 0.5);
}
/* /Pages/SettingsPages/TipsPage.razor.rz.scp.css */
.tips-row[b-e2oahzupwj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    background: none;
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.tips-text[b-e2oahzupwj] {
    font-size: var(--ths-fs-md);
    line-height: 1.5;
    color: var(--ths-text);
    margin: 0 0 10px;
}
/* /Pages/StyleGuide.razor.rz.scp.css */
/* The style guide page uses only tokens (it is the reference) */
.sg[b-rb47x7m5uu] { max-width: 960px; color: var(--ths-text); }
.sg-h1[b-rb47x7m5uu] { font-size: var(--ths-fs-2xl); font-weight: var(--ths-fw-bold); margin: 0 0 var(--ths-space-1); }
.sg-lead[b-rb47x7m5uu] { font-size: var(--ths-fs-md); color: var(--ths-text-2); margin: 0 0 var(--ths-space-4); }
.sg-h2[b-rb47x7m5uu] {
    font-size: var(--ths-fs-xl); font-weight: var(--ths-fw-bold);
    margin: var(--ths-space-8) 0 var(--ths-space-3); padding-bottom: var(--ths-space-1);
    border-bottom: 1px solid var(--ths-line);
}
.sg-val[b-rb47x7m5uu] { font-size: var(--ths-fs-micro); color: var(--ths-text-2); font-variant-numeric: tabular-nums; }
.sg-row[b-rb47x7m5uu] { display: flex; gap: var(--ths-space-4); align-items: center; }
.sg-row-wrap[b-rb47x7m5uu] { flex-wrap: wrap; }
.sg-box[b-rb47x7m5uu] { background: var(--ths-surface); border-radius: var(--ths-radius-lg); box-shadow: var(--ths-shadow-1); padding: var(--ths-space-4); display: flex; flex-direction: column; gap: var(--ths-space-2); }

.sg-swatches[b-rb47x7m5uu] { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--ths-space-2); margin-bottom: var(--ths-space-4); }
.sg-swatch[b-rb47x7m5uu] { display: grid; grid-template-columns: 28px 14px 1fr; grid-template-rows: auto auto; column-gap: var(--ths-space-2); align-items: center; }
.sg-chip[b-rb47x7m5uu] { grid-row: 1 / 3; width: 28px; height: 28px; border-radius: var(--ths-radius-md); border: 1px solid var(--ths-line); }
.sg-chip-cs[b-rb47x7m5uu] { width: 14px; height: 28px; border-radius: var(--ths-radius-sm); }
.sg-name[b-rb47x7m5uu] { font-size: var(--ths-fs-sm); font-weight: var(--ths-fw-semibold); }
.sg-swatch .sg-val[b-rb47x7m5uu] { grid-column: 3; }

.sg-type[b-rb47x7m5uu] { display: flex; flex-direction: column; gap: var(--ths-space-2); margin-bottom: var(--ths-space-4); }
.sg-type-row[b-rb47x7m5uu] { display: flex; flex-direction: column; }

.sg-space[b-rb47x7m5uu] { display: flex; flex-direction: column; align-items: center; gap: var(--ths-space-1); }
.sg-space span:first-child[b-rb47x7m5uu] { background: var(--ths-brand); display: block; }
.sg-radius[b-rb47x7m5uu] { display: flex; flex-direction: column; align-items: center; gap: var(--ths-space-1); }
.sg-radius span:first-child[b-rb47x7m5uu] { width: 64px; height: 40px; background: var(--ths-brand-tint); border: 1px solid var(--ths-brand); display: block; }
.sg-elev[b-rb47x7m5uu] { width: 160px; height: 72px; background: var(--ths-surface); border-radius: var(--ths-radius-lg); display: flex; align-items: center; justify-content: center; font-size: var(--ths-fs-sm); color: var(--ths-text-2); }

.sg-pill[b-rb47x7m5uu] { font-size: var(--ths-fs-sm); font-weight: var(--ths-fw-semibold); padding: 2px var(--ths-space-2); border-radius: var(--ths-radius-pill); }
.sg-pill-ok[b-rb47x7m5uu] { background: var(--ths-brand-tint); color: var(--ths-ok-text); }
.sg-pill-low[b-rb47x7m5uu] { background: var(--ths-low-tint); color: var(--ths-low-text); }
.sg-pill-over[b-rb47x7m5uu] { background: var(--ths-over-tint); color: var(--ths-over); }
.sg-pill-neutral[b-rb47x7m5uu] { background: var(--ths-track); color: var(--ths-text-2); }
.sg-tag[b-rb47x7m5uu] { font-size: var(--ths-fs-micro); font-weight: var(--ths-fw-semibold); padding: 0 5px; border-radius: var(--ths-radius-sm); background: var(--ths-wash); color: var(--ths-text-2); }

.sg-num[b-rb47x7m5uu] { font-size: var(--ths-fs-num); font-weight: var(--ths-fw-bold); color: var(--ths-brand); margin: var(--ths-space-1) 0; line-height: 1; }
.sg-tile[b-rb47x7m5uu] { width: 160px; background: var(--ths-surface); border: 1px solid var(--ths-line); border-radius: var(--ths-radius-tile); padding: var(--ths-space-3); display: flex; flex-direction: column; gap: 2px; }
.sg-tile-on[b-rb47x7m5uu] { background: var(--ths-brand-tint); border-color: var(--ths-brand); }
.sg-tile-val[b-rb47x7m5uu] { font-size: var(--ths-fs-lg); font-weight: var(--ths-fw-semibold); }
.sg-tile-val small[b-rb47x7m5uu] { font-size: var(--ths-fs-sm); color: var(--ths-text-2); font-weight: var(--ths-fw-regular); }
.sg-tile-pct[b-rb47x7m5uu] { font-size: var(--ths-fs-sm); color: var(--ths-text-2); }

.sg-controls[b-rb47x7m5uu] { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--ths-space-4); align-items: center; }

.sg-bars[b-rb47x7m5uu] { display: flex; align-items: flex-end; gap: 2px; height: 64px; width: 160px; }
.sg-bars span[b-rb47x7m5uu] { flex: 1; display: block; }
.sg-stack[b-rb47x7m5uu] { display: flex; width: 220px; height: 16px; border-radius: var(--ths-radius-pill); overflow: hidden; background: var(--ths-track); }
.sg-stack span[b-rb47x7m5uu] { display: block; height: 100%; }

.sg-motion[b-rb47x7m5uu] {
    padding: var(--ths-space-3) var(--ths-space-4); border-radius: var(--ths-radius-md);
    background: var(--ths-surface); border: 1px solid var(--ths-line); font-size: var(--ths-fs-sm);
    transition: background var(--ths-dur-fast) var(--ths-ease), transform var(--ths-dur-fast) var(--ths-ease);
}
.sg-motion:hover[b-rb47x7m5uu] { background: var(--ths-brand-tint); transform: translateY(-1px); }

.sg-icons[b-rb47x7m5uu] { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: var(--ths-space-3); }
.sg-icon[b-rb47x7m5uu] { display: flex; align-items: center; gap: var(--ths-space-2); }
/* /Pages/WeeklyReport.razor.rz.scp.css */
.report-tools[b-tzze9x3v1z] {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.report[b-tzze9x3v1z] {
    max-width: 760px;
    margin: 0 auto;
}

/* The logo (the onboarding's, smaller): the arc runs from the e to the r */
.report-head[b-tzze9x3v1z] {
    text-align: center;
    margin-bottom: 16px;
}

.report-logo[b-tzze9x3v1z] {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-family: Montserrat, Inter, sans-serif;
}

.report-logo-word[b-tzze9x3v1z] {
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
    color: var(--ths-brand-deep);
    white-space: nowrap;
    padding-top: 0.3em;
}

.report-logo-arc[b-tzze9x3v1z] {
    display: inline-block;
    position: relative;
}

.report-logo-arc svg[b-tzze9x3v1z] {
    position: absolute;
    left: 0.21em;
    width: calc(100% - 0.31em);
    bottom: 0.8em;
    height: auto;
}

.report-logo-sub[b-tzze9x3v1z] {
    font-size: 9px;
    font-weight: 500;
    color: var(--ths-brand-deep);
    letter-spacing: 0.65em;
    padding-left: 0.65em;
    margin-top: 6px;
}

.report-title[b-tzze9x3v1z] {
    font-size: var(--ths-fs-xl);
    font-weight: 700;
    margin: 16px 0 2px;
}

.report-range[b-tzze9x3v1z] {
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-secondary);
    margin: 0;
}

.report-opening[b-tzze9x3v1z] {
    font-size: var(--ths-fs-md);
    line-height: 1.5;
    margin-bottom: 8px;
}

.report-opening p[b-tzze9x3v1z] { margin: 0 0 6px; }

.report-days[b-tzze9x3v1z] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.report-nudge[b-tzze9x3v1z] {
    color: var(--ths-low-text);
    background: var(--ths-low-tint);
    border-radius: 6px;
    padding: 6px 10px;
}

.report-section[b-tzze9x3v1z] {
    margin-top: 20px;
    break-inside: avoid;
    page-break-inside: avoid;
}

.report-h2[b-tzze9x3v1z] {
    font-size: var(--ths-fs-lg);
    font-weight: 700;
    color: var(--ths-brand-strong);
    margin: 0 0 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ths-line);
}

/* A snapshot: the embedded pages can't be tapped (no selections, no links) */
.report-embed[b-tzze9x3v1z] {
    pointer-events: none;
}

.report-foot[b-tzze9x3v1z] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 10px;
    border-top: 1px solid var(--ths-line);
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

.report-foot a[b-tzze9x3v1z] {
    color: var(--ths-brand-strong);
    font-weight: 600;
    text-decoration: none;
}
/* /Pages/WeightDetail.razor.rz.scp.css */
.wd-layout[b-uu08pqbroi] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
}

.wd-card[b-uu08pqbroi] {
    background: var(--mud-palette-surface);
    border-radius: var(--ths-radius-card);
    box-shadow: 0 1px 2px rgba(16, 40, 38, 0.08);
    padding: 12px;
}

.wd-1d[b-uu08pqbroi] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wd-big small[b-uu08pqbroi] {
    font-size: var(--ths-fs-hero);
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
}

.wd-big[b-uu08pqbroi] {
    font-size: var(--ths-fs-hero);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.wd-progress[b-uu08pqbroi] {
    margin: 0;
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-secondary);
    text-align: center;
}

.wd-meta[b-uu08pqbroi] {
    display: flex;
    gap: 32px;
}

.wd-meta > div[b-uu08pqbroi] {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wd-meta-val[b-uu08pqbroi] {
    font-size: var(--ths-fs-lg);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.wd-meta-lbl[b-uu08pqbroi] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wd-entry[b-uu08pqbroi] {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    align-items: center;
}

.wd-svg[b-uu08pqbroi] {
    display: block;
    width: 100%;
    height: auto;
}

.wd-row[b-uu08pqbroi] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wd-row-date[b-uu08pqbroi] {
    flex: 1;
    font-size: var(--ths-fs-md);
}

.wd-row-kg[b-uu08pqbroi] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
/* /Shared/ChartFocus.razor.rz.scp.css */
.cf-cta[b-u6a5sjuaf2] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--ths-primary-tint);
    color: var(--ths-brand-strong);
    font-size: var(--ths-fs-md);
    text-align: center;
}

.cf-box[b-u6a5sjuaf2] {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 44px;
    border-radius: var(--ths-radius-tile);
    background: var(--mud-palette-surface);
    border: 1.5px solid var(--mud-palette-primary);
}

.cf-text[b-u6a5sjuaf2] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cf-title[b-u6a5sjuaf2] {
    font-size: var(--ths-fs-lg);
    font-weight: 600;
    line-height: 1.25;
}

.cf-note[b-u6a5sjuaf2] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

.cf-clear[b-u6a5sjuaf2] {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cf-clear:hover[b-u6a5sjuaf2] { background: var(--mud-palette-background-grey); }
/* /Shared/DietBalanceGadget.razor.rz.scp.css */
.db-gadget[b-pmilav4nbn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Header */
.db-header[b-pmilav4nbn] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.db-link-btn[b-pmilav4nbn] {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.15s;
    flex-shrink: 0;
}

.db-link-btn:hover[b-pmilav4nbn] {
    color: var(--mud-palette-primary);
}

/* Score row */
.db-score-row[b-pmilav4nbn] {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

.db-score-main[b-pmilav4nbn] {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: var(--ths-text);
    letter-spacing: -1px;
    flex-shrink: 0;
}

.db-meta-group[b-pmilav4nbn] {
    display: flex;
    flex-direction: row;
    gap: 14px;
    align-items: flex-end;
    margin-left: auto;
    padding-bottom: 2px;
}

.db-meta-block[b-pmilav4nbn] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}

.db-meta-val[b-pmilav4nbn] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    line-height: 1;
}

.db-meta-lbl[b-pmilav4nbn] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}

.db-delta-up[b-pmilav4nbn]   { color: var(--ths-brand); }
.db-delta-down[b-pmilav4nbn] { color: var(--ths-text-3); }
.db-conf[b-pmilav4nbn]       { color: var(--ths-brand); }

/* Chart */
.db-chart-wrap[b-pmilav4nbn] {
    margin-top: 4px;
}
.db-score-none[b-pmilav4nbn] { color: var(--ths-text-3); }

/* Gauge (front card) */
.db-gauge-row[b-pmilav4nbn] { display: flex; align-items: flex-end; gap: 16px; }
.db-gauge[b-pmilav4nbn] { position: relative; width: 160px; max-width: 60%; cursor: pointer; flex-shrink: 0; }
.db-gauge svg[b-pmilav4nbn] { width: 100%; height: auto; display: block; }
.db-gauge-score[b-pmilav4nbn] {
    position: absolute; left: 0; right: 0; bottom: 8%;
    text-align: center; font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -1px;
}

/* /Shared/EatingPatternGadget.razor.rz.scp.css */
.ep-gadget[b-5b7xx1wu9q] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ep-header[b-5b7xx1wu9q] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ep-link-btn[b-5b7xx1wu9q] {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: var(--ths-text-3);
    display: flex;
    align-items: center;
}

.ep-body[b-5b7xx1wu9q] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 1;
}

.ep-stat-row[b-5b7xx1wu9q] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ep-fasting-row[b-5b7xx1wu9q] {
    margin-top: 2px;
}

.ep-stat-main[b-5b7xx1wu9q] {
    font-size: var(--ths-fs-md);
    font-weight: 500;
    color: var(--ths-text);
}

.ep-stat-sub[b-5b7xx1wu9q] {
    font-size: var(--ths-fs-sm);
    color: var(--ths-text-2);
}

.ep-no-data[b-5b7xx1wu9q] {
    font-size: var(--ths-fs-md);
    color: var(--ths-text-3);
}

.ep-body-empty[b-5b7xx1wu9q] { justify-content: flex-start; }   /* the empty-day line at the top, like the other cards */
/* /Shared/EnergyMacroGadget.razor.rz.scp.css */
.em-gadget[b-nvu3b0nzmo] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Header */
.em-header[b-nvu3b0nzmo] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.em-link-btn[b-nvu3b0nzmo] {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.15s;
    flex-shrink: 0;
}

.em-link-btn:hover[b-nvu3b0nzmo] {
    color: var(--mud-palette-primary);
}

/* Progress bar */
.em-kcal-track-wrap[b-nvu3b0nzmo] {
    position: relative;
}

.em-kcal-track[b-nvu3b0nzmo] {
    display: flex;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.em-kcal-seg[b-nvu3b0nzmo] {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.em-kcal-seg-lbl[b-nvu3b0nzmo] {
    font-size: var(--ths-fs-micro);
    font-weight: 600;
    color: var(--ths-text-on-brand);
    white-space: nowrap;
}

.em-kcal-seg-rem[b-nvu3b0nzmo] {
    background: var(--ths-line);
}

/* Where the day is now: a slim "playhead" taller than the bar, with a white edge so it stands out
   on any segment (a round dot covered the last segment and its %) */
.em-kcal-dot[b-nvu3b0nzmo] {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 30px;
    border-radius: 2px;
    background: var(--ths-brand);
    box-shadow: 0 0 0 2px var(--ths-surface), 0 1px 3px rgba(0,0,0,0.25);
}

.em-kcal-dot-over[b-nvu3b0nzmo] {
    background: var(--ths-low);
}

.em-bar-labels[b-nvu3b0nzmo] {
    display: flex;
    justify-content: space-between;
    margin-top: 3px;
}

.em-bar-lbl[b-nvu3b0nzmo] {
    font-size: var(--ths-fs-micro);
    font-weight: 500;
    color: var(--ths-text);
}

.em-bar-unit[b-nvu3b0nzmo] {
    font-weight: 400;
    color: var(--mud-palette-text-secondary);
}

.em-bar-empty[b-nvu3b0nzmo] {
    color: var(--ths-text-3);
}

/* Macro row */
.em-macro-row[b-nvu3b0nzmo] {
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

.em-macro-chip[b-nvu3b0nzmo] {
    display: flex;
    align-items: baseline;
    gap: 3px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.em-macro-chip:first-child[b-nvu3b0nzmo]  { justify-content: flex-end; }
.em-macro-chip:nth-child(2)[b-nvu3b0nzmo] { justify-content: center; }
.em-macro-chip:last-child[b-nvu3b0nzmo]   { justify-content: flex-start; }

.em-macro-dot[b-nvu3b0nzmo] {
    width: 6px;
    height: 6px;
    border-radius: 1px;
    flex-shrink: 0;
    align-self: center;
}

.em-macro-lbl[b-nvu3b0nzmo] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    flex-shrink: 0;
}

.em-macro-val[b-nvu3b0nzmo] {
    font-size: var(--ths-fs-sm);
    font-weight: 600;
    color: var(--ths-text);
    line-height: 1;
    flex-shrink: 0;
}

.em-macro-tgt[b-nvu3b0nzmo] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    line-height: 1;
    flex-shrink: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer: delta ("1,234 kcal remaining"; 11 px since 2026-11-16: 10 px was hard to read) */
.em-delta[b-nvu3b0nzmo] {
    font-size: var(--ths-fs-micro);
    margin: 0;
    font-weight: 500;
    text-align: center;
}

.em-delta-ok[b-nvu3b0nzmo]   { color: var(--ths-brand-strong); }   /* dark teal: the bright one was weak as small text (2026-11-16) */
.em-delta-over[b-nvu3b0nzmo] { color: var(--mud-palette-text-primary); }   /* amber is too pale for small text; the dot stays amber */

/* Empty today: "3,035 kcal and 120 g of protein to go" above the empty-day line */
.em-togo[b-nvu3b0nzmo] { margin: 0; font-size: var(--ths-fs-lg); font-weight: 600; line-height: 1.35; color: var(--mud-palette-text-primary); }
/* /Shared/FeedbackForm.razor.rz.scp.css */
/* Feedback form (2026-11-23): kind pills, text, hint */
.fb-kinds[b-fo0phrpsu0] { display: flex; flex-wrap: wrap; gap: var(--ths-space-2); }
.fb-kind[b-fo0phrpsu0] {
    font: inherit; font-size: var(--ths-fs-md); padding: 6px 14px; cursor: pointer;
    border-radius: var(--ths-radius-pill, 999px); border: 1px solid var(--ths-line);
    background: transparent; color: var(--ths-text-2);
}
.fb-kind:hover[b-fo0phrpsu0] { border-color: var(--ths-brand); color: var(--ths-brand-strong); }
.fb-kind:focus-visible[b-fo0phrpsu0] { outline: 2px solid var(--ths-brand-strong); outline-offset: 2px; }
.fb-kind-on[b-fo0phrpsu0] { background: var(--ths-primary-tint); border-color: var(--ths-brand); color: var(--ths-brand-strong); font-weight: 600; }
.fb-hint[b-fo0phrpsu0] { font-size: var(--ths-fs-sm); color: var(--ths-text-2); margin: var(--ths-space-2) 0 0; }
.fb-error[b-fo0phrpsu0] { font-size: var(--ths-fs-md); color: var(--ths-text); margin: var(--ths-space-2) 0 0; }
.fb-thanks[b-fo0phrpsu0] { font-size: var(--ths-fs-md); color: var(--ths-text); margin: 0 0 var(--ths-space-3); }
/* /Shared/FeedbackSheet.razor.rz.scp.css */
/* The Settings pages' circle: the same as the text input's (Shared/TextInputSheet.razor.css) */
.txt-fab[b-s4z865u4dv] {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--ths-brand); border: 0; cursor: pointer; z-index: 1200;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
    touch-action: none; user-select: none; -webkit-user-select: none;
}
.txt-fab:hover[b-s4z865u4dv] { background: var(--ths-brand-hover); }
.txt-fab:focus-visible[b-s4z865u4dv] { outline: 3px solid var(--ths-brand-strong); outline-offset: 2px; }
@media (max-width: 959.98px) {
    .txt-fab[b-s4z865u4dv] { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

.fb-sheet[b-s4z865u4dv] {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 400px; max-width: calc(100vw - 32px); max-height: min(80vh, 640px);
    background: var(--mud-palette-surface); border-radius: var(--ths-radius-card); z-index: 1200;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    display: flex; flex-direction: column; overflow: hidden;
}
/* Full screen on a phone, as Describe: the keyboard takes half of it */
@media (max-width: 600px) {
    .fb-sheet[b-s4z865u4dv] { top: 0; right: 0; left: 0; bottom: 0; width: 100%; max-width: 100%; max-height: none; height: 100%;
                border-radius: 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
.fb-head[b-s4z865u4dv] { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--ths-line-soft); }
.fb-close[b-s4z865u4dv] { border: 0; background: none; cursor: pointer; color: var(--ths-text-2); padding: 4px; border-radius: 4px; }
.fb-close:hover[b-s4z865u4dv] { background: var(--ths-primary-tint); }
.fb-body[b-s4z865u4dv] { padding: 16px; overflow-y: auto; }
/* /Shared/FoodGroupGadget.razor.rz.scp.css */
.fgg-gadget[b-69t7dnzjp0] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 80px;
}

.fgg-header[b-69t7dnzjp0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.fgg-link-btn[b-69t7dnzjp0] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
}

.fgg-link-btn:hover[b-69t7dnzjp0] { color: var(--mud-palette-primary); }

.fgg-main[b-69t7dnzjp0] {
    margin: 2px 0 0;
    line-height: 1.1;
}

.fgg-num[b-69t7dnzjp0] {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ths-text);
}

.fgg-den[b-69t7dnzjp0] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.fgg-label[b-69t7dnzjp0] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

.fgg-sub-row[b-69t7dnzjp0] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.fgg-chip[b-69t7dnzjp0] {
    font-size: var(--ths-fs-micro);
    font-weight: 600;
    border-radius: 4px;
    padding: 2px 7px;
}

.fgg-chip-above[b-69t7dnzjp0] {
    background: var(--ths-over-tint);
    color: var(--ths-over-text);
}

.fgg-ok[b-69t7dnzjp0] {
    font-size: var(--ths-fs-micro);
    font-weight: 500;
    color: var(--ths-brand);
    margin: 2px 0 0;
}

.fgg-empty[b-69t7dnzjp0] {
    font-size: var(--ths-fs-micro);
    color: var(--ths-text-3);
    margin: 4px 0 0;
    font-style: italic;
}

.fgg-gadget-empty[b-69t7dnzjp0] { min-height: 0; }   /* the empty-day line only: no blank space under it */

/* Small line above the bars, as subtle as Energy & Nutrients' "+234 kcal over" */
/* "6/7 reached · 1/4 over limit" (11 px since 2026-11-16: 10 px was hard to read) */
.fgg-bars-line[b-69t7dnzjp0] { margin: 0; font-size: var(--ths-fs-micro); font-weight: 500; text-align: center; color: var(--mud-palette-text-primary); }

/* One bar per group (version B: a thin 2 px space between). No track: only the fill shows. */
.fgg-bars[b-69t7dnzjp0] { display: flex; align-items: stretch; gap: 2px; height: 64px; margin-top: 8px; }
.fgg-bar[b-69t7dnzjp0] { flex: 1 1 0; position: relative; }
.fgg-bar-fill[b-69t7dnzjp0] { position: absolute; left: 0; right: 0; bottom: 0; }
.fgg-bar-aim[b-69t7dnzjp0]     { background: var(--ths-brand-pale); }   /* pale teal: on the way */
.fgg-bar-reached[b-69t7dnzjp0] { background: var(--ths-brand); }   /* reached */
.fgg-bar-limit[b-69t7dnzjp0]   { background: var(--ths-brand-pale); }   /* within the limit: the pale teal of an unfinished aim, only an exceeded limit stands out */
.fgg-bar-over[b-69t7dnzjp0]    { background: var(--ths-over-tint); }   /* over the limit: the over-limit pill's light red, not an error red */
/* /Shared/FoodListEditor.razor.rz.scp.css */
.fl-row[b-5ehcl6elo7] { flex: 1; min-width: 0; cursor: pointer; }

.fl-name[b-5ehcl6elo7] {
    font-size: var(--ths-fs-md);
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fl-meta[b-5ehcl6elo7] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
    line-height: 1.3;
    margin-top: 2px;
}

.fl-total[b-5ehcl6elo7] {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: var(--ths-fs-sm);
    font-weight: 600;
}

.fl-portion[b-5ehcl6elo7] {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: flex-start;
}

@media (max-width: 400px) {
    .fl-portion[b-5ehcl6elo7] { grid-template-columns: 1fr; }
}

/* A food's own view in the editor (2026-11-20): full screen over the list and the bottom navigation, the
   button pinned at the bottom, like the Diary's food view */
.fl-food-view[b-5ehcl6elo7] {
    position: fixed; inset: 0; z-index: 1300;
    background: var(--ths-bg);
    display: flex; flex-direction: column;
}
.fl-food-head[b-5ehcl6elo7] {
    display: flex; align-items: center; gap: var(--ths-space-2);
    padding: calc(var(--ths-space-3) + env(safe-area-inset-top, 0px)) var(--ths-space-4) var(--ths-space-2);
}
.fl-food-body[b-5ehcl6elo7] { flex: 1; overflow-y: auto; padding: 0 var(--ths-space-4) var(--ths-space-4); }
.fl-food-body[b-5ehcl6elo7], .fl-food-head[b-5ehcl6elo7] { width: 100%; max-width: 720px; margin: 0 auto; }
.fl-food-bar[b-5ehcl6elo7] { position: static; }
/* /Shared/FoodSearchPanel.razor.rz.scp.css */
/* Advanced search */
.adv-link[b-yer7xr4oke] {
    display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; padding: 0;
    margin: -4px 0 12px; font-size: var(--ths-fs-sm); color: var(--ths-brand-strong); cursor: pointer;
}
.adv-panel[b-yer7xr4oke] { display: flex; flex-direction: column; gap: 12px; }
.adv-chips[b-yer7xr4oke] { display: flex; flex-wrap: wrap; gap: 6px; }
.adv-chip[b-yer7xr4oke] {
    border: 1px solid rgba(32,178,170,0.6); background: var(--ths-surface); color: var(--ths-brand-strong); border-radius: 16px;
    padding: 4px 12px; font-size: var(--ths-fs-sm); cursor: pointer;
}
.adv-chip-on[b-yer7xr4oke] { background: var(--ths-brand); border-color: var(--ths-brand); color: white; }

/* Food info area (left side of result row) */
.result-row-body:hover[b-yer7xr4oke] {
    background-color: rgba(32, 178, 170, 0.06);
}

/* Expand toggle column (right side of result row — sibling, not child) */
.result-expand-btn[b-yer7xr4oke] {
    flex-shrink: 0;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-left: 1px solid var(--ths-line-soft);
    color: var(--mud-palette-text-secondary);
    background: transparent;
    transition: background 0.15s, color 0.15s;
}

.result-expand-btn:hover[b-yer7xr4oke] {
    background: rgba(32, 178, 170, 0.08);
    color: var(--mud-palette-primary);
}

.result-nutr-row[b-yer7xr4oke] {
    display: flex;
    gap: 4px;
    padding-top: 6px;
}

.result-nutr-cell[b-yer7xr4oke] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.result-nutr-value[b-yer7xr4oke] {
    font-size: var(--ths-fs-md);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.result-nutr-label[b-yer7xr4oke] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 1px;
    white-space: nowrap;
}

/* Barcode scan placeholder button — matches outlined text field height */
.barcode-btn[b-yer7xr4oke] {
    min-width: 40px;
    min-height: 40px;
    border: 1px solid var(--ths-line-input);
    border-radius: 4px;
    flex-shrink: 0;
}
/* /Shared/FoodTiles.razor.rz.scp.css */
.ft-section[b-xdo2r1v4h8] { margin-top: 16px; }

.ft-tiles[b-xdo2r1v4h8] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ft-tile[b-xdo2r1v4h8] {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 8px;
    align-items: baseline;
    background: var(--mud-palette-surface);
    border: 1px solid var(--ths-line-soft);
    border-radius: var(--ths-radius-tile);
    padding: 8px 12px;
}

.ft-name[b-xdo2r1v4h8] { grid-column: 1 / -1; }

.ft-val[b-xdo2r1v4h8] {
    font-size: var(--ths-fs-lg);
    font-weight: 700;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.ft-val small[b-xdo2r1v4h8] {
    font-size: var(--ths-fs-sm);
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
}

.ft-pct[b-xdo2r1v4h8] {
    font-size: var(--ths-fs-sm);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Where a scanned product's value comes from (D7): small, quiet, next to the name */
.ft-src[b-xdo2r1v4h8] {
    margin-left: 4px;
    padding: 0 5px;
    border-radius: 4px;
    font-size: var(--ths-fs-micro);
    font-weight: 600;
    line-height: 16px;
    letter-spacing: 0.02em;
    color: var(--mud-palette-text-secondary);
    background: var(--ths-wash);
    white-space: nowrap;
    vertical-align: 1px;
}
/* /Shared/HydrationGadget.razor.rz.scp.css */
.hyd-gadget[b-an3d2pn7zm] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hyd-header[b-an3d2pn7zm] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.hyd-body[b-an3d2pn7zm] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hyd-ring-wrap[b-an3d2pn7zm] {
    position: relative;
    flex-shrink: 0;
    width: 116px;
    height: 116px;
}

.hyd-centre[b-an3d2pn7zm] {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hyd-centre-val[b-an3d2pn7zm] {
    font-size: var(--ths-fs-2xl);
    font-weight: 700;
    line-height: 1;
    color: var(--ths-text);
}

.hyd-centre-unit[b-an3d2pn7zm] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
}

.hyd-centre-empty[b-an3d2pn7zm] {
    font-size: var(--ths-fs-xl);
    color: var(--ths-text-3);
}

.hyd-detail[b-an3d2pn7zm] {
    flex: 1;
    min-width: 0;
}

.hyd-link-btn[b-an3d2pn7zm] {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.15s;
    flex-shrink: 0;
}

.hyd-link-btn:hover[b-an3d2pn7zm] {
    color: var(--mud-palette-primary);
}

.hyd-add-btn[b-an3d2pn7zm] {
    background: var(--mud-palette-primary);
    border: none;
    border-radius: 12px;
    padding: 3px 8px;
    font-size: var(--ths-fs-micro);
    font-weight: 600;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
    transition: opacity 0.15s;
    white-space: nowrap;
}

.hyd-add-btn:hover:not(:disabled)[b-an3d2pn7zm] {
    opacity: 0.85;
}

.hyd-add-btn:disabled[b-an3d2pn7zm] {
    opacity: 0.5;
    cursor: default;
}

.hyd-no-data[b-an3d2pn7zm] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    margin: 0 0 4px;
}

.hyd-target-line[b-an3d2pn7zm] {
    font-size: var(--ths-fs-micro);
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
    margin: 0 0 6px;
}

/* dot | name | amount: amounts sit next to the names and line up under each other */
.hyd-type-list[b-an3d2pn7zm] {
    display: grid;
    grid-template-columns: 7px auto auto;
    justify-content: start;
    align-items: center;
    column-gap: 6px;
    row-gap: 4px;
}

.hyd-type-row[b-an3d2pn7zm] {
    display: contents;
}

.hyd-type-dot[b-an3d2pn7zm] {
    width: 7px;
    height: 7px;
    border-radius: 2px;
    flex-shrink: 0;
}

.hyd-type-name[b-an3d2pn7zm] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hyd-type-ml[b-an3d2pn7zm] {
    font-size: var(--ths-fs-micro);
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    text-align: right;
    white-space: nowrap;
}
/* /Shared/LabeledField.razor.rz.scp.css */
.lf[b-b757lmeso6] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lf-label[b-b757lmeso6] {
    font-size: var(--ths-fs-md);
    font-weight: 500;
}

.lf-hint[b-b757lmeso6] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}
/* /Shared/MicronutrientGadget.razor.rz.scp.css */
.mng-gadget[b-ekkp7mpwkc] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 80px;
}

.mng-header[b-ekkp7mpwkc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.mng-link-btn[b-ekkp7mpwkc] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
}

.mng-link-btn:hover[b-ekkp7mpwkc] { color: var(--mud-palette-primary); }

.mng-main[b-ekkp7mpwkc] {
    margin: 2px 0 0;
    line-height: 1.1;
}

.mng-num[b-ekkp7mpwkc] {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--ths-text);
}

.mng-den[b-ekkp7mpwkc] {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.mng-label[b-ekkp7mpwkc] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

.mng-sub-row[b-ekkp7mpwkc] {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.mng-chip[b-ekkp7mpwkc] {
    font-size: var(--ths-fs-sm);
    font-weight: 600;
    border-radius: 4px;
    padding: 2px 7px;
}

.mng-chip-below[b-ekkp7mpwkc] {
    background: var(--ths-low-tint);
    color: var(--ths-low-text);
}

.mng-chip-above[b-ekkp7mpwkc] {
    background: var(--ths-over-tint);
    color: var(--ths-over-text);
}

.mng-ok[b-ekkp7mpwkc] {
    font-size: var(--ths-fs-sm);
    font-weight: 500;
    color: var(--ths-brand);
    margin: 2px 0 0;
}

.mng-empty[b-ekkp7mpwkc] {
    font-size: var(--ths-fs-micro);
    color: var(--ths-text-3);
    margin: 4px 0 0;
    font-style: italic;
}

.mng-gadget-empty[b-ekkp7mpwkc] { min-height: 0; }   /* the empty-day line only: no blank space under it */
/* /Shared/NovaGadget.razor.rz.scp.css */
.nova-gadget[b-kz6kcuhesz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nova-header[b-kz6kcuhesz] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

.nova-body[b-kz6kcuhesz] {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nova-donut-wrap[b-kz6kcuhesz] {
    position: relative;
    flex-shrink: 0;
    width: 116px;
    height: 116px;
}

.nova-centre[b-kz6kcuhesz] {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.nova-centre-val[b-kz6kcuhesz] {
    font-size: var(--ths-fs-2xl);
    font-weight: 700;
    line-height: 1;
    color: var(--ths-text);
    white-space: nowrap;
}

.nova-centre-empty[b-kz6kcuhesz] {
    font-size: var(--ths-fs-xl);
    color: var(--ths-text-3);
}

.nova-detail[b-kz6kcuhesz] {
    flex: 1;
    min-width: 0;
}

.nova-no-data[b-kz6kcuhesz] {
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    margin: 0;
}

.nova-status[b-kz6kcuhesz] {
    font-size: var(--ths-fs-micro);
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 8px;
}

.nova-status-ok[b-kz6kcuhesz]   { color: var(--ths-brand-strong); }
.nova-status-over[b-kz6kcuhesz] { color: var(--ths-over); }

.nova-legend[b-kz6kcuhesz] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nova-legend-row[b-kz6kcuhesz] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nova-dot[b-kz6kcuhesz] {
    width: 8px;
    height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}

.nova-legend-name[b-kz6kcuhesz] {
    flex: 1;
    font-size: var(--ths-fs-micro);
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nova-link-btn[b-kz6kcuhesz] {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
    border-radius: 4px;
    transition: color 0.15s;
    flex-shrink: 0;
}

.nova-link-btn:hover[b-kz6kcuhesz] {
    color: var(--mud-palette-primary);
}

.nova-legend-pct[b-kz6kcuhesz] {
    font-size: var(--ths-fs-micro);
    font-weight: 600;
    min-width: 28px;
    text-align: right;
}
/* /Shared/NumberStepper.razor.rz.scp.css */
.ns[b-dzyc1uocia] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ns-btn[b-dzyc1uocia] {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid rgba(32, 178, 170, 0.6);
    background: var(--ths-surface);
    color: var(--ths-brand-strong);
    font-size: var(--ths-fs-2xl);
    line-height: 1;
    cursor: pointer;
}

.ns-btn:active[b-dzyc1uocia] {
    background: var(--ths-primary-tint);
}

.ns-field[b-dzyc1uocia] {
    flex: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    padding: 6px 12px;
    border-radius: 12px;
    background: var(--ths-surface);
    border: 1px solid var(--ths-line-soft);
}

.ns-input[b-dzyc1uocia] {
    width: 100%;
    min-width: 0;
    max-width: 110px;
    border: none;
    outline: none;
    background: transparent;
    text-align: right;
    font-size: var(--ths-fs-2xl);
    font-weight: 600;
    color: var(--ths-text);
    font-family: inherit;
}

.ns-unit[b-dzyc1uocia] {
    font-size: var(--ths-fs-lg);
    color: var(--ths-text-2);
    min-width: 32px;
}
/* /Shared/NutrientGadget.razor.rz.scp.css */
.gadget-card[b-iztv56way1] {
    cursor: pointer;
    min-height: 80px;
    user-select: none;
    transition: box-shadow 0.15s;
}

.gadget-card:hover[b-iztv56way1] {
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
}

/* Header row */
.gadget-header[b-iztv56way1] {
    display: flex;
    align-items: center;
    gap: 2px;
    min-height: 22px;
}

.gadget-name[b-iztv56way1] {
    flex: 1;
    overflow: hidden;
}

/* Icon buttons in the header */
.gadget-btn[b-iztv56way1] {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--mud-palette-text-disabled);
    border-radius: 3px;
    line-height: 1;
    transition: color 0.15s;
}

.gadget-btn:hover:not(:disabled)[b-iztv56way1] {
    color: var(--mud-palette-primary);
}

.gadget-btn-active[b-iztv56way1] { color: var(--mud-palette-primary) !important; }
.gadget-btn-off[b-iztv56way1]    { opacity: 0.25; cursor: default; }

/* /Shared/PendingApproval.razor.rz.scp.css */
.pa-approval[b-ggudynxwyl] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 420px;
    margin: 48px auto;
    text-align: center;
}

.pa-text[b-ggudynxwyl] {
    margin: 0 0 8px;
    font-size: var(--ths-fs-md);
    line-height: 1.45;
    color: var(--mud-palette-text-secondary);
}
/* /Shared/RecurrenceEditor.razor.rz.scp.css */
.rec-summary[b-jvgwat79g2] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--ths-fs-md);
    font-weight: 600;
}

.rec-hint[b-jvgwat79g2] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

.rec-pills[b-jvgwat79g2] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.rec-pill[b-jvgwat79g2] {
    min-width: 40px;
    padding: 6px 10px;
    border-radius: 16px;
    border: 1px solid var(--ths-neutral);
    background: var(--ths-surface);
    font-size: var(--ths-fs-md);
    color: inherit;
    cursor: pointer;
}

.rec-pill-on[b-jvgwat79g2] {
    border-color: var(--ths-brand);
    background: var(--ths-brand);
    color: var(--ths-text-on-brand);
}

.rec-time[b-jvgwat79g2] {
    font: inherit;
    font-size: var(--ths-fs-md);
    padding: 4px 8px;
    border: 1px solid var(--ths-neutral);
    border-radius: 6px;
    background: var(--ths-surface);
}
/* /Shared/ReportList.razor.rz.scp.css */
.report-row[b-7f278m5oou] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 0;
    background: none;
    text-align: left;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.report-row-main[b-7f278m5oou] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.report-row-sub[b-7f278m5oou] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}
/* /Shared/ShareSection.razor.rz.scp.css */
.share-by[b-pbt3ykwvkw] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

.share-code-row[b-pbt3ykwvkw] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-code[b-pbt3ykwvkw] {
    font-size: var(--ths-fs-2xl);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ths-brand-strong);
    font-variant-numeric: tabular-nums;
}

.share-hint[b-pbt3ykwvkw] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}
/* /Shared/SlotPicker.razor.rz.scp.css */
.slot-picker[b-bqei378vmw] {
    margin: 8px 0 4px;
    padding: 12px;
    border-radius: 8px;
    background: var(--ths-primary-tint, rgba(32, 178, 170, 0.06));
}

.slot-pills[b-bqei378vmw] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.slot-pill[b-bqei378vmw] {
    padding: 6px 12px;
    border-radius: 16px;
    border: 1px solid var(--ths-neutral);
    background: var(--ths-surface);
    font-size: var(--ths-fs-md);
    color: inherit;
    cursor: pointer;
}

.slot-pill-on[b-bqei378vmw] {
    border-color: var(--ths-brand);
    background: var(--ths-brand);
    color: var(--ths-text-on-brand);
}

.slot-time[b-bqei378vmw] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.slot-time-input[b-bqei378vmw] {
    font: inherit;
    font-size: var(--ths-fs-md);
    padding: 4px 8px;
    border: 1px solid var(--ths-neutral);
    border-radius: 6px;
    background: var(--ths-surface);
}

.slot-time-hint[b-bqei378vmw] {
    font-size: var(--ths-fs-sm);
    color: var(--mud-palette-text-secondary);
}

.slot-actions[b-bqei378vmw] {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}
/* /Shared/SupplementGadget.razor.rz.scp.css */
.supp-gadget[b-k95mhcht6k] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
}

.supp-header[b-k95mhcht6k] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.supp-link-btn[b-k95mhcht6k] {
    background: none;
    border: none;
    padding: 2px;
    cursor: pointer;
    color: var(--ths-text-3);
    display: flex;
    align-items: center;
}

.supp-body[b-k95mhcht6k] {
    display: flex;
    align-items: center;
    flex: 1;
}

.supp-status-row[b-k95mhcht6k] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.supp-status-text[b-k95mhcht6k] {
    font-size: var(--ths-fs-sm);
    line-height: 1.4;
}

.supp-status-ok[b-k95mhcht6k] {
    color: var(--ths-brand);
    font-weight: 500;
}

.supp-status-pending[b-k95mhcht6k] {
    color: var(--ths-low);
    font-weight: 500;
}

.supp-status-none[b-k95mhcht6k] {
    color: var(--ths-text-3);
}
/* /Shared/TextInputSheet.razor.rz.scp.css */
/* Floating button: bottom-right, clear of the phone's system bars */
.txt-fab[b-0miskypr7q] {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--ths-brand); border: 0; cursor: pointer; z-index: 1200;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}
.txt-fab:hover[b-0miskypr7q] { background: var(--ths-brand-hover); }
/* It can be dragged aside (wwwroot/js/fab-drag.js): no page scroll or text selection while dragging */
.txt-fab[b-0miskypr7q] { touch-action: none; user-select: none; -webkit-user-select: none; }
.txt-fab:focus-visible[b-0miskypr7q] { outline: 3px solid var(--ths-brand-strong); outline-offset: 2px; }

/* Until the first use: a soft ring that grows and fades, every 2.4 s (none with reduced motion) */
.txt-fab-new[b-0miskypr7q] { animation: txt-fab-pulse-b-0miskypr7q 2.4s ease-out infinite; }
@keyframes txt-fab-pulse-b-0miskypr7q {
    0%   { box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35), 0 0 0 0 rgba(32, 178, 170, 0.45); }
    70%  { box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35), 0 0 0 14px rgba(32, 178, 170, 0); }
    100% { box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35), 0 0 0 0 rgba(32, 178, 170, 0); }
}
@media (prefers-reduced-motion: reduce) { .txt-fab-new[b-0miskypr7q] { animation: none; } }

/* Chat-style sheet */
.txt-sheet[b-0miskypr7q] {
    position: fixed;
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    width: 380px; max-width: calc(100vw - 32px); max-height: min(70vh, 560px);
    background: var(--mud-palette-surface); border-radius: 12px; z-index: 1200;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    display: flex; flex-direction: column; overflow: hidden;
}
@media (max-width: 600px) {
    .txt-sheet[b-0miskypr7q] { right: 0; left: 0; bottom: 0; width: 100%; max-width: 100%; border-radius: 12px 12px 0 0;
                 padding-bottom: env(safe-area-inset-bottom, 0px); }
}
/* Describe full screen on a phone (2026-11-23) */
@media (max-width: 600px) {
    .txt-sheet-full[b-0miskypr7q] { top: 0; bottom: 0; max-height: none; height: 100%; border-radius: 0; }
}
.txt-for[b-0miskypr7q] { font-size: var(--ths-fs-sm, 12px); color: var(--ths-text-2); margin-top: 2px; }
.txt-head[b-0miskypr7q] { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--ths-line-soft); }
.txt-close[b-0miskypr7q] { border: 0; background: none; cursor: pointer; color: var(--ths-text-2); padding: 4px; border-radius: 4px; }
.txt-close:hover[b-0miskypr7q] { background: var(--ths-primary-tint); }

.txt-thread[b-0miskypr7q] { flex: 1; overflow-y: auto; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.txt-hint[b-0miskypr7q] { font-size: var(--ths-fs-md); color: var(--ths-text-2); margin: 0; }
.txt-msg[b-0miskypr7q] { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: var(--ths-fs-md); line-height: 1.4; }
.txt-msg-user[b-0miskypr7q] { align-self: flex-end; background: var(--ths-brand); color: white; border-bottom-right-radius: 4px; }
.txt-msg-app[b-0miskypr7q] { align-self: flex-start; background: var(--ths-track); color: var(--ths-text); border-bottom-left-radius: 4px; }
.txt-where[b-0miskypr7q] { margin: 0 0 4px; font-weight: 600; font-size: var(--ths-fs-md); }
.txt-items[b-0miskypr7q] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.txt-items li[b-0miskypr7q] { display: flex; justify-content: space-between; gap: 12px; font-size: var(--ths-fs-md); }
.txt-grams[b-0miskypr7q] { color: var(--ths-text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.txt-muted[b-0miskypr7q] { margin: 4px 0 0; font-size: var(--ths-fs-md); color: var(--ths-text-2); }
.txt-link[b-0miskypr7q], .txt-undo[b-0miskypr7q] { border: 0; background: none; cursor: pointer; color: var(--ths-brand-strong); font-weight: 600; font-size: var(--ths-fs-md); padding: 0 2px; }
.txt-undo[b-0miskypr7q] { margin-top: 6px; padding: 0; }
.txt-link:hover[b-0miskypr7q], .txt-undo:hover[b-0miskypr7q] { text-decoration: underline; }

.txt-waiting[b-0miskypr7q] { display: flex; gap: 4px; padding: 12px; }
.txt-waiting span[b-0miskypr7q] { width: 6px; height: 6px; border-radius: 50%; background: var(--ths-text-3); animation: txt-blink-b-0miskypr7q 1.2s infinite ease-in-out; }
.txt-waiting span:nth-child(2)[b-0miskypr7q] { animation-delay: 0.2s; }
.txt-waiting span:nth-child(3)[b-0miskypr7q] { animation-delay: 0.4s; }
@keyframes txt-blink-b-0miskypr7q { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .txt-waiting span[b-0miskypr7q] { animation: none; } }

.txt-input[b-0miskypr7q] { display: flex; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--ths-line-soft); }
.txt-input input[b-0miskypr7q] {
    flex: 1; min-width: 0; border: 1px solid var(--ths-line-soft); border-radius: 20px; padding: 8px 14px;
    font: inherit; font-size: var(--ths-fs-md); outline: none;
}
.txt-input input:focus[b-0miskypr7q] { border-color: var(--ths-brand); }
/* iPhone Safari zooms into a field under 16 px when it's tapped, and the zoomed sheet ran past the screen
   edges (2026-11-10); 16 px on phones stops that without blocking pinch-zoom */
@media (max-width: 600px) {
    .txt-input input[b-0miskypr7q] { font-size: var(--ths-fs-lg); }
}
.txt-send[b-0miskypr7q] { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--ths-brand); color: white; cursor: pointer;
            display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.txt-send:disabled[b-0miskypr7q] { background: var(--ths-neutral); cursor: default; }
.txt-left[b-0miskypr7q] { margin: 0; padding: 0 16px 8px; font-size: var(--ths-fs-micro); color: var(--ths-text-3); }

/* A packaged product: offer the barcode */
.txt-scan[b-0miskypr7q] { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--ths-line-soft); }

/* "Not this food" */
.txt-notthis[b-0miskypr7q] { border: 0; background: none; padding: 0 0 0 8px; font-size: var(--ths-fs-sm); color: var(--ths-text-2); cursor: pointer; text-decoration: underline; white-space: nowrap; }
.txt-notthis:disabled[b-0miskypr7q] { opacity: 0.5; cursor: default; }
.txt-alts[b-0miskypr7q] { display: block; padding: 4px 0 8px; }

/* Optional questions: tap to answer */
.txt-question[b-0miskypr7q] { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--ths-line-soft); }
.txt-q-text[b-0miskypr7q] { margin: 0 0 6px; font-size: var(--ths-fs-md); }
.txt-q-item[b-0miskypr7q] { font-weight: 600; }
.txt-chips[b-0miskypr7q] { display: flex; flex-wrap: wrap; gap: 6px; }
.txt-chip[b-0miskypr7q] {
    border: 1px solid rgba(32,178,170,0.6); background: var(--ths-surface); color: var(--ths-brand-strong); border-radius: 16px;
    padding: 4px 12px; font-size: var(--ths-fs-md); cursor: pointer;
}
.txt-chip:hover[b-0miskypr7q] { background: var(--ths-primary-tint); }
.txt-chip:disabled[b-0miskypr7q] { opacity: 0.5; cursor: default; }
.txt-chip-skip[b-0miskypr7q] { border-color: var(--ths-line-soft); color: var(--ths-text-2); }
.txt-chip-on[b-0miskypr7q], .txt-chip-on:hover[b-0miskypr7q] { background: var(--ths-brand); border-color: var(--ths-brand); color: white; }
.txt-chip-done[b-0miskypr7q] { font-weight: 600; }
/* A recorded food: its chosen chip, grams, "More options" (an editable entry, not a verdict) */
.txt-items li.txt-entry[b-0miskypr7q] { justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 6px; }
.txt-chip-static[b-0miskypr7q], .txt-chip-static:hover[b-0miskypr7q] { cursor: default; }
.txt-items li.txt-sizes[b-0miskypr7q] { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; padding-left: 12px; margin-bottom: 4px; }
.txt-foot[b-0miskypr7q] { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.txt-saved[b-0miskypr7q] { font-size: var(--ths-fs-md); font-weight: 600; color: var(--ths-text); margin: 0 0 2px; }
.txt-saved-btn[b-0miskypr7q] { display: block; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font-family: inherit; }
.txt-understood[b-0miskypr7q] { font-size: var(--ths-fs-md); color: var(--ths-text); margin: 0 0 8px; }
.txt-items li.txt-food[b-0miskypr7q] { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 8px; }
.txt-food-name[b-0miskypr7q] { font-weight: 600; font-size: var(--ths-fs-md); }
.txt-food-amount[b-0miskypr7q] { font-size: var(--ths-fs-md); color: var(--ths-text); }
.txt-food .txt-chips[b-0miskypr7q] { margin-top: 4px; }
.txt-chip-open[b-0miskypr7q] { background: var(--ths-primary-tint); }
.txt-saved-mark[b-0miskypr7q] { color: var(--ths-brand-strong); }
.txt-foot .txt-undo[b-0miskypr7q] { margin-top: 0; }

/* Phones: the button sits above the bottom navigation */
@media (max-width: 959.98px) {
    .txt-fab[b-0miskypr7q] { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}

/* "Change amount": any amount in grams */
.txt-grams-row[b-0miskypr7q] { display: flex; align-items: center; gap: var(--ths-space-2); margin-top: var(--ths-space-2); }
.txt-grams[b-0miskypr7q] { width: 88px; padding: 6px 8px; border: 1px solid var(--ths-line); border-radius: var(--ths-radius-md); font: inherit; }
.txt-grams-unit[b-0miskypr7q] { color: var(--ths-text-2); }

/* Meal photo (2026-11-19): a camera button left of the field (the file input inside it, hidden), the photo's
   thumbnail in the user's bubble */
.txt-cam[b-0miskypr7q] {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--ths-brand-strong); border: 1px solid var(--ths-line-soft); background: var(--ths-surface);
}
.txt-cam-off[b-0miskypr7q] { opacity: .5; pointer-events: none; }
[b-0miskypr7q] .txt-file { display: none; }
.txt-photo[b-0miskypr7q] { display: block; max-width: 180px; max-height: 180px; border-radius: var(--ths-radius-tile); margin-bottom: 4px; object-fit: cover; }
/* /Shared/TipScreen.razor.rz.scp.css */
/* Full screen over the app, the onboarding's look: one column, the buttons at the bottom */
.tip-screen[b-alq7zuq4za] {
    position: fixed;
    inset: 0;
    z-index: 1400;   /* above the app bar, the drawer and the bottom navigation */
    background: var(--ths-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(24px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
}

.tip-body[b-alq7zuq4za], .tip-actions[b-alq7zuq4za] {
    width: 100%;
    max-width: 480px;
}

.tip-body[b-alq7zuq4za] {
    flex: 1;
    padding-top: 24px;
}

[b-alq7zuq4za] .tip-icon {
    color: var(--ths-brand);
    font-size: var(--ths-icon-xl);
    margin-bottom: 12px;
}

.tip-title[b-alq7zuq4za] {
    font-size: var(--ths-fs-2xl);
    line-height: 1.25;
    font-weight: 700;
    color: var(--ths-text);
    margin: 0 0 16px;
}

.tip-text[b-alq7zuq4za] {
    font-size: var(--ths-fs-lg);
    line-height: 1.5;
    color: var(--ths-text);
    margin: 0 0 12px;
}

.tip-actions[b-alq7zuq4za] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
}

.tip-primary[b-alq7zuq4za], .tip-secondary[b-alq7zuq4za] {
    width: 100%;
    min-height: 52px;
    border-radius: 26px;
    font-size: var(--ths-fs-lg);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.tip-primary[b-alq7zuq4za] {
    border: none;
    background: var(--ths-brand);
    color: var(--ths-text-on-brand);
}

.tip-secondary[b-alq7zuq4za] {
    border: 1.5px solid rgba(32, 178, 170, 0.6);
    background: transparent;
    color: var(--ths-brand-strong);
}

.tip-primary:disabled[b-alq7zuq4za], .tip-secondary:disabled[b-alq7zuq4za] { opacity: 0.45; cursor: default; }
/* /Shared/WeightGadget.razor.rz.scp.css */
.wg-gadget[b-x8z8gr7etv] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wg-header[b-x8z8gr7etv] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wg-link-btn[b-x8z8gr7etv] {
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: center;
}

.wg-current[b-x8z8gr7etv] {
    margin: 2px 0 0;
    font-size: var(--ths-fs-2xl);
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.wg-target[b-x8z8gr7etv] {
    margin: 0;
    font-size: var(--ths-fs-md);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.wg-note[b-x8z8gr7etv] {
    font-size: var(--ths-fs-sm);
    font-weight: 400;
    color: var(--mud-palette-text-secondary);
}

.wg-empty[b-x8z8gr7etv] {
    margin: 0;
    font-size: var(--ths-fs-md);
    color: var(--mud-palette-text-secondary);
}
/* /Shared/WhatsNewScreen.razor.rz.scp.css */
/* What's new (Shared/WhatsNewScreen): the tip screen's look, full screen over the app */
.tip-screen[b-ec5c6tno5b] {
    position: fixed;
    inset: 0;
    z-index: 1400;   /* above the app bar, the drawer and the bottom navigation */
    background: var(--ths-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: calc(24px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
}

.tip-body[b-ec5c6tno5b], .tip-actions[b-ec5c6tno5b] {
    width: 100%;
    max-width: 480px;
}

.tip-body[b-ec5c6tno5b] {
    flex: 1;
    padding-top: 24px;
}

[b-ec5c6tno5b] .tip-icon {
    color: var(--ths-brand);
    font-size: var(--ths-icon-xl);
    margin-bottom: 12px;
}

.tip-title[b-ec5c6tno5b] {
    font-size: var(--ths-fs-2xl);
    line-height: 1.25;
    font-weight: 700;
    color: var(--ths-text);
    margin: 0 0 16px;
}

.tip-text[b-ec5c6tno5b] {
    font-size: var(--ths-fs-lg);
    line-height: 1.5;
    color: var(--ths-text);
    margin: 0 0 12px;
}

.tip-actions[b-ec5c6tno5b] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
}

.tip-primary[b-ec5c6tno5b], .tip-secondary[b-ec5c6tno5b] {
    width: 100%;
    min-height: 52px;
    border-radius: 26px;
    font-size: var(--ths-fs-lg);
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.tip-primary[b-ec5c6tno5b] {
    border: none;
    background: var(--ths-brand);
    color: var(--ths-text-on-brand);
}

.tip-secondary[b-ec5c6tno5b] {
    border: 1.5px solid rgba(32, 178, 170, 0.6);
    background: transparent;
    color: var(--ths-brand-strong);
}

.tip-primary:disabled[b-ec5c6tno5b], .tip-secondary:disabled[b-ec5c6tno5b] { opacity: 0.45; cursor: default; }

/* What's new: the release's items as a list (copied from TipScreen.razor.css, the same look) */
.wn-date[b-ec5c6tno5b] { font-size: var(--ths-fs-sm); color: var(--ths-text-2); margin: -8px 0 16px; }
.wn-list[b-ec5c6tno5b] { margin: 0 0 16px; padding-left: 20px; }
.wn-list li[b-ec5c6tno5b] { font-size: var(--ths-fs-lg); line-height: 1.5; color: var(--ths-text); margin-bottom: 10px; }
