/* Field Almanac: the Agriculture satellite's site design (backend/app/services/site_designs).
   Loaded only with <html data-design>; restyles existing elements, adds no content.
   Fonts: SIL OFL 1.1, served from /fonts with their licence (OFL-*.txt). */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:500 700;font-display:swap;src:url('/fonts/fraunces-var-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:500 700;font-display:swap;src:url('/fonts/fraunces-var-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
html[data-design]{--sd-bg:#FBF8F0;--sd-surface:#F2ECDD;--sd-ink:#1E2A1A;--sd-ink2:#4A5444;--sd-muted:#62665A;--sd-accent:#3D6B2C;--sd-accent-h:#2E5421;--sd-on-accent:#FBF8F0;--sd-kick:#8A5A12;--sd-deco:#C9973F;--sd-border:#E2D9C6;--sd-font-display:'Fraunces',Georgia,serif;--sd-font-body:'Inter',system-ui,sans-serif;--sd-r-sm:6px;--sd-r-btn:6px;--sd-r-card:6px;--sd-dur:380ms;--sd-ease:cubic-bezier(.22,.8,.24,1);--sd-footer-bg:#F1EAD9;--sd-footer-ink:#1E2A1A;--sd-footer-ink2:#4A5444;--sd-footer-head:#1E2A1A;--sd-footer-border:#E2D9C6;--sd-footer-hover:#3D6B2C}
html[data-design] h1,html[data-design] h2,html[data-design] h3,html[data-design] .font-serif{font-weight:650;letter-spacing:-.012em}
html[data-design] .sd-header{box-shadow:0 2px 0 -1px rgba(201,151,63,.6)}
html[data-design] .sd-nav a{position:relative}
html[data-design] .sd-nav a::after{content:"";position:absolute;left:0;right:100%;bottom:-6px;height:2px;background:var(--sd-deco);transition:right var(--sd-dur) var(--sd-ease)}
html[data-design] .sd-nav a:hover::after{right:0}
html[data-design] .sd-hero::before{inset:0 calc(50% - 50vw);background:repeating-linear-gradient(90deg,transparent 0 9px,rgba(61,107,44,.3) 9px 11px) left bottom/100% 12px no-repeat,linear-gradient(180deg,#F4EDDC,#FBF8F0 85%)}
html[data-design] .sd-hero::after{top:-12%;bottom:-12%;right:calc(50% - 50vw);width:min(900px,75vw);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 860 420'%3E%3Cg fill='none' stroke='%23B8862F' stroke-opacity='.38' stroke-width='1.3'%3E%3Cpath d='M466 210L468 213L467 216L465 218L461 220L457 222L453 223L449 224L445 226L442 227L438 228L434 229L430 229L426 229L422 229L417 228L413 227L409 226L404 225L400 223L398 221L396 218L396 215L397 213L399 210L401 208L402 206L403 203L403 201L404 198L405 196L408 193L412 192L416 191L421 190L425 190L430 190L434 190L439 191L443 192L447 193L450 195L452 197L454 199L456 201L458 203L461 205L464 207Z'/%3E%3Cpath d='M502 210L503 216L502 221L498 227L491 231L483 234L474 236L466 238L459 239L453 242L446 245L439 248L430 251L421 252L411 251L402 249L394 246L387 242L381 239L376 234L371 230L367 225L365 220L366 215L367 210L370 205L372 201L374 196L375 191L376 186L379 180L384 175L392 171L401 169L411 169L421 170L430 172L438 174L446 175L454 176L462 178L469 180L476 183L482 187L487 191L491 195L495 200L499 205Z'/%3E%3Cpath d='M534 210L532 218L529 226L524 233L517 240L508 245L497 249L486 253L475 256L465 259L454 263L443 268L430 272L415 275L400 275L386 272L375 266L366 259L360 251L355 244L350 237L345 231L339 224L335 217L332 210L332 202L334 195L338 188L343 181L348 173L355 166L363 159L374 153L387 150L402 149L417 151L430 154L442 158L453 161L463 163L476 164L489 165L503 168L515 172L525 178L531 186L534 194L534 202Z'/%3E%3Cpath d='M564 210L556 220L549 229L543 237L538 246L531 255L522 264L510 271L496 277L481 282L465 286L448 289L430 292L411 294L392 294L373 290L357 284L346 274L338 264L333 253L329 244L323 236L314 228L304 220L295 210L290 199L289 188L295 177L305 168L318 160L332 153L347 146L362 141L378 136L395 134L413 133L430 135L446 138L461 142L476 145L492 147L509 149L528 152L547 158L562 165L571 176L574 187L571 199Z'/%3E%3Cpath d='M595 210L583 222L572 232L564 242L558 253L553 265L547 279L537 291L521 302L500 309L477 313L453 313L430 312L408 309L386 306L365 302L346 295L329 287L316 277L306 266L298 254L291 244L282 233L271 222L259 210L250 196L248 181L253 167L267 155L287 146L310 139L332 135L353 132L372 128L390 123L409 118L430 115L452 114L473 116L494 120L514 125L534 131L553 138L573 146L589 156L601 168L606 182L604 197Z'/%3E%3Cpath d='M625 210L618 224L608 238L597 251L588 264L581 278L573 294L560 310L542 324L518 334L489 339L459 337L430 332L404 324L382 316L360 309L338 303L316 297L294 290L273 280L257 268L245 255L236 241L228 226L222 210L218 194L218 177L225 160L239 145L261 134L287 127L315 122L341 119L364 116L385 111L406 103L430 95L457 89L486 87L514 91L540 99L561 110L579 123L593 137L606 150L617 165L625 179L628 195Z'/%3E%3Cpath d='M653 210L657 228L655 245L647 263L634 279L618 295L600 310L580 325L557 339L529 350L497 356L463 356L430 350L401 340L375 329L352 320L328 313L302 308L272 303L241 295L213 283L192 268L181 249L179 229L183 210L191 192L201 174L212 157L226 141L245 127L268 115L294 106L322 100L349 95L375 90L401 83L430 74L462 67L497 63L532 65L564 75L588 89L604 108L614 127L620 146L627 162L635 178L645 193Z'/%3E%3Cpath d='M682 210L696 231L704 253L701 276L686 297L662 314L631 328L599 339L566 348L533 355L499 362L465 365L430 364L396 359L365 351L337 342L309 333L279 325L246 318L211 309L177 296L150 278L134 256L133 233L144 210L163 189L185 171L204 155L221 139L235 122L251 105L271 89L297 75L327 65L360 57L395 53L430 49L467 47L504 47L542 51L577 61L606 76L626 95L637 117L642 138L646 158L654 175L666 192Z'/%3E%3Cpath d='M719 210L733 233L743 259L743 286L728 311L700 331L661 345L618 353L575 357L536 360L500 363L466 369L430 375L392 379L353 379L314 374L278 364L244 352L212 337L181 322L152 304L127 283L110 260L106 235L114 210L134 187L159 167L184 150L205 134L220 116L233 95L249 72L272 50L304 32L344 21L387 18L430 21L471 28L509 37L546 47L580 58L612 71L640 87L661 106L676 127L686 148L695 168L705 189Z'/%3E%3Cpath d='M772 210L773 236L772 264L764 291L747 317L719 340L681 357L635 367L588 371L545 372L505 374L468 379L430 388L388 398L341 405L291 406L245 398L205 382L174 360L151 335L134 310L120 285L108 260L101 235L100 210L107 185L123 162L143 140L165 121L186 100L205 79L226 54L252 30L287 8L331 -6L380 -11L430 -6L475 8L515 25L549 42L581 57L614 70L649 82L684 96L716 113L741 135L758 159L767 184Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;animation:sd-rise 1.4s var(--sd-ease) .1s both}
@media (max-width:767px){
html[data-design] .sd-hero::after{width:130vw;right:-55vw;opacity:.55}
}
@keyframes sd-rise{from{opacity:0;transform:translateY(14px)}}
html[data-design] .sd-kicker::before{content:"";width:16px;height:16px;flex:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 15.5V4' stroke='%238A5A12' stroke-width='1.3' stroke-linecap='round'/%3E%3Cg fill='%23C9973F'%3E%3Cellipse cx='8' cy='2.8' rx='1.5' ry='2.3'/%3E%3Cellipse cx='5.7' cy='6.4' rx='1.3' ry='2.1' transform='rotate(-35 5.7 6.4)'/%3E%3Cellipse cx='10.3' cy='6.4' rx='1.3' ry='2.1' transform='rotate(35 10.3 6.4)'/%3E%3Cellipse cx='5.7' cy='9.9' rx='1.3' ry='2.1' transform='rotate(-35 5.7 9.9)'/%3E%3Cellipse cx='10.3' cy='9.9' rx='1.3' ry='2.1' transform='rotate(35 10.3 9.9)'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat}
html[data-design] .sd-btn-primary:hover{transform:translateY(-1px)}
html[data-design] .sd-btn{border-color:#D3C6A8}
html[data-design] .sd-btn:hover,html[data-design] .group:hover .sd-btn{border-color:var(--sd-accent);color:var(--sd-accent)}
html[data-design] .sd-post::after{content:"";position:absolute;left:0;bottom:-1px;height:2px;width:40px;background:var(--sd-deco);transition:width var(--sd-dur) var(--sd-ease)}
html[data-design] .sd-post:hover::after{width:100%}
html[data-design] .prose a,html[data-design] .sd-about a:not(.sd-btn),html[data-design] .sd-brandcard a{text-decoration:none;background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat;transition:background-size var(--sd-dur) var(--sd-ease)}
html[data-design] .prose a:hover,html[data-design] .sd-about a:not(.sd-btn):hover,html[data-design] .sd-brandcard a:hover{background-size:100% 2px}
html[data-design] .sd-article .prose>p:first-child::first-letter{float:left;font-family:var(--sd-font-display);font-weight:700;font-size:3.7em;line-height:.8;margin:.07em .1em 0 0;color:var(--sd-accent)}
html[data-design] .sd-article .prose h2{position:relative;padding-top:14px}
html[data-design] .sd-article .prose h2::before{content:"";position:absolute;top:0;left:0;width:30px;height:3px;border-radius:2px;background:var(--sd-deco)}
html[data-design] .prose blockquote{background:var(--sd-surface);border-left-color:var(--sd-deco);border-radius:0 6px 6px 0;padding:16px 20px;font-family:var(--sd-font-display);font-size:1.12em;line-height:1.5;color:var(--sd-ink)}
html[data-design] .sd-article .prose thead th{background:var(--sd-surface);font-family:var(--sd-font-display)}
html[data-design] .sd-article .prose tbody tr:nth-child(even) td{background:rgba(242,236,221,.5)}
html[data-design] .sd-note{background:#F6F0E2;border:1px dashed #CDBB92;padding:9px 12px}
html[data-design] .sd-tag{background:#F6F0E2;border-color:#DCCDA9;color:#5B4A22}
html[data-design] .sd-faq-item{background:var(--sd-surface);border-color:transparent}
html[data-design] .sd-faq-item:hover{border-color:var(--sd-deco)}
html[data-design] .sd-rel-item:hover{background:var(--sd-surface);border-color:var(--sd-deco)}
html[data-design] .sd-badge{background:var(--sd-surface);border-radius:50%}
html[data-design] .sd-footer{border-top-width:0}
html[data-design] .sd-footer::before{content:"";display:block;height:12px;background:repeating-linear-gradient(100deg,#DCCDA9 0 2px,transparent 2px 10px)}
html[data-design] .sd-err{padding-bottom:150px}
html[data-design] .sd-err::before{left:0;right:0;bottom:0;height:140px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 560 140' preserveAspectRatio='xMidYMax slice'%3E%3Cpath d='M0 34H560' stroke='%23C9973F' stroke-opacity='.6' stroke-width='2'/%3E%3Ccircle cx='280' cy='34' r='22' fill='%23E3B256' fill-opacity='.35'/%3E%3Cg stroke='%237FA05A' stroke-opacity='.45' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M231 34 L-84 140'/%3E%3Cpath d='M238 34 L-32 140'/%3E%3Cpath d='M245 34 L20 140'/%3E%3Cpath d='M252 34 L72 140'/%3E%3Cpath d='M259 34 L124 140'/%3E%3Cpath d='M266 34 L176 140'/%3E%3Cpath d='M273 34 L228 140'/%3E%3Cpath d='M280 34 L280 140'/%3E%3Cpath d='M287 34 L332 140'/%3E%3Cpath d='M294 34 L384 140'/%3E%3Cpath d='M301 34 L436 140'/%3E%3Cpath d='M308 34 L488 140'/%3E%3Cpath d='M315 34 L540 140'/%3E%3Cpath d='M322 34 L592 140'/%3E%3Cpath d='M329 34 L644 140'/%3E%3C/g%3E%3C/svg%3E") bottom/cover no-repeat}
