.weles-fr02-demo-card {
    --weles-fr02-ink: #f5f5f3;
    --weles-fr02-muted: #b9b9b4;
    --weles-fr02-line: rgba(214, 192, 143, 0.24);
    --weles-fr02-surface: #121214;
    --weles-fr02-soft: rgba(255, 255, 255, 0.045);
    --weles-fr02-accent: #d6c08f;
    box-sizing: border-box;
    width: min(100%, 1080px);
    margin: 24px auto;
    padding: clamp(18px, 3vw, 34px);
    color: var(--weles-fr02-ink);
    background: var(--weles-fr02-surface);
    border: 1px solid var(--weles-fr02-line);
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
    font-family: inherit;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.weles-fr02-demo-card *,
.weles-fr02-demo-card *::before,
.weles-fr02-demo-card *::after {
    box-sizing: border-box;
}

.weles-fr02-demo-card__header,
.weles-fr02-demo-card__section,
.weles-fr02-demo-card__notice {
    margin: 0 0 24px;
}

.weles-fr02-demo-card__eyebrow {
    margin: 0 0 8px;
    color: var(--weles-fr02-accent);
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.01em;
    text-transform: none;
}

.weles-fr02-demo-card__title {
    margin: 0;
    color: var(--weles-fr02-ink);
    font-size: clamp(1.55rem, 4vw, 2.35rem);
    line-height: 1.15;
}

.weles-fr02-demo-card__lead {
    max-width: 75ch;
    margin: 12px 0 0;
    color: var(--weles-fr02-muted);
}

.weles-fr02-demo-card__weights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 26px;
}

.weles-fr02-demo-card__weights > div {
    min-width: 0;
    padding: 14px;
    background: var(--weles-fr02-soft);
    border-radius: 16px;
}

.weles-fr02-demo-card__weights dt {
    color: var(--weles-fr02-muted);
    font-size: 0.85rem;
}

.weles-fr02-demo-card__weights dd {
    margin: 4px 0 0;
    color: var(--weles-fr02-ink);
    font-size: 1.15rem;
    font-weight: 750;
}

.weles-fr02-demo-card__section h3,
.weles-fr02-demo-card__notice h3 {
    margin: 0 0 12px;
    color: var(--weles-fr02-ink);
    font-size: 1.2rem;
}

.weles-fr02-demo-card__table-wrap {
    max-width: 100%;
    overflow-x: auto;
    border: 1px solid var(--weles-fr02-line);
    border-radius: 16px;
}

.weles-fr02-demo-card__table-wrap:focus-visible {
    outline: 3px solid var(--weles-fr02-accent);
    outline-offset: 3px;
}

.weles-fr02-demo-card__table {
    width: 100%;
    min-width: 660px;
    border-collapse: collapse;
    background: var(--weles-fr02-surface);
}

.weles-fr02-demo-card__table caption {
    padding: 12px 14px;
    color: var(--weles-fr02-muted);
    text-align: left;
}

.weles-fr02-demo-card__table th,
.weles-fr02-demo-card__table td {
    padding: 11px 14px;
    border-top: 1px solid var(--weles-fr02-line);
    text-align: right;
    white-space: nowrap;
}

.weles-fr02-demo-card__table th:first-child,
.weles-fr02-demo-card__table td:first-child {
    text-align: left;
}

.weles-fr02-demo-card__table thead th {
    color: var(--weles-fr02-ink);
    background: var(--weles-fr02-soft);
}

.weles-fr02-demo-card__ingredients {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.weles-fr02-demo-card__ingredients li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 12px 14px;
    background: var(--weles-fr02-soft);
    border-radius: 14px;
}

.weles-fr02-demo-card__ingredients strong {
    white-space: nowrap;
}

.weles-fr02-demo-card__notice {
    margin-bottom: 0;
    padding: 16px 18px;
    color: var(--weles-fr02-ink);
    background: rgba(214, 192, 143, 0.09);
    border: 1px solid rgba(214, 192, 143, 0.34);
    border-radius: 16px;
}

.weles-fr02-demo-card__notice p,
.weles-fr02-demo-card__notice ul {
    margin: 8px 0 0;
}

.weles-fr02-demo-card__notice ul {
    padding-left: 20px;
}

@media (max-width: 640px) {
    .weles-fr02-demo-card {
        margin: 16px 0;
        border-radius: 18px;
    }

    .weles-fr02-demo-card__weights,
    .weles-fr02-demo-card__ingredients {
        grid-template-columns: 1fr;
    }
}

.weles-fr02-recipe-filter {
    box-sizing: border-box;
    width: min(100%, 1080px);
    margin: 24px auto 12px;
    padding: 16px;
    color: #f5f5f3;
    background: #121214;
    border: 1px solid rgba(214, 192, 143, 0.24);
    border-radius: 18px;
    font-family: inherit;
}

.weles-fr02-recipe-filter *,
.weles-fr02-recipe-filter *::before,
.weles-fr02-recipe-filter *::after {
    box-sizing: border-box;
}

.weles-fr02-recipe-filter__label {
    display: block;
    margin: 0 0 8px;
    font-weight: 750;
}

.weles-fr02-recipe-filter__hint {
    margin: 0 0 12px;
    color: #b9b9b4;
    font-size: 0.92rem;
    line-height: 1.5;
}

.weles-fr02-recipe-filter__controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.weles-fr02-recipe-filter__input,
.weles-fr02-recipe-filter__clear {
    min-height: 44px;
    padding: 10px 12px;
    color: #f5f5f3;
    background: #0b0b0c;
    border: 1px solid rgba(214, 192, 143, 0.38);
    border-radius: 12px;
    font: inherit;
}

.weles-fr02-recipe-filter__clear {
    color: #050506;
    background: #d6c08f;
    border-color: #d6c08f;
    cursor: pointer;
}

.weles-fr02-recipe-filter__input:focus-visible,
.weles-fr02-recipe-filter__clear:focus-visible {
    outline: 3px solid #d6c08f;
    outline-offset: 3px;
}

.weles-fr02-recipe-filter__empty {
    margin: 14px 0 0;
    padding: 12px 14px;
    color: #f5f5f3;
    background: rgba(214, 192, 143, 0.09);
    border: 1px solid rgba(214, 192, 143, 0.34);
    border-radius: 12px;
}

.wm-fit-app-screen-recipes.wm-fit-app-screen,
.wm-fit-app-screen-menu.wm-fit-app-screen {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
}

.wm-fit-app-screen-recipes > .elementor-widget-heading,
.wm-fit-app-screen-menu > .elementor-widget-heading,
.wm-fit-app-screen-recipes > .weles-fr02-recipe-filter,
.wm-fit-app-screen-recipes > .weles-fr02-demo-card,
.wm-fit-app-screen-menu > .weles-fr02-menu-state {
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
}

.wm-fit-app-screen-recipes > .elementor-widget-heading h2,
.wm-fit-app-screen-menu > .elementor-widget-heading h2 {
    width: 100%;
    margin: 0;
    overflow-wrap: normal;
    word-break: normal;
}

/* The selected tab already names this screen; avoid a duplicate page heading. */
.wm-fit-app-screen-recipes > .elementor-widget-heading {
    display: none !important;
}

/* The selected diary tab names the screen; the large legacy test heading is redundant. */
.wm-fit-app-screen-diary > .elementor-widget-heading {
    display: none !important;
}

.wm-fit-app-screen-diary.wm-fit-app-screen {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 18px !important;
}

.weles-fr02-diary {
    box-sizing: border-box;
    display: grid;
    gap: 20px;
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: clamp(18px, 3vw, 30px);
    color: #f5f5f3;
    background: #121214;
    border: 1px solid rgba(214, 192, 143, 0.24);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.weles-fr02-diary *,
.weles-fr02-diary *::before,
.weles-fr02-diary *::after {
    box-sizing: border-box;
}

.weles-fr02-diary__eyebrow,
.weles-fr02-diary__intro,
.weles-fr02-diary__output h3,
.weles-fr02-diary__output p {
    margin: 0;
}

.weles-fr02-diary__eyebrow {
    color: #d6c08f;
    font-weight: 750;
}

.weles-fr02-diary__intro,
.weles-fr02-diary__output p,
.weles-fr02-diary__field span {
    color: #b9b9b4;
}

.weles-fr02-diary__form,
.weles-fr02-diary fieldset {
    display: grid;
    gap: 14px;
    margin: 0;
}

.weles-fr02-diary fieldset {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(214, 192, 143, 0.2);
    border-radius: 16px;
}

.weles-fr02-diary legend {
    padding: 0 6px;
    color: #f5f5f3;
    font-weight: 750;
}

.weles-fr02-diary__columns,
.weles-fr02-diary__optional,
.weles-fr02-diary__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.weles-fr02-diary__field {
    display: grid;
    gap: 7px;
}

.weles-fr02-diary__field input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: #f5f5f3;
    background: #0b0b0c;
    border: 1px solid rgba(214, 192, 143, 0.38);
    border-radius: 12px;
    font: inherit;
}

.weles-fr02-diary__checks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.weles-fr02-diary__checks legend {
    grid-column: 1 / -1;
}

.weles-fr02-diary__check {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 9px 11px;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 12px;
}

.weles-fr02-diary__check input {
    inline-size: 20px;
    block-size: 20px;
}

.weles-fr02-diary__submit,
.weles-fr02-diary__login a {
    justify-self: start;
    min-height: 44px;
    padding: 11px 18px;
    color: #050506;
    background: #d6c08f;
    border: 1px solid #d6c08f;
    border-radius: 12px;
    font: inherit;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.weles-fr02-diary__submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.weles-fr02-diary__field input:focus-visible,
.weles-fr02-diary__check input:focus-visible,
.weles-fr02-diary__submit:focus-visible,
.weles-fr02-diary__login a:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.weles-fr02-diary__output {
    display: grid;
    gap: 12px;
    padding: 16px;
    background: rgba(214, 192, 143, 0.09);
    border: 1px solid rgba(214, 192, 143, 0.3);
    border-radius: 16px;
}

.weles-fr02-diary__metrics > div {
    display: grid;
    gap: 5px;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.045);
    border-radius: 14px;
}

.weles-fr02-diary__metrics span {
    color: #b9b9b4;
}

.weles-fr02-diary__neutral-note {
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .weles-fr02-diary {
        border-radius: 18px;
    }

    .weles-fr02-diary__columns,
    .weles-fr02-diary__optional,
    .weles-fr02-diary__metrics,
    .weles-fr02-diary__checks {
        grid-template-columns: 1fr;
    }
}

.weles-fr02-menu-state {
    box-sizing: border-box;
    display: grid;
    gap: 16px;
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(18px, 3vw, 30px);
    color: #f5f5f3;
    background: #121214;
    border: 1px solid rgba(214, 192, 143, 0.24);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.weles-fr02-menu-state h3,
.weles-fr02-menu-state p {
    margin: 0;
}

.weles-fr02-menu-state p {
    color: #b9b9b4;
    line-height: 1.55;
}

.weles-fr02-menu-state__login {
    justify-self: start;
    min-height: 44px;
    padding: 11px 18px;
    color: #050506;
    background: #d6c08f;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}

.weles-fr02-menu-state__login:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.weles-fr02-menu-state__meals,
.weles-fr02-menu-state__totals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.weles-fr02-menu-state__meals li,
.weles-fr02-menu-state__totals > div {
    min-width: 0;
    padding: 13px 15px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(214, 192, 143, 0.14);
    border-radius: 14px;
}

.weles-fr02-menu-state__meals strong,
.weles-fr02-menu-state__totals dt {
    color: #d6c08f;
}

.weles-fr02-menu-state__totals dd {
    margin: 4px 0 0;
    color: #f5f5f3;
    font-weight: 750;
}

.weles-fr02-recipe-filter__empty[hidden] {
    display: none;
}

/* NUT-G07: authenticated own-recipe workspace. */
.weles-nut-g07 {
    --weles-g07-ink: #f5f5f3;
    --weles-g07-muted: #b9b9b4;
    --weles-g07-line: rgba(214, 192, 143, 0.28);
    --weles-g07-surface: #121214;
    --weles-g07-soft: rgba(255, 255, 255, 0.05);
    --weles-g07-accent: #d6c08f;
    width: min(1160px, calc(100% - 32px));
    margin: 28px auto 56px;
    color: var(--weles-g07-ink);
    font: inherit;
}

.weles-nut-g07 *,
.weles-nut-g07 *::before,
.weles-nut-g07 *::after {
    box-sizing: border-box;
}

.weles-nut-g07__toolbar,
.weles-nut-g07__status,
.weles-nut-g07__library,
.weles-nut-g07__workspace {
    border: 1px solid var(--weles-g07-line);
    background: var(--weles-g07-surface);
    border-radius: 18px;
}

.weles-nut-g07__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
}

.weles-nut-g07__intro,
.weles-nut-g07__status,
.weles-nut-g07__form-hint,
.weles-nut-g07__detail-meta,
.weles-nut-g07__server-note {
    margin: 0;
    color: var(--weles-g07-muted);
    line-height: 1.55;
}

.weles-nut-g07__status {
    margin-top: 12px;
    padding: 11px 16px;
    border-radius: 12px;
}

.weles-nut-g07__status.is-success,
.weles-nut-g07__status.is-empty {
    border-color: rgba(92, 204, 146, 0.35);
}

.weles-nut-g07__status.is-error,
.weles-nut-g07__status.is-stale,
.weles-nut-g07__status.is-offline {
    border-color: rgba(231, 119, 119, 0.48);
    color: #f0c3c3;
}

.weles-nut-g07__layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
    gap: 18px;
    margin-top: 18px;
    align-items: start;
}

.weles-nut-g07__library,
.weles-nut-g07__workspace {
    min-width: 0;
    padding: 20px;
}

.weles-nut-g07__list,
.weles-nut-g07__ingredients-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.weles-nut-g07__list {
    display: grid;
    gap: 8px;
}

.weles-nut-g07__recipe-link {
    width: 100%;
    display: grid;
    gap: 4px;
    padding: 13px 14px;
    text-align: left;
    color: var(--weles-g07-ink);
    background: var(--weles-g07-soft);
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
}

.weles-nut-g07__recipe-link[aria-current="true"] {
    border-color: var(--weles-g07-accent);
    color: var(--weles-g07-accent);
}

.weles-nut-g07__recipe-meta,
.weles-nut-g07__empty,
.weles-nut-g07__panel-message {
    color: var(--weles-g07-muted);
    font-size: 0.88rem;
}

.weles-nut-g07__form-title,
.weles-nut-g07__detail-title,
.weles-nut-g07__ingredients-view h3 {
    margin: 0;
    color: var(--weles-g07-ink);
}

.weles-nut-g07__form-hint,
.weles-nut-g07__detail-meta {
    margin-top: 7px;
}

.weles-nut-g07__form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.38fr) minmax(150px, 0.38fr);
    gap: 14px;
    margin-top: 22px;
}

.weles-nut-g07__field {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: var(--weles-g07-muted);
    font-size: 0.92rem;
}

.weles-nut-g07__input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 13px;
    color: var(--weles-g07-ink);
    background: #0d0d0f;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 11px;
}

.weles-nut-g07__ingredient-fieldset {
    margin: 24px 0 0;
    padding: 18px;
    border: 1px solid var(--weles-g07-line);
    border-radius: 14px;
}

.weles-nut-g07__ingredient-fieldset legend {
    padding: 0 8px;
    color: var(--weles-g07-ink);
    font-weight: 700;
}

.weles-nut-g07__ingredient-rows {
    display: grid;
    gap: 13px;
    margin-bottom: 14px;
}

.weles-nut-g07__ingredient-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(110px, 0.28fr) auto;
    gap: 10px;
    align-items: end;
}

.weles-nut-g07__suggestions {
    position: absolute;
    z-index: 20;
    top: calc(100% + 5px);
    left: 0;
    width: min(420px, 100%);
    padding: 7px;
    background: #18181b;
    border: 1px solid var(--weles-g07-line);
    border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.weles-nut-g07__suggestion {
    width: 100%;
    padding: 10px 11px;
    color: var(--weles-g07-ink);
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.weles-nut-g07__suggestion:hover,
.weles-nut-g07__suggestion:focus-visible {
    color: #0d0d0f;
    background: var(--weles-g07-accent);
}

.weles-nut-g07__suggestion-empty {
    margin: 0;
    padding: 10px;
    color: var(--weles-g07-muted);
}

.weles-nut-g07__primary,
.weles-nut-g07__secondary,
.weles-nut-g07__remove {
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 11px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.weles-nut-g07__primary {
    color: #0d0d0f;
    background: var(--weles-g07-accent);
    border: 1px solid var(--weles-g07-accent);
}

.weles-nut-g07__secondary,
.weles-nut-g07__remove {
    color: var(--weles-g07-ink);
    background: transparent;
    border: 1px solid var(--weles-g07-line);
}

.weles-nut-g07__remove {
    color: #efc7c7;
}

.weles-nut-g07__primary:disabled {
    cursor: wait;
    opacity: 0.58;
}

.weles-nut-g07__primary:focus-visible,
.weles-nut-g07__secondary:focus-visible,
.weles-nut-g07__remove:focus-visible,
.weles-nut-g07__recipe-link:focus-visible,
.weles-nut-g07__input:focus-visible,
.weles-nut-g07__table-wrap:focus-visible {
    outline: 3px solid var(--weles-g07-accent);
    outline-offset: 2px;
}

.weles-nut-g07__form-actions,
.weles-nut-g07__detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.weles-nut-g07__detail-header {
    align-items: flex-start;
    margin-top: 0;
}

.weles-nut-g07__weights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.weles-nut-g07__weights > div {
    padding: 14px;
    background: var(--weles-g07-soft);
    border-radius: 12px;
}

.weles-nut-g07__weights dt {
    color: var(--weles-g07-muted);
    font-size: 0.88rem;
}

.weles-nut-g07__weights dd {
    margin: 5px 0 0;
    color: var(--weles-g07-ink);
    font-weight: 800;
}

.weles-nut-g07__ingredients-view {
    margin-top: 24px;
}

.weles-nut-g07__ingredients-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.weles-nut-g07__ingredients-list li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    background: var(--weles-g07-soft);
    border-radius: 10px;
}

.weles-nut-g07__calculation {
    margin-top: 26px;
}

.weles-nut-g07__server-note {
    margin-bottom: 10px;
    color: var(--weles-g07-accent);
}

.weles-nut-g07__table-wrap {
    overflow-x: auto;
    border: 1px solid var(--weles-g07-line);
    border-radius: 12px;
}

.weles-nut-g07__table {
    width: 100%;
    min-width: 590px;
    border-collapse: collapse;
    color: var(--weles-g07-ink);
}

.weles-nut-g07__table caption {
    padding: 13px;
    color: var(--weles-g07-muted);
    text-align: left;
}

.weles-nut-g07__table th,
.weles-nut-g07__table td {
    padding: 11px 13px;
    border-top: 1px solid var(--weles-g07-line);
    text-align: right;
}

.weles-nut-g07__table th:first-child {
    text-align: left;
}

.weles-nut-g07__table thead th {
    background: var(--weles-g07-soft);
}

.weles-nut-g08a__add {
    margin-top: 28px;
    padding: 20px;
    color: var(--weles-g07-ink);
    background: var(--weles-g07-soft);
    border: 1px solid var(--weles-g07-line);
    border-radius: 14px;
}

.weles-nut-g08a__add h3,
.weles-nut-g08a__hint,
.weles-nut-g08a__status {
    margin: 0;
}

.weles-nut-g08a__hint {
    margin-top: 6px;
    color: var(--weles-g07-muted);
}

.weles-nut-g08a__fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.weles-nut-g08a__field {
    display: grid;
    gap: 7px;
    color: var(--weles-g07-muted);
    font-weight: 700;
}

.weles-nut-g08a__field input,
.weles-nut-g08a__field select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    color: var(--weles-g07-ink);
    background: var(--weles-g07-surface);
    border: 1px solid var(--weles-g07-line);
    border-radius: 10px;
}

.weles-nut-g08a__submit {
    min-height: 46px;
    margin-top: 16px;
    padding: 10px 18px;
    color: #121214;
    background: var(--weles-g07-accent);
    border: 1px solid var(--weles-g07-accent);
    border-radius: 10px;
    font-weight: 800;
}

.weles-nut-g08a__submit:disabled {
    cursor: wait;
    opacity: 0.65;
}

.weles-nut-g08a__field input:focus-visible,
.weles-nut-g08a__field select:focus-visible,
.weles-nut-g08a__submit:focus-visible {
    outline: 3px solid var(--weles-g07-accent);
    outline-offset: 2px;
}

.weles-nut-g08a__status {
    min-height: 24px;
    margin-top: 12px;
    color: var(--weles-g07-muted);
}

.weles-nut-g08a__status[data-state="success"] {
    color: #8fd6ad;
}

.weles-nut-g08a__status[data-state="error"],
.weles-nut-g08a__status[data-state="offline"] {
    color: #f2a3a3;
}

.weles-nut-g08a__diary {
    --weles-g08a-ink: #f5f5f3;
    --weles-g08a-muted: #b9b9b4;
    --weles-g08a-line: rgba(214, 192, 143, 0.28);
    --weles-g08a-surface: #121214;
    --weles-g08a-soft: rgba(255, 255, 255, 0.05);
    --weles-g08a-accent: #d6c08f;
    width: min(100% - 32px, 1160px);
    margin: 20px auto;
    padding: 22px;
    color: var(--weles-g08a-ink);
    background: var(--weles-g08a-surface);
    border: 1px solid var(--weles-g08a-line);
    border-radius: 16px;
}

.weles-nut-g08a__eyebrow,
.weles-nut-g08a__empty,
.weles-nut-g08a__totals {
    margin: 0;
}

.weles-nut-g08a__eyebrow {
    color: var(--weles-g08a-accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.weles-nut-g08a__empty {
    margin-top: 10px;
    color: var(--weles-g08a-muted);
}

.weles-nut-g08a__diary-list {
    display: grid;
    gap: 9px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.weles-nut-g08a__diary-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    background: var(--weles-g08a-soft);
    border-radius: 10px;
}

.weles-nut-g08a__diary-item span,
.weles-nut-g08a__totals {
    color: var(--weles-g08a-muted);
}

.weles-nut-g08a__totals {
    margin-top: 14px;
    font-weight: 700;
}

@media (max-width: 760px) {
    .weles-nut-g07 {
        width: min(100% - 20px, 1160px);
        margin-top: 18px;
    }

    .weles-nut-g07__toolbar,
    .weles-nut-g07__detail-header,
    .weles-nut-g07__form-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .weles-nut-g07__layout,
    .weles-nut-g07__form-grid,
    .weles-nut-g07__ingredient-row,
    .weles-nut-g07__weights {
        grid-template-columns: minmax(0, 1fr);
    }

    .weles-nut-g07__library,
    .weles-nut-g07__workspace,
    .weles-nut-g07__toolbar {
        padding: 16px;
    }

    .weles-nut-g07__suggestions {
        position: static;
        width: 100%;
        margin-top: 6px;
        grid-column: 1;
    }

    .weles-nut-g07__primary,
    .weles-nut-g07__secondary,
    .weles-nut-g07__remove {
        width: 100%;
    }

    .weles-nut-g08a__fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .weles-nut-g08a__submit {
        width: 100%;
    }

    .weles-nut-g08a__diary-item {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .weles-fr02-recipe-filter {
        margin: 16px 0 8px;
    }

    .weles-fr02-recipe-filter__controls {
        grid-template-columns: 1fr;
    }

    .weles-fr02-menu-state__meals,
    .weles-fr02-menu-state__totals {
        grid-template-columns: 1fr;
    }
}
