/* Callsheet: theme layer on top of the Callsheet foundation. CSS only. */
:root{ --callsheet-ui: var(--wp--custom--font-ui, system-ui, sans-serif); --callsheet-hw: var(--wp--custom--heading-weight, 600); --callsheet-r: var(--wp--custom--radius--base, 6px); --callsheet-card: var(--csh-surface-2); }
@supports (color: color-mix(in srgb, red, blue)) { :root{ --callsheet-card: color-mix(in srgb, var(--csh-ink) 4%, var(--csh-surface)); } }
.callsheet-label, .is-style-label, .callsheet-label a{ font-family:var(--callsheet-ui); font-size:.72rem; font-weight:600; letter-spacing:.09em; text-transform:uppercase; color:var(--csh-ink-soft); text-decoration:none; margin:0; }
.callsheet-pill{ display:inline-flex; align-items:center; margin:0; padding:.36rem .6rem; border-radius:999px; background:var(--csh-accent-soft); color:var(--csh-accent-ink); font-family:var(--callsheet-ui); font-size:.68rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; line-height:1; }
.callsheet-deck, .is-style-deck, .callsheet-lede{ font-size:var(--wp--preset--font-size--medium); color:var(--csh-ink-soft); line-height:1.5; }
.callsheet-soft{ color:var(--csh-ink-soft); }
.wp-block-post-terms, .wp-block-post-date, .wp-block-post-author-name, .wp-block-query-pagination, .wp-block-categories, .wp-block-navigation{ font-family:var(--callsheet-ui); }
.callsheet-meta{ gap:.45rem .8rem; margin-bottom:.4rem; font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); color:var(--csh-ink-soft); }
.callsheet-meta > *{ margin:0; }
.callsheet-meta a{ color:var(--csh-ink-soft); }
.callsheet-reading, .callsheet-count{ font-family:var(--callsheet-ui); }
.callsheet-updated-label{ margin-right:.15em; }
/* Header */
.callsheet-header{ border-bottom:1px solid var(--csh-line); }
.callsheet-header-row{ gap:var(--wp--preset--spacing--30); }
.callsheet-header .wp-block-site-title{ font-family:var(--wp--custom--font-display); font-weight:var(--callsheet-hw); font-size:var(--wp--preset--font-size--medium); letter-spacing:-.01em; margin:0; }
.callsheet-header .wp-block-site-title a{ color:var(--csh-ink); text-decoration:none; }
.callsheet-header-actions{ gap:var(--wp--preset--spacing--40); }
.callsheet-header .wp-block-navigation{ font-size:var(--wp--preset--font-size--small); }
.callsheet-header .wp-block-navigation a{ color:var(--csh-ink-soft); text-decoration:none; }
.callsheet-header .wp-block-navigation a:hover{ color:var(--csh-ink); }
.wp-block-navigation__responsive-container.is-menu-open{ padding:var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); background:var(--csh-surface); color:var(--csh-ink); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{ font-size:var(--wp--preset--font-size--large); padding-block:.35em; color:var(--csh-ink); }
@media (max-width:600px){ .callsheet-header .callsheet-header-cta{ display:none; } }
/* Sections */
.callsheet-section{ margin-top:var(--wp--preset--spacing--70); }
.callsheet-sec-head{ margin-bottom:var(--wp--preset--spacing--40); gap:var(--wp--preset--spacing--30); }
.callsheet-sec-head h2{ margin:0; }
.callsheet-sec-link{ margin:0; font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); }
.callsheet-sec-link a{ color:var(--csh-accent-ink); }
.callsheet-cards.is-layout-grid, .callsheet-pillar-grid.is-layout-grid{ grid-template-columns:repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); }
.callsheet-cards, .callsheet-pillar-grid{ gap:var(--wp--preset--spacing--30); }
.callsheet-card{ height:100%; padding:var(--wp--preset--spacing--40); border:1px solid var(--csh-line); border-radius:var(--callsheet-r); background:var(--csh-surface); }
.callsheet-card:hover{ border-color:var(--csh-accent); }
.callsheet-card .callsheet-card-title{ font-size:var(--wp--preset--font-size--medium); line-height:1.25; margin:.55em 0 .3em; }
.callsheet-card .callsheet-card-title a{ color:var(--csh-ink); text-decoration:none; }
.callsheet-card .wp-block-post-excerpt{ color:var(--csh-ink-soft); font-size:var(--wp--preset--font-size--small); margin:0; }
.callsheet-card .wp-block-post-excerpt__excerpt, .callsheet-pillar-card .wp-block-post-excerpt__excerpt, .callsheet-pillar-item .wp-block-post-excerpt__excerpt{ margin:0; }
.callsheet-pillar-card{ height:100%; padding:var(--wp--preset--spacing--40); background:var(--callsheet-card); border-top:3px solid var(--csh-accent); border-radius:0 0 var(--callsheet-r) var(--callsheet-r); }
.callsheet-pillar-card .wp-block-post-title{ font-size:var(--wp--preset--font-size--large); margin:.3em 0; }
.callsheet-pillar-card .wp-block-post-title a{ color:var(--csh-ink); text-decoration:none; }
.callsheet-pillar-card .wp-block-post-excerpt{ font-size:var(--wp--preset--font-size--small); color:var(--csh-ink-soft); margin:0; }
.callsheet-count{ font-size:.8rem; font-weight:600; color:var(--csh-accent-ink); margin:.8em 0 0; }
.callsheet-list{ list-style:none; padding:0; margin:0; }
.callsheet-list > li{ border-top:1px solid var(--csh-line); padding-block:var(--wp--preset--spacing--30); margin:0; }
.callsheet-list > li:last-child{ border-bottom:1px solid var(--csh-line); }
.callsheet-list-title{ font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--base); font-weight:600; line-height:1.35; margin:0; }
.callsheet-list-title a{ color:var(--csh-ink); text-decoration:none; }
.callsheet-list-title a:hover{ text-decoration:underline; }
.callsheet-list-meta{ gap:.3rem .9rem; margin-top:.25rem; font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); color:var(--csh-ink-soft); }
.callsheet-list-meta > *{ margin:0; }
.callsheet-list-meta a{ color:inherit; }
/* Article */
.callsheet-article-head .wp-block-post-title{ margin:.25em 0 .3em; }
.callsheet-byline{ gap:.2rem .6rem; margin-top:var(--wp--preset--spacing--40); font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); color:var(--csh-ink-soft); }
.callsheet-byline > *{ margin:0; }
.callsheet-byline a{ color:var(--csh-ink); font-weight:600; text-decoration:none; }
.callsheet-byline .wp-block-post-author-name::after{ content:"·"; margin-left:.6rem; color:var(--csh-ink-soft); }
.callsheet-body{ font-size:calc(var(--wp--preset--font-size--base) * 1.05); line-height:1.75; }
.callsheet-body h2{ margin-top:1.8em; }
.csh-takeaways, .callsheet-takeaways{ padding:var(--wp--preset--spacing--40); background:var(--csh-accent-soft); border-radius:var(--callsheet-r); }
.csh-takeaways > :first-child{ color:var(--csh-ink); }
.wp-block-quote.is-style-pull{ border:0; padding:0; margin-block:var(--wp--preset--spacing--50); font-family:var(--wp--custom--font-display); font-weight:var(--callsheet-hw); font-size:var(--wp--preset--font-size--x-large); line-height:1.3; color:var(--csh-accent-ink); }
.wp-block-quote cite{ display:block; font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); font-style:normal; color:var(--csh-ink-soft); }
.callsheet-part-of{ gap:.6rem; padding-block:var(--wp--preset--spacing--30); border-block:1px solid var(--csh-line); }
.callsheet-part-of .wp-block-post-terms a{ color:var(--csh-ink); font-weight:600; }
.callsheet-siblings{ list-style:none; padding:0; margin:var(--wp--preset--spacing--20) 0 0; }
.callsheet-siblings > li{ margin:0; border-top:1px solid var(--csh-line); }
.callsheet-sibling{ font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--base); margin:0; }
.callsheet-sibling a{ display:block; padding-block:.7rem; color:var(--csh-ink); text-decoration:underline; text-decoration-color:var(--csh-line); line-height:1.35; }
.callsheet-author-card{ gap:var(--wp--preset--spacing--30); padding-block:var(--wp--preset--spacing--40); border-block:1px solid var(--csh-line); }
.callsheet-author-card .wp-block-avatar img{ border-radius:50%; }
.callsheet-author-card .wp-block-post-author-name{ font-weight:600; }
.callsheet-author-card .wp-block-post-author-biography{ font-size:var(--wp--preset--font-size--small); color:var(--csh-ink-soft); }
.wp-block-details{ border-top:1px solid var(--csh-line); padding-block:.8rem; }
.wp-block-details summary{ font-weight:600; cursor:pointer; min-height:28px; }
/* Pillar */
.callsheet-pillar-meta{ gap:.3rem .9rem; font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); color:var(--csh-ink-soft); }
.callsheet-pillar-meta > *{ margin:0; }
.callsheet-pillar-meta .callsheet-count{ font-size:inherit; margin:0; }
.callsheet-pillar-list{ list-style:none; padding:0; counter-reset:callsheet-p; }
.callsheet-pillar-list > li{ margin:0; counter-increment:callsheet-p; display:grid; grid-template-columns:2.6rem 1fr; padding-block:var(--wp--preset--spacing--30); border-top:1px solid var(--csh-line); }
.callsheet-pillar-list > li::before{ content:counter(callsheet-p, decimal-leading-zero); font-family:var(--callsheet-ui); font-weight:700; color:var(--csh-accent-ink); }
.callsheet-pillar-item .wp-block-post-title{ font-size:var(--wp--preset--font-size--medium); margin:0 0 .2em; }
.callsheet-pillar-item .wp-block-post-title a{ color:var(--csh-ink); text-decoration:none; }
.callsheet-pillar-item .wp-block-post-excerpt{ color:var(--csh-ink-soft); font-size:var(--wp--preset--font-size--small); margin:0; }
/* Newsletter */
.callsheet-newsletter{ margin-top:var(--wp--preset--spacing--70); background:var(--csh-accent-soft); border-radius:var(--callsheet-r); padding:var(--wp--preset--spacing--60) var(--wp--preset--spacing--50); }
.callsheet-newsletter-inner{ align-items:center; gap:var(--wp--preset--spacing--40); }
.callsheet-newsletter h2{ margin:.25em 0 .3em; }
.callsheet-newsletter .callsheet-soft{ margin:0; color:var(--csh-ink); }
.callsheet-newsletter .callsheet-soft a{ color:var(--csh-ink); font-weight:600; text-decoration:underline; text-underline-offset:.15em; }
.callsheet-newsletter .callsheet-label{ color:var(--csh-ink); }
.callsheet-newsletter .callsheet-core-subscribe, .callsheet-newsletter form{ display:flex; flex-wrap:wrap; gap:.5rem; }
.callsheet-newsletter input[type="email"]{ flex:1 1 13rem; padding:.5rem .8rem; font:inherit; min-height:44px; }
.wp-block-group.is-style-panel{ padding:var(--wp--preset--spacing--40); border:1px solid var(--csh-line); border-radius:var(--callsheet-r); }
.wp-block-group.is-style-band{ padding:var(--wp--preset--spacing--50); background:var(--csh-accent-soft); border-radius:var(--callsheet-r); }
.callsheet-topics-list{ list-style:none; padding:0; margin:var(--wp--preset--spacing--30) 0 0; display:flex; flex-wrap:wrap; gap:.5rem; }
.callsheet-topics-list li a{ display:inline-flex; align-items:center; min-height:44px; padding:0 .9rem; border:1px solid var(--csh-line); border-radius:999px; color:var(--csh-ink); text-decoration:none; font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); }
.callsheet-chips{ gap:.5rem; }
.callsheet-chips .wp-block-button__link{ border-radius:999px; min-height:44px; display:inline-flex; align-items:center; padding:.4rem 1rem; font-size:var(--wp--preset--font-size--small); }
/* Footer */
.callsheet-footer{ border-top:1px solid var(--csh-line); color:var(--csh-ink-soft); font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); }
.callsheet-footer .wp-block-site-title{ font-family:var(--wp--custom--font-display); font-weight:var(--callsheet-hw); font-size:var(--wp--preset--font-size--medium); color:var(--csh-ink); margin:0; }
.callsheet-footer-tagline{ margin:.3em 0 0; max-width:28rem; }
.callsheet-footer-nav a{ color:var(--csh-ink-soft); text-decoration:none; }
.callsheet-footer-nav a:hover{ color:var(--csh-ink); }
.callsheet-footer-nav .wp-block-navigation-item__content{ min-height:44px; display:inline-flex; align-items:center; }
.callsheet-credit{ margin:var(--wp--preset--spacing--40) 0 0; }
.callsheet-credit a{ color:inherit; }
.wp-block-search__input{ min-height:44px; }
/* Dark mode: the primary button stays light and strong whatever the brand colour. */
:root{ --callsheet-btn-dark: var(--csh-ink); }
@supports (color: oklch(from red l c h)) {
  :root{ --callsheet-btn-dark: oklch(from var(--csh-brand) max(l, calc(0.7 + 0.24 * (1 - min(c / 0.06, 1)))) min(c, 0.16) h); }
}
@media (prefers-color-scheme: dark) {
  html:not(.csh-no-dark):not([data-theme="light"]) .wp-block-button:not(.is-style-outline):not(.is-style-text) > .wp-block-button__link,
  html:not(.csh-no-dark):not([data-theme="light"]) .callsheet-core-subscribe button{ background-color:var(--callsheet-btn-dark); color:var(--csh-surface); }
}
html[data-theme="dark"] .wp-block-button:not(.is-style-outline):not(.is-style-text) > .wp-block-button__link,
html[data-theme="dark"] .callsheet-core-subscribe button{ background-color:var(--callsheet-btn-dark); color:var(--csh-surface); }
@media print{ .callsheet-newsletter, .callsheet-header-actions{ display:none !important; } }



/* Filters */
.callsheet-filters{ display:grid; gap:.6rem; margin-block:var(--wp--preset--spacing--40); font-family:var(--callsheet-ui); }
.callsheet-filter-row{ display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; }
.callsheet-filter-label{ min-width:4.5rem; font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--csh-ink-soft); }
.callsheet-chip{ display:inline-flex; align-items:center; min-height:40px; padding:0 .85rem; border:1px solid var(--csh-line); border-radius:999px; color:var(--csh-ink); text-decoration:none; font-size:var(--wp--preset--font-size--small); }
.callsheet-chip:hover{ border-color:var(--csh-accent); }
.callsheet-chip.is-on{ background:var(--csh-ink); border-color:var(--csh-ink); color:var(--csh-surface); }
:root{ --callsheet-mono: var(--wp--preset--font-family--jetbrains-mono, ui-monospace, SFMono-Regular, Menlo, monospace); }
code, pre, .wp-block-code{ font-family:var(--callsheet-mono); }
.wp-block-code{ background:color-mix(in srgb, var(--csh-accent) 7%, #121417); color:#E6EAEE; border:1px solid var(--csh-line); border-radius:var(--callsheet-r); padding:1rem 1.1rem; overflow-x:auto; font-size:.86rem; line-height:1.6; }
.wp-block-code code{ background:none; color:inherit; padding:0; }
:not(pre) > code{ background:var(--callsheet-card); padding:.1em .35em; border-radius:4px; font-size:.9em; }
.callsheet-bars{ display:inline-flex; gap:3px; margin-right:.35rem; vertical-align:-1px; }
.callsheet-bars i{ width:7px; height:12px; border-radius:2px; background:var(--csh-line); }
.callsheet-l1 i:nth-child(-n+1), .callsheet-l2 i:nth-child(-n+2), .callsheet-l3 i:nth-child(-n+3){ background:var(--csh-accent); }
.callsheet-level{ font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); color:var(--csh-ink-soft); margin:0; }
.callsheet-hero{ padding-block:var(--wp--preset--spacing--60) var(--wp--preset--spacing--50); border-bottom:1px solid var(--csh-line); }
.callsheet-hero h1{ font-size:var(--wp--preset--font-size--display); max-width:18ch; margin:.3em 0 .3em; }
.callsheet-track{ display:flex; gap:4px; margin:1rem 0 0; }
.callsheet-track span{ flex:1; height:6px; border-radius:3px; background:color-mix(in srgb, var(--csh-accent) 40%, var(--csh-surface)); }
.callsheet-card .callsheet-meta{ margin-top:.6rem; }
/* Guide */
.callsheet-cols{ gap:var(--wp--preset--spacing--60) !important; margin-top:var(--wp--preset--spacing--40); }
.callsheet-main{ min-width:0; }
.callsheet-main > *{ max-width:44rem; }
@media (max-width:781px){ .callsheet-aside{ display:none; } }
@media (min-width:782px){ .callsheet-aside{ position:sticky; top:var(--wp--preset--spacing--40); align-self:flex-start; } }
.callsheet-toc{ font-family:var(--callsheet-ui); font-size:.92rem; }
.callsheet-toc ol{ list-style:none; padding:0; margin:.6rem 0 0; border-left:2px solid var(--csh-line); }
.callsheet-toc li{ padding:.35rem 0 .35rem .9rem; margin-left:-2px; border-left:2px solid transparent; }
.callsheet-toc li:hover{ border-color:var(--csh-accent); }
.callsheet-toc a{ color:var(--csh-ink-soft); text-decoration:none; }
.callsheet-toc a:hover{ color:var(--csh-accent-ink); }
.callsheet-position{ font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); color:var(--csh-ink-soft); margin:0 0 .6rem; }
.callsheet-tested{ gap:.4rem 1rem; padding:.6rem .9rem; border:1px dashed var(--csh-line); border-radius:var(--callsheet-r); font-family:var(--callsheet-ui); font-size:var(--wp--preset--font-size--small); color:var(--csh-ink-soft); margin-block:var(--wp--preset--spacing--40); }
.callsheet-tested > *{ margin:0; }
.callsheet-tested strong{ color:var(--csh-ink); }
.callsheet-before{ gap:var(--wp--preset--spacing--30); padding:var(--wp--preset--spacing--40); border:1px solid var(--csh-line); border-radius:var(--callsheet-r); background:var(--callsheet-card); margin-block:var(--wp--preset--spacing--40); }
.callsheet-before h3{ font-size:1rem; margin:0 0 .3rem; }
.callsheet-before p{ margin:0; font-size:.95rem; }
.callsheet-body{ counter-reset:callsheet-step; }
.callsheet-step{ counter-increment:callsheet-step; position:relative; padding-left:3.4rem; margin-block:var(--wp--preset--spacing--50); }
.callsheet-step::before{ content:counter(callsheet-step); position:absolute; left:0; top:.15rem; width:2.4rem; height:2.4rem; border-radius:var(--callsheet-r); display:grid; place-items:center; background:var(--csh-accent); color:var(--csh-on-accent); font-family:var(--callsheet-ui); font-weight:700; }
.callsheet-step > h2:first-child{ margin-top:0; font-size:var(--wp--preset--font-size--large); }
.callsheet-callout{ border-left:3px solid var(--csh-accent); background:var(--csh-accent-soft); padding:.8rem 1rem; border-radius:0 var(--callsheet-r) var(--callsheet-r) 0; margin-block:var(--wp--preset--spacing--30); font-size:.95rem; }
.callsheet-callout > *{ margin:0; }
.callsheet-pager{ display:grid; grid-template-columns:1fr 1fr; gap:var(--wp--preset--spacing--30); margin-top:var(--wp--preset--spacing--60); }
.callsheet-pager a{ display:block; padding:var(--wp--preset--spacing--30); border:1px solid var(--csh-line); border-radius:var(--callsheet-r); color:var(--csh-ink); text-decoration:none; font-family:var(--callsheet-ui); }
.callsheet-pager a:hover{ border-color:var(--csh-accent); }
.callsheet-pager a[rel="next"]{ text-align:right; grid-column:2; }
.callsheet-pager span{ display:block; font-size:.8rem; color:var(--csh-ink-soft); }
/* Path */
.callsheet-pillar-head .csh-breadcrumbs, .callsheet-pillar-head nav[aria-label]{ margin-bottom:var(--wp--preset--spacing--30); }
.callsheet-path-list .callsheet-pillar-item .callsheet-level{ margin-top:.25rem; }
.callsheet-levels{ gap:.5rem; margin-top:var(--wp--preset--spacing--30); }

/* Site logo */
.callsheet-logo{ display:inline-flex; align-items:center; line-height:0; }
.callsheet-logo img{ height:34px; width:auto; }
.callsheet-logo-footer img{ height:30px; }
.callsheet-logo-dark{ display:none; }
@media (prefers-color-scheme: dark){ .callsheet-logo-light{ display:none; } .callsheet-logo-dark{ display:inline; } }
.callsheet-about-photo img{ border-radius:12px; }
.callsheet-featured img{ border-radius:10px; }
.callsheet-toc-inline{ margin:0 0 var(--wp--preset--spacing--50); padding:1rem 1.2rem; border:1px solid var(--csh-line); border-radius:12px; }
.callsheet-toc-inline ol{ columns:2 16rem; column-gap:2rem; }
.callsheet-pillar-meta .callsheet-author a{ color:inherit; }

.callsheet-card, .callsheet-pillar-card{ overflow:hidden; }
.callsheet-card .callsheet-thumb, .callsheet-pillar-card .callsheet-thumb{ margin:calc(-1 * var(--wp--preset--spacing--40)) calc(-1 * var(--wp--preset--spacing--40)) .9rem; }
.callsheet-thumb img{ display:block; width:100%; height:100%; object-fit:cover; }
.callsheet-pillar-image{ margin:0 0 var(--wp--preset--spacing--50); }
.callsheet-pillar-image img{ border-radius:var(--callsheet-r); object-fit:cover; }
