/* ----------------------------------------------------------------------
   Pizzamacher – Styles
   Wizard-Layout (5 Schritte). Mobile- und Desktop-Wizard.
   Verwendet Tokens aus theme.css.
   ---------------------------------------------------------------------- */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 {
  margin: 0 0 .4em;
  line-height: 1.2;
  font-weight: 700;
  color: var(--foreground);
  letter-spacing: -0.01em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.05rem; font-weight: 600; }

a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- App-Shell ---------- */

.app {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1rem 6rem;
  min-height: 100vh;
}

.brand-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
  padding: .25rem .25rem;
}
.brand-row .brand {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--secondary);
  letter-spacing: -0.02em;
}
.brand-row .brand .dot { color: var(--primary); }

.brand-actions {
  display: flex;
  gap: .4rem;
  align-items: center;
}

.brand-row .restart {
  font: inherit;
  font-size: .82rem;
  color: var(--muted-foreground);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: .3rem .8rem;
  cursor: pointer;
}
.brand-row .restart:hover { background: var(--muted); color: var(--secondary); }

.theme-switch {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 2px;
  gap: 0;
}
.theme-btn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 99px;
  color: var(--muted-foreground);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color .12s ease, background .12s ease;
}
.theme-btn:hover { color: var(--foreground); }
.theme-btn svg { width: 14px; height: 14px; }
.theme-btn.is-active {
  background: var(--card);
  color: var(--foreground);
  box-shadow: var(--shadow-xs);
}
/* Im Red-Theme: aktiver Knopf in Akzent (schwarz mit roter Schrift) */
:root.red .theme-btn.is-active {
  background: var(--accent);
  color: var(--accent-foreground);
}

/* ---------- Red-Theme-Anpassungen ---------- */

/* Cards bekommen kräftigere schwarze Border (kein Schatten-Lift im flachen Look) */
:root.red .card {
  border-width: 2px;
  box-shadow: none;
}

/* Inputs: weiße Schrift auf schwarzem Hintergrund */
:root.red input[type="number"],
:root.red input[type="datetime-local"],
:root.red select {
  color: #ffffff;
}
:root.red input[type="number"]::placeholder,
:root.red input[type="datetime-local"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* Choice-Cards: 2px schwarze Border */
:root.red .choice-card { border-width: 2px; }
:root.red .choice-card.is-active {
  box-shadow: 0 0 0 1px var(--primary), var(--shadow);
}

/* Slider-Thumb: schwarz statt rot */
:root.red input[type="range"]::-webkit-slider-thumb {
  border-color: #000000;
}
:root.red input[type="range"]::-moz-range-thumb {
  border-color: #000000;
}

/* Mode-Cards: 2px schwarze Border, kräftiger Hover */
:root.red .mode-card { border-width: 2px; }
:root.red .mode-card:hover {
  border-color: #000000;
  background: var(--muted);
}

/* Stepper / Step-Pills: schwarz für „done" */
:root.red .stepper .step-pill.is-done { background: #000000; }
:root.red .stepper .step-pill.is-active { background: #000000; }

/* Restart-Button bleibt sichtbar */
:root.red .brand-row .restart {
  border-width: 2px;
  color: #000000;
}
:root.red .brand-row .restart:hover {
  background: #000000;
  color: #ffffff;
}

/* Theme-Switch: 2px schwarze Border */
:root.red .theme-switch { border-width: 2px; }

/* ---------- Stepper ---------- */

.stepper {
  display: flex;
  gap: .35rem;
  margin: .25rem 0 1.25rem;
  padding: 0 .25rem;
}
.stepper .step-pill {
  flex: 1;
  height: 6px;
  border-radius: 99px;
  background: var(--border);
  transition: background .25s ease;
}
.stepper .step-pill.is-done { background: var(--primary); }
.stepper .step-pill.is-active { background: var(--secondary); }

.step-label-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
  padding: 0 .25rem;
}
.step-label-row .step-label {
  font-size: .8rem;
  color: var(--muted-foreground);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.step-label-row .step-label strong { color: var(--foreground); font-weight: 700; }

/* ---------- Card ---------- */

.card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem 1.25rem;
}
.card + .card { margin-top: 1rem; }

.card .step-title { font-family: var(--font-sans); font-size: 1.5rem; font-weight: 700; margin: 0 0 .4rem; }
.card .step-lede {
  color: var(--muted-foreground);
  margin: 0 0 1.25rem;
  font-size: .95rem;
}

/* ---------- Mode-Picker (Schnellstart vs. Experte) ---------- */

.mode-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .8rem;
}
@media (min-width: 560px) {
  .mode-grid { grid-template-columns: 1fr 1fr; }
}
.mode-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
  cursor: pointer;
  font: inherit;
  color: var(--foreground);
  transition: all .15s ease;
}
.mode-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.mode-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: .18rem .55rem;
  border-radius: 99px;
  margin-bottom: .9rem;
}
.mode-tag-muted {
  background: var(--muted);
  color: var(--muted-foreground);
}
.mode-card .title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .35rem;
}
.mode-card p {
  margin: 0 0 .9rem;
  color: var(--muted-foreground);
  font-size: .9rem;
  line-height: 1.45;
}
.mode-card .mode-cta {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: .9rem;
  color: var(--secondary);
}

/* ---------- Auto-Summary auf Mengen-Step ---------- */

.auto-summary {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1rem 1rem;
  margin-bottom: 1.2rem;
}
.auto-summary.is-hidden { display: none; }
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: .35rem .8rem;
  margin-bottom: .6rem;
}
.summary-grid > div {
  display: flex; flex-direction: column;
}
.summary-grid .lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted-foreground);
  font-weight: 500;
}
.summary-grid .val {
  font-weight: 600;
  font-size: .92rem;
  color: var(--foreground);
}
.summary-hint {
  margin: .25rem 0 0;
  font-size: .82rem;
  color: var(--muted-foreground);
  line-height: 1.45;
}

/* ---------- Wizard-Steps ---------- */

.step { display: none; }
.step.is-active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Choice-Cards (Stil / Methode / Reifevariante) ---------- */

.choice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}
@media (min-width: 560px) {
  .choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .choice-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.choice-card {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.05rem;
  transition: border-color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.choice-card:hover { border-color: var(--muted-foreground); }
.choice-card input[type="radio"] {
  position: absolute; opacity: 0; pointer-events: none;
}
.choice-card .radio-mark {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card);
  transition: all .15s ease;
}
.choice-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-sm);
}
.choice-card.is-active .radio-mark {
  border-color: var(--primary);
  background: radial-gradient(circle, var(--primary) 0 5px, transparent 5px 100%);
}

.choice-card .title {
  font-weight: 700;
  font-size: 1.05rem;
  padding-right: 1.7rem;
}
.choice-card .subtitle {
  color: var(--muted-foreground);
  font-size: .82rem;
  margin: 0;
}
.choice-card .desc {
  font-size: .88rem;
  color: var(--foreground);
  margin: .35rem 0 0;
  line-height: 1.45;
}
.choice-card .meta {
  display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .55rem;
}
.choice-card .pill {
  font-size: .72rem;
  font-weight: 500;
  padding: .15rem .55rem;
  border-radius: 99px;
  background: var(--muted);
  color: var(--muted-foreground);
}
.choice-card.is-active .pill {
  background: var(--accent);
  color: var(--accent-foreground);
}

.pill.pill-rec {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: 0.02em;
  padding: .12rem .55rem;
  display: inline-flex; align-items: center; gap: .2rem;
}

.timing-detail {
  margin-top: 1rem;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  font-size: .9rem;
}
.timing-detail dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; }
.timing-detail dt { font-weight: 600; color: var(--primary); }
.timing-detail dd { margin: 0; color: var(--foreground); }

/* ---------- Form-Felder ---------- */

.field { margin: 1.1rem 0; }
.field:first-child { margin-top: 0; }

.field-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .5rem;
  gap: .5rem;
}
.field-label .help {
  display: inline-flex; align-items: center; gap: .25rem;
  color: var(--muted-foreground);
  font-weight: 400;
  font-size: .82rem;
}
.value-display {
  font-variant-numeric: tabular-nums;
  color: var(--foreground);
  font-weight: 700;
  background: var(--muted);
  padding: .15rem .55rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
}
.value-display.accent {
  background: var(--accent);
  color: var(--accent-foreground);
}
.field .hint {
  display: block;
  margin-top: .35rem;
  color: var(--muted-foreground);
  font-size: .8rem;
}

input[type="number"], input[type="datetime-local"], select {
  font: inherit;
  padding: .6rem .8rem;
  border: 1px solid transparent;
  background: var(--input);
  color: var(--foreground);
  border-radius: var(--radius-sm);
  width: 100%;
  max-width: 280px;
}
input[type="number"]:focus, input[type="datetime-local"]:focus, select:focus {
  outline: none;
  border-color: var(--ring);
  background: var(--card);
  box-shadow: 0 0 0 3px hsl(from var(--ring) h s l / 0.18);
}

/* Slider */
input[type="range"] {
  width: 100%;
  height: 24px;
  background: transparent;
  -webkit-appearance: none; appearance: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: var(--border);
  border-radius: 99px;
}
input[type="range"]::-moz-range-track {
  height: 6px;
  background: var(--border);
  border-radius: 99px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  margin-top: -8px;
  background: var(--card);
  border: 2px solid var(--secondary);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--card);
  border: 2px solid var(--secondary);
  border-radius: 50%;
  cursor: pointer;
}

/* Chips */
.chip-row {
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.chip {
  font: inherit;
  font-size: .85rem;
  font-weight: 500;
  padding: .4rem .85rem;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
  transition: all .12s ease;
}
.chip:hover { border-color: var(--muted-foreground); }
.chip.is-active {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-color: var(--secondary);
}

.ball-size-row {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
}
.ball-size-row input[type="number"] { max-width: 130px; }

/* ---------- Counter (+/- großes Display) ---------- */

.counter {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem;
  padding: 1rem 0 .6rem;
}
.counter button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--foreground);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .12s ease;
}
.counter button:hover { background: var(--muted); border-color: var(--muted-foreground); }
.counter button:disabled { opacity: 0.4; cursor: not-allowed; }
.counter .counter-value {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
  min-width: 4ch;
  text-align: center;
}
.counter-caption {
  text-align: center;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

/* ---------- Bedingte Sichtbarkeit ---------- */
.is-hidden { display: none !important; }

/* ---------- Wizard-Navigation ---------- */

.wizard-nav {
  display: flex; gap: .6rem; justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.btn {
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  padding: .7rem 1.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .12s ease;
  display: inline-flex; align-items: center; gap: .4rem;
}
.btn-primary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}
.btn-primary:hover { filter: brightness(0.94); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary {
  background: var(--card);
  color: var(--foreground);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--muted); }
.btn-ghost {
  background: transparent; color: var(--muted-foreground);
  padding: .55rem .9rem;
}
.btn-ghost:hover { color: var(--secondary); }

.btn .arrow-r::after { content: '→'; margin-left: .25rem; }
.btn .arrow-l::before { content: '←'; margin-right: .25rem; }

/* ---------- Ergebnis ---------- */

.result-stats {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: .6rem;
  margin: .25rem 0 1.25rem;
}
.result-stats .stat {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .8rem 1rem;
}
.result-stats .stat .num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  display: block;
}
.result-stats .stat .lbl {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted-foreground);
  margin-top: .25rem;
}

.yeast-toggle {
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  margin: 0 0 .8rem;
}
.yeast-toggle-label {
  font-size: .82rem;
  color: var(--muted-foreground);
  font-weight: 500;
}
.yeast-tip {
  margin: .4rem 0 .8rem;
  font-size: .8rem;
  color: var(--muted-foreground);
  line-height: 1.5;
  font-style: italic;
}
.yeast-tip:empty { display: none; }

table.recipe {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin: 0 0 .5rem;
}
table.recipe th, table.recipe td {
  padding: .55rem .5rem;
  text-align: right;
  border-bottom: 1px solid var(--border);
}
table.recipe th:first-child, table.recipe td:first-child {
  text-align: left;
  font-weight: 500;
}
table.recipe thead th {
  font-size: .72rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 2px solid var(--border);
}
table.recipe tfoot td {
  font-weight: 700;
  border-top: 2px solid var(--border);
  border-bottom: none;
}

.flour-box {
  background: linear-gradient(135deg, var(--primary) 0%, #008f4c 100%);
  color: white;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin: 1.1rem 0 .5rem;
}
.flour-box h3 { color: white; margin: 0 0 .25rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; opacity: 0.85; }
.flour-box .w { font-size: 1.4rem; font-weight: 800; line-height: 1.1; }
.flour-box ul { margin: .65rem 0 .35rem; padding: 0; list-style: none; }
.flour-box ul li.brand {
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: .55rem .75rem;
  margin-bottom: .35rem;
  font-size: .88rem;
}
.flour-box .brand-name {
  font-weight: 700;
  font-size: .98rem;
}
.flour-box .brand-note {
  display: inline-block;
  font-weight: 500;
  font-size: .72rem;
  background: rgba(0,0,0,0.18);
  padding: .08rem .45rem;
  border-radius: 99px;
  margin-left: .35rem;
  vertical-align: middle;
}
.flour-box .brand-specs {
  font-family: var(--font-mono);
  font-size: .78rem;
  opacity: 0.92;
  margin-top: .15rem;
  letter-spacing: 0.02em;
}
.flour-box .brand-meta {
  font-size: .78rem;
  opacity: 0.85;
  margin-top: .1rem;
  font-style: italic;
}
.flour-box .note { font-size: .76rem; opacity: 0.88; margin-top: .55rem; line-height: 1.4; }

.warning-box {
  background: var(--accent);
  border: 1px solid var(--accent-foreground);
  color: var(--accent-foreground);
  padding: .65rem .9rem;
  border-radius: var(--radius-sm);
  margin: .75rem 0;
  font-size: .88rem;
}

.section-divider {
  margin: 1.5rem 0 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.section-divider h3 { margin-top: 0; }

/* Anleitung – Phasen-Cards */
.instructions {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.phase {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 1rem;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 .85rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.phase-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--secondary-foreground);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
}

.phase-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--foreground);
  letter-spacing: -0.005em;
}

.phase-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: phasestep;
}

.phase-steps li {
  position: relative;
  counter-increment: phasestep;
  padding: .15rem 0 .15rem 2.3rem;
  margin: 0 0 .7rem;
  font-size: .92rem;
  line-height: 1.5;
  min-height: 1.7rem;
}
.phase-steps li:last-child { margin-bottom: 0; }

.phase-steps li strong {
  color: var(--secondary);
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.phase-steps li::before {
  content: counter(phasestep);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--muted-foreground);
  font-weight: 600;
  font-size: .78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

/* Print: Cards nicht trennen */
@media print {
  .phase { background: white; page-break-inside: avoid; border-color: #ccc; }
  .phase-num { background: black; color: white; }
  .phase-steps li::before { background: white; border-color: #999; color: black; }
}

/* Timeline */
.target-time-row {
  display: flex; gap: .6rem; align-items: center; flex-wrap: wrap;
  margin-bottom: 1rem;
}
.target-time-row label { font-weight: 600; font-size: .9rem; }

.timeline {
  position: relative;
  margin: .25rem 0 .25rem;
  padding-left: 1.7rem;
}
.timeline::before {
  content: '';
  position: absolute; left: 5px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border);
}
.timeline-event {
  position: relative;
  padding: .35rem 0 .65rem .15rem;
}
.timeline-event::before {
  content: '';
  position: absolute;
  left: -1.55rem; top: .65rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--background);
}
.timeline-event.is-target::before { background: var(--secondary); }
.timeline-event .time {
  font-weight: 700;
  font-size: .95rem;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
}
.timeline-event .label { font-weight: 600; margin-top: .05rem; font-size: .92rem; }
.timeline-event .detail { color: var(--muted-foreground); font-size: .82rem; line-height: 1.4; margin-top: .15rem; }

/* Action-Row auf Ergebnis-Seite */
.share-row {
  display: flex; gap: .5rem; flex-wrap: wrap; align-items: center;
  margin: 1rem 0 .25rem;
}
.copy-feedback {
  font-size: .85rem;
  color: var(--primary);
  font-weight: 600;
}

/* Footer */
.app-footer {
  margin-top: 2rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: .8rem;
}

/* ---------- Print ---------- */
@media print {
  body { background: white; }
  .app { max-width: 100%; padding: 0; }
  .brand-row, .stepper, .step-label-row, .wizard-nav, .share-row, .target-time-row, .restart, .app-footer { display: none !important; }
  .step { display: block !important; page-break-inside: avoid; }
  .step:not(#step-result) { display: none !important; }
  .card { box-shadow: none; border: 1px solid #ccc; }
  .flour-box { background: white; color: black; border: 1px solid #999; }
  .timeline-event::before { background: black; border-color: white; }
  .warning-box { background: white; border: 1px solid #999; color: black; }
}
