/* ============================================================
   OurRecipes app shell — Substack-style left sidebar + feed
   ============================================================ */
:root {
  --or-accent: #00473e;        /* deep celadon green — calm primary buttons/actions */
  --or-accent-dark: #00362f;   /* hover */
  --or-coral: #b5502a;         /* terracotta/paprika — the warm complement; thin/light accents ONLY (never buttons) */
  --or-coral-soft: #faf3dc;    /* barely-there terracotta wash (promo fill) */
  --or-coral-line: #e9d9a0;    /* light terracotta hairline (promo border) */
  --or-celadon: #aacea7;       /* celadon — avatars, hero panel, surfaces */
  --or-celadon-accent: #00473e;/* deep celadon */
  --or-celadon-soft: #cfe4cc;  /* lighter celadon wash */
  --or-celadon-deep: #00473e;  /* text/icon on celadon */
  --or-cream: #f0f2f1;         /* cool accent surface (was warm linen) */
  --or-cream-soft: #f2f4f2;    /* lighter cool wash */
  --or-cream-line: #dde2de;    /* cool hairline */
  --or-straw: #f6e199;         /* warm straw/honey detail accent */
  --or-ink: #00473e;           /* deep green-charcoal */
  --or-muted: #6e7f71;         /* muted gray-green */
  --or-line: #e6ebe3;          /* soft hairline */
  --or-bg: #f7f8f8;            /* cool porcelain page — crisp, no warm cast */
  --or-paper: #ffffff;         /* true white paper — cards float above the cool canvas */
  --or-surface: #ffffff;       /* cards / sidebar */
  --or-soft: #e6efe0;          /* pale celadon hover wash */
  --or-sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --or-serif: 'Fraunces', 'Playfair Display', Georgia, serif;
}
* { box-sizing: border-box; }
body.shell-body {
  margin: 0; background: var(--or-bg); color: var(--or-ink);
  font-family: var(--or-sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* Diagonal "Preview" corner ribbon, pinned to the top-right of the viewport.
   Container clips so the rotated band never causes horizontal scroll. */
.app-ribbon { position: fixed; top: 0; right: 0; width: 196px; height: 196px; overflow: hidden; z-index: 2000; pointer-events: none; }
.app-ribbon span {
  position: absolute; top: 42px; right: -56px; width: 240px; padding: 10px 0;
  text-align: center; transform: rotate(45deg);
  background: var(--or-celadon); color: var(--or-ink);
  font-weight: 800; font-size: .8rem; line-height: 1.2; letter-spacing: .07em; text-transform: uppercase;
  white-space: normal;
  box-shadow: 0 2px 8px rgba(28, 36, 31, .28);
}

.shell { min-height: 100vh; display: flex; }

/* ---- left sidebar ---- */
.shell-sidebar {
  width: 232px; flex: none; border-right: 1px solid var(--or-line); background: var(--or-surface);
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  padding: 18px 12px; display: flex; flex-direction: column; gap: 4px;
  /* Pin line-height so the sidebar renders identically whether or not the page
     also loads Bootstrap (whose body{line-height:1.5} would otherwise inherit in
     and loosen the nav rows). */
  line-height: normal;
}
.sb-brand {
  display: flex; align-items: center; gap: 9px; padding: 6px 10px 14px;
  font-family: var(--or-serif); font-weight: 800; font-size: 1.2rem; color: var(--or-ink);
}
.sb-brand .mark {
  width: 28px; height: 28px; border-radius: 7px; background: var(--or-accent);
  color: #fff; display: grid; place-items: center; font-size: .95rem;
}
.sb-brand .our { color: var(--or-accent); }
.sb-nav { display: flex; flex-direction: column; gap: 2px; }
.sb-item {
  display: flex; align-items: center; gap: 13px; padding: 9px 11px;
  border-radius: 8px; font-weight: 600; font-size: .95rem; color: #2c3a35;
  transition: background .14s, color .14s;
}
.sb-item:hover { background: var(--or-soft); }
.sb-item.active { color: var(--or-coral); background: var(--or-soft); }
.sb-item.active .ic { color: var(--or-coral); }
.sb-item .ic { width: 21px; height: 21px; flex: none; color: #5b554e; }
.sb-item.active .ic { color: var(--or-coral); }
.sb-spacer { flex: 1; }
.sb-foot { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid var(--or-line); }
.sb-signout-form { margin: 0; }
.sb-signout { width: 100%; background: none; border: 0; cursor: pointer; font: inherit; text-align: left; }
.sb-legal { display: flex; gap: 7px; padding: 10px 12px 2px; font-size: .72rem; color: var(--or-muted); }
.sb-legal a { color: var(--or-muted); }
.sb-legal a:hover { color: var(--or-accent); }

/* contextual kitchen section */
.sb-section { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--or-line); }
.sb-eyebrow { padding: 0 11px 0; font-size: .64rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--or-muted); }
.sb-label { padding: 1px 11px 8px; font-size: .92rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--or-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-subdivide { height: 1px; background: var(--or-line); margin: 8px 11px; }
.sb-item .sb-soon { margin-left: auto; font-size: .6rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--or-muted); background: var(--or-soft); padding: 1px 6px; border-radius: 999px; }
.sb-item .sb-badge { margin-left: auto; min-width: 19px; text-align: center;
  font-size: .68rem; font-weight: 700; color: #fff; background: var(--or-coral);
  padding: 1px 6px; border-radius: 999px; }
/* group with sub-items (e.g. Community → Discussions / Polls) */
.sb-group-label { cursor: default; }
.sb-group-label:hover { background: none; }
/* Sub-item text sits just past the parent label's text (11px pad + 21px icon
   + 13px gap = 45px), so children read clearly as nested. */
.sb-item.sb-subitem { padding-left: 49px; font-size: .88rem; }

/* ---- content: main + rail ---- */
.shell-content { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.shell-impersonate { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--or-celadon-soft); border-bottom: 1px solid #aacea7; padding: 9px 20px;
  font-size: .9rem; color: var(--or-celadon-deep); }
.shell-imp-btn { background: var(--or-accent); color: #fff; border: 0; border-radius: 8px;
  padding: 6px 12px; font-weight: 700; font-size: .82rem; cursor: pointer; }
.shell-imp-btn:hover { background: var(--or-accent-dark); }
.shell-cols { display: flex; gap: 34px; width: 100%; max-width: 1160px; padding: 26px 30px 90px; }
.shell-main { flex: 1; min-width: 0; max-width: 860px; }
.shell-rail { width: 266px; flex: none; }

/* No-rail layout (logged-out home): the hero + feature cards use the full width;
   the feed keeps its reading width via .home-feed-wrap. */
.shell-cols--full .shell-main { max-width: none; }
.shell-cols--full .home-feed-wrap { max-width: 680px; }
.page-title { font-family: var(--or-serif); font-weight: 600; font-size: 1.6rem; margin: 0 0 5px; letter-spacing: -0.01em; }
.page-sub { color: var(--or-muted); margin: 0 0 8px; font-size: .95rem; }
.page-rule { height: 1px; background: linear-gradient(90deg, var(--or-straw), transparent); margin: 0 0 8px; }

/* ---- editorial eyebrow (italic serif label) ---- */
.or-eyebrow {
  font-family: var(--or-serif); font-style: italic; font-weight: 500;
  font-size: 1.02rem; color: var(--or-coral); margin: 0 0 10px;
  display: inline-flex; align-items: center; gap: 9px;
}
.or-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--or-coral); display: inline-block; }

/* ---- hero (logged-out) ---- */
.or-hero {
  position: relative; overflow: hidden;
  border-radius: 22px; padding: 54px 44px; margin-bottom: 30px; color: #fff;
  background:
    radial-gradient(120% 100% at 50% -20%, rgba(170,206,167,.22) 0%, transparent 55%),
    var(--or-accent);
  border: 1px solid var(--or-accent-dark);
  box-shadow: 0 18px 46px -26px rgba(0,40,32,.6);
}
/* Full-width logged-out landing: center the hero so it reads balanced, not left-heavy. */
.shell-cols--full .or-hero { text-align: center; }
.shell-cols--full .or-hero h1,
.shell-cols--full .or-hero p,
.shell-cols--full .or-hero form { margin-left: auto; margin-right: auto; }
.shell-cols--full .or-hero form { justify-content: center; }
.or-hero .or-eyebrow { color: var(--or-celadon); }
.or-hero .or-eyebrow::before { background: var(--or-celadon); }
.or-hero h1 { font-family: var(--or-serif); font-weight: 600; font-size: clamp(1.9rem, 3.8vw, 2.6rem); margin: 0 0 12px; line-height: 1.04; letter-spacing: -0.015em; max-width: 18ch; color: #fff; }
.or-hero h1 em { font-style: italic; color: var(--or-straw); }
.or-hero p { margin: 0 0 22px; color: var(--or-celadon-soft); font-size: 1.05rem; line-height: 1.5; max-width: 46ch; }
.or-hero form { display: flex; gap: 8px; flex-wrap: wrap; max-width: 480px; }
.or-hero input {
  flex: 1; min-width: 200px; border: 1px solid transparent; border-radius: 11px; padding: 13px 15px;
  font: inherit; font-size: .95rem; color: var(--or-ink); background: #fff;
}
.or-hero input:focus { outline: none; box-shadow: 0 0 0 3px rgba(246,225,153,.55); }
.or-hero button {
  border: none; border-radius: 11px; padding: 13px 24px; font: inherit; font-weight: 700;
  background: var(--or-straw); color: var(--or-ink); cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(0,0,0,.5);
}
.or-hero button:hover { background: #f0d579; }
.or-hero .yt-hint { font-size: .82rem; color: var(--or-celadon); margin: 12px 0 0; }
.or-hero.or-hidden { display: none; }

/* ---- consumer landing: minimal chrome (top bar, no sidebar) ---- */
/* Sticky-footer column: footer sits at the viewport bottom on short pages
   and flows naturally below the content on tall ones (no fixed positioning). */
/* Marketing pages sit on pure white (content/photography is the hero there);
   the app keeps the cool porcelain --or-bg for card hierarchy. The selector
   must be body.landing-body to out-rank body.shell-body's --or-bg paint. */
body.landing-body { display: flex; flex-direction: column; min-height: 100vh; background: #ffffff; }
/* width:100% keeps each row full-width so its own `margin:0 auto` still centers
   the max-width content — without it, flex auto-margins shrink rows to content. */
.landing-body .landing-top,
.landing-body .landing-main,
.landing-body .landing-foot { width: 100%; }
.landing-body .landing-main { flex: 1 0 auto; }
.landing-body .landing-foot { flex-shrink: 0; }
.landing-top {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto; padding: 18px 28px 6px;
}
.landing-top .sb-brand { padding: 0; }
.landing-nav { display: flex; align-items: center; gap: 26px; }
.landing-nav a { font-weight: 600; font-size: .95rem; color: var(--or-ink); }
.landing-nav a:hover { color: var(--or-accent); }
.landing-nav .landing-cta { color: #fff; padding: 10px 20px; font-size: .92rem; }
.landing-nav .landing-cta:hover { color: #fff; }
.landing-main { max-width: 860px; margin: 0 auto; padding: 26px 24px 80px; }
@media (max-width: 560px) { .landing-nav { gap: 16px; } }

/* ---- landing nav dropdowns (Product / Resources) ----
   CSS-first: :hover / :focus-within open on pointer + keyboard; the layout's
   inline script adds .open for touch, plus outside-click / Escape close. */
.landing-dd { position: relative; }
.landing-dd > button {
  border: 0; background: none; cursor: pointer; padding: 0;
  font: inherit; font-weight: 600; font-size: .95rem; color: var(--or-ink);
  display: inline-flex; align-items: center; gap: 4px;
}
.landing-dd > button:hover { color: var(--or-accent); }
.landing-dd .dd-caret { font-size: .7em; opacity: .55; }
.landing-dd-menu {
  display: none; position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  min-width: 190px; padding: 8px; z-index: 300;
  background: #fff; border: 1px solid var(--or-line); border-radius: 12px;
  box-shadow: 0 14px 38px -18px rgba(20, 30, 25, .35);
}
/* Bridge the hover gap between button and menu so the menu doesn't flicker shut. */
.landing-dd-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.landing-dd.open .landing-dd-menu,
.landing-dd:hover .landing-dd-menu,
.landing-dd:focus-within .landing-dd-menu { display: block; }
.landing-nav .landing-dd-menu a {
  display: block; padding: 8px 12px; border-radius: 8px;
  font-weight: 500; font-size: .92rem; white-space: nowrap;
}
.landing-nav .landing-dd-menu a:hover { background: var(--or-bg); color: var(--or-accent); }
@media (max-width: 560px) { .landing-dd { display: none; } }

/* ---- B2B landing: hero CTA row, dissuasion micro-line, 4-up feature grid,
   blog feed head ---- */
.home-hero .or-eyebrow { justify-content: center; }
.home-hero-ctas { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 18px; }
.home-hero-secondary { font-weight: 600; color: var(--or-accent); }
.home-hero-secondary:hover { color: var(--or-coral); }
.home-notfor { color: var(--or-muted); font-size: .88rem !important; max-width: 52ch !important; margin-bottom: 0 !important; }
/* Doubled class out-specifies the base .points rule, which sits later in the file.
   Two per row so the screenshots stay large enough to actually read. */
.points.points-4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .points.points-4 { grid-template-columns: 1fr; } }
.home-blog { margin: 34px 0 8px; }
.home-blog-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.home-blog-head a { font-weight: 600; font-size: .92rem; color: var(--or-accent); }
.home-blog-head a:hover { color: var(--or-coral); }

/* ---- B2B landing: product screenshots (hero pair, feature thumbs, fanned
   community band, revenue stack). All decorative (alt="") — copy carries the
   message. ---- */
.shot {
  display: block; max-width: 100%; height: auto; background: #fff;
  border: 1px solid var(--or-line); border-radius: 12px;
  box-shadow: 0 24px 60px -30px rgba(20, 30, 25, .35);
}
/* Hero: fan-facing kitchen page in front, Studio analytics behind, both on a
   celadon/terracotta radial glow. Grid-stacked so the pair sizes as one unit. */
.hero-visual { display: grid; max-width: 820px; margin: 46px auto 6px; position: relative; isolation: isolate; }
.hero-visual::before {
  content: ""; position: absolute; inset: -6% -10%; z-index: -1; border-radius: 36px;
  background:
    radial-gradient(58% 58% at 72% 24%, rgba(207, 228, 204, .9), rgba(207, 228, 204, 0) 70%),
    radial-gradient(46% 46% at 18% 86%, rgba(201, 104, 63, .16), rgba(201, 104, 63, 0) 70%);
}
.hero-visual .shot-back { grid-area: 1/1; width: 64%; justify-self: end; transform: rotate(1.6deg); }
.hero-visual .shot-front { grid-area: 1/1; width: 74%; justify-self: start; margin-top: 14%; transform: rotate(-1.4deg); }

/* Feature-card screenshots: full image at natural aspect — legible, not a
   texture strip. */
.feat-shot {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--or-line); border-radius: 8px; margin-bottom: 12px; background: #fff;
}

/* Full-bleed bands use 100vw, which includes the scrollbar gutter — clip the
   stray ~15px so the page never scrolls sideways (desktop + mobile shells). */
body.landing-body, body.m-landing { overflow-x: clip; }
/* Full-bleed celadon band with the community shots fanned like dealt cards. */
.home-band {
  width: 100vw; margin: 44px calc(50% - 50vw) 0; padding: 46px 24px 56px; overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--or-celadon-soft) 22%, var(--or-celadon-soft) 82%, #fff 100%);
}
.home-band .cr-h { text-align: center; max-width: 860px; margin-left: auto; margin-right: auto; }
.shot-fan { display: flex; justify-content: center; align-items: flex-start; max-width: 1060px; margin: 26px auto 0; }
.shot-fan img { width: 36%; }
.shot-fan .fan-l { transform: rotate(-3deg) translateY(16px); margin-right: -6%; }
.shot-fan .fan-c { width: 40%; z-index: 2; box-shadow: 0 32px 70px -30px rgba(20, 30, 25, .45); }
.shot-fan .fan-r { transform: rotate(2.6deg) translateY(24px); margin-left: -6%; }

/* Revenue showcase: what-if panel with the recent-performance chart tucked
   over its bottom-right corner. */
.home-rev { margin-top: 46px; }
.home-rev-p { color: var(--or-muted); max-width: 62ch; margin: 0 0 18px; }
.rev-stack { position: relative; padding-bottom: 64px; }
.rev-main { width: 100%; }
.rev-over { position: absolute; width: 52%; right: -14px; bottom: 0; transform: rotate(1.6deg); }

@media (max-width: 620px) {
  .hero-visual .shot-back { display: none; }
  .hero-visual .shot-front { width: 100%; margin-top: 0; transform: none; }
  .shot-fan { flex-direction: column; align-items: center; gap: 14px; }
  .shot-fan img, .shot-fan .fan-c { width: 94%; margin: 0; transform: none; }
  .rev-stack { padding-bottom: 0; }
  .rev-over { position: static; width: 100%; margin-top: 12px; transform: none; }
}

/* ---- Get Started: the two-door page (start a community / join one) ---- */
.gs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 0; }
.gs-box {
  border: 1px solid var(--or-line); background: var(--or-surface);
  border-radius: 16px; padding: 24px 22px 26px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.gs-box .pi { font-size: 1.8rem; }
.gs-box h3 { font-family: var(--or-serif); font-weight: 600; font-size: 1.3rem; margin: 8px 0 4px; }
.gs-box p { color: var(--or-muted); line-height: 1.55; font-size: .95rem; margin: 0 0 16px; }
.gs-box form { margin-top: auto; }
/* .or-btn on a real <button> (the one-click Start creating form). */
.gs-box button.or-btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.gs-join-form { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.gs-join-form input[type="text"] {
  flex: 1 1 200px; padding: 10px 14px; font: inherit; font-size: .95rem;
  border: 1px solid var(--or-line); border-radius: 10px; background: #fff; color: var(--or-ink);
}
.gs-join-form input[type="text"]:focus { outline: 2px solid var(--or-celadon); outline-offset: 1px; }
.gs-join-err { color: #a03123; font-size: .9rem; margin: 10px 0 0 !important; }
@media (max-width: 620px) { .gs-grid { grid-template-columns: 1fr; } }

/* Slim landing footer — legal links + copyright, quiet on the cream canvas. */
.landing-foot {
  max-width: 1160px; margin: 0 auto; padding: 28px 28px 40px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--or-line); font-size: .85rem; color: var(--or-muted);
}
.landing-foot-links { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.landing-foot-links a { color: var(--or-muted); font-weight: 500; }
.landing-foot-links a:hover { color: var(--or-accent); }
.landing-foot-copy { color: var(--or-muted); }
@media (max-width: 560px) { .landing-foot { justify-content: center; text-align: center; } }

/* ---- consumer landing: cream-canvas hero + closing band ---- */
.home-hero { text-align: center; padding: 64px 20px 48px; }
.home-hero-art { width: 116px; height: auto; margin-bottom: 22px; }
.home-hero h1 {
  font-family: var(--or-serif); font-weight: 600; letter-spacing: -0.025em;
  font-size: clamp(3rem, 8.5vw, 5.4rem); line-height: 1.02; color: var(--or-accent);
  margin: 0 auto 20px; max-width: 14ch; text-wrap: balance;
}
/* Editorial warm accent: one italic word in terracotta (hero + closing line). */
.home-hero h1 em, .home-close h2 em { font-style: italic; font-weight: 500; color: var(--or-coral); }
.home-hero p { color: var(--or-muted); font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; margin: 0 auto 30px; max-width: 44ch; }
.home-close { text-align: center; padding: 64px 20px 30px; }
.home-close h2 {
  font-family: var(--or-serif); font-weight: 600; letter-spacing: -0.015em;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--or-accent); margin: 0 0 18px;
}

/* ---- "5 reasons" numbered value list (logged-out landing), under the hero.
   Kept compact so the hero + all five reasons sit above the fold. ---- */
.home-feats-title {
  font-family: var(--or-serif); font-weight: 700; letter-spacing: -0.015em;
  font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.08; color: var(--or-accent);
  text-align: center; margin: 14px 0 16px; text-wrap: balance;
}
.home-feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 28px; }
.home-feat {
  display: grid; grid-template-columns: auto 1fr; column-gap: 15px; align-items: center;
  background: var(--or-surface); border: 1px solid var(--or-cream-line);
  border-radius: 14px; padding: 15px 20px;
  box-shadow: 0 1px 0 #fff inset, 0 10px 28px -22px rgba(40,55,45,.35);
  transition: transform .14s ease, box-shadow .14s ease;
}
.home-feat:hover { transform: translateY(-2px); box-shadow: 0 1px 0 #fff inset, 0 18px 34px -22px rgba(40,55,45,.5); }
/* Emoji icon in the marker slot; the reason number lives small inside the title. */
.home-feat-ic { flex: none; font-size: 1.95rem; line-height: 1; }
.home-feat h3 { font-family: var(--or-serif); font-weight: 600; font-size: 1.08rem; line-height: 1.1; margin: 0; letter-spacing: -0.01em; color: var(--or-ink); }
.home-feat-n { color: var(--or-accent); font-weight: 700; }
.home-feat p { grid-column: 2 / -1; color: var(--or-muted); font-size: .9rem; line-height: 1.42; margin: 4px 0 0; }
/* The 5th reason is a single full-width line spanning both columns: a normal
   card with a star badge (not the numbers) for a light, playful touch. */
.home-feat-wide { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 13px; padding: 14px 18px; }
/* Title + subtext on one line so the bonus reason fills the full width. */
.home-feat-wide-text { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.home-feat-wide-text h3 { margin: 0; }
.home-feat-wide-text p { margin: 0; grid-column: auto; }
.home-feat-wide-text p::before { content: "· "; }
@media (max-width: 700px) { .home-feats { grid-template-columns: 1fr; } }

/* ---- landing demo: anonymous paste → recipe preview ---- */
/* Honeypot: off-screen, never shown to humans; bots that fill it are rejected. */
.or-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.or-spin {
  display: none; width: 14px; height: 14px; vertical-align: -2px; margin-right: 7px;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%;
  animation: or-spin .6s linear infinite;
}
.htmx-request .or-spin { display: inline-block; }
@keyframes or-spin { to { transform: rotate(360deg); } }

.or-preview:empty { display: none; }
.or-preview:not(:empty) {
  /* When a recipe preview shows, the hero hides, so this card sits above the
     feature cards — give it a clear gap below (the hero's own margin handles the
     no-preview state). */
  margin-top: 22px; margin-bottom: 38px; background: var(--or-surface); border: 1px solid var(--or-cream-line);
  border-radius: 16px; overflow: hidden; box-shadow: 0 12px 30px -18px rgba(33,48,42,.35);
}
.panel-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  background: var(--or-celadon-soft); border-bottom: 1px solid var(--or-line);
  font-family: var(--or-serif); font-weight: 600; font-size: 1rem; color: var(--or-celadon-deep);
}
.panel-head .step {
  width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--or-accent);
  color: #fff; display: grid; place-items: center; font-family: var(--or-sans);
  font-weight: 700; font-size: .8rem; line-height: 1;
}
.panel-head .step-warn { background: var(--or-coral); }
.panel-reset {
  margin-left: auto; background: none; border: none; cursor: pointer; font: inherit;
  font-weight: 600; font-size: .82rem; color: var(--or-celadon-deep); opacity: .75;
}
.panel-reset:hover { opacity: 1; text-decoration: underline; }
.panel-body { padding: 18px; }
.rx-title { font-family: var(--or-serif); font-weight: 600; font-size: 1.4rem; color: var(--or-ink); margin-bottom: 6px; line-height: 1.15; }
.rx-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--or-muted); font-size: .85rem; margin-bottom: 16px; }
/* Scrollable recipe so the card stays compact and the CTA stays near the fold. */
.rx-scroll { max-height: 360px; overflow-y: auto; padding-right: 4px; }
.rx-h { font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--or-coral); margin: 0 0 8px; }
.rx-ing { list-style: none; padding: 0; margin: 0 0 18px; }
.rx-ing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.rx-ing li { font-size: .9rem; color: var(--or-ink); padding: 4px 0; border-bottom: 1px solid var(--or-soft); }
.rx-method { margin: 0; padding-left: 20px; color: var(--or-ink); }
.rx-method li { font-size: .92rem; line-height: 1.5; margin-bottom: 10px; }
.demo-msg { color: var(--or-muted); font-size: .95rem; line-height: 1.5; }
/* Footer: anchors the CTA below the (scrollable) recipe so it never collides
   with cut-off method text. */
.rx-foot { padding: 16px 18px; border-top: 1px solid var(--or-line); background: var(--or-cream-soft); }
.rx-save {
  display: block; box-sizing: border-box; width: 100%; text-align: center;
  border: none; cursor: pointer; padding: 13px 20px; border-radius: 11px; font: inherit; font-weight: 700;
  background: var(--or-accent); color: #fff; box-shadow: 0 8px 18px -8px rgba(78,125,99,.7);
}
.rx-save:hover { background: var(--or-accent-dark); }
.rx-claim { margin: 0; }
.rx-claim-hint { font-size: .78rem; color: var(--or-muted); margin: 10px 0 0; text-align: center; line-height: 1.45; }
@media (max-width: 560px) { .rx-ing-grid { grid-template-columns: 1fr; } }

/* ---- feed ---- */
.feed { display: flex; flex-direction: column; gap: 22px; }
.feed-item { display: flex; flex-direction: column; }
.feed-head { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; font-size: .85rem; }
.feed-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--or-celadon); color: var(--or-celadon-deep); font-weight: 700; font-size: .8rem; overflow: hidden;
}
.feed-avatar img { width: 100%; height: 100%; object-fit: cover; }
.feed-pub { font-weight: 700; color: var(--or-ink); }
.feed-pub:hover { color: var(--or-accent); }
.feed-dot, .feed-date { color: var(--or-muted); }
.feed-body { display: flex; gap: 18px; align-items: flex-start; }
.feed-text { flex: 1; min-width: 0; }
.feed-cat { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--or-coral); margin-bottom: 4px; }
.feed-title { font-family: var(--or-serif); font-weight: 600; font-size: 1.3rem; line-height: 1.2; margin: 0 0 6px; color: var(--or-ink); }
.feed-body:hover .feed-title { color: var(--or-accent-dark); }
.feed-meta { font-size: .88rem; color: var(--or-muted); }
.feed-thumb { width: 124px; height: 124px; border-radius: 12px; object-fit: cover; flex: none; border: 1px solid var(--or-cream-line); }
.feed-thumb.placeholder {
  display: grid; place-items: center; flex: none;
  font-family: var(--or-serif); font-style: italic; font-weight: 500; font-size: 2.2rem;
  color: var(--or-celadon-deep);
  background: linear-gradient(140deg, var(--or-celadon) 0%, var(--or-cream) 100%);
}
.feed-empty { padding: 50px 0; text-align: center; color: var(--or-muted); }

/* ---- right rail cards ---- */
.rail-card { border: 1px solid var(--or-line); border-radius: 14px; padding: 22px 20px; margin-bottom: 18px; background: var(--or-surface); }
.rail-card .rail-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--or-accent); color:#fff; display: grid; place-items: center; font-family: var(--or-serif); font-weight: 700; margin-bottom: 12px; }
.rail-card h3 { font-family: var(--or-serif); font-weight: 600; font-size: 1.18rem; margin: 0 0 6px; }
.rail-card p { color: var(--or-muted); font-size: .9rem; margin: 0 0 16px; line-height: 1.5; }
.rail-btn { display: block; text-align: center; padding: 11px; border-radius: 9px; font-weight: 700; font-size: .92rem; margin-bottom: 9px; }
.rail-btn.primary { background: var(--or-accent); color: #fff; }
.rail-btn.primary:hover { background: var(--or-accent-dark); }
.rail-btn.ghost { background: var(--or-soft); color: var(--or-ink); }
.rail-btn.ghost:hover { background: #dde7d8; }
.rail-h { font-weight: 700; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--or-muted); margin: 0 0 12px; }
.rail-list { display: flex; flex-direction: column; gap: 12px; }
.rail-pub { display: flex; align-items: center; gap: 10px; }
.rail-pub .av { width: 32px; height: 32px; border-radius: 50%; flex: none; background: var(--or-celadon); color: var(--or-celadon-deep); display: grid; place-items: center; font-weight: 700; font-size: .85rem; overflow: hidden; }
.rail-pub .av img { width: 100%; height: 100%; object-fit: cover; }
.rail-pub .nm { font-weight: 600; font-size: .9rem; line-height: 1.2; min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-pub .ds { font-size: .78rem; color: var(--or-muted); }
.rail-create { display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 14px; padding: 10px; border-radius: 9px; font-weight: 700; font-size: .9rem;
  background: var(--or-accent); color: #fff; transition: background .15s; }
.rail-create:hover { background: var(--or-accent-dark); }

/* ---- generic kitchen card grid (Explore / Subscriptions) ---- */
.kgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.kcard { display: flex; align-items: center; gap: 14px; border: 1px solid var(--or-line); border-radius: 14px;
  padding: 14px 16px; background: var(--or-surface); transition: border-color .15s, transform .15s, box-shadow .15s; }
.kcard:hover { border-color: #aacea7; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(33,48,42,.06); }
.kcard-main { display: flex; align-items: center; gap: 13px; flex: 1; min-width: 0; }
.kcard .av { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--or-serif); font-weight: 700; font-size: 1.3rem; overflow: hidden; }
.kcard .av img { width: 100%; height: 100%; object-fit: cover; }
/* soft rotating warm palette so the grid isn't a wall of green */
.kcard .av.t0 { background: #d9e8d5; color: #00362f; }   /* celadon */
.kcard .av.t1 { background: #ece2cc; color: #8f7a35; }   /* straw / cream */
.kcard .av.t2 { background: #faf3dc; color: #00473e; }   /* terracotta */
.kcard .av.t3 { background: #e2ebdf; color: #00473e; }   /* sage */
.kcard-id { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kcard-id .nm { font-family: var(--or-serif); font-weight: 700; font-size: 1.12rem; color: var(--or-ink); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard-id .nm .star { color: var(--or-straw); font-size: .8rem; }
.kcard-id .ks { color: var(--or-muted); font-size: .84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* profile "Your Kitchens" card uses bare h3/p (single kitchen) — truncate the name instead of wrapping */
.kcard > h3 { margin: 0; flex: 1; min-width: 0; font-family: var(--or-serif); font-weight: 700; font-size: 1.12rem;
  color: var(--or-ink); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kcard > p { margin: 0; flex: none; color: var(--or-muted); font-size: .84rem; white-space: nowrap; }
/* outline pill — fills with the accent only on hover, so subscribe reads as an
   action without painting the whole grid green */
.kbtn { flex: none; border: 1px solid #aacea7; background: #fff; color: var(--or-accent);
  font-weight: 700; font-size: .82rem; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.kbtn:hover { background: var(--or-accent); border-color: var(--or-accent); color: #fff; }
.kbtn.following { background: var(--or-celadon-soft); border-color: #aacea7; color: var(--or-celadon-deep); }
.kbtn.following:hover { background: var(--or-celadon-soft); border-color: #aacea7; color: var(--or-celadon-deep); }
.kcard-tag { flex: none; font-size: .74rem; font-weight: 600; color: var(--or-muted); background: var(--or-soft); padding: 6px 12px; border-radius: 999px; }

@media (max-width: 1000px) { .shell-rail { display: none; } }
@media (max-width: 720px) {
  .shell-sidebar { width: 62px; padding: 14px 8px; }
  .sb-brand span:not(.mark), .sb-item span:not(.ic) { display: none; }
  .sb-legal, .sb-label, .sb-eyebrow, .sb-soon { display: none; }
  .sb-section { margin-top: 8px; padding-top: 8px; }
  .sb-subdivide { margin: 6px 8px; }
  .shell-cols { padding: 18px 16px 80px; }
  .kgrid { grid-template-columns: minmax(0, 1fr); }
  /* On a phone the card row is tight; let the kitchen name use two lines
     instead of truncating to a few characters. */
  .kcard-id .nm { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden; }
  /* Touch target: the Subscribe button clears 44px on a phone. */
  .kbtn { min-height: 44px; }
}

/* flash messages */
.or-flash { padding: 11px 15px; border-radius: 9px; margin-bottom: 14px; font-size: .92rem; border: 1px solid var(--or-line); background: var(--or-soft); }
.or-flash-success { background: #e2efdd; border-color: #aacea7; color: #00473e; }
.or-flash-error, .or-flash-danger { background: #fdecec; border-color: #f3c2c2; color: #a12020; }

/* follow button (public kitchen page) */
.pk-follow { display:inline-flex; align-items:center; gap:7px; border:1px solid var(--or-accent); background:var(--or-accent); color:#fff; font-weight:700; font-size:.9rem; padding:8px 18px; border-radius:999px; cursor:pointer; }
.pk-follow:hover { background:var(--or-accent-dark); border-color:var(--or-accent-dark); }
.pk-follow.following { background:#fff; color:var(--or-accent); }

/* search box (Explore) */
.or-search { display: flex; gap: 8px; margin-bottom: 24px; }
.or-search input { flex: 1; border: 1px solid var(--or-line); border-radius: 9px; padding: 11px 14px; font: inherit; font-size: .95rem; }
.or-search input:focus { outline: none; border-color: var(--or-accent); }
.or-search button { border: none; background: var(--or-accent); color: #fff; font-weight: 700; padding: 0 20px; border-radius: 9px; cursor: pointer; }
.or-search button:hover { background: var(--or-accent-dark); }

/* profile header */
.prof-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.prof-av { width: 72px; height: 72px; border-radius: 50%; flex: none; overflow: hidden; background: var(--or-celadon); color: var(--or-celadon-deep); display: grid; place-items: center; font-family: var(--or-serif); font-weight: 800; font-size: 2rem; }
.prof-av img { width: 100%; height: 100%; object-fit: cover; }
.prof-name { font-family: var(--or-serif); font-weight: 600; font-size: 1.6rem; margin: 0; }
.prof-handle { color: var(--or-muted); font-size: .95rem; }
.prof-form { background: var(--or-surface); border: 1px solid var(--or-line); border-radius: 14px; padding: 22px; margin-top: 22px; }
.prof-form label { display: block; font-weight: 600; font-size: .85rem; margin: 0 0 5px; }
.prof-form input { width: 100%; border: 1px solid var(--or-line); border-radius: 8px; padding: 10px 12px; font: inherit; margin-bottom: 14px; }
.prof-form input:disabled { background: var(--or-soft); color: var(--or-muted); }
.prof-form button { border: none; background: var(--or-accent); color: #fff; font-weight: 700; padding: 10px 22px; border-radius: 9px; cursor: pointer; }
.prof-signout { margin-top: 22px; }
.prof-signout button { display: inline-flex; align-items: center; gap: 8px; background: #d9534f; border: 1px solid #d9534f; color: #fff; font: inherit; font-weight: 700; padding: 11px 22px; border-radius: 9px; cursor: pointer; }
.prof-signout button:hover { background: #c9302c; border-color: #c9302c; }
.prof-signout .ic { width: 18px; height: 18px; }

/* ---- in-feed promo cards (signup CTAs, Substack-style) ---- */
.promo {
  display: flex; gap: 22px; align-items: center; justify-content: space-between;
  border: 1px solid var(--or-coral-line); background: var(--or-coral-soft);
  border-radius: 18px; padding: 26px 28px; margin: 26px 0;
}
.promo-text { flex: 1; min-width: 0; }
.promo h3 { font-family: var(--or-serif); font-weight: 600; font-size: 1.5rem; line-height: 1.08; margin: 0 0 8px; letter-spacing: -0.01em; }
.promo p { color: var(--or-muted); font-size: .96rem; line-height: 1.5; margin: 0 0 18px; max-width: 44ch; }
.promo-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.promo .btn-pri { background: var(--or-accent); color: #fff; font-weight: 700; padding: 10px 18px; border-radius: 10px; font-size: .92rem; }
.promo button.btn-pri { border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.promo .btn-pri:hover { background: var(--or-accent-dark); }
.promo .btn-sec { background: rgba(33,48,42,.06); color: var(--or-ink); font-weight: 600; padding: 10px 18px; border-radius: 10px; font-size: .92rem; }
.promo .btn-sec:hover { background: rgba(33,48,42,.1); }
.promo-art {
  width: 104px; height: 104px; flex: none; border-radius: 18px; display: grid; place-items: center;
  font-size: 2.8rem; background: linear-gradient(140deg, var(--or-celadon), #ece2cc);
  box-shadow: inset 0 0 0 1px rgba(78,125,99,.12);
}
/* feature variant — light celadon wash (still just a thin border, no solid fill) */
.promo-dark { background: var(--or-celadon-soft); border-color: #aacea7; }
.promo-dark .promo-art { background: linear-gradient(140deg, #ece2cc, var(--or-celadon)); }
@media (max-width: 560px) { .promo { flex-direction: column; align-items: flex-start; } .promo-art { width: 64px; height: 64px; font-size: 1.8rem; } }

/* ---- simple content pages (welcome / about) ---- */
.prose { max-width: 62ch; }
.prose p { color: var(--or-ink); font-size: 1.04rem; line-height: 1.7; margin: 0 0 16px; }

/* Long-form legal pages (privacy / terms) rendered in the shell main column. */
/* Logged out (landing chrome) the prose fills the landing column so legal pages
   match the width of the other logged-out pages instead of the tighter 62ch. */
.landing-body .prose.legal { max-width: none; }
.legal section { margin: 0 0 26px; }
.legal h2 { font-family: var(--or-serif); font-weight: 600; font-size: 1.3rem; margin: 0 0 10px; color: var(--or-ink); letter-spacing: -0.01em; }
.legal h3 { font-weight: 700; font-size: 1rem; margin: 18px 0 6px; color: var(--or-ink); }
.legal ul { margin: 0 0 16px; padding-left: 20px; }
.legal li { color: var(--or-ink); font-size: 1.02rem; line-height: 1.6; margin-bottom: 7px; }
.legal a { color: var(--or-accent); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--or-accent-dark); }
.legal code { background: var(--or-soft); padding: 1px 6px; border-radius: 6px; font-size: .88em; }
.legal .callout { background: var(--or-celadon-soft); border: 1px solid #aacea7; border-left: 3px solid var(--or-accent);
  border-radius: 10px; padding: 14px 16px; margin: 2px 0 4px; color: var(--or-celadon-deep); font-size: .98rem; line-height: 1.55; }
.or-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--or-accent); color: #fff; font-weight: 700; padding: 12px 24px; border-radius: 11px; font-size: .95rem; }
.or-btn:hover { background: var(--or-accent-dark); }
.or-micro { color: var(--or-muted); font-size: .85rem; margin-top: 12px; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
/* creators page: FAQ */
.cr-h { font-family: var(--or-serif); font-weight: 600; font-size: 1.25rem;
  color: var(--or-accent); margin: 30px 0 14px; letter-spacing: -0.01em; }
.cr-qa { margin: 0 0 8px; }
.cr-qa dt { font-weight: 700; color: var(--or-ink); margin: 16px 0 4px; font-size: .98rem; }
.cr-qa dd { margin: 0; color: var(--or-muted); line-height: 1.6; font-size: .95rem; max-width: 62ch; }
.point { border: 1px solid var(--or-line); background: var(--or-surface); border-radius: 14px; padding: 18px 18px 20px; }
.point .pi { font-size: 1.5rem; }
.point h4 { font-family: var(--or-serif); font-weight: 600; font-size: 1.06rem; margin: 9px 0 5px; }
.point p { color: var(--or-muted); font-size: .9rem; line-height: 1.5; margin: 0; }
.wcta { margin: 30px 0 0; padding: 26px; border-radius: 16px; background: var(--or-celadon-soft); border: 1px solid #aacea7; }
.wcta h3 { font-family: var(--or-serif); font-weight: 600; font-size: 1.4rem; margin: 0 0 6px; }
.wcta p { color: var(--or-celadon-deep); margin: 0 0 16px; }
/* Micro note under the CTA button: space it from the button, no bottom margin so
   the card's bottom padding stays symmetric with the top (else .wcta p wins). */
.wcta .or-micro { margin: 12px 0 0; }
@media (max-width: 620px) { .points { grid-template-columns: 1fr; } }

/* ---- wide content mode (e.g. public Kitchen page inside the shell) ---- */
.shell-wide { width: 100%; max-width: 1060px; margin: 0 auto; padding: 26px 30px 90px; }

/* ---- public Kitchen page (rendered in the shell) ---- */
.pk2-ownerbar { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap;
  background: var(--or-celadon-soft); border: 1px solid #aacea7; border-radius: 14px;
  padding: 11px 16px; margin-bottom: 22px; }
.pk2-ownerbar .lbl { color: var(--or-celadon-deep); font-size: .9rem; margin-right: auto; }
.pk2-banner { height: 200px; border-radius: 18px; overflow: hidden; margin-bottom: 20px; }
.pk2-banner img { width: 100%; height: 100%; object-fit: cover; }
.pk2-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.pk2-logo { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.pk2-av { width: 64px; height: 64px; border-radius: 14px; flex: none; background: var(--or-celadon);
  color: var(--or-celadon-deep); display: grid; place-items: center; font-family: var(--or-serif); font-weight: 700; font-size: 2rem; }
.pk2-id { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 16rem; }
.pk2-name { font-family: var(--or-serif); font-weight: 700; font-size: 1.9rem; margin: 0; line-height: 1.05; }
.pk2-namerow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pk2-social { display: inline-flex; align-items: center; color: #FF0000; line-height: 0;
  transform: translateY(0.08em); }  /* optical-center against the serif name's cap height */
.pk2-social svg { width: 22px; height: 22px; }
.pk2-social:hover { opacity: .8; }
.pk2-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or-muted); }
.pk2-stats { display: flex; align-items: center; color: var(--or-muted); font-size: .9rem; }
.pk2-stats span + span::before { content: "·"; margin: 0 8px; color: var(--or-muted); }
.pk2-desc { color: var(--or-muted); max-width: 62ch; margin: 6px 0 24px; line-height: 1.6; }
.pk2-empty { padding: 50px 0; text-align: center; color: var(--or-muted); }
.pk2-sub { max-width: 480px; margin: 44px auto 0; border: 1px solid var(--or-line); border-radius: 16px; padding: 24px; text-align: center; background: var(--or-surface); }
.pk2-sub h3 { font-family: var(--or-serif); font-weight: 600; font-size: 1.2rem; margin: 0 0 5px; }
.pk2-sub p { color: var(--or-muted); font-size: .9rem; margin: 0 0 14px; }
.pk2-sub form { display: flex; gap: 8px; }
.pk2-sub input { flex: 1; border: 1px solid var(--or-line); border-radius: 10px; padding: 11px 13px; font: inherit; }
.pk2-sub input:focus { outline: none; border-color: var(--or-accent); }
.pk2-sub button { border: none; background: var(--or-accent); color: #fff; font-weight: 700; padding: 0 18px; border-radius: 10px; cursor: pointer; }
.pk2-sub button:hover { background: var(--or-accent-dark); }
.pk2-follow { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--or-accent); background: var(--or-accent); color: #fff; font-weight: 700; font-size: .9rem; padding: 9px 18px; border-radius: 999px; cursor: pointer; margin-left: auto; }
.pk2-follow:hover { background: var(--or-accent-dark); }
.pk2-follow.following { background: #fff; color: var(--or-accent); }
.pk2-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: nowrap; align-self: flex-start; }
.pk2-actions .pk2-follow { margin-left: 0; }
/* Go Pro shares the amber of the "Pro" badge so the Pro language is one color,
   distinct from the green Subscribe — gives the two pills clear hierarchy. */
.pk2-gopro { background: #e3a008; border-color: #e3a008; color: #3a2c08; }
.pk2-gopro:hover { background: #c88a06; border-color: #c88a06; color: #3a2c08; }
/* Pro-member state: one segmented pill (status + divider + quiet Cancel) so it
   reads as a single control, not a pill with an orphaned link beside it. */
.pk2-pro-group { display: inline-flex; align-items: stretch; background: #eaf3ea; border: 1px solid #cfe3cf; border-radius: 999px; overflow: hidden; }
.pk2-pro-group form { display: flex; }
.pk2-pro-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--or-accent); padding: 9px 16px; }
.pk2-pro-cancel { border: none; border-left: 1px solid #cfe3cf; background: none; color: #6f7a6c; font-weight: 600; font-size: .82rem; padding: 9px 15px; cursor: pointer; }
.pk2-pro-cancel:hover { background: #dceadb; color: var(--or-accent-dark); }
.pk2-ownerbar a { font-weight: 700; font-size: .85rem; padding: 8px 14px; border-radius: 9px; text-decoration: none; white-space: nowrap; }
.pk2-ownerbar a.b-pri { background: var(--or-accent); color: #fff; }
.pk2-ownerbar a.b-pri:hover { background: var(--or-accent-dark); }
.pk2-ownerbar a.b-sec { background: #fff; color: var(--or-ink); border: 1px solid #aacea7; }
.pk2-ownerbar a.b-sec:hover { border-color: var(--or-accent); }

/* ---- rail: subscriptions grid + recommended (Substack-style) ---- */
.rail-h-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.rail-h-row .rail-h { margin: 0; }
.rail-see { font-size: .8rem; font-weight: 600; color: var(--or-accent); }
.rail-see:hover { color: var(--or-accent-dark); }
.rail-avatars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.rail-avatar { width: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--or-celadon); color: var(--or-celadon-deep); font-weight: 700; font-size: .9rem; overflow: hidden; }
.rail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rail-rec { display: flex; align-items: center; gap: 8px; }
.rail-rec .rail-pub { flex: 1; min-width: 0; }
.rail-sub { flex: none; border: 1px solid #aacea7; background: #fff; color: var(--or-accent);
  font-weight: 700; font-size: .78rem; padding: 6px 13px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s; }
.rail-sub:hover { background: var(--or-accent); border-color: var(--or-accent); color: #fff; }
/* recommendations heading takes the full card width (wraps cleanly, no "See all"
   fighting for space); "See all" moves to a quiet footer link. */
.rail-h-block { line-height: 1.4; margin-bottom: 12px; }
.rail-see-foot { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--or-accent); }
.rail-see-foot:hover { color: var(--or-accent-dark); }

/* ---- kitchen feature tabs (the kitchen "space" menu) ---- */

/* kitchen feature panels (About / coming-soon) */
.kt-panel { max-width: 640px; }
.kt-panel-title { font-family: var(--or-serif); font-weight: 600; font-size: 1.4rem; margin: 0 0 10px; }
.kt-panel-text { color: var(--or-ink); font-size: 1.02rem; line-height: 1.65; margin: 0 0 14px; }
.kt-about-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--or-muted); font-size: .9rem; margin-top: 8px; }
.kt-soon-panel { max-width: 520px; margin: 30px auto; text-align: center; padding: 40px 30px; border: 1px solid var(--or-line); border-radius: 18px; background: var(--or-celadon-soft); }
.kt-soon-icon { font-size: 2.6rem; }
.kt-soon-panel .kt-panel-title { margin-top: 12px; }
.kt-soon-panel .kt-panel-text { color: var(--or-celadon-deep); }

/* kitchen switcher rail — active row + grid fit in the narrower column */
.rail-pub.on { background: var(--or-soft); border-radius: 9px; margin: -4px -6px; padding: 4px 6px; }
.rail-pub.on .nm { color: var(--or-accent); }
.shell-main .vault-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* feed thumbnail: category glyph art tile (matches the Kitchen cards) */
.feed-thumb.feed-art {
  display: grid; place-items: center; color: var(--cat, var(--or-celadon-deep));
  border-color: color-mix(in oklab, var(--cat, var(--or-celadon)) 22%, var(--or-cream-line));
  background: linear-gradient(150deg,
    color-mix(in oklab, var(--cat, var(--or-celadon)) 16%, #fff),
    color-mix(in oklab, var(--cat, var(--or-celadon)) 7%, #fff));
}
.feed-art .cat-glyph { width: 42px; height: 42px; opacity: .9; }

/* ---- feed: ruled index card (recipe-box look) ---- */
.ri-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  min-height: 148px; padding: 16px 22px 16px 56px;
  background: var(--or-paper); border: 1px solid #e2e6e3; border-radius: 20px 20px 0 0;
  text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(40,55,45,.04);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.ri-card:hover { border-color: #d9cfb9; box-shadow: 0 10px 26px -16px rgba(40,55,45,.34); transform: translateY(-1px); }
/* red margin line (tinted to the recipe's category color) */
.ri-card::before { content: ""; position: absolute; top: 0; bottom: 0; left: 40px; width: 1.5px;
  background: color-mix(in oklab, var(--cat, #00473e) 55%, #fff); }
/* faint horizontal rule lines behind the content */
.ri-ruled { position: absolute; left: 56px; right: 22px; top: 50px; bottom: 14px; pointer-events: none;
  background-image: repeating-linear-gradient(transparent, transparent 27px, #e8efe4 27px, #e8efe4 28px); }
.ri-label { position: relative; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cat, var(--or-coral)); }
.ri-name { position: relative; font-family: var(--or-serif); font-weight: 600; font-size: 1.42rem; line-height: 1.14; margin: 4px 0 0; color: var(--or-ink); }
.ri-card:hover .ri-name { color: var(--or-accent-dark); }
.ri-foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 16px; }
.ri-desc { color: var(--or-muted); font-size: .92rem; line-height: 1.45; }
.ri-meta { color: var(--or-muted); font-size: .86rem; white-space: nowrap; font-variant-numeric: tabular-nums; flex: none; }

/* punched holes down the left of the index card (recipe-ring / binder feel) */
.ri-card { padding-left: 64px; }
/* a single punched hole, vertically centered on the left, shown in full */
.ri-card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 46px; pointer-events: none;
  background-image: radial-gradient(circle 7px at 24px 50%,
    var(--or-bg) 0 6px,
    rgba(33,48,42,.18) 6px 7px,
    transparent 7px);
  background-repeat: no-repeat;
}
/* margin line + ruled lines sit to the right of the hole */
.ri-card::before { left: 46px; }
.ri-ruled { left: 62px; }

/* small recipe thumbnail on the right, shown only when the recipe has an image */
.ri-thumb { position: absolute; top: 50%; right: 16px; transform: translateY(-50%);
  width: 112px; height: 112px; object-fit: cover; border-radius: 12px;
  box-shadow: 0 1px 3px rgba(40,55,45,.16); }
.ri-card.has-thumb { padding-right: 144px; }
.ri-card.has-thumb .ri-ruled { right: 144px; }
@media (max-width: 560px) {
  .ri-thumb { width: 84px; height: 84px; right: 12px; }
  .ri-card.has-thumb { padding-right: 108px; }
  .ri-card.has-thumb .ri-ruled { right: 108px; }
}

/* Language switcher (footer, profile, navbar). Hidden until >1 catalog. */
.lang-switch { display: inline-flex; gap: 10px; align-items: center; }
.lang-opt { text-decoration: none; opacity: .6; font-size: .85rem; color: inherit; }
.lang-opt:hover { opacity: 1; }
.lang-opt.active { font-weight: 700; opacity: 1; }
.lang-select { font-size: .85rem; padding: 5px 10px; border: 1px solid var(--or-line, #e6ebe3);
  border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
.lang-select:hover { border-color: var(--or-accent, #00473e); }

/* Compact, borderless language dropdown inline in the sidebar legal footer.
   Uses EN/ES codes and inherits the muted legal-link color (which studio.css
   remaps for the dark studio sidebar), so it aligns with Privacy / Terms. */
.lang-select-compact {
  border: none; background: transparent;
  color: inherit; font-family: inherit; font-size: .72rem;
  padding: 0; margin: 0; cursor: pointer; line-height: 1;
}
.lang-select-compact:hover { color: var(--or-accent); }
