/* Espressophie – Web-Ansicht (baut auf /style.css auf, gleiche Farben wie die App) */

body { background: var(--bg-2); }

/* ---------- Start (vor der Anmeldung) ---------- */
.wa-start { padding: 72px 0 96px; text-align: center; }
.wa-start .sub { margin: 16px auto 0; max-width: 32em; }
.wa-hero-tile { width: 72px; height: 72px; border-radius: 18px; font-size: 40px; margin-bottom: 22px; }
.wa-login { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin: 36px 0 10px; }
.wa-other { display: block; margin: 4px auto 0; padding: 6px 10px; border: 0; background: none; font: inherit; font-size: 15px; color: var(--accent); cursor: pointer; }
.wa-other:hover { text-decoration: underline; text-underline-offset: 3px; }
.wa-msg { min-height: 1.5em; margin: 6px auto 0; max-width: 34em; font-size: 15px; color: var(--muted); }
.wa-msg.error { color: #d70015; }
@media (prefers-color-scheme: dark) { .wa-msg.error { color: #ff453a; } }
.wa-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 56px 0 24px; text-align: left; }
.wa-facts > div { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.wa-facts .tile { width: 40px; height: 40px; border-radius: 10px; font-size: 22px; margin-bottom: 10px; }
.wa-facts b { font-size: 17px; }
.wa-facts span:not(.tile) { color: var(--muted); font-size: 15px; }

/* „Mit Google anmelden“ nach den Gestaltungsregeln von Google */
.gsi-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 0 20px 0 14px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 16px; font-weight: 500; letter-spacing: 0;
  color: #1f1f1f; background: #ffffff; border: 1px solid #747775;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.25s var(--spring);
}
.gsi-btn svg { width: 20px; height: 20px; flex: none; }
.gsi-btn:hover { box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px rgba(60, 64, 67, 0.15); }
.gsi-btn:active { transform: scale(0.97); }
.gsi-btn[disabled] { opacity: 0.55; cursor: default; box-shadow: none; }
@media (prefers-color-scheme: dark) {
  .gsi-btn { color: #e3e3e3; background: #131314; border-color: #8e918f; }
}

/* ---------- Dashboard ---------- */
.wa-dash { padding: 32px 0 80px; }
.wa-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.wa-user { display: flex; align-items: center; gap: 12px; min-width: 0; }
.wa-user > div { min-width: 0; } /* langer Name/Hinweis kürzt mit … statt über den Rand zu laufen */
.wa-user img, .wa-user .avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; }
.wa-user .avatar { display: grid; place-items: center; color: #fff; font-weight: 700; background: var(--accent); }
.wa-user b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.wa-user small { display: block; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wa-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Segment-Steuerung wie in iOS */
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: auto; gap: 2px; max-width: 700px; margin: 0 auto 26px; padding: 2px; border-radius: 10px; background: var(--fill); }
.seg button { min-height: 34px; padding: 0 12px; white-space: nowrap; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s; }
.seg button[aria-selected="true"] { background: var(--card); font-weight: 600; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 1px 1px rgba(0, 0, 0, 0.04); }
@media (prefers-color-scheme: dark) { .seg button[aria-selected="true"] { background: #636366; } }

.wa-panel { animation: waIn 0.4s var(--ease) both; }
@keyframes waIn { from { opacity: 0; transform: translateY(10px); } }

.card { padding: 22px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); margin-bottom: 18px; }
.card h2 { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.card-sub { margin: 4px 0 14px; color: var(--muted); font-size: 14px; }
.wa-select { width: auto; min-height: 36px; padding: 4px 12px; font-size: 15px; }
.wa-link { border: 0; background: none; cursor: pointer; font: inherit; font-size: 15px; }

.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { padding: 18px 20px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); }
.kpi span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.kpi b { display: block; margin: 4px 0 2px; font-size: 34px; line-height: 1.05; letter-spacing: -0.035em; color: var(--accent); }
.kpi small { color: var(--faint); font-size: 13px; }

.wa-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.wa-grid .card { margin-bottom: 18px; }

/* Diagramm */
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .band { fill: color-mix(in srgb, var(--green) 14%, transparent); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--faint); font-size: 11px; }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .pt { fill: var(--card); stroke: var(--accent); stroke-width: 2.5; }
.chart .pt.hit { stroke: var(--green); fill: var(--green); }
.chart .empty, .empty { padding: 26px 8px; text-align: center; color: var(--faint); font-size: 15px; }

/* Listen wie in iOS (gruppiert) */
.list { display: grid; }
.row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 14px; padding: 12px 0; border-top: 0.5px solid var(--sep); }
.row:first-child { border-top: 0; }
.row b { font-weight: 600; }
.row small { display: block; color: var(--muted); font-size: 13.5px; }
.row .val { text-align: right; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--accent); }
.row .val small { font-weight: 500; letter-spacing: 0; }
.stars { color: #ff9f0a; letter-spacing: 1px; font-size: 13px; }
.chip.mini { min-height: 22px; padding: 0 8px; font-size: 12px; }

/* Verlauf */
.wa-filters { display: grid; grid-template-columns: 240px 1fr; gap: 10px; margin-bottom: 8px; }
.wa-table-card { padding: 6px 0; }
.table-wrap { overflow-x: auto; }
.wa-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wa-table th { position: sticky; top: 0; padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); background: var(--card); white-space: nowrap; }
.wa-table td { padding: 11px 14px; border-top: 0.5px solid var(--sep); vertical-align: top; }
.wa-table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.wa-table tr.day td { padding-top: 18px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); border-top: 0; }
.wa-table .note { color: var(--muted); font-size: 14px; max-width: 26em; }
.wa-table .tip { display: block; margin-top: 3px; font-size: 13px; color: var(--accent); }
.wa-table .hit { color: var(--green-text); font-weight: 600; }

/* Bohnen & Setup */
.bean-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bean { display: flex; flex-direction: column; gap: 2px; padding: 22px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.bean .tile { width: 40px; height: 40px; border-radius: 10px; font-size: 22px; margin-bottom: 12px; }
.bean h3 { margin: 0; font-size: 19px; letter-spacing: -0.02em; }
.bean .meta { color: var(--muted); font-size: 14px; }
.bean .big { margin: 14px 0 4px; font-size: 30px; font-weight: 700; letter-spacing: -0.035em; color: var(--accent); }
.bean .big small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.bean dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 10px 0 0; font-size: 14px; }
.bean dt { color: var(--muted); }
.bean dd { margin: 0; text-align: right; font-weight: 500; }
.bean.done { opacity: 0.6; }
.bar { height: 6px; margin-top: 8px; border-radius: 6px; background: var(--fill); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }

.demo-flag { display: inline-flex; align-items: center; min-height: 24px; margin-left: 8px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #1d1d1f; background: #ff9f0a; vertical-align: middle; } /* dunkle Schrift: Weiß auf Orange hätte nur 2,2:1 */

/* ---------- Auswertung: Highlights ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.highlights:empty { display: none; }
.hl { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); min-width: 0; }
.hl .tile { width: 40px; height: 40px; border-radius: 10px; font-size: 22px; }
.hl > div { min-width: 0; }
.hl span:not(.tile) { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.hl b { display: block; font-size: 19px; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hl small { display: block; color: var(--faint); font-size: 13px; }

/* Säulen */
.chart .col { fill: var(--accent); opacity: 0.85; transition: fill 0.4s; }
.chart .val-lbl { fill: var(--muted); font-size: 11.5px; font-weight: 600; }

/* Vergleichstabelle */
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th { padding: 8px 12px; text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }
.cmp td { padding: 12px; border-top: 0.5px solid var(--sep); vertical-align: middle; }
.cmp td small { display: block; color: var(--muted); font-size: 13px; }
.cmp td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.meter { display: inline-block; vertical-align: middle; width: 56px; height: 6px; margin-right: 8px; border-radius: 6px; background: var(--fill); overflow: hidden; }
.meter.wide { display: block; width: 100%; max-width: 260px; margin: 8px 0 2px; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.wa-dir { margin-top: 14px; font-size: 15px; }

/* Geschmacksprofil */
.profile { display: grid; gap: 18px; }
.prof-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: 15px; }
.prof-head span { color: var(--muted); }
.scale { position: relative; height: 8px; border-radius: 8px; background: var(--fill); }
.scale > i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--accent); }
.scale.diverge { background: linear-gradient(90deg, #ffcc00 0%, var(--fill) 35%, var(--fill) 65%, #8e5a2b 100%); }
.scale.diverge > i { width: 16px; height: 16px; top: -4px; margin-left: -8px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 2px var(--accent), 0 2px 6px rgba(0, 0, 0, 0.2); }
.prof-ends { display: flex; justify-content: space-between; margin-top: 5px; font-size: 12px; color: var(--faint); }
.quote { display: block; margin-top: 4px; font-size: 14px; font-style: italic; color: var(--muted); }

/* Rezepte */
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.recipe { display: flex; flex-direction: column; padding: 22px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.recipe-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.recipe-head h3 { margin: 0; font-size: 19px; letter-spacing: -0.02em; }
.recipe-head small { color: var(--muted); font-size: 13px; }
.rz-big { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 10px; }
.rz-big div { display: grid; gap: 2px; padding: 10px 4px; text-align: center; border-radius: 12px; background: var(--fill); }
.rz-big span { font-size: 11px; font-weight: 600; color: var(--muted); }
.rz-big b { font-size: 19px; letter-spacing: -0.03em; color: var(--accent); }
.way { margin: 4px 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--card-2); }
@media (prefers-color-scheme: dark) { .way { background: var(--fill); } }
.way span { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.way small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.spark { display: block; width: 100%; height: 54px; margin: 6px 0 2px; }
.spark polyline { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.spark circle { fill: var(--green); }
.recipe-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.recipe-actions .more { font-size: 15px; }

/* ---------- Handy ---------- */
@media (max-width: 760px) {
  .wa-start { padding: 48px 0 72px; }
  .wa-facts { grid-template-columns: 1fr; margin-top: 40px; }
  .gsi-btn, .wa-login .pill { width: 100%; max-width: 340px; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kpi { padding: 14px 16px; }
  .kpi b { font-size: 28px; }
  .wa-grid { grid-template-columns: 1fr; gap: 0; }
  .highlights { grid-template-columns: 1fr; gap: 10px; }
  .seg { overflow-x: auto; grid-auto-columns: max-content; scrollbar-width: none; margin-left: -16px; margin-right: -16px; border-radius: 0; padding: 2px 16px; background: none; gap: 6px; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { padding: 0 14px; background: var(--fill); border-radius: 999px; }
  .seg button[aria-selected="true"] { color: var(--on-accent); background: var(--accent); box-shadow: none; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; }
  .cmp tr { padding: 12px 0; border-top: 0.5px solid var(--sep); }
  .cmp tr:first-child { border-top: 0; }
  .cmp td { padding: 0; border: 0; }
  .cmp td.num { display: inline-block; margin: 6px 12px 0 0; font-size: 14px; color: var(--muted); }
  .cmp td:nth-child(2) { display: none; }
  .recipe-grid { grid-template-columns: 1fr; }
  .wa-filters { grid-template-columns: 1fr; }
  .wa-actions { width: 100%; }
  .wa-actions .pill { flex: 1; }
  /* Tabelle wird zur Liste */
  .wa-table thead { display: none; }
  .wa-table, .wa-table tbody, .wa-table tr, .wa-table td { display: block; }
  .wa-table tr.shot { padding: 12px 16px; border-top: 0.5px solid var(--sep); }
  .wa-table tr.shot td { padding: 0; border: 0; }
  .wa-table tr.shot td.c-bean { font-weight: 600; }
  .wa-table tr.shot td.num { display: inline; margin-right: 10px; font-size: 14px; color: var(--muted); }
  .wa-table tr.shot td.note { margin-top: 4px; }
  .wa-table tr.day td { padding: 16px 16px 4px; }
}

/* ---------- Experte (Aromarad) ---------- */
.xp { align-items: start; }
.xp .xp-shot { width: 100%; max-width: none; margin: 4px 0 8px; }
.xp #xpWheel { margin-top: 6px; }
.xp .aroma-pick { margin-top: 12px; }
.xp-save { min-height: 1.3em; margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.xp-save.error { color: var(--red, #d70015); }
.xp-cats { display: flex; height: 14px; margin: 4px 0 16px; border-radius: 999px; overflow: hidden; background: var(--fill); }
.xp-cats i { display: block; height: 100%; }
.xp-find { margin-top: 14px; }
.xp-h3 { margin: 26px 0 4px; font-size: 17px; letter-spacing: -0.01em; }
.xp .notes { margin-top: 6px; }
.xp .row .dot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; vertical-align: 0; }

/* ---------- Shots: Liste, Bearbeiten, Vergleich ---------- */
.wa-grid.shots { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.shot-list { display: grid; max-height: 720px; overflow-y: auto; margin: 0 -8px; padding: 0 8px; }
.sh-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 10px; border-top: 0.5px solid var(--sep); }
.sh-row:first-child { border-top: 0; }
.sh-main { display: grid; gap: 2px; padding: 11px 8px; margin-left: -8px; border: 0; border-radius: 12px; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.sh-main:hover { background: var(--fill); }
.sh-row.on .sh-main { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.sh-main b { font-weight: 600; }
.sh-main small { color: var(--muted); font-size: 13px; }
.sh-dots { display: flex; gap: 3px; min-height: 8px; }
.sh-dots i { width: 8px; height: 8px; border-radius: 50%; }
.sh-stars .stars { font-size: 13px; }
.tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; vertical-align: 1px; color: var(--muted); background: var(--fill); }
.tag.edited { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.sh-more { margin-top: 12px; }
.mir-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 500; color: var(--text); background: var(--fill); cursor: pointer; }
.mir-btn .ico { width: 18px; height: 18px; stroke-width: 1.8; }
.mir-btn.sm { width: 34px; padding: 0; justify-content: center; }
.mir-btn[aria-pressed="true"] { color: var(--on-accent); background: var(--accent); }
.mir-hint .ico { width: 15px; height: 15px; vertical-align: -3px; }
.ed { display: grid; gap: 12px; margin: 6px 0 4px; }
.ed-row { display: grid; gap: 6px; }
.ed-row > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.ed-row textarea { width: 100%; min-height: 60px; resize: vertical; }
.segm { display: flex; flex-wrap: wrap; gap: 4px; }
.segm button { flex: 1 1 auto; min-height: 34px; padding: 0 10px; border: 0; border-radius: 9px; font: inherit; font-size: 13px; color: var(--text); background: var(--fill); cursor: pointer; }
.segm button[aria-pressed="true"] { color: var(--on-accent); background: var(--accent); font-weight: 600; }
.ed-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-top: 14px; }
.ed-flag { font-size: 13px; font-weight: 600; color: var(--accent); }
.link-btn { padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--accent); cursor: pointer; }
.cmp-box { margin-bottom: 18px; }
.cmp-box h2 small { font-size: 14px; font-weight: 500; color: var(--muted); }
.cmp-box .card-sub b { color: var(--text); }
.cmp-shots th, .cmp-shots td { min-width: 120px; }
.cmp-shots tbody th { text-transform: none; letter-spacing: 0; font-size: 13px; white-space: nowrap; }
.cmp-shots thead th { vertical-align: bottom; }
.cmp-shots thead .link-btn { display: block; margin-top: 4px; text-transform: none; letter-spacing: 0; font-weight: 500; }
.cmp-date { display: block; color: var(--text); font-size: 14px; text-transform: none; letter-spacing: 0; }
.cmp-best { display: inline-block; margin-top: 3px; padding: 1px 7px; border-radius: 999px; font-size: 11px; color: var(--on-accent); background: var(--accent); text-transform: none; letter-spacing: 0; }
.cmp-shots tr.same td { color: var(--muted); background: color-mix(in srgb, var(--green, #34c759) 7%, transparent); }
.same-tag { margin-left: 4px; font-size: 11px; font-weight: 600; color: #1a6f30; } /* dunkleres Grün: --green-text wäre hell nur 4,4:1 */
@media (prefers-color-scheme: dark) { .same-tag { color: var(--green-text); } }
.cmp-shots td.diff { font-weight: 700; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.cmp-shots td.note { font-size: 13px; color: var(--muted); }
.cmp-shots .notes li { font-size: 12px; }
.more-list summary { padding: 12px 0 4px; font-size: 14px; color: var(--accent); cursor: pointer; }
@media (max-width: 900px) {
  .wa-grid.shots { grid-template-columns: 1fr; }
  .shot-list { max-height: 460px; }
  /* Vergleich bleibt auf dem Handy eine Tabelle (waagerecht scrollbar) */
  .cmp.cmp-shots { display: table; }
  .cmp.cmp-shots thead { display: table-header-group; }
  .cmp.cmp-shots tbody { display: table-row-group; }
  .cmp.cmp-shots tr { display: table-row; padding: 0; border: 0; }
  .cmp.cmp-shots th, .cmp.cmp-shots td { display: table-cell; padding: 8px 10px; border-top: 0.5px solid var(--sep); min-width: 104px; }
  .cmp.cmp-shots tbody th { position: sticky; left: 0; background: var(--card); z-index: 1; }
}
.ed-share { margin-top: 14px; padding-top: 14px; border-top: 0.5px solid var(--sep); }
.sh-marks { margin-top: 18px; }
.sh-row.ext .sh-main b::after { content: "Community"; margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* ---------- Gesamtbewertung (wie in der App, 0–100) ---------- */
.score { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 7px; margin-right: 6px; border-radius: 999px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; vertical-align: 1px; }
.score.good { color: #1a6f30; background: color-mix(in srgb, var(--green, #34c759) 16%, transparent); }
.score.mid { color: #8a4d00; background: color-mix(in srgb, #ff9f0a 18%, transparent); }
.score.bad { color: #b3000f; background: color-mix(in srgb, var(--red, #ff3b30) 14%, transparent); }
@media (prefers-color-scheme: dark) {
  .score.good { color: var(--green-text); }
  .score.mid { color: #ffb340; background: color-mix(in srgb, #ff9f0a 20%, transparent); }
  .score.bad { color: #ff6961; background: color-mix(in srgb, #ff453a 20%, transparent); }
}
.sh-stars { display: grid; justify-items: end; gap: 2px; }
.sh-stars .score { margin-right: 0; }
.recipe-head .score { flex: none; height: 28px; min-width: 40px; font-size: 14px; }
.recipe .notes { margin: -4px 0 14px; }
.recipe .notes li { font-size: 12px; }
.ed-score { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--card-2, var(--fill)); }
.ed-score .score { height: 32px; min-width: 44px; margin: 0; font-size: 15px; }
.ed-score b { display: block; font-size: 15px; }
.ed-score small { display: block; color: var(--muted); font-size: 13px; }
.ed-row > span small { font-weight: 400; }
.wa-h2 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.02em; }

/* ---------- Bohnenvorrat ↔ Röstereien-Verzeichnis ---------- */
.vz { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; font-size: 14px; }
.vz-wait, .vz-none { color: var(--faint); }
.vz-who { font-weight: 600; }
.vz-who a { font-weight: 600; }
.vz-bean { padding: 0; border: 0; font: inherit; font-weight: 600; color: var(--accent); background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.vz-price { color: var(--muted); font-size: 13.5px; }
.vz-act { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.vz-act a { font-weight: 600; }
.vz-edit { min-height: 32px; padding: 0; border: 0; font: inherit; font-size: 13.5px; color: var(--muted); background: none; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.vz-form { display: grid; gap: 8px; margin-top: 6px; padding: 12px; border-radius: 14px; background: var(--fill); }
.vz-form label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.vz-form .input { min-height: 40px; font-size: 15px; background: var(--card); }
.vz-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.vz-msg { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.vz-msg:empty { display: none; }
.vz-msg.error { color: #d70015; }
