/* OSOQ Cartoon taxonomy navigation — independent shared CSS */
.tax-topic-nav{padding:4px 0 15px;font:12px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#26352f}
.tax-nav-title{padding:13px 13px 8px;color:#898c92;font-size:10px;letter-spacing:1.15px;font-weight:700}
.tax-branch{width:100%}
.tax-branch-row{display:flex;align-items:center;gap:3px;min-height:39px;padding:1px 2px;border-radius:8px}
.tax-branch-row:hover{background:#f6f7f6}
.tax-toggle{display:grid;place-items:center;flex:0 0 24px;width:24px;height:29px;padding:0;color:#8b9296;border:0;border-radius:6px;background:transparent}
.tax-toggle:hover{background:#ecefed;color:#465b50}
.tax-toggle svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}
.tax-toggle[aria-expanded="true"] svg{transform:rotate(90deg)}
.tax-cat-link{color:#353d3a;display:block;min-width:0;flex:1;padding:7px 3px;font-size:12px;line-height:1.35;text-decoration:none;overflow-wrap:anywhere}
.tax-cat-link:hover{text-decoration:none;color:#196a51}
.tax-branch.current>.tax-branch-row .tax-cat-link{font-weight:700;color:#185b44}
.tax-children{margin:0 0 7px 17px;padding:2px 0 3px 12px;border-left:1px solid #e0e3e1}
.tax-children[hidden]{display:none}
.tax-child-link{display:block;border-radius:7px;text-decoration:none;color:#5c6561;font-size:11.5px;padding:8px 8px;margin:1px 0;line-height:1.36;overflow-wrap:anywhere}
.tax-child-link:hover{text-decoration:none;color:#244f3b;background:#f3f6f4}
.tax-child-link.current{color:#1b634c;background:#edf3ee;font-weight:650}
.tax-compact-trigger{display:none;align-items:center;justify-content:center;width:42px;height:42px;margin:6px auto;border:0;border-radius:10px;background:transparent;color:#858b93}
.tax-compact-trigger:hover{background:#f4f4f4}
.tax-compact-trigger svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linejoin:round}
.app.sidebar-collapsed .tax-nav-title,.app.sidebar-collapsed .tax-branch{display:none}
.app.sidebar-collapsed .tax-compact-trigger{display:flex}
.app .side .tax-topic-nav{width:100%}
.app .side .tax-topic-nav a{text-decoration:none}
.taxonomy-main{width:100%;padding:34px clamp(20px,4.4vw,62px) 96px;max-width:1440px;margin:0 auto}
.tax-breadcrumbs{display:flex;flex-wrap:wrap;gap:7px;align-items:center;color:#84908a;font-size:12px;margin:0 0 19px}
.tax-breadcrumbs a{color:#627c6f;text-decoration:none}
.tax-breadcrumbs a:hover{text-decoration:underline}
.tax-breadcrumbs .sep{color:#a9b1ad}
.tax-head{padding:0 0 26px}
.tax-head h1{font-size:clamp(31px,3.9vw,46px);letter-spacing:-.048em;line-height:1.16;margin:0 0 11px;color:#142524;font-weight:760}
.tax-head p{margin:0;color:#61766e;font-size:15px;line-height:1.65;max-width:800px}
.tax-counter{display:inline-block;border:1px solid #dfe7df;padding:5px 10px;font-size:11px;color:#567262;background:#f4f8f5;border-radius:20px;margin-bottom:15px}
.tax-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;align-items:stretch}
.tax-card{display:block;overflow:hidden;min-width:0;background:#fff;border:1px solid #e3e8e5;border-radius:13px;color:#172b25;text-decoration:none;transition:box-shadow .17s,border-color .17s,transform .17s}
.tax-card:hover{text-decoration:none;border-color:#b7d2c1;box-shadow:0 8px 28px rgba(25,56,36,.08);transform:translateY(-2px)}
.tax-cover{aspect-ratio:3 / 4;min-height:145px;position:relative;overflow:hidden;background:linear-gradient(150deg,#e4f0e8,#f7f5e8);display:flex;align-items:center;justify-content:center}
.tax-card:nth-child(5n+2) .tax-cover{background:linear-gradient(140deg,#e7edf2,#f4f8f5)}
.tax-card:nth-child(5n+3) .tax-cover{background:linear-gradient(145deg,#f8ecdf,#f7f7ed)}
.tax-card:nth-child(5n+4) .tax-cover{background:linear-gradient(140deg,#ebe6f1,#f8f6f0)}
.tax-card:nth-child(5n) .tax-cover{background:linear-gradient(140deg,#e4eeee,#f7f4e8)}
.tax-cover::before{content:"";width:48%;aspect-ratio:1;border:1px solid rgba(63,116,91,.23);border-radius:50%;position:absolute;top:18%;left:20%}
.tax-cover::after{content:"";width:60%;height:28%;border-radius:48% 52% 15% 15%;background:rgba(90,142,109,.095);position:absolute;bottom:-8%;right:-15%;transform:rotate(-24deg)}
.tax-cover svg{position:relative;z-index:1;width:52px;height:52px;stroke:#679480;fill:none;stroke-width:1.15;stroke-linecap:round;stroke-linejoin:round}
.tax-card:nth-child(even) .tax-cover svg{stroke:#738f98}
.tax-cover-index{position:absolute;top:13px;left:15px;color:#6b9081;font-size:11px;letter-spacing:.1em;font-weight:700;z-index:1}
.tax-card-body{padding:15px 17px 19px}
.tax-card-body small{display:block;margin-bottom:6px;color:#82938a;font-size:11px;line-height:1.45}
.tax-card-body strong{display:block;color:#20352b;font-size:16px;line-height:1.35;letter-spacing:-.012em;font-weight:660;overflow-wrap:anywhere}
.tax-card-foot{margin-top:13px;color:#658477;font-size:12px}
.tax-topic-nav .tax-link-count{display:none}
.tax-panel{border:1px solid #e2eae4;background:#fafcfb;border-radius:15px;padding:24px 26px;color:#476055}
.tax-panel h2{margin:4px 0 11px;font-size:24px;line-height:1.25;letter-spacing:-.035em;color:#1b3d30}
.tax-panel p{font-size:15px;line-height:1.8;margin:0}
.tax-chip{display:inline-flex;align-items:center;background:#eff6f0;border:1px solid #dce8dc;border-radius:25px;color:#447b5a;padding:5px 11px;font-size:11px;font-weight:650}
.tax-topic-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 28px}
.tax-topic-tabs a{display:inline-flex;align-items:center;justify-content:center;border:1px solid #dce2dd;background:#fff;border-radius:9px;color:#2d3930;padding:8px 12px;text-decoration:none;font-size:12px;font-weight:500;line-height:1.2;min-height:35px}
.tax-topic-tabs a:hover{background:#f1f6f2;text-decoration:none}
.tax-topic-tabs a.active{background:#e7f1e9;border-color:#bad9c3;color:#205a40;font-weight:700}
.tax-guidance{margin:18px 0 0;color:#71877a;font-size:13px;line-height:1.8}
.tax-related{padding-top:22px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tax-related a{font-size:13px;color:#2c755a;text-decoration:none}
.tax-related a:hover{text-decoration:underline}
body:has(.taxonomy-page) .tocbutton{display:none!important}
@media(max-width:1080px){.tax-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .app.sidebar-collapsed .tax-branch{display:block}
 .app.sidebar-collapsed .tax-nav-title{display:block}
 .app.sidebar-collapsed .tax-compact-trigger{display:none}
 .app .side .tax-topic-nav{padding-bottom:24px}
 .taxonomy-main{padding:24px 19px 80px}
 .tax-grid{gap:12px}
 .tax-card-body{padding:12px 13px 15px}
 .tax-card-body strong{font-size:14px}
 .tax-topic-tabs{overflow-x:auto;flex-wrap:nowrap;white-space:nowrap;scrollbar-width:thin;padding-bottom:3px}
 .tax-topic-tabs a{flex:none}
}
@media(max-width:490px){.tax-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.tax-cover{min-height:135px}.tax-cover svg{width:40px;height:40px}.tax-card-body small{font-size:10px}.tax-card-body strong{font-size:13px}.tax-panel{padding:20px}.tax-head h1{font-size:31px}}
@media(max-width:340px){.tax-grid{grid-template-columns:1fr}.tax-cover{aspect-ratio:4 / 3}}
@media(prefers-reduced-motion:reduce){.tax-card,.tax-toggle svg{transition:none}}


/* Categories replaces the standalone CONTENT TOPICS heading. */
.app .side .tax-topic-nav{margin-top:20px;padding-top:0}
.tax-categories-head{width:100%;min-height:42px;display:flex;align-items:center;gap:17px;text-align:left}
.tax-categories-head svg{width:19px;height:19px;flex:0 0 19px;margin-right:2px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.tax-categories-head span{font-size:12px;white-space:nowrap}
.tax-categories-head[aria-expanded="true"]{color:#111}
.tax-category-list{padding-top:4px}
.tax-category-list[hidden]{display:none!important}
.app.sidebar-collapsed .tax-category-list{display:none}
@media(max-width:760px){
 .app.sidebar-collapsed .tax-category-list:not([hidden]){display:block}
 .app.sidebar-collapsed .tax-categories-head{justify-content:flex-start;padding:0 14px}
 .app.sidebar-collapsed .tax-categories-head span{display:inline}
}
