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

/* W580. Target-only cattle forage budget. Preserved notice and shared footer. */
#stCattle .cr-subtitle{font:400 18px/1.45 Arial;color:var(--cr-ink);margin:2px 0 14px}
#stCattle .cr-presets{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
#stCattle .cr-presets button{height:114px;padding:8px;gap:8px;flex-direction:row;text-align:left}
#stCattle .cr-presets button[aria-pressed=true]{padding:7px}
#stCattle .cr-presets img{width:110px;height:90px;object-fit:contain;flex-shrink:0;background:transparent}
#stCattle .cr-presets b{font-size:13px}#stCattle .cr-presets small{font-size:11px}
#stCattle .cr-assumption{margin:7px 0 0}
#stCattle .cr-preset-status{font:11px/1.5 Arial;color:var(--cr-muted);margin:3px 0 13px}
#stCattle .cr-main{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)}
#stCattle .cr-main>.cr-panel{display:flex;flex-direction:column;min-width:0}
#stCattle .cr-group-title{font:700 13px/1.5 Arial;border-bottom:1px solid var(--cr-line);padding-bottom:5px;margin:17px 0 0}
#stCattle .cr-group-title:first-child{margin-top:0}
#stCattle .cr-field{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr);gap:10px;align-items:center;margin-top:14px}
#stCattle .cr-field label{font:600 12px/1.5 Arial}
#stCattle .cr-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(72px,.94fr);gap:7px;align-items:center;min-width:0}
#stCattle .cr-pair input{width:100%;height:36px}
#stCattle .cr-pair span{font:11px/1.5 Arial;color:var(--cr-muted)}
#stCattle .cr-pair select{width:100%;min-width:0}
#stCattle .cr-fieldhelp{font:10px/1.55 Arial;color:var(--cr-muted);margin:4px 0 0;padding-left:42%}
#stCattle .cr-toggle{display:grid;grid-template-columns:1fr 1fr;gap:0}
#stCattle .cr-toggle button{font:11px/1.5 Arial;padding:7px 4px;min-height:36px}
#stCattle .cr-toggle [aria-pressed=true]{background:#0865ff;color:#fff;border-color:#0865ff}
#stCattle #crHarvestSlider{display:block;width:58%;margin:8px 0 0 auto;accent-color:#0865ff;padding:0;height:17px;border:0;background:transparent}
#stCattle #crError{padding:9px;font:12px/1.5 Arial;background:var(--cr-warn);color:var(--cr-warnink);margin-top:12px;border-radius:4px}
#stCattle .cr-guide-details{border:1px solid var(--cr-line);border-radius:4px;padding:0 10px;margin-top:14px;background:var(--cr-card)}
#stCattle .cr-guide-details>summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;font:600 12px/1.5 Arial;padding:10px 0}
#stCattle .cr-guide-details>summary::-webkit-details-marker{display:none}
#stCattle .cr-guide-details>p{font:11px/1.6 Arial;color:var(--cr-muted);margin-bottom:10px}
#stCattle .cr-photo{position:relative;margin-top:auto;padding-top:16px;overflow:hidden;border-radius:4px}
#stCattle .cr-photo>img:first-child{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:4px}
#stCattle .cr-imagehelp{display:block;font:10px/1.5 Arial;color:var(--cr-muted);margin-top:5px}
#stCattle .cr-hero strong{font-size:46px}
#stCattle .cr-hero b{font:600 12px/1.5 Arial;color:var(--cr-green)}
#stCattle .cr-hero-period{font:12px/1.5 Arial;margin-top:5px}
#stCattle .cr-metrics>div{text-align:center}
#stCattle .cr-metrics strong{font-size:22px;color:var(--cr-green)}
#stCattle .cr-metrics small{font-size:10px}
#stCattle .cr-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#stCattle .cr-main>.cr-panel>h3{font-size:15px;margin:12px 0 6px}
#stCattle .cr-budget{margin:0;border:1px solid var(--cr-line);border-radius:4px;overflow:hidden}
#stCattle .cr-budget>div{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 9px;background:var(--cr-soft);font:12px/1.5 Arial}
#stCattle .cr-budget>div+div{border-top:1px solid var(--cr-line)}
#stCattle .cr-budget dd{margin:0;font-weight:700;text-align:right;overflow-wrap:anywhere;min-width:0}
#stCattle .cr-budget dt{min-width:0}
#stCattle .cr-budget-plot{margin-top:13px}
#stCattle .cr-budget-plot figcaption{font:700 14px/1.5 Arial;margin:0 0 9px;color:var(--cr-ink)}
#stCattle .cr-bar-row{display:grid;grid-template-columns:minmax(95px,1fr) minmax(0,1.2fr) minmax(82px,.85fr);gap:8px;align-items:center;font:10px/1.4 Arial;margin:9px 0}
#stCattle .cr-bar-row>div{height:15px;border-radius:4px;background:var(--cr-soft);overflow:hidden}
#stCattle .cr-bar-row i{display:block;height:100%;width:0;background:#0865ff;border-radius:4px}
#stCattle .cr-bar-row:nth-of-type(2) i{background:#09a99f}
#stCattle .cr-bar-row b{text-align:right;overflow-wrap:anywhere}
#stCattle .cr-gaugeheading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;padding:9px;border:1px solid var(--cr-line);border-radius:4px;font:11px/1.5 Arial;flex-wrap:wrap}
#stCattle #crStatus{padding:3px 7px;border-radius:4px;font:700 11px/1.5 Arial;background:var(--cr-soft);color:var(--cr-ink)}
#stCattle #crStatus[data-level=within]{background:#dcf8e9;color:#07533d}
#stCattle #crStatus[data-level=limit],#stCattle #crStatus[data-level=empty]{background:#fff0ca;color:#825009}
#stCattle #crStatus[data-level=deficit]{background:#fbe0e4;color:#a12138}
#stCattle .cr-gauge{height:6px;background:var(--cr-soft);border-radius:5px;overflow:hidden;margin-top:6px}
#stCattle #crGaugeFill{display:block;height:100%;background:#0865ff;width:0}
#stCattle #crGauge[data-level=deficit] #crGaugeFill{background:#d53950}
#stCattle #crGauge[data-level=limit] #crGaugeFill{background:#dc9b20}
#stCattle #crGaugeNote{font-size:10px}
#stCattle .cr-support{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 11px;background:var(--cr-soft);border:1px solid var(--cr-line);border-radius:4px;margin-top:12px;font:11px/1.5 Arial}
#stCattle .cr-support strong{font:700 16px/1.4 Arial;white-space:nowrap}
#stCattle .cr-support small{font:11px/1.5 Arial}
#stCattle .cr-summary{margin-top:10px;padding:10px}
#stCattle .cr-summarygrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center}
#stCattle .cr-summarygrid>div+div{border-left:1px solid var(--cr-line)}
#stCattle .cr-summarygrid strong{font:700 17px/1.5 Arial;display:block;overflow-wrap:anywhere}
#stCattle .cr-summarygrid small{font:10px/1.5 Arial;display:block;color:var(--cr-muted)}
#stCattle .cr-guide-row{display:flex;align-items:center;gap:10px;border-top:1px solid var(--cr-line);padding:10px 0}
#stCattle .cr-guide-row img{width:95px;height:70px;object-fit:cover;flex-shrink:0;border-radius:3px}
#stCattle .cr-guide-row h3{font:700 12px/1.5 Arial;margin:0 0 3px}
#stCattle .cr-guide-row p{font:11px/1.55 Arial;color:var(--cr-muted)}
#stCattle .cr-explain-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:10px;margin-top:10px}
#stCattle .cr-explain-grid h2{font:700 13px/1.5 Arial}
#stCattle .cr-explain-grid :is(p,small){font:11px/1.6 Arial;display:block}
#stCattle .cr-explain-grid p+p{margin-top:9px}
#stCattle #crExample{white-space:pre-line;font:11px/1.65 Arial;margin:9px 0;padding:8px;border:1px solid var(--cr-line);border-radius:4px;background:var(--cr-soft);overflow-wrap:anywhere}
#stCattle .cr-scenario-scroll{overflow:auto;margin:10px 0}
#stCattle .cr-scenario-scroll table{border-collapse:collapse;width:100%;min-width:380px;font:10px/1.5 Arial}
#stCattle .cr-scenario-scroll :is(th,td){border:1px solid var(--cr-line);padding:6px;text-align:right;overflow-wrap:anywhere}
#stCattle .cr-scenario-scroll :is(th,td):first-child{text-align:left}
#stCattle .cr-scenario-scroll th{background:var(--cr-soft)}
#stCattle .cr-scenario-scroll tr[data-current=true]{background:var(--cr-soft)}
#stCattle .cr-sourcespanel{border:1px solid var(--cr-line);border-radius:4px;padding:12px}
#stCattle .cr-sources{grid-template-columns:1fr 1fr}
#stCattle .cr-sources a{font-size:12px;color:var(--cr-ink);gap:12px;padding:10px}
#stCattle .cr-sources img{width:70px;height:42px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:3px;padding:3px}
#stCattle .cr-sourcespanel>p{font:10px/1.5 Arial;color:var(--cr-muted);margin-top:7px}
#stCattle .cr-solution math{display:block;max-width:100%;overflow-x:auto;font-size:17px;margin:7px 0}
#stCattle .cr-step p{font:12px/1.6 Arial}
@media(max-width:1100px){#stCattle .cr-presets img{width:85px}#stCattle .cr-presets b{font-size:12px}#stCattle .cr-presets small{font-size:10px}}
@media(max-width:850px){#stCattle .cr-presets{grid-template-columns:1fr 1fr}#stCattle .cr-presets img{width:120px}#stCattle .cr-main{grid-template-columns:1fr}#stCattle .cr-photo{margin-top:0}#stCattle .cr-explain-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){#stCattle .cr-presets{grid-template-columns:1fr 1fr}#stCattle .cr-presets img{width:85px}#stCattle .cr-presets button{gap:7px;padding:7px}#stCattle .cr-presets button[aria-pressed=true]{padding:6px}#stCattle .cr-sources{grid-template-columns:1fr}}
@media(max-width:450px){#stCattle .cr-presets{grid-template-columns:1fr}#stCattle .cr-presets img{width:120px}#stCattle .cr-presets button{gap:16px}#stCattle .cr-presets b{font-size:14px}#stCattle .cr-presets small{font-size:12px}#stCattle .cr-field{grid-template-columns:1fr;gap:5px}#stCattle .cr-fieldhelp{padding-left:0}#stCattle #crHarvestSlider{width:100%}#stCattle .cr-bar-row{grid-template-columns:85px minmax(0,1fr) 80px;gap:6px}#stCattle .cr-explain-grid{grid-template-columns:1fr}#stCattle .cr-exports{gap:8px}#stCattle .cr-exports button{font-size:11px}#stCattle .cr-summarygrid strong{font-size:14px}}
