/* W577 · ST locked layout. Scoped to Allele Frequency only. */
#st334Content:has(#stCatBCS){width:86.5%;max-width:1120px;margin-left:auto;margin-right:auto;padding-left:0;padding-right:0}
#st334Content:has(#stCatBCS)>h1{font:700 32px/1.25 Arial,Helvetica,sans-serif;letter-spacing:-.8px;color:#09094b;margin:0 0 4px}
#stCatBCS{--bc-card:#fff;--bc-field:#fff;--bc-ink:#09094b;--bc-muted:#48618c;--bc-line:#cbdcf0;--bc-soft:#edf6ff;--bc-mint:#e3fcf0;--bc-green:#003d25;--bc-blue:#0865ff;--bc-warn:#fff5de;--bc-warnink:#8c5009;background:#fff;color:var(--bc-ink);padding:0;font:14px/1.5 Arial,Helvetica,sans-serif}
#stCatBCS *{box-sizing:border-box}#stCatBCS [hidden]{display:none!important}
#stCatBCS :is(h2,h3,p,figure){margin:0}#stCatBCS h2{font:700 18px/1.3 Arial;color:var(--bc-ink);letter-spacing:-.35px;margin-bottom:10px}#stCatBCS h3{font:700 15px/1.4 Arial;color:var(--bc-ink);margin-bottom:8px}
#stCatBCS a{color:var(--bc-blue)}#stCatBCS :is(button,input,select,textarea){font:inherit;color:var(--bc-ink)}
#stCatBCS :is(input,select,textarea){min-width:0;max-width:100%;padding:7px 9px;background:var(--bc-field);border:1px solid #becfe6;border-radius:4px}
#stCatBCS input[type=number]{appearance:auto;-moz-appearance:auto;width:100%;height:36px;padding-right:7px}#stCatBCS input[type=number]::-webkit-inner-spin-button{appearance:auto;opacity:1}
#stCatBCS input[type=checkbox]{accent-color:var(--bc-blue);width:17px;height:17px;padding:0;flex-shrink:0}
#stCatBCS button{cursor:pointer;border:1px solid var(--bc-line);border-radius:4px;padding:8px 10px;background:var(--bc-card);color:var(--bc-ink)}#stCatBCS button:disabled{opacity:.55;cursor:not-allowed}
#stCatBCS :is(button,input,select,summary,a,textarea):focus-visible{outline:3px solid #29a2e7;outline-offset:3px}
#stCatBCS .bc-intro{font:400 18px/1.45 Arial;color:#09094b;margin:2px 0 15px}
#stCatBCS .bc-ref-notice{display:flex;gap:18px;align-items:center;justify-content:space-between;padding:14px 18px;margin:0 0 14px;background:linear-gradient(110deg,#eef8ff,#e8f3ff);border:1px solid #c6dfff;border-radius:4px}
#stCatBCS .bc-ref-notice h2{font-size:16px;margin:0 0 3px}#stCatBCS .bc-ref-notice p{font:12px/1.5 Arial}#stCatBCS .bc-ref-notice a{font:12px/1.5 Arial}
#stCatBCS .bc-ref-seal{display:grid;grid-template-columns:36px 1fr;gap:2px 12px;align-items:center;border-left:1px solid #b4cbe6;padding-left:24px;min-width:235px}#stCatBCS .bc-ref-seal svg{width:34px;height:44px;grid-row:1/3}#stCatBCS .bc-ref-seal strong{font:400 10px/1.5 Arial}#stCatBCS .bc-ref-seal small{font:9px/1.4 Arial;color:var(--bc-muted)}
#stCatBCS .bc-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#stCatBCS .bc-presets button{position:relative;display:flex;align-items:center;gap:10px;min-width:0;text-align:left;height:114px;padding:10px;border:1px solid var(--bc-line);background:var(--bc-card)}
#stCatBCS .bc-presets button[aria-pressed=true]{border:2px solid #0865ff;background:#edf7ff;padding:9px}
#stCatBCS .bc-card-image{width:120px;height:90px;object-fit:contain;flex-shrink:0;display:block;background:transparent}
#stCatBCS .bc-presets button>span:last-child{flex:1;min-width:0;padding-right:5px}#stCatBCS .bc-presets b{font:700 14px/1.3 Arial;display:block;margin-bottom:4px}#stCatBCS .bc-presets small{font:12px/1.4 Arial;color:var(--bc-muted);display:block}
#stCatBCS .bc-radio{position:absolute;right:7px;top:7px;width:12px;height:12px;border:1px solid #8c9db7;border-radius:50%}#stCatBCS [aria-pressed=true] .bc-radio{border-color:#0865ff;background:#0865ff;box-shadow:inset 0 0 0 2px var(--bc-card)}
#stCatBCS .bc-assumption{font:11px/1.5 Arial;color:var(--bc-muted);margin:7px 0 13px}
#stCatBCS .bc-main{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:16px;align-items:stretch}
#stCatBCS .bc-panel{background:var(--bc-card);border:1px solid var(--bc-line);border-radius:4px;padding:15px;min-width:0}
#stCatBCS .bc-input-tools{display:flex;justify-content:flex-end;margin-bottom:5px}#stCatBCS .bc-input-tools button{font:12px Arial;padding:4px 8px;color:var(--bc-blue)}
#stCatBCS .bc-field{margin-top:15px}#stCatBCS .bc-inline{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);gap:10px;align-items:center}#stCatBCS label{font-size:13px;display:block}#stCatBCS .bc-unit{display:flex;align-items:center;gap:7px;min-width:0}#stCatBCS .bc-unit input{width:100%;flex:1;min-width:0}#stCatBCS .bc-unit span{font-size:10px;color:var(--bc-muted);flex:0 0 48px}#stCatBCS select{font-size:12px;width:100%;height:35px;padding:5px}
#stCatBCS .bc-popsummary{margin-top:10px;padding:7px 8px;border-radius:4px;background:var(--bc-soft);color:var(--bc-blue);text-align:center;font:11px/1.5 Arial}
#stCatBCS .bc-statstitle{margin:18px 0 10px;font-size:17px}#stCatBCS .bc-check{display:flex;gap:8px;align-items:center}#stCatBCS .bc-indenthelp{font:11px/1.5 Arial;color:var(--bc-muted);margin:4px 0 0;text-align:right}
#stCatBCS .bc-examples{margin-top:16px}#stCatBCS .bc-examples>label{font-weight:700;margin-bottom:6px}#stCatBCS .bc-examples>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#stCatBCS .bc-examples button{font:11px/1.35 Arial;padding:8px 4px;min-width:0}#stCatBCS .bc-examples small{display:block;font:10px/1.4 Arial;margin-top:3px;color:var(--bc-muted)}#stCatBCS .bc-examples [aria-pressed=true]{background:var(--bc-soft);border-color:var(--bc-blue)}
#stCatBCS .bc-info,#stCatBCS .bc-inputfeedback{padding:9px 11px;background:var(--bc-soft);border:1px solid var(--bc-line);border-radius:4px;margin-top:12px;font-size:12px}#stCatBCS .bc-info strong{color:var(--bc-blue)}#stCatBCS .bc-info p{font:11px/1.5 Arial;margin-top:3px}#stCatBCS .bc-inputfeedback{margin:0 0 10px;color:var(--bc-blue)}#stCatBCS .bc-error{margin-top:10px;padding:8px;background:var(--bc-warn);color:var(--bc-warnink);border-radius:4px}
#stCatBCS .bc-allele-model{position:relative;border:1px solid var(--bc-line);border-radius:4px;margin:15px 0 0;padding:12px 12px 39px;background:var(--bc-card)}
#stCatBCS .bc-model-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;text-align:center}#stCatBCS .bc-model-groups b{font-size:13px;display:block;margin-bottom:7px}#stCatBCS .bc-model-groups>div>img{width:100%;height:145px;object-fit:contain;display:block}#stCatBCS .bc-teal-pair{height:145px;display:flex;justify-content:center;gap:7px}#stCatBCS .bc-teal-pair img{width:40%;height:100%;object-fit:contain}
#stCatBCS .bc-model-groups span{display:flex;justify-content:space-around;color:#087bdc;font-weight:700;margin-top:7px}#stCatBCS .bc-model-groups i{font-style:normal}#stCatBCS .bc-model-groups>div:nth-child(2) i:last-child,#stCatBCS .bc-model-groups>div:nth-child(3) i{color:#078c89}#stCatBCS figcaption{font:10px/1.5 Arial;color:var(--bc-muted);margin-top:12px}#stCatBCS .bc-brand{position:absolute;right:12px;bottom:12px;width:90px;height:auto;opacity:.4;pointer-events:none}
#stCatBCS .bc-heading{display:flex;gap:8px;justify-content:space-between;align-items:flex-start;margin-bottom:12px}#stCatBCS .bc-heading h2{font-size:18px;margin-bottom:0}#stCatBCS .bc-heading>span{font:10px/1.4 Arial;white-space:nowrap;padding:3px 6px;background:var(--bc-soft);color:var(--bc-blue);border:1px solid var(--bc-line);border-radius:10px}
#stCatBCS .bc-heroes{display:grid;grid-template-columns:1fr 1fr;gap:10px}#stCatBCS .bc-hero{background:linear-gradient(110deg,#edfff8,#dffbef);border:1px solid #9fe6c7;border-radius:4px;padding:12px 6px;text-align:center;display:flex;flex-direction:column;color:var(--bc-green)}#stCatBCS .bc-hero strong{font:700 clamp(27px,3.5vw,45px)/1.2 Arial;color:#003d25;letter-spacing:-1px;overflow-wrap:anywhere;margin:3px 0}#stCatBCS .bc-hero b:first-child{font-size:14px}#stCatBCS .bc-hero b:last-child{font-size:17px}#stCatBCS .bc-alleleline{font:11px/1.5 Arial;color:var(--bc-muted);text-align:center;margin-top:7px}
#stCatBCS .bc-solution{padding:0 12px;margin:10px 0;border:1px solid var(--bc-line);border-radius:4px;background:var(--bc-card)}#stCatBCS .bc-solution>summary{display:flex;align-items:center;gap:10px;list-style:none;padding:11px 0;font:600 13px Arial;color:var(--bc-muted);cursor:pointer}#stCatBCS .bc-solution>summary::-webkit-details-marker{display:none}
#stCatBCS .bc-plus{width:15px;height:15px;position:relative;flex-shrink:0;display:inline-block}#stCatBCS .bc-plus:before,#stCatBCS .bc-plus:after{content:'';position:absolute;background:#12b9c9}#stCatBCS .bc-plus:before{height:3px;top:6px;left:0;right:0}#stCatBCS .bc-plus:after{width:3px;left:6px;top:0;bottom:0}#stCatBCS details[open]>summary>.bc-plus:after{display:none}#stCatBCS .bc-step{border-top:1px solid var(--bc-line);padding:10px 0;font-size:12px;overflow-wrap:anywhere}#stCatBCS .bc-step h3{font:700 13px/1.4 Arial;margin:0 0 6px}
#stCatBCS .bc-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px}#stCatBCS .bc-metrics>div{border:1px solid var(--bc-line);border-radius:4px;padding:8px;min-width:0}#stCatBCS .bc-metrics b{font-size:11px;display:block}#stCatBCS .bc-metrics strong{font:700 25px/1.3 Arial;display:block;margin:3px 0;letter-spacing:-.5px;overflow-wrap:anywhere}#stCatBCS .bc-metrics small{font:10px/1.4 Arial;display:block;color:var(--bc-muted)}
#stCatBCS .bc-status{padding:8px 10px;margin-top:10px;background:var(--bc-warn);border:1px solid #f2c979;border-radius:4px;color:var(--bc-warnink)}#stCatBCS .bc-status strong{font-size:13px;display:block}#stCatBCS .bc-status small{font:10px/1.4 Arial;display:block}#stCatBCS .bc-status[data-state=none]{background:var(--bc-soft);color:var(--bc-muted);border-color:var(--bc-line)}#stCatBCS .bc-status[data-state=nonreject]{background:var(--bc-mint);color:var(--bc-green);border-color:#9fe6c7}
#stCatBCS h2.bc-visualtitle{font-size:16px;margin:15px 0 7px}#stCatBCS .bc-tablewrap{overflow-x:auto;border:1px solid var(--bc-line);border-radius:4px}#stCatBCS .bc-table{width:100%;border-collapse:collapse;font-size:11px;table-layout:fixed}#stCatBCS .bc-table :is(th,td){border:1px solid var(--bc-line);padding:6px 3px;text-align:center;overflow-wrap:anywhere}#stCatBCS .bc-table th{font-weight:400}#stCatBCS .bc-table thead{background:var(--bc-soft)}#stCatBCS .bc-table th:first-child{width:17%}
#stCatBCS .bc-chart{margin-top:14px;color:var(--bc-muted)}#stCatBCS .bc-chart svg{display:block;width:100%;height:auto;overflow:visible;font-family:Arial}#stCatBCS .bc-chart .bc-gridline{stroke:var(--bc-line);stroke-width:1}#stCatBCS .bc-chart text{fill:var(--bc-ink);font:11px Arial}#stCatBCS .bc-chart .bc-observed{fill:#0865e8}#stCatBCS .bc-chart .bc-expected{fill:#08a7a4}#stCatBCS .bc-chart rect:focus{outline:2px solid var(--bc-ink)}#stCatBCS .bc-chart-legend{display:flex;justify-content:center;gap:18px;font-size:11px;margin-top:4px}#stCatBCS .bc-chart-legend i{display:inline-block;width:11px;height:11px;margin-right:4px;background:#0865e8;vertical-align:middle}#stCatBCS .bc-chart-legend span:last-child i{background:#08a7a4}
#stCatBCS .bc-diversity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--bc-line);border-radius:4px;background:var(--bc-soft);padding:8px 2px;text-align:center;margin-top:12px;font-size:10px}#stCatBCS .bc-diversity>div+div{border-left:1px solid var(--bc-line)}#stCatBCS .bc-diversity strong{display:block;font:700 18px/1.4 Arial;overflow-wrap:anywhere}#stCatBCS .bc-help{font:11px/1.5 Arial;color:var(--bc-muted);margin-top:5px}#stCatBCS #bcDiversityNote{font-size:10px}
#stCatBCS .bc-distribution{margin-top:10px}#stCatBCS .bc-distribution>summary{font:12px/1.5 Arial;color:var(--bc-muted);cursor:pointer}#stCatBCS .bc-distribution b{display:block;font-size:11px;margin-top:7px}#stCatBCS .bc-stack{display:flex;width:100%;border-radius:3px;overflow:hidden;min-height:23px;background:var(--bc-soft)}#stCatBCS .bc-stack span{display:block;font:10px/23px Arial;text-align:center;overflow:hidden;white-space:nowrap;color:#fff;background:#1767de}#stCatBCS .bc-stack span:nth-child(2){background:#087d77}#stCatBCS .bc-stack span:nth-child(3){background:#7651af}
#stCatBCS .bc-exports{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:14px 0 5px}#stCatBCS .bc-exports button{width:100%;border:1px solid #0865ff;color:var(--bc-blue);font:13px Arial;min-height:36px;margin:0;background:var(--bc-card)}#stCatBCS .bc-export-hint,#stCatBCS #bcCopyStatus{text-align:center;font:11px/1.5 Arial;color:var(--bc-muted);margin:4px 0}#stCatBCS textarea{width:100%;min-height:160px;resize:vertical}
#stCatBCS .bc-warning{margin:10px 0 14px;background:var(--bc-warn);border:1px solid #f2c979;border-radius:4px;color:var(--bc-warnink);padding:8px 12px;font-size:12px}#stCatBCS .bc-warning p{font-size:11px}
#stCatBCS .bc-education{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0}#stCatBCS .bc-education h2{font-size:17px}#stCatBCS .bc-math{border:1px solid var(--bc-line);border-radius:4px;padding:9px;font-size:16px}#stCatBCS .bc-math math{font-size:17px;overflow-x:auto;max-width:100%;margin:4px 0}#stCatBCS .bc-math p{font:11px/1.5 Arial;margin-top:10px}#stCatBCS #bcExample{white-space:pre-line;font:12px/1.6 Arial}#stCatBCS .bc-education .bc-info{margin:10px 0 0}
#stCatBCS .bc-faq-item{border:1px solid var(--bc-line);border-radius:3px;margin-bottom:5px}#stCatBCS .bc-faq-item>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:6px 9px;font:12px/1.5 Arial;color:var(--bc-ink)}#stCatBCS .bc-faq-item>summary::-webkit-details-marker{display:none}#stCatBCS .bc-faq-item p{padding:7px 10px;font:12px/1.6 Arial;color:var(--bc-muted)}#stCatBCS .bc-faq-more>summary{cursor:pointer;text-align:center;border:1px solid var(--bc-line);border-radius:3px;padding:6px;color:var(--bc-blue);font:12px Arial;list-style:none}#stCatBCS .bc-faq-more>summary::-webkit-details-marker{display:none}#stCatBCS .bc-faq-more>div{padding-top:8px}#stCatBCS .bc-more-open{display:none}#stCatBCS .bc-faq-more[open]>summary .bc-more-open{display:inline}#stCatBCS .bc-faq-more[open]>summary .bc-more-closed{display:none}
#stCatBCS .bc-sourcespanel{margin-top:15px;border:0;padding:0}#stCatBCS .bc-sourcespanel h2{font-size:17px}#stCatBCS .bc-sources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#stCatBCS .bc-sources a{display:flex;gap:9px;align-items:center;padding:9px;border:1px solid var(--bc-line);border-radius:4px;text-decoration:none;font-size:11px;min-width:0}#stCatBCS .bc-source-logo{display:flex;align-items:center;justify-content:center;width:80px;height:40px;flex:0 0 80px;background:#fff;border-radius:3px;padding:3px}#stCatBCS .bc-source-logo img{width:100%;height:100%;object-fit:contain}#stCatBCS .bc-sources small{display:block;font:10px/1.5 Arial;color:var(--bc-muted);margin-top:3px}
#stCatBCS .bc-related{margin-top:15px}#stCatBCS .bc-related>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#stCatBCS .bc-related a{display:flex;gap:10px;align-items:center;min-width:0;border:1px solid var(--bc-line);border-radius:4px;padding:9px;text-decoration:none;background:var(--bc-card)}#stCatBCS .bc-related img{width:70px;height:55px;object-fit:contain}#stCatBCS .bc-related b{font:700 12px/1.4 Arial;display:block}#stCatBCS .bc-related small{font:10px/1.4 Arial;display:block;color:var(--bc-muted);margin-top:3px}

:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS{--bc-card:#142136;--bc-field:#142136;--bc-ink:#e3ecff;--bc-muted:#b5c5dc;--bc-line:#374c68;--bc-soft:#1c304b;--bc-green:#c4f8d5;--bc-mint:#164a3d;--bc-blue:#9fc3ff;--bc-warn:#382d17;--bc-warnink:#ffd795;background:#142136;color:#e3ecff}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #st334Content:has(#stCatBCS)>h1,:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS .bc-intro{color:#e3ecff}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS .bc-ref-notice{background:#1b334d;border-color:#374c68}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS :is(input,select,textarea){color-scheme:dark;border-color:#526a85}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS .bc-presets [aria-pressed=true]{background:#214461;border-color:#83b8ff}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS .bc-hero{background:linear-gradient(110deg,#143c36,#164a3d);border-color:#2f846b;color:#c4f8d5}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS .bc-hero strong{color:#c4f8d5}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS .bc-brand{filter:brightness(0) invert(1)}
@media(max-width:1050px){#stCatBCS .bc-presets button{gap:6px}#stCatBCS .bc-card-image{width:96px}#stCatBCS .bc-presets b{font-size:13px}#stCatBCS .bc-presets small{font-size:11px}#stCatBCS .bc-source-logo{width:60px;flex-basis:60px}}
@media(max-width:850px){#st334Content:has(#stCatBCS){width:calc(100% - 28px)}#stCatBCS .bc-presets{gap:8px}#stCatBCS .bc-main{grid-template-columns:1fr}#stCatBCS .bc-card-image{width:90px}#stCatBCS .bc-presets button{padding:7px}#stCatBCS .bc-presets button[aria-pressed=true]{padding:6px}#stCatBCS .bc-hero strong{font-size:40px}#stCatBCS .bc-related>div{grid-template-columns:1fr}}
@media(max-width:700px){#st334Content:has(#stCatBCS)>h1{font-size:27px}#stCatBCS .bc-presets{grid-template-columns:1fr}#stCatBCS .bc-presets button{padding:10px;gap:16px;height:114px}#stCatBCS .bc-presets button[aria-pressed=true]{padding:9px}#stCatBCS .bc-card-image{width:120px}#stCatBCS .bc-presets b{font-size:15px}#stCatBCS .bc-education{grid-template-columns:1fr}#stCatBCS .bc-ref-notice{padding:12px;align-items:flex-start}#stCatBCS .bc-ref-seal{padding-left:12px;min-width:0;grid-template-columns:25px 1fr;gap:7px}#stCatBCS .bc-ref-seal svg{width:25px}#stCatBCS .bc-ref-seal small{display:none}#stCatBCS .bc-ref-seal strong{font-size:8px}#stCatBCS .bc-sources{grid-template-columns:1fr}#stCatBCS .bc-source-logo{width:85px;flex-basis:85px}#stCatBCS .bc-brand{width:78px;right:10px;bottom:10px}}
@media(max-width:600px){#stCatBCS .bc-intro{font-size:15px}#stCatBCS .bc-panel{padding:12px}#stCatBCS .bc-heading{flex-wrap:wrap}#stCatBCS .bc-hero b:first-child{font-size:12px}#stCatBCS .bc-hero strong{font-size:32px}#stCatBCS .bc-metrics{gap:5px}#stCatBCS .bc-metrics>div{padding:7px 4px}#stCatBCS .bc-metrics strong{font-size:20px}#stCatBCS .bc-metrics b{font-size:10px}#stCatBCS .bc-inline{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px}#stCatBCS .bc-inline label{font-size:12px}#stCatBCS .bc-unit{gap:4px}#stCatBCS .bc-unit span{flex-basis:35px;font-size:9px}#stCatBCS .bc-ref-notice p{font-size:11px}#stCatBCS .bc-ref-notice h2{font-size:14px}#stCatBCS .bc-ref-seal{display:none}#stCatBCS .bc-model-groups{gap:8px}#stCatBCS .bc-model-groups>div>img,#stCatBCS .bc-teal-pair{height:120px}#stCatBCS .bc-diversity strong{font-size:16px}}
@media(prefers-reduced-motion:reduce){#stCatBCS *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* W577: target-only feline interface; shared lower sections remain untouched. */
#stCatBCS .bc-subtitle{margin:0 0 14px;color:var(--bc-ink)}
#stCatBCS .bc-subtitle b{display:block;font:400 18px/1.45 Arial}
#stCatBCS .bc-subtitle span{font:12px/1.5 Arial;color:var(--bc-muted);display:block}
#stCatBCS .bc-ref-notice{display:block;padding:13px 16px}
#stCatBCS .bc-ref-notice h2{font:700 15px/1.4 Arial;margin:0 0 4px}
#stCatBCS .bc-ref-notice p{font:12px/1.55 Arial;color:var(--bc-muted)}
#stCatBCS .bc-ref-notice>div{font:11px/1.5 Arial;margin-top:8px;color:var(--bc-muted)}
#stCatBCS .bc-ref-notice a{margin-left:15px}
#stCatBCS .bc-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#stCatBCS .bc-presets button{height:114px;padding:8px;gap:8px;flex-direction:row;text-align:left}
#stCatBCS .bc-presets button[aria-pressed=true]{padding:7px}
#stCatBCS .bc-presets img{width:110px;height:90px;object-fit:contain;flex-shrink:0;background:transparent}
#stCatBCS .bc-presets b{font-size:13px}
#stCatBCS .bc-presets small{font-size:11px}
#stCatBCS .bc-preset-note{font:11px/1.5 Arial;color:var(--bc-muted);margin:6px 0 0}
#stCatBCS .bc-assumption{margin:3px 0 13px}
#stCatBCS .bc-main{grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr)}
#stCatBCS .bc-main>.bc-panel{display:flex;flex-direction:column}
#stCatBCS .bc-field{display:grid;grid-template-columns:minmax(100px,.85fr) minmax(0,1.15fr);gap:10px;align-items:center;margin-top:17px}
#stCatBCS .bc-field>label{font:600 12px/1.5 Arial}
#stCatBCS .bc-inputpair{display:grid;grid-template-columns:minmax(0,1fr) 75px;gap:7px;align-items:center;min-width:0}
#stCatBCS .bc-inputpair :is(input,select){width:100%;height:36px}
#stCatBCS .bc-inputpair>span{font-size:12px;color:var(--bc-muted)}
#stCatBCS .bc-toggle{display:grid;grid-template-columns:1fr 1fr;min-width:0;gap:0}
#stCatBCS .bc-toggle button{font:11px/1.5 Arial;padding:8px 3px;min-height:36px}
#stCatBCS .bc-toggle [aria-pressed=true],#stCatBCS .bc-scorebuttons [aria-pressed=true]{background:#0865ff;color:#fff;border-color:#0865ff}
#stCatBCS .bc-scorebuttons{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px;margin-top:14px}
#stCatBCS .bc-scorebuttons button{padding:7px 0;font:12px/1.5 Arial;min-height:33px}
#stCatBCS .bc-advanced{border:1px solid var(--bc-line);border-radius:4px;padding:0 11px;margin-top:17px}
#stCatBCS .bc-advanced>summary{cursor:pointer;padding:10px 0;font:600 12px/1.5 Arial;color:var(--bc-ink)}
#stCatBCS .bc-advanced .bc-field{grid-template-columns:minmax(80px,.75fr) minmax(0,1.25fr);margin-top:10px}
#stCatBCS .bc-advanced>p{margin-bottom:10px}
#stCatBCS .bc-target{margin-top:16px;border:1px solid var(--bc-line);border-radius:4px;padding:12px;background:var(--bc-soft)}
#stCatBCS .bc-target h3{font-size:13px;margin-bottom:9px}
#stCatBCS .bc-target .bc-check{display:flex;align-items:center;gap:7px;font:600 12px/1.5 Arial}
#stCatBCS .bc-muscle .bc-field{margin-bottom:10px}
#stCatBCS .bc-care{margin-top:auto;padding-top:18px}
#stCatBCS .bc-care>img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block;border-radius:4px}
#stCatBCS .bc-care figcaption{font:10px/1.5 Arial;color:var(--bc-muted);margin-top:5px}
#stCatBCS .bc-hero strong{font-size:48px}
#stCatBCS .bc-hero b{font:700 18px/1.4 Arial;color:var(--bc-green)}
#stCatBCS .bc-hero small{font:11px/1.5 Arial;margin-top:6px}
#stCatBCS .bc-metrics>div{text-align:center}
#stCatBCS .bc-metrics strong{font-size:24px;color:var(--bc-green)}
#stCatBCS .bc-differencebar{font:11px/1.5 Arial;color:var(--bc-muted);text-align:center;margin-top:7px}
#stCatBCS .bc-scale{margin:10px 0 0}
#stCatBCS .bc-scale h3{font-size:13px;margin-bottom:6px}
#stCatBCS .bc-scale>div{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px}
#stCatBCS .bc-scale [data-scale]{background:#f4e8cb;color:#5d451d;text-align:center;font:12px/30px Arial;border-radius:4px;border:2px solid transparent}
#stCatBCS .bc-scale [data-scale="4"],#stCatBCS .bc-scale [data-scale="5"]{background:#bfead4;color:#064635}
#stCatBCS .bc-scale [data-scale="6"],#stCatBCS .bc-scale [data-scale="7"]{background:#ffe0a0}
#stCatBCS .bc-scale [data-scale="8"],#stCatBCS .bc-scale [data-scale="9"]{background:#f7c5c5}
#stCatBCS .bc-scale [aria-current=true]{border-color:#0865ff;box-shadow:0 0 0 1px var(--bc-card)}
#stCatBCS .bc-scale>p{display:flex;justify-content:space-between;gap:5px;font:9px/1.5 Arial;color:var(--bc-muted);margin-top:4px}
#stCatBCS .bc-microscopy{position:relative;padding:12px 12px 37px;border:1px solid var(--bc-line);border-radius:4px;margin-top:13px;background:var(--bc-card)}
#stCatBCS .bc-microscopy h2{font-size:16px;margin-bottom:2px}
#stCatBCS .bc-cat-views{display:grid;grid-template-columns:1fr 1.55fr;gap:12px;margin-top:9px;text-align:center}
#stCatBCS .bc-cat-views b{display:block;font:700 10px/1.4 Arial;margin-bottom:5px}
#stCatBCS .bc-cat-views img{display:block;width:100%;height:220px;object-fit:contain;background:transparent}
#stCatBCS .bc-reference{margin-top:12px}
#stCatBCS .bc-reference dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0}
#stCatBCS .bc-reference dl>div{border:1px solid var(--bc-line);border-radius:4px;text-align:center;padding:7px 4px;min-width:0}
#stCatBCS .bc-reference dt{font:700 11px/1.5 Arial}
#stCatBCS .bc-reference dd{font:11px/1.5 Arial;margin:4px 0 0;color:var(--bc-muted)}
#stCatBCS .bc-sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#stCatBCS #bcNoteSummary{margin-top:10px;border:1px solid var(--bc-line);border-radius:4px;padding:9px;font:12px/1.5 Arial}
#stCatBCS #bcNoteSummary summary{cursor:pointer}
#stCatBCS #bcRecordedNotes{white-space:pre-line;margin-top:8px;font-size:11px;color:var(--bc-muted)}
#stCatBCS .bc-formulas{font:13px/1.65 Arial}
#stCatBCS #bcExample{font:13px/1.6 Arial;white-space:pre-line;background:var(--bc-soft);padding:10px;border:1px solid var(--bc-line);border-radius:4px;margin-top:8px}
#stCatBCS .bc-sources{grid-template-columns:1fr 1fr}
#stCatBCS .bc-sources a{font-size:12px}
#stCatBCS .bc-solution math{display:block;text-align:left;font-size:17px;margin:7px 0;max-width:100%;overflow-x:auto}
#stCatBCS .bc-step p{font-size:12px;line-height:1.6}
@media(max-width:1100px){#stCatBCS .bc-presets img{width:85px}#stCatBCS .bc-presets button{gap:6px}#stCatBCS .bc-presets b{font-size:12px}#stCatBCS .bc-presets small{font-size:10px}}
@media(max-width:850px){#stCatBCS .bc-presets{grid-template-columns:1fr 1fr}#stCatBCS .bc-presets img{width:120px}#stCatBCS .bc-main{grid-template-columns:1fr}#stCatBCS .bc-care{max-width:480px;margin:0 auto}#stCatBCS .bc-cat-views img{height:240px}}
@media(max-width:700px){#stCatBCS .bc-presets{grid-template-columns:1fr 1fr}#stCatBCS .bc-presets button{gap:6px;padding:7px}#stCatBCS .bc-presets button[aria-pressed=true]{padding:6px}#stCatBCS .bc-presets img{width:85px}#stCatBCS .bc-presets b{font-size:12px}#stCatBCS .bc-presets small{font-size:10px}#stCatBCS .bc-sources{grid-template-columns:1fr}}
@media(max-width:450px){#stCatBCS .bc-presets{grid-template-columns:1fr}#stCatBCS .bc-presets button{gap:16px}#stCatBCS .bc-presets img{width:120px}#stCatBCS .bc-presets b{font-size:14px}#stCatBCS .bc-presets small{font-size:12px}#stCatBCS .bc-field{grid-template-columns:minmax(95px,.8fr) minmax(0,1.2fr);gap:7px}#stCatBCS .bc-toggle button{font-size:10px}#stCatBCS .bc-inputpair{grid-template-columns:minmax(0,1fr) 60px;gap:5px}#stCatBCS .bc-cat-views img{height:185px}#stCatBCS .bc-exports{gap:8px}#stCatBCS .bc-exports button{font-size:11px}}

/* W578: dog-family full-width score chooser; category color is meaningful here. */
#stCatBCS .bc-scoreheading{font:700 15px/1.4 Arial;margin:18px 0 10px}
#stCatBCS .bc-scorebuttons{margin-top:0;gap:6px}
#stCatBCS .bc-scorebuttons button{font:700 16px/1.4 Arial;min-height:48px;border:2px solid var(--bc-line);border-radius:6px;padding:8px 0}
#stCatBCS .bc-scorelabels{display:flex;justify-content:space-between;gap:6px;font:11px/1.5 Arial;color:var(--bc-muted);margin:7px 0 0}
#stCatBCS .bc-scoredescription{margin-top:12px;padding:12px;border:1px solid var(--bc-line);border-radius:5px;background:var(--bc-soft)}
#stCatBCS .bc-scoredescription h3{font:700 13px/1.5 Arial;margin:0 0 5px}
#stCatBCS .bc-scoredescription p{font:12px/1.6 Arial;color:var(--bc-ink)}
#stCatBCS .bc-scorebuttons :is([data-score="1"],[data-score="2"],[data-score="3"]){background:#fff1ce;color:#805009}
#stCatBCS .bc-scorebuttons :is([data-score="4"],[data-score="5"]){background:#dcf8e9;color:#07533d}
#stCatBCS .bc-scorebuttons :is([data-score="6"],[data-score="7"]){background:#ffe0a3;color:#87500a}
#stCatBCS .bc-scorebuttons :is([data-score="8"],[data-score="9"]){background:#fbd1d1;color:#9c2929}
#stCatBCS .bc-scorebuttons button[aria-pressed=true]{border-color:#0865ff;outline:2px solid #0865ff;outline-offset:1px;box-shadow:inset 0 0 0 1px var(--bc-card)}
#stCatBCS #bcHero[data-category=below]{background:linear-gradient(110deg,#fff4d6,#fff9e9);background-color:#fff4d6;border-color:#edcd87;color:#805009}
#stCatBCS #bcHero[data-category=below] :is(strong,b,small){color:#805009}
#stCatBCS #bcHero[data-category=above]{background:linear-gradient(110deg,#fff0d3,#fff8e9);background-color:#fff0d3;border-color:#edc273;color:#8c4b0a}
#stCatBCS #bcHero[data-category=above] :is(strong,b,small){color:#8c4b0a}
#stCatBCS #bcHero[data-category=marked]{background:linear-gradient(110deg,#ffebeb,#fff4f4);background-color:#ffebeb;border-color:#efb3b3;color:#a32e2e}
#stCatBCS #bcHero[data-category=marked] :is(strong,b,small){color:#a32e2e}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS #bcHero[data-category=below]{background:#3d311b;border-color:#92702e;color:#ffe0a0}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS #bcHero[data-category=below] :is(strong,b,small){color:#ffe0a0}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS #bcHero[data-category=above]{background:#402f1c;border-color:#9b6c2c;color:#ffd49a}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS #bcHero[data-category=above] :is(strong,b,small){color:#ffd49a}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS #bcHero[data-category=marked]{background:#42232c;border-color:#a65b6a;color:#ffd1d7}
:is(html.st-master-dark,html.st-home-dark,html[data-theme=dark],html[data-st-admin-theme=dark],html.dark,body.dark) #stCatBCS #bcHero[data-category=marked] :is(strong,b,small){color:#ffd1d7}
@media(max-width:450px){#stCatBCS .bc-scorebuttons{gap:4px}#stCatBCS .bc-scorebuttons button{font-size:14px;min-height:43px}#stCatBCS .bc-scorelabels{font-size:10px}}
