/* Iya Oyo — shared visual system. Existing utility hooks are intentionally retained. */
:root {
  color-scheme: light;
  --ui-canvas: #f8f5ee; --ui-paper: #fffdf8; --ui-wash: #f0e9dc;
  --ui-ink: #29251e; --ui-muted: #686153; --ui-line: #d9d0c1;
  --ui-primary: #a13e22; --ui-primary-hover: #7f2e17; --ui-primary-soft: #f5e6dc;
  --ui-secondary: #254c3b; --ui-success: #286044; --ui-accent: #996117;
  --ui-error: #a52c2c; --ui-error-soft: #fff0ed; --ui-focus: #286550;
  --ui-s1: .25rem; --ui-s2: .5rem; --ui-s3: .75rem; --ui-s4: 1rem;
  --ui-s6: 1.5rem; --ui-s8: 2rem; --ui-s12: 3rem; --ui-s16: 4rem;
  --ui-radius: 14px; --ui-shadow: 0 8px 28px #37261309;
  --ui-body: 'DM Sans', sans-serif; --ui-display: 'Newsreader', Georgia, serif;
}
html.dark {
  color-scheme: dark;
  --ui-canvas: #191d18; --ui-paper: #222821; --ui-wash: #2c342a;
  --ui-ink: #f6f0e3; --ui-muted: #c5bdad; --ui-line: #4c5747;
  --ui-primary: #f0aa87; --ui-primary-hover: #ffd0b5; --ui-primary-soft: #453027;
  --ui-secondary: #b8d4b9; --ui-success: #aed6b6; --ui-accent: #e2bb73;
  --ui-error: #ffb3a8; --ui-error-soft: #482a27; --ui-focus: #bcdfc6;
}
html { scroll-padding-top: 7rem; }
html body { font-family: var(--ui-body); background: var(--ui-canvas) !important; color: var(--ui-ink) !important; line-height: 1.6; }
body *, body *::before, body *::after { box-sizing: border-box; }
body h1, body h2, body h3 { text-wrap: balance; color: var(--ui-ink); }
body h1 { font-family: var(--ui-display) !important; font-size: clamp(2.1rem, 4.5vw, 3.75rem) !important; font-weight: 500 !important; letter-spacing: -.035em !important; line-height: 1.06 !important; }
body h2 { font-family: var(--ui-display) !important; font-size: clamp(1.45rem, 2.3vw, 2rem); font-weight: 550; letter-spacing: -.02em; line-height: 1.2; }
body h3 { line-height: 1.35; letter-spacing: -.015em; }
body p { text-wrap: pretty; }
body :is(.text-xs, .text-\[10px\], .text-\[11px\]) { font-size: .75rem; }
body :is(.text-stone-400, .text-stone-500, .text-stone-600, .text-ink-muted, .text-on-surface-variant) { color: var(--ui-muted) !important; }
body :is(.text-ink, .text-ink-headline, .text-on-surface, .text-stone-900, .text-stone-950) { color: var(--ui-ink) !important; }
body :is(.text-primary, .text-orange-800, .text-orange-900) { color: var(--ui-primary); }
body :is(.bg-white, .bg-surface, .bg-canvas, .bg-stone-50) { background-color: var(--ui-paper) !important; }
body :is(.bg-surface-container-low, .bg-surface-low, .bg-canvas-alt, .bg-stone-100) { background-color: var(--ui-wash) !important; }
body :is(.border-outline-variant, .border-stone-200, .border-ink-border) { border-color: var(--ui-line) !important; }
body :is(.bg-primary-container, .bg-orange-100, .bg-orange-50) { background-color: var(--ui-primary-soft) !important; }
body :is(.text-error, .text-red-700) { color: var(--ui-error); }
body :is(.shadow-lg, .shadow-xl, .shadow-2xl, .shadow-md) { box-shadow: var(--ui-shadow); }
body .material-symbols-outlined { font-family: 'Material Symbols Outlined'; font-size: 1.25rem; flex-shrink: 0; }
body :is(button, a, input, select, textarea, summary) { -webkit-tap-highlight-color: transparent; }
body :is(button, a, summary) { touch-action: manipulation; }
body button { transition: background-color .16s, color .16s, border-color .16s, box-shadow .16s; }
body button:not(:disabled), body summary { cursor: pointer; }
body :is(button, input:not([type=checkbox]):not([type=radio]), select) { min-height: 44px; }
body button[aria-label]:has(> .material-symbols-outlined:only-child) { min-width: 44px; }
body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--ui-focus) !important; outline-offset: 4px; box-shadow: 0 0 0 2px var(--ui-paper); }
body button:disabled, body [aria-disabled=true] { opacity: .45; cursor: not-allowed; box-shadow: none !important; }
body button:active:not(:disabled) { filter: brightness(.94); }
body :is(button,a):is(.bg-primary,.bg-orange-800) { background: var(--ui-primary) !important; color: #fffdf8 !important; border-color: transparent; box-shadow: none; }
html.dark body :is(button,a):is(.bg-primary,.bg-orange-800) { color: #29251e !important; }
body :is(button,a):is(.bg-primary,.bg-orange-800):hover { background: var(--ui-primary-hover) !important; }
body button:not(.bg-primary):not(.bg-orange-800):hover { background-color: var(--ui-primary-soft); }
body a:hover { text-decoration-thickness: 1px; text-underline-offset: 4px; }
body label, body legend { color: var(--ui-ink); font-size: .875rem; font-weight: 600; }
body :is(input,textarea,select):not([type=checkbox]):not([type=radio]):not([type=range]) { background-color: var(--ui-paper) !important; color: var(--ui-ink) !important; border-color: var(--ui-line) !important; border-radius: 10px; font-size: .9375rem; line-height: 1.5; }
body :is(input,textarea)::placeholder { color: var(--ui-muted); opacity: .8; }
body :is(input,textarea,select):hover { border-color: var(--ui-muted) !important; }
body :is(input,textarea,select):is(:user-invalid,[aria-invalid=true]) { border-color: var(--ui-error) !important; background-color: var(--ui-error-soft) !important; }
body :is(input[type=checkbox],input[type=radio]) { accent-color: var(--ui-primary); }
body input[type=file]::file-selector-button { padding: .5rem .8rem; margin-right: 1rem; border: 0; border-radius: 6px; background: var(--ui-wash); color: var(--ui-ink); font: inherit; }
body dialog { max-width: calc(100vw - 2rem); padding: 1.5rem; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-paper) !important; color: var(--ui-ink) !important; box-shadow: 0 24px 80px #0004; }
body dialog::backdrop { background: #19201899; backdrop-filter: blur(3px); }
.ui-field-error { display: block; margin-top: .5rem; font: 500 .8125rem/1.5 var(--ui-body); color: var(--ui-error); }
.ui-error-notice { padding: 1rem 1.25rem; border: 1px solid var(--ui-error); border-radius: 10px; background: var(--ui-error-soft); color: var(--ui-error); margin: 1rem 0; }
.ui-error-notice::before { content: '!'; display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; margin-right: .65rem; border: 1px solid currentColor; border-radius: 50%; font-weight: 700; }
/* The shell retains its existing links and event targets. */
body > header { background: var(--ui-paper) !important; border: 0 !important; border-bottom: 1px solid var(--ui-line) !important; box-shadow: none !important; }
body > header > :first-child { min-height: 80px; gap: 1rem; }
body header a:has(> span:first-child) { letter-spacing: -.01em; }
body .ui-brand { font-family: var(--ui-display) !important; color: var(--ui-primary) !important; font-size: 1.5rem !important; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; }
body header nav a { border-bottom-color: transparent !important; }
body header nav a[aria-current=page] { color: var(--ui-primary) !important; border-bottom: 2px solid var(--ui-primary) !important; }
body footer { background: var(--ui-paper) !important; border-top: 1px solid var(--ui-line); color: var(--ui-muted); margin-top: auto; }
body footer nav a { padding-block: .5rem; }
body footer nav { color: var(--ui-muted) !important; }
body header :is(button,a).bg-primary { background: var(--ui-primary-soft) !important; color: var(--ui-primary) !important; }
body header nav a:not([aria-current=page]) { color: var(--ui-muted) !important; }
body header .ui-brand { white-space: nowrap; }
body > nav.fixed { background: var(--ui-paper) !important; border-top: 1px solid var(--ui-line); padding-bottom: max(.5rem, env(safe-area-inset-bottom)); }
body article { border-radius: var(--ui-radius) !important; border-color: var(--ui-line) !important; box-shadow: none !important; background: var(--ui-paper) !important; overflow: hidden; }
body article:has(h3):hover { box-shadow: var(--ui-shadow) !important; border-color: var(--ui-primary) !important; }
body article h3 { font-family: var(--ui-display) !important; font-size: 1.5rem !important; font-weight: 600 !important; }
body article img { transition: transform .3s; }
body article:hover img { transform: none; }
body main { min-width: 0; }
body main > section { scroll-margin-top: 7rem; }
.ui-kicker { font: 650 .6875rem/1.4 var(--ui-body); text-transform: uppercase; letter-spacing: .16em; color: var(--ui-primary); margin-bottom: 1rem; }
body h1[data-ui-kicker]::before { content: attr(data-ui-kicker); display: block; font: 650 .6875rem/1.4 var(--ui-body); text-transform: uppercase; letter-spacing: .16em; color: var(--ui-primary); margin-bottom: 1rem; }
.ui-heading-rule { border-top: 3px solid var(--ui-primary); padding-top: 1.5rem; }
/* Lists use their original children, including the application's existing empty copy. */
[data-ui-list] { position: relative; }
[data-ui-loading=true] { position: relative; min-height: 160px; }
[data-ui-loading=true] > * { visibility: hidden; }
[data-ui-loading=true]::before { content: 'Preparing your kitchen…'; position: absolute; inset: 0; z-index: 1; padding: 3rem 1.5rem; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-paper); color: var(--ui-muted); font: 500 .875rem var(--ui-body); }
[data-ui-loading=true]::after { content: ''; position: absolute; z-index: 2; height: 3px; top: 0; left: 0; width: 32%; background: var(--ui-primary); animation: ui-loading 1.4s ease-in-out infinite alternate; }
[data-ui-list]:empty { min-height: 160px; border: 1px solid var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-paper); }
[data-ui-list]:empty::before { content: 'Preparing your kitchen…'; display: block; padding: 3rem 1.5rem; color: var(--ui-muted); font-size: .875rem; grid-column: 1/-1; }
[data-ui-list]:empty::after { content: ''; position: absolute; height: 3px; top: 0; left: 0; width: 32%; background: var(--ui-primary); animation: ui-loading 1.4s ease-in-out infinite alternate; }
[data-ui-list]:empty:has(+ button[hidden])::before, [data-ui-list]:empty:has(+ button.hidden)::before { content: 'Nothing here yet.'; text-align: center; }
[data-ui-list]:empty:has(+ button[hidden])::after, [data-ui-list]:empty:has(+ button.hidden)::after { display: none; }
[data-ui-empty=true] { display: block !important; padding: 3rem 1.5rem; border: 1px dashed var(--ui-line); border-radius: var(--ui-radius); background: var(--ui-paper); text-align: center; color: var(--ui-muted); font-size: .9375rem; }
[data-ui-empty=true]::before { content: 'A little room for something delicious'; display: block; margin-bottom: .5rem; color: var(--ui-ink); font: 500 1.65rem/1.2 var(--ui-display); }
body[data-screen=notifications] [data-ui-empty=true]::before { content: 'All quiet in your kitchen'; }
body[data-screen=admin] [data-ui-empty=true]::before { content: 'Nothing to review'; }
[data-ui-boards-empty=true]::before { content: 'Your cookbook starts here. Create a board to gather your favourites.'; grid-column: 1/-1; padding: 1.5rem; background: var(--ui-paper); border: 1px dashed var(--ui-line); border-radius: var(--ui-radius); color: var(--ui-muted); }
@keyframes ui-loading { to { left: 68%; } }
/* Focused authentication: one action, no storytelling panel. */
body[data-screen=auth] { min-height: 100svh; background: var(--ui-canvas) !important; }
.ui-auth-shell { min-height: 100svh; width: 100%; display: flex; flex-direction: column; }
.ui-auth-top { width: min(1200px,100%); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.75rem 2rem; border-bottom: 1px solid var(--ui-line); }
.ui-auth-top a { color: var(--ui-muted); font-size: .875rem; }
.ui-auth-brand { font: 600 1.65rem/1 var(--ui-display); color: var(--ui-primary); }
.ui-auth-main { width: min(100%, 480px); margin: auto; padding: 3rem 1.5rem; }
.ui-auth-card { padding: 2.25rem; background: var(--ui-paper); border: 1px solid var(--ui-line); border-top: 3px solid var(--ui-primary); border-radius: 4px 4px var(--ui-radius) var(--ui-radius); box-shadow: var(--ui-shadow); }
body[data-screen=auth] h1 { font-size: 2.4rem !important; margin-bottom: .75rem; }
#auth-subtitle { font-size: .875rem; color: var(--ui-muted); line-height: 1.6; }
.ui-auth-tabs { display: flex; border-bottom: 1px solid var(--ui-line); margin: 1.75rem 0; gap: 1.5rem; }
body[data-screen=auth] .ui-auth-tabs button { min-height: 44px; border-radius: 0; padding: .75rem 0; border-bottom: 2px solid transparent; background: transparent !important; color: var(--ui-muted) !important; box-shadow: none !important; font-size: .875rem; }
body[data-screen=auth] .ui-auth-tabs button[aria-selected=true] { border-bottom-color: var(--ui-primary); color: var(--ui-primary) !important; font-weight: 700; }
.ui-auth-tabs button:hover { color: var(--ui-primary) !important; }
.ui-auth-form { display: grid; gap: 1.25rem; }
.ui-auth-form label { display: block; margin-bottom: .5rem; }
.ui-auth-form input { width: 100%; padding: .8rem 1rem; border: 1px solid var(--ui-line); }
.ui-auth-form input#password { padding-right: 3.5rem; }
.ui-password { position: relative; }
.ui-password button { position: absolute; right: 4px; top: 2px; padding: .5rem; color: var(--ui-muted); }
.ui-auth-submit { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .75rem; border-radius: 8px; padding: .85rem 1rem; background: var(--ui-primary); color: var(--ui-paper); font-weight: 650; margin-top: .25rem; }
.ui-recovery { font-size: .8125rem; color: var(--ui-muted); }
.ui-recovery summary { width: fit-content; color: var(--ui-primary); padding-block: .35rem; text-underline-offset: 4px; }
.ui-recovery[open] { padding: .75rem; border-radius: 8px; background: var(--ui-wash); }
.ui-recovery p { padding-top: .5rem; }
.ui-auth-note { text-align: center; font-size: .75rem; color: var(--ui-muted); margin-top: 1.5rem; }
.ui-auth-bottom { text-align: center; padding: 1.25rem; color: var(--ui-muted); font-size: .75rem; }
/* Explore / search — editorial masthead and practical filtering. */
body[data-screen=explore] > header + section { background: var(--ui-wash) !important; padding-block: 3rem; border-bottom: 1px solid var(--ui-line); }
body[data-screen=explore] > header + section h1 { max-width: 800px; }
body[data-screen=explore] > header + section .shadow-md { box-shadow: none; }
body[data-screen=explore] main aside > div { border-radius: var(--ui-radius); border-color: var(--ui-line); box-shadow: none; }
body[data-screen=explore] main aside h3 { font: 650 .8125rem var(--ui-body); }
body[data-screen=explore] main aside { font-size: .8125rem; }
/* Home / directory — spacious photography, restrained cards. */
body[data-screen=home] main > section:first-child { border-radius: 18px; border: 1px solid var(--ui-line); box-shadow: none !important; }
body[data-screen=home] main > section:first-child h1 { max-width: 680px; }
body[data-screen=home] main > section:first-child .bg-gradient-to-br { background: var(--ui-wash) !important; }
body[data-screen=home] main > section + section { margin-top: 3rem; }
body[data-screen=home] main article button { background-color: var(--ui-paper); color: var(--ui-primary); }
body[data-screen=home] main > section button.bg-primary:not(:first-child) { background: var(--ui-primary-soft) !important; color: var(--ui-primary) !important; }
body[data-screen=home] main > section:has(article) button.bg-primary { background: var(--ui-primary-soft) !important; color: var(--ui-primary) !important; }
body[data-screen=chefs] main > section:first-child { background: var(--ui-wash) !important; border: 1px solid var(--ui-line); border-radius: 18px; }
body[data-screen=chefs] main article button { background: var(--ui-primary-soft) !important; color: var(--ui-primary) !important; }
body[data-screen=chef] main > section:first-child, body[data-screen=profile] main > section:first-child { background: var(--ui-paper); }
body[data-screen=chef] main > section:first-child > :first-child { height: 200px; background-color: var(--ui-wash); }
body[data-screen=chef] main > section:first-child > :first-child > .absolute { background: linear-gradient(0deg,var(--ui-wash),transparent) !important; }
body[data-screen=profile] main > section:first-child > :first-child { height: 160px; background: var(--ui-secondary) !important; background-image: repeating-linear-gradient(90deg,transparent 0,transparent 47px,#ffffff09 48px),repeating-linear-gradient(0deg,transparent 0,transparent 47px,#ffffff09 48px) !important; }
body[data-screen=profile] #profile-form { max-width: 700px; }
body[data-screen=profile] #profile-form label { display: grid; gap: .5rem; }
body[data-screen=profile] main a.bg-primary { background: var(--ui-primary-soft) !important; color: var(--ui-primary) !important; }
/* Forms: reduce promotional space and give fields a steady reading rhythm. */
body[data-screen=apply] > section:first-of-type, body[data-screen=recipe-editor] > section:first-of-type { background: var(--ui-canvas) !important; padding-block: 2.5rem 1.5rem; border: 0; }
body[data-screen=apply] > section, body[data-screen=apply] main { max-width: 820px; margin-inline: auto; }
body[data-screen=apply] > section > div { padding-inline: 1.5rem; }
body[data-screen=apply] > section:first-of-type h1 { margin-top: 0; }
body[data-screen=apply] > section:first-of-type h1::before, body[data-screen=recipe-editor] > section:first-of-type h1::before { margin-top: 0; }
body[data-screen=apply] main > .grid { display: block; }
body[data-screen=apply] form label { display: block; }
body[data-screen=apply] form h2 { padding-bottom: 1rem; border-bottom: 1px solid var(--ui-line); }
body[data-screen=recipe-editor] main { max-width: 900px; }
body[data-screen=recipe-editor] main > section { border-radius: var(--ui-radius); box-shadow: none; }
body[data-screen=recipe-editor] main label:not(:has([type=checkbox])) { display: grid; gap: .5rem; }
body[data-screen=recipe-editor] nav[aria-label="Recipe steps"] { gap: 0; border-bottom: 1px solid var(--ui-line); }
body[data-screen=recipe-editor] nav[aria-label="Recipe steps"] button { border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent !important; color: var(--ui-muted) !important; }
body[data-screen=recipe-editor] nav[aria-label="Recipe steps"] button[aria-current=step] { color: var(--ui-primary) !important; border-bottom-color: var(--ui-primary); }
body[data-screen=recipe-editor] main > .flex.justify-between #ed-next { margin-left: auto; }
body[data-screen=recipe-editor] main > .flex.justify-between { margin-top: 1rem; }
/* Recipe: a reading-first layout and an easy-to-scan ingredient card. */
body[data-screen=recipe-detail] main h1 { max-width: 1000px; }
body[data-screen=recipe-detail] #ingredientsSection > :first-child { background: var(--ui-wash) !important; border: 1px solid var(--ui-line); box-shadow: none; }
body[data-screen=recipe-detail] #stepsSection h3 { font-family: var(--ui-display); font-size: 1.65rem; }
body[data-screen=recipe-detail] #stepsSection p { font-size: 1rem; line-height: 1.85; }
body[data-screen=recipe-detail] #mainGalleryImage { max-height: 560px; }
body[data-screen=recipe-detail] #likeCounterBtn { background: var(--ui-primary-soft) !important; color: var(--ui-primary) !important; }
body[data-screen=recipe-detail] #followChefBtn { background: transparent !important; color: var(--ui-primary) !important; border: 1px solid var(--ui-line); }
/* Personal library / notifications. */
body[data-screen=collections] main > section:nth-of-type(2) { background: transparent !important; padding-inline: 0; border: 0; box-shadow: none; }
body[data-screen=collections] main .group { border-radius: var(--ui-radius); }
body[data-screen=notifications] main { max-width: 900px; }
body[data-screen=notifications] main article { border-radius: 10px !important; }
body[data-screen=notifications] main > .flex.flex-wrap button.bg-primary { background: var(--ui-primary-soft) !important; color: var(--ui-primary) !important; border-color: var(--ui-primary); }
/* Admin keeps density, with calm data cards and clear row boundaries. */
body[data-screen=admin] h1 { font-size: clamp(2rem,3vw,2.8rem) !important; }
body[data-screen=admin] main { max-width: 1200px; }
body[data-screen=admin] #overview > div { border-radius: 10px; border-top: 3px solid var(--ui-secondary); }
body[data-screen=admin] #overview .text-3xl { font: 500 2.5rem var(--ui-display); margin-top: .75rem; }
body[data-screen=admin] :is(#chef-queue,#mod-queue,#governance,#taxonomy) { padding-top: 1.5rem; border-top: 1px solid var(--ui-line); }
body[data-screen=admin] th { color: var(--ui-muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
body[data-screen=admin] td { padding-block: .9rem; }
body[data-screen=admin] #admin-taxonomy-form { display: flex; flex-wrap: wrap; gap: .75rem; align-items: start; }
body[data-screen=admin] #admin-taxonomy-form > * { margin: 0; }
html.dark body :is([class*="bg-surface"],[class*="bg-canvas"],[class*="bg-white"],[class*="bg-stone-"]) { background-color: var(--ui-paper) !important; }
html.dark body :is([class*="text-on-surface"],[class*="text-ink"],.text-stone-700,.text-stone-800,.text-stone-900,.text-stone-950) { color: var(--ui-ink) !important; }
html.dark body :is([class*="text-on-surface-variant"],.text-ink-muted,.text-stone-400,.text-stone-500,.text-stone-600) { color: var(--ui-muted) !important; }
html.dark body :is(.text-orange-800,.text-orange-900,.text-orange-950,.text-primary) { color: var(--ui-primary) !important; }
html.dark body .text-secondary { color: var(--ui-secondary); }
html.dark body .text-on-primary-container { color: var(--ui-primary); }
html.dark body .bg-secondary-container { background-color: #2b3d30; }
html.dark body .text-on-secondary-container { color: var(--ui-secondary); }
html.dark body[data-screen=auth] .ui-auth-tabs button { color: var(--ui-muted) !important; }
html.dark body[data-screen=auth] .ui-auth-tabs button[aria-selected=true] { color: var(--ui-primary) !important; }
html.dark body [class*="border-outline"], html.dark body [class*="border-stone"] { border-color: var(--ui-line); }
@media (max-width: 767px) {
  body > header > :first-child { min-height: 72px; height: auto; gap: .5rem; flex-wrap: wrap; padding-block: .8rem; }
  body > header .ui-brand { font-size: 1.25rem !important; }
  body > header .shrink-0 { flex-shrink: 1; }
  body > header .ui-brand { white-space: normal; }
  body main { padding-top: 1.5rem; }
  body article h3 { font-size: 1.4rem !important; }
  body[data-screen=explore] > header + section { padding-block: 2rem; }
  body[data-screen=recipe-detail] main h1 { font-size: 2.25rem !important; }
  .ui-auth-top { padding: 1.25rem; flex-wrap: wrap-reverse; }
  .ui-auth-brand { font-size: 1.4rem; }
  .ui-auth-main { padding: 2rem 1.25rem; }
  .ui-auth-card { padding: 1.5rem; }
  body[data-screen=auth] h1 { font-size: 2rem !important; }
  body[data-screen=recipe-editor] #ed-ingredients > div { grid-template-columns: repeat(12,minmax(0,1fr)); }
  body[data-screen=recipe-editor] #ed-ingredients input { min-width: 0; padding-inline: .45rem; }
  body[data-screen=recipe-editor] nav[aria-label="Recipe steps"] { grid-template-columns: repeat(4,minmax(0,1fr)); }
  body[data-screen=recipe-editor] nav[aria-label="Recipe steps"] button { font-size: .75rem; padding-inline: .25rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media print { .ui-error-notice, .ui-kicker { display: none !important; } body { --ui-paper: #fff; --ui-ink: #111; --ui-muted: #444; background: white !important; } }
