/* Lifeline Blog: server-rendered public pages. Brand colours only (green, white, gold as an accent) and the site fonts.
   Written and listing pages carry body.lb-page. Conversion blocks are .lb-x islands that also sit around imported designs,
   so nothing here may style bare elements or :root, and every token is prefixed. */
.lb-page,.lb-x{--lb-bg:#F7FAF8;--lb-surface:#FFFFFF;--lb-tint:#E8F5F0;--lb-ink:#1A2F35;--lb-muted:#4E6266;--lb-green:#1F6B55;--lb-line:#D5E6DE;--lb-gold:#E8B44D;--lb-disclaimer:#5F6B5A;--lb-button:#1F6B55;--lb-button-ink:#FFFFFF;--lb-button-hover:#174F40;--lb-shadow:0 10px 30px rgba(26,47,53,.08);--lb-serif:'Playfair Display',serif;--lb-sans:'Plus Jakarta Sans',sans-serif;--lb-pill:#FFFFFF;--lb-pill-ink:#1F6B55}
/* Dark mode follows the site theme everywhere, including our blocks around an imported design: the info bar continues
   the site header and the zone below runs into the footer. The design itself keeps its own colours. */
html.dark .lb-page,html.dark .lb-x{--lb-bg:#0F1419;--lb-surface:#1A2027;--lb-tint:#1F3D35;--lb-ink:#E8ECEF;--lb-muted:#B5C3CF;--lb-green:#7BC7B3;--lb-line:#2D3748;--lb-disclaimer:#B5C3CF;--lb-button:#7BC7B3;--lb-button-ink:#0F1419;--lb-button-hover:#A8D5C7;--lb-shadow:0 10px 30px rgba(0,0,0,.35);--lb-pill:#0F1419;--lb-pill-ink:#7BC7B3}

/* Islands: an imported design's element styles (footer, p, a, ul...) cannot reach inside these blocks. */
.lb-x,.lb-x :where(:not(svg,svg *)){all:revert}
.lb-x,.lb-x *{box-sizing:border-box}
.lb-x{display:block;font:400 16px/1.6 var(--lb-sans);color:var(--lb-ink);text-align:left;letter-spacing:normal;-webkit-font-smoothing:antialiased}
.lb-x[hidden],.lb-x [hidden]{display:none!important}
.lb-x :where(h2,h3,p,ul,ol){margin:0}
.lb-x a{color:var(--lb-green);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.lb-x a:hover{text-decoration-thickness:2px}
.lb-x :where(a,button,input):focus-visible,:where(.lb-page main) :where(a,button,[tabindex="0"]):focus-visible{outline:2px solid var(--lb-green);outline-offset:3px}
:where(.lb-page) [tabindex="-1"]:focus,.lb-x[tabindex="-1"]:focus{outline:none}

/* Page */
.lb-page{margin:0;background:var(--lb-bg);color:var(--lb-ink);font:400 17px/1.7 var(--lb-sans);-webkit-font-smoothing:antialiased}
html.dark .lb-page,html.dark .lb-x{color-scheme:dark}
:where(.lb-page main),:where(.lb-page main) *{box-sizing:border-box}
:where(.lb-page main) img{max-width:100%}
.lb-page .journal-wrap{max-width:1180px;margin:0 auto;padding-left:32px;padding-right:32px}
.lb-page .eyebrow,.lb-x .lb-eyebrow{margin:0;font:700 13px/1.5 var(--lb-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--lb-green)}
.lb-x.lb-skip{position:absolute;left:16px;top:-120px;z-index:2147483000;display:inline-block;padding:12px 18px;border-radius:10px;background:var(--lb-button);color:var(--lb-button-ink);font:700 15px/1.2 var(--lb-sans);text-decoration:none}
.lb-x.lb-skip:focus{top:16px}
.lb-x.lb-notice{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 14px;padding:10px 20px;background:#1F6B55;color:#FFFFFF;font:400 13px/1.5 var(--lb-sans);text-align:center}
.lb-x.lb-notice strong{font-weight:700;letter-spacing:.08em}
.lb-x.lb-notice a{color:#FFFFFF}
.lb-breadcrumbs ol{display:flex;flex-wrap:wrap;align-items:center;margin:-12px 0 6px;padding:0;list-style:none;font:500 14px/1.5 var(--lb-sans);color:var(--lb-muted)}
.lb-breadcrumbs li{display:flex;align-items:center}
.lb-breadcrumbs li+li::before{content:'\203A';margin:0 10px;color:var(--lb-muted)}
.lb-breadcrumbs a{display:inline-flex;align-items:center;min-height:44px;color:var(--lb-green);text-decoration:none}
.lb-breadcrumbs a:hover{text-decoration:underline}

/* Written article */
.lb-page .article-hero{padding:44px 0 0;background:var(--lb-tint)}
.lb-page .article-hero:not(:has(.article-cover)){padding-bottom:36px}
.lb-page .article-hero h1{max-width:22ch;margin:12px 0 18px;font:600 clamp(34px,4.6vw,54px)/1.14 var(--lb-serif);letter-spacing:-.01em;color:var(--lb-ink);overflow-wrap:break-word}
.lb-page .article-dek{max-width:62ch;margin:0 0 22px;font-size:19px;line-height:1.7;color:var(--lb-muted)}
.lb-page .article-byline{display:flex;flex-wrap:wrap;gap:6px 22px;padding-bottom:32px;font-size:14px;line-height:1.6;color:var(--lb-muted)}
.lb-page .article-byline a{color:var(--lb-green);font-weight:600;text-underline-offset:3px}
.lb-page .article-cover{display:block;width:100%;height:auto;max-height:520px;aspect-ratio:1200/630;object-fit:cover;border-radius:14px 14px 0 0}
.lb-page .article-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-template-areas:"body side" "after side";column-gap:64px;align-items:start;padding-top:48px;padding-bottom:72px}
.lb-page .article-grid>.article-body{grid-area:body}
.lb-page .article-grid>.article-sidebar{grid-area:side;align-self:start;position:sticky;top:calc(var(--lifeline-nav-offset,0px) + 24px)}
.lb-page .article-grid>.lb-after{grid-area:after;max-width:760px;padding-top:12px}
.lb-page .article-body{min-width:0;max-width:68ch;font-size:18px;line-height:1.75;color:var(--lb-ink);overflow-wrap:break-word}
:where(.lb-page .article-body) p{margin:0 0 22px}
:where(.lb-page .article-body) p.lede{margin-bottom:28px;font:400 23px/1.6 var(--lb-serif);color:var(--lb-ink)}
:where(.lb-page .article-body) :is(h2,h3){scroll-margin-top:calc(var(--lifeline-nav-offset,0px) + 24px);color:var(--lb-ink)}
:where(.lb-page .article-body) h2{margin:48px 0 18px;font:600 30px/1.3 var(--lb-serif)}
:where(.lb-page .article-body) h3{margin:34px 0 14px;font:600 23px/1.35 var(--lb-serif)}
:where(.lb-page .article-body) h2:first-child{margin-top:0}
:where(.lb-page .article-body) a{color:var(--lb-green);text-underline-offset:3px}
:where(.lb-page .article-body) :is(ul,ol){margin:0 0 24px;padding-left:24px}
:where(.lb-page .article-body) li{padding:4px 0}
:where(.lb-page .article-body) li p{margin:0}
:where(.lb-page .article-body) img{display:block;height:auto;margin:28px 0;border-radius:10px}
:where(.lb-page .article-body) hr{margin:40px 0;border:0;border-top:1px solid var(--lb-line)}
:where(.lb-page .article-body) blockquote{margin:32px 0;padding:22px 26px;border-left:3px solid var(--lb-green);border-radius:0 10px 10px 0;background:var(--lb-tint);font:italic 400 21px/1.65 var(--lb-serif)}
:where(.lb-page .article-body) blockquote p:last-child{margin:0}
:where(.lb-page .article-body) blockquote.pullquote{padding:4px 0 4px 26px;border-left-color:var(--lb-gold);border-radius:0;background:transparent;color:var(--lb-green);font-size:25px;line-height:1.5}
:where(.lb-page .article-body) .pillars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:28px 0}
:where(.lb-page .article-body) .pill{padding:16px 18px;border-radius:10px;background:var(--lb-tint);font-size:15px;line-height:1.5;color:var(--lb-ink)}
:where(.lb-page .article-body) .pillar-title{display:block;font-weight:700}
:where(.lb-page .article-body) .pillar-description{display:block;margin-top:4px;font-size:14px;color:var(--lb-muted)}
:where(.lb-page .article-body) .table-scroll{margin:28px 0;overflow-x:auto;-webkit-overflow-scrolling:touch}
:where(.lb-page .article-body) .program-table{width:100%;min-width:520px;border-collapse:collapse;font-size:15px;line-height:1.55;overflow-wrap:normal}
:where(.lb-page .article-body) .program-table :is(th,td){padding:12px 14px;border:1px solid var(--lb-line);text-align:left;vertical-align:top}
:where(.lb-page .article-body) .program-table th{background:var(--lb-tint);font-weight:700}
:where(.lb-page .article-body) .program-table p{margin:0}
.lb-page .contents{margin-bottom:28px}
.lb-page .contents ol{margin:10px 0 0;padding:0;list-style:none}
.lb-page .contents a{display:flex;align-items:center;min-height:44px;padding:2px 0;font-size:14px;line-height:1.5;color:var(--lb-muted);text-decoration:none}
.lb-page .contents a:hover{color:var(--lb-green);text-decoration:underline}
/* The contents again, before the text, for narrow screens (the sidebar is hidden there). */
.lb-x.lb-toc{display:none;margin:0 0 28px;border-radius:12px;background:var(--lb-tint)}
.lb-x.lb-toc summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:0 18px;list-style:none;cursor:pointer;font:700 13px/1.5 var(--lb-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--lb-green)}
.lb-x.lb-toc summary::-webkit-details-marker{display:none}
.lb-x.lb-toc summary::after{content:'\25BE';font-size:16px;letter-spacing:0}
.lb-x.lb-toc[open] summary::after{transform:rotate(180deg)}
.lb-x.lb-toc ol{margin:0;padding:0 18px 10px;list-style:none}
.lb-x.lb-toc a{display:flex;align-items:center;min-height:44px;font-size:15px;line-height:1.4;color:var(--lb-ink);text-decoration:none}
.lb-x.lb-toc a:hover{color:var(--lb-green);text-decoration:underline}

/* Conversion blocks */
.lb-x .lb-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 22px;border:0;border-radius:999px;background:var(--lb-button);color:var(--lb-button-ink);font:700 15px/1.3 var(--lb-sans);text-align:center;text-decoration:none;cursor:pointer}
.lb-x .lb-button:hover{background:var(--lb-button-hover);color:var(--lb-button-ink)}
.lb-x .lb-cta-text{margin:10px 0 18px;font-size:15px;line-height:1.6;color:var(--lb-ink)}
.lb-x.lb-cta{padding:22px;border-top:3px solid var(--lb-gold);border-radius:14px;background:var(--lb-tint)}
.lb-x.lb-cta--inline{margin:36px 0;background:var(--lb-tint);box-shadow:none}
.lb-x.lb-takeaways{margin:0 0 32px;padding:22px 26px;border-left:3px solid var(--lb-gold);border-radius:0 12px 12px 0;background:var(--lb-tint)}
.lb-x.lb-takeaways ul{margin:12px 0 0;padding-left:20px;font-size:16px;line-height:1.6}
.lb-x.lb-takeaways li+li{margin-top:6px}
.lb-x .lb-section-title{margin:0 0 14px;font:600 22px/1.3 var(--lb-serif);color:var(--lb-ink)}
.lb-x.lb-sources{margin:0 0 24px;padding-top:24px;border-top:1px solid var(--lb-line)}
.lb-x.lb-sources ol{margin:0;padding-left:20px;font-size:15px;line-height:1.6}
.lb-x.lb-sources a{display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere}
/* One line at most between blocks: the disclaimer never draws its own, and below an imported design (whose zone already
   has a top line) sources skip theirs when they come first. On written articles the sources line separates text from references. */
.lb-x.lb-disclaimer{margin:0 0 32px;font-size:13px;line-height:1.7;color:var(--lb-disclaimer)}
.lb-x .lb-after-inner>.lb-sources:first-child{padding-top:0;border-top:0}
.lb-x.lb-share{margin:0 0 40px}
.lb-x .lb-share-title{margin:0 0 12px;font:700 13px/1.5 var(--lb-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--lb-muted)}
.lb-x .lb-share-actions{display:flex;flex-wrap:wrap;gap:10px}
.lb-x .lb-share-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:0;border-radius:999px;background:var(--lb-tint);color:var(--lb-ink);font:600 14px/1.2 var(--lb-sans);text-decoration:none;cursor:pointer}
.lb-x .lb-share-button:hover{color:var(--lb-green);text-decoration:underline}
.lb-x button.lb-share-button{min-width:120px}
.lb-x .lb-share-status{min-height:1.6em;margin:10px 0 0;font-size:14px;font-weight:600;color:var(--lb-green)}
.lb-x.lb-related{margin:0 0 32px}
.lb-x .lb-related-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
.lb-x .lb-related-card{display:flex;flex-direction:column;height:100%;overflow:hidden;border-radius:12px;background:var(--lb-surface);color:var(--lb-ink);text-decoration:none}
.lb-x .lb-related-card:hover .lb-related-heading{color:var(--lb-green);text-decoration:underline}
.lb-x .lb-related-image{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:cover;background:var(--lb-tint)}
.lb-x .lb-related-copy{display:flex;flex-direction:column;gap:6px;padding:14px 16px 16px}
.lb-x .lb-related-heading{margin:0;font:600 17px/1.35 var(--lb-serif);color:var(--lb-ink)}
.lb-x .lb-meta{font-size:13px;color:var(--lb-muted)}
.lb-x.lb-topic{margin:0 0 32px;font:600 16px/1.5 var(--lb-sans)}
.lb-x.lb-topic a{display:inline-flex;align-items:center;gap:6px;min-height:44px}
.lb-x.lb-end-card{padding:32px;border-top:4px solid var(--lb-gold);border-radius:16px;background:var(--lb-tint)}
.lb-x .lb-end-title{margin:0 0 6px;font:600 28px/1.25 var(--lb-serif);color:var(--lb-ink)}
.lb-x.lb-end-card .lb-cta-text{max-width:56ch;font-size:16px}
.lb-x .lb-quiz{margin:16px 0 0;font-size:15px;line-height:1.6}
.lb-x .lb-quiz a{font-weight:700}
.lb-x .lb-email{margin-top:24px;padding-top:24px;border-top:1px solid var(--lb-line)}
.lb-x.lb-email{margin:0 0 32px;padding:24px;border:0;border-radius:14px;background:var(--lb-surface)}
.lb-x .lb-subscribe-title{margin:0 0 4px;font:600 21px/1.3 var(--lb-serif);color:var(--lb-ink)}
.lb-x .lb-subscribe-fields{min-width:0;margin:0;padding:0;border:0}
.lb-x .lb-subscribe-label{display:block;margin:12px 0 6px;font-size:14px;font-weight:600}
.lb-x .lb-subscribe-row{display:flex;flex-wrap:wrap;gap:10px}
.lb-x .lb-subscribe-row input{flex:1 1 220px;min-width:0;min-height:48px;padding:10px 16px;border:1px solid var(--lb-muted);border-radius:999px;background:var(--lb-surface);color:var(--lb-ink);font:400 16px/1.4 var(--lb-sans)}
.lb-x .lb-subscribe-row input::placeholder{color:var(--lb-muted);opacity:1}
.lb-x .lb-consent{margin:10px 0 0;font-size:13px;line-height:1.6;color:var(--lb-muted)}
.lb-x .lb-subscribe-status{margin:8px 0 0;font-size:14px;font-weight:700;color:var(--lb-ink)}
.lb-x .lb-subscribe-status[data-state="success"]{color:var(--lb-green)}
.lb-x .lb-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.lb-x .lb-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.lb-x.lb-mobile-bar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:900;display:flex;align-items:center;gap:6px;padding:6px;border-radius:999px;background:var(--lb-surface);box-shadow:0 12px 32px rgba(15,20,25,.22)}
.lb-x.lb-mobile-bar .lb-button{flex:1;min-width:0}
.lb-x .lb-mobile-bar-close{flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--lb-ink);font:400 26px/1 var(--lb-sans);cursor:pointer}
/* Above an imported design the info bar continues the site header: the navbar band's colour (blog/server/siteChrome.ts),
   breadcrumbs and byline on one line, a hairline under it. */
.lb-x.lb-infobar{background:var(--lb-bg);border-bottom:1px solid var(--lb-line)}
.lb-x .lb-infobar-inner{display:flex;flex-wrap:wrap;align-items:center;gap:0 22px;max-width:1180px;margin:0 auto;padding:4px 32px}
.lb-x.lb-infobar .lb-breadcrumbs ol{margin:0}
.lb-x .lb-infobar-meta{display:flex;flex-wrap:wrap;gap:2px 18px;margin:0;font-size:14px;line-height:1.6;color:var(--lb-muted)}
.lb-x .lb-infobar-meta a{font-weight:600}
/* The footer's own top margin, painted in this colour (blog/server/siteChrome.ts), is the space under the last block,
   so nothing here ends in a margin that would show the design's page colour. */
.lb-x.lb-after--imported{display:flow-root;border-top:1px solid var(--lb-line);background:var(--lb-bg)}
.lb-x .lb-after-inner{max-width:780px;margin:0 auto;padding:40px 32px 0}
.lb-x .lb-after-inner>:last-child{margin-bottom:0}
.lb-after--imported .lb-x.lb-disclaimer{margin-bottom:24px}
.lb-after--imported .lb-x.lb-share{margin-bottom:28px}

/* cover placeholder */
.lb-cover--placeholder{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;aspect-ratio:5/3;padding:16px;background:#D6EAE1 linear-gradient(135deg,#E8F5F0 0%,#D6EAE1 100%);color:#1F6B55;text-align:center}
.lb-cover--placeholder .lb-cover-mark{flex:none;width:36px;height:36px;fill:currentColor;opacity:.35}
.lb-cover--placeholder .lb-cover-label{display:block;max-width:20ch;margin:0;font:600 18px/1.3 'Playfair Display',serif;letter-spacing:normal;text-transform:none;color:#1F6B55}
html.dark .lb-cover--placeholder{background:#1F3D35 linear-gradient(135deg,#1F3D35 0%,#16302A 100%);color:#A8D5C7}
html.dark .lb-cover--placeholder .lb-cover-label{color:#A8D5C7}
/* end cover placeholder */

/* Listing, category, author and missing pages */
.lb-page .journal-intro{padding-top:56px;padding-bottom:36px}
.lb-page .journal-intro h1{margin:14px 0 18px;font:600 clamp(36px,4.8vw,60px)/1.12 var(--lb-serif);letter-spacing:-.01em;color:var(--lb-ink)}
.lb-page .journal-intro>p:not(.eyebrow){max-width:62ch;margin:0;font-size:17px;line-height:1.7;color:var(--lb-muted)}
.lb-page .journal-intro a{color:var(--lb-green);font-weight:700;text-underline-offset:3px}
.lb-page .lb-listing-title{margin:8px 0 20px;font:600 26px/1.3 var(--lb-serif);color:var(--lb-ink)}
.lb-page .journal-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 28px;margin-bottom:40px}
.lb-page .journal-card{position:relative;display:flex;flex-direction:column;overflow:hidden;border-radius:16px;background:var(--lb-surface);color:var(--lb-ink);transition:transform .15s,box-shadow .15s}
.lb-page .journal-card:hover{transform:translateY(-3px);box-shadow:var(--lb-shadow)}
.lb-page .journal-card>img{display:block;width:100%;height:auto;aspect-ratio:5/3;object-fit:cover}
.lb-page .journal-card-body{display:flex;flex:1;flex-direction:column;padding:22px 24px 24px}
.lb-page .journal-card .eyebrow a{position:relative;z-index:1;display:inline-flex;align-items:center;min-height:44px;margin:-12px 0;color:inherit;text-decoration:none}
.lb-page .journal-card .eyebrow a:hover{text-decoration:underline}
.lb-page .journal-card :is(h2,h3){margin:10px 0;font:600 23px/1.3 var(--lb-serif);color:var(--lb-ink)}
.lb-page .journal-card-link{color:inherit;text-decoration:none}
.lb-page .journal-card-link::after{content:'';position:absolute;inset:0}
.lb-page .journal-card-link:focus-visible{outline:none}
.lb-page .journal-card:has(.journal-card-link:focus-visible){outline:2px solid var(--lb-green);outline-offset:3px}
.lb-page .journal-card:hover .journal-card-link{color:var(--lb-green)}
.lb-page .journal-card-excerpt{margin:0 0 18px;font-size:15px;line-height:1.65;color:var(--lb-muted)}
/* The lead story: the newest article on page 1, as one wide card. */
.lb-page .journal-card--lead{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.lb-page .journal-card--lead>:first-child{width:100%;height:100%;min-height:320px;aspect-ratio:auto;object-fit:cover}
.lb-page .journal-card--lead .journal-card-body{justify-content:center;padding:40px 44px}
.lb-page .journal-card--lead :is(h2,h3){font-size:clamp(28px,3vw,38px);line-height:1.2}
.lb-page .journal-card--lead .journal-card-excerpt{font-size:17px;line-height:1.7}
.lb-page .journal-card footer{display:flex;justify-content:space-between;gap:10px;margin-top:auto;padding-top:6px;font-size:13px;color:var(--lb-muted)}
.lb-page .journal-empty{grid-column:1/-1;padding:56px 24px;border-radius:14px;background:var(--lb-tint);text-align:center}
.lb-page .journal-empty h2{margin:0 0 10px;font:600 30px/1.3 var(--lb-serif);color:var(--lb-ink)}
.lb-page .journal-empty p{margin:0;font-size:16px;line-height:1.7;color:var(--lb-muted)}
.lb-page .pagination{display:flex;justify-content:space-between;gap:16px;padding:8px 0 56px;font-weight:700}
.lb-page .pagination a{display:inline-flex;align-items:center;min-height:44px;color:var(--lb-green)}
.lb-page .lb-author-card{display:flex;align-items:flex-start;gap:24px;margin-top:16px;padding:24px;border-radius:16px;background:var(--lb-surface)}
.lb-page .lb-author-card h1{margin:0 0 6px;font-size:clamp(30px,3.6vw,44px)}
.lb-page .lb-author-photo{flex:none;width:120px;height:120px;border-radius:50%;object-fit:cover;background:var(--lb-tint)}
.lb-page .lb-author-role{margin:0 0 12px;font-weight:700;color:var(--lb-green)}
.lb-page .lb-author-bio{max-width:62ch;margin:0 0 14px;line-height:1.7;color:var(--lb-ink)}
.lb-page .lb-author-links{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.lb-page .lb-author-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:999px;background:var(--lb-tint);color:var(--lb-green);font-size:14px;font-weight:700;text-decoration:none}

@media(max-width:900px){
  .lb-page .article-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"body" "side" "after";row-gap:32px;padding-top:32px}
  .lb-page .article-grid>.article-sidebar{display:none}
  .lb-x.lb-toc{display:block}
  .lb-page .journal-cards,.lb-x .lb-related-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lb-page .journal-card--lead{grid-template-columns:1fr}
  .lb-page .journal-card--lead>:first-child{height:auto;min-height:0;aspect-ratio:5/3}
  .lb-page .journal-card--lead .journal-card-body{padding:24px}
}
@media(min-width:901px){.lb-x.lb-mobile-bar{display:none!important}}
@media(max-width:600px){
  .lb-page .journal-wrap,.lb-x .lb-infobar-inner,.lb-x .lb-after-inner{padding-left:16px;padding-right:16px}
  .lb-page .article-hero{padding-top:24px}
  .lb-page .article-dek{font-size:17px}
  .lb-page .article-byline{gap:4px 16px}
  .lb-page .article-cover{border-radius:10px 10px 0 0}
  .lb-page .article-body{font-size:17px}
  :where(.lb-page .article-body) p.lede{font-size:21px}
  :where(.lb-page .article-body) h2{font-size:26px}
  :where(.lb-page .article-body) .pillars{grid-template-columns:1fr}
  :where(.lb-page .article-body) blockquote.pullquote{font-size:22px}
  .lb-page .journal-cards,.lb-x .lb-related-list{grid-template-columns:1fr}
  .lb-x .lb-related-card{flex-direction:row;align-items:stretch}
  .lb-x :is(.lb-related-image,.lb-related-card .lb-cover--placeholder){flex:none;width:96px;aspect-ratio:auto;min-height:96px;padding:8px}
  .lb-x .lb-related-card .lb-cover-label{display:none}
  .lb-page .journal-intro{padding-top:32px}
  .lb-x.lb-end-card{padding:24px 20px}
  .lb-x .lb-end-title{font-size:24px}
  .lb-page .lb-author-card{flex-direction:column;padding:20px}
}
/* Blog home (magazine layout): /blog, its topic and author pages, and search results (blog/server/publicPages.ts).
   Every rule is scoped to .lb-home, so pages rendered before this release look exactly as they did. The story grid
   keeps .journal-cards (above) for its 3, 2 and 1 columns. */
.lb-home [hidden]{display:none!important}
.lb-home .lb-visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.lb-home summary:focus-visible{outline:2px solid var(--lb-green);outline-offset:3px}
.lb-page .lb-home .lb-home-intro{padding-top:40px;padding-bottom:4px}
.lb-page .lb-home .lb-home-intro h1{margin:0 0 10px;font:600 clamp(36px,4.8vw,56px)/1.12 var(--lb-serif);letter-spacing:-.01em;color:var(--lb-ink)}
.lb-page .lb-home .lb-home-intro>p{max-width:62ch;margin:0;font-size:17px;line-height:1.7;color:var(--lb-muted)}
.lb-page .lb-home .lb-home-intro a{color:var(--lb-green);font-weight:700;text-underline-offset:3px}
/* Search (a round icon that opens a box) and the topic chips */
.lb-home .lb-home-tools{padding-top:20px;padding-bottom:28px}
.lb-home .lb-home-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.lb-home .lb-search{flex:none}
.lb-home .lb-search[open]{position:relative;flex:1 1 100%;min-width:0}
.lb-home .lb-search-toggle{display:flex;flex:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--lb-surface);color:var(--lb-green);box-shadow:var(--lb-shadow);list-style:none;cursor:pointer}
.lb-home .lb-search-toggle::-webkit-details-marker{display:none}
.lb-home .lb-search-toggle:hover{background:var(--lb-tint)}
.lb-home .lb-search-icon--close,.lb-home .lb-search[open] .lb-search-icon--open{display:none}
.lb-home .lb-search[open] .lb-search-icon--close{display:block}
/* Open, the icon is the close button at the end of the input row (absolute: browsers differ on <details> as a flex box). */
.lb-home .lb-search[open] .lb-search-toggle{position:absolute;right:0;bottom:0}
.lb-home .lb-search-form{min-width:0;margin:0 60px 0 0}
.lb-home .lb-search-label{display:block;margin:0 0 6px;font:600 14px/1.5 var(--lb-sans);color:var(--lb-ink)}
.lb-home .lb-search-row{display:flex;gap:8px}
.lb-home .lb-search-input{flex:1 1 0;width:0;min-width:0;height:48px;margin:0;padding:0 18px;border:1px solid var(--lb-muted);border-radius:999px;background:var(--lb-surface);color:var(--lb-ink);font:400 16px/1.4 var(--lb-sans)}
.lb-home .lb-search-input:focus-visible{outline:2px solid var(--lb-green);outline-offset:2px}
.lb-home .lb-search-button{flex:none;min-height:48px;padding:0 22px;border:0;border-radius:999px;background:var(--lb-button);color:var(--lb-button-ink);font:700 15px/1 var(--lb-sans);cursor:pointer}
.lb-home .lb-search-button:hover{background:var(--lb-button-hover)}
.lb-home .lb-chips ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.lb-home .lb-chip{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:var(--lb-tint);color:var(--lb-ink);font:600 14px/1.2 var(--lb-sans);text-decoration:none}
.lb-home .lb-chip:hover{color:var(--lb-green);text-decoration:underline}
.lb-home .lb-chip[aria-current="page"]{background:var(--lb-button);color:var(--lb-button-ink);text-decoration:none}
.lb-home .lb-filter-status{margin:0;font-size:15px;font-weight:600;line-height:1.6;color:var(--lb-ink)}
.lb-home .lb-filter-status:not(:empty){padding-top:16px}
/* /blog opens with its title block: the search icon on the title row, the chips below, then the featured stories.
   Open, the search takes a full-width row under the title, as the toolbar does on the other listing pages. */
.lb-home .lb-home-head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;padding-bottom:28px}
.lb-home .lb-home-head .lb-home-tools,.lb-home .lb-home-head .lb-home-toolbar{display:contents}
.lb-home .lb-home-head .lb-home-intro{grid-column:1}
.lb-home .lb-home-head .lb-search{grid-column:2;grid-row:1;align-self:start;margin-top:calc(40px + (clamp(36px,4.8vw,56px) * 1.12 - 48px) / 2)}
.lb-home .lb-home-head .lb-search[open]{grid-column:1/-1;grid-row:auto;margin-top:20px}
.lb-home .lb-home-head .lb-chips,.lb-home .lb-home-head .lb-filter-status{grid-column:1/-1}
.lb-home .lb-home-head .lb-chips{margin-top:20px}
.lb-page .lb-home .lb-home-head~.journal-wrap .lb-featured{margin-top:0;margin-bottom:48px}
.lb-page .lb-home--filtering .lb-home-head~.journal-wrap .lb-featured{margin-bottom:32px}
/* Stories: the title under the cover, covers at their own 1200:630 shape (lettered title graphics are never cropped) */
.lb-home .lb-story{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:16px;background:var(--lb-surface);color:var(--lb-ink);transition:transform .15s,box-shadow .15s}
.lb-home .lb-story:hover{transform:translateY(-3px);box-shadow:var(--lb-shadow)}
.lb-home .lb-story:has(.lb-story-link:focus-visible){outline:2px solid var(--lb-green);outline-offset:3px}
.lb-home .lb-story-media{display:flex;flex:none;align-items:center;background:var(--lb-tint)}
.lb-home .lb-story-image{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:contain}
.lb-home .lb-story .lb-cover--placeholder{width:100%;aspect-ratio:1200/630}
.lb-home .lb-story-body{display:flex;flex:1;flex-direction:column;min-width:0;padding:20px 22px 22px}
.lb-home .lb-story-category{margin:0 0 6px;font:700 13px/1.5 var(--lb-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--lb-green)}
.lb-home .lb-story-category a{position:relative;z-index:1;display:inline-flex;align-items:center;min-height:44px;margin:-12px 0;color:inherit;text-decoration:none}
.lb-home .lb-story-category a:hover span{text-decoration:underline}
.lb-home .lb-story-title{margin:0 0 10px;font:600 22px/1.3 var(--lb-serif);color:var(--lb-ink);overflow-wrap:break-word}
.lb-home .lb-story-link{color:inherit;text-decoration:none}
.lb-home .lb-story-link::after{content:'';position:absolute;inset:0}
.lb-home .lb-story-link:focus-visible{outline:none}
.lb-home .lb-story:hover .lb-story-link{color:var(--lb-green)}
.lb-home .lb-story-arrow{font:400 .8em/1 var(--lb-sans);color:var(--lb-green)}
.lb-home .lb-story-excerpt{display:-webkit-box;margin:0 0 16px;overflow:hidden;font-size:15px;line-height:1.6;color:var(--lb-muted);-webkit-box-orient:vertical;-webkit-line-clamp:2}
.lb-home .lb-story-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;margin:auto 0 0;font-size:13px;line-height:1.5;color:var(--lb-muted)}
.lb-home .lb-story-avatar{display:inline-flex;flex:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--lb-tint);color:var(--lb-green);font:700 13px/1 var(--lb-sans)}
.lb-home .lb-story-author{font-weight:600;color:var(--lb-ink)}
.lb-home .lb-story-when{white-space:nowrap}
.lb-home .lb-story-minutes::before{content:'\00B7';margin:0 8px}
/* On grid and wide cards (and every card while the live filter runs) the category is a pill on the cover. */
.lb-home :is(.lb-story--grid,.lb-story--wide) .lb-story-category,.lb-home--filtering .lb-story .lb-story-category{position:absolute;top:6px;left:12px;z-index:1;margin:0;letter-spacing:.06em}
.lb-home :is(.lb-story--grid,.lb-story--wide) .lb-story-category a,.lb-home--filtering .lb-story .lb-story-category a{margin:0}
.lb-home :is(.lb-story--grid,.lb-story--wide) .lb-story-category span,.lb-home--filtering .lb-story .lb-story-category span{display:inline-block;padding:6px 12px;border-radius:999px;background:var(--lb-pill);color:var(--lb-pill-ink);box-shadow:0 2px 8px rgba(15,20,25,.18)}
/* Featured: the newest story large, the next two stacked beside it. While the live filter runs it is a plain grid. */
.lb-page .lb-home .lb-featured{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);grid-template-rows:auto auto;gap:24px 32px;margin:40px 0 0}
.lb-page .lb-home .lb-featured>.lb-story--lead{grid-row:1/span 2}
.lb-home:not(.lb-home--filtering) .lb-story--lead .lb-story-body{padding:26px 30px 28px}
.lb-home:not(.lb-home--filtering) .lb-story--lead .lb-story-title{font-size:clamp(28px,2.8vw,36px);line-height:1.2}
.lb-home:not(.lb-home--filtering) .lb-story--lead .lb-story-excerpt{display:block;margin-bottom:20px;font-size:17px;line-height:1.65}
.lb-home:not(.lb-home--filtering) .lb-story--side .lb-story-title{font-size:20px}
.lb-home:not(.lb-home--filtering) .lb-story--side .lb-story-excerpt{display:none}
.lb-page .lb-home--filtering .lb-featured{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:none;gap:32px 28px;margin-bottom:32px}
.lb-page .lb-home--filtering .lb-featured>.lb-story--lead{grid-row:auto}
/* One or two stories: wide cards, the cover on the left */
.lb-page .lb-home .lb-stories--wide{grid-template-columns:minmax(0,1fr)}
.lb-home .lb-story--wide{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.lb-home .lb-story--wide .lb-story-media{background:transparent}
.lb-home .lb-story--wide .lb-story-body{justify-content:center;padding:28px 32px}
.lb-home .lb-story--wide .lb-story-title{font-size:clamp(24px,2.4vw,30px);line-height:1.25}
.lb-home .lb-story--wide .lb-story-excerpt{-webkit-line-clamp:3}
/* The next step: the next free workshop */
.lb-home .lb-band{padding:8px 0 72px}
.lb-home .lb-band-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px;padding:32px 36px;border-top:4px solid var(--lb-gold);border-radius:20px;background:var(--lb-tint)}
.lb-home .lb-band-copy{flex:1 1 380px;min-width:0}
.lb-home .lb-band-eyebrow{margin:0 0 6px;font:700 13px/1.5 var(--lb-sans);letter-spacing:.12em;text-transform:uppercase;color:var(--lb-green)}
.lb-home .lb-band-title{margin:0 0 6px;font:600 clamp(24px,2.6vw,30px)/1.25 var(--lb-serif);color:var(--lb-ink)}
.lb-home .lb-band-when{margin:0 0 8px;font:700 15px/1.5 var(--lb-sans);color:var(--lb-ink)}
.lb-home .lb-band-text{max-width:56ch;margin:0;font-size:16px;line-height:1.6;color:var(--lb-muted)}
.lb-home .lb-band-button{display:inline-flex;flex:none;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 24px;border-radius:999px;background:var(--lb-button);color:var(--lb-button-ink);font:700 15px/1.3 var(--lb-sans);text-decoration:none}
.lb-home .lb-band-button:hover{background:var(--lb-button-hover);color:var(--lb-button-ink)}
@media(max-width:900px){
  .lb-page .lb-home .lb-featured{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .lb-page .lb-home .lb-featured>.lb-story--lead{grid-column:1/-1;grid-row:auto}
  .lb-page .lb-home--filtering .lb-featured>.lb-story--lead{grid-column:auto}
}
@media(max-width:600px){
  .lb-page .lb-home .lb-featured{grid-template-columns:minmax(0,1fr);gap:12px;margin-top:24px}
  .lb-page .lb-home--filtering .lb-featured{gap:24px}
  .lb-page .lb-home .lb-home-intro{padding-top:32px}
  .lb-home .lb-home-head .lb-search{margin-top:calc(32px + (36px * 1.12 - 48px) / 2)}
  .lb-home:not(.lb-home--filtering) .lb-story--lead .lb-story-body{padding:20px 20px 22px}
  .lb-home:not(.lb-home--filtering) .lb-story--lead .lb-story-title{font-size:26px}
  .lb-home:not(.lb-home--filtering) .lb-story--lead .lb-story-excerpt{font-size:16px}
  /* The two stacked stories become compact rows, a thumbnail on the left, so search stays near the top. */
  .lb-home:not(.lb-home--filtering) .lb-story--side{flex-direction:row;align-items:flex-start;border-radius:12px}
  .lb-home:not(.lb-home--filtering) .lb-story--side .lb-story-media{width:120px;margin:12px 0 12px 12px;overflow:hidden;border-radius:8px}
  .lb-home:not(.lb-home--filtering) .lb-story--side .lb-story-body{padding:10px 14px 12px}
  .lb-home:not(.lb-home--filtering) .lb-story--side .lb-story-category{margin-bottom:0}
  .lb-home:not(.lb-home--filtering) .lb-story--side .lb-story-title{margin-bottom:6px;font-size:17px;line-height:1.3}
  .lb-home:not(.lb-home--filtering) .lb-story--side .lb-story-avatar{display:none}
  .lb-home:not(.lb-home--filtering) .lb-story--side .lb-cover--placeholder{padding:8px}
  .lb-home:not(.lb-home--filtering) .lb-story--side .lb-cover-label{display:none}
  .lb-home .lb-story--wide{display:flex;flex-direction:column}
  .lb-home .lb-story--wide .lb-story-body{padding:20px 22px 22px}
  .lb-home .lb-story--wide .lb-story-title{font-size:22px}
  .lb-home .lb-band{padding-bottom:48px}
  .lb-home .lb-band-inner{padding:24px 20px}
  .lb-home .lb-band-button{width:100%}
}
@media(prefers-reduced-motion:reduce){.lb-home .lb-story:hover{transform:none}}
/* end Blog home */
@media(prefers-reduced-motion:reduce){:where(.lb-page main) *,.lb-x *{transition:none!important;scroll-behavior:auto!important}.lb-page .journal-card:hover{transform:none}}

/* Share one card (imported designs) */
/* The status message for a design's "Share this recipe" links: under the navbar, clear of the phone bar and the cookie sheet.
   Empty, it takes no space but stays a live region, so the next message is announced. */
.lb-x.lb-share-toast{position:fixed;top:calc(var(--lifeline-nav-offset,88px) + 12px);left:50%;z-index:950;max-width:min(560px,calc(100vw - 32px));margin:0;padding:10px 18px;border-radius:12px;background:var(--lb-ink);color:var(--lb-surface);font:600 14px/1.5 var(--lb-sans);box-shadow:var(--lb-shadow);transform:translateX(-50%);overflow-wrap:anywhere}
.lb-x.lb-share-toast:empty{padding:0;box-shadow:none;pointer-events:none}
/* The card a shared link opened glows briefly in Lifeline green (the design's own colours stay; the #card jump is the browser's). */
.lb-card-landing{outline:3px solid #1F6B55;outline-offset:4px;animation:lb-card-landing 2.4s ease-out forwards}
@keyframes lb-card-landing{0%,60%{outline-color:#1F6B55}100%{outline-color:rgba(31,107,85,0)}}
/* The phone bar on a visit through a shared card: the next free workshop's title and date beside a Join button. */
.lb-x.lb-mobile-bar--workshop{gap:10px;padding:6px 6px 6px 18px;border-radius:20px}
.lb-x .lb-mobile-bar-text{flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.35}
.lb-x.lb-mobile-bar--workshop .lb-button{flex:none}
@media(prefers-reduced-motion:reduce){.lb-card-landing{outline:none;animation:none}}
