/* Fonts for the public pages (OFL, self-hosted: no CDN). Split like Fontsource does, so
   a page loads latin-ext only when it draws a Polish letter outside Latin-1. */
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/fraunces-latin-wght-normal.eb2486760f75.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("fonts/fraunces-latin-ext-wght-normal.9cab501e1829.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("fonts/fraunces-latin-wght-italic.701ae03b5183.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 100 900;
  src: url("fonts/fraunces-latin-ext-wght-italic.cfd11a38fc0d.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("fonts/plus-jakarta-sans-latin-wght-normal.7660bd9909fb.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url("fonts/plus-jakarta-sans-latin-ext-wght-normal.341687eeeb6a.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* The app wears the brand of the public pages: cream paper, the logo's bottle green. */
  --green: #2f8a3c;
  --green-dark: #1f6a2b;
  --green-soft: #e8f2da;
  --forest: #0d3b1e;
  --ink: #1c2b21;
  --muted: #5f6b62;
  --line: #e9e0d0;
  --bg: #fbf7f0;
  --card: #fff;
  --warn: #8a5200;
  --warn-soft: #fdf1d8;
  --error: #b3261e;
  --error-soft: #fdecec;
  --blue: #2e6bd6;
  --screen: #17191b;
  --radius: 16px;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
img { max-width: 100%; }
a { color: var(--green-dark); }
h1 { font-size: 1.7rem; line-height: 1.2; margin: 0 0 12px; font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: 1.15rem; margin: 0 0 10px; letter-spacing: -.01em; }
h3 { font-size: 1rem; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
code { background: #f1ebdf; padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: .88em; }
.hidden, [hidden] { display: none !important; }
.break { overflow-wrap: anywhere; }
.inline { display: inline; margin: 0; }
.center { text-align: center; }
.error-text { color: var(--error); }

body.app { display: flex; flex-direction: column; }
body.app > main { flex: 1; width: 100%; }
body.app > .messages { width: 100%; }
body.app h1 { color: var(--forest); }

/* buttons */
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 9px 18px; text-decoration: none; color: var(--ink); font-weight: 600; min-height: 44px;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
:focus-visible { outline: 3px solid rgba(47,138,60,.45); outline-offset: 2px; }
button:hover, .button:hover { border-color: #cdbfa6; }
button:disabled { opacity: .55; cursor: not-allowed; }
.primary { background: var(--forest); border-color: var(--forest); color: #fff; font-weight: 700; }
.primary:hover { background: #145230; border-color: #145230; }
.ghost.on { background: var(--green-soft); border-color: #b7d79a; color: var(--green-dark); }
.primary:disabled { background: #a3b3a7; border-color: #a3b3a7; }
.ghost { background: transparent; }
.danger { background: var(--error); border-color: var(--error); color: #fff; }
.big { padding: 13px 26px; font-size: 1.05rem; min-height: 54px; }
.small.button, button.small { padding: 5px 10px; min-height: 34px; font-size: .88rem; }
button.link { border: 0; background: none; padding: 0; min-height: 0; color: var(--muted); font-weight: 500; border-radius: 4px; }
button.link:hover { color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.actions.secondary { margin-top: 18px; }

/* top bar */
.topbar { display: flex; align-items: center; gap: 18px; padding: 12px 22px; background: rgba(251,247,240,.9); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; flex: none; }
.brand img { height: 22px; width: auto; display: block; }
.brand.big img { height: 30px; }
.brand.big { margin-bottom: 8px; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.nav a:hover { color: var(--forest); }
.nav a.active { color: var(--forest); background: var(--green-soft); }
.nav svg { display: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-logout { margin-left: 10px; }

/* messages */
.messages { max-width: 960px; margin: 14px auto 0; padding: 0 18px; display: grid; gap: 8px; }
.message { padding: 11px 16px; border-radius: 12px; background: var(--green-soft); border: 1px solid #cfe3b9; transition: opacity .6s; }
.message.error { background: var(--error-soft); border-color: #f2c0c0; color: #8f1d1d; }
.message.warning { background: var(--warn-soft); border-color: #f3d7a4; color: var(--warn); }
.message.fade { opacity: 0; pointer-events: none; }

/* layout */
.container { max-width: 960px; margin: 0 auto; padding: 24px 18px 60px; }
.container.wide { max-width: 1240px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: 0 1px 2px rgba(70,50,20,.04); }
.stack { display: grid; gap: 10px; }
.stack input, .search, .linkbox input, .narrow-form input { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1rem; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(47,138,60,.3); outline-offset: 0; border-color: var(--green); }
.back { display: inline-block; margin-bottom: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }

/* home */
.hero { text-align: center; padding: 24px 0 34px; }
.hero.narrow { max-width: 640px; margin: 0 auto; }
.hero h1 { font-size: clamp(1.6rem, 4.4vw, 2.4rem); color: var(--forest); letter-spacing: -.02em; }
.accent { color: var(--green); white-space: nowrap; font-style: italic; font-weight: 500; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 620px; margin: 0 auto 22px; }
.linkbox { display: flex; gap: 8px; max-width: 720px; margin: 0 auto; background: #fff; padding: 7px; border-radius: 999px; border: 2px solid var(--green); box-shadow: 0 14px 34px rgba(47,138,60,.16); }
.linkbox input { border: 0; font-size: 1.05rem; min-width: 0; flex: 1; border-radius: 999px; }
.linkbox input:focus { outline: none; }
.hint { color: var(--muted); font-size: .9rem; margin-top: 10px; }
.onboarding { display: flex; gap: 16px; text-align: left; max-width: 520px; margin: 0 auto; }
.onboarding h2 { margin-bottom: 4px; }
.step-badge { width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.banner { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.section-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.recipe-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .12s, box-shadow .12s; }
.recipe-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(70,50,20,.12); }
.recipe-card img, .recipe-card .noimg { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--green-soft); }
.noimg { display: grid; place-items: center; font-size: 2.2rem; background: var(--green-soft); }
.rc-body { padding: 12px 14px 14px; display: grid; gap: 4px; flex: 1; align-content: start; }
.rc-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pill.shopping { background: #f8e3d6; color: #8f4424; }
.filters { display: grid; gap: 10px; margin-bottom: 16px; }
.filters .search { margin: 0; }
.filter-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chips .chip-btn { flex: none; }
.chip-btn.active { background: var(--forest); border-color: var(--forest); color: #fff; }
.empty-filter { text-align: center; padding: 26px 10px; }
.empty-filter .link { color: var(--green-dark); text-decoration: underline; }
.rc-body h3 { line-height: 1.3; }
.rc-body p { margin: 0; }
.empty { text-align: center; padding: 40px 10px; background: #fff; border: 1px dashed #d9cdb8; border-radius: var(--radius); }
.empty-icon { font-size: 2.4rem; }
.more-links { margin-top: 22px; text-align: center; }
.quota { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.quota-dots { display: inline-flex; gap: 4px; vertical-align: middle; margin-right: 6px; }
.quota-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--green); }
.quota-dots i.used { background: var(--green); }
.quota b { color: var(--ink); }
.limit-card { max-width: 560px; margin: 0 auto; text-align: left; border-color: #f3d7a4; background: var(--warn-soft); }
.limit-card p { margin: 0 0 6px; }

/* status pills */
.pill { display: inline-block; justify-self: start; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: #f1ebdf; color: var(--muted); }
.pill.synced { background: var(--green-soft); color: var(--green-dark); }
.pill.changed { background: var(--warn-soft); color: var(--warn); }
.pill.failed { background: var(--error-soft); color: var(--error); }
.pill.never { background: #f1ebdf; color: var(--muted); }

/* import progress */
.stepper { list-style: none; padding: 0; margin: 26px auto; max-width: 420px; text-align: left; display: grid; gap: 4px; }
.stepper li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px; color: var(--muted); }
.stepper li::before { content: ""; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #d9cdb8; flex: none; display: grid; place-items: center; font-size: .8rem; }
.stepper li.active { color: var(--ink); font-weight: 600; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(70,50,20,.07); }
.stepper li.active::before { border-color: #cfe3b9; border-top-color: var(--green); animation: spin .8s linear infinite; }
.stepper li.done { color: var(--ink); }
.stepper li.done::before { content: "✓"; background: var(--green); border-color: var(--green); color: #fff; }
.stepper li.failed { color: var(--error); font-weight: 600; }
.stepper li.failed::before { content: "!"; background: var(--error); border-color: var(--error); color: #fff; }
.result { text-align: left; margin-top: 10px; }
.elapsed { color: var(--muted); font-size: .92rem; margin: -10px auto 0; max-width: 520px; }
.elapsed b { color: var(--ink); font-variant-numeric: tabular-nums; }
.now { display: flex; align-items: center; justify-content: center; gap: 10px; margin: -8px auto 16px; max-width: 520px; color: var(--ink); font-size: .95rem; }
.result.success { display: flex; gap: 18px; align-items: flex-start; border-color: #b7d79a; }
.result.failure { border-color: #f2c0c0; }
.result-photo { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; flex: none; }
.warnings { color: var(--warn); padding-left: 18px; margin: 10px 0 0; }
.log { margin-top: 20px; text-align: left; color: var(--muted); }
.log summary { cursor: pointer; }
.spinner { width: 15px; height: 15px; border: 2px solid #cfe3b9; border-top-color: var(--green); border-radius: 50%; display: inline-block; animation: spin .8s linear infinite; }
.spinner.light { border-color: rgba(255,255,255,.4); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }

/* recipe page */
.recipe-hero { display: flex; gap: 24px; margin-bottom: 26px; }
.recipe-hero .hero-photo { width: 260px; height: 260px; border-radius: 22px; object-fit: cover; flex: none; box-shadow: 0 16px 36px rgba(70,50,20,.14); }
.recipe-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--forest); letter-spacing: -.02em; }
.facts { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px 13px; display: grid; }
.facts span { font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.facts b { font-size: .98rem; }
.h-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.h-row .link { font-size: .85rem; color: var(--green-dark); text-decoration: underline; }
.plain-list { padding-left: 18px; margin: 0; display: grid; gap: 4px; }
.shared-link { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: .98rem; }
.rh-body { flex: 1; min-width: 0; }
.rh-body p { margin: 0 0 6px; }
.sync-box { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; gap: 4px; }
.sync-box.synced { border-color: #b7d79a; background: #f7faf0; }
.sync-box.failed { border-color: #f2c0c0; background: #fffafa; }
.sync-box.changed { border-color: #f3d7a4; background: #fffcf6; }
.sync-box .actions { margin-top: 8px; }
.danger-zone { display: inline-block; }
.danger-zone summary { list-style: none; }
.danger-zone summary::-webkit-details-marker { display: none; }
.danger-zone[open] form { margin-top: 10px; padding: 12px; border: 1px solid #f2c0c0; border-radius: 10px; background: var(--error-soft); }
.check { display: flex; gap: 8px; align-items: center; }
.detail-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.ingredients, .hints { padding-left: 20px; margin: 0 0 18px; line-height: 1.7; }
.ingredients b { color: var(--green-dark); }
.steps-view { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.step-card { display: flex; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 13px 15px; cursor: pointer; }
.step-card.active { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,138,60,.14); }
.step-card p { margin: 0; line-height: 1.7; }
.step-no { width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85em; flex: none; }
.ing { font-weight: 700; color: var(--green-dark); border-bottom: 2px solid #b7d79a; }
.chip { display: inline-block; padding: 0 8px; border-radius: 6px; background: var(--green); color: #fff; font-weight: 600; white-space: nowrap; line-height: 1.6; }
.chip.mode { background: var(--blue); }
.kind-classic .tm-only { display: none !important; }
.kind-classic .edit-layout { grid-template-columns: minmax(0, 1fr); }
.pill.classic { background: #f8ecd2; color: #7a5310; }
.sync-box.classic { border-color: #ecd6a8; background: #fffcf4; }
.detail-grid.no-preview { grid-template-columns: 300px minmax(0, 1fr); }

/* home: how to keep the recipe */
.mode-pick { border: 0; padding: 0; margin: 0 auto 14px; max-width: 720px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mode-pick legend { padding: 0; margin: 0 auto 8px; font-weight: 700; color: var(--forest); }
.mode-opt { display: flex; gap: 10px; align-items: flex-start; text-align: left; cursor: pointer; background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 11px 14px; transition: border-color .15s, background .15s; }
.mode-opt:has(input:checked) { border-color: var(--green); background: #f7faf0; }
.mode-opt input { accent-color: var(--green); margin-top: 4px; flex: none; }
.mode-opt span { display: grid; gap: 1px; }
.mode-opt small { color: var(--muted); font-size: .84rem; line-height: 1.35; }
.cookidoo-nudge { margin-top: 14px; }
.confirm-kinds { display: grid; gap: 10px; justify-items: center; }

/* cooking, one step at a time (recipes:cook) */
body.cooking { background: var(--bg); min-height: 100vh; min-height: 100dvh; }
.cook { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.cook-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 10px 14px; padding-top: calc(10px + env(safe-area-inset-top)); background: rgba(251,247,240,.96); border-bottom: 1px solid var(--line); }
.cook-close, .cook-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: 1.15rem; flex: none; }
.cook-title { flex: 1; min-width: 0; font-weight: 700; color: var(--forest); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cook-count { font-weight: 700; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cook-progress { height: 5px; background: var(--line); }
.cook-progress i { display: block; height: 100%; width: 0; background: var(--green); transition: width .25s ease; }
.cook-timers { display: grid; gap: 6px; padding: 8px 14px 0; max-width: 820px; width: 100%; margin: 0 auto; }
.cook-timer { display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 14px; background: var(--forest); color: #fff; }
.cook-timer .ct-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }
.cook-timer .ct-time { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.cook-timer button { min-height: 40px; padding: 4px 12px; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.cook-timer.ringing { background: var(--error); animation: cook-ring 1s steps(2) infinite; }
@keyframes cook-ring { 50% { background: #e0473e; } }
.cook-stage { flex: 1; width: 100%; max-width: 820px; margin: 0 auto; padding: 22px 18px 120px; }
.cook-screen { outline: none; }
.cook:not(.paged) .cook-screen + .cook-screen { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.cook-step-no { margin: 0 0 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); font-size: .9rem; }
.cook-step-no span { color: var(--muted); font-weight: 600; }
.cook-text { margin: 0 0 22px; font-size: clamp(1.35rem, 4.6vw, 2.1rem); line-height: 1.45; color: var(--ink); }
.cook-text .ing { border-bottom-width: 3px; }
.cook-text .chip { line-height: 1.4; }
.cook-ings { list-style: none; margin: 0 0 22px; padding: 14px 16px; display: grid; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-size: clamp(1.05rem, 3.4vw, 1.3rem); }
.cook-ings b, .cook-checklist b { color: var(--green-dark); }
.cook-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.timer-btn { min-height: 56px; padding: 10px 20px; font-size: 1.1rem; border: 2px solid var(--green); color: var(--green-dark); background: #fff; }
.timer-btn:hover { background: var(--green-soft); border-color: var(--green); }
.cook-start h1, .cook-end h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); color: var(--forest); }
.cook-photo { display: block; width: 100%; max-height: 34vh; object-fit: cover; border-radius: 20px; margin-bottom: 16px; }
.cook-facts { color: var(--muted); margin: 0 0 18px; }
.cook-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: clamp(1.02rem, 3.2vw, 1.2rem); }
.cook-checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 8px 4px; cursor: pointer; border-radius: 10px; }
.cook-checklist input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--green); flex: none; }
.cook-checklist label:has(input:checked) span { color: var(--muted); text-decoration: line-through; }
.cook-done { font-size: 3.4rem; margin: 20px 0 0; }
.cook-hints { padding-left: 20px; line-height: 1.6; font-size: 1.08rem; }
.cook-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; display: flex; gap: 10px; justify-content: center; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); background: rgba(251,247,240,.96); border-top: 1px solid var(--line); }
.cook-nav button { flex: 1; max-width: 390px; min-height: 60px; font-size: 1.15rem; }
.cook-nav .ghost { background: #fff; }
@media (min-width: 900px) and (min-height: 600px) {
  .cook-stage { display: flex; flex-direction: column; justify-content: center; }
}
@media (max-width: 720px) {
  .mode-pick { grid-template-columns: 1fr; }
  .detail-grid.no-preview { grid-template-columns: 1fr; }
}

/* recipe chat */
.chat { margin-bottom: 22px; }
.chat h2 { margin-bottom: 2px; }
.chat-log { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.bubble { padding: 9px 13px; border-radius: 14px; max-width: 80%; line-height: 1.45; }
.bubble.user { justify-self: end; background: var(--forest); color: #fff; border-bottom-right-radius: 4px; }
.bubble.assistant { justify-self: start; background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.undone { opacity: .55; }
.draft-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap;
  margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: var(--warn-soft); color: var(--warn); }
.draft-bar strong { color: var(--ink); }
.bubble .undo { display: block; margin-top: 4px; font-size: .85em; color: var(--green-dark); }
.chat-form textarea { width: 100%; font-size: 1rem; padding: 10px 12px; border-radius: 12px; }
.chat-actions { display: flex; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.suggestions { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.chip-btn { min-height: 32px; padding: 4px 11px; border-radius: 999px; font-size: .85rem; font-weight: 500; background: #fff; }
.chip-btn:hover { border-color: var(--green); color: var(--green-dark); }
.chat-status { margin: 8px 0 0; color: var(--muted); }

/* TM6-like preview */
.preview { position: sticky; top: 84px; }
.device { background: #2a2d30; border-radius: 26px; padding: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.screen { background: var(--screen); color: #f2f4f5; border-radius: 14px; min-height: 330px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.screen-top { display: flex; justify-content: space-between; font-size: .8em; color: #9aa3a8; gap: 10px; }
.screen-top span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screen-text { font-size: 1.02em; line-height: 1.6; flex: 1; }
.screen-text .ing { color: #6fe0a5; border-bottom-color: #2f7a52; }
.screen-text .muted { color: #7d868b; }
.screen-ings { font-size: .85em; color: #c4cacd; display: grid; gap: 2px; }
.screen-ings b { color: #6fe0a5; }
.dial { display: flex; gap: 8px; }
.dial .cell { flex: 1; background: #24272a; border-radius: 10px; padding: 8px; text-align: center; display: grid; gap: 2px; }
.dial .cell span { font-size: .7em; color: #8c959a; text-transform: uppercase; letter-spacing: .05em; }
.dial .cell b { font-size: 1.1em; color: #fff; }
.dial-empty { color: #6d767b; font-size: .85em; text-align: center; width: 100%; padding: 10px 0; }
.device-nav { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; color: #9aa3a8; font-size: .8em; }
button.round { width: 38px; height: 38px; min-height: 0; border-radius: 50%; padding: 0; background: #3a3e42; border-color: #4a4f54; color: #fff; font-size: 1.3em; }

/* settings & lists */
.settings-section { margin-bottom: 16px; }
.settings-section h2 { color: var(--forest); }
.settings-section p { margin: 0 0 10px; }
.narrow-form { max-width: 420px; }
.bookmarklet { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 2px dashed #b7d79a; background: var(--green-soft); color: var(--green-dark); font-weight: 700; text-decoration: none; cursor: grab; }
.search { margin: 6px 0 14px; }
.cookidoo-list { list-style: none; padding: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cookidoo-list li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.cookidoo-list li:last-child { border-bottom: 0; }
.cookidoo-list img, .small-img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; font-size: 1.4rem; }
.cookidoo-list .name { flex: 1; min-width: 0; }
.row-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* auth pages */
body.auth { display: grid; place-items: center; padding: 20px; }
.auth-card { width: min(420px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: 0 16px 40px rgba(0,0,0,.06); }
.auth-card h1 { font-size: 1.4rem; }
.auth-card form { display: grid; gap: 10px; margin-top: 12px; }
.auth-card input[type=email], .auth-card input[type=password], .auth-card input[type=text] { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.auth-card button[type=submit] { background: var(--green); border-color: var(--green); color: #fff; font-weight: 600; }
.auth-card .message { margin-bottom: 10px; }

/* advanced editor */
.editbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); position: sticky; top: 66px; z-index: 5; }
.editbar .back { margin: 0; }
.editbar-title { font-weight: 700; }
.editbar-actions { display: flex; gap: 8px; margin-left: auto; }
.edit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.edit-layout .preview { top: 140px; }
.editor .card { margin-bottom: 14px; }
.recipe-head { display: flex; gap: 18px; margin-bottom: 14px; }
.head-fields { flex: 1; min-width: 0; }
.photo { width: 150px; height: 150px; flex: none; border-radius: 12px; border: 2px dashed #c9d0d3; background: #fff; position: relative; cursor: pointer; overflow: hidden; display: grid; place-items: center; }
.photo.drag { border-color: var(--green); background: var(--green-soft); }
.photo.busy::after { content: "Wysyłanie…"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,255,255,.8); font-weight: 600; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-hint { text-align: center; color: var(--muted); font-size: .9em; display: grid; gap: 2px; padding: 8px; }
.photo-hint .big { font-size: 1.8em; }
.photo-hint small { font-size: .78em; }
.photo-remove { position: absolute; top: 6px; right: 6px; padding: 2px 8px; min-height: 0; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; border: 0; }
.title-input { width: 100%; font-size: 1.5em; font-weight: 700; border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 4px 0; margin-bottom: 8px; }
.title-input:focus { outline: none; border-bottom-color: var(--green); }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 8px; font-size: .92em; }
.meta-row label { display: flex; align-items: center; gap: 6px; }
.meta-row select, .num { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.num { width: 72px; }
.devices { display: inline-flex; gap: 6px; }
.pill-check { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: #fff; cursor: pointer; }
.pill-check:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.pill-check input { accent-color: var(--green); }
.card h2 small { font-weight: 400; color: var(--muted); font-size: .8em; }
.card h2 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.h-actions { margin-left: auto; display: flex; gap: 6px; }
textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; resize: vertical; line-height: 1.45; background: #fff; }
.ing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ing-view { margin: 0; padding: 4px 0 0 26px; font-size: .92em; line-height: 1.55; }
.ing-view li.unused { color: var(--muted); }
.ing-view li.unused::after { content: " · niepodświetlony"; font-size: .8em; color: var(--warn); }
.ing-view b { color: var(--green-dark); }
.step { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px 10px; margin-bottom: 10px; background: #fcfdfd; }
.step.active { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,138,60,.14); }
.step.has-errors { border-color: #e7b3b3; }
.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.tools { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; }
.tools button { padding: 3px 9px; min-height: 30px; font-size: .82em; background: #fff; }
.tools .spacer { flex: 1; }
.step-src { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88em; min-height: 52px; }
.step-rendered { margin-top: 6px; line-height: 1.7; font-size: .95em; }
.step-errors, .errors { color: var(--error); font-size: .88em; margin-top: 4px; }
button.wide { width: 100%; border-style: dashed; }
.help summary { cursor: pointer; color: var(--muted); font-size: .9em; margin-top: 10px; }
.help table { border-collapse: collapse; font-size: .88em; margin-top: 8px; }
.help td { padding: 4px 10px 4px 0; vertical-align: top; }

/* dialogs & toast */
dialog { border: 0; border-radius: 14px; padding: 0; box-shadow: 0 20px 60px rgba(0,0,0,.25); width: min(520px, 92vw); }
dialog::backdrop { background: rgba(20,24,26,.4); }
dialog form { padding: 20px 22px; }
dialog h3 { margin: 0 0 14px; }
dialog menu { display: flex; justify-content: flex-end; gap: 8px; padding: 0; margin: 16px 0 0; }
.form-grid { display: grid; gap: 10px; }
.form-grid label { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; }
.form-grid label > span { display: flex; align-items: center; gap: 6px; }
.form-grid input:not([type=checkbox]), .form-grid select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
label.check { display: flex !important; gap: 8px; align-items: center; }
.label-preview { background: var(--bg); padding: 8px 10px; border-radius: 8px; font-size: .9em; }
.pick { padding-left: 22px; max-height: 50vh; overflow: auto; }
.pick button { border: 0; background: transparent; padding: 4px 6px; min-height: 0; text-align: left; width: 100%; border-radius: 6px; justify-content: flex-start; font-weight: 400; }
.pick button:hover { background: var(--green-soft); }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); background: #1f2427; color: #fff; padding: 12px 18px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.25); z-index: 20; max-width: min(640px, 92vw); line-height: 1.5; }
.toast a { color: #7ee2ae; }
.toast.error { background: var(--error); }
.toast.warn { background: #7a4b00; }

/* shopping list */
.shop-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.shop-shelf { margin-bottom: 14px; }
.shop-shelf h2 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.shop-recipes { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.shop-recipes li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 13px; border-radius: 999px; background: var(--green-soft); font-size: .88rem; font-weight: 600; }
.shop-recipes a { color: var(--forest); text-decoration: none; }
.shop-recipes a:hover { text-decoration: underline; }
.shop-recipes .link { width: 24px; height: 24px; border-radius: 50%; font-size: 1.1rem; line-height: 1; color: var(--green-dark); }
.shop-recipes .link:hover { background: #fff; }
.shop-pending { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; color: var(--muted); font-size: .92rem; }
.shop-item { flex: 1; min-width: 0; }
.shop-name::first-letter { text-transform: uppercase; }
.shop-name { display: inline-block; }
.shop-item small { display: block; color: var(--muted); font-size: .78rem; text-decoration: none; }
.shop-items { list-style: none; padding: 0; margin: 0; }
.shop-items label { display: flex; align-items: flex-start; gap: 12px; padding: 9px 4px; border-top: 1px solid #f3ecdf; cursor: pointer; line-height: 1.4; }
.shop-items li:first-child label { border-top: 0; }
.shop-items input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--green); }
.shop-items b { color: var(--green-dark); }
.shop-items input:checked + span { color: var(--muted); text-decoration: line-through; }
.shop-items input:checked + span b { color: inherit; }
.shop-clear { text-align: center; margin-top: 18px; }
.shop-clear .link { text-decoration: underline; font-size: .9rem; }

/* "install on this phone" */
.install-bar { display: flex; align-items: center; gap: 12px; margin: 12px 14px 0; padding: 12px 14px; background: #fff; border: 1px solid #b7d79a;
  border-radius: 18px; box-shadow: 0 10px 26px rgba(47,138,60,.14); }
.install-bar img { border-radius: 11px; flex: none; }
.install-bar p { margin: 0; flex: 1; min-width: 0; font-size: .86rem; line-height: 1.35; color: var(--muted); }
.install-bar b { display: block; color: var(--forest); font-size: .95rem; }
.install-actions { display: grid; justify-items: center; gap: 4px; flex: none; }
.install-actions .primary { min-height: 40px; padding: 6px 16px; }
.install-actions .link { font-size: .8rem; text-decoration: underline; }

/* footer of the app */
.app-footer { max-width: 960px; margin: 0 auto; padding: 22px 18px 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; text-align: center; }
.app-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin-bottom: 8px; }
.app-footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
.app-footer a:hover { color: var(--forest); text-decoration: underline; }
.app-footer p { margin: 0; }

/* ======================================================================
   Public pages (apps.landing, sign-in/sign-up): body.site. Warm and kitchen-like —
   cream paper, the logo's bottle green and leaf, blush and butter notes.
   ====================================================================== */
body.site {
  --c-bg: #fbf7f0; --c-paper: #fffdf9; --c-ink: #17301f; --c-ink-2: #536157; --c-forest: #0d3b1e;
  --c-leaf: #5ea826; --c-leaf-dark: #3b7a14; --c-leaf-soft: #e8f2da; --c-blush: #f8e3d6; --c-butter: #f7ebbd;
  --c-sage: #e4eedb; --c-terra: #b9572f; --c-line: #ebe1d1;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--c-bg); color: var(--c-ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.site a { color: var(--c-leaf-dark); }
.site :focus-visible { outline: 3px solid rgba(94,168,38,.45); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.s-wrap { max-width: 1160px; margin: 0 auto; padding: 0 22px; }
.s-center { text-align: center; margin-left: auto; margin-right: auto; }

/* header */
.s-header { position: sticky; top: 0; z-index: 30; background: rgba(251,247,240,.88); backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid rgba(235,225,209,.7); }
.s-header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.s-logo { display: flex; align-items: center; gap: 7px; flex: none; }
.s-logo img { height: 24px; width: auto; display: block; }
.s-nav { display: flex; gap: 26px; margin-left: auto; font-weight: 500; font-size: .95rem; }
.s-nav a { color: var(--c-ink-2); text-decoration: none; }
.s-nav a:hover { color: var(--c-forest); }
.s-header-actions { display: flex; align-items: center; gap: 18px; }
.s-login { color: var(--c-forest) !important; font-weight: 600; text-decoration: none; font-size: .95rem; white-space: nowrap; }

/* buttons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 999px;
  background: var(--c-forest); color: #fff !important; font-weight: 700; font-size: 1.02rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 10px 24px rgba(13,59,30,.22); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.s-btn:hover { background: #145230; transform: translateY(-1px); box-shadow: 0 14px 28px rgba(13,59,30,.26); }
.s-btn-small { min-height: 40px; padding: 0 18px; font-size: .92rem; box-shadow: none; }
.s-btn-small:hover { box-shadow: none; }
.s-btn-ghost { background: transparent; color: var(--c-forest) !important; box-shadow: inset 0 0 0 2px var(--c-forest); }
.s-btn-ghost:hover { background: var(--c-forest); color: #fff !important; box-shadow: inset 0 0 0 2px var(--c-forest); }
.s-btn-light { background: var(--c-butter); color: var(--c-forest) !important; box-shadow: none; }
.s-btn-light:hover { background: #fbf2cf; box-shadow: none; }

/* type */
.site h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.45rem, 5.4vw, 4.4rem); line-height: 1.02;
  letter-spacing: -.025em; margin: 0 0 24px; color: var(--c-forest); }
.site h1 em { font-style: italic; font-weight: 500; color: var(--c-leaf-dark); }
.s-h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 3.5vw, 2.85rem); line-height: 1.1;
  letter-spacing: -.02em; color: var(--c-forest); margin: 0 0 16px; max-width: 21em; }
.s-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-terra); margin: 0 0 12px; }
.s-sub { color: var(--c-ink-2); max-width: 45em; margin: 0 0 44px; font-size: 1.06rem; }
.s-section { padding: 92px 0; }

/* hero */
.s-hero { padding: 54px 0 84px; overflow: hidden; }
.s-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.s-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .88rem; font-weight: 600; color: var(--c-leaf-dark);
  background: var(--c-leaf-soft); padding: 6px 14px; border-radius: 999px; margin: 0 0 24px; }
.s-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-leaf); box-shadow: 0 0 0 4px rgba(94,168,38,.18); }
.s-lead { font-size: 1.14rem; color: var(--c-ink-2); max-width: 35em; margin: 0 0 32px; }
.s-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.s-ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--c-ink-2); font-size: .93rem; }
.s-ticks li::before { content: "✓"; color: var(--c-leaf); font-weight: 800; margin-right: 7px; }

/* hero collage: a plate, a blog page, the pasted link, the Thermomix screen, a sticker */
.s-collage { position: relative; height: 530px; }
.s-collage::before { content: ""; position: absolute; left: 50%; top: 50%; width: 430px; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, #fffdf9 0 63%, #f4ecdf 63.5% 64.5%, #fffdf9 65%);
  box-shadow: 0 0 0 16px #f3eadb, 0 40px 70px rgba(90,65,25,.13); }
.s-blog { position: absolute; top: 18px; left: 0; width: 64%; background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(70,50,20,.14); transform: rotate(-4deg); padding-bottom: 14px; }
.s-blog-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #f4efe7; font-size: .7rem; color: #8b8172; }
.s-blog-bar i { width: 8px; height: 8px; border-radius: 50%; background: #ddd3c3; flex: none; }
.s-blog-bar span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-blog-title { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; margin: 14px 18px 6px; color: #3b2f24; }
.s-blog-line { margin: 0 18px 6px; font-family: Georgia, serif; font-size: .8rem; line-height: 1.5; color: #6e655a; }
.s-paste { position: absolute; top: 224px; left: 5%; right: 10%; z-index: 3; display: flex; align-items: center; gap: 8px; background: #fff;
  border: 2px solid var(--c-leaf); border-radius: 999px; padding: 6px 6px 6px 16px; box-shadow: 0 14px 30px rgba(94,168,38,.25); transform: rotate(-1deg); }
.s-paste-url { flex: 1; min-width: 0; font-size: .78rem; color: var(--c-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-paste-btn { flex: none; background: var(--c-forest); color: #fff; font-weight: 700; font-size: .76rem; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.s-tm { position: absolute; right: 0; bottom: 0; width: 72%; z-index: 2; transform: rotate(2.5deg); }
.s-tm .screen { min-height: 0; }
.s-tm .screen-text { font-size: .95rem; }
.s-sticker { position: absolute; top: 120px; right: 0; z-index: 4; width: 116px; height: 116px; border-radius: 50%; background: var(--c-butter);
  color: var(--c-forest); display: grid; place-content: center; text-align: center; font-weight: 800; font-size: .98rem; line-height: 1.15;
  transform: rotate(10deg); box-shadow: 0 12px 26px rgba(120,90,20,.2); }
.s-sticker small { display: block; font-weight: 600; font-size: .72rem; color: #6d5d2b; margin-top: 4px; }

/* "brzmi znajomo?" */
.s-familiar { padding-top: 40px; }
.s-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 44px 0 40px; }
.s-note { position: relative; margin: 0; padding: 34px 28px 36px; border-radius: 4px 4px 24px 4px; box-shadow: 0 16px 30px rgba(70,50,20,.09); }
.s-note::before { content: ""; position: absolute; top: -11px; left: 50%; width: 86px; height: 24px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(255,255,255,.6); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.s-note blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-size: 1.32rem; line-height: 1.35; color: #2f2a1f; }
.s-note-butter { background: var(--c-butter); transform: rotate(-1.6deg); }
.s-note-blush { background: var(--c-blush); transform: rotate(1.2deg) translateY(12px); }
.s-note-sage { background: var(--c-sage); transform: rotate(-.7deg); }
.s-turn { text-align: center; font-size: 1.12rem; color: var(--c-ink-2); max-width: 40em; margin: 0 auto; }
.s-turn strong { display: block; margin-top: 4px; color: var(--c-forest); font-size: 1.28rem; }

/* before / after */
.s-compare { display: grid; grid-template-columns: minmax(0, .85fr) 84px minmax(0, 1.15fr); align-items: start; }
.s-before { background: #fffcf6; border: 1px solid var(--c-line); border-radius: 18px; padding: 28px 30px; color: #4b4339;
  box-shadow: 0 10px 26px rgba(70,50,20,.06); transform: rotate(-.6deg); margin-top: 18px; }
.s-before p { font-family: Georgia, "Times New Roman", serif; font-size: .98rem; margin: 0 0 10px; }
.s-before h3, .s-after h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.55rem; margin: 10px 0 12px; color: var(--c-forest); }
.s-plain-list { font-family: Georgia, serif; padding-left: 20px; margin: 0 0 16px; font-size: .95rem; }
.s-tag { display: inline-block; margin: 0; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #877a67; background: #f1e9dc; }
.s-tag-green { color: var(--c-leaf-dark); background: var(--c-leaf-soft); }
.s-arrow { color: var(--c-terra); display: grid; place-items: center; padding-top: 170px; }
.s-after { background: #fff; border: 1px solid #e4eadc; border-radius: 22px; padding: 28px 30px; box-shadow: 0 26px 60px rgba(13,59,30,.13); }
.s-meta { color: var(--c-ink-2); font-size: .9rem; margin: -4px 0 12px; }
.s-ingredients { margin-bottom: 14px; }
.s-ingredients summary { cursor: pointer; font-weight: 700; color: var(--c-leaf-dark); }
.s-ingredients ul { margin: 8px 0 0; padding-left: 20px; font-size: .93rem; line-height: 1.7; }
.s-ingredients b { color: var(--c-leaf-dark); }
.s-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.s-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 14px; border-radius: 12px; background: #f7f9f3; }
.s-steps p { margin: 0; font-size: .96rem; line-height: 1.8; }
.s-step-no { flex: none; width: 26px; height: 26px; margin-top: 3px; border-radius: 50%; background: var(--c-forest); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .78rem; }
.site .chip { background: #2f8a3c; border-radius: 7px; padding: 1px 8px; }
.site .ing { color: var(--c-forest); border-bottom-color: #a9d68a; }
.site .screen-text .ing { color: #8fe0a8; border-bottom-color: #3c7a50; }

/* how it works */
.s-how { background: var(--c-sage); }
.s-how-list { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.s-how-list li { border-top: 2px solid var(--c-forest); padding-top: 18px; }
.s-num { display: block; margin-bottom: 8px; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 3.4rem; line-height: 1; color: var(--c-leaf-dark); }
.s-how-list h3 { font-size: 1.15rem; margin: 0 0 8px; color: var(--c-forest); }
.s-how-list p { margin: 0; color: var(--c-ink-2); }

/* features */
.s-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.s-feature { background: var(--c-paper); border: 1px solid var(--c-line); border-radius: 20px; padding: 26px; }
.s-feature h3 { font-size: 1.1rem; margin: 0 0 8px; color: var(--c-forest); }
.s-feature p { margin: 0 0 12px; color: var(--c-ink-2); font-size: .97rem; }
.s-feature p:last-child { margin-bottom: 0; }
.s-chips { line-height: 2.3 !important; color: var(--c-ink) !important; }
.s-bubbles { display: flex; flex-wrap: wrap; gap: 6px; }
.s-bubble { background: var(--c-forest); color: #fff; padding: 5px 12px; border-radius: 14px 14px 4px 14px; font-size: .85rem; }

/* pricing */
.s-price-wrap { display: grid; place-items: center; }
.s-price { width: 100%; max-width: 660px; text-align: center; background: var(--c-blush); border-radius: 30px; padding: 52px 40px; }
.s-price .s-h2 { margin-left: auto; margin-right: auto; }
.s-price-big { font-size: 1.2rem; color: var(--c-ink-2); margin: 0 0 22px; }
.s-price-big span { display: block; font-family: var(--f-display); font-weight: 600; font-size: 4rem; line-height: 1.1; color: var(--c-forest); }
.s-ticks-col { flex-direction: column; align-items: center; margin: 0 0 30px; }

/* FAQ */
.s-faq-wrap { max-width: 840px; }
.s-faq { margin-top: 28px; border-top: 1px solid var(--c-line); }
.s-faq details { border-bottom: 1px solid var(--c-line); padding: 18px 0; }
.s-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 700; font-size: 1.08rem; color: var(--c-forest); }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: "+"; flex: none; font-family: var(--f-display); font-size: 1.7rem; line-height: .9; color: var(--c-terra); transition: transform .2s ease; }
.s-faq details[open] summary::after { transform: rotate(45deg); }
.s-faq details p { margin: 10px 0 0; color: var(--c-ink-2); max-width: 46em; }
.s-more { margin-top: 30px; color: var(--c-ink-2); }

/* final call */
.s-final { background: var(--c-forest); color: #dfe8db; padding: 92px 0; text-align: center; }
.s-final h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 3.7vw, 3.05rem); line-height: 1.12; letter-spacing: -.02em;
  color: #fff; max-width: 19em; margin: 0 auto 32px; }
.s-final em { font-weight: 500; color: #b9e28f; }
.s-final p { margin: 20px 0 0; font-size: .92rem; color: #a7b9a6; }

/* footer */
.s-footer { padding: 56px 0 34px; border-top: 1px solid var(--c-line); font-size: .93rem; }
.s-footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.s-footer-top img { height: 80px; width: auto; display: block; }
.s-footer-top p { color: var(--c-ink-2); max-width: 24em; margin: 12px 0 0; }
.s-footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.s-footer-links ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: start; }
.s-footer a { color: var(--c-ink); text-decoration: none; }
.s-footer a:hover { text-decoration: underline; }
.s-footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--c-line); color: #7b8178; font-size: .82rem; }
.s-footer-legal p { margin: 0 0 8px; }
.s-footer-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.s-footer-meta a { color: #7b8178; }
.s-linkbtn { background: none; border: 0; padding: 0; min-height: 0; font: inherit; color: #7b8178; cursor: pointer; }
.s-linkbtn:hover { text-decoration: underline; border: 0; }

/* articles: the guide, terms, privacy */
.s-article { max-width: 780px; margin: 0 auto; padding: 56px 22px 92px; }
.s-article h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); }
.s-article h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.75rem; line-height: 1.2; color: var(--c-forest); margin: 46px 0 12px; }
.s-article h3 { font-size: 1.12rem; margin: 28px 0 8px; color: var(--c-forest); }
.s-article p, .s-article li { color: #34423a; }
.s-article li { margin-bottom: 6px; }
.s-article .s-lead { margin-bottom: 20px; }
.s-updated { color: var(--c-ink-2); font-size: .9rem; }
.s-operator { font-style: normal; color: #34423a; line-height: 1.6; margin: 0 0 16px; padding: 14px 18px; background: var(--c-paper); border-left: 3px solid var(--c-forest); border-radius: 10px; overflow-wrap: anywhere; }
.s-table-wrap { overflow-x: auto; margin: 18px 0; }
.s-article table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--c-paper); border-radius: 14px; overflow: hidden; }
.s-article th, .s-article td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.s-article th { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-2); background: #f6efe3; }
.s-article tr:last-child td { border-bottom: 0; }
.s-callout { background: var(--c-leaf-soft); border-radius: 22px; padding: 28px 30px; margin: 40px 0; }
.s-callout h2 { margin-top: 0; }
.s-callout p:last-child { margin-bottom: 0; }

/* sign-in and sign-up */
body.site.auth { display: grid; place-items: center; padding: 24px 16px; }
.site .auth-card { border-color: var(--c-line); border-radius: 24px; padding: 30px 30px 26px; box-shadow: 0 24px 60px rgba(70,50,20,.1); background: var(--c-paper); }
.site .auth-card h1 { font-size: 2rem; margin: 6px 0 6px; }
.site .auth-card .muted { color: var(--c-ink-2); }
.site .auth-card input[type=email], .site .auth-card input[type=password], .site .auth-card input[type=text] { border-color: #e2d8c7; background: #fff; padding: 13px 15px; border-radius: 12px; font-size: 1rem; }
.site .auth-card button[type=submit] { background: var(--c-forest); border-color: var(--c-forest); border-radius: 999px; min-height: 52px; font-size: 1.02rem; font-weight: 700; }
.site .auth-card button[type=submit]:hover { background: #145230; }
.site .auth-card form p { margin: 0; display: grid; gap: 5px; }
.site .auth-card form p:has(input[type=checkbox]) { display: flex; align-items: center; gap: 8px; flex-direction: row-reverse; justify-content: flex-end; }
.site .auth-card label { font-size: .86rem; font-weight: 600; color: var(--c-ink); }
.site .auth-card .helptext { font-size: .82rem; color: var(--c-ink-2); }
.site .auth-card .helptext a { font-weight: 600; }
/* Django's four password rules as one line (the list is long for a phone). The parser
   moves their <ul> out of the <p>, so it is a direct child of the form. */
.site .auth-card form > ul:not(.errorlist), .site .auth-card #id_password1_helptext ul { display: none; }
.site .auth-card form > p:empty { display: none; }
.site .auth-card #id_password1_helptext::after { content: "Co najmniej 8 znaków, nie same cyfry i nic oczywistego."; }
.site .auth-card .errorlist { list-style: none; padding: 0; margin: 0; color: var(--error); font-size: .86rem; }
.auth-perks { list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 4px; color: var(--c-ink-2); font-size: .92rem; }
.auth-perks li::before { content: "✓"; color: var(--c-leaf); font-weight: 800; margin-right: 8px; }
.auth-legal { font-size: .82rem; color: var(--c-ink-2); margin: 14px 0 0; }
.auth-switch { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--c-line); font-size: .95rem; }
.auth-back { display: inline-block; margin-top: 18px; color: var(--c-ink-2) !important; font-size: .9rem; text-decoration: none; }

/* breadcrumbs, guide cards, the hub, the converter */
.s-crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .86rem; color: var(--c-ink-2); margin: 0 0 22px; }
.s-crumbs a { color: var(--c-ink-2); }
.s-crumbs [aria-current] { color: var(--c-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.s-cards { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.s-cards li { margin: 0; display: flex; }
.s-card { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 22px 22px 24px; border-radius: 20px; background: var(--c-paper); border: 1px solid var(--c-line);
  text-decoration: none; color: var(--c-ink) !important; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.s-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(70,50,20,.1); border-color: #dccfb8; }
.s-card-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-terra); }
.s-card strong { font-family: var(--f-display); font-weight: 600; font-size: 1.22rem; line-height: 1.22; color: var(--c-forest); }
.s-card span:last-child { color: var(--c-ink-2); font-size: .93rem; line-height: 1.5; }
.s-guides { background: #f6efe3; }
.s-hub { max-width: 1000px; }
.s-calc { background: var(--c-leaf-soft); border-radius: 22px; padding: 24px 26px; margin: 26px 0 8px; }
.s-calc-row { display: grid; grid-template-columns: 110px 1fr 1.3fr; gap: 12px; }
.s-calc label { display: grid; gap: 5px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-2); }
.s-calc input, .s-calc select { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #cfdcbd; border-radius: 12px; background: #fff; font-size: 1.05rem;
  font-weight: 600; color: var(--c-ink); text-transform: none; letter-spacing: 0; }
.s-calc-result { margin: 18px 0 2px; font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; color: var(--c-forest); }
.s-calc-hint { margin: 0; font-size: .86rem; color: var(--c-ink-2); }

/* cookie question */
.consent { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 60; max-width: 380px; margin-left: auto; padding: 18px 20px;
  background: #fff; color: #1d2327; border: 1px solid #ebe1d1; border-radius: 18px; box-shadow: 0 22px 50px rgba(0,0,0,.18); font-size: .92rem; line-height: 1.5; }
.consent h2 { font-size: 1rem; margin: 0 0 6px; }
.consent p { margin: 0 0 12px; color: #4d5652; }
.consent-actions { display: flex; gap: 8px; }
.consent-actions button { flex: 1; min-height: 42px; border-radius: 999px; font-weight: 600; }
.consent-actions button[data-consent-choice=granted] { background: #0d3b1e; border-color: #0d3b1e; color: #fff; }

/* landing: the step-by-step screen, on a phone */
.s-cookmode { background: var(--c-paper); }
.s-cook-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.s-cook-grid .s-sub { margin-bottom: 26px; }
.s-cook-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.s-cook-points li { padding-left: 30px; position: relative; color: var(--c-ink-2); }
.s-cook-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--c-leaf-dark); font-weight: 800; }
.s-cook-points b { color: var(--c-forest); }
.s-phone { justify-self: center; width: min(100%, 340px); background: var(--c-bg); border: 10px solid #1d2420; border-radius: 38px; padding: 14px 16px 16px;
  box-shadow: 0 30px 60px rgba(13,59,30,.18); transform: rotate(-1.5deg); display: grid; gap: 12px; }
.s-phone-top { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--c-ink-2); }
.s-phone-top span { font-weight: 700; color: var(--c-forest); }
.s-phone-bar { height: 4px; background: var(--c-line); border-radius: 4px; }
.s-phone-bar i { display: block; width: 50%; height: 100%; background: var(--c-leaf); border-radius: 4px; }
.s-phone-no { margin: 6px 0 0; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-leaf-dark); }
.s-phone-text { margin: 0; font-size: 1.22rem; line-height: 1.45; color: var(--c-ink); }
.s-phone-ings { list-style: none; margin: 0; padding: 10px 12px; background: #fff; border: 1px solid var(--c-line); border-radius: 14px; display: grid; gap: 3px; font-size: .95rem; }
.s-phone-ings b { color: var(--c-leaf-dark); }
.s-phone-timer, .s-timer-chip { justify-self: start; display: inline-block; border: 2px solid var(--c-leaf); color: var(--c-leaf-dark); background: #fff; border-radius: 999px; font-weight: 700; }
.s-phone-timer { padding: 8px 16px; }
.s-timer-chip { padding: 1px 10px; font-size: .88rem; }
.s-phone-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.s-phone-nav span { text-align: center; padding: 10px; border-radius: 999px; border: 1px solid var(--c-line); background: #fff; font-weight: 700; font-size: .9rem; }
.s-phone-nav span.on { background: var(--c-forest); border-color: var(--c-forest); color: #fff; }
@media (max-width: 1000px) {
  .s-cook-grid { grid-template-columns: 1fr; gap: 40px; }
  .s-nav { display: none; }
  .s-header-actions { margin-left: auto; }
  .s-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .s-collage { max-width: 500px; width: 100%; margin: 0 auto; }
  .s-compare { grid-template-columns: 1fr; gap: 10px; }
  .s-arrow { padding: 6px 0; transform: rotate(90deg); }
  .s-how-list { grid-template-columns: 1fr; gap: 26px; }
  .s-features { grid-template-columns: 1fr 1fr; }
  .s-notes { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .s-note-blush { transform: rotate(1deg); }
}
@media (max-width: 640px) {
  body.site { font-size: 16px; }
  .s-wrap { padding: 0 18px; }
  .s-header-row { height: 60px; gap: 12px; }
  .s-logo img:first-child { display: none; }
  .s-header-actions { gap: 12px; }
  .s-btn-small { padding: 0 14px; }
  .s-hero { padding: 34px 0 56px; }
  .s-cta-row .s-btn { flex: 1 1 100%; }
  .s-collage { height: 470px; }
  .s-collage::before { width: 330px; }
  .s-blog { width: 78%; }
  .s-paste { top: 196px; left: 0; right: 4%; }
  .s-tm { width: 90%; }
  .s-sticker { width: 96px; height: 96px; font-size: .85rem; top: 108px; }
  .s-section { padding: 64px 0; }
  .s-features { grid-template-columns: 1fr; }
  .s-before, .s-after { padding: 22px 18px; }
  .s-steps li { padding: 10px; }
  .s-price { padding: 40px 22px; border-radius: 24px; }
  .s-footer-links { gap: 32px; }
  .s-calc { padding: 20px 18px; }
  .s-calc-row { grid-template-columns: 1fr 1fr; }
  .s-calc-row label:last-child { grid-column: 1 / -1; }
  .s-article { padding-top: 34px; }
  .s-article th, .s-article td { padding: 9px 8px; font-size: .86rem; }
  .s-article th { font-size: .68rem; letter-spacing: .04em; }
}

@media (max-width: 1150px) {
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid .preview { grid-column: 1 / -1; position: static; max-width: 420px; }
  .edit-layout { grid-template-columns: 1fr; }
  .edit-layout .preview { position: static; max-width: 420px; }
}
@media (max-width: 720px) {
  /* No backdrop-filter here: it would make the bar the containing block of the fixed
     tab bar inside it. */
  .topbar { padding: 10px 14px; gap: 10px; justify-content: center; background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .topbar .brand img { height: 20px; }
  /* The navigation becomes a tab bar under the thumb, like an app's. */
  body.app { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; margin: 0; gap: 0; justify-content: space-around;
    background: rgba(255,253,249,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .nav a { flex: 1; display: grid; justify-items: center; gap: 1px; padding: 5px 0; font-size: .72rem; border-radius: 12px; }
  .nav a.active { background: none; }
  .nav a.active svg { stroke-width: 2.2; }
  .nav svg { display: block; }
  .nav-logout { display: none; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .app-footer { padding-bottom: 22px; }
  .hero { padding: 14px 0 28px; }
  .accent { white-space: normal; }
  .linkbox { flex-wrap: wrap; border-radius: 24px; padding: 8px; }
  .linkbox input { flex-basis: 100%; }
  .linkbox button { flex: 1; }
  .linkbox .paste { flex: none; }
  .recipe-hero { flex-direction: column; gap: 16px; }
  .recipe-hero .hero-photo { width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .detail-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .rc-body { padding: 10px 11px 12px; }
  .rc-body h3 { font-size: .95rem; }
  .card { padding: 16px; }
  .bubble { max-width: 92%; }
  .result.success { flex-direction: column; }
  .recipe-head { flex-direction: column; }
  .ing-grid { grid-template-columns: 1fr; }
  .editbar { top: 52px; }
  .editbar-actions { width: 100%; }
  .editbar-actions button { flex: 1; }
  .cookidoo-list li { flex-wrap: wrap; }
  .shop-tools button { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation-duration: .01s !important; }
}

/* A recipe or the shopping list on paper: the content, nothing else. */
@media print {
  .topbar, .app-footer, .messages, .no-print, .actions, .sync-box, .toast, .nav { display: none !important; }
  body.app { background: #fff; padding: 0; font-size: 11pt; }
  .container, .container.wide { max-width: none; padding: 0; }
  .card, .step-card { border: 0; padding: 0; box-shadow: none; background: none; }
  .step-card.active { border: 0; box-shadow: none; }
  .step-card, .shop-items li, .ingredients li { break-inside: avoid; }
  .detail-grid { display: block; }
  .detail-grid h2 { margin-top: 14pt; }
  .recipe-hero { margin-bottom: 8pt; }
  .recipe-hero .hero-photo { width: 120pt; height: 120pt; box-shadow: none; }
  .facts li { border: 0; padding: 0 12pt 0 0; }
  .chip { background: none; color: #000; border: 1px solid #000; }
  .step-no { background: none; color: #000; border: 1px solid #000; }
  a { color: inherit; text-decoration: none; }
}

/* ---- Wypróbuj bez konta (landing form + trial page) ---- */
.s-try { margin: 22px 0 6px; display: grid; gap: 8px; max-width: 560px; }
.s-try label { font-weight: 700; font-size: .98rem; }
.s-try-row { display: flex; gap: 8px; flex-wrap: wrap; }
.s-try-row input { flex: 1 1 220px; min-width: 0; min-height: 54px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--c-forest, #1a6b3c); font: inherit; background: #fff; }
.s-try-row .s-btn { flex: 0 0 auto; }
.s-try small { color: var(--c-ink-2, #5b5348); }
.messages + main .s-hero { padding-top: 24px; }
.trial { max-width: 760px; margin: 0 auto; padding: 32px 18px 56px; }
.trial h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin: 0 0 8px; }
.trial .trial-url { word-break: break-all; color: var(--c-ink-2, #5b5348); font-size: .92rem; }
.trial-save { margin: 22px 0; padding: 20px 22px; border-radius: 18px; background: #fff7e3; border: 1px solid #f0dca8; }
.trial-save h2 { margin: 0 0 6px; font-size: 1.25rem; }
.trial-save .s-cta-row { margin-top: 14px; }
.trial-recipe h2 { margin: 26px 0 10px; font-size: 1.3rem; }
.trial-recipe .steps-view { padding-left: 0; }
.trial-steps { padding-left: 22px; line-height: 1.65; display: grid; gap: 10px; }
.safety-points { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; line-height: 1.5; }
.no-link { margin: 14px 0 4px; text-align: left; }
.no-link summary { cursor: pointer; color: var(--muted); padding: 6px 0; }
.no-link form { margin-top: 10px; }
.upload-drop { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px; border: 2px dashed #d9cdb8; border-radius: 14px; background: #fff; cursor: pointer; }
.upload-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-drop span { display: grid; gap: 2px; }
.upload-drop small { color: var(--muted); }
.upload-drop:focus-within { border-color: var(--green); }
.quick-edits { display: grid; gap: 8px; margin: 4px 0 12px; }
.quick-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.quick-name { font-size: .8rem; font-weight: 700; color: var(--muted); min-width: 64px; }
.quick-edits p { margin: 0; }
.room { margin: 8px 0; }
.room p { margin: 0 0 6px; }
.room-bar { height: 8px; border-radius: 99px; background: #efe6d6; overflow: hidden; }
.room-bar i { display: block; height: 100%; background: var(--green); }
.room.low .room-bar i { background: var(--warn); }
.room-card { margin-top: 14px; text-align: left; }
.cook-icon.on { background: var(--green); border-color: var(--green); color: #fff; }
.cook-voice-hint { margin: 0; padding: 8px 18px; background: #eef6e6; color: var(--ink); font-size: .95rem; text-align: center; }
.plan-head { align-items: center; flex-wrap: wrap; gap: 10px; }
.plan-weeks { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.plan-shop { margin: 10px 0 18px; }
.plan-days { list-style: none; padding: 0; display: grid; gap: 10px; }
.plan-day { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
.plan-day.today { border-color: var(--green); box-shadow: 0 0 0 2px var(--green-soft); }
.plan-day.past { opacity: .7; }
.plan-day h2 { font-size: 1rem; margin: 0 0 6px; }
.plan-entries { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 4px; }
.plan-entries li { display: flex; align-items: center; gap: 10px; }
.plan-entries li > a:first-child { flex: 1; font-weight: 600; }
.plan-add { display: flex; gap: 6px; flex-wrap: wrap; }
.plan-add select { flex: 1 1 180px; min-width: 0; }
.plan-pick { display: inline-block; }
.plan-pick form { margin-top: 8px; }
.plan-pick-days { display: flex; flex-wrap: wrap; gap: 6px; }
.cook-feedback { margin: 18px 0; max-width: 460px; text-align: left; }
.cook-feedback h2 { font-size: 1.25rem; margin: 0 0 10px; }
.cook-feedback .check { align-items: flex-start; }
.cook-feedback .check input { width: auto; flex: none; margin-top: 3px; }
.cook-rate { display: flex; gap: 10px; flex-wrap: wrap; }
.s-quote-how { margin-top: 12px; font-size: .9rem; color: var(--c-ink-2, #5b5348); }
