/* Family Recipe Keeper — senior-friendly heritage recipe app
   Base ≥18px, 48px targets, WCAG AA, warm terracotta accent */

:root {
  --bg: #fffdf8;
  --bg-card: #ffffff;
  --bg-soft: #f5e6d3;
  --text: #2c1810;
  --text-muted: #5c463a;
  --border: #e0d0bc;
  --accent: #c45d35;
  --accent-dark: #9a3f1f;
  --accent-soft: #f8e4d8;
  --ok: #2d6a4f;
  --ok-soft: #d8f3e4;
  --danger: #9b2226;
  --danger-soft: #fde8e8;
  --shadow: 0 2px 14px rgba(44, 24, 16, 0.08);
  --radius: 16px;
  --radius-sm: 12px;
  --space: 1rem;
  --space-lg: 1.5rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --focus: 3px solid var(--accent);
  --touch: 48px;
  --max: 920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

img,
svg {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -100px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0.5rem;
}

/* Header */
.app-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
  flex-wrap: wrap;
}

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

.brand-mark {
  font-size: 1.75rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 14px;
}

.brand h1 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.tagline {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Tabs */
.tab-nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.65rem var(--space-lg) 0;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 40;
}

.tab {
  min-height: var(--touch);
  min-width: var(--touch);
  padding: 0.65rem 1rem;
  border: none;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.tab:hover {
  color: var(--text);
  background: var(--bg-soft);
}

.tab.active,
.tab[aria-selected="true"] {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
  background: var(--accent-soft);
}

/* Main */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-lg);
  padding-bottom: 3rem;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

.panel-title {
  margin: 0 0 0.35rem;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.panel-lead {
  margin: 0 0 var(--space-lg);
  color: var(--text-muted);
  max-width: 40rem;
}

.panel-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
  flex-wrap: wrap;
  margin-bottom: var(--space);
}

.section-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--touch);
  min-width: var(--touch);
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover:not(:disabled) {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--bg-soft);
  border-color: var(--accent);
}

.btn-text {
  background: transparent;
  color: var(--accent-dark);
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-text:hover:not(:disabled) {
  color: var(--text);
  background: var(--bg-soft);
  text-decoration: none;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

.btn-danger:hover:not(:disabled) {
  background: #7a1a1d;
}

.btn-danger-outline {
  background: var(--bg-card);
  color: var(--danger);
  border-color: var(--danger);
}

.btn-danger-outline:hover:not(:disabled) {
  background: var(--danger-soft);
}

.btn-record {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
  min-width: 8rem;
  font-size: 1.05rem;
}

.btn-record.recording {
  animation: pulse-rec 1.2s ease infinite;
}

@keyframes pulse-rec {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(155, 34, 38, 0.45);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(155, 34, 38, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-record.recording {
    animation: none;
  }
  .btn {
    transition: none;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.file-btn {
  cursor: pointer;
  margin: 0;
}

/* Stats */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 0.85rem;
  margin-bottom: var(--space-lg);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.stat-card.accent {
  background: var(--accent-soft);
  border-color: #e8c4b0;
}

.stat-label {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-value {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.stat-link {
  background: none;
  border: none;
  padding: 0.35rem 0;
  min-height: auto;
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.95rem;
}

.stat-link:hover {
  color: var(--text);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.card-note,
.card p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space);
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.card-head h3 {
  margin: 0;
}

.sample-card {
  background: linear-gradient(180deg, #fffdf8 0%, var(--bg-soft) 100%);
  border-style: dashed;
  border-width: 2px;
}

/* Filters */
.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.85rem;
  margin-bottom: var(--space);
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field:last-child {
  margin-bottom: 0;
}

.filters .field {
  margin-bottom: 0;
}

.field label,
fieldset legend {
  font-weight: 600;
  color: var(--text);
}

.field-hint {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.req {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.field input[type="text"],
.field input[type="search"],
.field input[type="number"],
.field select,
.field textarea {
  min-height: var(--touch);
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  width: 100%;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
  line-height: 1.45;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #fff;
}

.field-error {
  margin: 0.25rem 0 0;
  color: var(--danger);
  font-weight: 600;
  font-size: 0.95rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (max-width: 560px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

.field-check {
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
}

.field-check input[type="checkbox"] {
  width: 1.35rem;
  height: 1.35rem;
  min-width: 1.35rem;
  accent-color: var(--accent);
}

.list-meta {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Recipe list */
.recipe-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: var(--space-lg);
}

.recipe-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: left;
  width: 100%;
  min-height: var(--touch);
  cursor: pointer;
  color: inherit;
}

.recipe-card:hover {
  border-color: var(--accent);
  background: #fffaf5;
}

.recipe-thumb {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.recipe-thumb.placeholder {
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--text-muted);
}

.recipe-card-main {
  min-width: 0;
}

.recipe-card-title {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}

.recipe-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.recipe-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.tag.sample {
  background: #fff3cd;
  border-color: #e0c36a;
  color: #5c4800;
}

.tag.voice {
  background: var(--ok-soft);
  border-color: #9dceb5;
  color: var(--ok);
}

.tag.card-photo {
  background: var(--accent-soft);
  border-color: #e8c4b0;
  color: var(--accent-dark);
}

.tag.fav {
  background: #fff0f0;
  border-color: #f0b8b8;
  color: var(--danger);
}

.recipe-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.icon-btn {
  min-width: var(--touch);
  min-height: var(--touch);
  border: 2px solid var(--border);
  background: var(--bg);
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  padding: 0;
}

.icon-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.icon-btn.active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
}

/* Empty */
.empty-state {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
}

.empty-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.empty-text {
  margin: 0 auto 1.25rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.empty-msg {
  margin: 0;
  color: var(--text-muted);
}

/* Breakdown lists */
.breakdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.breakdown-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  min-height: var(--touch);
}

.breakdown-list li:last-child {
  border-bottom: none;
}

.breakdown-name {
  font-weight: 600;
}

.breakdown-count {
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-soft);
  min-width: 2.5rem;
  text-align: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

/* Cookbook checklist */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 22rem;
  overflow: auto;
  margin: 0.75rem 0 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.35rem;
  background: var(--bg);
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--touch);
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
}

.check-item:hover {
  background: var(--bg-soft);
}

.check-item input {
  width: 1.35rem;
  height: 1.35rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.check-item label {
  flex: 1;
  cursor: pointer;
  font-weight: 600;
}

.check-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.cookbook-actions {
  margin-top: 0.5rem;
}

.cookbook-preview {
  margin-top: var(--space);
}

.print-root {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.print-cover {
  text-align: center;
  padding: 2rem 1rem 2.5rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.5rem;
}

.print-cover h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.print-cover p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.print-recipe {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.print-recipe:last-child {
  border-bottom: none;
}

.print-recipe h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--accent-dark);
}

.print-meta {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.print-recipe h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.05rem;
}

.print-recipe ul,
.print-recipe ol {
  margin: 0 0 0.5rem;
  padding-left: 1.25rem;
}

.print-recipe li {
  margin-bottom: 0.3rem;
}

.print-notes {
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-top: 0.75rem;
}

.print-voice-note {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Modals */
.modal {
  border: none;
  border-radius: var(--radius);
  padding: 0;
  max-width: min(36rem, calc(100vw - 1.5rem));
  width: 100%;
  box-shadow: 0 16px 48px rgba(44, 24, 16, 0.22);
  background: var(--bg-card);
  color: var(--text);
}

.modal.modal-wide {
  max-width: min(40rem, calc(100vw - 1.5rem));
}

.modal::backdrop {
  background: rgba(44, 24, 16, 0.5);
}

.modal-inner {
  padding: 1.35rem 1.35rem 1.25rem;
  max-height: min(90vh, 52rem);
  overflow: auto;
}

.modal-inner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.modal-lead {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.modal-cancel {
  margin-top: 0.5rem;
  width: 100%;
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.method-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.15rem;
  text-align: left;
  padding: 1rem;
  min-height: var(--touch);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: inherit;
}

.method-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.method-icon {
  grid-row: 1 / span 2;
  font-size: 1.6rem;
  align-self: center;
}

.method-label {
  font-weight: 700;
  font-size: 1.05rem;
}

.method-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.media-fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem 1rem;
  margin: 0 0 1rem;
  background: var(--bg);
}

.media-fieldset legend {
  padding: 0 0.35rem;
  font-weight: 700;
}

.media-preview {
  margin-bottom: 0.75rem;
}

.media-preview img {
  display: block;
  max-height: 12rem;
  width: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* Detail */
.detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.detail-header h2 {
  margin: 0;
  flex: 1;
}

.detail-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.65rem;
}

.detail-fact {
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
}

.detail-fact dt {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-fact dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

.detail-section h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.detail-section ul,
.detail-section ol {
  margin: 0;
  padding-left: 1.25rem;
}

.detail-section li {
  margin-bottom: 0.35rem;
}

.detail-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem;
}

.detail-images figure {
  margin: 0;
}

.detail-images img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  display: block;
  max-height: 14rem;
  object-fit: cover;
}

.detail-images figcaption {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.voice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.voice-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.voice-item-info {
  flex: 1;
  min-width: 10rem;
}

.voice-item-info strong {
  display: block;
}

.voice-item-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.detail-actions {
  flex-wrap: wrap;
}

/* Voice dialog */
.voice-panel {
  text-align: center;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}

.voice-timer {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.voice-controls {
  justify-content: center;
  margin: 0.75rem 0;
}

.callout {
  background: var(--accent-soft);
  border: 1px solid #e8c4b0;
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}

.callout p {
  margin: 0 0 0.75rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--text);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  max-width: min(28rem, calc(100vw - 2rem));
  text-align: center;
  font-weight: 600;
}

.status-msg {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  font-weight: 600;
  min-height: 1.4em;
}

/* Footer */
.app-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem var(--space-lg) 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.app-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Print */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .skip-link,
  .app-header,
  .tab-nav,
  .app-footer,
  .toast,
  .modal,
  #panel-box,
  #panel-favorites,
  #panel-insights,
  .cookbook-preview .card-head,
  .panel-title,
  .panel-lead,
  .card:not(.cookbook-preview),
  #panel-cookbook > .card,
  #panel-cookbook > .panel-title,
  #panel-cookbook > .panel-lead {
    display: none !important;
  }

  #panel-cookbook {
    display: block !important;
  }

  #cookbook-preview {
    display: block !important;
  }

  .print-root {
    border: none;
    padding: 0;
    box-shadow: none;
  }

  .print-recipe {
    break-inside: avoid;
  }
}
