/* Verdauung (17.11.): Übersicht, Tracker, Kurs, Bericht · Präfix vd- · Kacheln im Ernährungsbereich nu-tile */

/* ---------- Ernährung: Zucker kompakter, darunter drei gleich große Kacheln ---------- */
.nu-page .nu-zc { padding: 16px 18px; }
.nu-page .nu-zc .h3 { font-size: 15px; }
.nu-page .nu-zc .nu-big { font-size: 26px; margin: 4px 0 8px; }
.nu-page .nu-zc .nu-wkn-sk { font-size: 12px; }
.nu-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.nu-tile { position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 118px; padding: 14px 12px 12px; border-radius: 18px; background: var(--surface-solid); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: transform .18s var(--ease-out), border-color .18s; }
.nu-tile:active { transform: scale(.97); }
@media (hover: hover) { .nu-tile:hover { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); transform: translateY(-2px); } }
.nu-tile-ic { width: 36px; height: 36px; margin-bottom: auto; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.nu-tile-ic svg { width: 18px; height: 18px; }
.nu-tile b { margin-top: 12px; font-size: 14px; line-height: 1.2; letter-spacing: -.01em; }
.nu-tile small { font-size: 11.5px; line-height: 1.3; color: var(--muted); }
.nu-tile-new::after { content: 'Neu'; position: absolute; top: 12px; right: 10px; padding: 2px 7px; border-radius: 99px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .02em; }
@media (max-width: 380px) { .nu-tile { padding: 12px 10px 10px; } .nu-tile b { font-size: 13px; } .nu-tile small { display: none; } }

/* ---------- Grundgerüst ---------- */
.vd { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.vd > .back { align-self: flex-start; }
.vd-ey { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); }
.vd-ey svg { width: 14px; height: 14px; }
.vd-hero { position: relative; overflow: hidden; padding: 24px 22px 22px; border-radius: 26px; border: 1px solid var(--line); background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--primary) 20%, transparent), transparent 60%), radial-gradient(90% 90% at 0% 100%, color-mix(in srgb, #3ddc97 14%, transparent), transparent 60%), var(--surface-solid); }
.vd-hero h1 { margin: 8px 0 0; font-size: 32px; line-height: 1.05; font-weight: 800; letter-spacing: -.04em; color: var(--text); }
.vd-hero h1 em { font-style: normal; color: var(--primary); }
.vd-hero p { margin: 10px 0 0; max-width: 520px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.vd-hero .btn { margin-top: 16px; }
.vd-hero.sm h1 { font-size: 26px; }
:root[data-bereich='frauen'] .vd-hero h1, :root[data-bereich='frauen'] .vd h2, :root[data-bereich='frauen'] .vd-eh h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; letter-spacing: -.015em; }
:root[data-bereich='frauen'] .vd-hero h1 em { font-style: italic; }
.vd-card { padding: 18px; border-radius: 22px; background: var(--surface-solid); border: 1px solid var(--line); }
.vd-card h2, .vd-sec h2 { margin: 0 0 12px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--text); display: flex; align-items: center; gap: 7px; }
.vd-card h2 svg { width: 17px; height: 17px; color: var(--primary); }
.vd-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.vd-h h2 { margin: 0; }
.vd-h > span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.vd-small { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.vd-lab { margin: 14px 0 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.vd-lab span { font-weight: 500; }
.vd-opt { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--muted); }
.vd-prog { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; }
.vd-prog i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }

/* Warnhinweis */
.vd-warn { display: flex; gap: 12px; padding: 16px 18px; border-radius: 20px; border: 1px solid rgba(229, 72, 77, .45); background: rgba(229, 72, 77, .08); color: var(--text); }
.vd-warn > svg { width: 22px; height: 22px; flex: none; color: #e5484d; margin-top: 2px; }
.vd-warn b { display: block; margin-bottom: 4px; }
.vd-warn p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; }
.vd-warn a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: #e5484d; text-decoration: none; }
.vd-warn a svg { width: 15px; height: 15px; }

/* Heute */
.vd-today, .vd-report { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 22px; background: var(--surface-solid); border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.vd-today { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); box-shadow: 0 14px 34px -24px var(--primary); }
.vd-today.done { border-color: var(--line); box-shadow: none; }
.vd-today-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 15px; background: var(--primary); color: #fff; }
.vd-today.done .vd-today-ic { background: color-mix(in srgb, #3ddc97 22%, transparent); color: #1fa870; }
.vd-report .vd-today-ic { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.vd-today-ic svg { width: 21px; height: 21px; }
.vd-today-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vd-today-t small { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.vd-today-t b { font-size: 16.5px; letter-spacing: -.01em; }
.vd-today-t > span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.vd-today > svg:last-child, .vd-report > svg:last-child { width: 18px; height: 18px; color: var(--muted); flex: none; }
.vd-auto { display: flex; flex-wrap: wrap; gap: 6px; }
.vd-auto span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 99px; background: color-mix(in srgb, var(--text) 6%, transparent); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--text); }
.vd-auto span.muted { color: var(--muted); font-weight: 500; border-style: dashed; background: none; line-height: 1.4; border-radius: 14px; }
.vd-auto svg { width: 14px; height: 14px; color: var(--primary); flex: none; }

/* 14 Tage */
.vd-key { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; }
.vd-key i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-left: 4px; }
.vd-dots { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; }
.vd-dot { display: grid; justify-items: center; gap: 4px; text-decoration: none; }
.vd-dot i { width: 100%; max-width: 26px; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--text) 22%, transparent); }
.vd-dot small { font-size: 10px; color: var(--muted); font-weight: 700; }
.vd-dot.gut i { background: #3ddc97; border: 0; }
.vd-dot.mittel i { background: #f5b84b; border: 0; }
.vd-dot.schlecht i { background: #e5484d; border: 0; }
.vd-key i.gut { background: #3ddc97; } .vd-key i.mittel { background: #f5b84b; } .vd-key i.schlecht { background: #e5484d; }

/* Muster */
.vd-insights { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vd-insights li { display: flex; gap: 10px; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, var(--primary) 8%, transparent); font-size: 14px; line-height: 1.45; color: var(--text); }
.vd-insights svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--primary); }

/* Kurs-Liste */
.vd-lessons { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.vd-lessons a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.vd-lessons a.next { border-color: color-mix(in srgb, var(--primary) 50%, var(--line)); background: color-mix(in srgb, var(--primary) 6%, transparent); }
.vd-ln { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--text) 8%, transparent); font-size: 13px; font-weight: 800; }
.vd-lessons a.read .vd-ln { background: #3ddc97; color: #fff; }
.vd-ln svg { width: 15px; height: 15px; }
.vd-lessons .sp { flex: 1; min-width: 0; display: grid; gap: 2px; }
.vd-lessons b { font-size: 14.5px; }
.vd-lessons small { font-size: 12px; color: var(--muted); line-height: 1.35; }
.vd-lessons a > svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.vd-legal { margin: 4px 4px 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); }

/* ---------- Tracker ---------- */
.vd-eh { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vd-eh h1 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.vd-daynav { display: flex; gap: 6px; }
.vd-daynav a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-solid); color: var(--text); }
.vd-daynav svg { width: 17px; height: 17px; }
.vd-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.vd-seg button, .vd-chips button, .vd-scale button, .vd-bristol button, .vd-toggle, .vd-step button { font: inherit; color: var(--text); cursor: pointer; border: 1px solid var(--line); background: var(--surface); transition: background .15s, border-color .15s, color .15s; }
.vd-seg button { min-height: 44px; padding: 0 6px; border-radius: 14px; font-size: 13.5px; font-weight: 700; }
.vd-seg button.on, .vd-chips button.on, .vd-scale button.on, .vd-toggle.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.vd-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.vd-chips button { min-height: 38px; padding: 0 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; }
.vd-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.vd-scale button { display: grid; justify-items: center; gap: 2px; padding: 10px 2px; border-radius: 14px; }
.vd-scale b { font-size: 17px; }
.vd-scale small { font-size: 10.5px; line-height: 1.2; color: inherit; opacity: .8; text-align: center; }
.vd-bristol { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 7px; }
.vd-bristol button { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 16px; text-align: center; }
.vd-bristol svg { width: 48px; height: 26px; fill: #9b7b5e; }
.vd-bristol b { font-size: 12.5px; }
.vd-bristol small { font-size: 11px; line-height: 1.25; }
.vd-bristol em { font-style: normal; font-size: 10.5px; color: var(--muted); }
.vd-bristol button.ok em { color: #1fa870; font-weight: 700; }
.vd-bristol button.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 12%, var(--surface)); box-shadow: 0 0 0 1px var(--primary); }
.vd-step { display: flex; align-items: center; gap: 12px; }
.vd-step button { width: 44px; height: 44px; border-radius: 50%; font-size: 22px; font-weight: 700; }
.vd-step b { min-width: 34px; text-align: center; font-size: 24px; }
.vd-step small { margin-left: 4px; font-size: 13px; color: var(--muted); }
.vd-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 99px; font-size: 13.5px; font-weight: 600; }
.vd-toggle svg { width: 15px; height: 15px; opacity: .35; }
.vd-toggle.on svg { opacity: 1; }
.vd-fromapp { display: flex; align-items: center; gap: 7px; margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
.vd-fromapp svg { width: 14px; height: 14px; color: var(--primary); flex: none; }
.vd-warncard { border-color: rgba(229, 72, 77, .28); }
.vd-warncard h2 svg { color: #e5484d; }
.vd-warncard .vd-chips button.on { background: #e5484d; border-color: #e5484d; }
.vd-warncard .vd-small { margin: 0 0 10px; }
.vd-entry textarea { width: 100%; resize: vertical; }
.vd-del { align-self: center; height: 42px; padding: 0 16px; border: 0; background: none; color: #e5484d; font: inherit; font-weight: 700; cursor: pointer; }

/* ---------- Lektion ---------- */
.vd-sec { padding: 4px 4px 0; }
.vd-sec p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--text); }
.vd-do ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.vd-do li { font-size: 14.5px; line-height: 1.5; }
.vd-phase { background: radial-gradient(100% 120% at 100% 0%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%), var(--surface-solid); }
.vd-phase p { margin: 0; font-size: 14px; line-height: 1.55; }
.vd-phase h2 { margin-top: 6px; }

/* ---------- Bericht ---------- */
.vd-rep-wrap { max-width: 980px; }
.vd-rep-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between; }
.vd-rep-tools .vd-seg { min-width: 220px; }
.vd-rep { padding: 22px; border-radius: 22px; background: #fff; color: #1b1b1f; border: 1px solid var(--line); overflow-x: auto; }
.vd-rep header small { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #6b6b75; }
.vd-rep header h1 { margin: 4px 0; font-size: 24px; color: #1b1b1f; }
.vd-rep header p { margin: 0; font-size: 13px; color: #55555f; }
.vd-rep-warn { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: #8a1c20; font-size: 13.5px; }
.vd-rep-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.vd-rep-sum div { padding: 10px 12px; border-radius: 12px; background: #f4f4f6; }
.vd-rep-sum small { display: block; font-size: 11px; color: #6b6b75; }
.vd-rep-sum b { font-size: 18px; color: #1b1b1f; }
.vd-rep-p { margin: 14px 0 0; font-size: 13.5px; color: #1b1b1f; }
.vd-rep-t { width: 100%; min-width: 720px; margin-top: 16px; border-collapse: collapse; font-size: 12px; color: #1b1b1f; }
.vd-rep-t th { text-align: left; padding: 7px 6px; border-bottom: 2px solid #1b1b1f; font-size: 11px; white-space: nowrap; }
.vd-rep-t td { padding: 7px 6px; border-bottom: 1px solid #e3e3e8; vertical-align: top; }
.vd-rep-t tr.empty td { color: #9a9aa3; }
.vd-rep-t .muted { color: #9a9aa3; }
.vd-rep footer { margin-top: 14px; font-size: 11px; line-height: 1.5; color: #6b6b75; }
@media (max-width: 600px) { .vd-rep { padding: 16px; } .vd-rep-sum { grid-template-columns: repeat(2, 1fr); } }
@media print {
  body * { visibility: hidden !important; }
  #vd-report, #vd-report * { visibility: visible !important; }
  #vd-report { position: absolute; left: 0; top: 0; width: 100%; border: 0; padding: 0; overflow: visible; }
  .vd-rep-t { min-width: 0; font-size: 10.5px; }
  @page { size: A4 landscape; margin: 12mm; }
}
.nu-tile b { min-height: 2.4em; display: flex; align-items: flex-end; }
