/* Tafelrunde — Mobile-first Basis-Stylesheet.
 * Wird mit jeder Seite geladen; sehr knapp gehalten, weil das UI noch im Aufbau ist. */

:root {
    --c-bg:        #fbf7f2;
    --c-surface:   #ffffff;
    --c-text:      #2a1d14;
    --c-muted:     #7a6a5d;
    --c-border:    #e7ddd1;
    --c-primary:   #7a4f3a;
    --c-primary-h: #5d3b2c;
    --c-danger:    #b3361a;
    --c-danger-h:  #8a2a14;
    --c-link:      #7a4f3a;
    --radius:      12px;
    --shadow-sm:   0 1px 2px rgba(0,0,0,.05);
    --shadow:      0 4px 16px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

/* Eigene Klassen mit display:flex/grid uebersteuern sonst das HTML-hidden-
 * Attribut, weil sie spaeter im Stylesheet stehen und gleiche Spezifitaet
 * wie das UA-Default haben. !important macht hidden wieder verbindlich.
 */
[hidden] { display: none !important; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--c-bg);
    color: var(--c-text);
    font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    padding-bottom: env(safe-area-inset-bottom);
}

main {
    max-width: 480px;
    margin: 0 auto;
    padding: max(env(safe-area-inset-top), 16px) 20px 32px;
}

h1 { font-size: 1.6rem; margin: 0 0 4px; }
h2 { font-size: 1.15rem; margin: 24px 0 8px; }

p  { margin: 0 0 12px; }
.muted   { color: var(--c-muted); font-size: .92rem; }
.error   { color: var(--c-danger); font-size: .95rem; min-height: 1.2em; margin: 8px 0; }
.success { color: #2f6f3a; font-size: .95rem; margin: 8px 0; }

/* ── Cards ─────────────────────────────────────────── */

.card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 18px;
    margin: 14px 0;
    box-shadow: var(--shadow-sm);
}

/* ── Form-Elemente ─────────────────────────────────── */

label {
    display: block;
    font-weight: 500;
    margin: 12px 0 4px;
    font-size: .95rem;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
input[type="tel"] {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--c-text);
    -webkit-appearance: none;
    appearance: none;
}
input:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(122, 79, 58, .15);
}

button {
    width: 100%;
    padding: 13px 16px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--c-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    margin-top: 14px;
    -webkit-tap-highlight-color: transparent;
}
button:hover  { background: var(--c-primary-h); }
button:disabled { opacity: .55; cursor: not-allowed; }

button.secondary {
    background: transparent;
    color: var(--c-primary);
    border: 1px solid var(--c-border);
}
button.secondary:hover { background: var(--c-bg); }

button.danger { background: var(--c-danger); }
button.danger:hover { background: var(--c-danger-h); }

button.linklike {
    background: transparent;
    color: var(--c-link);
    text-decoration: underline;
    padding: 6px 0;
    font-size: .95rem;
    margin-top: 6px;
    text-align: left;
    width: auto;
}
button.linklike:hover { background: transparent; color: var(--c-primary-h); }

a { color: var(--c-link); }

/* ── PIN-Eingabe (vier 1-stellige Felder, monospace) ─ */

.pin-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 8px 0;
}
.pin-row input {
    width: 48px;
    text-align: center;
    font-size: 1.4rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: .05em;
    padding: 12px 0;
}

/* ── Profil-Header ─────────────────────────────────── */

.profile-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px 0 14px;
}
.profile-head .avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 700; font-size: 1.3rem;
}
.profile-head .info { line-height: 1.2; }
.profile-head .info .name { font-weight: 600; font-size: 1.1rem; }
.profile-head .info .email { font-size: .9rem; color: var(--c-muted); }
.profile-head .badge {
    margin-left: auto;
    font-size: .75rem;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    color: var(--c-muted);
}

/* ── Haupt-Navigation (Tiles auf der Profilseite) ──── */

.main-nav {
    display: grid;
    gap: 10px;
    margin: 14px 0;
}
.nav-tile {
    display: block;
    padding: 16px 18px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--c-text);
    box-shadow: var(--shadow-sm);
}
.nav-tile:hover { border-color: var(--c-primary); }
.nav-tile-title { display: block; font-weight: 600; font-size: 1.05rem; }
.nav-tile-sub   { display: block; font-size: .85rem; margin-top: 2px; }

/* ── Page-Header (Rezept-Liste/Detail) ─────────────── */

.page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 14px;
}
.page-header h1 { margin: 0; }
.back-link {
    display: grid; place-items: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    color: var(--c-text);
    text-decoration: none;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.back-link:hover { background: var(--c-bg); }

/* Toolbar (Suchfeld + Aktion) ─────────────────────── */

.toolbar {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin: 8px 0 14px;
}
.toolbar input[type="search"] {
    flex: 1 1 auto;
    margin: 0;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-weight: 600;
    background: var(--c-primary);
    color: #fff;
    border-radius: var(--radius);
    text-decoration: none;
    flex-shrink: 0;
}
.btn-primary:hover { background: var(--c-primary-h); color: #fff; }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    font-weight: 600;
    background: var(--c-surface);
    color: var(--c-primary);
    border: 1px solid var(--c-primary);
    border-radius: var(--radius);
    cursor: pointer;
    flex-shrink: 0;
    font-size: 1rem;
}
.btn-secondary:hover { background: var(--c-primary); color: #fff; }
.btn-secondary input[type="file"] { display: none; }

/* Import-Spinner (Codex-Vision-Wartedialog) ───────── */

.import-overlay {
    position: fixed;
    inset: 0;
    background: rgba(43, 29, 20, .55);
    display: grid;
    place-items: center;
    z-index: 50;
    padding: 24px;
}
.import-overlay-card {
    background: var(--c-surface);
    border-radius: var(--radius);
    padding: 24px 22px 20px;
    max-width: 320px;
    text-align: center;
    box-shadow: var(--shadow);
}
.import-spinner {
    width: 38px;
    height: 38px;
    margin: 0 auto 14px;
    border: 4px solid var(--c-border);
    border-top-color: var(--c-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.import-overlay h3 { margin: 0 0 6px; font-size: 1.05rem; }
.import-overlay p  { margin: 0; color: var(--c-muted); font-size: .9rem; }

/* URL-Import-Modal ────────────────────────────────── */

.url-modal {
    position: fixed;
    inset: 0;
    background: rgba(43, 29, 20, .55);
    display: grid;
    place-items: center;
    z-index: 50;
    padding: 24px;
}
.url-modal-card {
    background: var(--c-surface);
    border-radius: var(--radius);
    padding: 22px 20px 18px;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow);
}
.url-modal-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.url-modal-card p  { margin: 0 0 14px; font-size: .9rem; }
.url-modal-card input[type="url"] { margin: 0 0 6px; }
.url-modal-card .form-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 10px;
}
.url-modal-card .form-actions button { width: auto; padding: 10px 18px; margin-top: 0; }

/* Import-Hinweisbanner in recipe.html ──────────────── */

.import-banner {
    background: #fff8e7;
    border: 1px solid #e7d8a8;
    border-radius: var(--radius);
    padding: 10px 14px;
    margin: 0 0 14px;
    font-size: .92rem;
    color: #5a4a14;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.import-banner strong { color: #3f3308; }
.import-banner-cover {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e7d8a8;
}

/* Rezept-Liste ─────────────────────────────────────── */

.recipe-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.recipe-item {
    margin: 0 0 10px;
}
.recipe-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 10px 14px 10px 10px;
    text-decoration: none;
    color: var(--c-text);
    box-shadow: var(--shadow-sm);
}
.recipe-link:hover { border-color: var(--c-primary); }
.recipe-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
}
.recipe-thumb-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--c-bg);
    border: 1px dashed var(--c-border);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    color: var(--c-muted);
}
.recipe-link-body { min-width: 0; flex: 1; }
.recipe-title { font-weight: 600; font-size: 1.05rem; margin-bottom: 2px; }
.recipe-meta  { font-size: .85rem; }

/* Photo-Strip im Rezept-Detail ─────────────────────── */

.photo-strip-card { padding: 14px; }
.photo-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding: 4px 2px 8px;
    -webkit-overflow-scrolling: touch;
}
.photo-tile {
    position: relative;
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: var(--c-bg);
}
.photo-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.photo-tile.is-cover { border-color: var(--c-primary); }
.photo-cover-badge {
    position: absolute;
    top: 4px; left: 4px;
    background: var(--c-primary);
    color: #fff;
    font-size: .7rem;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 6px;
    pointer-events: none;
}
.photo-action {
    position: absolute;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: .85rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.photo-action.is-delete {
    right: 4px;
    background: rgba(0,0,0,.55);
}
.photo-action.is-make-cover {
    bottom: 4px;
    top: auto;
    right: 4px;
    width: auto;
    height: auto;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(0,0,0,.55);
    font-size: .7rem;
}
.photo-add-tile {
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
    border-radius: 10px;
    border: 2px dashed var(--c-border);
    background: var(--c-surface);
    color: var(--c-muted);
    font-size: 2rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.photo-add-tile:hover { border-color: var(--c-primary); color: var(--c-primary); }
.photo-add-tile input[type="file"] { display: none; }

/* Rezept-Detail/Form ──────────────────────────────── */

textarea,
select {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--c-text);
    -webkit-appearance: none;
    appearance: none;
}
textarea { resize: vertical; min-height: 80px; }
textarea:focus, select:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(122, 79, 58, .15);
}

.row { display: flex; gap: 10px; }
.row .col { flex: 1 1 0; min-width: 0; }
.row .col.col-2 { flex: 2 1 0; }

.row-fieldset {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 8px 12px 10px;
    margin: 12px 0 4px;
}
.row-fieldset legend { padding: 0 6px; font-size: .9rem; color: var(--c-muted); }
.row-fieldset .radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 12px 0 0;
    font-weight: 500;
}
.row-fieldset .radio input { margin: 0; width: auto; }

.ingredient-list { display: flex; flex-direction: column; gap: 6px; margin: 8px 0; }
.ingredient-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 70px 70px 36px;
    gap: 6px;
    align-items: center;
}
.ingredient-row input { margin: 0; padding: 10px 12px; font-size: .95rem; }
.ing-del {
    width: 36px; height: 38px;
    margin: 0; padding: 0;
    background: transparent;
    color: var(--c-danger);
    border: 1px solid var(--c-border);
    font-size: 1.2rem;
    line-height: 1;
}
.ing-del:hover { background: var(--c-bg); }

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
}
.form-actions button { margin: 0; }

/* ── Tags (Chips, Filter, Vorschlaege) ─────────────── */

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: .9rem;
    font-weight: 500;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    color: var(--c-text);
    cursor: pointer;
    line-height: 1.2;
    width: auto;
    margin: 0;
}
.chip:hover { border-color: var(--c-primary); }
.chip-x { font-size: 1.05rem; line-height: 1; opacity: .6; }
.chip-removable { background: var(--c-surface); }
.chip-suggest {
    background: transparent;
    color: var(--c-muted);
    border-style: dashed;
}
.chip-suggest:hover { color: var(--c-primary); border-color: var(--c-primary); }
.chip-filter.is-active {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

.tag-chips,
.tag-suggestions,
.tag-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 8px;
}
.tag-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.tag-filter::-webkit-scrollbar { display: none; }
.tag-filter .chip { flex-shrink: 0; }

.tag-suggest-label { font-size: .85rem; margin: 8px 0 4px; }

/* ── Bewertung (Stars, Toggle, Liste) ──────────────── */

.stars-picker {
    display: flex;
    gap: 4px;
    margin: 6px 0 12px;
}
.star {
    width: 40px; height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    color: #d8c8b6;
    font-size: 1.8rem;
    line-height: 1;
    margin: 0;
    cursor: pointer;
}
.star::before { content: "★"; }
.star.is-on { color: #d6a52e; }

.toggle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0 4px;
    font-weight: 500;
}
.toggle-row input[type="checkbox"] {
    width: 18px; height: 18px;
    margin: 0;
    accent-color: var(--c-primary);
    flex-shrink: 0;
}

.rating-list {
    list-style: none;
    padding: 0;
    margin: 6px 0 0;
}
.rating-item {
    padding: 10px 0;
    border-top: 1px solid var(--c-border);
}
.rating-item:first-child { border-top: none; }
.rating-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: baseline;
}
.rating-who    { font-weight: 600; }
.rating-stars  { color: #d6a52e; letter-spacing: .05em; font-size: .95rem; }
.rating-comment {
    margin: 4px 0 0;
    color: var(--c-text);
    font-size: .95rem;
}

/* ── Footer ────────────────────────────────────────── */

/* ── Wochenplan ──────────────────────────────────────── */

.plan-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 10px 0 14px;
}
.plan-toolbar button {
    margin: 0;
    padding: 9px 14px;
    font-size: .95rem;
    width: auto;
}
.plan-toolbar .plan-week-label {
    flex: 1;
    text-align: center;
    font-weight: 600;
    color: var(--c-text);
}

.plan-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
}
.plan-actions .btn-primary {
    flex: 1;
    text-align: center;
    padding: 9px 14px;
    font-size: .95rem;
}
.plan-actions .btn-secondary {
    margin: 0;
    padding: 9px 14px;
    font-size: .95rem;
    width: auto;
}
.plan-actions .plan-reset {
    color: var(--c-danger);
    border-color: var(--c-danger);
    font-size: 1.05rem;
    padding: 9px 12px;
}
.plan-actions .plan-reset:hover {
    background: var(--c-danger);
    color: #fff;
}

.plan-day-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.plan-day-card {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    text-align: left;
    width: 100%;
    font: inherit;
    color: inherit;
}
.plan-day-card:hover { border-color: var(--c-primary); }

.plan-day-card.is-today {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 2px rgba(122, 79, 58, .15), var(--shadow-sm);
}

.plan-day-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
}
.plan-day-date .dow {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--c-muted);
}
.plan-day-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-text);
}
.plan-day-date .month {
    font-size: .75rem;
    color: var(--c-muted);
}

.plan-day-body { min-width: 0; }
.plan-day-title {
    font-weight: 600;
    color: var(--c-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.plan-day-title.is-empty,
.plan-day-title.is-special {
    font-weight: 500;
    color: var(--c-muted);
    font-style: italic;
}
.plan-day-side {
    font-size: .85rem;
    color: var(--c-muted);
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.plan-day-meta {
    font-size: .8rem;
    color: var(--c-muted);
    margin-top: 2px;
}

.plan-day-cook {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    color: var(--c-muted);
    flex-shrink: 0;
}
.plan-day-cook img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.plan-day-card.is-deleted .plan-day-title {
    text-decoration: line-through;
    color: var(--c-danger);
    font-style: italic;
}

/* Day-Edit-Sheet — Vollbild-Modal, weil mobile-Safari Bottom-Sheets
 * mit aufpoppender Tastatur regelmaessig zerschiesst. */
.plan-day-sheet {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 60;
    overflow-y: auto;
    padding: 0;
}
.plan-day-sheet-card {
    background: var(--c-surface);
    width: 100%;
    max-width: 480px;
    min-height: 100%;
    padding: max(env(safe-area-inset-top), 16px) 20px 32px;
    display: flex;
    flex-direction: column;
}
.plan-day-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.plan-day-sheet-head h3 { margin: 0; font-size: 1.15rem; }
.plan-day-sheet-head .day-sub {
    color: var(--c-muted);
    font-size: .9rem;
    margin: 0;
}
.plan-day-sheet button.linklike {
    background: none;
    border: none;
    color: var(--c-muted);
    cursor: pointer;
    font-size: 1.6rem;
    padding: 0 6px;
    line-height: 1;
}

.plan-meal-type {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 10px 12px;
    margin: 14px 0 10px;
}
.plan-meal-type legend {
    padding: 0 6px;
    font-size: .85rem;
    color: var(--c-muted);
}
.plan-meal-type label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0;
    font-weight: 400;
    cursor: pointer;
}

.plan-recipe-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    font-size: .9rem;
    margin: 4px 0 6px;
    max-width: 100%;
}
.plan-recipe-pill .pill-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}
.plan-recipe-pill button {
    width: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    color: var(--c-muted);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
}

.plan-recipe-suggestions {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: #fff;
    max-height: 220px;
    overflow-y: auto;
}
.plan-recipe-suggestions li {
    padding: 10px 12px;
    border-bottom: 1px solid var(--c-border);
    cursor: pointer;
    font-size: .95rem;
}
.plan-recipe-suggestions li:last-child { border-bottom: none; }
.plan-recipe-suggestions li:hover,
.plan-recipe-suggestions li.is-active { background: var(--c-bg); }
.plan-recipe-suggestions .empty {
    color: var(--c-muted);
    font-style: italic;
    cursor: default;
}

.plan-day-sheet textarea {
    width: 100%;
    padding: 10px 12px;
    font: inherit;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--c-text);
    -webkit-appearance: none;
    appearance: none;
    resize: vertical;
}
.plan-day-sheet select {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--c-text);
}
.plan-day-sheet input[type="number"] {
    width: 100%;
}

.plan-recipe-fields[hidden] { display: none !important; }

.app-footer {
    text-align: center;
    color: var(--c-muted);
    font-size: .8rem;
    padding: 22px 0 0;
}
