/* Shared category reading and directory controls. Existing data and native details stay intact. */
html:not([data-theme]) body.guide-category{--page-bg:#f5f5f3;--page-panel:#fff;--page-fg:#0a0a0a;--page-muted:#555;--page-line:#ccc;--page-action:#0a0a0a;--page-action-ink:#fff;--cl-accent:#1e6b45}
body.guide-category{text-align:left}
body.guide-category :is(.category-use-note,.typehead,.context-block,.field-notes-bottom){text-align:left;align-items:flex-start}
body.guide-category :is(.typehead h2,.typehead h3,.category-use-note h2,.context-block h2){font:900 clamp(24px,3vw,36px)/1.12 Inter,Arial,sans-serif;text-transform:none;letter-spacing:-.035em;text-align:left}
body.guide-category .typehead span{font:500 13px/1.5 Inter,Arial,sans-serif;letter-spacing:0;text-transform:none}
body.guide-category .category-use-note{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:16px 24px;padding:22px 0;margin:20px 0 30px;max-width:none}
body.guide-category .category-use-note>div{flex:1 1 420px;min-width:0}
body.guide-category .category-use-note :is(h2,p){max-width:68ch;margin-left:0;margin-right:0;text-align:left}
body.guide-category :is(.btn,.source-links a,.field-secondary){min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;font:700 14px/1.4 Inter,Arial,sans-serif;letter-spacing:0;text-transform:none;text-decoration:none;white-space:normal}
body.guide-category :is(.maplegend button,.fchip){min-height:44px;font-family:Inter,Arial,sans-serif;letter-spacing:0;text-transform:none}
body.guide-category #page-guide{margin-top:32px;padding-top:0;border-top:1px solid var(--page-line);scroll-margin-top:96px;text-align:left}
body.guide-category #page-guide>summary{min-height:56px;padding:16px 0;cursor:pointer;list-style-position:inside;font:800 18px/1.4 Inter,Arial,sans-serif;text-transform:none;letter-spacing:0;text-align:left}
body.guide-category #page-guide>summary::marker,body.guide-category .reading-contents>summary::marker{color:var(--cl-accent)}
body.guide-category :is(#page-guide,.creator-tile)>summary:focus-visible,body.guide-category .reading-contents>summary:focus-visible{outline:2px solid var(--cl-accent);outline-offset:4px}
body.guide-category .merged-article{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:44px;margin:16px 0 44px}
body.guide-category #page-guide .article-body{width:100%;max-width:70ch!important;margin:0;text-align:left!important}
body.guide-category #page-guide .article-body :is(p,li,h2,h3){text-align:left!important}
body.guide-category #page-guide .article-body h2{font:900 clamp(26px,2.7vw,36px)/1.15 Inter,Arial,sans-serif;text-transform:none;letter-spacing:-.035em;margin:36px 0 16px;scroll-margin-top:100px}
body.guide-category #page-guide .article-body h3{font:800 22px/1.3 Inter,Arial,sans-serif;text-transform:none;letter-spacing:-.02em}
body.guide-category #page-guide .article-body :is(p,li){font:400 16px/1.8 Inter,Arial,sans-serif}
body.guide-category #page-guide .article-body li b{font:750 16px/1.5 Inter,Arial,sans-serif;letter-spacing:0;text-transform:none}
body.guide-category #page-guide .article-body .cta-row{justify-content:flex-start;text-align:left}
body.guide-category .reading-contents{padding:10px 18px;margin:0 0 28px;text-align:left}
body.guide-category .reading-contents>summary{min-height:44px;padding:10px 0;font:700 15px/1.6 Inter,Arial,sans-serif;cursor:pointer;list-style-position:inside}
body.guide-category .reading-contents a{display:flex;align-items:center;min-height:44px;padding:10px 0;font:500 14px/1.6 Inter,Arial,sans-serif;text-align:left}
body.guide-category #page-guide .article-rail{top:96px;padding:20px;max-height:calc(100svh - 112px);overflow-y:auto;text-align:left}
body.guide-category #page-guide .article-rail h3{font:900 19px/1.3 Inter,Arial,sans-serif;text-transform:none;letter-spacing:-.02em;margin-bottom:12px;text-align:left}
body.guide-category #page-guide .article-rail a{display:flex;align-items:center;min-height:44px;padding:12px 0;font:600 14px/1.5 Inter,Arial,sans-serif;text-transform:none;letter-spacing:0;text-align:left;overflow-wrap:anywhere}
/* Creator summaries are rows; expanded content stays in document flow. */
body.guide-category .creatorwall{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
body.guide-category .creator-tile{aspect-ratio:auto;border-radius:0;overflow:visible}
body.guide-category .creator-tile>summary{position:relative;inset:auto;display:flex;align-items:center;gap:16px;padding:20px;min-height:112px;pointer-events:auto;text-align:left}
body.guide-category .creator-tile>summary:before,body.guide-category .creator-tile>summary:after,body.guide-category .creator-info:before{display:none}
body.guide-category .creator-tile>summary :is(img,.tilelogo){position:static;transform:none;flex:none;width:72px;height:72px;object-fit:contain;opacity:1;mix-blend-mode:normal}
body.guide-category .creator-tile>summary>span{position:static;min-width:0;text-align:left}
body.guide-category .creator-tile>summary b{font:850 18px/1.4 Inter,Arial,sans-serif;letter-spacing:-.02em;text-transform:none;text-align:left;overflow-wrap:anywhere}
body.guide-category .creator-tile>summary small{font:400 13px/1.6 Inter,Arial,sans-serif;letter-spacing:0;text-transform:none;text-align:left}
body.guide-category .creator-info{position:relative;inset:auto;padding:20px;gap:12px;text-align:left;align-items:stretch;overflow:visible}
body.guide-category .creator-info p,body.guide-category .creator-info p+p{display:block;-webkit-line-clamp:unset;overflow:visible;font:400 15px/1.75 Inter,Arial,sans-serif;text-align:left;margin:0}
body.guide-category .creator-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:4px 0}
body.guide-category .creator-meta div{padding:12px;min-width:0}
body.guide-category .creator-meta b,body.guide-category .creator-locs b{font:700 12px/1.5 Inter,Arial,sans-serif;letter-spacing:0;text-transform:none}
body.guide-category .creator-meta span,body.guide-category .creator-locs{display:block;font:400 14px/1.6 Inter,Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;overflow:visible;-webkit-line-clamp:unset}
body.guide-category .creator-close{position:static;align-self:flex-end;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;font:500 24px/1 Inter,Arial,sans-serif;cursor:pointer}
body.guide-category .creator-info .btn{font:700 14px/1.5 Inter,Arial,sans-serif;min-height:44px;padding:12px 18px}
body.guide-category form :is(label,p,small,legend,h2,h3){text-align:center!important}
body.guide-category form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea){min-height:44px;font-family:Inter,Arial,sans-serif;text-align:center}
@media(max-width:900px){body.guide-category .merged-article{grid-template-columns:minmax(0,1fr);gap:28px}body.guide-category #page-guide .article-rail{position:static;max-height:none;overflow:visible}}
@media(max-width:640px){body.guide-category .creatorwall{grid-template-columns:minmax(0,1fr)}body.guide-category .creator-tile>summary{padding:18px;gap:14px}body.guide-category .creator-tile>summary :is(img,.tilelogo){width:58px;height:58px}body.guide-category .creator-info{padding:18px}body.guide-category #page-guide{scroll-margin-top:92px}body.guide-category .category-use-note{align-items:stretch;gap:12px;margin:12px 0 24px}body.guide-category .category-use-note>.btn{flex:1 1 160px}body.guide-category .category-use-note>div{flex-basis:100%}body.guide-category .creator-meta{grid-template-columns:minmax(0,1fr)}body.guide-category form .two{grid-template-columns:minmax(0,1fr)}body.guide-category .teamfilters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.guide-category .teamfilters input{grid-column:1/-1}body.guide-category .article-layout{grid-template-columns:minmax(0,1fr)}}
/* Native disclosure cues remain usable without JavaScript. */
body.guide-category .creator-tile>summary>span{flex:1}
body.guide-category .creator-tile>summary::after{display:block;position:static;inset:auto;flex:none;width:9px;height:9px;margin-left:auto;background:none;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);pointer-events:none}
body.guide-category .creator-tile[open]>summary::after{transform:rotate(225deg)}
body.guide-category .creator-close{display:none}
html.theme-ready body.guide-category .creator-close{display:grid}
body.guide-category .merged-article:not(:has(>.article-rail)){grid-template-columns:minmax(0,1fr)}
/* Some categories embed search-led guides rather than .article-body wrappers. */
body.guide-category #page-guide :is(h2,h3):not(form *){font-family:Inter,Arial,sans-serif;font-weight:900;letter-spacing:-.035em;text-transform:none;text-align:left!important}
body.guide-category #page-guide :is(p,li):not(form *){text-align:left!important}
body.guide-category :is(.creator-tile,.teamcard,.field-card,.directory-anchor){scroll-margin-top:100px}
/* Published directory headers keep their existing copy and compact layout. */
html.theme-ready body.guide-category .chero,html.theme-ready body.guide-category .chero :is(.wrap,h1,p,.kicker,.crumb){text-align:left!important}
html.theme-ready body.guide-category .chero h1,html.theme-ready body.guide-category .chero h1 em{font:900 clamp(40px,5.5vw,68px)/1.05 Inter,Arial,sans-serif!important;letter-spacing:-.045em!important;text-transform:none!important;-webkit-text-stroke:0!important;color:var(--page-fg)!important;margin-left:0!important;margin-right:0!important}
html.theme-ready body.guide-category .chero p{max-width:68ch;margin-left:0!important;margin-right:0!important;color:var(--page-muted)!important}
html.theme-ready body.guide-category .chero :is(.kicker,.crumb){color:var(--cl-accent,var(--page-fg))!important}
html.theme-ready body.guide-category .chero :is(.cta-row,.hero-links){justify-content:flex-start!important}
